Terminal position determination method and system, electronic device and storage medium
By acquiring and interacting with the visited base stations and system information of the terminal, and utilizing the inter-provincial interconnection center and multiple protocol standards, the problem of determining the location of the terminal when roaming outside or within the province was solved, achieving accurate terminal location determination and functional support.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- HARBIN HYTERA TECH CORP
- Filing Date
- 2022-12-26
- Publication Date
- 2026-05-08
AI Technical Summary
In existing technologies, terminals cannot accurately determine their location when roaming outside or within a province, resulting in the inability to effectively achieve visual monitoring and visual dispatching functions.
By acquiring the visited base station information and visited system information of the terminal and sending them in the registration request to the visited provincial gateway or home system, information exchange is carried out using the inter-provincial interconnection center. The home system parses this information according to various protocol standards to determine the location of the terminal.
It achieves accurate positioning when the terminal roams across provinces or within a province, ensuring the effectiveness of visual monitoring and visual dispatch functions.
Smart Images

Figure CN116095599B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of wireless communication technology, and in particular to a method, system, electronic device, and storage medium for determining the location of a terminal. Background Technology
[0002] Police Digital Trunking (PDT) systems have been largely deployed nationwide. PDT systems deployed at the prefecture-level city level are networked nationwide according to the "GA / T 1364-2017 Technical Specification for Interconnection of Police Digital Trunking (PDT) Communication Systems". PDT systems in different prefecture-level cities within the same province can directly interconnect, but cannot directly interconnect with PDT systems in other provinces. To solve the problem of inter-provincial interconnection between PDT systems in different provinces, an Inter-province Connection Center (ICC) is needed.
[0003] PDT systems typically require accurate location management of their home terminals to support functions such as visual surveillance and visual dispatch. To ensure the accuracy of terminal location information, it is usually necessary to obtain and comprehensively assess both the terminal's registered location information and its geographic location information. The registered location information includes visited base station information, visited system information, and visited provincial gateway information, while the geographic location information includes BeiDou / Global Positioning System (GPS) location information.
[0004] In existing technologies, when a terminal roams within its home province, the home system can obtain the terminal's visited system information and geographical location information, but cannot obtain the visited base station information. When a terminal roams across provinces, the home system can obtain the terminal's geographical location information, but cannot obtain visited base station information, visited system information, or visited provincial gateway information. Therefore, in existing technologies, when a terminal is roaming outside or within a province, its location cannot be accurately determined, and functions such as visual monitoring and visual dispatching of the terminal cannot be effectively implemented. Summary of the Invention
[0005] This application provides a method, system, electronic device, and storage medium for determining the location of a terminal, in order to solve the problem in the prior art that when a terminal is roaming outside or within a province, it is impossible to accurately determine the location of the terminal, and thus impossible to effectively achieve functions such as visual monitoring and visual scheduling of the terminal.
[0006] In a first aspect, embodiments of this application also provide a method for determining the location of a terminal, applied to a visitor system, the method comprising:
[0007] When a terminal initiates cross-provincial roaming registration, the visited base station information of the terminal is obtained, and the visited base station information and visited system information are sent to the visited provincial gateway in the registration request. The visited provincial gateway then sends the registration request carrying the visited base station information, the visited system information, the visited provincial gateway information, and the home provincial gateway information to the home system through the home provincial gateway. The home system then determines the location of the terminal based on the visited base station information, the visited system information, the visited provincial gateway information, and the home provincial gateway information.
[0008] When a terminal initiates intra-provincial roaming registration, the visited base station information of the terminal is obtained, and the visited base station information and the visited system information are sent to the home system in the registration request, so that the home system can determine the location of the terminal based on the visited base station information and the visited system information;
[0009] Wherein, the visited base station information is used to characterize the relevant information of the visited base station of the terminal, the visited system information is used to characterize the relevant information of the visited system, the visited province gateway information is used to characterize the relevant information of the visited province gateway, the home province gateway information is used to characterize the relevant information of the home province gateway, the visited province gateway is the inter-provincial interconnection center of the province where the visited system is located, and the home province gateway is the inter-provincial interconnection center of the province where the home system is located.
[0010] Optionally, sending the visited base station information and visited system information in the registration request to the visited province gateway includes:
[0011] Both the visited base station information and the visited system information are included as fields in the MAP protocol extension and sent to the visited provincial gateway in the registration request. The visited base station information includes at least one of the visited base station's name, the visited base station's domain name, and the visited base station's location information. The visited system information includes at least one of the visited system's name, the visited system's domain name, and the name of the city where the visited system is located; or,
[0012] The visited base station information is included in the registration request as a field of the MAP protocol extension, and the visited system information is included in the registration request as a field of the original Via field in the pSIP protocol, and both are sent to the visited province gateway. The visited base station information includes at least one of the visited base station's name, the visited base station's domain name, and the visited base station's location information; the visited system information includes at least one of the visited system's domain name and IP address; or,
[0013] The visited system information is carried in the registration request as an existing Via field in the pSIP protocol, and the visited base station information is carried in the registration request as a newly added Via field in the pSIP protocol, and sent to the visited province gateway. The visited base station information includes at least one of the domain name and IP address of the visited base station, and the visited system information includes at least one of the domain name and IP address of the visited system.
[0014] Optionally, sending the visited base station information and the visited system information in the registration request to the home system includes:
[0015] The visited base station information is included in the registration request as a field of the MAP protocol extension, and the visited system information is included in the registration request as the original Via field in the pSIP protocol, and sent to the home system. The visited base station information includes at least one of the visited base station's name, the visited base station's domain name, and the visited base station's location information; the visited system information includes at least one of the visited system's domain name and IP address; or,
[0016] The visited system information is carried in the registration request as an existing Via field in the pSIP protocol, and the visited base station information is carried in the registration request through a newly added Via field in the pSIP protocol, and sent to the home system. The visited base station information includes at least one of the domain name and IP address of the visited base station, and the visited system information includes at least one of the domain name and IP address of the visited system.
[0017] Optionally, the method further includes:
[0018] Upon receiving a location information query request from the visited province gateway, the visited base station information and the visited system information are sent to the visited province gateway in a response message. This allows the visited province gateway to send a response message containing the visited base station information, the visited system information, the visited province gateway information, and the home province gateway information to the home system via the home province gateway. This enables the home system to determine the location of the terminal based on the visited base station information, the visited system information, the visited province gateway information, and the home province gateway information.
[0019] Upon receiving a location information query request from the home system, the visited base station information and the visited system information are included in a response message and sent to the home system, so that the home system can determine the location of the terminal based on the visited base station information and the visited system information.
[0020] Secondly, embodiments of this application also provide a method for determining the location of a terminal, applied to a home system, the method comprising:
[0021] Upon receiving a registration request from the home province gateway, the visited base station information, visited system information, visited province gateway information, and home province gateway information carried in the registration request are parsed. Based on the visited base station information, visited system information, visited province gateway information, and home province gateway information, the location of the terminal is determined. The registration request is generated when the terminal initiates cross-provincial roaming registration. Each time the registration request passes through a routing node, the information of that routing node is filled in and sent to the next routing node.
[0022] Upon receiving a registration request from the visiting system, the visited base station information and the visiting system information are parsed to obtain the information. Based on the visited base station information and the visiting system information, the location of the terminal is determined. The registration request is generated when the terminal initiates intra-provincial roaming registration.
[0023] Wherein, the visited base station information is used to characterize the relevant information of the visited base station of the terminal, the visited system information is used to characterize the relevant information of the visited system, the visited province gateway information is used to characterize the relevant information of the visited province gateway, the home province gateway information is used to characterize the relevant information of the home province gateway, the visited province gateway is the inter-provincial interconnection center of the province where the visited system is located, and the home province gateway is the inter-provincial interconnection center of the province where the home system is located.
[0024] Optionally, the parsing process obtains the visited base station information, visited system information, visited provincial gateway information, and home provincial gateway information carried in the registration request, including:
[0025] Parsing the MAP protocol extension fields in the registration request yields the visited base station information, the visited system information, the visited province gateway information, and the home province gateway information. The visited base station information includes at least one of the visited base station's name, the visited base station's domain name, and the visited base station's location information. The visited system information includes at least one of the visited system's name, the visited system's domain name, and the name of the city where the visited system is located. The visited province gateway information includes at least one of the visited province gateway's name and the visited province gateway's domain name. The home province gateway information includes at least one of the home province gateway's name and the home province gateway's domain name; or...
[0026] Parsing the MAP protocol extension fields in the registration request yields the visited base station information, the visited system information, and the visited province gateway information. Parsing the original Via field in the pSIP protocol in the registration request yields the home province gateway information. The visited base station information includes at least one of the visited base station name, the visited base station domain name, and the visited base station location information. The visited system information includes at least one of the visited system name, the visited system domain name, and the name of the city where the visited system is located. The visited province gateway information includes at least one of the visited province gateway name and the visited province gateway domain name. The home province gateway information includes at least one of the home province gateway domain name and IP address. Alternatively,
[0027] The original Via field in the pSIP protocol of the registration request is parsed to obtain the home province gateway information. The newly added Via field in the pSIP protocol of the registration request is also parsed to obtain the visited base station information, the visited system information, and the visited province gateway information. The visited base station information includes at least one of the domain name and IP address of the visited base station. The visited system information includes at least one of the domain name and IP address of the visited system. The visited province gateway information includes at least one of the domain name and IP address of the visited province gateway. The home province gateway information includes at least one of the domain name and IP address of the home province gateway.
[0028] Optionally, the parsing to obtain the visited base station information and the visited system information includes:
[0029] Parse the MAP protocol extension field in the registration request to obtain the visited base station information, and parse the original Via field in the pSIP protocol in the registration request to obtain the visited system information. The visited base station information includes at least one of the visited base station name, the visited base station domain name, and the visited base station location information. The visited system information includes at least one of the visited system domain name and IP address; or,
[0030] The existing Via field in the pSIP protocol of the registration request is parsed to obtain the visited system information, and the newly added Via field in the pSIP protocol of the registration request is parsed to obtain the visited base station information. The visited base station information includes at least one of the domain name and IP address of the visited base station, and the visited system information includes at least one of the domain name and IP address of the visited system.
[0031] Optionally, the method further includes:
[0032] Upon receiving a response message from the home province gateway, the system parses the response message to obtain the visited base station information, visited system information, visited province gateway information, and home province gateway information carried in the response message. Based on the visited base station information, visited system information, visited province gateway information, and home province gateway information, the location of the terminal is determined. The response message is generated based on a location information query request sent by the home system. Each time the location information query request passes through a routing node, the information of the routing node is filled into the response message and returned to the previous routing node.
[0033] Upon receiving a response message from the visited system, the visited base station information and the visited system information carried in the response message are parsed, and the location of the terminal is determined based on the visited base station information and the visited system information.
[0034] Thirdly, embodiments of this application also provide a terminal location determination system, which includes a visiting system, a visiting provincial gateway, a home provincial gateway, and a home system, or the terminal location determination system includes a visiting system and a home system.
[0035] The visiting system is used to perform the steps of the terminal location determination method according to any embodiment of the first aspect, and the home system is used to perform the steps of the terminal location determination method according to any embodiment of the second aspect.
[0036] Fourthly, embodiments of this application also provide an electronic device, including a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus;
[0037] Memory, used to store computer programs;
[0038] When a processor executes a program stored in a memory, it implements the steps of the method for determining the terminal location as described in any embodiment of the first aspect, or the steps of the method for determining the terminal location as described in any embodiment of the second aspect.
[0039] Fifthly, embodiments of this application also provide a computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method for determining the terminal location as described in any embodiment of the first aspect, or implements the steps of the method for determining the terminal location as described in any embodiment of the second aspect.
[0040] In this embodiment, when a terminal initiates cross-provincial roaming registration, the visited base station information of the terminal is obtained, and the visited base station information and visited system information are sent to the visited provincial gateway in a registration request. This allows the visited provincial gateway to send the registration request, carrying the visited base station information, visited system information, visited provincial gateway information, and home provincial gateway information, to the home system via the home provincial gateway. This allows the home system to determine the location of the terminal based on the visited base station information, visited system information, visited provincial gateway information, and home provincial gateway information. When a terminal initiates intra-provincial roaming registration, the visited base station information of the terminal is obtained, and the visited base station information is sent to the visited provincial gateway in a registration request. The visited base station information and the visited system information are sent to the home system in the registration request, so that the home system can determine the location of the terminal based on the visited base station information and the visited system information. The visited base station information represents the relevant information of the visited base station, the visited system information represents the relevant information of the visited system, the visited province gateway information represents the relevant information of the visited province gateway, and the home province gateway information represents the relevant information of the home province gateway. The visited province gateway is the inter-provincial interconnection center of the province where the visited system is located, and the home province gateway is the inter-provincial interconnection center of the province where the home system is located. Through this method, the terminal's home system can obtain the visited base station information, visited system information, and visited province gateway information corresponding to the terminal when the terminal initiates inter-provincial roaming registration, and can also obtain the visited base station information and visited system information when the terminal initiates intra-provincial roaming registration. Therefore, it can accurately determine the terminal's location and better realize functions such as visual monitoring and visual scheduling of the terminal. Attached Figure Description
[0041] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0042] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0043] Figure 1 A flowchart illustrating a method for determining the location of a terminal provided in an embodiment of this application;
[0044] Figure 2 This application provides a schematic diagram of the distribution of a PDT system according to an embodiment of the present application.
[0045] Figure 3A flowchart illustrating the processing of each node during a terminal-initiated cross-provincial roaming registration process, provided as an embodiment of this application;
[0046] Figure 4 A flowchart illustrating the processing of each node during a terminal-initiated intra-provincial roaming registration process, provided as an embodiment of this application;
[0047] Figure 5 A schematic diagram illustrating the interaction of various nodes during the cross-provincial roaming registration process, provided as an embodiment of this application;
[0048] Figure 6 A flowchart illustrating another method for determining the location of a terminal provided in an embodiment of this application;
[0049] Figure 7 A schematic diagram of a visitor system provided in an embodiment of this application;
[0050] Figure 8 A schematic diagram of the structure of a home system provided in an embodiment of this application;
[0051] Figure 9 A schematic diagram of the structure of a terminal location determination system provided in an embodiment of this application;
[0052] Figure 10 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation
[0053] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0054] See Figure 1 , Figure 1 This is a flowchart illustrating a method for determining the location of a terminal, as provided in an embodiment of this application. Figure 1 As shown, the terminal location determination method 100 is applied to a visitor system, and the method 100 includes:
[0055] Step 101: When a terminal initiates cross-provincial roaming registration, obtain the visited base station information of the terminal, and send the visited base station information and visited system information in the registration request to the visited provincial gateway. This allows the visited provincial gateway to send the registration request, which carries the visited base station information, visited system information, visited provincial gateway information, and home provincial gateway information, to the home system through the home provincial gateway. This enables the home system to determine the location of the terminal based on the visited base station information, visited system information, visited provincial gateway information, and home provincial gateway information.
[0056] It should be noted that the terminal location determination method provided in this application embodiment is applied to a visitor system. This visitor system is in contrast to the home system. The visitor system refers to the PDT system corresponding to the visited location where the terminal is registered for roaming, while the home system refers to the PDT system corresponding to the terminal's home location. The visitor system and the home system can be PDT systems corresponding to two different cities within the same province (i.e., scenarios where the terminal roams within the province), or they can be PDT systems corresponding to different cities within two different provinces (i.e., scenarios where the terminal roams across provinces). A schematic diagram of the PDT system distribution is shown below. Figure 2 As shown, a province may include multiple PDT systems (i.e., MSCs), each PDT system may cover multiple base stations (BSs), and each province also has a provincial gateway (i.e., ICC) for interacting with provincial gateways in other provinces, thereby enabling interaction between PDT systems in different provinces.
[0057] When a terminal initiates cross-provincial roaming registration, the visiting system can obtain and store information related to the registered base station, such as its domain name, IP address, or name, during the registration process. This allows it to obtain the terminal's visited base station information. The visiting system then sends this information, along with its own visiting system information, to the visiting provincial gateway in the registration request. The visiting provincial gateway then sends its own visiting provincial gateway information to the home provincial gateway in the received registration request. The home provincial gateway, in turn, sends its own home provincial gateway information to the home system in the received registration request. Thus, the home system receives a registration request containing the visited base station information, the visiting system information, the visited provincial gateway information, and the home provincial gateway information. Based on this information, the home system can determine the terminal's registered location and, combined with the subscribed terminal geographic location information, accurately pinpoint the terminal's location. Specifically, the processing steps for each node during the terminal's cross-provincial roaming registration process are as follows: Figure 3 As shown, the specific steps include the following:
[0058] Step 301: The terminal initiates cross-provincial roaming registration.
[0059] Step 302: The visiting system obtains the terminal's visited base station information and its own visiting system information, and sends the visited base station information and its own visiting system information in the registration request to the visiting provincial gateway.
[0060] Step 303: The visiting provincial gateway adds its own visiting provincial gateway information (i.e., the visiting provincial gateway information is added to the visiting base station information and visiting system information) to the registration request and sends it to the home provincial gateway.
[0061] Step 304: The home province gateway adds its own home province gateway information (i.e., the home province gateway information is added to the visited base station information, visited system information and visited province gateway information) to the home system in the registration request.
[0062] Step 305: The home system determines the terminal's location based on the visited base station information, visited system information, visited province gateway information, and home province gateway information. Here, the visited base station information represents information about the visited base station, such as its name, domain name, and Internet Protocol (IP) address; the visited system information represents information about the visited system, such as its name, domain name, city name, and IP address; the visited province gateway information represents information about the visited province gateway, such as its name, domain name, and IP address; and the home province gateway information represents information about the home province gateway, such as its name, domain name, and IP address. It should be noted that the registration request in this embodiment can be transmitted using various protocol standards, such as Session Initiation Protocol (SIP) and PDT Session Initiation Protocol (pSIP). The specific content and form of the visited base station information, visited system information, visited provincial gateway information, and home provincial gateway information carried in the registration request will differ depending on the protocol standard used. This will be explained in detail in subsequent embodiments and will not be repeated here.
[0063] Step 102: When the terminal initiates intra-provincial roaming registration, obtain the visited base station information of the terminal, and send the visited base station information and visited system information in the registration request to the home system so that the home system can determine the location of the terminal based on the visited base station information and visited system information.
[0064] It should be noted that steps 101 and 102 above are not sequential; they are the processing steps for visiting the system when the terminal initiates cross-provincial roaming registration and intra-provincial roaming registration, respectively.
[0065] When a terminal initiates intra-provincial roaming registration, the visiting system can obtain and store information related to the registered base station, such as its domain name, IP address, or name, during the registration process. This allows the system to obtain the terminal's visited base station information and include it along with its own visiting system information in the registration request, which is then sent to the home system. The home system receives the registration request containing both the visited base station and visiting system information, enabling it to determine the terminal's registered location. Combined with the subscribed terminal geographic location information, the system can accurately pinpoint the terminal's location. Specifically, the processing steps for each node during the terminal's intra-provincial roaming registration process are as follows: Figure 4 As shown, the specific steps include the following:
[0066] Step 401: The terminal initiates intra-provincial roaming registration.
[0067] Step 402: The visiting system obtains the visited base station information and its own visiting system information of the terminal, and sends the visited base station information and its own visiting system information in the registration request to the home system.
[0068] Step 403: The home system determines the location of the terminal based on the visited base station information and the visited system information.
[0069] The visited base station information here is used to characterize the relevant information of the visited base station of the terminal, such as the name, domain name, and Internet Protocol (IP) address of the visited base station; the visited system information is used to characterize the relevant information of the visited system, such as the name, domain name, city name, and IP address of the visited system. It should be noted that the registration request in this embodiment can be transmitted using various protocol standards, such as Session Initiation Protocol (SIP) and PDT session initiation protocol (pSIP). The specific content and form of the visited base station information and visited system information carried in the registration request will differ depending on the protocol standard used, which will be explained in detail in subsequent embodiments and will not be repeated here. In this embodiment, when the terminal initiates cross-provincial roaming registration or intra-provincial roaming registration, the visited system can carry the visited base station information and visited system information in the registration request and send them to the next routing node so that the home system can obtain the terminal's registered location information. Therefore, it can accurately determine the terminal's location and better realize functions such as visual monitoring and visual scheduling of the terminal.
[0070] Furthermore, the aforementioned 101, sending the visited base station information and visited system information in the registration request to the visited provincial gateway, includes:
[0071] Both visited base station information and visited system information are included as fields in the MAP protocol extension and sent to the visited provincial gateway in the registration request. The visited base station information includes at least one of the visited base station's name, domain name, and location information. The visited system information includes at least one of the visited system's name, domain name, and the name of the city where the visited system is located; or...
[0072] The visited base station information is included in the registration request as a field of the MAP protocol extension, and the visited system information is included in the registration request as the original Via field in the pSIP protocol, and both are sent to the visited province gateway. The visited base station information includes at least one of the visited base station's name, domain name, and location information; the visited system information includes at least one of the visited system's domain name and IP address; or,
[0073] The visited system information is carried in the registration request as an existing Via field in the pSIP protocol, and the visited base station information is carried in the registration request as a newly added Via field in the pSIP protocol, and sent to the visited provincial gateway. The visited base station information includes at least one of the visited base station's domain name and IP address, and the visited system information includes at least one of the visited system's domain name and IP address.
[0074] It should be noted that the SIP standard can resolve the information of each node through the routing node information and domain name server carried in the Via header, thereby obtaining the base station, system, and provincial gateway information of the terminal's roaming registration. For example, if terminal MS1, belonging to System 1 in Province 1, registers with base station 2 in System 2 in Province 2, then base station 2 carries its domain name in the Via header, System 2 adds its domain name to the Via header, the ICC (ICC2) of Province 2 adds its domain name to the Via header, and the ICC (ICC1) of Province 1 adds its domain name to the Via header. System 1 can then obtain the province, system, and base station information of the terminal's registration through Via resolution. However, the SIP standard has the following drawbacks: for example, the base station, system, and provincial gateway all need to support standard SIP for the Via header to construct complete registration location information by adding routing node information to each node. Secondly, the SIP standard can only display specific registration location information through domain names, which is limited by domain name rules. In addition, the scalability of the Via method is poor; for example, it cannot add geographical location information of the visited base station. Therefore, PDT interconnects typically use the pSIP standard instead of the standard SIP.
[0075] The pSIP standard's inter-node messages are reconstructed through parsing. The Via header field only carries its own node information and does not carry information about all routing nodes. The existing message body (MAP protocol) does not define the carrying of registration information and can only obtain it through parsing the node information in the REGISTER response (200). Because the Via header only carries its own node information, path node information is lost. The existing pSIP standard cannot obtain accurate registration location information. That is, when the terminal is roaming within its home province, the home system can obtain the terminal's visited system information and geographical location information, but cannot know the terminal's visited base station information; when the terminal is roaming across provinces, the home system can obtain the terminal's geographical location information, but cannot know the terminal's visited provincial gateway information, visited system information, and visited base station information. The registration location can only be located to the home provincial gateway information. In the embodiments of this application, within the pSIP standard framework, through the MAP protocol extension, or by referring to the standard SIP by supporting Via to add routing node information, it is possible to support the acquisition of visited base station, system, and provincial information, and combine BeiDou / GPS location information to accurately manage and present the actual location of the terminal.
[0076] In one embodiment, the registration request can be transmitted using multiple protocol standards. The specific content and form of the visited base station information, visited system information, visited provincial gateway information, and home provincial gateway information carried in the registration request will differ depending on the protocol standard used.
[0077] As an alternative approach, this can be achieved by extending the pSIP protocol with the Mobile Application Part (MAP) protocol. This allows each routing node to transmit information from all preceding routing nodes and its own information through fields extended in the MAP protocol. For example... Figure 5 As shown in Method 1, when the visiting system sends a registration request to the visiting provincial gateway, it carries the visited base station information and the visiting system information in the MAP protocol extension field; when the visiting provincial gateway sends a registration request to the home provincial gateway, it carries the visited base station information, the visiting system information, and the visiting provincial gateway information in the MAP protocol extension field; when the home provincial gateway sends a registration request to the home system, it carries the visited base station information, the visiting system information, the visiting provincial gateway information, and the home provincial gateway information in the MAP protocol extension field.
[0078] As an alternative approach, also based on the pSIP protocol but extended with the MAP protocol, the difference lies in that each routing node only transmits information about all preceding routing nodes through the MAP protocol extension fields, while its own information is transmitted using the original Via field in the pSIP protocol. For example... Figure 5As shown in Method 2, when the visiting system sends a registration request to the visiting provincial gateway, it carries the visited base station information in the MAP protocol extension field and the visited system information in the original Via field of the pSIP protocol; when the visiting provincial gateway sends a registration request to the home provincial gateway, it carries the visited base station information and the visited system information in the MAP protocol extension field and the visited provincial gateway information in the original Via field of the pSIP protocol; when the home provincial gateway sends a registration request to the home system, it carries the visited base station information, the visited system information, and the visited provincial gateway information in the MAP protocol extension field and the home provincial gateway information in the original Via field of the pSIP protocol.
[0079] To facilitate understanding, the following example illustrates the registration messages transmitted between routing nodes in this method.
[0080] Scenario Description: MS1 (ID: 1048593) is the home terminal of MSC1 (domain name: m11) in city A, and ICC1 (domain name: m1) in province A; ICC2 (domain name: m2) in province B, MSC2 (domain name: m22) in city B, with XXX base station BS2 (domain name: m222); MS1 is roaming registered on BS2 in Guangzhou. Here, MS is an abbreviation for Mobile Station, representing a mobile station, i.e., a terminal. The specific registration request content for each node is as follows:
[0081] 1. REGISTER registration request (MSC2->ICC2);
[0082]
[0083] 2. REGISTER registration request (ICC2->ICC1);
[0084]
[0085]
[0086] 3. REGISTER registration request (ICC1->MSC1): Reached the home system;
[0087]
[0088] 4. Registration confirmation for 200 (MSC1->ICC1);
[0089] 5. Registration confirmation (ICC1->ICC2);
[0090] 6. 200 Registration Confirmation (ICC2->MSC2).
[0091] Therefore, each registration request can carry registration location information, including information about all preceding routing nodes, through the Reg_loc field extended by the MAP protocol. It can also carry its own routing node information through the original Via field in the pSIP protocol. In this way, the home system can parse the specific registration location information of the roaming terminal based on the fields in the registration request.
[0092] The difference between Method 1 and Method 2 above is as follows:
[0093] In Method 1, the registration information of this routing node is filled in by this routing node in the Reg_loc field of the MAP protocol extension, such as the visited system information carried in the Reg_loc field of message 1. <sys> m22< / sys> In Method 2, the information of this routing node is carried through the existing Via field in the pSIP protocol. The next routing node fills in the Via field in the received registration request and then sends it to the next routing node's next-next routing node. Therefore, Method 2 has the advantage of transmitting less data and higher processing efficiency, while Method 1 has the advantage of being expandable and carrying more information. Both Method 1 and Method 2, within the framework of the pSIP standard rules, allow the terminal's home system to obtain complete terminal registration location information through message body expansion. Combined with BeiDou / GPS location information, this accurately records and presents the terminal's location.
[0094] As another alternative, this can be achieved using the newly added Via field in the pSIP protocol. Each routing node only transmits information about all preceding routing nodes through the newly added Via field, while transmitting its own information using the existing Via field in the pSIP protocol. Specifically, when the visited system sends a registration request to the visited province gateway, it carries the visited base station information in the newly added Via field of the pSIP protocol and the visited system information in the existing Via field. When the visited province gateway sends a registration request to the home province gateway, it carries the visited base station information and visited system information in the newly added Via field of the pSIP protocol and the visited province gateway information in the existing Via field. When the home province gateway sends a registration request to the home system, it carries the visited base station information, visited system information, and visited province gateway information in the newly added Via field of the pSIP protocol and the home province gateway information in the existing Via field.
[0095] To facilitate understanding, the following example illustrates the registration messages transmitted between routing nodes in this method.
[0096] Scenario Description: MS1 (ID: 1048593) is the home terminal of MSC1 (domain name: m11) in city A, and ICC1 (domain name: m1) in province A; ICC2 (domain name: m2) in province B, MSC2 (domain name: m22) in city B, with XXX base station BS2 (domain name: m222); MS1 is roaming registered at BS2 in Guangzhou. Here, MS is an abbreviation for Mobile Station, representing a mobile station, i.e., a terminal. BS is an abbreviation for BaseStation, representing a base station in the PDT system. MSC is an abbreviation for Mobile Switching Center, representing the core network in the PDT system.
[0097] 1. REGISTER registration request (MSC2->ICC2);
[0098]
[0099] 2. REGISTER registration request (ICC2->ICC1);
[0100]
[0101]
[0102] 3. REGISTER registration request (ICC1->MSC1): Reached the home system;
[0103]
[0104] 4. Registration confirmation for 200 (MSC1->ICC1);
[0105] 5. Registration confirmation (ICC1->ICC2);
[0106] 6. 200 Registration Confirmation (ICC2->MSC2).
[0107] Therefore, each registration request can carry information about all preceding routing nodes and its own routing node through the newly added and existing Via fields in the pSIP protocol. In this way, the home system can parse the specific registration location information of the roaming terminal based on the fields in the registration request.
[0108] Option 3 modifies the pSIP rules. In the pSIP standard, Via only carries information about its own routing node. In Option 3, if only the domain name or IP address of the routing node is carried, it has the same functionality as Options 1 and 2. However, Option 3 is not suitable for extending the carrying of base station names, BeiDou / GPS information, etc.; it can only carry the domain name or IP address of the routing node. Since the display of registered location information and map information needs to be tailored to user viewing needs—for example, displaying the base station name and location—displaying only the domain name or IP address would be incomprehensible to users. Therefore, Options 1 and 2 are more user-friendly than Option 3.
[0109] Furthermore, step 102 above, sending the visited base station information and visited system information in the registration request to the home system, includes:
[0110] The visited base station information is included in the registration request as a field of the MAP protocol extension, and the visited system information is included in the registration request as the original Via field in the pSIP protocol, and sent to the home system. The visited base station information includes at least one of the visited base station's name, domain name, and location information; the visited system information includes at least one of the visited system's domain name and IP address; or,
[0111] The visited system information is carried in the registration request as the original Via field in the pSIP protocol, and the visited base station information is carried in the registration request through the newly added Via field in the pSIP protocol and sent to the home system. The visited base station information includes at least one of the visited base station's domain name and IP address, and the visited system information includes at least one of the visited system's domain name and IP address.
[0112] In this embodiment, when the terminal roams across provinces, the home system can obtain the terminal's complete registered location information through different methods, accurately record the terminal's actual roaming location, and provide detailed registered locations for users to view, thereby improving the user experience. The home system combines the province, city, current service area (base station) information visited by the terminal with real-time BeiDou / GPS location information to accurately manage and present the terminal's location, thereby improving the user's visual experience.
[0113] In one embodiment, when a terminal registers for roaming within a province, the visiting system and the home system can be directly interconnected without the need for interconnection through an ICC. Therefore, the home system only needs to obtain the terminal's visited base station information and visited system information to accurately determine the terminal's registration location.
[0114] Registration requests can be transmitted using various protocol standards. The specific content and form of the visited base station information and visited system information carried in the registration request will differ depending on the protocol standard used.
[0115] As an alternative approach, this can be achieved by extending the pSIP protocol with the Mobile Application Part (MAP) protocol. In this method, each routing node only transmits information about all preceding routing nodes through the MAP extension fields, while transmitting its own information using the original Via field in the pSIP protocol. Specifically, when the visited system sends a registration request to the home system, it includes the visited base station information in the MAP extension fields and the visited system information in the original Via field of the pSIP protocol.
[0116] To facilitate understanding, the following example illustrates the registration messages transmitted between routing nodes in this method.
[0117] Scenario Description: MS1 (ID: 1048593) is the home terminal of MSC1 (domain name: m11) in City C; MSC2 (domain name: m22) in City D has a YYY base station BS2 (domain name: m222); MSC1 in City C and MSC2 in City D are interconnected within the province; MS1 is registered for roaming on BS2 in City D. City C and City D are different cities within the same province. The terminal registration process is as follows:
[0118] 1. MS1 initiates a registration request on BS2;
[0119] 2. BS2 initiates a registration request for MS1 to MSC2;
[0120] 3. MSC2 initiates a registration request from MSC1 for MS1, carrying information about the base station BS2 that MS1 is visiting and registering with;
[0121] 4. Upon receiving the registration request from MSC2, MSC1 parses the MSC2 and BS2 information from the Via and message body of the REGISTER message. The specific content of each node's registration request is as follows:
[0122] 1. REGISTER registration request (MSC2->MSC1):
[0123]
[0124]
[0125] 2. Registration confirmation for MSC1 to MSC2.
[0126] Therefore, when the home system MSC1 receives the REGISTER request from the visited system MSC2, it can accurately determine the exact location of the home terminal MS1's roaming registration within the province. The home system, in conjunction with MS1's BeiDou / GPS information, can accurately record and present the terminal's location, such as detailed display of specific registration information and BeiDou / GPS information, and map display of the terminal's registration area, specific location, and nearest landmarks.
[0127] In this method, each registration request can carry registration location information, including information about all preceding routing nodes, through the Reg_loc field extended by the MAP protocol. It can also carry its own routing node information through the original Via field in the pSIP protocol. This allows the home system to parse the specific registration location information of the roaming terminal from the fields in the registration request.
[0128] As another alternative, this can be achieved using the newly added Via field in the pSIP protocol. Each routing node only transmits information about all preceding routing nodes through the newly added Via field in the pSIP protocol, while transmitting its own information using the existing Via field. Specifically, when the visited system sends a registration request to the home system, it carries the visited base station information in the newly added Via field of the pSIP protocol, and the visited system information in the existing Via field of the pSIP protocol.
[0129] 1. REGISTER registration request (MSC2->MSC1):
[0130]
[0131] 3. Registration confirmation for 200 (MSC1->MSC2).
[0132] Therefore, in this method, each registration request can carry information about all preceding routing nodes and its own routing node through the newly added and existing Via fields in the pSIP protocol. In this way, the home system can parse the specific registration location information of the roaming terminal based on the fields in the registration request.
[0133] In this embodiment, when the terminal roams within the province, the home system can obtain the terminal's complete registered location information through different methods, accurately record the terminal's actual roaming location, and provide detailed registered locations for users to view, thereby improving the user experience. The home system combines the province, city, current service area (base station) information visited by the terminal with real-time BeiDou / GPS location information to accurately manage and present the terminal's location, thereby improving the user's visual experience.
[0134] Furthermore, the method also includes:
[0135] Upon receiving a location information query request from the visited province gateway, the visited base station information and visited system information are sent to the visited province gateway in a response message. This allows the visited province gateway to send a response message containing the visited base station information, visited system information, visited province gateway information, and home province gateway information to the home system via the home province gateway. This enables the home system to determine the location of the terminal based on the visited base station information, visited system information, visited province gateway information, and home province gateway information.
[0136] Upon receiving a location information query request from the home system, the terminal sends the visited base station information and visited system information in a response message to the home system, so that the home system can determine the location of the terminal based on the visited base station information and visited system information.
[0137] In one embodiment, in addition to obtaining the terminal registration location information during the terminal registration process, the home system can also proactively send a location information query request to the upstream routing node after successful registration to obtain the terminal registration location information.
[0138] Specifically, after a terminal successfully registers for cross-provincial roaming, the home system can send a location information query request to the home province gateway. Upon receiving this request, the home province gateway can send a location information query request to the visited province gateway. The visited province gateway, in turn, can send a location information query request to the visited system. The visited system, upon receiving this request, can send a response message to the visited province gateway, which carries the visited base station information and the visited system information. The visited province gateway, upon receiving this response message, can send a response message to the home province gateway, which also carries the visited base station information, the visited system information, and the visited province gateway information. The home province gateway, upon receiving this response message, can send a response message to the home system, which carries the visited base station information, the visited system information, the visited province gateway information, and the home province gateway information. Upon receiving the response message, the home system can determine the terminal's location information based on the visited base station information, the visited system information, the visited province gateway information, and the home province gateway information. It should be noted that the method by which the response message carries the information of each routing node is detailed in the above embodiments and will not be repeated here.
[0139] Specifically, after successful intra-provincial roaming registration, the home system can send a location information query request to the visited system. Upon receiving the request, the visited system can send a response message back to the home system, which carries the visited base station information and the visited system information. Upon receiving the response message, the home system can determine the terminal's location information based on the visited base station information and the visited system information. It should be noted that the method by which the response message carries the information of each routing node is detailed in the above embodiments and will not be repeated here.
[0140] As an optional implementation, each routing node needs to add interface procedures and interface messages. For example, it can use SUBSCRIBE as the location information query request and 200 as the response message, extending the message body of 200 to carry location information. Each node needs to supplement the location information after receiving the 200 message from the lower-level node, following the method described in the above embodiment.
[0141] In this embodiment, after the registration process is completed, the actual registration location information can be queried from the terminal visit system and obtained through a location information query process. Compared with the method in the previous embodiment that directly obtains the registration location information during the terminal registration process, the method in this embodiment has lower real-time performance and efficiency.
[0142] See Figure 6 , Figure 6 This is a flowchart illustrating another method for determining the location of a terminal provided in an embodiment of this application. Figure 6 As shown, the terminal location determination method 600 is applied to the home system, and the method 600 includes:
[0143] Step 601: Upon receiving a registration request from the home province gateway, the visited base station information, visited system information, visited province gateway information, and home province gateway information carried in the registration request are parsed. Based on the visited base station information, visited system information, visited province gateway information, and home province gateway information, the location of the terminal is determined. The registration request is generated when the terminal initiates cross-provincial roaming registration. Each time the registration request passes through a routing node, the information of the routing node is filled in and sent to the next routing node.
[0144] Step 602: Upon receiving a registration request from the visited system, the visited base station information and visited system information are parsed to obtain the information. Based on the visited base station information and visited system information, the location of the terminal is determined. The registration request is generated when the terminal initiates intra-provincial roaming registration.
[0145] Among them, visited base station information is used to represent the relevant information of the visited base station of the terminal, visited system information is used to represent the relevant information of the visited system, visited province gateway information is used to represent the relevant information of the visited province gateway, and home province gateway information is used to represent the relevant information of the home province gateway. The visited province gateway is the inter-provincial interconnection center of the province where the visited system is located, and the home province gateway is the inter-provincial interconnection center of the province where the home system is located.
[0146] It should be noted that steps 601 and 602 above are not sequential; they are the processing steps of the home system when the terminal initiates cross-provincial roaming registration and intra-provincial roaming registration, respectively.
[0147] Further, step 601 above, parsing the visited base station information, visited system information, visited provincial gateway information, and home provincial gateway information carried in the registration request, includes:
[0148] Parse the MAP protocol extension fields in the registration request to obtain visited base station information, visited system information, visited province gateway information, and home province gateway information. Visited base station information includes at least one of the following: the name of the visited base station, the domain name of the visited base station, and the location information of the visited base station. Visited system information includes at least one of the following: the name of the visited system, the domain name of the visited system, and the name of the city where the visited system is located. Visited province gateway information includes at least one of the name of the visited province gateway and the domain name of the visited province gateway. Home province gateway information includes at least one of the name of the home province gateway and the domain name of the home province gateway; or...
[0149] Parse the MAP protocol extension fields in the registration request to obtain visited base station information, visited system information, and visited province gateway information. Also parse the original Via field in the pSIP protocol of the registration request to obtain the home province gateway information. Visited base station information includes at least one of the following: the name of the visited base station, the domain name of the visited base station, and the location information of the visited base station. Visited system information includes at least one of the following: the name of the visited system, the domain name of the visited system, and the name of the city where the visited system is located. Visited province gateway information includes at least one of the following: the name of the visited province gateway and the domain name of the visited province gateway. Home province gateway information includes at least one of the following: the domain name of the home province gateway and its IP address; or...
[0150] The original Via field in the pSIP protocol of the registration request is parsed to obtain the home province gateway information. The newly added Via field in the pSIP protocol of the registration request is also parsed to obtain visited base station information, visited system information, and visited province gateway information. The visited base station information includes at least one of the domain name and IP address of the visited base station. The visited system information includes at least one of the domain name and IP address of the visited system. The visited province gateway information includes at least one of the domain name and IP address of the visited province gateway. The home province gateway information includes at least one of the domain name and IP address of the home province gateway.
[0151] Furthermore, step 602 above, parsing the visited base station information and visited system information, includes:
[0152] Parse the MAP protocol extension fields in the registration request to obtain visited base station information, and parse the original Via fields in the pSIP protocol in the registration request to obtain visited system information. The visited base station information includes at least one of the visited base station's name, domain name, and location information; the visited system information includes at least one of the visited system's domain name and IP address; or...
[0153] The existing Via field in the pSIP protocol of the registration request is parsed to obtain the visited system information, and the newly added Via field in the pSIP protocol of the registration request is parsed to obtain the visited base station information. The visited base station information includes at least one of the domain name and IP address of the visited base station, and the visited system information includes at least one of the domain name and IP address of the visited system.
[0154] Furthermore, the method also includes:
[0155] Upon receiving a response message from the home province gateway, the system parses the response message to obtain the visited base station information, visited system information, visited province gateway information, and home province gateway information carried in the response message. Based on the visited base station information, visited system information, visited province gateway information, and home province gateway information, the system determines the location of the terminal. The response message is generated based on the location information query request sent by the home system. Each time the location information query request passes through a routing node, the information of the routing node is filled into the response message and returned to the previous routing node.
[0156] Upon receiving a response message from the visited system, the visited base station information and visited system information carried in the response message are parsed, and the location of the terminal is determined based on the visited base station information and visited system information.
[0157] The above optional implementation methods can be found in [reference]. Figure 1To avoid repetition, the relevant descriptions in the embodiments shown will not be repeated in this embodiment.
[0158] It should be noted that the embodiments of the present invention provide the same as those described above. Figure 1 The terminal location determination method implemented by the visiting system shown in the embodiment is the same as the terminal location determination method implemented by the home system. All implementation methods in the above embodiment of the terminal location determination method implemented by the visiting system are applicable to the terminal location determination method implemented by the home system, and can achieve the same or similar beneficial effects.
[0159] See Figure 7 , Figure 7 A schematic diagram of a visitor system provided in an embodiment of this application is shown below. Figure 7 As shown, the system 700 includes:
[0160] The first determining module 701 is used to obtain the visited base station information of the terminal when the terminal initiates cross-provincial roaming registration, and send the visited base station information and visited system information in the registration request to the visited provincial gateway, so that the visited provincial gateway sends the registration request carrying the visited base station information, visited system information, visited provincial gateway information and home provincial gateway information to the home system through the home provincial gateway, so that the home system determines the location of the terminal based on the visited base station information, visited system information, visited provincial gateway information and home provincial gateway information;
[0161] The second determining module 702 is used to obtain the visited base station information of the terminal when the terminal initiates intra-provincial roaming registration, and send the visited base station information and visited system information in the registration request to the home system so that the home system can determine the location of the terminal based on the visited base station information and visited system information;
[0162] Among them, visited base station information is used to represent the relevant information of the visited base station of the terminal, visited system information is used to represent the relevant information of the visited system, visited province gateway information is used to represent the relevant information of the visited province gateway, and home province gateway information is used to represent the relevant information of the home province gateway. The visited province gateway is the inter-provincial interconnection center of the province where the visited system is located, and the home province gateway is the inter-provincial interconnection center of the province where the home system is located.
[0163] Furthermore, the first determining module 701 includes:
[0164] The first carrying unit is used to send the visited base station information and visited system information as fields of the MAP protocol extension in the registration request to the visited provincial gateway. The visited base station information includes at least one of the visited base station name, the visited base station domain name, and the visited base station location information. The visited system information includes at least one of the visited system name, the visited system domain name, and the name of the city where the visited system is located; or,
[0165] The second carrying unit is used to carry visited base station information as a field of the MAP protocol extension in the registration request, and to carry visited system information as the original Via field in the pSIP protocol in the registration request, and send it to the visited province gateway. The visited base station information includes at least one of the visited base station name, the visited base station domain name, and the visited base station location information; the visited system information includes at least one of the visited system domain name and IP address; or,
[0166] The third carrying unit is used to carry the visited system information as the original Via field in the pSIP protocol in the registration request, and to carry the visited base station information as the newly added Via field in the pSIP protocol in the registration request, and send it to the visited provincial gateway. The visited base station information includes at least one of the visited base station's domain name and IP address, and the visited system information includes at least one of the visited system's domain name and IP address.
[0167] Furthermore, the second determining module 702 includes:
[0168] The fourth carrying unit is used to carry visited base station information as a field of the MAP protocol extension in the registration request, and to carry visited system information as the original Via field in the pSIP protocol in the registration request, and send it to the home system. The visited base station information includes at least one of the visited base station name, the visited base station domain name, and the visited base station location information; the visited system information includes at least one of the visited system domain name and IP address; or,
[0169] The fifth carrying unit is used to carry the visited system information as the original Via field in the pSIP protocol in the registration request, and to carry the visited base station information as the newly added Via field in the pSIP protocol in the registration request, and send it to the home system. The visited base station information includes at least one of the domain name and IP address of the visited base station, and the visited system information includes at least one of the domain name and IP address of the visited system.
[0170] Furthermore, the system 700 also includes:
[0171] The first sending module is used to send the visited base station information and visited system information in a response message to the visited province gateway when it receives a location information query request sent by the visited province gateway. This allows the visited province gateway to send the response message containing the visited base station information, visited system information, visited province gateway information, and home province gateway information to the home system through the home province gateway. This allows the home system to determine the location of the terminal based on the visited base station information, visited system information, visited province gateway information, and home province gateway information.
[0172] The second sending module is used to send the visited base station information and visited system information in a response message to the home system when it receives a location information query request from the home system, so that the home system can determine the location of the terminal based on the visited base station information and visited system information.
[0173] It should be noted that the visitor system 700 can achieve the aforementioned... Figure 1 The steps of the terminal location determination method provided in the illustrated embodiment are the same and can achieve the same technical effect, so they will not be described in detail here.
[0174] See Figure 8 , Figure 8 This application provides a schematic diagram of the structure of a home system, as shown in the embodiment of the present application. Figure 8 As shown, the system 800 includes:
[0175] The third determining module 801 is used to parse the visited base station information, visited system information, visited province gateway information and home province gateway information carried in the registration request when it receives the registration request sent by the home province gateway, and determine the location of the terminal based on the visited base station information, visited system information, visited province gateway information and home province gateway information. The registration request is generated when the terminal initiates cross-provincial roaming registration. The registration request will fill in the information of the routing node and send it to the next routing node every time it passes through the routing node.
[0176] The fourth determination module 802 is used to parse the visited base station information and visited system information when it receives a registration request sent by the visited system, and determine the location of the terminal based on the visited base station information and visited system information. The registration request is generated when the terminal initiates intra-provincial roaming registration. Each time the registration request passes through a routing node, the information of the routing node will be filled in and sent to the next routing node.
[0177] Among them, visited base station information is used to represent the relevant information of the visited base station of the terminal, visited system information is used to represent the relevant information of the visited system, visited province gateway information is used to represent the relevant information of the visited province gateway, and home province gateway information is used to represent the relevant information of the home province gateway. The visited province gateway is the inter-provincial interconnection center of the province where the visited system is located, and the home province gateway is the inter-provincial interconnection center of the province where the home system is located.
[0178] Furthermore, the third determining module 801 includes:
[0179] The sixth carrying unit is used to parse the MAP protocol extension fields in the registration request to obtain visited base station information, visited system information, visited province gateway information, and home province gateway information. The visited base station information includes at least one of the visited base station name, visited base station domain name, and visited base station location information. The visited system information includes at least one of the visited system name, visited system domain name, and the name of the city where the visited system is located. The visited province gateway information includes at least one of the visited province gateway name and visited province gateway domain name. The home province gateway information includes at least one of the home province gateway name and home province gateway domain name; or...
[0180] The seventh carrying unit is used to parse the MAP protocol extension fields in the registration request to obtain visited base station information, visited system information, and visited province gateway information; and to parse the original Via field in the pSIP protocol in the registration request to obtain home province gateway information. The visited base station information includes at least one of the visited base station name, visited base station domain name, and visited base station location information; the visited system information includes at least one of the visited system name, visited system domain name, and the name of the city where the visited system is located; the visited province gateway information includes at least one of the visited province gateway name and visited province gateway domain name; and the home province gateway information includes at least one of the home province gateway domain name and IP address; or...
[0181] The eighth carrying unit is used to parse the original Via field in the pSIP protocol in the registration request to obtain the home province gateway information, and to parse the newly added Via field in the pSIP protocol in the registration request to obtain visited base station information, visited system information, and visited province gateway information. The visited base station information includes at least one of the domain name and IP address of the visited base station, the visited system information includes at least one of the domain name and IP address of the visited system, the visited province gateway information includes at least one of the domain name and IP address of the visited province gateway, and the home province gateway information includes at least one of the domain name and IP address of the home province gateway.
[0182] Furthermore, the fourth determining module 802 includes:
[0183] The ninth carrying unit is used to parse the MAP protocol extension field in the registration request to obtain visited base station information, and to parse the original Via field in the pSIP protocol in the registration request to obtain visited system information. The visited base station information includes at least one of the visited base station name, the visited base station domain name, and the visited base station location information. The visited system information includes at least one of the visited system domain name and IP address; or,
[0184] The tenth carrying unit is used to parse the original Via field in the pSIP protocol in the registration request to obtain visited system information, and to parse the newly added Via field in the pSIP protocol in the registration request to obtain visited base station information. The visited base station information includes at least one of the domain name and IP address of the visited base station, and the visited system information includes at least one of the domain name and IP address of the visited system.
[0185] Furthermore, the system 800 also includes:
[0186] The fifth determination module is used to parse the response message carried in the response message when it receives the response message returned by the home province gateway, and to determine the location of the terminal based on the information of the visited base station, visited system, visited province gateway, and home province gateway. The response message is generated based on the location information query request sent by the home system. Each time the location information query request passes through a routing node, the information of the routing node is filled into the response message and returned to the previous routing node.
[0187] The sixth determination module is used to parse the visited base station information and visited system information carried in the response message received from the visited system, and determine the location of the terminal based on the visited base station information and visited system information.
[0188] It should be noted that this attribution system 800 can achieve the aforementioned... Figure 6 The steps of the terminal location determination method provided in the illustrated embodiment are the same and can achieve the same technical effect, so they will not be described in detail here.
[0189] See Figure 9 , Figure 9 This is a schematic diagram of a terminal location determination system provided in an embodiment of this application. Figure 9 As shown, the terminal location determination system 900 includes a visitor system 901, a visitor province gateway 902, a home province gateway 903, and a home system 904, or the terminal location determination system 900 includes a visitor system 901 and a home system 904.
[0190] Among them, the visitor system 901 is used to execute Figure 1 The steps of the terminal location determination method provided in the illustrated embodiment are executed by the home system 904. Figure 6 The steps of the method embodiment shown are for determining the terminal location.
[0191] like Figure 10As shown in the figure, this application embodiment also provides an electronic device, including a processor 1011, a communication interface 1012, a memory 1013, and a communication bus 1014, wherein the processor 1011, the communication interface 1012, and the memory 1013 communicate with each other through the communication bus 1014.
[0192] Memory 1013 is used to store computer programs;
[0193] In one embodiment of this application, when the processor 1011 executes the program stored in the memory 1013, it implements the steps of the terminal location determination method provided in any of the foregoing method embodiments.
[0194] This application also provides a computer-readable storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of the terminal location determination method provided in any of the foregoing method embodiments.
[0195] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0196] The above description is merely a specific embodiment of the present invention, enabling those skilled in the art to understand or implement the invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the invention. Therefore, the present invention is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. A method for determining the location of a terminal, characterized in that, Applied to a visitor system, the method includes: When a terminal initiates cross-provincial roaming registration, the visited base station information of the terminal is obtained, and the visited base station information and visited system information are sent to the visited provincial gateway in the registration request. The visited provincial gateway then sends the registration request carrying the visited base station information, the visited system information, the visited provincial gateway information, and the home provincial gateway information to the home system through the home provincial gateway. The home system then determines the location of the terminal based on the visited base station information, the visited system information, the visited provincial gateway information, and the home provincial gateway information. When a terminal initiates intra-provincial roaming registration, the visited base station information of the terminal is obtained, and the visited base station information and the visited system information are sent to the home system in the registration request, so that the home system can determine the location of the terminal based on the visited base station information and the visited system information; Wherein, the visited base station information is used to characterize the relevant information of the visited base station of the terminal, the visited system information is used to characterize the relevant information of the visited system, the visited province gateway information is used to characterize the relevant information of the visited province gateway, the home province gateway information is used to characterize the relevant information of the home province gateway, the visited province gateway is the inter-provincial interconnection center of the province where the visited system is located, and the home province gateway is the inter-provincial interconnection center of the province where the home system is located.
2. The method according to claim 1, characterized in that, Sending the visited base station information and visited system information in the registration request to the visited province gateway includes: Both the visited base station information and the visited system information are included as fields in the MAP protocol extension and sent to the visited provincial gateway in the registration request. The visited base station information includes at least one of the visited base station's name, the visited base station's domain name, and the visited base station's location information. The visited system information includes at least one of the visited system's name, the visited system's domain name, and the name of the city where the visited system is located; or, The visited base station information is included in the registration request as a field of the MAP protocol extension, and the visited system information is included in the registration request as a field of the original Via field in the pSIP protocol, and both are sent to the visited province gateway. The visited base station information includes at least one of the visited base station's name, the visited base station's domain name, and the visited base station's location information; the visited system information includes at least one of the visited system's domain name and IP address; or, The visited system information is carried in the registration request as an existing Via field in the pSIP protocol, and the visited base station information is carried in the registration request as a newly added Via field in the pSIP protocol, and sent to the visited province gateway. The visited base station information includes at least one of the domain name and IP address of the visited base station, and the visited system information includes at least one of the domain name and IP address of the visited system.
3. The method according to claim 1, characterized in that, Sending the visited base station information and the visited system information in the registration request to the home system includes: The visited base station information is included in the registration request as a field of the MAP protocol extension, and the visited system information is included in the registration request as the original Via field in the pSIP protocol, and sent to the home system. The visited base station information includes at least one of the visited base station's name, the visited base station's domain name, and the visited base station's location information; the visited system information includes at least one of the visited system's domain name and IP address; or, The visited system information is carried in the registration request as an existing Via field in the pSIP protocol, and the visited base station information is carried in the registration request through a newly added Via field in the pSIP protocol, and sent to the home system. The visited base station information includes at least one of the domain name and IP address of the visited base station, and the visited system information includes at least one of the domain name and IP address of the visited system.
4. The method according to claim 1, characterized in that, The method further includes: Upon receiving a location information query request from the visited province gateway, the visited base station information and the visited system information are sent to the visited province gateway in a response message. This allows the visited province gateway to send a response message containing the visited base station information, the visited system information, the visited province gateway information, and the home province gateway information to the home system via the home province gateway. This enables the home system to determine the location of the terminal based on the visited base station information, the visited system information, the visited province gateway information, and the home province gateway information. Upon receiving a location information query request from the home system, the visited base station information and the visited system information are included in a response message and sent to the home system, so that the home system can determine the location of the terminal based on the visited base station information and the visited system information.
5. A method for determining the location of a terminal, characterized in that, Applied to a home system, the method includes: Upon receiving a registration request from the home province gateway, the visited base station information, visited system information, visited province gateway information, and home province gateway information carried in the registration request are parsed. Based on the visited base station information, visited system information, visited province gateway information, and home province gateway information, the location of the terminal is determined. The registration request is generated when the terminal initiates cross-provincial roaming registration. Each time the registration request passes through a routing node, the information of that routing node is filled in and sent to the next routing node. Upon receiving a registration request from the visiting system, the visited base station information and the visiting system information are parsed to obtain the information. Based on the visited base station information and the visiting system information, the location of the terminal is determined. The registration request is generated when the terminal initiates intra-provincial roaming registration. Wherein, the visited base station information is used to characterize the relevant information of the visited base station of the terminal, the visited system information is used to characterize the relevant information of the visited system, the visited province gateway information is used to characterize the relevant information of the visited province gateway, the home province gateway information is used to characterize the relevant information of the home province gateway, the visited province gateway is the inter-provincial interconnection center of the province where the visited system is located, and the home province gateway is the inter-provincial interconnection center of the province where the home system is located.
6. The method according to claim 5, characterized in that, The parsing process yields the visited base station information, visited system information, visited provincial gateway information, and home provincial gateway information carried in the registration request, including: Parsing the MAP protocol extension fields in the registration request yields the visited base station information, the visited system information, the visited province gateway information, and the home province gateway information. The visited base station information includes at least one of the visited base station's name, the visited base station's domain name, and the visited base station's location information. The visited system information includes at least one of the visited system's name, the visited system's domain name, and the name of the city where the visited system is located. The visited province gateway information includes at least one of the visited province gateway's name and the visited province gateway's domain name. The home province gateway information includes at least one of the home province gateway's name and the home province gateway's domain name; or... Parsing the MAP protocol extension fields in the registration request yields the visited base station information, the visited system information, and the visited province gateway information. Parsing the original Via field in the pSIP protocol in the registration request yields the home province gateway information. The visited base station information includes at least one of the visited base station name, the visited base station domain name, and the visited base station location information. The visited system information includes at least one of the visited system name, the visited system domain name, and the name of the city where the visited system is located. The visited province gateway information includes at least one of the visited province gateway name and the visited province gateway domain name. The home province gateway information includes at least one of the home province gateway domain name and IP address. Alternatively, The original Via field in the pSIP protocol of the registration request is parsed to obtain the home province gateway information. The newly added Via field in the pSIP protocol of the registration request is also parsed to obtain the visited base station information, the visited system information, and the visited province gateway information. The visited base station information includes at least one of the domain name and IP address of the visited base station. The visited system information includes at least one of the domain name and IP address of the visited system. The visited province gateway information includes at least one of the domain name and IP address of the visited province gateway. The home province gateway information includes at least one of the domain name and IP address of the home province gateway.
7. The method according to claim 5, characterized in that, The parsing process yields the visited base station information and the visited system information, including: Parse the MAP protocol extension field in the registration request to obtain the visited base station information, and parse the original Via field in the pSIP protocol in the registration request to obtain the visited system information. The visited base station information includes at least one of the visited base station name, the visited base station domain name, and the visited base station location information. The visited system information includes at least one of the visited system domain name and IP address; or, The existing Via field in the pSIP protocol of the registration request is parsed to obtain the visited system information, and the newly added Via field in the pSIP protocol of the registration request is parsed to obtain the visited base station information. The visited base station information includes at least one of the domain name and IP address of the visited base station, and the visited system information includes at least one of the domain name and IP address of the visited system.
8. The method according to claim 5, characterized in that, The method further includes: Upon receiving a response message from the home province gateway, the system parses the response message to obtain the visited base station information, visited system information, visited province gateway information, and home province gateway information carried in the response message. Based on the visited base station information, visited system information, visited province gateway information, and home province gateway information, the location of the terminal is determined. The response message is generated based on a location information query request sent by the home system. Each time the location information query request passes through a routing node, the information of the routing node is filled into the response message and returned to the previous routing node. Upon receiving a response message from the visited system, the visited base station information and the visited system information carried in the response message are parsed, and the location of the terminal is determined based on the visited base station information and the visited system information.
9. A system for determining the location of a terminal, characterized in that, The terminal location determination system includes a visitor system, a visitor province gateway, a home province gateway, and a home system, or the terminal location determination system includes a visitor system and a home system. The visiting system is used to perform the steps of the terminal location determination method according to any one of claims 1-4, and the attribution system is used to perform the steps of the terminal location determination method according to any one of claims 5-8.
10. An electronic device, characterized in that, It includes a processor, a communication interface, a memory, and a communication bus, wherein the processor, the communication interface, and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, when executing a program stored in memory, implements the steps of the method for determining the terminal location as described in any one of claims 1-4, or implements the steps of the method for determining the terminal location as described in any one of claims 5-8.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the steps of the method for determining the terminal location as described in any one of claims 1-4, or the steps of the method for determining the terminal location as described in any one of claims 5-8.
Citation Information
Patent Citations
Method for quickly reporting position information of terminals in digital cluster communication system
CN103079267A
Method for roaming service in a digital trunked radio system
KR1020010002525A