A network tracing method and device, electronic equipment and storage medium
By utilizing the collaborative work of evolved packet data gateway devices and tracing gateway devices in a VoWiFi environment to generate location query request messages, the problem of inability to trace location in a VoWiFi environment is solved, cross-operator location tracing is achieved, the accuracy of network coverage is improved, and operating costs are reduced.
Patent Information
- Application Number
- CN202211273539.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-18
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2042-10-18
AI Technical Summary
In a VoWiFi environment, it is impossible to access the cell through the base station to identify the user's location, resulting in the inability to perform effective location tracing.
By generating a location query request message for broadband access devices, leveraging the collaborative work between the evolved packet data gateway device and the tracing gateway device, query request instructions are generated based on the IP address and port number, and the user's location information is obtained through the tracing system to achieve cross-operator location tracing.
It realizes cross-operator location tracing in the VoWiFi environment, improves the accuracy and efficiency of network coverage, and reduces operating costs.
Smart Images

Figure CN115802288B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of network tracing technology, and in particular to a network tracing method, a network tracing device, an electronic device, and a computer-readable storage medium. Background Art
[0002] Providing wireless network coverage in high-density urban residential areas and marginal rural areas has always been a challenge for operators, requiring enormous manpower, material, and financial resources. Operators urgently need a low-cost wireless access method that can effectively and quickly supplement coverage.
[0003] Thanks to urban digital transformation and projects like "Village-to-Village" connectivity, wireless networks (Wi-Fi) have become ubiquitous. Whether it's personal wireless routers, access hotspots in commercial centers, or routers in rural homes, they all have extensive coverage. Furthermore, research shows that most user calls occur indoors, making indoor coverage, especially in residential areas, paramount. Compared to coverage enhancement solutions like distributed indoor systems and low-power small cells, using Wi-Fi to address voice and text message issues caused by weak coverage in urban residential areas and remote rural areas is a cost-effective and effective coverage solution. Furthermore, seamless bidirectional handoffs with mobile cellular networks ensure a smooth service experience. According to the 3GPP (3rd Generation Partnership Project) and the different mobility management protocols used, there are three primary networking options for VoWiFi (operators using Wi-Fi hotspots to provide voice services to users): trusted domain access, untrusted domain access, and direct connection to the IP Multimedia Subsystem (IMS).
[0004] However, because VoWiFi is different from high-definition video conferencing applications (VoNR) / Long Term Evolution (VoLTE), VoWiFi calls do not go through base station access (gNodeB / eNodeB), so their location cannot be identified by base stations or cells. Therefore, how to trace the location in a VoWiFi environment has become a technical problem that technicians in this field need to overcome. Summary of the Invention
[0005] The embodiments of the present invention provide a network tracing method, device, electronic device and computer-readable storage medium to solve the problem of how to perform location tracing in a VoWiFi environment.
[0006] An embodiment of the present invention discloses a network tracing method, which is applied to an evolved packet data gateway device, wherein the evolved packet data gateway device has a corresponding broadband access device, and the evolved packet data gateway device has a corresponding first tracing gateway device, a second tracing gateway device, and a tracing system, wherein the first tracing gateway device is a gateway device of a first operator, and the second tracing gateway device is a gateway device of a second operator. The method may include:
[0007] generating a location query request message for the broadband access device; the location query request message including an IP address for the broadband access device;
[0008] Send the location query request message to the first tracing gateway device; the first tracing gateway device is used to generate a query request instruction based on the location query request message when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address, and send the query request instruction to the second tracing gateway device; the second tracing gateway device is used to forward the query request instruction to the tracing system; the tracing system is used to generate a first query response information for the location query request message based on the query request instruction, and send the first query response information to the second tracing gateway device; the second tracing gateway device is used to forward the first query response information to the first tracing gateway device; the first tracing gateway device is used to generate a first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device;
[0009] The first location query reply information is received, and the first location query reply information is used to perform network tracing.
[0010] Optionally, the location query request message further includes a device port number for the broadband access device, and the step of sending the location query request message to the first tracing gateway device may include:
[0011] The IP address and the device port number are sent to the first tracing gateway device; the first tracing gateway device is used to generate a query request instruction containing the IP address and the device port number based on the IP address and the device port number when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address, and send the query request instruction to the second tracing gateway device; the second tracing gateway device is used to forward the query request instruction to the tracing system; the tracing system is used to generate a first query response information for the location query request message based on the IP address and the device port number, and send the first query response information to the second tracing gateway device; the second tracing gateway device is used to forward the first query response information to the first tracing gateway device; the first query response information includes user address information and home broadband account information; the first tracing gateway device is used to generate a first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device.
[0012] Optionally, the traceability system can be used to determine whether the query request instruction contains a contract information identifier; if so, a first query response message is generated for the location query request message; the first query response message is a query response message containing the contract information identifier; if not, a second query response message is generated for the location query request message; the second query response message can be a query response message containing an uncontracted information identifier.
[0013] Optionally, the evolved packet data gateway device may have a corresponding user device, and the first tracing gateway device is configured to generate second location query reply information for the location query request message based on the second query response information, and send the second location query reply information to the evolved packet data gateway device. The second location query reply information may include the unsigned information identifier and may also include:
[0014] When receiving the non-signed information identifier, network fault information is generated and sent to the user equipment.
[0015] An embodiment of the present invention further discloses a network tracing method, which is applied to a first tracing gateway device, wherein the first tracing gateway device has a corresponding evolved packet data gateway device, a second tracing gateway device, and a tracing system, wherein the evolved packet data gateway device has a corresponding broadband access device, the first tracing gateway device is a gateway device of a first operator, and the second tracing gateway device is a gateway device of a second operator. The evolved packet data gateway device is used to generate a location query request message for the broadband access device and send the location query request message to the first tracing gateway device, wherein the location query request message includes an IP address for the broadband access device. The method may include:
[0016] receiving the location query request message, and generating a query request instruction based on the location query request message when determining, through the IP address, that the broadband access device belongs to a broadband access device of the second operator;
[0017] The query request instruction is sent to the second traceability gateway device; the second traceability gateway device is used to forward the query request instruction to the traceability system; the traceability system is used to generate a first query response information for the location query request message based on the query request instruction, and send the first query response information to the second traceability gateway device; the second traceability gateway device is used to forward the first query response information to the first traceability gateway device;
[0018] Based on the first query response information, first location query reply information is generated for the location query request message, and the first location query reply information is sent to the evolved packet data gateway device; the evolved packet data gateway device is used to receive the first location query reply information and use the first location query reply information to perform network tracing.
[0019] An embodiment of the present invention also discloses a network tracing method, which is applied to a second tracing gateway device, wherein the second tracing gateway device has a corresponding evolved packet data gateway device, a first tracing gateway device and a tracing system, wherein the first tracing gateway device is a gateway device of the first operator, the evolved packet data gateway device has a corresponding broadband access device, and the second tracing gateway device is a gateway device of the second operator. The evolved packet data gateway device is used to generate a location query request message for the broadband access device and send the location query request message to the first tracing gateway device, wherein the location query request message includes an IP address for the broadband access device, and the first tracing gateway device is used to generate a query request instruction based on the location query request message when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address, and send the query request instruction to the second tracing gateway device. The method may include:
[0020] Receive the query request instruction and forward the query request instruction to the traceability system; the traceability system is used to generate a first query response information for the location query request message based on the query request instruction, and send the first query response information to the second traceability gateway device;
[0021] Receive the first query response information and forward the first query response information to the first tracing gateway device; the first tracing gateway device is used to generate the first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device; the evolved packet data gateway device is used to receive the first location query reply information and use the first location query reply information to perform network tracing.
[0022] An embodiment of the present invention also discloses a network tracing method, which is applied to a tracing system, wherein the tracing system has a corresponding first tracing gateway device, a second tracing gateway device and an evolved packet data gateway device, wherein the first tracing gateway device is a gateway device of the first operator, the second tracing gateway device is a gateway device of the second operator, and the evolved packet data gateway device has a corresponding broadband access device. The evolved packet data gateway device is used to generate a location query request message for the broadband access device and send the location query request message to the first tracing gateway device, wherein the location query request message includes an IP address for the broadband access device, and the first tracing gateway device is used to generate a query request instruction based on the location query request message when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address, and send the query request instruction to the second tracing gateway device, and the second tracing gateway device is used to forward the query request instruction to the tracing system. The method may include:
[0023] A first query response message is generated for the location query request message based on the query request instruction, and the first query response message is sent to the second tracing gateway device; the second tracing gateway device is used to forward the first query response message to the first tracing gateway device; the first tracing gateway device is used to generate a first location query reply message for the location query request message based on the first query response message, and send the first location query reply message to the evolved packet data gateway device; the evolved packet data gateway device is used to receive the first location query reply message, and use the first location query reply information to perform network tracing.
[0024] An embodiment of the present invention further discloses a network tracing device, which is applied to an evolved packet data gateway device. The evolved packet data gateway device has a corresponding broadband access device. The evolved packet data gateway device has a corresponding first tracing gateway device, a second tracing gateway device, and a tracing system. The first tracing gateway device is a gateway device of a first operator, and the second tracing gateway device is a gateway device of a second operator. The device may include:
[0025] A message generating module, configured to generate a location query request message for the broadband access device; the location query request message includes an IP address for the broadband access device;
[0026] A message sending module, configured to send the location query request message to the first tracing gateway device; the first tracing gateway device is configured to generate a query request instruction based on the location query request message when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address, and send the query request instruction to the second tracing gateway device; the second tracing gateway device is configured to forward the query request instruction to the tracing system; the tracing system is configured to generate a first query response information for the location query request message based on the query request instruction, and send the first query response information to the second tracing gateway device; the second tracing gateway device is configured to forward the first query response information to the first tracing gateway device; the first tracing gateway device is configured to generate a first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device;
[0027] The information receiving module is used to receive the first location query reply information and use the first location query reply information to perform network tracing.
[0028] Optionally, the location query request message further includes a device port number for the broadband access device, and the message sending module may include:
[0029] A message sending submodule, for sending the IP address and the device port number to the first tracing gateway device; the first tracing gateway device is used to generate a query request instruction containing the IP address and the device port number based on the IP address and the device port number when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address, and send the query request instruction to the second tracing gateway device; the second tracing gateway device is used to forward the query request instruction to the tracing system; the tracing system is used to generate a first query response information for the location query request message based on the IP address and the device port number, and send the first query response information to the second tracing gateway device; the second tracing gateway device is used to forward the first query response information to the first tracing gateway device; the first query response information includes user address information and home broadband account information; the first tracing gateway device is used to generate a first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device.
[0030] Optionally, the traceability system can be configured to determine whether the query request instruction contains a subscription information identifier; if yes, a first query response information for the location query request message is generated; the first query response information is a query response information containing the subscription information identifier; if no, a second query response information for the location query request message is generated; the second query response information can be a query response information containing an un-subscription information identifier.
[0031] Optionally, the evolved packet data gateway device can have a corresponding user equipment, the first traceability gateway device can be configured to generate a second location query reply information for the location query request message based on the second query response information, and send the second location query reply information to the evolved packet data gateway device; the second location query reply information can include the un-subscription information identifier, and can also include:
[0032] a fault information generation module configured to generate network fault information when the un-subscription information identifier is received, and send the network fault information to the user equipment.
[0033] The embodiment of the application also discloses a network traceability device applied to a first traceability gateway device, the first traceability gateway device having a corresponding evolved packet data gateway device, a second traceability gateway device and a traceability system, the evolved packet data gateway device having a corresponding broadband access device, the first traceability gateway device being a gateway device of a first operator, the second traceability gateway device being a gateway device of a second operator, and the evolved packet data gateway device being configured to generate a location query request message for the broadband access device and send the location query request message to the first traceability gateway device, wherein the location query request message includes an IP address of the broadband access device, and the first traceability gateway device is configured to send the location query request message to the first traceability gateway device, and the device can include:
[0034] a message receiving module configured to receive the location query request message, and generate a query request instruction based on the location query request message when it is determined that the broadband access device belongs to the broadband access device of the second operator through the IP address;
[0035] an instruction sending module configured to send the query request instruction to the second traceability gateway device; the second traceability gateway device is configured to forward the query request instruction to the traceability system; the traceability system is configured to generate a first query response information for the location query request message based on the query request instruction, and send the first query response information to the second traceability gateway device; the second traceability gateway device is configured to forward the first query response information to the first traceability gateway device;
[0036] An information generation module is used to generate first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device; the evolved packet data gateway device is used to receive the first location query reply information and use the first location query reply information to perform network tracing.
[0037] An embodiment of the present invention further discloses a network tracing device, which is applied to a second tracing gateway device, wherein the second tracing gateway device has a corresponding evolved packet data gateway device, a first tracing gateway device and a tracing system, wherein the first tracing gateway device is a gateway device of the first operator, the evolved packet data gateway device has a corresponding broadband access device, and the second tracing gateway device is a gateway device of the second operator, the evolved packet data gateway device is used to generate a location query request message for the broadband access device and send the location query request message to the first tracing gateway device, wherein the location query request message includes an IP address for the broadband access device, and the first tracing gateway device is used to generate a query request instruction based on the location query request message when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address, and send the query request instruction to the second tracing gateway device. The device may include:
[0038] An instruction receiving module is used to receive the query request instruction and forward the query request instruction to the traceability system; the traceability system is used to generate a first query response information for the location query request message based on the query request instruction, and send the first query response information to the second traceability gateway device;
[0039] An information forwarding module is used to receive the first query response information and forward the first query response information to the first tracing gateway device; the first tracing gateway device is used to generate a first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device; the evolved packet data gateway device is used to receive the first location query reply information and use the first location query reply information to perform network tracing.
[0040] An embodiment of the present invention further discloses a network tracing device, which is applied to a tracing system, wherein the tracing system has a corresponding first tracing gateway device, a second tracing gateway device and an evolved packet data gateway device, wherein the first tracing gateway device is a gateway device of the first operator, the second tracing gateway device is a gateway device of the second operator, and the evolved packet data gateway device has a corresponding broadband access device. The evolved packet data gateway device is used to generate a location query request message for the broadband access device and send the location query request message to the first tracing gateway device, wherein the location query request message includes an IP address for the broadband access device, and the first tracing gateway device is used to generate a query request instruction based on the location query request message when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address, and send the query request instruction to the second tracing gateway device, and the second tracing gateway device is used to forward the query request instruction to the tracing system. The device may include:
[0041] A response information generation module is used to generate a first query response information for the location query request message based on the query request instruction, and send the first query response information to the second tracing gateway device; the second tracing gateway device is used to forward the first query response information to the first tracing gateway device; the first tracing gateway device is used to generate a first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device; the evolved packet data gateway device is used to receive the first location query reply information, and use the first location query reply information to perform network tracing.
[0042] An embodiment of the present invention further discloses an electronic device, comprising a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other via the communication bus;
[0043] The memory is used to store computer programs;
[0044] The processor is configured to implement the method described in the embodiment of the present invention when executing the program stored in the memory.
[0045] An embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon. When executed by one or more processors, the processors are enabled to execute the method according to the embodiment of the present invention.
[0046] The embodiments of the present invention include the following advantages:
[0047] An embodiment of the present invention generates a location query request message for the broadband access device; the location query request message includes the IP address for the broadband access device; the location query request message is sent to the first tracing gateway device; the first tracing gateway device is used to generate a query request instruction based on the location query request message when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address, and send the query request instruction to the second tracing gateway device; the second tracing gateway device is used to forward the query request instruction to the tracing system; the tracing system is used to generate a first query response information for the location query request message based on the query request instruction, and send the first query response information to the second tracing gateway device; the second tracing gateway device is used to forward the first query response information to the first tracing gateway device; the first tracing gateway device is used to generate a first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device; the first location query reply information is received, and the first location query reply information is used to perform network tracing, thereby realizing cross-operator location tracing in a VoWiFi environment. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 This is a schematic diagram of the VoWiFi service architecture in the related art;
[0049] Figure 2 This is a schematic diagram of the structure of a single-operator network traceability architecture provided in an embodiment of the present invention;
[0050] Figure 3 This is a flowchart of the steps of a single-operator network tracing method provided in an embodiment of the present invention;
[0051] Figure 4 This is a flowchart of the steps of a network tracing method provided in the first embodiment of the present invention;
[0052] Figure 5 This is a schematic diagram of the structure of a cross-operator network traceability architecture provided in an embodiment of the present invention;
[0053] Figure 6 This is a flowchart of another network tracing method provided in an embodiment of the present invention;
[0054] Figure 7 This is a schematic diagram of a protocol stack structure provided in an embodiment of the present invention;
[0055] Figure 8 This is another structural diagram of a protocol stack provided in an embodiment of the present invention;
[0056] Figure 9 is a step flow chart of a network trace method provided in Embodiment Two of the present application;
[0057] Figure 10 is a step flow chart of a network trace method provided in Embodiment Three of the present application;
[0058] Figure 11 is a step flow chart of a network trace method provided in Embodiment Four of the present application;
[0059] Figure 12 is a structural block diagram of a network trace device provided in Embodiment One of the present application;
[0060] Figure 13 is a structural block diagram of a network trace device provided in Embodiment Two of the present application;
[0061] Figure 14 is a structural block diagram of a network trace device provided in Embodiment Three of the present application;
[0062] Figure 15 is a structural block diagram of a network trace device provided in Embodiment Four of the present application;
[0063] Figure 16 is a hardware structural block diagram of an electronic device provided in each embodiment of the present application. DETAILED DESCRIPTION
[0064] In order to make the above objectives, features and advantages of the present application more apparent, further detailed description will be given to the present application in combination with the drawings and specific embodiments.
[0065] Wireless network coverage for high-density urban residential areas and edge rural areas has always been a difficult problem for operators, which requires a large amount of manpower, material resources and financial resources. Operators urgently need a wireless access method that is cost-effective and can effectively and quickly supplement coverage.
[0066] Thanks to urban digital transformation and projects like "Village-to-Village" connectivity, wireless networks (Wi-Fi) have become ubiquitous. Whether it's personal wireless routers, access hotspots in commercial centers, or routers in rural homes, they all have extensive coverage. Furthermore, research shows that most user calls occur indoors, making indoor coverage, especially in residential areas, paramount. Compared to coverage enhancement solutions like distributed indoor systems and low-power small cells, using Wi-Fi to address voice and text message issues caused by weak coverage in urban residential areas and remote rural areas is a cost-effective and effective coverage solution. Furthermore, seamless bidirectional handoffs with mobile cellular networks ensure a smooth service experience. According to the 3GPP (3rd Generation Partnership Project) and the different mobility management protocols used, there are three primary networking options for VoWiFi (operators using Wi-Fi hotspots to provide voice services to users): trusted domain access, untrusted domain access, and direct connection to the IP Multimedia Subsystem (IMS).
[0067] At present, all international commercial VoWiFi operators adopt the evolved packet data gateway ePDG solution based on S2b (the interface between ePDG in non-trusted non-3GPP and 3GPP gateway PDNGW). When a user makes a VoWiFi call, the terminal accesses the core network (5GC / EPC, 5GC is the 5G core network, EPC is the 4G core network) through ePDG. Unlike VoWiFi and VoNR / VoLTE, VoWiFi calls do not go through base station access (gNodeB / eNodeB), so its location cannot be identified by base station or cell. According to the 4G and 5G intercommunication architecture defined in 3GPP TS 23.501 (System Architecture for the 5G System), the overall architecture of VoWiFi service can be referred to. Figure 1 , Figure 1 This is a schematic diagram of the VoWiFi service architecture in the related art.
[0068] Therefore, one of the important inventions of the embodiment of the present invention is how to perform location tracing in a VoWiFi environment. For the VoWiFi service of a single operator, the embodiment of the present invention can build a component tracing architecture based on the S2b basic solution. Figure 2 , Figure 2It is a structural diagram of a single-operator network traceability architecture provided in an embodiment of the present invention. The embodiment of the present invention can add an extended SWf interface on the ePDG side. The ePDG obtains the location information of the user's current home gateway from the traceability gateway through the interface, which is used to represent the user's location information. A RESTful-style API (Application Programming Interface) is added to the fixed-line AAA (Authentication, Authorization and Accounting) / traceability system, where the RESTful style can be the style of resource location and resource operation in network applications. The traceability gateway can obtain the administrative district code information and home broadband account information of the user's current home gateway from the fixed-line AAA / traceability system through the API.
[0069] This single operator network tracing process can be referenced Figure 3 , Figure 3 This is a flowchart of the steps of a single-operator network tracing method provided in an embodiment of the present invention: 1) ePDG sends a Query-Location-Request message based on the Diameter protocol to the tracing gateway, including the user's Local IP, port number, IMSI / MSISDN, etc., to query the user's location information. 2) The tracing gateway sends a Query Request message based on the HTTP / HTTPS protocol to the fixed-line AAA / tracing system, including the user's Local IP and port number. 3) The fixed-line AAA / tracing system returns a Query Response message, including the contract information identifier, user administrative area information, and home broadband account information; if the VoWiFi service is not signed, the Query Response message returned by the fixed-line AAA / tracing system includes an unsigned information identifier. 4) If the received Query Response message carries a contract information identifier, the Query-Location-Answer message returned by the tracing gateway to the ePDG contains a "Success" identifier and an Access-Network-Info AVP carrying the user's location information. If the Query Response message carries the unsigned information identifier, the Query-Location-Answer message returned by the tracing gateway contains the "DIAMETER_ERROR_POSITIONING_FAILED" identifier. The ePDG then returns "NETWORK_FAILURE" and the BACKOFF_TIMER timer in the IKE_AUTH Answer message to the UE, and the attachment process is terminated.
[0070] Example 1
[0071] Reference Figure 4 , shows a flowchart of the steps of a network tracing method provided in the first embodiment of the present invention, which may specifically include the following steps:
[0072] Step 401: Generate a location query request message for the broadband access device; the location query request message includes the IP address of the broadband access device;
[0073] Step 402: Send the location query request message to the first tracing gateway device;
[0074] Step 403: Receive the first location query reply information, and use the first location query reply information to perform network tracing.
[0075] In a specific implementation, the embodiments of the present invention can be applied to an evolved packet data gateway device ePDG. The main function of the evolved packet data gateway device ePDG is to ensure that user equipment UE for data transmission is connected to the evolved packet core network EPC through an untrusted non-3GPP access network, providing Wi-Fi users with a secure connection to the evolved packet core (EPC) network and realizing seamless mobility between long-term evolution (LTE) and Wi-Fi.
[0076] The evolved packet data gateway device can have a corresponding broadband access device, which enables user equipment (UE) to access the broadband network. For example, an optical modem, also known as a single-port optical terminal or optical modem, is a three-piece fiber optic transmission device developed for specialized user environments. This device utilizes large-scale integrated chips, features simple circuitry, low power consumption, and high reliability, and includes comprehensive alarm status indicators and comprehensive network management capabilities. Furthermore, the optical modem can provide mobile Wi-Fi hotspots, enabling mobile terminals to access the network via Wi-Fi.
[0077] The evolved packet data gateway (ePDG) device of an embodiment of the present invention may include a corresponding first tracing gateway device, a second tracing gateway device, and a tracing system. Specifically, the tracing gateway device, also known as an inter-network connector or protocol converter, is a computer system or device that provides data conversion services between multiple networks. A gateway device can be said to be a connector between different networks, a device that "negotiates" data from one network to another. The tracing gateway device can be used to trace the geographic location of the broadband access device to which the user equipment (UE) is connected.
[0078] In a specific implementation, the first traceability gateway device may be a gateway device of the first operator, and the second traceability gateway device may be a gateway device of the second operator. That is, the first traceability gateway device and the second traceability gateway device of the embodiment of the present invention may be traceability gateway devices of different operators.
[0079] In an embodiment of the present invention, an evolved packet data gateway device ePDG can generate a Query-Location-Request message containing the IP address location query request message of a broadband access device. After generating the location query request message Query-Location-Request, the evolved packet data gateway device ePDG in an embodiment of the present invention can send a location query request message Query-Location-Request to a first tracing gateway device based on the Diameter protocol, wherein the location query request message Query-Location-Request can include but is not limited to user Local IP, port number, IMSI / MSISDN and other information. The Diameter protocol can be used by the AAA working group of IETF (The Internet Engineering Task Force) as the next generation AAA protocol standard.
[0080] After receiving the location query request message Query-Location-Request, the first tracing gateway device of an embodiment of the present invention can generate a query request instruction QueryRequest based on the location query request message Query-Location-Request when determining through the IP address that the broadband access device belongs to the broadband access device of the second operator.
[0081] For example, the query request instruction Query Request may be:
[0082] GET
[0083] / NocBroadbandRestfulWs / VoWiFiService / VoWiFiPositionQuery / ip / xx.xx.xx.xx / port / xxxx
[0084] or
[0085] / NocBroadbandRestfulWs / VoWiFiService / VoWiFiPositionQuery?ip=xx.xx.xx.xx&port=xxxx
[0086] Content-Type:application / json
[0087] After generating the query request instruction Query Request, the first tracing gateway device can send the query request instruction Query Request to the second tracing gateway device based on the HTTP (Hyper Text Transfer Protocol, Hypertext Transfer Protocol) / HTTPS (Hypertext Transfer Protocol Secure, HTTP channel with security as the goal) protocol.
[0088] The second tracing gateway device of the embodiment of the present invention can forward the query request instruction Query Request to the tracing system based on the HTTP / HTTPS protocol.
[0089] Optionally, the embodiment of the present invention may use a fixed network AAA device to replace the tracing system.
[0090] In the embodiment of the present invention, the traceability system may generate first query response information Query Response for the location query request message based on the query request instruction Query Request.
[0091] Exemplarily, the first query response information Query Response may be: 200
[0093] {
[0094] "login":"xxxxxxxx",
[0095] "ip":"xx.xx.xx.xx",
[0096] "port":"xxxx",
[0097] "position":"xx",
[0098] "resCode":"0",
[0099] "resInfo":"Success!"
[0100] }
[0101] After the traceability system sends the first query response information Query Response to the second traceability gateway device, the second traceability gateway device can forward the first query response information Query Response to the first traceability gateway device.
[0102] After the second tracing gateway device sends the first query response information Query Response to the first tracing gateway device, the first tracing gateway device can generate a first location query reply information Query-Location-Answer for the location query request message based on the first query response information, and send the first location query reply information Query-Location-Answer to the evolved packet data gateway device ePDG. The evolved packet data gateway device ePDG can receive the first location query reply information and use the first location query reply information to perform network tracing, thereby determining the geographic location of the user device.
[0103] An embodiment of the present invention generates a location query request message for the broadband access device; the location query request message includes the IP address for the broadband access device; the location query request message is sent to the first tracing gateway device; the first tracing gateway device is used to generate a query request instruction based on the location query request message when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address, and send the query request instruction to the second tracing gateway device; the second tracing gateway device is used to forward the query request instruction to the tracing system; the tracing system is used to generate a first query response information for the location query request message based on the query request instruction, and send the first query response information to the second tracing gateway device; the second tracing gateway device is used to forward the first query response information to the first tracing gateway device; the first tracing gateway device is used to generate a first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device; the first location query reply information is received, and the first location query reply information is used to perform network tracing, thereby realizing cross-operator location tracing in a VoWiFi environment.
[0104] Based on the above embodiment, a modified embodiment of the above embodiment is proposed. It should be noted that, in order to simplify the description, only the differences from the above embodiment are described in the modified embodiment.
[0105] In an optional embodiment of the present invention, the evolved packet data gateway device may have a corresponding broadband access device, and the evolved packet data gateway device may have a corresponding first tracing gateway device, a second tracing gateway device, and a tracing system, wherein the first tracing gateway device is a gateway device of the first operator, and the second tracing gateway device is a gateway device of the second operator, and may further include:
[0106] By generating a location query request message for the broadband access device; the location query request message includes the IP address for the broadband access device; sending the location query request message to the first tracing gateway device; the first tracing gateway device is used to generate a query request instruction based on the location query request message when determining that the broadband access device belongs to the broadband access device of the first operator through the IP address, and send the query request instruction to the tracing system; the tracing system is used to generate a third query response information for the location query request message based on the query request instruction, and send the third query response information to the first tracing gateway device; the first tracing gateway device is used to generate a third location query reply information for the location query request message based on the third query response information, and send the third location query reply information to the evolved packet data gateway device; receiving the third location query reply information, and using the third location query reply information to perform network tracing, thereby realizing location tracing across operators in the VoWiFi environment, and also realizing location tracing for the same operator in the VoWiFi environment.
[0107] In an optional embodiment of the present invention, the location query request message further includes a device port number for the broadband access device, and the step of sending the location query request message to the first tracing gateway device includes:
[0108] The IP address and the device port number are sent to the first tracing gateway device; the first tracing gateway device is used to generate a query request instruction containing the IP address and the device port number based on the IP address and the device port number when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address, and send the query request instruction to the second tracing gateway device; the second tracing gateway device is used to forward the query request instruction to the tracing system; the tracing system is used to generate a first query response information for the location query request message based on the IP address and the device port number, and send the first query response information to the second tracing gateway device; the second tracing gateway device is used to forward the first query response information to the first tracing gateway device; the first query response information includes user address information and home broadband account information; the first tracing gateway device is used to generate a first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device.
[0109] In a specific implementation, the evolved packet data gateway device ePDG of an embodiment of the present invention can send a location query request message Query-Location-Request containing the IP address and device port number of the broadband access device to the first tracing gateway device based on the Diameter protocol. The Diameter protocol can be used by the AAA working group of IETF (The Internet Engineering Task Force) as the next generation AAA protocol standard.
[0110] After receiving the location query request message Query-Location-Request, the first tracing gateway device of an embodiment of the present invention can use a query request instruction Query Request based on the IP address and the device port number to generate a query request instruction containing the IP address and the device port number for the broadband access device when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address.
[0111] After generating the query request instruction Query Request, the first tracing gateway device can send the query request instruction Query Request containing the IP address and device port number of the broadband access device to the second tracing gateway device based on the HTTP (Hyper Text Transfer Protocol, Hypertext Transfer Protocol) / HTTPS (Hypertext Transfer Protocol Secure, HTTP channel with security as the goal) protocol.
[0112] The second tracing gateway device of the embodiment of the present invention can forward the query request instruction Query Request containing the IP address and device port number to the tracing system based on the HTTP / HTTPS protocol.
[0113] The traceability system of the embodiment of the present invention can generate a first query response message Query Response including user address information and home broadband account information for the location query request message based on the IP address and the device port number.
[0114] After the traceability system sends the first query response information Query Response to the second traceability gateway device, the second traceability gateway device can forward the first query response information Query Response to the first traceability gateway device.
[0115] After the second tracing gateway device sends the first query response information Query Response to the first tracing gateway device, the first tracing gateway device can generate a first location query reply information Query-Location-Answer for the location query request message including user address information and home broadband account information based on the first query response information, and send the first location query reply information Query-Location-Answer to the evolved packet data gateway device ePDG.
[0116] In an optional embodiment of the present invention, the traceability system is used to determine whether the query request instruction contains a contract information identifier; if so, a first query response message is generated for the location query request message; the first query response message is a query response message containing the contract information identifier; if not, a second query response message is generated for the location query request message; the second query response message is a query response message containing an uncontracted information identifier.
[0117] In the implementation application, if the user is not a contracted user, no network location tracing service may be provided to him / her. Therefore, the embodiment of the present invention can determine whether the query request instruction contains the contract information identifier Success through the tracing system.
[0118] When the traceability system determines that the query request instruction contains the contract information identifier Success, it can generate first query response information for the location query request message, wherein the first query response information can be query response information containing the contract information identifier Success.
[0119] When the traceability system determines that the query request instruction does not contain the contract information identifier Success, it can generate a second query response information for the location query request message; the second query response information is a query response information containing the non-contract information identifier. For example, if the query request instruction Query Response message carries the non-contract information identifier Success, the returned Query-Location-Answer message contains the "DIAMETER_ERROR_POSITIONING_FAILED" identifier.
[0120] Optionally, the evolved packet data gateway device has a corresponding user device, and the first tracing gateway device is used to generate second location query reply information for the location query request message based on the second query response information, and send the second location query reply information to the evolved packet data gateway device, where the second location query reply information includes the unsigned information identifier and further includes:
[0121] When receiving the non-subscription information identifier, network failure information is generated and the network failure information is sent to the user equipment.
[0122] For example, if the query request instruction Query Response received by the tracing system carries the subscription information identifier Success, the first tracing gateway device returns the Query-Location-Answer message to the ePDG, wherein the Query-Location-Answer message carries the Success identifier and the Access-Network-Info AVP carrying the user location information. If the non-subscription information identifier is carried in the Query Response message, the first tracing gateway device returns the Query-Location-Answer message to the ePDG, wherein the Query-Location-Answer message carries the DIAMETER_ERROR_POSITIONING_FAILED identifier, and then the ePDG returns the NETWORK_FAILURE and the BACKOFF_TIMER timer in the IKE_AUTH Answer message in response to the UE, and the attachment process is terminated.
[0123] In the embodiment of the present application, whether the subscription information identifier is included in the query request instruction is judged by the tracing system; if yes, the first query response information for the location query request message is generated; the first query response information is the query response information including the subscription information identifier; if no, the second query response information for the location query request message is generated; the second query response information is the query response information including the non-subscription information identifier, when the ePDG receives the non-subscription information identifier, network failure information is generated and the network failure information is sent to the user equipment, thereby avoiding providing the address tracing function to the non-subscription user, and improving the efficiency of network tracing.
[0124] In order for those skilled in the art to better understand the embodiments of the present application, the embodiments of the present application are described below with a complete example.
[0125] Reference Figure 5 , Figure 5 It is a structure schematic diagram of a cross-operator network tracing architecture provided in the embodiment of the present application, and the embodiment of the present application formulates the cross-operator VoWiFi tracing architecture based on the single-operator tracing scheme.
[0126] The specific process can be referred to Figure 6 , Figure 6This is a flowchart of the steps of another network tracing method provided in an embodiment of the present invention: 1) The local ePDG sends a Query-Location-Request message based on the Diameter protocol to the tracing gateway A, including the user's Local IP, port number, IMSI / MSISDN, etc., to query the user's location information. 2) When the local tracing gateway A determines that the broadband access device belongs to the broadband access device of the co-construction and sharing party through the Local IP, it sends a Query Request message based on the HTTP / HTTPS protocol to the tracing gateway B of the co-construction and sharing party, including the user's Local IP and port number. 3) The tracing gateway B sends a Query Request message based on the HTTP / HTTPS protocol to the fixed-line AAA / tracing system of the co-construction and sharing party, including the user's Local IP and port number. 4) The fixed-line AAA / tracing system of the co-construction and sharing party returns a Query Response message, including the contract information identifier, user administrative area information, and home broadband account information; if the VoWiFi service is not signed, the Query Response message returned by the fixed-line AAA / tracing system includes an unsigned information identifier. 5) The tracing gateway B returns a Query Response message to the tracing gateway A, which includes the contract information identifier, user administrative area information, and home broadband account information; if the VoWiFi service is not subscribed, the Query Response message returned by the fixed-line AAA / tracing system includes the non-contract information identifier. 6) If the received Query Response message carries the contract information identifier, the Query-Location-Answer message returned by the tracing gateway A to the ePDG includes the "Success" identifier and the Access-Network-InfoAVP carrying the user location information. If the Query Response message carries the non-contract information identifier, the Query-Location-Answer message returned by the tracing gateway A includes the "DIAMETER_ERROR_POSITIONING_FAILED" identifier, and then the ePDG returns "NETWORK_FAILURE" and the BACKOFF_TIMER timer in the IKE_AUTH Answer message responding to the UE, and the attachment process terminates.
[0127] refer to Figure 7 , Figure 7This is a schematic diagram of the protocol stack structure provided in an embodiment of the present invention. On the control plane, user traceability can be implemented through the SWf interface and the PI (Peripheral Interface). Location traceability information is exchanged between the ePDG and the traceability gateway via Diameter messages on the SWf interface, and the transport layer of the PI interface uses the TCP protocol.
[0128] refer to Figure 8 , Figure 8 This is another structural diagram for the protocol stack provided in an embodiment of the present invention. The traceability gateway A and the traceability gateway B communicate with each other using the HTTP / HTTPs protocol, and the transport layer uses the TCP protocol.
[0129] The traceability gateway queries the local interconnection traceability gateway through the PI interface for the user's currently connected home broadband account information, home gateway city / administrative region field, etc.
[0130] Using the above method, assuming that user A is a user of operator X, A calls the VoWiFi service through operator Y's broadband access. Based on the FQDN reported by the terminal, A queries the DNS to obtain operator X's ePDG address. Operator X's ePDG queries the location of operator X's tracing gateway. The tracing gateway determines that it is operator Y's broadband based on the address. Operator X's tracing gateway queries the location of operator Y's tracing gateway. After internal query, operator Y's tracing gateway obtains the broadband location information and feeds it back to operator X's tracing gateway. Operator X's tracing gateway feeds back the information to operator X's ePDG, thus realizing cross-operator VoWiFi user tracing for user A.
[0131] Using the above method, cross-operator docking is achieved through a single interface, which is safe and controllable, avoiding direct docking of core user data network elements across operators. In addition, the traceability accuracy is higher than VoLTE, and it also meets regulatory requirements. At the same time, the traceability process is imperceptible to users, which improves the user experience.
[0132] Example 2
[0133] Reference Figure 9 , shows a flowchart of the steps of a network tracing method provided in the second embodiment of the present invention, which may specifically include the following steps:
[0134] Step 901: receiving the location query request message, and generating a query request instruction based on the location query request message when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address;
[0135] Step 902: Send the query request instruction to the second tracing gateway device;
[0136] Step 903: Generate first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device.
[0137] In a specific implementation, an embodiment of the present invention can be applied to a first tracing gateway device, specifically, to a first tracing gateway device, wherein the first tracing gateway device has a corresponding evolved packet data gateway device, a second tracing gateway device and a tracing system, wherein the evolved packet data gateway device has a corresponding broadband access device, the first tracing gateway device is a gateway device of the first operator, and the second tracing gateway device is a gateway device of the second operator, and the evolved packet data gateway device is used to generate a location query request message for the broadband access device and send the location query request message to the first tracing gateway device, wherein the location query request message includes an IP address for the broadband access device, and the second tracing gateway device is used to forward the query request instruction to the tracing system; the tracing system is used to generate a first query response information for the location query request message based on the query request instruction, and send the first query response information to the second tracing gateway device; the second tracing gateway device is used to forward the first query response information to the first tracing gateway device; the evolved packet data gateway device is used to receive the first location query reply information and use the first location query reply information for network tracing.
[0138] As for the second embodiment, since it is basically similar to the first method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0139] Example 3
[0140] Reference Figure 10 , shows a flowchart of the steps of a network tracing method provided in the third embodiment of the present invention, which may specifically include the following steps:
[0141] Step 1001: Receive the query request instruction and forward the query request instruction to the traceability system;
[0142] Step 1002: Receive the first query response information and forward the first query response information to the first tracing gateway device.
[0143] In a specific implementation, the embodiment of the present application can be applied to a second traceability gateway device, specifically, the second traceability gateway device has a corresponding evolved packet data gateway device, a first traceability gateway device and a traceability system, the first traceability gateway device is a gateway device of a first operator, the evolved packet data gateway device has a corresponding broadband access device, the second traceability gateway device is a gateway device of a second operator, the evolved packet data gateway device is configured to generate a location query request message for the broadband access device, and send the location query request message to the first traceability gateway device, wherein the location query request message includes an IP address for the broadband access device, the first traceability gateway device is configured to generate a query request instruction based on the location query request message when it is determined through the IP address that the broadband access device belongs to the broadband access device of the second operator, and send the query request instruction to the second traceability gateway device; the traceability system is configured to generate first query response information for the location query request message based on the query request instruction, and send the first query response information to the second traceability gateway device; the first traceability gateway device is configured to generate first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device; the evolved packet data gateway device is configured to receive the first location query reply information, and perform network traceability using the first location query reply information.
[0144] For the third embodiment, it is basically similar to the first method embodiment, so the description is relatively simple, and the relevant part is described in the method embodiment.
[0145] Embodiment four
[0146] Referring to Figure 11 , a step flowchart of a network traceability method provided in the fourth embodiment of the present application is shown, which can specifically include the following steps:
[0147] Step 1101, generating first query response information for the location query request message based on the query request instruction, and sending the first query response information to the second traceability gateway device.
[0148] In a specific implementation, an embodiment of the present invention can be applied to a traceability system. Specifically, the traceability system has a corresponding first traceability gateway device, a second traceability gateway device and an evolved packet data gateway device, wherein the first traceability gateway device is a gateway device of the first operator, the second traceability gateway device is a gateway device of the second operator, and the evolved packet data gateway device has a corresponding broadband access device. The evolved packet data gateway device is used to generate a location query request message for the broadband access device and send the location query request message to the first traceability gateway device, wherein the location query request message includes an IP address for the broadband access device, and the first traceability gateway device is used to determine the location of the broadband access device through the IP address. When the broadband access device belongs to the second operator, a query request instruction is generated based on the location query request message, and the query request instruction is sent to the second tracing gateway device, the second tracing gateway device is used to forward the query request instruction to the tracing system, and the second tracing gateway device is used to forward the first query response information to the first tracing gateway device; the first tracing gateway device is used to generate a first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device; the evolved packet data gateway device is used to receive the first location query reply information, and use the first location query reply information for network tracing.
[0149] As for the fourth embodiment, since it is basically similar to the first method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0150] It should be noted that for the sake of simplicity, the method embodiments are described as a series of actions. However, those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in this specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0151] Reference Figure 12 , shows a structural block diagram of a network tracing device provided in the first embodiment of the present invention, which may specifically include the following modules:
[0152] The message generating module 1201 is configured to generate a location query request message for the broadband access device; the location query request message includes an IP address for the broadband access device;
[0153] The message sending module 1202 is used to send the location query request message to the first tracing gateway device; the first tracing gateway device is used to generate a query request instruction based on the location query request message when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address, and send the query request instruction to the second tracing gateway device; the second tracing gateway device is used to forward the query request instruction to the tracing system; the tracing system is used to generate a first query response information for the location query request message based on the query request instruction, and send the first query response information to the second tracing gateway device; the second tracing gateway device is used to forward the first query response information to the first tracing gateway device; the first tracing gateway device is used to generate a first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device;
[0154] The information receiving module 1203 is configured to receive the first location query reply information and use the first location query reply information to perform network tracing.
[0155] Optionally, the location query request message further includes a device port number for the broadband access device, and the message sending module may include:
[0156] A message sending submodule, for sending the IP address and the device port number to the first tracing gateway device; the first tracing gateway device is used to generate a query request instruction containing the IP address and the device port number based on the IP address and the device port number when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address, and send the query request instruction to the second tracing gateway device; the second tracing gateway device is used to forward the query request instruction to the tracing system; the tracing system is used to generate a first query response information for the location query request message based on the IP address and the device port number, and send the first query response information to the second tracing gateway device; the second tracing gateway device is used to forward the first query response information to the first tracing gateway device; the first query response information includes user address information and home broadband account information; the first tracing gateway device is used to generate a first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device.
[0157] Optionally, the traceability system can be used to determine whether the query request instruction contains a contract information identifier; if so, a first query response message is generated for the location query request message; the first query response message is a query response message containing the contract information identifier; if not, a second query response message is generated for the location query request message; the second query response message can be a query response message containing an uncontracted information identifier.
[0158] Optionally, the evolved packet data gateway device may have a corresponding user device, and the first tracing gateway device may be used to generate second location query reply information for the location query request message based on the second query response information, and send the second location query reply information to the evolved packet data gateway device. The second location query reply information may include the unsigned information identifier and may also include:
[0159] The fault information generating module is used to generate network fault information when receiving the non-signed information identifier, and send the network fault information to the user equipment.
[0160] Reference Figure 13 , shows a structural block diagram of a network tracing device provided in the second embodiment of the present invention, which may specifically include the following modules:
[0161] The message receiving module 1301 is configured to receive the location query request message and, when determining through the IP address that the broadband access device belongs to the broadband access device of the second operator, generate a query request instruction based on the location query request message;
[0162] The instruction sending module 1302 is used to send the query request instruction to the second tracing gateway device; the second tracing gateway device is used to forward the query request instruction to the tracing system; the tracing system is used to generate a first query response information for the location query request message based on the query request instruction, and send the first query response information to the second tracing gateway device; the second tracing gateway device is used to forward the first query response information to the first tracing gateway device;
[0163] The information generation module 1303 is used to generate first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device; the evolved packet data gateway device is used to receive the first location query reply information and use the first location query reply information to perform network tracing.
[0164] Reference Figure 14, shows a structural block diagram of a network tracing device provided in Embodiment 3 of the present invention, which may specifically include the following modules:
[0165] The instruction receiving module 1401 is used to receive the query request instruction and forward the query request instruction to the traceability system; the traceability system is used to generate a first query response information for the location query request message based on the query request instruction, and send the first query response information to the second traceability gateway device;
[0166] The information forwarding module 1402 is used to receive the first query response information and forward the first query response information to the first tracing gateway device; the first tracing gateway device is used to generate the first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device; the evolved packet data gateway device is used to receive the first location query reply information and use the first location query reply information to perform network tracing.
[0167] Reference Figure 15 , shows a structural block diagram of a network tracing device provided in the fourth embodiment of the present invention, which may specifically include the following modules:
[0168] The response information generation module 1501 is used to generate a first query response information for the location query request message based on the query request instruction, and send the first query response information to the second tracing gateway device; the second tracing gateway device is used to forward the first query response information to the first tracing gateway device; the first tracing gateway device is used to generate a first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device; the evolved packet data gateway device is used to receive the first location query reply information, and use the first location query reply information to perform network tracing.
[0169] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0170] In addition, an embodiment of the present invention also provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and runnable on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned network tracing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0171] The embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the various processes of the above-mentioned network tracing method embodiment are implemented, and the same technical effects are achieved. To avoid repetition, the details are not described here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0172] Figure 16 A schematic diagram of the hardware structure of an electronic device for implementing various embodiments of the present invention.
[0173] The electronic device 1600 includes but is not limited to: a radio frequency unit 1601, a network module 1602, an audio output unit 1603, an input unit 1604, a sensor 1605, a display unit 1606, a user input unit 1607, an interface unit 1608, a memory 1609, a processor 1610, and a power supply 1611. It will be understood by those skilled in the art that Figure 16 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or may combine certain components or arrange the components differently. In the embodiments of the present invention, the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle terminal, a wearable device, and a pedometer.
[0174] It should be understood that in this embodiment of the present invention, RF unit 1601 can be used to receive and transmit signals during information transmission or calls. Specifically, it receives downlink data from the base station and transmits it to processor 1610 for processing; in addition, it transmits uplink data to the base station. Generally, RF unit 1601 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier, a duplexer, and the like. Furthermore, RF unit 1601 can communicate with the network and other devices via a wireless communication system.
[0175] The electronic device provides users with wireless broadband Internet access through the network module 1602, such as helping users to send and receive emails, browse web pages, and access streaming media.
[0176] The audio output unit 1603 can convert audio data received by the RF unit 1601 or the network module 1602 or stored in the memory 1609 into an audio signal and output it as sound. In addition, the audio output unit 1603 can also provide audio output related to a specific function performed by the electronic device 1600 (for example, a call signal reception sound, a message reception sound, etc.). The audio output unit 1603 includes a speaker, a buzzer, a receiver, etc.
[0177] The input unit 1604 is used to receive audio or video signals. The input unit 1604 may include a graphics processing unit (GPU) 16041 and a microphone 16042. The graphics processor 16041 processes image data of still pictures or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The processed image frames can be displayed on the display unit 1606. The image frames processed by the graphics processor 16041 can be stored in the memory 1609 (or other storage medium) or transmitted via the radio frequency unit 1601 or the network module 1602. The microphone 16042 can receive sound and process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 1601 in the case of a telephone call mode.
[0178] The electronic device 1600 also includes at least one sensor 1605, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor, wherein the ambient light sensor can adjust the brightness of the display panel 16061 according to the brightness of the ambient light, and the proximity sensor can turn off the display panel 16061 and / or the backlight when the electronic device 1600 is moved to the ear. As a type of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (generally three axes), and can detect the magnitude and direction of gravity when stationary. It can be used to identify the posture of the electronic device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, tapping), etc.; the sensor 1605 can also include a fingerprint sensor, a pressure sensor, an iris sensor, a molecular sensor, a gyroscope, a barometer, a hygrometer, a thermometer, an infrared sensor, etc., which will not be repeated here.
[0179] The display unit 1606 is configured to display information input by a user or information provided to the user. The display unit 1606 can include a display panel 16061, which can be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
[0180] The user input unit 1607 can be configured to receive inputted digital or character information, and to generate key signal inputs related to user settings and function control of the electronic device. Specifically, the user input unit 1607 includes a touch panel 16071 and other input devices 16072. The touch panel 16071, also referred to as a touch screen, can collect touch operations (such as operations of a user using a finger, a stylus, or any suitable object or accessory on or near the touch panel 16071) of the user on or near the touch panel 16071. The touch panel 16071 can include two parts, a touch detection device and a touch controller. The touch detection device detects the touch position of the user and detects signals caused by the touch operation, and transmits the signals to the touch controller. The touch controller receives the touch information from the touch detection device, converts it into touch coordinates, and sends it to the processor 1610, receives commands from the processor 1610 and executes them. In addition, the touch panel 16071 can be implemented in various types such as a resistive type, a capacitive type, an infrared type, and a surface acoustic wave type. In addition to the touch panel 16071, the user input unit 1607 can include other input devices 16072. Specifically, the other input devices 16072 can include, but are not limited to, a physical keyboard, function keys (such as volume control keys, on / off keys, etc.), trackballs, mice, joysticks, and the like, which will not be described here.
[0181] Further, the touch panel 16071 can be overlaid on the display panel 16061, and when the touch panel 16071 detects a touch operation on or near it, it transmits to the processor 1610 to determine the type of touch event, and then the processor 1610 provides corresponding visual output on the display panel 16061 according to the type of touch event. Although in the above embodiment, the touch panel 16071 and the display panel 16061 are implemented as two independent components to realize the input and output functions of the electronic device, in some embodiments, the touch panel 16071 and the display panel 16061 can be integrated to realize the input and output functions of the electronic device, which is not limited here. Figure 16
[0182] The interface unit 1608 is an interface for connecting external devices to the electronic device 1600. For example, the external devices may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input / output (I / O) port, a video I / O port, a headphone port, etc. The interface unit 1608 may be used to receive input (e.g., data information, power, etc.) from the external device and transmit the received input to one or more elements within the electronic device 1600, or may be used to transmit data between the electronic device 1600 and the external device.
[0183] Memory 1609 can be used to store software programs and various data. Memory 1609 may primarily include a program storage area and a data storage area. The program storage area may store an operating system and at least one application required for a function (such as a sound playback function or an image playback function); the data storage area may store data generated based on the use of the phone (such as audio data, a phone book, etc.). Furthermore, memory 1609 may include high-speed random access memory and non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0184] Processor 1610 is the control center of the electronic device, connecting the various components of the entire electronic device using various interfaces and lines. By running or executing software programs and / or modules stored in memory 1609 and accessing data stored in memory 1609, it performs various functions of the electronic device and processes data, thereby monitoring the entire electronic device. Processor 1610 may include one or more processing units; preferably, processor 1610 may integrate an application processor and a modem processor, wherein the application processor primarily processes the operating system, user interface, and application programs, while the modem processor primarily handles wireless communications. It is understood that the modem processor may not be integrated into processor 1610.
[0185] The electronic device 1600 may also include a power supply 1611 (such as a battery) to supply power to each component. Preferably, the power supply 1611 may be logically connected to the processor 1610 through a power management system, thereby enabling the power management system to manage functions such as charging, discharging, and power consumption.
[0186] In addition, the electronic device 1600 includes some functional modules not shown, which will not be described here.
[0187] It should be noted that, in this document, the terms "comprises," "includes," or any other variations thereof are intended to encompass non-exclusive inclusion, such that a process, method, article, or apparatus comprising a series of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or apparatus comprising the element.
[0188] Through the description of the above embodiments, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better embodiment. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present invention.
[0189] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are protected by the present invention.
[0190] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.
[0191] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0192] In the embodiments provided in this application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0193] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0194] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0195] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes various media that can store program code, such as a USB flash drive, a mobile hard drive, ROM, RAM, a magnetic disk, or an optical disk.
[0196] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.
Claims
1. A network tracing method, characterized in that: Applied to an evolved packet data gateway device, the evolved packet data gateway device has a corresponding broadband access device, the evolved packet data gateway device has a corresponding first tracing gateway device, a second tracing gateway device and a tracing system, wherein the first tracing gateway device is a gateway device of a first operator, and the second tracing gateway device is a gateway device of a second operator, and the method includes: generating a location query request message for the broadband access device; the location query request message including an IP address for the broadband access device; Send the location query request message to the first tracing gateway device; the first tracing gateway device is used to generate a query request instruction based on the location query request message when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address, and send the query request instruction to the second tracing gateway device; the second tracing gateway device is used to forward the query request instruction to the tracing system; the tracing system is used to generate a first query response information for the location query request message based on the query request instruction, and send the first query response information to the second tracing gateway device; the second tracing gateway device is used to forward the first query response information to the first tracing gateway device; the first tracing gateway device is used to generate a first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device; The first location query reply information is received, and the first location query reply information is used to perform network tracing.
2. The method according to claim 1, characterized in that The location query request message further includes a device port number for the broadband access device, and the step of sending the location query request message to the first tracing gateway device includes: The IP address and the device port number are sent to the first tracing gateway device; the first tracing gateway device is used to generate a query request instruction containing the IP address and the device port number based on the IP address and the device port number when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address, and send the query request instruction to the second tracing gateway device; the second tracing gateway device is used to forward the query request instruction to the tracing system; the tracing system is used to generate a first query response information for the location query request message based on the IP address and the device port number, and send the first query response information to the second tracing gateway device; the second tracing gateway device is used to forward the first query response information to the first tracing gateway device; the first query response information includes user address information and home broadband account information; the first tracing gateway device is used to generate a first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device.
3. The method according to claim 1 or 2, characterized in that The traceability system is used to determine whether the query request instruction contains a contract information identifier; if so, a first query response message is generated for the location query request message; the first query response message is a query response message containing the contract information identifier; if not, a second query response message is generated for the location query request message; the second query response message is a query response message containing an uncontracted information identifier.
4. The method according to claim 3, characterized in that The evolved packet data gateway device has a corresponding user equipment, and the first tracing gateway device is configured to generate second location query reply information for the location query request message based on the second query response information, and send the second location query reply information to the evolved packet data gateway device, where the second location query reply information includes the unsubscribed information identifier and further includes: When receiving the non-signed information identifier, network fault information is generated and sent to the user equipment.
5. A network tracing method, characterized in that: Applied to a first tracing gateway device, the first tracing gateway device has a corresponding evolved packet data gateway device, a second tracing gateway device and a tracing system, the evolved packet data gateway device has a corresponding broadband access device, the first tracing gateway device is a gateway device of a first operator, the second tracing gateway device is a gateway device of a second operator, the evolved packet data gateway device is used to generate a location query request message for the broadband access device and send the location query request message to the first tracing gateway device, wherein the location query request message includes an IP address for the broadband access device, and the method includes: receiving the location query request message, and generating a query request instruction based on the location query request message when determining, through the IP address, that the broadband access device belongs to a broadband access device of the second operator; The query request instruction is sent to the second traceability gateway device; the second traceability gateway device is used to forward the query request instruction to the traceability system; the traceability system is used to generate a first query response information for the location query request message based on the query request instruction, and send the first query response information to the second traceability gateway device; the second traceability gateway device is used to forward the first query response information to the first traceability gateway device; Based on the first query response information, first location query reply information is generated for the location query request message, and the first location query reply information is sent to the evolved packet data gateway device; the evolved packet data gateway device is used to receive the first location query reply information and use the first location query reply information to perform network tracing.
6. A network tracing method, characterized in that: Applied to a second tracing gateway device, the second tracing gateway device has a corresponding evolved packet data gateway device, a first tracing gateway device and a tracing system, the first tracing gateway device is a gateway device of the first operator, the evolved packet data gateway device has a corresponding broadband access device, the second tracing gateway device is a gateway device of the second operator, the evolved packet data gateway device is used to generate a location query request message for the broadband access device, and send the location query request message to the first tracing gateway device, wherein the location query request message includes an IP address for the broadband access device, the first tracing gateway device is used to generate a query request instruction based on the location query request message when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address, and send the query request instruction to the second tracing gateway device, the method includes: Receive the query request instruction and forward the query request instruction to the traceability system; the traceability system is used to generate a first query response information for the location query request message based on the query request instruction, and send the first query response information to the second traceability gateway device; Receive the first query response information and forward the first query response information to the first tracing gateway device; the first tracing gateway device is used to generate the first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device; the evolved packet data gateway device is used to receive the first location query reply information and use the first location query reply information to perform network tracing.
7. A network tracing method, characterized in that: Applied to a traceability system, the traceability system has a corresponding first traceability gateway device, a second traceability gateway device and an evolved packet data gateway device, wherein the first traceability gateway device is a gateway device of the first operator, the second traceability gateway device is a gateway device of the second operator, the evolved packet data gateway device has a corresponding broadband access device, the evolved packet data gateway device is used to generate a location query request message for the broadband access device, and send the location query request message to the first traceability gateway device, wherein the location query request message includes an IP address for the broadband access device, the first traceability gateway device is used to generate a query request instruction based on the location query request message when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address, and send the query request instruction to the second traceability gateway device, the second traceability gateway device is used to forward the query request instruction to the traceability system, the method includes: A first query response message is generated for the location query request message based on the query request instruction, and the first query response message is sent to the second tracing gateway device; the second tracing gateway device is used to forward the first query response message to the first tracing gateway device; the first tracing gateway device is used to generate a first location query reply message for the location query request message based on the first query response message, and send the first location query reply message to the evolved packet data gateway device; the evolved packet data gateway device is used to receive the first location query reply message, and use the first location query reply information to perform network tracing.
8. A network tracing device, characterized in that: Applied to an evolved packet data gateway device, the evolved packet data gateway device has a corresponding broadband access device, the evolved packet data gateway device has a corresponding first tracing gateway device, a second tracing gateway device and a tracing system, wherein the first tracing gateway device is a gateway device of the first operator, and the second tracing gateway device is a gateway device of the second operator, and the device includes: A message generating module, configured to generate a location query request message for the broadband access device; the location query request message includes an IP address for the broadband access device; A message sending module, configured to send the location query request message to the first tracing gateway device; the first tracing gateway device is configured to generate a query request instruction based on the location query request message when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address, and send the query request instruction to the second tracing gateway device; the second tracing gateway device is configured to forward the query request instruction to the tracing system; the tracing system is configured to generate a first query response information for the location query request message based on the query request instruction, and send the first query response information to the second tracing gateway device; the second tracing gateway device is configured to forward the first query response information to the first tracing gateway device; the first tracing gateway device is configured to generate a first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device; The information receiving module is used to receive the first location query reply information and use the first location query reply information to perform network tracing.
9. The device according to claim 8, characterized in that The location query request message also includes a device port number for the broadband access device, and the message sending module includes: A message sending submodule, for sending the IP address and the device port number to the first tracing gateway device; the first tracing gateway device is used to generate a query request instruction containing the IP address and the device port number based on the IP address and the device port number when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address, and send the query request instruction to the second tracing gateway device; the second tracing gateway device is used to forward the query request instruction to the tracing system; the tracing system is used to generate a first query response information for the location query request message based on the IP address and the device port number, and send the first query response information to the second tracing gateway device; the second tracing gateway device is used to forward the first query response information to the first tracing gateway device; the first query response information includes user address information and home broadband account information; the first tracing gateway device is used to generate a first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device.
10. The device according to claim 8 or 9, characterized in that The traceability system is used to determine whether the query request instruction contains a contract information identifier; if so, a first query response message is generated for the location query request message; the first query response message is a query response message containing the contract information identifier; if not, a second query response message is generated for the location query request message; the second query response message is a query response message containing an uncontracted information identifier.
11. The device according to claim 10, characterized in that The evolved packet data gateway device has a corresponding user equipment, and the first tracing gateway device is configured to generate second location query reply information for the location query request message based on the second query response information, and send the second location query reply information to the evolved packet data gateway device, where the second location query reply information includes the unsubscribed information identifier and further includes: The fault information generating module is used to generate network fault information when receiving the non-signed information identifier, and send the network fault information to the user equipment.
12. A network tracing device, characterized in that: Applied to a first tracing gateway device, the first tracing gateway device has a corresponding evolved packet data gateway device, a second tracing gateway device and a tracing system, the evolved packet data gateway device has a corresponding broadband access device, the first tracing gateway device is a gateway device of a first operator, the second tracing gateway device is a gateway device of a second operator, the evolved packet data gateway device is used to generate a location query request message for the broadband access device and send the location query request message to the first tracing gateway device, wherein the location query request message includes an IP address for the broadband access device, and the device includes: a message receiving module, configured to receive the location query request message and, when determining through the IP address that the broadband access device belongs to a broadband access device of the second operator, generate a query request instruction based on the location query request message; An instruction sending module is used to send the query request instruction to the second tracing gateway device; the second tracing gateway device is used to forward the query request instruction to the tracing system; the tracing system is used to generate a first query response information for the location query request message based on the query request instruction, and send the first query response information to the second tracing gateway device; the second tracing gateway device is used to forward the first query response information to the first tracing gateway device; An information generation module is used to generate first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device; the evolved packet data gateway device is used to receive the first location query reply information and use the first location query reply information to perform network tracing.
13. A network tracing device, characterized in that: Applied to a second tracing gateway device, the second tracing gateway device has a corresponding evolved packet data gateway device, a first tracing gateway device and a tracing system, the first tracing gateway device is a gateway device of the first operator, the evolved packet data gateway device has a corresponding broadband access device, the second tracing gateway device is a gateway device of the second operator, the evolved packet data gateway device is used to generate a location query request message for the broadband access device, and send the location query request message to the first tracing gateway device, wherein the location query request message includes an IP address for the broadband access device, the first tracing gateway device is used to generate a query request instruction based on the location query request message when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address, and send the query request instruction to the second tracing gateway device, the device includes: An instruction receiving module is used to receive the query request instruction and forward the query request instruction to the traceability system; the traceability system is used to generate a first query response information for the location query request message based on the query request instruction, and send the first query response information to the second traceability gateway device; An information forwarding module is used to receive the first query response information and forward the first query response information to the first tracing gateway device; the first tracing gateway device is used to generate a first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device; the evolved packet data gateway device is used to receive the first location query reply information and use the first location query reply information to perform network tracing.
14. A network tracing device, characterized in that: Applied to a traceability system, the traceability system has a corresponding first traceability gateway device, a second traceability gateway device and an evolved packet data gateway device, wherein the first traceability gateway device is a gateway device of the first operator, the second traceability gateway device is a gateway device of the second operator, the evolved packet data gateway device has a corresponding broadband access device, the evolved packet data gateway device is used to generate a location query request message for the broadband access device, and send the location query request message to the first traceability gateway device, wherein the location query request message includes an IP address for the broadband access device, the first traceability gateway device is used to generate a query request instruction based on the location query request message when determining that the broadband access device belongs to the broadband access device of the second operator through the IP address, and send the query request instruction to the second traceability gateway device, the second traceability gateway device is used to forward the query request instruction to the traceability system, the device includes: A response information generation module is used to generate a first query response information for the location query request message based on the query request instruction, and send the first query response information to the second tracing gateway device; the second tracing gateway device is used to forward the first query response information to the first tracing gateway device; the first tracing gateway device is used to generate a first location query reply information for the location query request message based on the first query response information, and send the first location query reply information to the evolved packet data gateway device; the evolved packet data gateway device is used to receive the first location query reply information, and use the first location query reply information to perform network tracing.
15. An electronic device, characterized in that: comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; The memory is used to store computer programs; The processor is configured to implement the method according to any one of claims 1 to 4, 5, 6 or 7 when executing the program stored in the memory.
16. A computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 4, 5, 6 or 7.
Citation Information
Patent Citations
IP (internet protocol) address source tracing method, equipment and system based on mobile terminal
CN102790812A
Method for obtaining location of terminal in WiFi network, terminal, LTE communication device and system
CN106470397A