Method, device, system and storage medium for statistical communication protocol deployment

By analyzing the log information of the user terminal in the IPv6 network and determining the deployment status of its communication protocol, it solves the problem that it is difficult to fully understand the deployment status of the IPv6 protocol of the user terminal in the prior art, and improves the statistical universality and comprehensiveness of the deployment status of the IPv6 protocol. sex.

CN114866511BActive Publication Date: 2025-02-14CHINA TELECOM CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202210460646.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-04-28
Publication Date
2025-02-14
Estimated Expiration
2042-04-28

AI Technical Summary

Technical Problem

It is difficult for the prior art to fully understand and count the communication protocol deployment status of user terminals in IPv6 networks, resulting in the inability to effectively promote the popularization and use of IPv6.

Method used

By obtaining the log information generated by the user terminal on the predetermined access target server, the target domain name and downloaded files accessed by the user terminal in the log information are analyzed to determine the communication protocol deployment status of the user terminal. The method includes generating a plurality of target domain names for a predetermined access target, accessing the corresponding address based on the communication protocol deployed by the user terminal, and identifying the communication protocol supported by the user terminal through log information.

Benefits of technology

The universality and comprehensiveness of the deployment status of communication protocols in statistical networks is improved, so that the communication protocol deployment status of user terminals can be more accurately understood, thereby promoting the popularization and use of IPv6.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114866511B_ABST
    Figure CN114866511B_ABST
Patent Text Reader

Abstract

The present disclosure proposes a method, device, system and storage medium for statistical communication protocol deployment, which relates to the field of network technology. The present disclosure provides a method for statistical communication protocol deployment, which includes: obtaining log information generated by a user terminal on a server of a predetermined access target by running a preset application, wherein when the preset application is run, the user terminal generates multiple target domain names for the predetermined access target, and based on the communication protocol deployed by the user terminal, uses the address corresponding to the target domain name to access the predetermined access target, and the target domain name includes a domain name corresponding to an IPv4 address and a domain name corresponding to an IPv6 address; and determining the communication protocol deployment status of the user terminal according to the log information. Through such a method, the universality of the communication protocol deployment status analysis and the comprehensiveness of the statistics are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of network technology, and in particular to a method, device, system and storage medium for statistical communication protocol deployment. Background Art

[0002] The next generation Internet based on IPv6 (Internet Protocol Version 6) has become the cornerstone supporting the rapid development of cutting-edge technologies and industries. The exhaustion of IPv4 (Internet Protocol Version 4) addresses means that no new IPv4 devices can be added to the Internet, and it also means that IPv6 will become popular. Currently, the IPv6 "highway" has been fully built, and my country's IPv6 network infrastructure is the largest in the world. Understanding the popularity of my country's IPv6 protocol can help further promote the use of IPv6. Summary of the invention

[0003] One object of the present disclosure is to improve the universality of statistically analyzing the deployment status of communication protocols in a network.

[0004] According to one aspect of some embodiments of the present disclosure, a method for counting communication protocol deployment is proposed, comprising: obtaining log information generated by a user terminal on a server of a predetermined access target, wherein the user terminal accesses the predetermined access target by running a preset application, and when the preset application is run, the user terminal generates multiple target domain names for the predetermined access target, and based on the communication protocol deployed by the user terminal, uses an address corresponding to the target domain name to access the predetermined access target, the target domain name includes a domain name corresponding to an IPv4 address and a domain name corresponding to an IPv6 address; and determining the communication protocol deployment status of the user terminal according to the log information.

[0005] In some embodiments, the method further includes: when the user accesses the target page, sending a preset application to the user terminal.

[0006] In some embodiments, the target domain name includes a user identifier.

[0007] In some embodiments, the target domain name also includes a domain name corresponding to an IPv4 and IPv6 dual stack address.

[0008] In some embodiments, accessing a predetermined access target using an address corresponding to a target domain name includes: accessing an address in the address corresponding to the target domain name that is supported by a deployed communication protocol; downloading a corresponding file in the predetermined access target, wherein different files are obtained by accessing the predetermined access target through different addresses.

[0009] In some embodiments, determining the communication protocol deployment status of a user terminal based on log information includes: determining a record entry with the same user identifier; if the record entry does not include downloading a first file, the communication protocol deployed by the user terminal corresponding to the user identifier is the IPv6 protocol; if the record entry does not include downloading a second file, the communication protocol deployed by the user terminal corresponding to the user identifier is the IPv4 protocol, wherein the communication protocol deployment status includes that the deployed communication protocol is the IPv4 protocol or that the deployed communication protocol is the IPv6 protocol, the file obtained by accessing the predetermined access target through the IPv4 address is the first file, and the file obtained by accessing the predetermined access target through the IPv6 address is the second file.

[0010] In some embodiments, determining the communication protocol deployment status of a user terminal based on log information includes: determining the number of record entries with the same user identifier; if the number is 2, the communication protocol deployed on the user terminal corresponding to the user identifier is the IPv4 protocol or the IPv6 protocol; if the number is 3, the communication protocol deployed on the user terminal corresponding to the user identifier is the IPv4 protocol and the IPv6 protocol; wherein the communication protocol deployment status includes the deployed communication protocol being the IPv4 protocol, the deployed communication protocol being the IPv6 protocol, or the deployed communication protocol being the IPv4 protocol and the IPv6 protocol.

[0011] In some embodiments, determining the communication protocol deployment status of the user terminal based on the log information also includes: when the quantity is 2, if the record entry includes downloading the first file and downloading the third file, the communication protocol deployed by the user terminal corresponding to the user identifier is the IPv4 protocol; if the record entry includes downloading the second file and downloading the third file, the communication protocol deployed by the user terminal corresponding to the user identifier is the IPv6 protocol, wherein the file obtained by accessing the predetermined access target through the IPv4 and IPv6 dual stack addresses is the third file.

[0012] In some embodiments, determining the communication protocol deployment status of the user terminal based on the log information also includes: when the number is 3, if the download time interval between the first file and the third file is less than the download time interval between the second file and the third file, determining that the priority of the IPv4 protocol of the user terminal is higher than the priority of the IPv6 protocol; if the download time interval between the first file and the third file is greater than the download time interval between the second file and the third file, determining that the priority of the IPv4 protocol of the user terminal is lower than the priority of the IPv6 protocol.

[0013] In some embodiments, the method further includes: obtaining the address of the user terminal according to the log information; determining whether the address of the user terminal is a mobile communication network address; if the address of the user terminal is a mobile communication network address, recording the communication protocol deployment status of the user terminal.

[0014] In some embodiments, the method further includes: if the address of the user terminal is not a mobile communication network address, determining whether the address of the user terminal belongs to a predetermined range to be counted; if the address of the user terminal belongs to the predetermined range to be counted, recording the communication protocol deployment status of the user terminal.

[0015] In some embodiments, the corresponding file in the predetermined access target is a picture that occupies less space than the predetermined space.

[0016] According to one aspect of some embodiments of the present disclosure, a device for statistically analyzing communication protocol deployment is proposed, including: a log information acquisition unit, configured to acquire log information generated by a user terminal on a server of a predetermined access target, wherein the user terminal accesses the predetermined access target by running a preset application. When the preset application is run, the user terminal generates multiple target domain names for the predetermined access target, and based on the communication protocol deployed by the user terminal, uses an address corresponding to the target domain name to access the predetermined access target, wherein the target domain name includes a domain name corresponding to an IPv4 address and a domain name corresponding to an IPv6 address; and a status determination unit, configured to determine the communication protocol deployment status of the user terminal according to the log information.

[0017] In some embodiments, the device further includes: an application sending unit configured to send a preset application to a user terminal when a user accesses a target page.

[0018] In some embodiments, the device further includes: a file providing unit configured to provide a corresponding file according to an access request of a user terminal based on a preset application, wherein different files are obtained by accessing a predetermined access target through different addresses.

[0019] In some embodiments, the device also includes a recording unit configured to: obtain the address of the user terminal based on the log information; determine whether the address of the user terminal is a mobile communication network address; if the address of the user terminal is a mobile communication network address, record the communication protocol deployment status of the user terminal.

[0020] According to one aspect of some embodiments of the present disclosure, a device for statistical communication protocol deployment is proposed, including: a memory; and a processor coupled to the memory, the processor being configured to execute any one of the above methods for statistical communication protocol deployment based on instructions stored in the memory.

[0021] According to one aspect of some embodiments of the present disclosure, a non-transitory computer-readable storage medium is provided, on which computer program instructions are stored, and when the instructions are executed by a processor, the steps of any one of the above methods for statistical communication protocol deployment are implemented.

[0022] According to one aspect of some embodiments of the present disclosure, a system for counting communication protocol deployment is proposed, comprising: any one of the communication protocol deployment statistics devices described above; and a user terminal, configured to obtain a preset application, generate multiple target domain names for predetermined access targets, and access the predetermined access targets using the addresses corresponding to the target domain names based on the communication protocol deployed by the user terminal. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The drawings described herein are used to provide a further understanding of the present disclosure and constitute a part of the present disclosure. The illustrative embodiments of the present disclosure and their descriptions are used to explain the present disclosure and do not constitute an improper limitation on the present disclosure. In the drawings:

[0024] Figure 1 Flowcharts of some embodiments of methods for statistical communication protocol deployment of the present disclosure.

[0025] Figure 2 A flowchart of some embodiments of a user terminal running a preset application in the method for statistical communication protocol deployment disclosed in the present invention.

[0026] Figure 3 Flowcharts of other embodiments of methods for statistical communication protocol deployment of the present disclosure.

[0027] Figure 4 Schematic diagram of some embodiments of apparatus deployed for the statistical communication protocol of the present disclosure.

[0028] Figure 5 Schematic diagrams of other embodiments of devices deployed for the statistical communication protocol of the present disclosure.

[0029] Figure 6 Schematic diagrams of some further embodiments of apparatuses deployed for the statistical communication protocol of the present disclosure.

[0030] Figure 7 Schematic diagram of some embodiments of a system deployed for the statistical communication protocol of the present disclosure. DETAILED DESCRIPTION

[0031] The technical solution of the present disclosure is further described in detail below through the accompanying drawings and embodiments.

[0032] APNIC (Asia-Pacific Network Information Center) is one of the five regional Internet registries in the world, responsible for the allocation and management of IPv4, IPv6 addresses, and AS (Autonomous System) numbers for 56 economies in the Asia-Pacific region. APNIC's method of measuring the number of active users of IPv6 scale deployment in a region is based on public AS numbers or backbone network ranges. When an advertisement is delivered to a browser, an embedded script is activated. This script instructs the browser to access URLs (Uniform Resource Locators) with IPv4 / v6 dual-stack addresses, URLs with only IPv4 addresses, and URLs with only IPv6 addresses. All of these URLs are stored on servers maintained by APNIC. These servers can measure the user's IPv6 support capabilities based on the running scripts.

[0033] However, this measurement method in the related art is only applicable to public AS or backbone network, and the measurement scope is relatively limited.

[0034] The flowcharts of some embodiments of the method for statistical communication protocol deployment of the present disclosure are as follows Figure 1 shown.

[0035] In step 130, the log information generated by the user terminal by running the preset application on the server to which the predetermined access target belongs is obtained. In some embodiments, the log information may record the address of the user terminal (such as IP address), the access time of the user terminal, the user identification, and the operation performed by the user terminal to access the predetermined access target.

[0036] In some embodiments, the executed operation may be downloading a file, and the log information may record an identifier of the file in the user terminal, such as the file name.

[0037] In some embodiments, the process of the user terminal running the preset application can be as follows: Figure 2 shown.

[0038] In step 221, the user terminal generates multiple target domain names for the predetermined access target. In some embodiments, the target domain name may include a domain name corresponding to an IPv4 address and a domain name corresponding to an IPv6 address. In some embodiments, the target domain name may carry a user identifier. In some embodiments, the user identifier may be a pseudo-random string of a predetermined length (such as 16 characters) composed of one or more of letters, numbers or special characters, and is user unique.

[0039] In some embodiments, the user sends a domain name resolution request to a local DNS server through a domain name access process, sends the target domain name to the DNS server, and obtains the address corresponding to the target domain name from the DNS server, including an IPv4 address and an IPv6 address. The IPv4 address and the IPv6 address are both access addresses of the predetermined access target.

[0040] In some embodiments, the target domain name may also include a domain name corresponding to an IPv4 and IPv6 dual stack address. The user terminal then obtains the IPv4 and IPv6 dual stack address from the DNS server based on the domain name. The IPv4 and IPv6 dual stack address refers to an address that can be accessed based on the IPv4 protocol and the IPv6 protocol.

[0041] (1) For example, only IPv4 protocol is supported:

[0042] http: / / xxxx.ctipv6test-v4only.ipv6day.cn:8080 / IPv4-pic.png

[0043] (2) Only supports IPv6 protocol:

[0044] http: / / xxxx.ctipv6test-v6only.ipv6day.cn:8080 / IPv6-pic.png

[0045] (3)Support both IPv4 and IPv6 protocols (dual stack)

[0046] http: / / xxxx.ctipv6test-dualstack.ipv6day.cn:8080 / dualstack- pic.png

[0047] The above addresses are only examples and do not constitute an improper limitation on the present disclosure. The xxxx in the above examples is a user ID.

[0048] In step 222, the user terminal accesses an address that it can support among the access addresses of the predetermined access target based on the communication protocol deployed by the user terminal.

[0049] In some embodiments, the user terminal is only configured with the IPv4 protocol, and then accesses the IPv4 address of the predetermined access target. In some embodiments, the user terminal can also access the IPv4 and IPv6 dual stack addresses based on the IPv4 protocol. In some embodiments, the user terminal is only configured with the IPv6 protocol, and then accesses the IPv6 address of the predetermined access target. In some embodiments, the user terminal can also access the IPv4 and IPv6 dual stack addresses based on the IPv6 protocol.

[0050] In step 223, the user downloads the file corresponding to the access address in the predetermined access target by accessing the predetermined access target. The files obtained by accessing the predetermined access target through different addresses are different. For example, the file obtained by accessing the predetermined access target through the IPv4 address is the first file (such as named micro_ipv4_pic.png), and the file obtained by accessing the predetermined access target through the IPv6 address is the second file (such as named micro_ipv6_pic.png). In some embodiments, the file obtained by accessing the predetermined access target through the IPv4 and IPv6 dual stack addresses is the third file (such as named micro_dualstack_pic.png).

[0051] In some embodiments, the above file may be a picture that occupies less space than the predetermined space, such as a picture that is less than 1kb. By using such a method, it is possible to avoid the operation having a significant impact on the user terminal, reduce user perception, and avoid affecting user use.

[0052] In some embodiments, the image may be a 1*1 pixel image, which only occupies a single byte of storage space, such as 24 bits of space, thereby further reducing user perception and reducing the impact on terminal access to the network and storage space.

[0053] Based on the method in the above embodiment, the access and download operations of the terminal to the predetermined access target can generate log information on the server to which the predetermined access target belongs, so as to analyze the communication protocol deployment status of the user terminal according to the log information. The preset application can run automatically without user triggering, thereby improving the comprehensiveness of log information recording.

[0054] In step 140, the communication protocol deployment status of the user terminal is determined according to the log information. In some embodiments, the communication protocol deployment status may include that the deployed communication protocol is IPv4 protocol, the deployed communication protocol is IPv6 protocol, or both IPv4 protocol and IPv6 protocol are deployed.

[0055] In some embodiments, when the communication protocol deployment state is that both the IPv4 protocol and the IPv6 protocol are deployed, the communication protocol deployment state may also include giving priority to the use of the IPv4 protocol or giving priority to the use of the IPv6 protocol.

[0056] Based on the method in the above embodiment, the communication protocol deployment status of the corresponding user terminal can be determined by analyzing the log information generated by the access operation of the user terminal, so that the object of the communication protocol deployment status analysis is any user terminal, which improves the universality of the communication protocol deployment status analysis and the comprehensiveness of the communication protocol deployment status statistics.

[0057] In some embodiments, Figure 1 As shown, step 110 may also be included.

[0058] In step 110, when the user terminal accesses the target page through a browser or the like, a preset application is sent to the user terminal. In some embodiments, the preset application can be embedded in the target page, and when the user accesses the target page, the preset application is downloaded to the user terminal. In some embodiments, the target page can be a operator portal website page or a third-party cooperation page.

[0059] In some embodiments, the preset application can be automatically run in the browser in an asynchronous manner. The preset application can be a script application that runs based on the browser, thereby reducing the space occupied by the preset application and reducing the impact on the user terminal storage space and network bandwidth occupancy.

[0060] Based on the method in the above embodiment, during the process of user accessing the network, the preset application can be provided to the user terminal imperceptibly and run automatically without user triggering, thereby improving the operation probability and the comprehensiveness of the communication protocol deployment status statistics.

[0061] In some embodiments, based on the user identifier recorded in the log information, the record entries belonging to the same user terminal can be extracted. In the record entries with the same user identifier, if the record of downloading the first file is not included, the second file is downloaded or the second and third files are downloaded, it is determined that the communication protocol deployment state of the user terminal corresponding to the user identifier is that the IPv4 protocol is not deployed and only the IPv6 protocol is deployed.

[0062] In some embodiments, if the record entry with the same user identifier does not include downloading the second file, but downloading the first file or downloading the first and third files, then the communication protocol deployment status of the user terminal corresponding to the user identifier is determined as not deploying the IPv6 protocol, and only deploying the IPv4 protocol, wherein the communication protocol deployment status includes the deployed communication protocol being the IPv4 protocol or the deployed communication protocol being the IPv6 protocol, the file obtained by accessing the predetermined access target through the IPv4 address is the first file, and the file obtained by accessing the predetermined access target through the IPv6 address is the second file.

[0063] Based on the method in this embodiment, the communication protocol supported by the user can be determined by identifying the downloaded files in the user record entry, and the analysis complexity is low, thereby improving the analysis efficiency.

[0064] In some embodiments, if there are three target domain names, the number of communication protocols supported by the user terminal can be determined based on the number of record entries of the same user identifier in the log information, wherein the duplicate record entry for downloading the same file with the same user identifier is recorded as 1. In some embodiments, if there are 2 duplicate record entries for downloading the same file with the same user identifier, the communication protocol deployed by the user terminal corresponding to the user identifier is 1 (IPv4 protocol or IPv6 protocol); if there are 2 duplicate record entries for downloading the same file with the same user identifier, the user terminal corresponding to the user identifier supports IPv4 protocol and IPv6 protocol. Based on the method in this embodiment, the number of communication protocols supported by the user can be determined by identifying the number of user record entries, further reducing the complexity of analysis and improving the efficiency of analysis.

[0065] In some embodiments, when there are three target domain names and there are two record entries for downloading the same file with the same user identifier, if it is determined that the record entry includes downloading a first file and downloading a third file, then the communication protocol deployed by the user terminal corresponding to the user identifier is the IPv4 protocol; if the record entry includes downloading a second file and downloading a third file, then the communication protocol deployed by the user terminal corresponding to the user identifier is the IPv6 protocol.

[0066] Based on the method in this embodiment, the communication protocol supported by the user can be determined by identifying the downloaded files in the user record entry, and the analysis complexity is low, thereby improving the analysis efficiency.

[0067] In some embodiments, when there are three target domain names and there are three record entries for downloading the same file with the same user identifier, the communication protocol that the user terminal uses preferentially can be further determined based on the record time information in the record entry. In some embodiments, if the download time interval between the first file and the third file is less than the download time interval between the second file and the third file (such as the download record time of the first file and the third file is the same, and the download record time of the second file and the third file is different), it is determined that the priority of the IPv4 protocol of the user terminal is higher than the priority of the IPv6 protocol. In some embodiments, if the download time interval between the first file and the third file is greater than the download time interval between the second file and the third file (such as the download record time of the first file and the third file is different, and the download record time of the second file and the third file is the same), it is determined that the priority of the IPv4 protocol of the user terminal is lower than the priority of the IPv6 protocol.

[0068] Based on the method in this embodiment, the time difference for access based on different protocols can be utilized to determine the communication protocol preferentially used by the user terminal by analyzing the recorded time, thereby improving the richness of the communication protocol deployment status analysis.

[0069] For example, the first file is micro_ipv4_pic.png, the second file is micro_ipv6_pic.png, and the third file is micro_dualstack_pic.png.

[0070] 1. When there are 2 (non-duplicate) records with the same user ID,

[0071] a. If the user downloads both micro_ipv4_pic.png and micro_dualstack_pic.png, only IPv4 protocol is supported;

[0072] b. If the user downloads both micro_ipv6_pic.png and micro_dualstack_pic.png, only IPv6 protocol is supported.

[0073] 2. When there are 3 (non-duplicate) records with the same user ID,

[0074] a. If a user downloads micro_ipv4_pic.png and also downloads micro_ipv6_pic.png and micro_dualstack_pic.png, then the user supports both IPv4 and IPv6 protocols, and IPv6 protocol is used first;

[0075] b. If the user downloads micro_ipv4_pic.png and micro_dualstack_pic.png at the same time, and downloads micro_ipv6_pic.png, the user supports both IPv4 and IPv6 protocols, and IPv4 protocol is used preferentially.

[0076] The above record information for the same user ID is only counted once, thereby avoiding statistical duplication and improving statistical accuracy.

[0077] In some embodiments, Figure 1 After step 140, the method for statistical communication protocol deployment of the present disclosure may further include: Figure 3 Steps shown.

[0078] In step 351, the address of the user terminal in the log information is extracted.

[0079] In step 352, it is determined whether the address of the user terminal is an address of a mobile communication network, such as whether it is an address of a 4G EPC or 5G SA network. If it is determined that the address of the user terminal is an address of a mobile communication network, it is determined that the user terminal belongs to a local network, and step 354 is executed; otherwise, step 353 is executed. In some embodiments, the local network refers to a network within a predetermined range to be counted, such as a city or a province. In some embodiments, the predetermined range to be counted can be defined according to demand.

[0080] In step 353, it is determined whether the address of the user terminal belongs to the predetermined range to be counted. In some embodiments, the address location of the user terminal can be determined by calling the IP address query interface, and then it is determined whether the location belongs to the predetermined range to be counted. If the address of the user terminal belongs to the predetermined range to be counted, step 354 is executed; otherwise, it can be used as a backup for the communication protocol deployment of the corresponding location to be counted, or it can be discarded.

[0081] In step 354, the communication protocol deployment status of the user terminal is recorded, such as establishing an association between the address of the user terminal and its communication protocol deployment status. In some embodiments, records of active users within a predetermined statistical range are collected to analyze the popularity of protocols such as IPv6 within the predetermined statistical range, and to analyze the dependence on IPv4 protocols.

[0082] Based on the method in the embodiment shown above, by analyzing the record entries of different user identifiers in the log information, it is possible to obtain the communication protocol deployment status of each active user within a predetermined statistical range, thereby improving the pertinence, universality and accuracy of the communication protocol deployment status statistics.

[0083] In some embodiments, considering that the database of user terminal addresses that can be processed by the server may have limitations, after the above step 351, the address of the user terminal can be compared with the address database to determine whether it is in the database, and the subsequent step 352 is only performed on the address of the user terminal in the database, thereby reducing the processing volume and improving processing efficiency.

[0084] In some embodiments, it is also possible to determine whether the address of the user terminal is within the address segment range within a predetermined statistical range after step 351, and only execute subsequent step 352 for the address of the user terminal within the corresponding address segment range, thereby further reducing the amount of data to be processed and improving the pertinence and processing efficiency of the communication protocol deployment status statistics processing process.

[0085] Schematic diagrams of some embodiments of the apparatus 400 for statistical communication protocol deployment disclosed in the present invention are as follows Figure 4 shown.

[0086] The log information acquisition unit 401 can acquire the log information generated by the user terminal by running the preset application on the server of the predetermined access target. In some embodiments, the log information can record the address of the user terminal (such as IP address), the access time of the user terminal, the user identification, and the operation performed by the user terminal to access the predetermined access target. In some embodiments, the operation performed can be to download a file, and the log information can record the identification of the file under the user terminal, such as the file name. In some embodiments, the process of the user terminal running the preset application can be as follows: Figure 2 As shown in the corresponding embodiments.

[0087] The state determination unit 402 can determine the communication protocol deployment state of the user terminal according to the log information. In some embodiments, the communication protocol deployment state may include that the deployed communication protocol is the IPv4 protocol, the deployed communication protocol is the IPv6 protocol, or that both the IPv4 protocol and the IPv6 protocol are deployed. In some embodiments, when the communication protocol deployment state is that both the IPv4 protocol and the IPv6 protocol are deployed, the communication protocol deployment state may also include that the IPv4 protocol is used first or that the IPv6 protocol is used first.

[0088] Such a device can determine the communication protocol deployment status of the corresponding user terminal by analyzing the log information generated by the access operation of the user terminal, so that the object of the communication protocol deployment status analysis can be any user terminal, which improves the universality of the communication protocol deployment status analysis and the comprehensiveness of the communication protocol deployment status statistics.

[0089] In some embodiments, Figure 4 As shown, the device also includes: an application sending unit 403, which can send a preset application to the user terminal when the user accesses the target page. In some embodiments, the preset application can be embedded in the target page, and when the user accesses the target page, the application sending unit 403 downloads the preset application to the user terminal. In some embodiments, the target page can be an operator portal website page or a third-party cooperation page. In some embodiments, the preset application can be automatically run in the browser in an asynchronous manner, and the preset application can be a script application running based on the browser, thereby reducing the space occupied by the preset application and reducing the impact on the storage space and network bandwidth occupied by the user terminal.

[0090] Such a device can provide preset applications to user terminals without users noticing and run them automatically without user triggering during the process of users accessing the network, thereby increasing the probability of operation and improving the comprehensiveness of communication protocol deployment status statistics.

[0091] In some embodiments, the apparatus 400 for statistical communication protocol deployment may further include a file providing unit 404, which is capable of providing a corresponding file according to an access request of a user terminal based on a preset application, wherein different files are obtained by accessing a predetermined access target through different addresses. For example, the file obtained by accessing a predetermined access target through an IPv4 address is a first file, and the file obtained by accessing a predetermined access target through an IPv6 address is a second file. In some embodiments, the file obtained by accessing a predetermined access target through an IPv4 and IPv6 dual stack address is a third file. The file names of the first, second, and third files are different.

[0092] In some embodiments, the apparatus 400 for counting the communication protocol deployment may further include a recording unit 405, which can obtain the address of the user terminal according to the log information, and then determine whether the address of the user terminal is a mobile communication network address. If the address of the user terminal is a mobile communication network address, the communication protocol deployment status of the user terminal is recorded. In some embodiments, if it is determined that the address of the user terminal is not an address of the mobile communication network, it can be further determined whether the address of the user terminal belongs to a predetermined range to be counted, and the communication protocol deployment status of the user terminal belonging to the predetermined range to be counted is recorded, thereby improving the pertinence, universality and accuracy of the communication protocol deployment status statistics.

[0093] A structural diagram of an embodiment of the apparatus for statistical communication protocol deployment disclosed in the present invention is as follows: Figure 5 As shown. The device for statistical communication protocol deployment includes a memory 501 and a processor 502. Wherein: the memory 501 can be a disk, a flash memory or any other non-volatile storage medium. The memory is used to store the instructions in the corresponding embodiment of the method for statistical communication protocol deployment mentioned above. The processor 502 is coupled to the memory 501 and can be implemented as one or more integrated circuits, such as a microprocessor or a microcontroller. The processor 502 is used to execute instructions stored in the memory, which can improve the universality of the communication protocol deployment status analysis and the comprehensiveness of the statistics.

[0094] In one embodiment, it is also possible to Figure 6 As shown, the device 600 deployed by the statistical communication protocol includes a memory 601 and a processor 602. The processor 602 is coupled to the memory 601 via a BUS 603. The device 600 deployed by the statistical communication protocol can also be connected to an external storage device 605 via a storage interface 604 to call external data, and can also be connected to a network or another computer system (not shown) via a network interface 606. No further detailed description will be given here.

[0095] In this embodiment, by storing data instructions in a memory and processing the instructions through a processor, the universality and statistical comprehensiveness of the communication protocol deployment status analysis can be improved.

[0096] In another embodiment, a computer-readable storage medium stores thereon computer program instructions, which, when executed by a processor, implement the steps of the method corresponding to the embodiment of the method for statistical communication protocol deployment. It should be understood by those skilled in the art that the embodiments of the present disclosure may be provided as methods, devices, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transient storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0097] Schematic diagrams of some embodiments of the system for statistical communication protocol deployment of the present disclosure are as follows Figure 7 shown.

[0098] The system for statistical communication protocol deployment includes any one of the above-mentioned devices for statistical communication protocol deployment 71, and also includes user terminals 721-72n, where n is a positive integer.

[0099] Each user terminal may execute any one of the methods mentioned above for obtaining a preset application and running the preset application.

[0100] Such a system can trigger the user terminal to obtain preset applications without being aware of them and initiate access to the target based on the communication protocol it supports. By analyzing the log information generated by the user terminal's access operation, the communication protocol deployment status of the corresponding user terminal is determined, so that the object of the communication protocol deployment status analysis can be any user terminal, which improves the universality of the communication protocol deployment status analysis and the comprehensiveness of the communication protocol deployment status statistics.

[0101] The present disclosure is described with reference to flowcharts and / or block diagrams of methods, devices (systems) and computer program products according to embodiments of the present disclosure. It should be understood that each process and / or block in the flowchart and / or block diagram and the combination of processes and / or blocks in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0102] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0103] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0104] So far, the present disclosure has been described in detail. In order to avoid obscuring the concept of the present disclosure, some details known in the art are not described. Based on the above description, those skilled in the art can fully understand how to implement the technical solution disclosed here.

[0105] The method and apparatus of the present disclosure may be implemented in many ways. For example, the method and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, and firmware. The above order of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the order specifically described above, unless otherwise specifically stated. In addition, in some embodiments, the present disclosure may also be implemented as a program recorded in a recording medium, which includes machine-readable instructions for implementing the method according to the present disclosure. Therefore, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.

[0106] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present disclosure rather than to limit it. Although the present disclosure has been described in detail with reference to the preferred embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present disclosure can still be modified or some technical features can be replaced by equivalents without departing from the spirit of the technical solution of the present disclosure, which should be included in the scope of the technical solution for protection of the present disclosure.

Claims

1. A method for statistically analyzing communication protocol deployment, comprising: Obtaining log information generated by a user terminal on a server to which a predetermined access target belongs, wherein the user terminal accesses the predetermined access target by running a preset application, and when the preset application is run, the user terminal generates multiple target domain names for the predetermined access target, and based on the communication protocol deployed by the user terminal, accesses an address supported by a communication protocol deployed in an address corresponding to the target domain name, and downloads a corresponding file in the predetermined access target, wherein different files are obtained by accessing the predetermined access target through different addresses, and the target domain name includes a domain name corresponding to an IPv4 address and a domain name corresponding to an IPv6 address; Determine the communication protocol deployment status of the user terminal according to the log information, wherein the communication protocol deployment status includes that the deployed communication protocol is the IPv4 protocol, the deployed communication protocol is the IPv6 protocol, or the deployed communication protocol is the IPv4 protocol and the IPv6 protocol; determine the communication protocol supported by the user by identifying the downloaded files in the user record entry, including: if the user record entry does not include downloading of the first file, then the communication protocol deployed by the user terminal corresponding to the user identifier is the IPv6 protocol; if the record entry does not include downloading of the second file, then the communication protocol deployed by the user terminal corresponding to the user identifier is the IPv4 protocol, the file obtained by accessing the predetermined access target through the IPv4 address is the first file, and the file obtained by accessing the predetermined access target through the IPv6 address is the second file.

2. The method according to claim 1, further comprising: When the user accesses the target page, the preset application is sent to the user terminal.

3. The method according to claim 1 or 2, wherein: The target domain name includes a user identifier.

4. The method according to claim 3, wherein: The target domain name also includes a domain name corresponding to an IPv4 and IPv6 dual stack address.

5. The method according to claim 3, wherein: The determining the communication protocol deployment status of the user terminal according to the downloaded file recorded in the log information further includes: Identify the log entries with the same user ID.

6. The method according to claim 3, wherein: The target domain name also includes a domain name corresponding to an IPv4 and IPv6 dual stack address; The determining the communication protocol deployment status of the user terminal according to the log information includes: Determining the number of record entries having the same user identifier; If the number is 2, the communication protocol deployed by the user terminal corresponding to the user identifier is the IPv4 protocol or the IPv6 protocol; If the number is 3, the communication protocols deployed by the user terminal corresponding to the user identifier are IPv4 and IPv6; The communication protocol deployment status includes that the deployed communication protocol is the IPv4 protocol, the deployed communication protocol is the IPv6 protocol, or the deployed communication protocol is the IPv4 protocol and the IPv6 protocol.

7. The method according to claim 6, wherein: The determining the communication protocol deployment status of the user terminal according to the log information further includes: In the case where the number is 2, If the record entry includes downloading the first file and downloading the third file, the communication protocol deployed by the user terminal corresponding to the user identifier is the IPv4 protocol; If the record entry includes downloading the second file and downloading the third file, the communication protocol deployed by the user terminal corresponding to the user identifier is the IPv6 protocol, The file obtained by accessing the predetermined access target through the IPv4 and IPv6 dual stack addresses is the third file.

8. The method according to claim 6 or 7, wherein: The determining the communication protocol deployment status of the user terminal according to the log information further includes: In the case where the number is 3, If the downloading time interval between the first file and the third file is less than the downloading time interval between the second file and the third file, determining that the priority of the IPv4 protocol of the user terminal is higher than the priority of the IPv6 protocol; If the downloading time interval between the first file and the third file is greater than the downloading time interval between the second file and the third file, it is determined that the priority of the IPv4 protocol of the user terminal is lower than the priority of the IPv6 protocol.

9. The method according to claim 1, further comprising: Acquire the address of the user terminal according to the log information; Determining whether the address of the user terminal is a mobile communication network address; If the address of the user terminal is the mobile communication network address, the communication protocol deployment status of the user terminal is recorded.

10. The method according to claim 9, further comprising: If the address of the user terminal is not the mobile communication network address, then Determining whether the address of the user terminal belongs to a predetermined range to be counted; If the address of the user terminal belongs to the predetermined range to be counted, the communication protocol deployment status of the user terminal is recorded.

11. The method according to claim 1, wherein: The corresponding file in the predetermined access target is a picture that occupies a space smaller than the predetermined space.

12. A device for counting communication protocol deployment, comprising: A log information acquisition unit, configured to acquire log information generated by a user terminal on a server to which a predetermined access target belongs, wherein the user terminal accesses the predetermined access target by running a preset application, and when the preset application is run, the user terminal generates multiple target domain names for the predetermined access target, and based on the communication protocol deployed by the user terminal, accesses an address supported by a communication protocol deployed in an address corresponding to the target domain name, and downloads a corresponding file in the predetermined access target, wherein different files are obtained by accessing the predetermined access target through different addresses, and the target domain name includes a domain name corresponding to an IPv4 address and a domain name corresponding to an IPv6 address; A status determination unit is configured to determine the communication protocol deployment status of the user terminal according to the log information, wherein the communication protocol deployment status includes that the deployed communication protocol is the IPv4 protocol, the deployed communication protocol is the IPv6 protocol, or the deployed communication protocol is the IPv4 protocol and the IPv6 protocol, and the communication protocol supported by the user is determined by identifying the downloaded files in the user record entry, including: if the user record entry does not include downloading of the first file, the communication protocol deployed by the user terminal corresponding to the user identifier is the IPv6 protocol; if the record entry does not include downloading of the second file, the communication protocol deployed by the user terminal corresponding to the user identifier is the IPv4 protocol, the file obtained by accessing the predetermined access target through the IPv4 address is the first file, and the file obtained by accessing the predetermined access target through the IPv6 address is the second file.

13. The apparatus according to claim 12, further comprising: The application sending unit is configured to send the preset application to the user terminal when the user visits the target page.

14. The apparatus according to claim 12, further comprising: The file providing unit is configured to provide a corresponding file according to an access request of the user terminal based on the preset application, wherein different files are obtained by accessing the predetermined access target through different addresses.

15. The apparatus according to claim 12, further comprising a recording unit configured to: Acquire the address of the user terminal according to the log information; Determining whether the address of the user terminal is a mobile communication network address; If the address of the user terminal is the mobile communication network address, the communication protocol deployment status of the user terminal is recorded.

16. A device for counting communication protocol deployment, comprising: Memory; as well as A processor coupled to the memory, the processor being configured to execute the method according to any one of claims 1 to 11 based on instructions stored in the memory.

17. A non-transitory computer-readable storage medium having computer program instructions stored thereon, which, when executed by a processor, implement the steps of the method according to any one of claims 1 to 11.

18. A system for statistically analyzing communication protocol deployment, comprising: The device for statistical communication protocol deployment according to any one of claims 12 to 16; and The user terminal is configured to obtain a preset application, generate multiple target domain names for predetermined access targets, and access the predetermined access targets using addresses corresponding to the target domain names based on the communication protocol deployed by the user terminal.

Citation Information

Patent Citations

  • IP address correction method, device and system, storage medium and electronic device

    CN112019649A