Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is
A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is the flow chart for the network re-entry recognition methods that the embodiment of the present invention one provides, as shown in Figure 1, the present embodiment
Method includes:
Step 101, gateway receive the information of mobile terminal sent when mobile terminal connection gateway, and determine that mobile terminal makes
Message when with the WLAN of gateway, information of mobile terminal includes mobile terminal number.
In the present embodiment, specifically, when user connects the gateway of WLAN by mobile terminal, mobile terminal
Information of mobile terminal is sent to gateway, wherein information of mobile terminal includes mobile terminal number and the intervention of mobile terminal media
Control layer (Media Access Control, abbreviation MAC) information.Meanwhile mobile terminal will use the WLAN of gateway
When message, be sent to gateway.
In turn, gateway receives the information of mobile terminal sent when the gateway of mobile terminal connection WLAN, and really
Make message when mobile terminal uses the WLAN of gateway.
After step 102, gateway determine the first phone number corresponding with mobile terminal number, the gateway mark of gateway is determined
Know and the corresponding relationship of the first phone number, and analytic message, and by the corresponding relationship of gateway identification and the first phone number, with
And the packet parsing after analytic message is as a result, be sent to server, wherein includes data characteristics in packet parsing result.
In the present embodiment, specifically, gateway determines corresponding with mobile terminal number the first phone number, then gateway
It determines the corresponding relationship of gateway identification and information of mobile terminal, i.e., believes gateway identification, mobile terminal number, mobile terminal MAC
Breath is corresponded.
Meanwhile gateway to mobile terminal using gateway WLAN when message parse, obtain analytic message
Packet parsing result afterwards, wherein include data characteristics in packet parsing result.Specifically, user is used nothing by gateway
Analysis result after analysis of unpacking, is sent to server storage by the message that line local area network is sent.Gateway can be according in message
The source MAC of message can analyze out the mobile terminal for flowing through the message of gateway, can by the behavioral characteristic of mobile terminal,
After gateway is analyzed, it is sent to server associated storage, the behavioral characteristic of mobile terminal has user to surf the Internet period, Yong Huchang
With network address etc..
To, gateway by gateway identification, mobile terminal number, mobile terminal MAC information corresponding relationship, and parsing report
Packet parsing after text is as a result, be sent to server.Wherein, server can be platform.
Step 103, server receive corresponding relationship, the packet parsing of gateway identification and the first phone number that gateway is sent
As a result.
In the present embodiment, specifically, after step 102, server can receive gateway transmission gateway identification,
The corresponding relationship of mobile terminal number, mobile terminal MAC information.Server, which receives, simultaneously characterizes mobile terminal behavioural characteristic
Packet parsing result.
Step 104, server determine under the first phone number and gateway identification corresponding with the first phone number
The corresponding relationship of two phone numbers, to form doubtful network re-entry user list, wherein the second phone number is when first is default
Between pin card or the second phone number of decline is consumed in the second preset time period in section.
In the present embodiment, specifically, server can determine it is under gateway identification corresponding with the first phone number,
Each second phone number that pin card or consumption are decreased obviously at no distant date, so that the second phone number is in the first preset time period
Interior pin card consumes the second phone number being decreased obviously in the second preset time period.Wherein it is possible to set a consumption threshold
Value, and then determine that consumption is less than the phone number for consuming threshold value in second time period, to be consumed in the second preset time period
The second phone number being decreased obviously.
Then server determines the second-hand under the first phone number and gateway identification corresponding with the first phone number
The corresponding relationship of machine number, so as to form a doubtful network re-entry user list.
Step 105, server to be determined as it is doubtful reentry network users the second phone number data characteristics, with it is first-hand
The data characteristics of machine number is compared, and reentries network users to determine.
In the present embodiment, specifically, server can be determined as doubtful according to the data characteristics in packet parsing result
Reentry the data characteristics of the second phone number of network users;Then server will determine as doubtful the second mobile phone for reentrying network users
The data characteristics of number is compared with the data characteristics of the first phone number, so as to analyze reentry network users.
The present embodiment receives the information of mobile terminal sent when mobile terminal connects gateway by gateway, and determines mobile whole
End uses the message when WLAN of gateway, and information of mobile terminal includes mobile terminal number;Gateway is determining whole with movement
After holding corresponding first phone number of number, the gateway identification of gateway and the corresponding relationship of the first phone number are determined, and solve
Message is analysed, and by the packet parsing after the corresponding relationship and analytic message of gateway identification and the first phone number as a result, sending
To server, wherein include data characteristics in packet parsing result;Server receives the gateway identification and first-hand that gateway is sent
The corresponding relationship of machine number, packet parsing result;Server determines the first phone number and corresponding with the first phone number
The corresponding relationship of the second phone number under gateway identification, to form doubtful network re-entry user list, wherein the second phone number
The second phone number of decline is consumed for the pin card in the first preset time period or in the second preset time period;Server is to true
It is set to the data characteristics of doubtful the second phone number for reentrying network users, is compared with the data characteristics of the first phone number point
Analysis reentries network users to determine.To provide a kind of reentry network users analyzed the gateway connecting with mobile terminal
Recognition methods, while the feature under phone number is analyzed, it can determine to reentry network users, improve and reentry network users identification
Accuracy, and the time of identification is reduced, improve the efficiency of identification.
Fig. 2 is the flow chart of network re-entry recognition methods provided by Embodiment 2 of the present invention, on the basis of example 1, such as
Shown in Fig. 2, the method for the present embodiment, before step 101, further includes:
Step 201, mobile terminal connection WLAN gateway when, mobile terminal reports record sheet what is stored up in advance
In, it is determined whether there are mobile terminal numbers, wherein reports the mobile terminal number that current mobile terminal is stored in record sheet
With the corresponding relationship of each gateway identification;It is not present if looking into, information of mobile terminal is sent to gateway by mobile terminal.
In the present embodiment, specifically, when user connects the gateway of WLAN by mobile terminal, mobile terminal
It is pre-stored in the terminal to report in record sheet, mobile terminal number corresponding with current gateway is searched, record is reported
The mobile terminal number of current mobile terminal, the corresponding relationship of mobile terminal MAC information and each gateway identification are stored in table, if
It finds, then mobile terminal does not need information of mobile terminal being sent to gateway, if not finding, mobile terminal will be mobile whole
Client information is sent to gateway.
Step 201, it specifically includes:
If mobile terminal number is international mobile subscriber identity (International Mobile Subscriber
Identification Number, abbreviation IMSI), then gateway is inquired corresponding with IMSI from preset user-network access information bank
The first phone number, and gateway determines the corresponding relationship of gateway identification and the first phone number;
If mobile terminal number is the first phone number, gateway determines that gateway identification and the corresponding of the first phone number close
System;Gateway analytic message, and by the packet parsing after the corresponding relationship and analytic message of gateway identification and the first phone number
As a result, being sent to server.
In the present embodiment, specifically, gateway is from preset user-network access information bank if mobile terminal number is IMSI
In, the first phone number corresponding with IMSI is inquired, then gateway is by gateway identification, the first phone number, mobile terminal MAC
Information is stored correspondingly;If mobile terminal number is the first phone number, gateway is directly by gateway identification, first
Phone number, mobile terminal MAC information are stored correspondingly.
Then, gateway is by gateway identification, the corresponding relationship of the first phone number and mobile terminal MAC information, and moves
Terminal uses message when WLAN, is sent to server.
Step 104, comprising:
Step 1041, server determine pair of gateway identification and the first phone number according to preset new networking list library
In should being related to, the corresponding gateway identification of identical with the phone number newly to network the first phone number, wherein new networking list library
In store the phone number of each new networking.
In the present embodiment, specifically, server receives the gateway identification, the first phone number and movement of gateway transmission eventually
Hold the corresponding relationship and message of MAC information.Server is according to preset new networking list library, wherein in new networking list library
The phone number for storing each new networking determines the corresponding relationship of gateway identification, the first phone number and mobile terminal MAC information
In, the gateway identification of the used gateway of the first phone number identical with the phone number newly to network.
Wherein, the new networking user matched uses the record time of gateway, after Ying Xin networking user's network entry time,
And then it avoids the problem that obscuring new networking user and number original holder caused by number redistribution problem.
Step 1042, server filter out the gateway identification that the label in presupposed information library is gateway.
In the present embodiment, it specifically, server needs are filled and matched in gateway identification, filters out in presupposed information library
Labeled as the gateway identification of public place gateway.For example, the net of the gateway of the apparent public place of feature can be got rid of
The characteristics of pass mark, the gateway of public place is can all occur much Adding User daily.
Divided alternatively, server can be locked using the surf time section of gateway for the old and new users in evening or weekend
Analysis.
Step 1043, server determine in presupposed information library, second under gateway identification corresponding with the first phone number
Phone number, wherein under being stored with the pin card in the first preset time period in information bank or being consumed in the second preset time period
Second phone number of drop and the corresponding relationship of each gateway identification.
In the present embodiment, specifically, server determines in presupposed information library, wherein be stored in information bank first
Pin card or the second phone number of decline and the correspondence of each gateway identification are consumed in the second preset time period in preset time period
The second phone number under the identical gateway identification of gateway identification of relationship and the used gateway of the first phone number.
Step 1044, server determine under the first phone number and gateway identification corresponding with the first phone number
The corresponding relationship of second phone number, to form doubtful network re-entry user list.
Wherein, step 1044, it specifically includes:
Server is to the mobile terminal behavior characteristic information determined in packet parsing result corresponding with the first phone number;
Server is determining corresponding with the first phone number mobile terminal behavior characteristic information, and with the second phone number
It is corresponding prestore mobile terminal behavior characteristic information it is identical when, determine mobile terminal behavior characteristic information and with the second phone number
Corresponding identical first phone number of mobile terminal behavior characteristic information that prestores is doubtful reentry network users.
In the present embodiment, specifically, mobile terminal determines the first phone number and used with the first phone number
The corresponding relationship of the second phone number under the identical gateway identification of the gateway identification of gateway, to form doubtful network re-entry user name
It is single.Specifically, server can analyze message corresponding with each first phone number, so obtain with it is each first-hand
The corresponding mobile terminal behavior characteristic information of machine number, wherein when mobile terminal behavior characteristic information includes mobile terminal networking
Between the network address etc. that networks of section, mobile terminal etc.;Server determines in presupposed information library and the used gateway of the first phone number
The identical gateway identification of gateway identification under the second phone number;Server determines corresponding with the first phone number mobile whole
Whether end behavior characteristic information, and the mobile terminal behavior characteristic information that prestores corresponding with the second phone number are identical, if they are the same,
Then server determines that mobile terminal behavior characteristic information and the mobile terminal behavioural characteristic that prestores corresponding with the second phone number are believed
Ceasing identical first phone number is doubtful reentry network users.
For example, some gateway increases newly in this month and has matched a new networking user, then goes to have checked the gateway both
Toward matching user, previously there is pin number or the number for not generating communication behavior basic in the recent period in the recent period, spy for middle in matching
Be not, new networking user using the gateway and the past user using the time of the gateway be mostly at night and weekend, thus it is believed that
The two doubtful numbers are the same user, and then the two numbers are added in doubtful network re-entry user list.
Step 105, it specifically includes:
Server obtains short message content address and the first cell-phone number under doubtful the second phone number for reentrying network users
Short message content address under code;Server if it is determined that short message content address under the second phone number with the first phone number under
Short message content address it is identical, then server determine it is doubtful reentry network users the second phone number and the first mobile phone number home in
Same user is attached most importance to networking user with the doubtful reentry network users of determination.
Alternatively, server obtains the short message content directional information under doubtful the second phone number for reentrying network users;Service
Device if it is determined that the short message content directional information under the second phone number include it is doubtful reentry network users the first phone number, then take
Business device determine it is doubtful reentry network users the second phone number and the first mobile phone number home in same user, it is doubtful heavy with determination
Networking user attaches most importance to networking user.
Alternatively, server obtains O numeric field data and the first cell-phone number under doubtful the second phone number for reentrying network users
O numeric field data under code;Server determines between the O numeric field data under O numeric field data and the first phone number under the second phone number
O numeric field data similarity;Server is if it is determined that O numeric field data similarity is more than or equal to preset threshold, then server determines doubtful heavy
The second phone number of networking user and the first mobile phone number home in same user, with the doubtful reentry network users of determination attach most importance into
Network users;Wherein, O numeric field data includes at least one below: starting time of mobile terminal, mobile terminal unused time, movement
Base station cell switching track of the base station cell value, mobile terminal of terminal connection in third preset time period.
In the present embodiment, specifically, server is to the data for being determined as doubtful the second phone number for reentrying network users
Feature is compared with the data characteristics of the first phone number, reentries network users to determine.
Specifically, server obtains the short message content address under doubtful the second phone number for reentrying network users, and
Under first phone number short message content address, server if it is determined that under the second phone number short message content address with it is first-hand
Short message content address under machine number is identical, then server determines doubtful second phone number of network users and first-hand of reentrying
Machine number home determines that the user is reentry network users in same user.For example, special address short message matching refers to doubtful
Reentry network users correspond in list, the old and new's number in the short message of same phone number use same special address.Such as it is new
For old number in short message, the user for calling same phone number is " father ", " two one's mother's sisters " etc., may thereby determine that the old and new's number
To belong to the same user, reentry network users are determined that the user is.
Alternatively, server obtains the short message content directional information under doubtful the second phone number for reentrying network users, if clothes
Business device determines that the short message content directional information under the second phone number includes doubtful first phone number for reentrying network users, then
Server determines that doubtful second phone number for reentrying network users and the first mobile phone number home in same user, determine the use
Attach most importance to networking user at family.For example, it is corresponded in list in doubtful reentry network users, the short message of old number has new digit bright
True directive property may thereby determine that the old and new number for example, the short message of old number is " number of changing please is contacted with * * * (new digit) from now on "
Code determines that the user is reentry network users to belong to the same user.
Alternatively, server obtains O numeric field data and the first cell-phone number under doubtful the second phone number for reentrying network users
O numeric field data under code, server determine between the O numeric field data under O numeric field data and the first phone number under the second phone number
O numeric field data similarity, server if it is determined that O numeric field data similarity be more than or equal to preset threshold, then server determines that this is doubtful
The second phone number for reentrying network users and the first mobile phone number home determine that the user is reentry network users in same user.
At this point, above procedure is properly termed as user's O numeric field data similarity mode, user's O numeric field data similarity mode refers to doubtful heavy
Networking user corresponds in list, and the old and new's number is reached a certain level in the similarity of O numeric field data.Wherein, O numeric field data includes following
At least one: starting time of mobile terminal, the mobile terminal unused time, mobile terminal connection base station cell value, it is mobile eventually
Hold the base station cell switching track in third preset time period.For example, the old and new's number on weekdays/open and close at weekend
The machine time is approximate, and the base station cell value that perhaps on weekdays/weekend often connects is identical or old and new users is identical daily
Base station cell value transformation track when period mobile handoff is similar, may thereby determine that the old and new's number is to belong to the same use
Family determines that the user is reentry network users.
The present embodiment passes through the gateway identification and the first phone number for determining the mobile terminal for being connected to WLAN
Corresponding relationship obtains message when mobile terminal uses WLAN, is then really determined according to preset new networking list library
The first phone number of new networking user out;Then, it is determined that gateway used in the first phone number of new networking user out
Gateway identification, determine the pin card in the first preset time period under the gateway identification of the first phone number of new networking user or
The second phone number of decline is consumed in the second preset time period, and then determines first phone number with features above
With the corresponding relationship of the second phone number, doubtful determining such phone number is same user, forms doubtful reentry network users
List;Then, server is to the data characteristics and the first phone number for being determined as doubtful the second phone number for reentrying network users
Data characteristics be compared, with determine reentry network users.It is a kind of to the gateway being connect with mobile terminal to provide
The network re-entry user identification method analyzed, while the feature under phone number is analyzed, it can determine to reentry network users, mention
It is high to reentry the accuracy of network users identification, and the time of identification is reduced, improve the efficiency of identification.
Fig. 3 is the structural schematic diagram for the network re-entry identifying system that the embodiment of the present invention three provides, as shown in figure 3, this implementation
The network re-entry identifying system that example provides, comprising:
Gateway 1 and server 2, gateway 1 include the first receiving module 11 and sending module 12, and server 2 connects including second
Receive module 21, determining module 22 and analysis module 23;
First receiving module 11, the information of mobile terminal sent when for receiving mobile terminal connection gateway, and determine and move
Dynamic terminal uses the message when WLAN of gateway, and information of mobile terminal includes mobile terminal number;
Sending module 12 determines the net of gateway after determining the first phone number corresponding with mobile terminal number
The corresponding relationship of mark and the first phone number, and analytic message are closed, and gateway identification and the corresponding of the first phone number are closed
Packet parsing after system and analytic message is as a result, be sent to server, wherein includes data characteristics in packet parsing result;
Second receiving module 21, for receiving the gateway identification of gateway transmission and the corresponding relationship of the first phone number, report
Literary parsing result;
Determining module 22, for determining under the first phone number and gateway identification corresponding with the first phone number
The corresponding relationship of second phone number, to form doubtful network re-entry user list, wherein the second phone number is default first
Pin card or the second phone number of decline is consumed in the second preset time period in period;
Analysis module 23, for the data characteristics and first for being determined as doubtful the second phone number for reentrying network users
The data characteristics of phone number is compared, and reentries network users to determine.
The unlocking method that the embodiment of the present invention one provides can be performed in the mobile terminal of the present embodiment, and realization principle is similar
Seemingly, details are not described herein again.
The present embodiment receives the information of mobile terminal sent when mobile terminal connects gateway by gateway, and determines mobile whole
End uses the message when WLAN of gateway, and information of mobile terminal includes mobile terminal number;Gateway is determining whole with movement
After holding corresponding first phone number of number, the gateway identification of gateway and the corresponding relationship of the first phone number are determined, and solve
Message is analysed, and by the packet parsing after the corresponding relationship and analytic message of gateway identification and the first phone number as a result, sending
To server, wherein include data characteristics in packet parsing result;Server receives the gateway identification and first-hand that gateway is sent
The corresponding relationship of machine number, packet parsing result;Server determines the first phone number and corresponding with the first phone number
The corresponding relationship of the second phone number under gateway identification, to form doubtful network re-entry user list, wherein the second phone number
The second phone number of decline is consumed for the pin card in the first preset time period or in the second preset time period;Server is to true
It is set to the data characteristics of doubtful the second phone number for reentrying network users, is compared with the data characteristics of the first phone number point
Analysis reentries network users to determine.To provide a kind of reentry network users analyzed the gateway connecting with mobile terminal
Recognition methods, while the feature under phone number is analyzed, it can determine to reentry network users, improve and reentry network users identification
Accuracy, and the time of identification is reduced, improve the efficiency of identification.
Fig. 4 is the structural schematic diagram for the network re-entry identifying system that the embodiment of the present invention four provides, on the basis of embodiment three
On, as shown in figure 4, network re-entry identifying system provided in this embodiment, further includes:
Mobile terminal 3, the mobile terminal letter for being sent when the first receiving module 11 receives mobile terminal connection gateway
Before breath, in the gateway of mobile terminal connection WLAN, reported in record sheet what is stored up in advance, it is determined whether there are movements
Termination number, wherein report the mobile terminal number for storing current mobile terminal in record sheet corresponding with each gateway identification
Relationship;It is not present if looking into, information of mobile terminal is sent to gateway.
Sending module 12, is specifically used for:
If mobile terminal number is IMSI, gateway is inquired corresponding with IMSI from preset user-network access information bank
First phone number, and determine the corresponding relationship of gateway identification and the first phone number;
If mobile terminal number is the first phone number, gateway determines that gateway identification and the corresponding of the first phone number close
System;And analytic message, and by the packet parsing knot after the corresponding relationship and analytic message of gateway identification and the first phone number
Fruit is sent to server.
Determining module 22, is specifically used for:
According to preset new networking list library, in the corresponding relationship for determining gateway identification and the first phone number, and newly enter
The corresponding gateway identification of identical first phone number of the phone number of net, wherein store each newly to enter in new networking list library
The phone number of net;
Filter out the gateway identification that the label in presupposed information library is gateway;
It determines in presupposed information library, the second phone number under gateway identification corresponding with the first phone number, wherein letter
In the first preset time period pin card is stored in breath library or the second phone number of decline is consumed in the second preset time period
With the corresponding relationship of each gateway identification;
To the mobile terminal behavior characteristic information determined in packet parsing result corresponding with the first phone number;
Determining mobile terminal behavior characteristic information corresponding with the first phone number, and corresponding with the second phone number
Prestore mobile terminal behavior characteristic information it is identical when, determine mobile terminal behavior characteristic information and corresponding with the second phone number
Prestoring identical first phone number of mobile terminal behavior characteristic information is doubtful reentry network users.
Analysis module 23, is specifically used for:
It obtains under short message content address and the first phone number under doubtful the second phone number for reentrying network users
Short message content address;If it is determined that the short message content address under the second phone number is called with the short message content under the first phone number
It is identical, it is determined that doubtful the second phone number for reentrying network users and the first mobile phone number home are doubted in same user with determining
Attach most importance to networking user like network users are reentried;
Alternatively, obtaining the short message content directional information under doubtful the second phone number for reentrying network users;If it is determined that second
Short message content directional information under phone number includes doubtful the first phone number for reentrying network users, it is determined that doubtful network re-entry
The second phone number of user and the first mobile phone number home are attached most importance to networking with the doubtful reentry network users of determination and be used in same user
Family;
Alternatively, obtaining under O numeric field data and the first phone number under doubtful the second phone number for reentrying network users
O numeric field data;Determine that the O numeric field data between the O numeric field data and the O numeric field data under the first phone number under the second phone number is similar
Degree;If it is determined that O numeric field data similarity is more than or equal to preset threshold, it is determined that doubtful the second phone number for reentrying network users and the
One mobile phone number home is attached most importance to networking user with the doubtful reentry network users of determination in same user;Wherein, O numeric field data include with
Under at least one: starting time of mobile terminal, the mobile terminal unused time, mobile terminal connection base station cell value, movement
Base station cell switching track of the terminal in third preset time period.
Unlocking method provided by Embodiment 2 of the present invention can be performed in the mobile terminal of the present embodiment, and realization principle is similar
Seemingly, details are not described herein again.
The present embodiment passes through the gateway identification and the first phone number for determining the mobile terminal for being connected to WLAN
Corresponding relationship obtains message when mobile terminal uses WLAN, is then really determined according to preset new networking list library
The first phone number of new networking user out;Then, it is determined that gateway used in the first phone number of new networking user out
Gateway identification, determine the pin card in the first preset time period under the gateway identification of the first phone number of new networking user or
The second phone number of decline is consumed in the second preset time period, and then determines first phone number with features above
With the corresponding relationship of the second phone number, doubtful determining such phone number is same user, forms doubtful reentry network users
List;Then, server is to the data characteristics and the first phone number for being determined as doubtful the second phone number for reentrying network users
Data characteristics be compared, with determine reentry network users.It is a kind of to the gateway being connect with mobile terminal to provide
The network re-entry user identification method analyzed, while the feature under phone number is analyzed, it can determine to reentry network users, mention
It is high to reentry the accuracy of network users identification, and the time of identification is reduced, improve the efficiency of identification.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or
The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.