The present disclosure relates to the technical field of communication, and particularly to a communication method, a device, and a storage medium.
With the development of communication technology, a current terminal device (such as a smartphone, etc.) generally has a location function, and an assisted location function also makes a location effect of the terminal device with better. The assisted location function of the terminal device has to rely on a server that provides assisted location data for the terminal device, and operators in different regions may choose different assisted location servers, where the different assisted location servers are used for transmitting assisted location data between the terminal device and the assisted location servers.
When assisted location is implemented, the terminal device is required to obtain an address of the assisted location server, thereby interacting with the assisted location server to obtain assisted location data. In the related art, the terminal device stores an address of one or more assisted location servers in advance. If an address of only one assisted location server is stored, the assisted location server may not be universal. If addresses of multiple assisted location servers are stored, but these addresses may not all be available in a current network, and the terminal device may sequentially try to be connected to each server until finding an available server, which may affect the assisted location efficiency. Therefore, how to obtain an address of an available assisted location server in a current network is a technical problem urgent to be solved by those skilled in the art.
The present disclosure provides a communication method, a device, and a storage medium. A terminal device may obtain an address of an available assisted location server in a current network.
According to a first aspect, the present disclosure provides a communication method, including:
According to a second aspect, the present disclosure provides a communication method, including:
According to a third aspect, the present disclosure provides a terminal device, including:
According to a fourth aspect, the present disclosure provides a network device, including:
According to a fifth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, storing a computer program which, when executed by a processor, implements the methods as described in any one of the first aspect and the second aspect.
According to a sixth aspect, an embodiment of the present disclosure provides a terminal device, including:
According to a seventh aspect, an embodiment of the present disclosure provides a network device, including:
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the specification, serve to explain the principle of the present disclosure.
Specific embodiments of the present disclosure have been shown in the drawings, and more detailed descriptions will be made hereinafter. These drawings and text descriptions are not for limiting the scope of the concept of the present disclosure in any manner but for explaining the concept of the present disclosure to those skilled in the art with reference to the specific embodiments.
Exemplary embodiments will now be described in detail, examples of which are represented in the drawings. When the following descriptions involve the drawings, the same numerals in different drawings represent the same or similar elements, unless otherwise indicated. Implementations described in the following exemplary embodiments do not represent all Implementations consistent with the present disclosure. Instead, they are merely examples of an apparatus and method consistent with some aspects of the present disclosure described in detail in the appended claims.
Terms “include” and “have” in the specification, claims, and drawings of the present disclosure and any transformation thereof are intended to cover nonexclusive inclusions. For example, a process, method, system, product, or device including a series of steps or units is not limited to the listed steps or units but optionally further includes steps or units which are not listed, or optionally further includes other steps or units intrinsic to the process, the method, the product, or the device.
First of all, terms and application scenarios involved in the present disclosure are introduced.
In the embodiments of the present disclosure, a terminal device may refer to various User Equipment (UE), an access terminal, a user unit, a user station, a mobile radio station, a Mobile Station (MS), a remote station, a remote terminal, a mobile device, a user terminal, terminal equipment, a wireless communication device, a user agent, or a user apparatus. The terminal device may also be a cell phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handheld device with a wireless communication function, a computing device or other processing devices connected to a wireless modem, a vehicle device, a wearable device, a terminal device in a future 5G network, or a terminal device in a future evolved Public Land Mobile Network (PLMN), etc. No limits are made thereto in the embodiments of the present disclosure.
In the embodiments of the present disclosure, a network device may include network element in a communication network (such as a radio access network or a core network), such as a Mobility Management Entity (MME) in a core network in 4G network, an Access and Mobility Management Function (AMF) and Session Management Function (SMF) in 5G New Radio (NR), and a network device in a future new communication system, etc.
An assisted location function of a terminal device has to rely on a server that provides assisted location data for the terminal device, and operators in different regions may choose different assisted location servers, where the different assisted location servers are used for transmitting assisted location data between the terminal device and the assisted location servers.
In some embodiments, the assisted location server is an assisted location server that follows a Secure User Plane Location (SUPL) protocol. The SUPL protocol is formulated by the Open Mobile Alliance (OMA).
For a network, the input cost of the SUPL protocol is low, and a corresponding SUPL server may be constructed based on a Transmission Control Protocol (TCP)/Internet Protocol (IP) network. Therefore, the SUPL protocol is used extensively.
In the related art, a terminal device may obtain an SUPL server address in the following several manners.
A Subscriber Identity Module (SIM) card may store an SUPL server address provided by a corresponding operator. However, most issued SIM cards do not provide SUPL server addresses.
A terminal device may store a one or more SUPL server addresses when leaving the factory. However, most terminal devices do not store SUPL server address. Even though there are stored SUPL server addresses, if only one address is stored, it is likely that this address is not universal because of laws and regulations (for example, supl.google.com is unavailable in the mainland of China, etc.). If multiple addresses are stored, the terminal device may sequentially try to be connected to each server until finding an available server in the current network, which may affect the overall Time To First Fix (TTFF).
The TTFF refers to time from first event-based triggering of determining location related data to obtaining the location related data at a positioning system interface.
In summary, in actual applications, how to obtain an available SUPL server address meeting requirement in a current network is a technical problem to be solved.
According to a method of the embodiments of the present disclosure, a terminal device is registered in a network to obtain an address of an assisted location server provided by the current network. That is, the terminal device obtains an address of an assisted location server by interaction with a network device of the current network.
The technical solution of the present disclosure will be described below in detail with specific embodiments. The following several specific embodiments may be combined with one another. The same or similar concepts or processes will not be elaborated in some embodiments.
In S101, sending, by a terminal device, a request message to a network device, where the request message includes capability information of the terminal device in supporting assisted location.
Specifically, a terminal device, before requesting an assisted location server for assisted location data, sends capability information of supporting assisted location to a network device to inform the network device that the terminal device has a capability of supporting assisted location such that the network device sends address information of the assisted location server to the terminal device.
The terminal device interacts with the assisted location server for assisted location according to the address information of the assisted location server.
In an embodiment, assisted location follows an SUPL protocol.
In S102, receiving, by the terminal device, a response message sent by the network device, where the response message includes address information of an assisted location server.
Specifically, the network device, after receiving the request of the terminal device, learns that the terminal device has the capability of supporting assisted location, and sends a response message including the address information of the assisted location server to the terminal device.
The terminal device obtains an address of the assisted location server provided by a network side through a network where it is registered, and is connected with the assisted location server to obtain the assisted location data.
The address information of the assisted location server may include an address of one or more assisted location servers. The terminal device selects one assisted location server, and is connected with the assisted location server to obtain the assisted location data.
If the network changes or receives an address of a new assisted location server, it is required to connect other assisted location servers again.
The address of the assisted location server provided by the network side is not limited to be provided by an operator, and may also be a public server address of a corresponding country/region.
According to the method of the present embodiment, the terminal device initiates a request to the network side to obtain the address of the assisted location server provided by the current network. That is, the terminal device obtains an address of an available assisted location server in the current network by interaction with the network device of the current network. Therefore, the efficiency is relatively high.
Based on the above-mentioned embodiment, the terminal device may obtain the address of the assisted location server provided by the network through the network where it is registered in multiple signaling interaction processes. For example, the terminal device obtains the address of the available assisted location server from the network side by interaction with the network device during registration to the wireless network or after successful registration.
In an embodiment, S101 may be implemented in the following manners:
Specifically, the terminal device informs the network side that the terminal device supports assisted location, such as supporting the SUPL protocol, when initiating a registration request.
The network learns from the received registration request that the terminal device supports assisted location, and then may add the address of the assisted location server that the network side expects the terminal device to use to a registration accept message.
Alternatively, the terminal device initiates a request to the network side after successful network registration, namely after registered to the wireless network. For example, the request is initiated during PDU session establishment or in other processes.
In an embodiment, the request message includes indication information, where the indication information is used for indicating that the terminal device supports assisted location, namely the terminal device has the capability of supporting assisted location.
In an embodiment, S102 may be implemented in the following manners:
In summary, the terminal device may interact with the network device during network registration to obtain the address of the assisted location server. Alternatively, the terminal device may interact with the network device after successful network registration to obtain the address of the assisted location server. Alternatively, the two processes may be combined. For example, the terminal device informs the network side that “the terminal supports assisted location” through the request message initiated for registration, and the network side sends the address of the assisted location server to the terminal device after subsequent network registration succeeds.
In other embodiments, the network side may actively send the address of the assisted location server to the terminal device through a specific message.
In the above-mentioned implementation, the terminal device may obtain the address of the assisted location server provided by the network through the network where it is registered in multiple signaling interaction processes. For example, the terminal device obtains the address of the available assisted location server from the network side by interaction with the network device during registration to the wireless network or after successful registration. Therefore, the flexibility is relatively high and operation is convenient.
In an embodiment, the address information of the assisted location server may be represented by an address information list.
In an embodiment, the address information of the assisted location server includes a length of the address information, an address of at least one assisted location server, and a length of the address of each assisted location server.
Specifically, the address information of the assisted location server sent by the network side may include an address of one or more assisted location servers, and may further include a total length of the address information, such as the number of bytes of the length, and a length of the address of each assisted location server.
In an embodiment, the method further includes the following steps:
Specifically, if addresses of multiple assisted location servers are included, the terminal device may select a target assisted location server according to a sequence of the address of each assisted location server in the address information, and establish a connection with the target assisted location server. The address of each assisted location server included in the address information may be sequenced by priority.
Alternatively, the terminal device may select a target assisted location server according to a priority of the address of each assisted location server, and establish a connection with the target assisted location server.
Further, the address information further includes priority information corresponding to each assisted location server.
The terminal device determines address information of the target assisted location server according to the address of the at least one assisted location server and the priority information corresponding to each assisted location server.
In an embodiment, the terminal device may select an address of a target assisted location server according to a priority sequence, for example, selecting from addresses of assisted location servers stored in a SIM card, or selecting from addresses of assisted location servers sent by the network side, or selecting from addresses of assisted location servers stored in the terminal device.
For example, it is first selected from the addresses of the assisted location servers stored in the SIM card, if no, a request is initiated to the network side to obtain the addresses of the assisted location servers sent by the network side to select from the addresses of the assisted location servers sent by the network side.
If the address of assisted location server sent by the network side is not received, it is selected from the addresses of the assisted location servers stored in the terminal device.
In the above-mentioned implementation, the terminal device selects the address of the available assisted location server from the addresses of the assisted location servers provided by the network side, so that the operation is convenient and the efficiency is relatively high.
In an embodiment, there are specifically the following several scenarios when the terminal device interacts with the network device to obtain the address of the assisted location server during registration to the network device.
For a 5G system, as shown in
For example, indication information is added to an information element (IE) 5G Mobile Management (MM) capability of the REGISTRATION REQUEST message to indicate that the terminal device supports assisted location, i.e., an SUPL standard. A length of the indication information is, for example, 1 bit, as shown by an SUPL field in the following Table 1. For example, if the SUPL field is 1, it indicates that assisted location is supported; and if the SUPL field is 0, it indicates that assisted location is not supported.
For example, an IE is added to the REGISTRATION ACCEPT, and the address of the assisted location server (such as an SUPL server address) provided by the network side is sent to the terminal device.
In the following Table 2, TLV format represents type-length-value, and O represents OPTION.
For example, the IE identifier is XX, and a content of the IE is address information of an assisted location server, such as a preferred assisted location server address list. A total length of the address information is, for example, 7 to 100 bytes, or other lengths. No limits are made thereto in the embodiment of the present disclosure.
A format of the address information of the assisted location server is specifically as shown in Table 3. In Table 3, the address information of the assisted location server includes a total length of the address list, an address of each assisted location server, and a length of the address of each assisted location server.
For a 4G system, as shown in
For example, indication information is added to an IE UE network capability of the ATTACH REQUEST message to indicate that the terminal device supports assisted location, such as supporting an SUPL standard. A length of the indication information is, for example, 1 bit, as shown by an SUPL field in the following Table 4. For example, if the SUPL field is 1, it indicates that assisted location is supported; and if the SUPL field is 0, it indicates that assisted location is not supported.
For example, an IE is added to the ATTACH ACCEPT, and the address of the assisted location server provided by the network is sent to the terminal device, referring to the following Table 5. This situation is like the 5G system, and elaborations are omitted herein.
For a 2G/3G system, as shown in
For example, indication information is added to an IE MS network feature support of the LOCATION UPDATING REQUEST message to indicate that the terminal device supports assisted location, such as supporting an SUPL standard. A length of the indication information is, for example, 1 bit, as shown by an SUPL field in the following Table 6. For example, if the SUPL field is 1, it indicates that assisted location is supported; and if the SUPL field is 0, it indicates that assisted location is not supported.
For example, an IE is added to the LOCATION UPDATING ACCEPT, and the SUPL server address provided by the network side is sent to the terminal device, referring to the following Table 7. This situation is like the 5G system, and elaborations are omitted herein.
In an embodiment, there are specifically the following several scenarios when the terminal device interacts with the network device to obtain the address of the assisted location server after successful registration to the network device.
After the terminal device is successfully registered to the network device, parameters, such as the capability information of the terminal device in supporting SUPL and the address information of the assisted location server, may be transmitted between the terminal device and the network device by use of Protocol Configuration Options (PCO).
The following Table 8 shows part of contents of the PCO IE. In Table 8, an indication sent to the network device by the terminal device includes 0031H (SUPL server address request, i.e., SUPL SERVER ADDRESS REQUEST message), and an indication sent to the terminal device by the network device includes 0031H (SUPL server address information, i.e., SUPL Server Address List message).
In an embodiment, for a 5G system, as shown in
For example, indication information is added to PCO of the PDU SESSION ESTABLISHMENT REQUEST message to indicate that the terminal device supports assisted location, such as supporting an SUPL standard.
For example, indication information is added to PCO of the PDU SESSION ESTABLISHMENT ACCEPT message to instruct the address of the assisted location server (such as the SUPL server address list) provided by the network side to be sent to the terminal device. A format of the SUPL server address list information may be similar to that in the above-mentioned Table 3, and will not be elaborated herein.
In an embodiment, for a 4G system, as shown in
For example, indication information is added to PCO of the PDN CONNECTIVITY REQUEST message to indicate that the terminal device supports assisted location, such as supporting an SUPL standard.
For example, indication information is added to PCO of the ACTIVATE DEFAULT EPS BEARER CONTEXT REQUEST message to instruct the address of the assisted location server (such as the SUPL server address list) provided by the network side to be sent to the terminal device. A format of the SUPL server address list information may be similar to that in Table 3, and will not be elaborated herein.
In an embodiment, for a 2G/3G system, as shown in
For example, indication information is added to PCO of the ACTIVATE PDP CONTEXT REQUEST message to indicate that the terminal device supports assisted location, such as supporting an SUPL standard.
For example, indication information is added to PCO of the ACTIVATE PDP CONTEXT ACCEPT message to instruct the address of the assisted location server (such as the SUPL server address list) provided by the network side to be sent to the terminal device. A format of the SUPL server address list information may be similar to that in Table 3, and will not be elaborated herein.
In S201, receiving, by a network device, a request message sent by a terminal device, where the request message includes capability information of the terminal device in supporting assisted location.
In S202, sending, by the network device, a response message to the terminal device, where the response message includes address information of an assisted location server.
In an embodiment, the assisted location follows an SUPL protocol.
In an embodiment, the receiving, by the network device, the request message sent by the terminal device includes:
In an embodiment, sending, by the network device, a response message to the terminal device includes:
In an embodiment, the address information of the assisted location server includes a length of the address information, an address of at least one assisted location server, and a length of the address of each assisted location server.
In an embodiment, the address information further includes priority information corresponding to each assisted location server.
An implementation principle and technical effects of the method of the present embodiment are similar to those of the embodiment corresponding to the terminal device side, and will not be elaborated herein.
In a possible implementation, the sending module 110 is specifically configured to:
In a possible implementation, the receiving module 111 is specifically configured to:
In a possible implementation, the request message includes indication information, and the indication information is used for indicating that the terminal device supports assisted location.
In a possible implementation, the address information of the assisted location server includes a length of the address information, an address of at least one assisted location server, and a length of the address of each assisted location server.
In a possible implementation, the address information further includes priority information corresponding to each assisted location server.
In a possible implementation, the terminal device further includes:
In a possible implementation, the processing module is specifically configured to:
determine the address information of the target assisted location server according to the address of the at least one assisted location server and the priority information corresponding to each assisted location server.
In a possible implementation, the request message includes a PDU session establishment request message, and the sending module 110 is specifically configured to:
send the PDU session establishment request message to the network device after successful network registration.
In a possible implementation, the assisted location follows an SUPL protocol.
The terminal device of the present embodiment may be configured to perform the technical solution in the method embodiment corresponding to the terminal device side, and an implementation principle and technical effects thereof are similar to those of the method embodiment, and will not be elaborated herein.
The terminal device provided in the embodiment of the present disclosure may be a chip, a hardware module, a processor, etc. Certainly, the terminal device may be in other forms, and no limits are made thereto in the embodiment of the present disclosure.
In a possible implementation, the assisted location follows an SUPL protocol.
In a possible implementation, the receiving module 210 is specifically configured to:
In a possible implementation, the sending module 211 is specifically configured to:
In a possible implementation, the address information of the assisted location server includes a length of the address information, an address of at least one assisted location server, and a length of the address of each assisted location server.
In a possible implementation, the address information further includes priority information corresponding to each assisted location server.
The network device of the present embodiment may be configured to perform the technical solution in the method embodiment corresponding to the network device side, and an implementation principle and technical effects thereof are similar to those of the method embodiment, and will not be elaborated herein.
The network device provided in the embodiment of the present disclosure may be a chip, a hardware module, a processor, etc. Certainly, the network device may be in other forms, and no limits are made thereto in the embodiment of the present disclosure.
a processor 1101 and a memory 1102 configured to store an executable instruction for the processor 1101.
Optionally, the terminal device may further include an interface 1103, configured to implement communication with other devices.
The above-mentioned components may communicate through one or more buses.
The processor 1101 is configured to execute the executable instruction to perform the corresponding method in the method embodiment corresponding to the terminal device side, and a specific implementation process thereof may refer to the foregoing method embodiment, and will not be elaborated herein.
a processor 1201 and a memory 1202 configured to store an executable instruction for the processor 1201.
Optionally, the network device may further include an interface 1203, configured to implement communication with other devices.
The above-mentioned components may communicate through one or more buses.
The processor 1201 is configured to execute the executable instruction to perform the corresponding method in the method embodiment corresponding to the network device side, and a specific implementation process thereof may refer to the method embodiment, and will not be elaborated herein.
An embodiment of the present disclosure also provides a computer-readable storage medium, storing a computer program which, when executed by a processor, implements the corresponding method in the above-mentioned method embodiment. A specific implementation process may refer to the method embodiment, and an implementation principle and technical effects thereof are similar to those of the method embodiment, and will not be elaborated herein.
An embodiment of the present disclosure also provides a program, which, when executed by a processor, is used for performing the technical solution in any one of the above-mentioned method embodiments.
Optionally, the processor may be a chip.
An embodiment of the present disclosure also provides a computer program product, including a program instruction for implementing the technical solution in any one of the above-mentioned method embodiments.
An embodiment of the present disclosure also provides a chip, including a processing module and a communication interface, where the processing module may perform the technical solution corresponding to the terminal device side in any one of the above-mentioned method embodiments.
Further, the chip further includes a storage module (such as a memory), configured to store an instruction. The processing module is configured to execute the instruction stored in the storage module. Execution of the instruction stored in the storage module enables the processing module to perform the technical solution corresponding to the terminal device side in any one of the above-mentioned method embodiments.
An embodiment of the present disclosure also provides a chip, including a processing module and a communication interface, where the processing module may perform the technical solution corresponding to the network device side in any one of the above-mentioned method embodiments.
Further, the chip further includes a storage module (such as a memory), configured to store an instruction, where the processing module is configured to execute the instruction stored in the storage module, and execution of the instruction stored in the storage module enables the processing module to perform the technical solution corresponding to the network device side in any one of the above-mentioned method embodiments.
Other implementations of the present disclosure are apparent to those skilled in the art upon considering the specification and practicing the disclosure disclosed herein. The present disclosure is intended to cover any transformations, uses, or adaptive variations of the present disclosure, and these transformations, uses, or adaptive variations follow the general principle of the present disclosure, and include common general knowledge or conventional technical means undisclosed in the present disclosure in this art. The specification and the embodiments are only regarded as examples, and the practical scope and spirit of the present disclosure are specified in the appended claims.
It is to be understood that the present disclosure is not limited to the precise structures described above and shown in the drawings, and various modifications and variations may be made without departing from the scope thereof. The scope of the present disclosure is only defined by the appended claims.
Number | Date | Country | Kind |
---|---|---|---|
202010718064.0 | Jul 2020 | CN | national |
This application is a national stage of International Application No. PCT/CN2021/099010, filed on Jun. 08, 2021, which claims priority to Chinese Patent Application No. 202010718064.0, filed on Jul. 23, 2020, both of which are hereby incorporated by reference in their entireties.
Filing Document | Filing Date | Country | Kind |
---|---|---|---|
PCT/CN2021/099010 | 6/8/2021 | WO |