Different network identification method and device, equipment and storage medium

Through Jiakuan traffic data, the different network identification information is extracted, combined with multiple strategies and device status data, the problem of low accuracy of different network user identification is solved, and a higher accuracy of different network identification is achieved.

CN120321635APending Publication Date: 2025-07-15CHINA MOBILEHANGZHOUINFORMATION TECH CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410059726.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-15
Publication Date
2025-07-15

AI Technical Summary

Technical Problem

In the prior art, the accuracy of identification of different network users is low, especially when confirming intimacy through call behavior, the base station positioning accuracy is low, resulting in inaccurate identification.

Method used

By obtaining the home bun traffic data, extracting IMSI information, IMEI information, card information and application traffic information, implementing the corresponding different network identification strategy, combining the card slot type and home networking device status data, comprehensively determine whether the device to be identified is a different network.

Benefits of technology

It improves the accuracy and accuracy of different network recognition, solves the problems of inaccurate positioning and inaccurate identification, and enhances the reliability of different network user recognition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120321635A_ABST
    Figure CN120321635A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of communication, and provides a different network identification method, device and equipment and a storage medium, and the different network identification method comprises the steps: obtaining home width flow data, and extracting different network identification information of to-be-identified equipment according to the home width flow data; wherein the different network identification information comprises IMSI (International Mobile Subscriber Identity) information, IMEI (International Mobile Equipment Identity) information, number card information of the to-be-identified equipment and traffic information of an application program installed on the to-be-identified equipment; executing a corresponding different network identification strategy on each piece of different network identification information to obtain a corresponding identification result; and according to each identification result, determining whether the to-be-identified device is in a different network. Through the technical scheme provided by the invention, the different network identification accuracy is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technologies, and in particular, to a method, apparatus, device and storage medium for identifying different networks. Background Art

[0002] Since the implementation of the policy of carrying phone numbers while switching networks, the identification of high-quality different-network users is an important task. The existing identification of different-network users is basically the identification of different-network numbers. There are two types of identification schemes for such different-network numbers. One is to confirm the intimacy degree between the home network number and the different-network number through call behavior, and then determine the different-network number according to the intimacy degree. The other is to confirm whether they belong to the same cell or work unit through the base station locations of the home network number and the different-network number. However, the scheme of confirming the intimacy degree through call behavior is easily affected by the accuracy of the model by various communication high-frequency different-network numbers such as work partners, life services, and advertising promotions. Due to data isolation between different operators, the ability to locate the same cell through base stations is prone to the problem of low positioning accuracy. Summary of the Invention

[0003] The present invention provides a method, apparatus, device and storage medium for identifying different networks, so as to solve the defect of low accuracy in identifying different networks in the prior art, and achieve the technical effect of providing the accuracy of identifying different networks.

[0004] The present invention provides a method for identifying different networks, including:

[0005] Obtain home broadband traffic data, and extract different-network identification information of the device to be identified according to the home broadband traffic data; wherein, the different-network identification information includes IMSI information, IMEI information, the SIM card information of the device to be identified, and the traffic information of the application programs installed on the device to be identified;

[0006] Execute corresponding different-network identification strategies for each of the different-network identification information to obtain corresponding identification results;

[0007] Determine whether the device to be identified is a different network according to each of the identification results.

[0008] According to the method for identifying different networks provided by the present invention, the step of executing corresponding different-network identification strategies for each of the different-network identification information to obtain corresponding identification results includes:

[0009] If the different-network identification information is the IMSI information, determine the credibility of the IMSI information according to the values of the fourth and fifth digits in the IMSI information;

[0010] If the credibility of the IMSI information indicates that the IMSI information is credible, perform different-network identification according to the values of the fourth and fifth digits to obtain a corresponding identification result.

[0011] According to a method for identifying a different network provided by the present invention, performing corresponding different network identification strategies on each of the different network identification information to obtain corresponding identification results includes:

[0012] If the different network identification information is the IMEI information, perform calculation processing on the numerical values of the first 14 digits in the IMEI information to obtain a calculation result;

[0013] Determine the credibility of the IMEI information according to the calculation result and the numerical value of the fifteenth digit in the IMEI information;

[0014] If the credibility of the IMEI information indicates that the IMEI information is credible, perform different network identification according to the IMEI mapping library corresponding to the local network and the IMEI information to obtain a corresponding identification result.

[0015] According to a method for identifying a different network provided by the present invention, performing corresponding different network identification strategies on each of the different network identification information to obtain corresponding identification results includes:

[0016] If the different network identification information is the SIM card information of the device to be identified, obtain the first occurrence frequency of the SIM card information in traffic, the second occurrence frequency in domain names, and the third occurrence frequency in trusted domain names;

[0017] Determine the credibility of the SIM card information according to the first occurrence frequency, the second occurrence frequency, and the third occurrence frequency;

[0018] If the credibility of the SIM card information indicates that the SIM card information is credible, perform different network identification according to the SIM card information to obtain a corresponding identification result.

[0019] According to a method for identifying a different network provided by the present invention, performing corresponding different network identification strategies on each of the different network identification information to obtain corresponding identification results includes:

[0020] If the different network identification information is the traffic information of the application, extract the url and domain name data in the home broadband traffic data, and determine the developer information of the application according to the url and domain name data;

[0021] Perform different network identification according to the developer information to obtain a corresponding identification result.

[0022] According to a method for identifying a different network provided by the present invention, determining whether the device to be identified is a different network according to each of the identification results includes:

[0023] Detect the card slot type of the device to be identified;

[0024] Determine the off-net type of the device to be identified according to the card slot type and each of the recognition results.

[0025] According to a method for off-net identification provided by the present invention, the home broadband traffic data includes the status data of home networking devices. After determining whether the device to be identified is off-net according to each of the recognition results, the method further includes:

[0026] According to the status data of the home networking devices, detect whether the online duration of the device to be identified reaches a duration threshold within a first preset time range, detect whether the number of online days of the device to be identified reaches a first number-of-days threshold within a second preset time range, and detect whether the number of online days of the device to be identified reaches a second number-of-days threshold within a third preset time range;

[0027] If all are reached, determine that the device to be identified is a home resident user device.

[0028] The present invention also provides an off-net identification device, including:

[0029] An extraction module, configured to obtain home broadband traffic data and extract off-net identification information of the device to be identified according to the home broadband traffic data; wherein, the off-net identification information includes IMSI information, IMEI information, the SIM card information of the device to be identified, and the traffic information of the application programs installed on the device to be identified;

[0030] An execution module, configured to execute corresponding off-net identification strategies for each of the off-net identification information to obtain corresponding recognition results;

[0031] A first determination module, configured to determine whether the device to be identified is off-net according to each of the recognition results.

[0032] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein when the processor executes the program, the off-net identification method described above is implemented.

[0033] The present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the off-net identification method described above is implemented.

[0034] The present invention also provides a computer program product, including a computer program, and when the computer program is executed by a processor, the off-net identification method described above is implemented.

[0035] A method, device, equipment and storage medium for identifying a different network provided by the present invention extract the different network identification information composed of the IMSI information, IMEI information, SIM card information of the device to be identified and the traffic information of the application programs installed on the device to be identified from the home broadband traffic data. Each different network identification information has a corresponding different network identification strategy. Execute the corresponding different network identification strategy for each different network identification information to obtain the corresponding identification result. Finally, determine whether the device to be identified is a different network according to each identification result. Through the technical solution provided by the present invention, based on the accurate location positioning of the home broadband traffic data, and then determine whether it is a different network through multiple different network identification information, which improves the accuracy of different network identification to a certain extent. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the present invention or the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained according to these drawings.

[0037] Figure 1 It is one of the flow diagrams of the different network identification method provided by the present invention;

[0038] Figure 2 It is one of the flow diagrams of step 120 provided by the embodiment of the present invention;

[0039] Figure 3 It is the second flow diagram of step 120 provided by the embodiment of the present invention;

[0040] Figure 4 It is the third flow diagram of step 120 provided by the embodiment of the present invention;

[0041] Figure 5 It is the fourth flow diagram of step 120 provided by the embodiment of the present invention;

[0042] Figure 6 It is the flow diagram of step 130 provided by the embodiment of the present invention;

[0043] Figure 7 It is the second flow diagram of the different network identification method provided by the present invention;

[0044] Figure 8 It is the structural diagram of the different network identification device provided by the present invention;

[0045] Figure 9 It is the structural diagram of the electronic device provided by the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0046] To make the objectives, technical solutions and advantages of the present invention clearer, the technical solutions in the present invention will be clearly and completely described below in conjunction with the accompanying drawings of the present invention. Apparently, the described embodiments are part of the embodiments of the present invention, rather than all of them. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts belong to the scope of protection of the present invention.

[0047] The following will Figures 1-7 describe the method for identifying different networks of the present invention.

[0048] It should be noted that in the specific implementation of the present invention, the home broadband traffic data, SIM card information, etc. obtained involve information related to personnel. When the embodiments of the present invention are applied to specific products or technologies, the permission or consent of the personnel needs to be obtained, and the collection, use and processing of relevant personnel information need to comply with the relevant laws, regulations and standards of relevant countries and regions.

[0049] Figure 1 is a flowchart of a method for identifying different networks shown according to an exemplary embodiment. As Figure 1 shown, in an exemplary embodiment, the method for identifying different networks includes steps 110 to 130, which are introduced in detail as follows:

[0050] Step 110, obtain home broadband traffic data, and extract the different network identification information of the device to be identified according to the home broadband traffic data; wherein, the different network identification information includes IMSI information, IMEI information, the SIM card information of the device to be identified, and the traffic information of the application programs installed on the device to be identified.

[0051] In the embodiments of the present invention, the home broadband traffic data is the Internet access traffic data in the home broadband. By analyzing the HTTP traffic (Hyper Text Transfer Protocol) in the home broadband traffic data, 15-bit suspected IMSI information (International Mobile Subscriber Identity) is extracted from the url field in the HTTP traffic based on the rule of 【4600([0-3]|[5-7])\\d{10}】. Specifically, for example, the data for IMSI information in the url field of an HTTP traffic can be expressed as: http: / / dt-intelleng.vivo.com.cn / col / reppb?aiever=1.0.0.0&aieverName=3.3.4.7&productName=PD1621&elapsedtime=804456634&sysver=PD1621_A_1.13.14&romver=rom_3.1&imsi=460036100305602&model=vivo+Y66, and the suspected IMSI information that can be extracted from it is 460036100305602.

[0052] By analyzing the HTTP traffic in the home broadband traffic data, 15-bit suspected IMEI information (International Mobile Equipment Identity) is extracted from the url field in the HTTP traffic based on the rule of

\\d{15}

[0053] http: / / wf.vivo.com.cn / t?sn1=null&st1=0&sn2=null&st2=0&imei=866932039536856&model=PD1709&elap=539930720&e=150100444836444d4205cc53aa438400&v=PD1709_A_8.15.20, and the suspected IMEI information that can be extracted from it is 866932039536856.

[0054] By analyzing the HTTP traffic in the home broadband traffic data, from the url field in the HTTP traffic, based on the rule of

【(0|86|17951)?(13[0-9]|14

[579] |15[0-3,5-9]|16[6]|17[0135678]|18[0-9]|19[0-9]|19

[89] )\\d{8}$】, extract 11-bit suspected SIM card information. Specifically, for example, the data for phone in the url field of an HTTP traffic can be expressed as:

[0055] http: / / stat.funshion.net / fun_tv / tv_account_info?app_type=1&ctime=1686709829&phone=18868212823&appmode=TVLauncher&status=1&h_mode=SmartTV&rom_ver=eng.chenyu.20210220.122045&h_sn=&h_mode=toptechSmart%20TV, where the suspected SIM card information that can be extracted is 18868212823.

[0056] Through the HTTP traffic and DNS traffic in the home broadband traffic data, extract the Internet traffic information generated by the applications installed on the device to be identified, including url (http: / / wap.cq.10086.cn / , http: / / pushservice.10010.com / , http: / / gx.189.cn / ) and domain name (10086.cn, 10010.com, 189.cn) fields.

[0057] Step 120, perform corresponding off-net identification strategies on each of the off-net identification information to obtain corresponding identification results.

[0058] In the embodiments of the present invention, different off-net identification information has different off-net identification strategies. Perform the corresponding off-net identification strategy on each off-net identification information to obtain the corresponding identification result.

[0059] Step 130, determine whether the device to be identified is an off-net device according to each of the identification results.

[0060] In the embodiments of the present invention, comprehensively determine whether the device to be identified is an off-net device according to multiple identification results.

[0061] In an embodiment of the present invention, heterogeneous network identification information composed of IMSI information, IMEI information, SIM card information of a device to be identified, and traffic information of applications installed on the device to be identified is extracted from home broadband traffic data. Each piece of heterogeneous network identification information has a corresponding heterogeneous network identification strategy. The corresponding heterogeneous network identification strategy is executed for each piece of heterogeneous network identification information to obtain a corresponding identification result. Finally, it is determined whether the device to be identified is a heterogeneous network based on each identification result. Through the technical solution of the present invention, accurate location positioning based on home broadband traffic data is performed, and then multiple pieces of heterogeneous network identification information are used to determine whether it is a heterogeneous network, which fully solves problems such as inaccurate positioning, inaccurate heterogeneous network identification, and insufficient scale of heterogeneous network user identification in heterogeneous network identification.

[0062] In an exemplary embodiment of the present invention, please refer to Figure 2 , in step 120 of executing the corresponding heterogeneous network identification strategy for each piece of the heterogeneous network identification information to obtain a corresponding identification result, it includes steps 210 to 220, which are introduced in detail as follows:

[0063] Step 210, if the heterogeneous network identification information is the IMSI information, the credibility of the IMSI information is determined according to the values of the fourth and fifth digits in the IMSI information.

[0064] In an embodiment of the present invention, the credibility is judged by the values of the fourth and fifth digits of the extracted IMSI information. Among them, it is considered that the IMSI information is credible when the combination of the values of the fourth and fifth digits in the IMSI information is 00, 01, 02, 03, 05, 06, or 07.

[0065] Step 220, if the credibility of the IMSI information indicates that the IMSI information is credible, heterogeneous network identification is performed according to the values of the fourth and fifth digits to obtain a corresponding identification result.

[0066] In an embodiment of the present invention, after determining that the IMSI information is credible, the local network and heterogeneous network are judged by the values of the fourth and fifth digits of the IMSI. When the values of the fourth and fifth digits are 00, 02, or 07, it belongs to the local network, and when the values of the fourth and fifth digits are 01, 03, 05, or 06, it belongs to the heterogeneous network.

[0067] In an embodiment of the present invention, when performing heterogeneous network identification based on the IMSI information, the credibility of the IMSI information is analyzed first, which guarantees the authenticity of the IMSI information to a certain extent and then ensures the accuracy of heterogeneous network identification.

[0068] In an exemplary embodiment of the present invention, please refer to Figure 3 , in step 120 of executing the corresponding heterogeneous network identification strategy for each piece of the heterogeneous network identification information to obtain a corresponding identification result, it includes steps 310 to 330, which are introduced in detail as follows:

[0069] Step 310, if the off-net identification information is the IMEI information, perform calculation processing on the first 14 digits of the IMEI information to obtain a calculation result.

[0070] In an embodiment of the present invention, perform a standardized rule calculation on the first 14 digits of the extracted IMEI information, where the values of all odd digits are accumulated, and the values of even digits are multiplied by 2 respectively. If the value obtained after multiplication is less than 10, it directly participates in the odd-digit accumulation. If the value after multiplication is greater than or equal to 10, the values of the tens and units digits of this value are added and then participate in the odd-digit accumulation to obtain a calculation result.

[0071] For example, if the IMEI information is 866932039536856, the accumulation of the values of the odd digits of the first 14 digits is: 8 + 9 + 3 + 0 + 2 + 9 + 8 = 39. The results obtained by multiplying the values of the even digits by 2 are 12, 4, 4, 6, 16, 14, 6 in sequence, and those greater than 10 are 12, 16, and 14. The obtained calculation result is 39 + (1 + 2) + 4 + 4 + 6 + (1 + 6) + (1 + 4) + 6 = 74.

[0072] Step 320, determine the credibility of the IMEI information according to the calculation result and the value of the fifteenth digit in the IMEI information.

[0073] In an embodiment of the present invention, divide the calculation result by 10 and take the remainder. If the remainder is 0, the verification digit is obtained as 0; if the remainder is not 0, the verification digit is 10 - the remainder. Determine the credibility of the IMEI by judging whether the verification digit is equal to the value of the 15th digit of the IMEI information. If the two are equal, the IMEI information is credible; if the two are not equal, the IMEI information is not credible.

[0074] Step 330, if the credibility of the IMEI information indicates that the IMEI information is credible, perform off-net identification according to the IMEI mapping library corresponding to the local network and the IMEI information to obtain a corresponding identification result.

[0075] In an embodiment of the present invention, after determining that the IMEI information is credible, query whether the extracted IMEI information exists in the IMEI mapping library of the terminal devices formed by the numbers in the local network. If it exists, it is determined to belong to the local network; otherwise, it belongs to the off-net.

[0076] In an embodiment of the present invention, when performing off-net identification according to the IMEI information, first perform a credibility analysis on the IMEI information, which to a certain extent guarantees the authenticity of the IMEI information, and thus ensures the accuracy of off-net identification.

[0077] In an exemplary embodiment of the present invention, please refer toFigure 4 In step 120, performing corresponding off-network identification strategies on each of the off-network identification information to obtain corresponding identification results, including steps 410 to 430, which are introduced in detail as follows:

[0078] Step 410, if the off-network identification information is the SIM card information of the device to be identified, obtain the first occurrence frequency of the SIM card information in traffic, the second occurrence frequency in domain names, and the third occurrence frequency in trusted domain names.

[0079] In an embodiment of the present invention, the credibility of the extracted SIM card information is determined. Specifically, the first occurrence frequency of the SIM card information in traffic, the second occurrence frequency in domain names, and the third occurrence frequency in trusted domain names are obtained.

[0080] Step 420, determine the credibility of the SIM card information according to the first occurrence frequency, the second occurrence frequency, and the third occurrence frequency.

[0081] In an embodiment of the present invention, if the first occurrence frequency is greater than or equal to 3, it indicates that the SIM card information appears in traffic for at least 3 days; if the second occurrence frequency is greater than or equal to 3, it indicates that the SIM card information appears in at least 3 domain names; if the third occurrence frequency is greater than or equal to 1, it indicates that the SIM card information appears in a trusted domain name at least once, and the trusted domain name is determined based on historical verified domain names. If any one of the above three conditions is met, the SIM card information can be determined to be credible; if none of the three conditions is met, the SIM card information is determined to be non-credible.

[0082] Step 430, if the credibility of the SIM card information indicates that the SIM card information is credible, perform off-network identification according to the SIM card information to obtain a corresponding identification result.

[0083] In an embodiment of the present invention, after determining that the SIM card information is credible, by querying the SIM card library of the local network, it is detected whether the extracted SIM card information exists in the SIM card library. If it exists, it is determined to be a local network SIM card; if it does not exist, it is determined to be an off-network SIM card.

[0084] In an embodiment of the present invention, when performing off-network identification according to the SIM card information, first perform a credibility analysis on the SIM card information, which ensures the authenticity of the SIM card information to a certain extent, and then ensures the accuracy of off-network identification.

[0085] In an exemplary embodiment of the present invention, please refer to Figure 5 In step 120, performing corresponding off-network identification strategies on each of the off-network identification information to obtain corresponding identification results, including steps 510 to 520, which are introduced in detail as follows:

[0086] Step 510, if the off-net identification information is the traffic information of the application program, extract the url and domain name data in the home broadband traffic data, and determine the developer information of the application program according to the url and domain name data.

[0087] In the embodiment of the present invention, the extracted url and domain name data are respectively matched with the application recognition library to identify which application program this traffic request belongs to, and then the developer information of the application program is determined.

[0088] Step 520, perform off-net identification according to the developer information to obtain the corresponding identification result.

[0089] In the embodiment of the present invention, it is judged whether it belongs to the product operated by the home network through the developer information to which the application program belongs. If so, it is confirmed that the behavior of accessing this application program belongs to the home network behavior, otherwise it belongs to the off-net behavior.

[0090] In an exemplary embodiment of the present invention, please refer to Figure 6 , in step 130, determining whether the device to be identified is an off-net according to each of the identification results includes steps 610 to 620, which are introduced in detail as follows:

[0091] Step 610, detect the card slot type of the device to be identified.

[0092] In the embodiment of the present invention, extract the first device name (dhcpnanme) keyword from the home networking device status data, such as:

[0093] {"gatewaymac":"04:7E:23:28:62:58","mac":"84:46:FE:19:1F:E0","dhcpnanme":"HUAWEI_P30-a8b2c","onlinetime":1635996698","IP":

[0094] "192.168.1.2"}, where the device name keyword is HUAWEI_P30-a8b2c.

[0095] Extract the second device name keyword in the user-agent from the http protocol of the home Internet traffic, such as:

[0096] {"gatewaymac":"04:7E:23:28:62:58","mac":"84:46:FE:19:1F:E0","User-Agent":"Dalvik / 2.1.0 (Linux; U; Android 9; ELE-AL00 Build / PPR1.180610.011)"}. Among them, the keyword of the second device is ELE-AL00.

[0097] Using the extracted keywords of the first device and the second device, match the device model library. When the type and model information identified by the two groups of information are the same, the type and model of the device to be identified can be determined, and it can be further determined whether the card slot type of the device to be identified is a single card slot type or a dual card slot type.

[0098] Step 620, determine the off-net type of the device to be identified according to the card slot type and each of the recognition results.

[0099] In the embodiment of the present invention, when at least one of the 4 recognition results characterizes off-net, it can be initially predicted as off-net, and then the off-net index of the device to be identified is determined based on the completeness rate of off-net information in different dimensions. The off-net type is determined according to the off-net index. The off-net types include single-card off-net, dual-card dual off-net, and dual-card single off-net.

[0100] Specifically, when the card slot type is a single card slot type, when the recognition result determined based on the IMSI information characterizes off-net, the score is 0.3; when the recognition result determined based on the IMEI information characterizes off-net, the score is 0.2; when the recognition result determined based on the SIM card information characterizes off-net, the score is 0.4; when the recognition result determined based on the traffic information characterizes off-net, the score is 0.1. Add up all the scores to obtain the off-net index. The higher the off-net index, the higher the possibility of single-card off-net.

[0101] For the dual card slot type, it is necessary to first determine whether it is dual-card dual off-net or dual-card single off-net. The judgment criterion for dual-card dual off-net is that both of the SIM cards in the device to be identified simultaneously satisfy that at least one of the 4 recognition results characterizes off-net, and it is initially determined as dual-card dual off-net; if not, it is initially determined as dual-card single off-net.

[0102] When it is initially determined that it is a dual-SIM and dual-different-network scenario, when the recognition results determined based on the IMSI information for both SIM cards indicate different networks, the score is 0.3. If only one SIM card's recognition result determined based on the IMSI information indicates a different network, the score is 0.15; when the recognition results determined based on the IMEI information for both SIM cards indicate different networks, the score is 0.2. If only one SIM card's recognition result determined based on the IMEI information indicates a different network, the score is 0.1; when the recognition results determined based on the SIM card information for both SIM cards indicate different networks, the score is 0.4. If only one SIM card's recognition result determined based on the SIM card information indicates a different network, the score is 0.2; when the recognition results determined based on the traffic information for both SIM cards indicate different networks, the score is 0.1. Add up all the scores to obtain the different-network index. The higher the different-network index, the higher the probability of dual-SIM and dual-different-network scenario.

[0103] When it is initially determined that it is a dual-SIM and single-different-network scenario, when any of the recognition results determined based on the IMSI information for both SIM cards indicates a different network, the score is 0.15; when any of the recognition results determined based on the IMEI information for both SIM cards indicates a different network, the score is 0.1; when any of the recognition results determined based on the SIM card information for both SIM cards indicates a different network, the score is 0.2; when any of the recognition results determined based on the traffic information for both SIM cards indicates a different network, the score is 0.1. Add up all the scores to obtain the different-network index. The higher the different-network index, the higher the probability of dual-SIM and single-different-network scenario.

[0104] In an exemplary embodiment of the present invention, the home broadband traffic data includes home networking device status data. Please refer to Figure 7 , after step 130 of determining whether the device to be recognized is a different network according to each of the recognition results, the method further includes steps 710 to 720, which are introduced in detail as follows:

[0105] Step 710, according to the home networking device status data, detect whether the online duration of the device to be recognized in the first preset time range reaches the duration threshold, detect whether the number of online days of the device to be recognized in the second preset time range reaches the first number-of-days threshold, and detect whether the number of online days of the device to be recognized in the third preset time range reaches the second number-of-days threshold.

[0106] In the embodiment of the present invention, the home networking device status data mainly consists of fields such as gateway mac (media access control address), device mac, device name (dhcpnanme), and online time, as shown below:

[0107] {"gatewaymac":"04:7E:23:28:62:58","mac":"84:46:FE:19:1F:E0","dhcpnanme":"HUAWEI_P30-a8b2c","onlinetime":1635996698","IP":

[0108] "192.168.1.2"}

[0109] Based on the status data of home networking devices, label integration can be performed to form the online duration of the device to be recognized within the first preset time range, the number of online days within the second preset time range, and the number of online days within the third preset time range. The first preset time range can be set to one week, the second preset time range is the night time period of one week, and the third preset time range is one month. The duration threshold can be set to 30 minutes, the first number threshold can be set to 3 days, and the second number threshold can be set to 10 days. In other embodiments of the present invention, the time range and threshold can also be set to other values, and the present invention does not limit this.

[0110] Detect whether the online duration of the device to be recognized within the first preset time range reaches the duration threshold, detect whether the number of online days of the device to be recognized within the second preset time range reaches the first number threshold, and detect whether the number of online days of the device to be recognized within the third preset time range reaches the second number threshold. That is, detect whether the average weekly online duration of the device to be recognized exceeds 30 minutes, whether the number of online days during the weekly night period exceeds 3 days, and whether the number of online days per month exceeds 10 days.

[0111] Step 720, if all are reached, determine that the device to be recognized is a home resident user device.

[0112] In the embodiments of the present invention, if the above three items are all reached, it is determined that the device to be recognized is a home resident user device. The operator can perform corresponding operation processing on the device to be recognized according to the result of determining whether it is a home resident user device and the corresponding off-net type. For example, when the staff carry out the off-net welcome-back work, they can perform priority ranking in different regions according to the off-net types of home user devices in the jurisdiction. When the staff conduct door-to-door marketing, they can carry out the marketing of asking, checking, calculating, and comparing according to the specific off-net distribution situation within the family, so as to improve the success rate of off-net user welcome-back.

[0113] Next, the off-net recognition device provided by the present invention will be described. The off-net recognition device described below can be correspondingly referred to the off-net recognition method described above. It should be noted that the device provided in the following embodiments and the method provided in the above embodiments belong to the same concept. The specific ways in which each module and unit perform operations have been described in detail in the method embodiments, and will not be repeated here.

[0114] In an exemplary embodiment of the present invention, please refer to Figure 8 , Figure 8 which is a heterogeneous network identification device shown according to an exemplary embodiment, including:

[0115] An extraction module 810, configured to obtain home broadband traffic data, and extract heterogeneous network identification information of a device to be identified according to the home broadband traffic data; wherein, the heterogeneous network identification information includes IMSI information, IMEI information, SIM card information of the device to be identified, and traffic information of application programs installed on the device to be identified;

[0116] An execution module 820, configured to execute corresponding heterogeneous network identification strategies on each of the heterogeneous network identification information to obtain corresponding identification results;

[0117] A first determination module 830, configured to determine whether the device to be identified is a heterogeneous network according to each of the identification results.

[0118] In an exemplary embodiment of the present invention, the execution module 820 includes:

[0119] A first determination sub-module, configured to determine the credibility of the IMSI information according to the values of the fourth and fifth digits in the IMSI information if the heterogeneous network identification information is the IMSI information;

[0120] A first heterogeneous network identification sub-module, configured to perform heterogeneous network identification according to the values of the fourth and fifth digits to obtain a corresponding identification result if the credibility of the IMSI information indicates that the IMSI information is credible.

[0121] In an exemplary embodiment of the present invention, the execution module 820 includes:

[0122] A calculation and processing sub-module, configured to perform calculation processing on the values of the first 14 digits in the IMEI information to obtain a calculation result if the heterogeneous network identification information is the IMEI information;

[0123] A second determination sub-module, configured to determine the credibility of the IMEI information according to the calculation result and the value of the fifteenth digit in the IMEI information;

[0124] A second heterogeneous network identification sub-module, configured to perform heterogeneous network identification according to the IMEI mapping library corresponding to the local network and the IMEI information to obtain a corresponding identification result if the credibility of the IMEI information indicates that the IMEI information is credible.

[0125] In an exemplary embodiment of the present invention, the execution module 820 includes:

[0126] An acquisition sub-module, configured to, if the off-net identification information is the SIM card information of the device to be identified, acquire the first occurrence frequency of the SIM card information in traffic, the second occurrence frequency in domain names, and the third occurrence frequency in trusted domain names;

[0127] A third determination sub-module, configured to determine the credibility of the SIM card information according to the first occurrence frequency, the second occurrence frequency, and the third occurrence frequency;

[0128] A third off-net identification sub-module, configured to, if the credibility of the SIM card information indicates that the SIM card information is credible, perform off-net identification according to the SIM card information to obtain a corresponding identification result.

[0129] In an exemplary embodiment of the present invention, the execution module 820 includes:

[0130] An extraction sub-module, configured to, if the off-net identification information is the traffic information of the application, extract the url and domain name data in the home broadband traffic data, and determine the developer information of the application according to the url and domain name data;

[0131] A fourth off-net identification sub-module, configured to perform off-net identification according to the developer information to obtain a corresponding identification result.

[0132] In an exemplary embodiment of the present invention, the first determination module 830 includes:

[0133] A detection sub-module, configured to detect the card slot type of the device to be identified;

[0134] A fourth determination sub-module, configured to determine the off-net type of the device to be identified according to the card slot type and each of the identification results.

[0135] In an exemplary embodiment of the present invention, the off-net identification device further includes:

[0136] A detection module, configured to, according to the home networking device status data, detect whether the online duration of the device to be identified in the first preset time range reaches a duration threshold, detect whether the number of online days of the device to be identified in the second preset time range reaches a first number-of-days threshold, and detect whether the number of online days of the device to be identified in the third preset time range reaches a second number-of-days threshold;

[0137] A second determination module, configured to, if all are reached, determine that the device to be identified is a home resident user device.

[0138] Figure 9 Illustrated is a schematic physical structure diagram of an electronic device, as Figure 9As shown in the figure, the electronic device may include: a processor 910, a communications interface 920, a memory 930, and a communication bus 940. Among them, the processor 910, the communications interface 920, and the memory 930 communicate with each other through the communication bus 940. The processor 910 may call logic instructions in the memory 930 to execute a method for identifying different networks. The method includes:

[0139] Obtain home broadband traffic data, and extract different network identification information of the device to be identified according to the home broadband traffic data; wherein, the different network identification information includes IMSI information, IMEI information, the SIM card information of the device to be identified, and the traffic information of the application programs installed on the device to be identified;

[0140] Execute corresponding different network identification strategies for each of the different network identification information to obtain corresponding identification results;

[0141] Determine whether the device to be identified is a different network according to each of the identification results.

[0142] In addition, when the logic instructions in the above-mentioned memory 930 are implemented in the form of software functional units and sold or used as an independent product, they may be stored in a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of the technical solution, may be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs, etc., which can store program codes.

[0143] On the other hand, the present invention also provides a computer program product. The computer program product includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the different network identification method provided by each of the above methods. The method includes:

[0144] Obtain home broadband traffic data, and extract different network identification information of the device to be identified according to the home broadband traffic data; wherein, the different network identification information includes IMSI information, IMEI information, the SIM card information of the device to be identified, and the traffic information of the application programs installed on the device to be identified;

[0145] Execute corresponding off-net identification strategies for each of the off-net identification information to obtain corresponding identification results;

[0146] Determine whether the device to be identified is an off-net device according to each of the identification results.

[0147] On the other hand, the present invention also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, it is implemented to execute the off-net identification method provided by the above methods. The method includes:

[0148] Obtain home broadband traffic data, and extract off-net identification information of the device to be identified according to the home broadband traffic data; wherein, the off-net identification information includes IMSI information, IMEI information, the SIM card information of the device to be identified, and the traffic information of the application programs installed on the device to be identified;

[0149] Execute corresponding off-net identification strategies for each of the off-net identification information to obtain corresponding identification results;

[0150] Determine whether the device to be identified is an off-net device according to each of the identification results.

[0151] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement it without creative labor.

[0152] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, also by hardware. Based on such an understanding, the above technical solution, in essence, or the part that makes a contribution to the prior art, can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., including several instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.

[0153] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A method for identifying a different network, characterized in that Including: Obtain home broadband traffic data, and extract off-net identification information of the device to be identified according to the home broadband traffic data; wherein, the off-net identification information includes IMSI information, IMEI information, the SIM card information of the device to be identified, and the traffic information of the application programs installed on the device to be identified; Execute corresponding off-net identification strategies for each of the off-net identification information to obtain corresponding identification results; Determine whether the device to be identified is off-net according to each of the identification results.

2. The off-net identification method according to claim 1, wherein The step of executing corresponding off-net identification strategies for each of the off-net identification information to obtain corresponding identification results includes: If the off-net identification information is the IMSI information, determine the credibility of the IMSI information according to the values of the fourth and fifth digits in the IMSI information; If the credibility of the IMSI information indicates that the IMSI information is credible, perform off-net identification according to the values of the fourth and fifth digits to obtain a corresponding identification result.

3. The off-net identification method according to claim 1, characterized in that The step of executing corresponding off-net identification strategies for each of the off-net identification information to obtain corresponding identification results includes: If the off-net identification information is the IMEI information, perform calculation processing on the values of the first 14 digits in the IMEI information to obtain a calculation result; Determine the credibility of the IMEI information according to the calculation result and the value of the fifteenth digit in the IMEI information; If the credibility of the IMEI information indicates that the IMEI information is credible, perform off-net identification according to the IMEI mapping library corresponding to the home network and the IMEI information to obtain a corresponding identification result.

4. The off-net identification method according to claim 1, characterized in that The step of executing corresponding off-net identification strategies for each of the off-net identification information to obtain corresponding identification results includes: If the off-net identification information is the SIM card information of the device to be identified, obtain the first occurrence frequency of the SIM card information in the traffic, the second occurrence frequency in the domain name, and the third occurrence frequency in the trusted domain name; Determine the credibility of the SIM card information according to the first occurrence frequency, the second occurrence frequency, and the third occurrence frequency; If the credibility of the SIM card information indicates that the SIM card information is credible, perform off-net identification according to the SIM card information to obtain a corresponding identification result.

5. The off-net identification method according to claim 1, wherein The step of executing corresponding off-net identification strategies for each of the off-net identification information to obtain corresponding identification results includes: If the off-net identification information is the traffic information of the application program, extract the url and domain name data in the home broadband traffic data, and determine the developer information of the application program according to the url and domain name data; Perform off-net identification according to the developer information to obtain a corresponding identification result.

6. The off-net identification method according to any one of claims 1 to 5, characterized in that, The step of determining whether the device to be identified is off-net according to each of the identification results includes: Detect the card slot type of the device to be identified; Determine the off-net type of the device to be identified according to the card slot type and each of the identification results.

7. The off-net identification method according to any one of claims 1 to 5, characterized in that The home broadband traffic data includes home networking device status data. After determining whether the device to be identified is off-net according to each of the identification results, the method further includes: Based on the status data of the home networking device, detect whether the online duration of the device to be identified reaches a duration threshold within a first preset time range, detect whether the number of online days of the device to be identified reaches a first number-of-days threshold within a second preset time range, and detect whether the number of online days of the device to be identified reaches a second number-of-days threshold within a third preset time range; If all of them are reached, determine that the device to be identified is a home resident user device.

8. An off-net identification device, characterized in that, Including: An extraction module, configured to obtain home broadband traffic data and extract off-net identification information of the device to be identified according to the home broadband traffic data; wherein, the off-net identification information includes IMSI information, IMEI information, the SIM card information of the device to be identified, and the traffic information of the applications installed on the device to be identified; An execution module, configured to execute corresponding off-net identification strategies for each of the off-net identification information to obtain corresponding identification results; A first determination module, configured to determine whether the device to be identified is off-net according to each of the identification results.

9. An electronic device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the off-net identification method according to any one of claims 1 to 7.

10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the off-net identification method according to any one of claims 1 to 7.