Patent ID: 8661133
Filing Date: 2014-02-25
Classification: H04L

Abstract:
1. A method for analyzing and detecting a judgement about whether to allow NAT (Network Address Translation) use by analyzing data traffic of sharing terminals under a circumstance of monitoring the data traffic, and a number of the sharing terminals, the method comprising: extracting a user agent IP value of a packet header message in the data traffic of each of the sharing terminals by analyzing the data traffic of each of the sharing terminals; determining times when the data traffic of each of the sharing terminals occur; determining user agent codes corresponding to extracted user agent IP values that represent the corresponding determined data traffic times, the user agent IP values and the corresponding user agent codes being stored in a user agent pool (UA Pool) to enable corresponding sharing terminals to be controlled; extracting a new user agent IP value of a new packet header message in new data traffic of a representative sharing terminal by analyzing the new data traffic of the representative sharing terminal, determining the time when the new data traffic of the representative sharing terminal occurs, determining a new user agent code corresponding to the extracted new user agent IP value, and comparing the extracted new user agent IP value with the stored user-agent IP values in the UA Pool; when the new user agent IP value does not match any of the stored user agent IP values in the UA Pool, discarding the new user agent IP value; when the new user agent IP value matches one of the stored user agent values in the UA Pool, storing the corresponding new user agent code in a user agent collection table (UA collection table) that includes a plurality of stored user agent codes corresponding to previously extracted user agent IP values, the user agent codes in the UA collection table being stored with corresponding user agent key values, the user agent key values including a character representing the day and hour of each of the determined times when the data traffic of the corresponding sharing terminal occurs; identifying the length of time for each of the user agent codes stored in the UA collection table when there is the data traffic of the corresponding sharing terminal, grouping each of the user agent codes into different ID values according to the corresponding identified length of time, and recording each of the grouped user agent codes with the corresponding ID value; storing, in a user agent table related to time (UA table related to time), the recorded user agent codes with the corresponding ID values; counting the number of the recorded user agent codes stored in the UA table related to time that are not superimposed for each of the corresponding ID values at a constant time interval, and storing the ID values and the counted numbers for each of the corresponding ID values in a detection reference table; adjusting the data traffic of the sharing terminals by controlling a number of the sharing terminals for each of the ID values to be less than a predetermined maximum number of sharing terminals for the corresponding ID value; and storing results obtained by the adjusting of the data traffic of the sharing terminals in a result table.