Position determination method and device, storage medium and electronic equipment

By receiving location instructions via SMS during 5G video calls and encrypting the location information, the problems of high positioning latency and insufficient information security in existing technologies are solved, achieving faster location acquisition and more reliable information transmission.

CN121815188APending Publication Date: 2026-04-07BEIJING ZHONGKE JINDEZHU INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-08
Publication Date
2026-04-07

AI Technical Summary

Technical Problem

When making video calls in a 5G environment, existing technologies rely on base station deployment density and signal models to determine the terminal location, resulting in high positioning latency and inability to trigger in real time, and failing to guarantee the information security of location information.

Method used

By receiving a location command via SMS from the server, the terminal device obtains its location information, encrypts it according to an encrypted format, and then sends it back. The server then updates the location of the terminal device.

Benefits of technology

It reduces the latency of location acquisition during video calls, improves the timeliness of location acquisition, and enhances the security of information transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121815188A_ABST
    Figure CN121815188A_ABST
Patent Text Reader

Abstract

The invention discloses a position determination method and device, a storage medium and electronic equipment, and relates to the technical field of communication, and the method comprises the steps: responding to a condition that target terminal equipment is in a 5G video communication state, and receiving a short message positioning instruction sent by a server; acquiring position information of the target terminal equipment based on the short message positioning instruction; encrypting the position information according to an encryption format indicated by the short message positioning instruction; and sending the encrypted position information to the server, wherein the position information is used for updating the position of the target terminal equipment by the server. Compared with the prior art, the method can respond to the obtaining operation of the starting position information of the short message instruction, reduces the positioning obtaining delay in the video call process, and improves the timeliness of position obtaining; in addition, the position information can be sent after being encrypted through the encryption format in the short message positioning instruction, the information transmission safety is improved, and the position information obtaining process is more reliable.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a location determination method, apparatus, storage medium and electronic device. Background Technology

[0002] Compared to 4G or Wi-Fi, 5G video calls offer ultra-low latency, high bandwidth, high reliability, and wide connectivity, significantly improving image quality, smoothness, interactive experience, and the boundaries of application scenarios. It's not just about faster video; it's a new infrastructure for immersive real-time communication.

[0003] Currently, in 5G environments, the location information of a terminal is mainly obtained by calculating the confidence difference between the signal propagation distance and the estimated distance during video calls.

[0004] However, this method relies on base station deployment density and signal model to determine the terminal's location information, resulting in high positioning latency during video calls. Furthermore, it requires the terminal to actively report data, making it impossible to trigger in real time during video calls and compromising the security of location information. Summary of the Invention

[0005] In view of this, this application provides a location determination method, apparatus, storage medium and electronic device, the main purpose of which is to improve the technical problems of the prior art which relies on base station deployment density and signal model to determine the location information of the terminal, resulting in high positioning delay during video calls, and requires the terminal to actively report data, which cannot be triggered in real time during video calls and cannot guarantee the information security of location information.

[0006] Firstly, this application provides a method for determining a location, including: In response to the target terminal device being in 5G video communication mode, receive the SMS location instruction sent by the server; The location information of the target terminal device is obtained based on the SMS location command; The location information is encrypted according to the encryption format indicated by the SMS location instruction; The encrypted location information is sent to the server, and the location information is used by the server to update the location of the target terminal device.

[0007] Optionally, obtaining the location information of the target terminal device based on the SMS location instruction includes: The signature validity is verified based on the identification information in the SMS location command. If the signature validity verification passes, a first request to obtain the location information is generated. The first request to obtain the location information is used to request the user to authorize the acquisition of the location information from the target location service. In response to the user's confirmation and authorization command, the location information is obtained through the location service.

[0008] Optionally, after generating the first request to obtain the location information if the signature validity verification passes, the method further includes: In response to the user's denial of authorization instruction, a second acquisition request for the location information is generated, wherein the first acquisition request is used to request the access network device connected to the target terminal device to determine the location information; Receive the location information sent by the access network device.

[0009] Optionally, encrypting the location information according to the encryption format indicated by the SMS location instruction includes: Determine the timestamp information corresponding to the location information; Based on the timestamp information and the identification information, the location information is encrypted according to the encryption format indicated by the SMS location instruction.

[0010] Secondly, this application provides a location determination method, including: In response to the target terminal device being in 5G video communication state, the identification information and encryption information corresponding to the terminal device are obtained; Based on the identification information and the encryption information, a text message location instruction for the target terminal device is generated; Send the SMS location command to the target terminal device; In response to receiving encrypted location information sent by the target terminal device, the location of the target terminal device is marked based on the encrypted location information.

[0011] Thirdly, this application provides a location determining device, comprising: The receiving module is configured to receive a location command sent by the server in response to the target terminal device being in 5G video communication state; The acquisition module is configured to acquire the location information of the target terminal device based on the SMS location instruction; The encryption module is configured to encrypt the location information according to the encryption format indicated by the SMS location instruction; The sending module is configured to send encrypted location information to the server, the location information being used by the server to update the location of the target terminal device.

[0012] Fourthly, this application provides a location determination device, comprising: The acquisition module is configured to acquire the identification information and encryption information corresponding to the target terminal device in response to the target terminal device being in 5G video communication state; The generation module is configured to generate a text message location instruction for the target terminal device based on the identification information and the encryption information; The sending module is configured to send the SMS location command to the target terminal device; The marking module is configured to mark the location of the target terminal device based on the encrypted location information received from the target terminal device.

[0013] Fifthly, this application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the position determination method described in the first and second aspects.

[0014] In a sixth aspect, this application provides an electronic device, including a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, wherein the processor executes the computer program to implement the position determination method described in the first and second aspects.

[0015] In a seventh aspect, this application provides a computer program product comprising a computer program that, when executed by a processor, implements the position determination method described in the first and second aspects.

[0016] By employing the above technical solutions, this application provides a location determination method, apparatus, storage medium, and electronic device, comprising: receiving a text message location command sent by a server in response to a target terminal device being in 5G video communication mode; obtaining location information of the target terminal device based on the text message location command; encrypting the location information according to the encryption format indicated by the text message location command; and sending the encrypted location information to the server, wherein the location information is used by the server to update the location of the target terminal device. Compared with the prior art, this application, by receiving a text message location command sent by a server in response to a target terminal device being in 5G video communication mode and obtaining the location information of the target terminal device based on the text message location command, enables this application to initiate the location information acquisition operation in response to the text message command, reducing the location acquisition delay during video calls and improving the timeliness of location acquisition; this application can also encrypt the location information before sending it by using the encryption format in the text message location command, improving the security of information transmission and making the location information acquisition process more reliable. Attached Figure Description

[0017] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0018] To more clearly illustrate the technical solutions in the embodiments of this application 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.

[0019] Figure 1 A schematic flowchart of a location determination method provided in an embodiment of this application is shown; Figure 2 A schematic flowchart of a location determination method provided in an embodiment of this application is shown; Figure 3 This illustration shows a schematic diagram of a position determination device provided in an embodiment of this application; Figure 4 This illustration shows a schematic diagram of a position determination device provided in an embodiment of this application; Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of this application is shown. Detailed Implementation

[0020] The embodiments of this application will now be described in more detail with reference to the accompanying drawings. It should be noted that, unless otherwise specified, the embodiments and features described herein can be combined with each other.

[0021] To address the technical issues of current technologies that rely on base station deployment density and signal models to determine terminal location information, resulting in high positioning latency during video calls, and requiring the terminal to actively report data, which prevents real-time triggering during video calls and compromises the security of location information, this embodiment provides a location determination method, such as... Figure 1 As shown, the method includes: Step 101: In response to the target terminal device being in 5G video communication state, receive the SMS location instruction sent by the server.

[0022] In this embodiment of the application, the target terminal device can be a terminal device in 5G video communication state. Specifically, the terminal device (End-User Device / Terminal Device) can be a hardware device that is directly operated by the user for accessing the network, running applications, and obtaining services. For example, the terminal device can include, but is not limited to, mobile phones, tablets, desktop computers, vehicle-mounted systems, etc.

[0023] In some examples, the 5G video communication status can refer to the state of a terminal device conducting video communication in a 5G network environment; for example, the video communication status can include, but is not limited to, the state of a terminal device during video calls, video conferences, live interactive sessions, etc., in a 5G network environment.

[0024] For example, if user 1 and user 2 respectively connect to a video call in a 5G network environment through terminal device 1 and terminal device 2, it can be determined that terminal device 1 and terminal device 2 can be the target terminal devices in this application embodiment, and terminal device 1 and terminal device 2 are in the 5G video communication state in this application embodiment.

[0025] As an alternative approach, if user 1 and user 3 connect to a video conference in a 5G network environment through terminal device 1 and terminal device 3 respectively, then terminal device 1 and terminal device 3 can be determined to be the target terminal devices in this application embodiment, and terminal device 1 and terminal device 3 are in the 5G video communication state in this application embodiment.

[0026] As an alternative approach, if user 2 and user 3 conduct live interaction in a 5G network environment through terminal device 2 and terminal device 3 respectively, then terminal device 2 and terminal device 3 can be determined to be the target terminal devices in this application embodiment, and terminal device 2 and terminal device 3 are in the 5G video communication state in this application embodiment.

[0027] In this embodiment, in a 5G video communication system, the server-side can undertake core functions such as media processing, session control, resource scheduling, intelligent enhancement, and network collaboration. Compared with 4G or traditional video communication architectures, the server-side in a 5G environment needs to deeply coordinate with 5G network capabilities (such as network slicing, MEC, and QoS assurance) to achieve an ultra-high-definition, low-latency, highly reliable, and intelligent video communication experience. It should be noted that the server-side in this embodiment can also be a server, a cloud server, a remote server, etc.

[0028] In this embodiment, the SMS location command can be a command sent by the server to the terminal device to trigger the acquisition of location information. Specifically, the SMS location command in this embodiment can include a unique identifier (such as a UUID) and an encryption token. For example, the video call server (i.e., the server in this embodiment) can send an SMS command containing a unique identifier (such as a UUID) and an encryption token to the client terminal (i.e., the target terminal device in this embodiment). The SMS content format can be: GET_LOCATION: <uuid> : <timestamp> : <signature>.

[0029] In this embodiment, a unique identifier is a standard mechanism for generating globally unique IDs in a distributed system without centralized coordination. Its core objective is to ensure that IDs generated by any device at any time are virtually unique, without relying on a central registry.

[0030] In some examples, the encrypted information can specifically be a cryptographic token, a digital credential generated based on cryptographic principles for authentication, authorization, or data protection. It is not a simple string, but a secure object constructed using a key, algorithm, and payload, possessing characteristics such as anti-forgery, anti-tampering, and verifiability. It should be noted that the use of cryptographic tokens in this application embodiment ensures the security of the location determination process.

[0031] For example, if user 1 and user 2 respectively connect to a video call in a 5G network environment through terminal device 1 and terminal device 2, it can be determined that terminal device 1 and terminal device 2 can be the target terminal devices in this application embodiment. If terminal device 1 and terminal device 2 are in the 5G video communication state in this application embodiment, a text message location command can be sent to terminal device 1 and terminal device 2 to obtain the location information of terminal device 1 and terminal device 2.

[0032] As an alternative approach, if user 1 and user 3 connect to a video conference in a 5G network environment through terminal device 1 and terminal device 3 respectively, then terminal device 1 and terminal device 3 can be determined to be the target terminal devices in this application embodiment. If terminal device 1 and terminal device 3 are in the 5G video communication state in this application embodiment, then a text message location command can be sent to terminal device 1 and terminal device 3 to obtain the location information of terminal device 1 and terminal device 3.

[0033] Step 102: Obtain the location information of the target terminal device based on the SMS location command.

[0034] In this embodiment of the application, the location information can be the location information of the target terminal device, such as, but not limited to, latitude and longitude coordinates, data-format location information, etc.

[0035] As an alternative approach, if User 1 and User 2 have successfully connected to a video call in a 5G network environment via Terminal Device 1 and Terminal Device 2 respectively, then Terminal Device 1 and Terminal Device 2 can be identified as target terminal devices in this embodiment. Since Terminal Device 1 and Terminal Device 2 are in a 5G video communication state in this embodiment, a text message location command can be sent to Terminal Device 1 and Terminal Device 2 to obtain their location information. Subsequently, after receiving the text message location command, Terminal Device 1 and Terminal Device 2 can obtain their own location information.

[0036] As an alternative approach, if User 1 and User 3 connect to a video conference in a 5G network environment through Terminal Device 1 and Terminal Device 3 respectively, then Terminal Device 1 and Terminal Device 3 can be determined to be the target terminal devices in this application embodiment. If Terminal Device 1 and Terminal Device 3 are in the 5G video communication state in this application embodiment, then a text message location command can be sent to Terminal Device 1 and Terminal Device 3 to obtain their location information; and then after receiving the text message location command, Terminal Device 1 and Terminal Device 3 can obtain their own location information respectively.

[0037] Optionally, when executing "obtaining the location information of the target terminal device based on the SMS location command", the following method may be used, but is not limited thereto: the method includes: verifying the signature validity based on the identification information in the SMS location command; if the signature validity verification is successful, generating a first acquisition request for location information, the first acquisition request being used to request the user to authorize the acquisition of the location information from the target location service; and in response to the user's confirmation authorization command, acquiring the location information through the target location service.

[0038] In this embodiment, signature validation is a process that uses cryptographic methods to verify whether the digital signature of a piece of data is authentic, complete, and has not been tampered with. It is a core mechanism for ensuring data trustworthiness in scenarios such as communication security, identity authentication, software distribution, and electronic transactions.

[0039] For example, in this embodiment of the application, the target terminal device can perform signature validity verification based on the identification information in the SMS location instruction, and if the signature validity verification is successful, generate a request for the user to authorize the acquisition of the location information from the target location service.

[0040] In some examples, the first acquisition request may be a request for the user to authorize the acquisition of the location information from the target location service, which may be location service software, location service program, etc. in the target terminal device.

[0041] For example, when the target terminal device is terminal device 1, the target location service can be the location service software or location service program in terminal device 1. After the terminal device 1 passes the signature validity verification, it can generate a request for the user to authorize the acquisition of location information from the location service software or location service program in terminal device 1 (i.e., the first acquisition request in this application). When the user authorizes based on the first acquisition request, terminal device 1 can acquire its own location information from the location service software or location service program.

[0042] For example, when the target terminal device is terminal device 2, the target location service can be the location service software or location service program in terminal device 2. After the terminal device 2 passes the signature validity verification, it can generate a request for the user to authorize the acquisition of location information from the location service software or location service program in terminal device 2 (i.e., the first acquisition request in this application). When the user authorizes based on the first acquisition request, terminal device 2 can acquire its own location information from the location service software or location service program.

[0043] As an optional approach, the client terminal (i.e., the target terminal device in this application embodiment) can parse the instructions in the SMS message and trigger the positioning process after verifying the validity of the signature. Specifically, the client terminal (i.e., the target terminal device in this application embodiment) can call the system positioning service, such as the Fused LocationProvider, to request the user's authorization to obtain the real-time location. Among these options, GPS or Beidou high-precision mode can be selected first to obtain the location information of the client terminal (i.e., the target terminal device in this application embodiment).

[0044] Optionally, after executing "generating a first request to obtain location information if the signature validity verification passes", the following method may be used, but is not limited to: in response to the user's denial of authorization instruction, generating a second request to obtain location information, wherein the first request is used to request the access network device connected to the target terminal device to determine the location information; and receiving the location information sent by the access network device.

[0045] In some examples, the second acquisition request may be a request to the access network device to send location information. For example, when the target terminal device is terminal device 1, after the signature validity verification of terminal device 1 is passed, a request can be generated to request the user to authorize the acquisition of location information from the location service software or location service program in terminal device 1 (i.e., the first acquisition request in this application). If the user refuses to authorize the acquisition of location information from the location service software or location service program, then terminal device 1 can generate a request to request the access network device to send location information (i.e., the second acquisition request in this application embodiment) and receive its own location information sent by the access network device.

[0046] For example, when the target terminal device is terminal device 2, the target location service can be the location service software or location service program in terminal device 2. After the terminal device 2 passes the signature validity verification, it can generate a request for the user to authorize the acquisition of location information from the location service software or location service program in terminal device 2 (i.e., the first acquisition request in this application). If the user refuses to authorize the acquisition of location information from the location service software or location service program, then terminal device 2 can generate a request for the access network device to send location information (i.e., the second acquisition request in this application embodiment) and receive its own location information sent by the access network device.

[0047] As an alternative, if the user refuses authorization, the client terminal (i.e., the target terminal device in this application embodiment) can fall back to base station triangulation or WiFi fingerprint positioning as alternative solutions to obtain its own location information.

[0048] Step 103: Encrypt the location information according to the encryption format indicated by the SMS location instruction.

[0049] Optionally, when performing the "encryption of location information according to the encryption format indicated by the SMS location instruction", the following methods may be used, but are not limited to: determining the timestamp information corresponding to the location information; and encrypting the location information according to the encryption format indicated by the SMS location instruction based on the timestamp information and the identification information.

[0050] In this application embodiment, a timestamp can be a number or string representation that records the specific time point when an event occurred. In computer systems, network communications, security protocols, log tracing, and distributed systems, timestamps are a fundamental element for realizing key functions such as timing control, state synchronization, replay attack prevention, and audit tracing.

[0051] In this embodiment, the timestamp information corresponding to the location information can be determined, and then the location information can be encrypted according to the target encryption format based on the timestamp information and the identification information to obtain the encrypted location information in this application.

[0052] For example, when the target terminal device is terminal device 1, if terminal device 1 obtains its own location information 1, it can determine the timestamp information 1 of the location information 1, and encrypt the location information 1 according to the target encryption format based on the timestamp information 1 and the identification information 1 of terminal device 1 to obtain the encrypted location information in this application embodiment.

[0053] For example, when the target terminal device is terminal device 2, if terminal device 2 obtains its own location information 2, it can determine the timestamp information 1 of the location information 2, and encrypt the location information 2 according to the target encryption format based on the timestamp information 2 and the identification information 2 of terminal device 2 to obtain the encrypted location information in this application embodiment.

[0054] As an optional approach, the client terminal (i.e., the target terminal device in this application embodiment) can encrypt the obtained latitude and longitude coordinates (i.e., the location information in this application embodiment) through the HTTPS protocol to obtain the target encrypted information in this application embodiment, and send the target encrypted information to the video call server (i.e., the server in this application embodiment). The encryption algorithm adopts a standard encryption algorithm, such as SM4 encryption algorithm or AES-256 encryption algorithm, etc.

[0055] Step 104: Send the encrypted location information to the server.

[0056] Location information is used by the server to update the location of the target terminal device.

[0057] As an optional approach, the server can decrypt the encrypted location information upon receipt. After decryption, the server can update the customer's location marker in the call interface and synchronize it to the backend management system. It should be noted that the location data is only used for this call and is stored in the server's memory rather than in a persistent database.

[0058] Compared with existing technologies, this embodiment receives a location command sent by the server in response to the target terminal device being in 5G video communication mode, and obtains the location information of the target terminal device based on the location command. This allows the embodiment to initiate the location information acquisition operation in response to the SMS command, reducing the location acquisition delay during video calls and improving the timeliness of location acquisition. This embodiment can also encrypt the location information before sending it by using an encryption format in the SMS location command, improving the security of information transmission and making the location information acquisition process more reliable.

[0059] To illustrate the server-side processing, this embodiment also provides a location determination method, such as... Figure 2 As shown, it includes: Step 201: In response to the target terminal device being in 5G video communication state, obtain the identification information and encryption information corresponding to the terminal device.

[0060] In this embodiment, the executing entity can be a server, specifically a video call server. In a 5G video communication system, the server-side can undertake core functions such as media processing, session control, resource scheduling, intelligent enhancement, and network collaboration. Compared to 4G or traditional video communication architectures, the server in a 5G environment needs to deeply coordinate with 5G network capabilities (such as network slicing, MEC, and QoS assurance) to achieve an ultra-high-definition, low-latency, highly reliable, and intelligent video communication experience. It should be noted that the server in this embodiment can also be a server, a cloud server, a remote server, etc.

[0061] In this embodiment of the application, the target terminal device can be a terminal device in 5G video communication state. Specifically, the terminal device (End-User Device / Terminal Device) can be a hardware device that is directly operated by the user for accessing the network, running applications, and obtaining services. For example, the terminal device can include, but is not limited to, mobile phones, tablets, desktop computers, vehicle-mounted systems, etc.

[0062] In some examples, the 5G video communication status can refer to the state of a terminal device conducting video communication in a 5G network environment; for example, the video communication status can include, but is not limited to, the state of a terminal device during video calls, video conferences, live interactive sessions, etc., in a 5G network environment.

[0063] For example, if User 1 and User 2 connect to a video call in a 5G network environment through Terminal Device 1 and Terminal Device 2 respectively, the identification information and encryption information corresponding to Terminal Device 1 and Terminal Device 2 can be obtained respectively; if User 1 and User 3 connect to a video conference in a 5G network environment through Terminal Device 1 and Terminal Device 3 respectively, the identification information and encryption information corresponding to Terminal Device 1 and Terminal Device 3 can be obtained respectively; if User 2 and User 3 conduct live interaction in a 5G network environment through Terminal Device 2 and Terminal Device 3 respectively, the identification information and encryption information corresponding to Terminal Device 2 and Terminal Device 3 can be obtained respectively. Step 202: Generate a text message location command for the target terminal device based on the identification information and encryption information.

[0064] In this embodiment, the SMS location command can be a command sent by the server to the terminal device to trigger the acquisition of location information. Specifically, the SMS location command in this embodiment can include a unique identifier (such as a UUID) and an encryption token. For example, the video call server (i.e., the server in this embodiment) can send an SMS command containing a unique identifier (such as a UUID) and an encryption token to the client terminal (i.e., the target terminal device in this embodiment). The SMS content format can be: GET_LOCATION: <uuid> : <timestamp> : <signature>.

[0065] In this embodiment, a unique identifier is a standard mechanism for generating globally unique IDs in a distributed system without centralized coordination. Its core objective is to ensure that IDs generated by any device at any time are virtually unique, without relying on a central registry.

[0066] In some examples, the encrypted information can specifically be a cryptographic token, a digital credential generated based on cryptographic principles for authentication, authorization, or data protection. It is not a simple string, but a secure object constructed using a key, algorithm, and payload, possessing characteristics such as anti-forgery, anti-tampering, and verifiability. It should be noted that the use of cryptographic tokens in this application embodiment ensures the security of the location determination process.

[0067] For example, if user 1 and user 2 connect to a video call in a 5G network environment via terminal device 1 and terminal device 2 respectively, the identification information and encryption information corresponding to terminal device 1 and terminal device 2 can be obtained respectively. Based on this information, SMS location commands for terminal device 1 and terminal device 2 can be generated respectively.

[0068] As an alternative approach, if User 1 and User 3 connect to a video conference in a 5G network environment through Terminal Device 1 and Terminal Device 3 respectively, the identification information and encryption information corresponding to Terminal Device 1 and Terminal Device 3 can be obtained respectively. Based on the identification information and encryption information corresponding to Terminal Device 1 and Terminal Device 3 respectively, SMS location instructions for Terminal Device 1 and Terminal Device 3 can be generated respectively.

[0069] Step 203: Send a location command via SMS to the target terminal device.

[0070] For example, if user 1 and user 2 connect to a video call in a 5G network environment through terminal device 1 and terminal device 2 respectively, the identification information and encryption information corresponding to terminal device 1 and terminal device 2 can be obtained respectively. Then, based on the identification information and encryption information corresponding to terminal device 1 and terminal device 2 respectively, SMS location instructions for terminal device 1 and terminal device 2 can be generated respectively, and the SMS location instructions for terminal device 1 and terminal device 2 can be sent to terminal device 1 and terminal device 2 respectively.

[0071] As an alternative approach, if User 1 and User 3 connect to a video conference in a 5G network environment through Terminal Device 1 and Terminal Device 3 respectively, the identification information and encryption information corresponding to Terminal Device 1 and Terminal Device 3 can be obtained respectively. Based on the identification information and encryption information corresponding to Terminal Device 1 and Terminal Device 3 respectively, SMS location instructions for Terminal Device 1 and Terminal Device 3 can be generated respectively, and the SMS location instructions for Terminal Device 1 and Terminal Device 3 can be sent to Terminal Device 1 and Terminal Device 3 respectively.

[0072] Step 204: In response to receiving encrypted location information sent by the target terminal device, mark the location of the target terminal device based on the encrypted location information.

[0073] As an optional approach, the server can decrypt the encrypted location information upon receipt. After decryption, the server can update the customer's location marker in the call interface and synchronize it to the backend management system. It should be noted that the location data is only used for this call and is stored in the server's memory rather than in a persistent database.

[0074] Among related technologies, 5G positioning technology (such as triangulation and base station signal model) relies on base station data or dedicated positioning services, which cannot be triggered in real time during video calls. Furthermore, when obtaining location through base station coarse positioning or LPP protocol, there are problems of insufficient accuracy and the need for multiple handshake interactions, making it difficult to meet the real-time requirements of video communication.

[0075] It should be noted that the embodiments of this application can shorten the positioning response time to within 2 seconds through the SMS triggering mechanism, which is a significant optimization compared to the 5-10 second delay of traditional base station positioning; it can support all terminal devices that support 5G SMS function without the need for pre-installed application; the positioning error in open areas can be less than or equal to 5 meters, and the error in indoor scenes can be less than or equal to 20 meters, which is better than the 50-meter error of pure base station positioning.

[0076] It should be noted that the embodiments of this application can also display a dynamic QR code on the call interface, and the user can jump to the system location interface after scanning the code, but this requires the terminal camera to support it; dynamic passwords can also be embedded in the SMS, which requires the customer to enter the password for authorization, and is suitable for high-security scenarios; or a pre-agreed message / password can be replied to in the SMS, which requires the customer to enter the pre-agreed message / password to obtain the geographical location, and is also suitable for high-security scenarios.

[0077] It should be noted that the embodiments of this application can combine timestamps and digital signatures to prevent replay attacks; can also obtain geographical location through operator SMS; can also make dynamic decisions based on signal strength and positioning accuracy; and can also encrypt and transmit location information after local desensitization on the terminal.

[0078] Compared with existing technologies, this embodiment receives a location command sent by the server in response to the target terminal device being in 5G video communication mode, and obtains the location information of the target terminal device based on the location command. This allows the embodiment to initiate the location information acquisition operation in response to the SMS command, reducing the location acquisition delay during video calls and improving the timeliness of location acquisition. This embodiment can also encrypt the location information before sending it by using an encryption format in the SMS location command, improving the security of information transmission and making the location information acquisition process more reliable.

[0079] Furthermore, as Figure 1 To illustrate the specific implementation of the method shown, this embodiment provides a location determination device, such as... Figure 3 As shown, the device includes: a receiving module 31, an acquisition module 32, an encryption module 33, and a sending module 34.

[0080] The receiving module 31 is configured to receive a location command sent by the server in response to the target terminal device being in 5G video communication state; The acquisition module 32 is configured to acquire the location information of the target terminal device based on the SMS location instruction; Encryption module 33 is configured to encrypt the location information according to the encryption format indicated by the SMS location instruction; The sending module 34 is configured to send encrypted location information to the server, the location information being used by the server to update the location of the target terminal device.

[0081] In some examples of this embodiment, the acquisition module 32 is specifically configured to perform signature validity verification based on the identification information in the SMS location instruction; if the signature validity verification is successful, a first acquisition request for the location information is generated, the first acquisition request being used to request the user to authorize the acquisition of the location information from the target location service; in response to the user's confirmation authorization instruction, the location information is acquired through the target location service.

[0082] In some examples of this embodiment, the acquisition module 32 is further configured to generate a second acquisition request for the location information in response to the user's denial authorization instruction. The first acquisition request is used to request the access network device connected to the target terminal device to determine the location information and to receive the location information sent by the access network device.

[0083] In some examples of this embodiment, the encryption module 33 is specifically configured to determine the timestamp information corresponding to the location information; and encrypt the location information according to the encryption format indicated by the SMS location instruction based on the timestamp information and the identification information.

[0084] It should be noted that other corresponding descriptions of the functional units involved in the location determination device provided in this embodiment can be found in [reference needed]. Figure 1 The corresponding descriptions in [the document] will not be repeated here.

[0085] Furthermore, as Figure 2 To illustrate the specific implementation of the method shown, this embodiment provides a location determination device, such as... Figure 4 As shown, the device includes: an acquisition module 41, a generation module 42, a sending module 43, and a tagging module 44.

[0086] The acquisition module 41 is configured to acquire the identification information and encryption information corresponding to the target terminal device in response to the target terminal device being in 5G video communication state; The generation module 42 is configured to generate a text message location instruction for the target terminal device based on the identification information and the encryption information; Sending module 43 is configured to send the SMS location command to the target terminal device; The marking module 44 is configured to mark the location of the target terminal device based on the encrypted location information received from the target terminal device.

[0087] It should be noted that other corresponding descriptions of the functional units involved in the location determination device provided in this embodiment can be found in [reference needed]. Figure 2 The corresponding descriptions in [the document] will not be repeated here.

[0088] Based on the above, Figure 1 or Figure 2 Accordingly, this embodiment also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the above-described method. Figure 1 or Figure 2 The method shown.

[0089] Based on this understanding, the technical solution of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as CD-ROM, USB flash drive, mobile hard drive, etc.) and includes several instructions to cause a computer device (such as personal computer, server, or network device, etc.) to execute the methods of various implementation scenarios of this application.

[0090] like Figure 5 The diagram shown is a hardware structure schematic of an electronic device according to the present invention, comprising: At least one processor 501; and, Memory 502 is communicatively connected to at least one processor 501; wherein, The memory 502 stores instructions that can be executed by at least one processor, which enables the at least one processor to perform the position determination method as described above.

[0091] Figure 5 Take a processor 501 as an example.

[0092] The electronic device may also include an input device 504 and an output device 504.

[0093] The processor 501, memory 502, input device 503, and output device 504 can be connected via a bus or other means. Figure 5 Taking the example of a connection between China and Israel via a bus.

[0094] The memory 502, as a non-volatile computer-readable storage medium, can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as the program instructions / modules corresponding to the location determination method in the embodiments of this application, for example, Figure 1 or Figure 2 The method flow is shown. The processor 501 executes various functional applications and communications by running non-volatile software programs, instructions, and modules stored in the memory 502, thereby implementing the location determination method in the above embodiments.

[0095] Memory 502 may include a program storage area and a data storage area, wherein the program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the location determination method, etc. Furthermore, memory 502 may include high-speed random access memory and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other non-volatile solid-state storage device. In some embodiments, memory 502 may optionally include memory remotely located relative to processor 501, and these remote memories may be connected to the apparatus performing the location determination method via a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

[0096] The input device 503 can receive user clicks and generate signal inputs related to user settings for the location determination method and function control. The output device 503 may include a display device such as a screen.

[0097] One or more modules are stored in memory 502, and when run by one or more processors 501, the position determination method in any of the above method embodiments is executed.

[0098] Optionally, the aforementioned physical devices may also include a user interface, a network interface, a camera, radio frequency (RF) circuitry, sensors, audio circuitry, a Wi-Fi module, etc. The user interface may include a display screen, input units such as a keyboard, etc., and optional user interfaces may also include USB interfaces, card reader interfaces, etc. The network interface may optionally include standard wired interfaces, wireless interfaces (such as Wi-Fi interfaces), etc.

[0099] Those skilled in the art will understand that the physical device structure provided in this embodiment does not constitute a limitation on the physical device, and may include more or fewer components, or combine certain components, or have different component arrangements.

[0100] The storage medium may also include an operating system and a network communication module. The operating system is a program that manages the hardware and software resources of the aforementioned physical device, supporting the operation of information processing programs and other software and / or programs. The network communication module is used to enable communication between the various components within the storage medium, as well as communication with other hardware and software in the information processing physical device.

[0101] Through the above description of the embodiments, those skilled in the art can clearly understand that this application can be implemented by means of software plus necessary general-purpose hardware platforms, or it can be implemented by hardware. By applying the solution of this embodiment, compared with the existing technology, this embodiment, in response to the target terminal device being in 5G video communication state, receives a text message location command sent by the server, and obtains the location information of the target terminal device based on the text message location command. This allows this embodiment to initiate the location information acquisition operation in response to the text message command, reducing the location acquisition delay during video calls and improving the timeliness of location acquisition. This embodiment can also encrypt the location information through the encryption format in the text message location command before sending it, improving the security of information transmission and making the location information acquisition process more reliable.

[0102] 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 the element.

[0103] The above are merely specific embodiments of this application, enabling those skilled in the art to understand or implement this application. 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 this application. Therefore, this application is not to be limited to these embodiments, but is to be accorded the widest scope consistent with the principles and novel features claimed herein.< / signature> < / timestamp> < / uuid> < / signature> < / timestamp> < / uuid>

Claims

1. A method for determining a location, characterized in that, include: In response to the target terminal device being in 5G video communication mode, receive the SMS location instruction sent by the server; The location information of the target terminal device is obtained based on the SMS location command; The location information is encrypted according to the encryption format indicated by the SMS location instruction; The encrypted location information is sent to the server, and the location information is used by the server to update the location of the target terminal device.

2. The method according to claim 1, characterized in that, The step of obtaining the location information of the target terminal device based on the SMS location command includes: The signature validity is verified based on the identification information in the SMS location command. If the signature validity verification passes, a first request to obtain the location information is generated. The first request to obtain the location information is used to request the user to authorize the acquisition of the location information from the target location service. In response to the user's confirmation and authorization command, the location information is obtained through the target location service.

3. The method according to claim 2, characterized in that, After generating the first request to obtain the location information upon successful signature validity verification, the method further includes: In response to the user's denial of authorization instruction, a second acquisition request for the location information is generated, wherein the first acquisition request is used to request the access network device connected to the target terminal device to determine the location information; Receive the location information sent by the access network device.

4. The method according to claim 2, characterized in that, The step of encrypting the location information according to the encryption format indicated by the SMS location instruction includes: Determine the timestamp information corresponding to the location information; Based on the timestamp information and the identification information, the location information is encrypted according to the encryption format indicated by the SMS location instruction.

5. A method for determining a location, characterized in that, include: In response to the target terminal device being in 5G video communication state, the identification information and encryption information corresponding to the terminal device are obtained; Based on the identification information and the encryption information, a text message location instruction for the target terminal device is generated; Send the SMS location command to the target terminal device; In response to receiving encrypted location information sent by the target terminal device, the location of the target terminal device is marked based on the encrypted location information.

6. A position determining device, characterized in that, include: The receiving module is configured to receive a location command sent by the server in response to the target terminal device being in 5G video communication state; The acquisition module is configured to acquire the location information of the target terminal device based on the SMS location instruction; The encryption module is configured to encrypt the location information according to the encryption format indicated by the SMS location instruction; The sending module is configured to send encrypted location information to the server, the location information being used by the server to update the location of the target terminal device.

7. A position determining device, characterized in that, include: The acquisition module is configured to acquire the identification information and encryption information corresponding to the target terminal device in response to the target terminal device being in 5G video communication state; The generation module is configured to generate a text message location instruction for the target terminal device based on the identification information and the encryption information; The sending module is configured to send the SMS location command to the target terminal device; The marking module is configured to mark the location of the target terminal device based on the encrypted location information received from the target terminal device.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the method of any one of claims 1 to 5.

9. An electronic device, comprising a storage medium, a processor, and a computer program stored on the storage medium and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method of any one of claims 1 to 5.

10. A computer program product, the computer program product comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method as described in any one of claims 1 to 5.