Terminal control system and method

Through the second terminal generating position monitoring requests, combined with real-time abnormality determination of position monitoring nodes and data analysis nodes, a closed-loop control system is built, which solves the problem of lack of closed-loop mechanism of the IoT terminal positioning system and the high cost of self-built private networks, and realizes low-cost and high-efficiency terminal position monitoring and control.

CN120475332APending Publication Date: 2025-08-12IPLOOK NETWORKS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510565489.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-30
Publication Date
2025-08-12

AI Technical Summary

Technical Problem

The existing IoT terminal positioning system lacks a closed-loop mechanism, which makes the positioning data unable to be linked to the enterprise control process, and the cost of building a self-built private network is high, and the public network standards are missing and the positioning request-analysis-control link cannot be opened, and there is a risk of system fragmentation and compatibility.

Method used

By introducing the second terminal to generate location monitoring requests, using base station forwarding and combining the precise positioning of the location monitoring node and real-time abnormality determination of the data analysis node, a closed-loop control system is built, and the mobile network infrastructure is used to realize positioning request transmission and positioning data generation. The core network control node and short information service node are used to optimize information transmission to ensure system compatibility and reliability.

Benefits of technology

It realizes low-cost, wide coverage, real-time monitoring and control of IoT terminals, improves monitoring efficiency, response speed and system compatibility, avoids additional deployment of dedicated communication links, and ensures reliable transmission and security of information in weak network environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120475332A_ABST
    Figure CN120475332A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of Internet of Things, and discloses a terminal control system and method. The system comprises a first terminal, a second terminal, a base station, a position monitoring node and a data analysis node. And the second terminal generates a monitoring request after receiving a position positioning operation for the first terminal, and forwards the monitoring request to the position monitoring node through the base station to execute positioning and generate data. And the data analysis node performs anomaly judgment on the positioning data, and sends an alarm to the second terminal if an anomaly is found. And the second terminal generates a position control instruction and sends the position control instruction to the first terminal to trigger automatic position adjustment. By implementing the technical scheme of the invention, real-time monitoring, intelligent abnormality judgment and automatic closed-loop control of the terminal position can be realized, so that the efficiency and safety of equipment position management are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Internet of Things, and in particular to a terminal control system and method. Background Art

[0002] IoT terminal positioning has achieved multi-scenario coverage through technologies such as cellular base stations, 5G Time Difference of Arrival (TDOA) technology, indoor Wi-Fi / Bluetooth convergence, and Narrow Band Internet of Things (NB-IoT) low-power optimization. However, the existing system has two major flaws. First, the 3rd Generation Partnership Project (3GPP) standard lacks a closed-loop mechanism for terminal location monitoring, which makes it difficult to link positioning data with enterprise control processes and respond to anomalies in real time. Second, it is costly for enterprises to build their own private networks. When using public networks, the "positioning request-analysis-control" link cannot be established due to the lack of standards. The additional development of private middleware leads to system fragmentation and compatibility risks. Summary of the Invention

[0003] In view of this, the present invention provides a terminal control system and method, which realizes the full process automation of request triggering, abnormality judgment and control execution while ensuring the terminal positioning accuracy.

[0004] In the first aspect, the present invention provides a terminal control system, comprising: a first terminal; a second terminal, the second terminal being communicatively connected to the first terminal, and configured to generate a location monitoring request for the first terminal in response to a location positioning operation for the first terminal; a base station, being communicatively connected to the second terminal, and configured to receive and forward the location monitoring request sent by the second terminal; a location monitoring node, being communicatively connected to the base station, and configured to receive the location monitoring request forwarded by the base station, and to locate the first terminal based on the location monitoring request, and to generate positioning data for the first terminal; a data analysis node, being communicatively connected to the location monitoring node, and configured to receive the positioning data uploaded by the location monitoring node, and to analyze the positioning data to determine whether the location of the first terminal is abnormal, and to send abnormal information to the second terminal when the location of the first terminal is abnormal; the second terminal receives the abnormal information, generates a location control instruction based on the abnormal information, and sends the location control instruction to the first terminal, so that the first terminal adjusts the position of the first terminal according to the position control instruction.

[0005] The terminal control system provided by the embodiment of the present invention actively generates a location monitoring request through the second terminal and relies on the base station to forward and execute the request, combines the precise positioning capability of the location monitoring node and the real-time abnormality judgment function of the data analysis node, and constructs a closed-loop terminal location monitoring and control system. The system does not need to rely on the enterprise private network, and directly uses the current mobile network infrastructure (such as base stations) to realize the transmission of positioning requests and the generation of positioning data, which significantly reduces the deployment cost. At the same time, through the real-time analysis of the positioning data by the data analysis node, it can quickly identify the location anomaly of the first terminal, and directly feed back the abnormal information to the second terminal, triggering the latter to generate a control instruction and send it to the first terminal, so as to realize remote real-time adjustment of the terminal position, which not only utilizes the high coverage of the mobile network, but also through the deep integration of standardized 3GPP network elements, without the need to transform the existing communication architecture, significantly improves the monitoring efficiency, response speed and system compatibility of the Internet of Things terminal.

[0006] In an optional implementation, it further includes: a core network control node, which is set between the base station and the location monitoring node, receives the location monitoring request forwarded by the base station through the core network control node, and forwards the location monitoring request to the location monitoring node.

[0007] The terminal control system provided by the present invention, by introducing a core network control node as an intermediate layer between base stations and location monitoring nodes, can centrally manage and route location monitoring requests, significantly improving the system's flexibility and scalability. The core network control node leverages the core network architecture of traditional mobile networks to implement standardized request forwarding and load balancing. This reduces the direct coupling between base stations and location monitoring nodes, avoids reliance on private networks or customized equipment, and further reduces deployment costs.

[0008] In an optional embodiment, it also includes: a short message service node, which is set between the core network control node and the location monitoring node. When the first terminal has a location abnormality, the abnormal information generated by the data analysis node is sent to the core network control node through the short message service node.

[0009] The terminal control system provided by the embodiment of the present invention introduces a short message service node as a communication bridge between the core network control node and the location monitoring node, and makes full use of the standardized short message transmission mechanism of the mobile network. When an abnormal position of the first terminal is detected, the abnormal information generated by the data analysis node is encapsulated as an encrypted short message, and is accurately pushed to the second terminal after standardized routing by the core network control node. This design does not require the establishment of an additional dedicated communication link, and directly reuses the storage, retransmission and status reporting functions of the existing short message service to ensure that the abnormal information is reliably reached in weak network or high-load scenarios.

[0010] In an optional implementation, the method further includes: the core network control node sending the abnormal information to the base station, so that the base station sends the abnormal information to the second terminal.

[0011] The terminal control system provided by the embodiment of the present invention directly sends abnormal information to the base station through the core network control node, and leverages the high coverage capability and low latency characteristics of the base station to achieve rapid and accurate transmission of the abnormal information to the second terminal.

[0012] In an optional implementation, it also includes: the short message service node receives the location control instruction sent by the second terminal, and sends the location control instruction to the corresponding core network control node based on the current network type; the core network control node sends the location control instruction to the base station, so that the base station sends the location control instruction to the first terminal.

[0013] The terminal control system provided by this embodiment of the present invention uses a short message service node to intelligently identify the current network type and dynamically select the appropriate core network control node, enabling precise routing and seamless cross-network transmission of location control commands. The core network control node sends the command to the base station, which leverages the base station's high coverage and low latency to quickly reach the first terminal, significantly improving command execution efficiency. This design reuses a standardized mobile network architecture, avoiding the deployment of additional dedicated communication links and significantly reducing implementation costs.

[0014] In an optional implementation, the core network control node includes a mobility management node, a short message function node, and an access and mobility management node; if the current network type is a 4G network, the location control instruction is sent to the mobility management node; if the current network type is a 5G network, the control instruction is sent to the short message function node and the access and mobility management node.

[0015] The terminal control system provided by this embodiment of the present invention achieves precise routing of location control commands and seamless compatibility with network protocols by distinguishing between 4G and 5G network types and dynamically adapting to the corresponding core network control nodes. This design fully leverages the functions of 3GPP standardized network elements, adapting to heterogeneous networks without customized modifications, significantly reducing deployment complexity and costs. Furthermore, transmission paths are optimized for different network characteristics, reducing command transmission latency and ensuring high reliability in cross-network scenarios.

[0016] In an optional implementation, the method further includes: the first terminal returning an execution result corresponding to the location control instruction to the second terminal via a short message service node.

[0017] The terminal control system provided by the embodiment of the present invention forms a closed-loop control link by providing real-time feedback of the execution result of the position control instruction from the first terminal to the second terminal via the short message service node, thereby significantly improving the transparency and traceability of the system.

[0018] In an optional embodiment, it also includes: the second terminal generates a historical location query request in response to the historical location query operation for the first terminal; the short message service node receives the historical location query request and forwards the historical location query request to the data analysis node; the data analysis node extracts the corresponding historical location data from the database based on the historical location query request, and returns it to the second terminal through the short message service node.

[0019] The terminal control system provided by the present invention reuses short message service nodes as the transmission channel for historical location query requests and data feedback. A second terminal can generate a historical location query request based on a standardized short message mechanism. The request is forwarded via the short message service node to the data analysis node, which efficiently extracts historical location data from the database and encapsulates it as an encrypted short message, returning it. This forms an end-to-end closed-loop query process. This design eliminates the need for dedicated data channels and directly leverages the storage, retransmission, and status reporting capabilities of mobile network short messages, ensuring reliable transmission of query requests and historical data even in high-load or weak network environments.

[0020] In an optional embodiment, the first terminal and the second terminal pre-set an encryption key; when an abnormality occurs in the position of the first terminal, the second terminal encrypts a position control instruction generated based on the abnormal information and sends the encrypted position control instruction to the first terminal; the first terminal decrypts the encrypted position control instruction and adjusts the position of the first terminal according to the decrypted position control instruction.

[0021] The terminal control system provided by the present invention pre-sets encryption keys between the first and second terminals. Upon detecting an abnormal position of the first terminal, the second terminal performs end-to-end encryption on the generated position control command and then transmits it. The first terminal then decrypts and performs adjustments, thus forming a closed-loop secure control link. This design, through a pre-shared key mechanism, avoids the communication overhead and potential risks of dynamic key negotiation, significantly improving the real-time performance and anti-interception capabilities of command transmission.

[0022] In a second aspect, the present invention provides a terminal control method, which is applied to the terminal control system of the above-mentioned first aspect or any corresponding embodiment thereof, including: generating a position monitoring request for the first terminal in response to a position positioning operation for the first terminal; positioning the first terminal based on the position monitoring request, and generating positioning data for the first terminal; analyzing the positioning data to determine whether the position of the first terminal is abnormal; generating a position control instruction when the position of the first terminal is abnormal, and sending the position control instruction to the first terminal so that the first terminal adjusts the position of the first terminal according to the position control instruction.

[0023] In a third aspect, the present invention provides a computer device comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the terminal control method of the second aspect above by executing the computer instructions.

[0024] In a fourth aspect, the present invention provides a computer-readable storage medium having computer instructions stored thereon, the computer instructions being used to enable a computer to execute the terminal control method of the second aspect or any corresponding embodiment thereof.

[0025] In a fifth aspect, the present invention provides a computer program product, comprising computer instructions, wherein the computer instructions are used to enable a computer to execute the terminal control method of the second aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the specific embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the specific embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0027] Figure 1 is a structural block diagram of a terminal control system according to an embodiment of the present invention;

[0028] Figure 2 is a structural block diagram of another terminal control system according to an embodiment of the present invention;

[0029] Figure 3 is a structural block diagram of another terminal control system according to an embodiment of the present invention;

[0030] Figure 4 is a schematic flow chart of a terminal control method according to an embodiment of the present invention;

[0031] Figure 5 Schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0032] To make the purpose, technical solutions, and advantages of the embodiments of the present invention more clear, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts shall fall within the scope of protection of the present invention.

[0033] Positioning technology for IoT terminals typically relies on cellular base station signals, such as location-based services (LBS) and assisted global positioning systems (AGPS), to achieve wide-area tracking. These technologies are widely used in logistics, shared devices (such as shared bicycles), and asset management. 5G's TDOA technology can improve positioning accuracy to the meter level, but in complex environments (such as indoors and underground), hybrid positioning technologies (such as Wi-Fi / Bluetooth fusion) are still needed. In low-power scenarios, the positioning functions of technologies such as NB-IoT are also being continuously optimized, but a balance must be found between positioning accuracy, energy consumption, and cost.

[0034] However, IoT devices using private mobile networks face high construction costs for enterprises. Furthermore, using mobile operator networks presents additional technical challenges because the current 3GPP standard lacks a complete mobile network positioning control process. Key drawbacks of these technologies include the high cost of private network construction and limited wireless network coverage.

[0035] In view of this, the technical solution of the present invention integrates the positioning function and short message service of the current mobile network, and can realize wide-area monitoring of IoT terminals without the need for enterprises to build their own dedicated networks, thereby significantly reducing deployment costs. The high coverage of the mobile network is utilized to ensure reliable positioning and data transmission in complex environments, and the storage and retransmission mechanism of short messages is used to improve communication stability. At the same time, the location data analysis node is combined with real-time judgment of terminal abnormalities, and an encrypted short message is automatically triggered to notify the second terminal (i.e., the main terminal), thereby remotely controlling the behavior of the first terminal (i.e., the auxiliary terminal). This not only enhances the real-time response capability and security of the system, but is also compatible with existing 3GPP standard network elements, significantly improving the universality and feasibility of the solution.

[0036] In this embodiment, a terminal control system is provided, such as Figure 1 As shown, the system includes: a first terminal 1, a second terminal 2, a base station 3, a location monitoring node 4 and a data analysis node 5.

[0037] First terminal 1;

[0038] a second terminal 2, the second terminal 2 being communicatively connected to the first terminal 1, and configured to generate a location monitoring request for the first terminal 1 in response to a location positioning operation for the first terminal 1;

[0039] The base station 3 is connected to the second terminal 2 for communication, and is configured to receive and forward a location monitoring request sent by the second terminal 2;

[0040] The location monitoring node 4 is communicatively connected to the base station 3, and is configured to receive a location monitoring request forwarded by the base station 3, locate the first terminal 1 based on the location monitoring request, and generate positioning data for the first terminal 1;

[0041] The data analysis node 5 is in communication with the location monitoring node 4, and is used to receive the positioning data uploaded by the location monitoring node 4 and analyze the positioning data to determine whether the location of the first terminal 1 is abnormal. When the location of the first terminal 1 is abnormal, an abnormality information is sent to the second terminal 2;

[0042] The second terminal 2 receives the abnormal information, generates a position control instruction based on the abnormal information, and sends the position control instruction to the first terminal 1, so that the first terminal 1 adjusts the position of the first terminal 1 according to the position control instruction.

[0043] The first terminal 1 is the monitored IoT terminal (such as a shared bicycle, logistics equipment, etc.), that is, the auxiliary terminal. Its location needs to be monitored by the second terminal 2 (the main terminal) and its behavior is adjusted according to the control instructions.

[0044] The second terminal 2 refers to the main control terminal (such as a mobile phone, unmanned vehicle, etc.) that initiates the monitoring request, i.e., the master terminal. It is responsible for generating location monitoring requests, receiving exception information, and sending control instructions to the first terminal 1. The location monitoring request is a request initiated by the second terminal 2, requesting the positioning and monitoring of the first terminal 1. This request is forwarded to the location monitoring node 4 via the base station 3, triggering the positioning process. Specifically, the second terminal 2 (the main terminal) and the first terminal 1 (the auxiliary terminal) establish a communication connection via a mobile network (such as 4G or 5G). The user triggers the "positioning monitoring" operation on the second terminal 2 (such as a mobile phone application). The second terminal 2 generates a location monitoring request message containing the auxiliary terminal identifier (such as the International Mobile Equipment Identity (IMEI)) and sends it to the subsequent core network element via the base station 3. The location monitoring request message format complies with 3GPP standards (such as the Lightweight Presence Protocol (LPP)) and can include request parameters such as the positioning period and accuracy requirements.

[0045] Base station 3 refers to a base station 3 device in a mobile communication network (such as a 4G eNodeB or a 5G gNodeB). As a wireless access network device, base station 3 is responsible for receiving the location monitoring request from second terminal 2 and forwarding it through a core network interface (such as the N2 interface). Specifically, second terminal 2 encapsulates the location monitoring request as an NAS message or SMS and sends it to base station 3 over the air interface. Base station 3 parses the message header, identifies it as a positioning request, and routes it to location monitoring node 4.

[0046] The location monitoring node 4 corresponds to the location management function (LMF) network element in the 3GPP standard and is responsible for locating the first terminal 1 based on the location monitoring request and generating positioning data. Positioning data is terminal location information generated by the location monitoring node 4, including coordinates, timestamps, and movement trajectory data, which is uploaded to the data analysis node 5 for analysis. Specifically, the location monitoring node 4 receives the location monitoring request from the second terminal 2 through the base station 3 and locates the first terminal 1 based on the 3GPP standard positioning process (such as the time difference of arrival of the terminal signal and satellite assistance data). For example, the location monitoring node 4 initiates the positioning process based on the request parameters (such as the period and accuracy), coordinating multiple base stations 3 to measure the time difference of arrival (TDOA) of the terminal signal or receive satellite assistance data (A-GNSS). The measurement data is converted into positioning data such as the longitude and latitude coordinates, timestamp, and confidence level of the first terminal 1 through an algorithm (such as triangulation positioning). The structured positioning data (such as JSON format) is uploaded to the data analysis node 5 in real time for subsequent anomaly analysis.

[0047] The data analysis node 5 corresponds to the network data analysis function (NWDAF) network element in the 3GPP standard. After receiving the positioning data, it uses an algorithm to determine whether the position is abnormal (such as crossing the boundary, trajectory deviation), and triggers a notification if it is abnormal. The abnormal information is a notification (such as an out-of-bounds alarm) generated by the data analysis node 5 after detecting that the position of the first terminal 1 is abnormal. Specifically, the data analysis node 5 receives the positioning data uploaded by the location monitoring node 4 in real time through a communication connection with the location monitoring node 4. Based on predefined rules or algorithms (such as geo-fences, trajectory deviation detection, speed threshold monitoring), the data analysis node 5 analyzes the positioning data. For example, a geo-fence check is performed to determine whether the first terminal 1 exceeds the preset safety area (such as a logistics vehicle leaving the distribution range); a trajectory anomaly detection is performed to identify whether the trajectory deviates from the preset route (such as a shared bicycle entering a restricted area) through a machine learning model or a path planning algorithm; a speed / acceleration analysis is performed to detect whether the movement of the first terminal 1 is abnormal (such as sudden acceleration to the speeding threshold). If the analysis result meets the abnormal condition (for example, the terminal crosses the boundary or deviates from the trajectory), the data analysis node 5 generates abnormal information including the abnormal type, location coordinates and timestamp, and sends it to the second terminal 2.

[0048] A position control instruction is a command (e.g., "stop moving," "return to a specified area") generated by the second terminal 2 based on the abnormality information. Specifically, after receiving the abnormality information from the data analysis node 5, the second terminal 2 generates a position control instruction (e.g., "stop moving," "return to specified coordinates") based on a preset strategy and sends it to the first terminal 1. The first terminal 1 then executes the corresponding operation (e.g., adjusting the movement path or stopping operation) based on the position control instruction, thereby enabling remote, real-time adjustment of the terminal's position.

[0049] The terminal control system provided by the embodiment of the present invention actively generates a location monitoring request through the second terminal and relies on the base station to forward and execute the request, combines the precise positioning capability of the location monitoring node and the real-time abnormality judgment function of the data analysis node, and constructs a closed-loop terminal location monitoring and control system. The system does not need to rely on the enterprise private network, and directly uses the current mobile network infrastructure (such as base stations) to realize the transmission of positioning requests and the generation of positioning data, which significantly reduces the deployment cost. At the same time, through the real-time analysis of the positioning data by the data analysis node, it can quickly identify the location anomaly of the first terminal, and directly feed back the abnormal information to the second terminal, triggering the latter to generate a control instruction and send it to the first terminal, so as to realize remote real-time adjustment of the terminal position, which not only utilizes the high coverage of the mobile network, but also through the deep integration of standardized 3GPP network elements, without the need to transform the existing communication architecture, significantly improves the monitoring efficiency, response speed and system compatibility of the Internet of Things terminal.

[0050] In this embodiment, a terminal control system is provided, such as Figure 2 As shown, the system includes: a first terminal 1, a second terminal 2, a base station 3, a location monitoring node 4, a data analysis node 5 and a core network control node 6.

[0051] Among them, the first terminal 1, the second terminal 2, the base station 3, the location monitoring node 4 and the data analysis node 5 have been described in detail above and will not be repeated here.

[0052] The core network control node 6 is provided between the base station 3 and the location monitoring node 4 . The core network control node 6 receives the location monitoring request forwarded by the base station 3 and forwards the location monitoring request to the location monitoring node 4 .

[0053] The core network control node 6 is an intermediate control node deployed in the core layer of the mobile communication network and is responsible for forwarding location monitoring requests between the base station 3 and the location monitoring node 4. Specifically, the second terminal 2 sends a location monitoring request through the base station 3, and the base station 3 forwards the request to the core network control node 6 via a standard interface protocol (such as 5G NGAP or 4G S1-MME). The core network control node 6 parses the request content, identifies it as a positioning service, and routes the request to the location monitoring node 4 via a service-based interface (such as Nlmf).

[0054] The terminal control system provided by the present invention, by introducing a core network control node as an intermediate layer between base stations and location monitoring nodes, can centrally manage and route location monitoring requests, significantly improving the system's flexibility and scalability. The core network control node leverages the core network architecture of traditional mobile networks to implement standardized request forwarding and load balancing. This reduces the direct coupling between base stations and location monitoring nodes, avoids reliance on private networks or customized equipment, and further reduces deployment costs.

[0055] In this embodiment, a terminal control system is provided, such as Figure 3 As shown, the system includes: a first terminal 1, a second terminal 2, a base station 3, a data analysis node 5, a core network control node 6 and a short message service node 7.

[0056] Among them, the first terminal 1, the second terminal 2, the base station 3, the data analysis node 5 and the core network control node 6 have been described in detail above and will not be repeated here.

[0057] The short message service node 7 is set between the core network control node 6 and the location monitoring node 4. When the first terminal 1 has a location abnormality, the abnormal information generated by the data analysis node 5 is sent to the core network control node 6 through the short message service node 7.

[0058] The core network control node 6 sends the abnormal information to the base station 3 , so that the base station 3 sends the abnormal information to the second terminal 2 .

[0059] The short message service node 7 corresponds to the short message service center (SMSC) network element in the 3GPP standard and is the core component responsible for short message storage, routing and forwarding in the mobile network. Specifically, after the data analysis node 5 detects that the location of the first terminal 1 is abnormal, it generates abnormal information. The data analysis node 5 encapsulates the abnormal information into a standard short message (SMS) and sends it to the short message service node 7 through an interface (such as Nsmf). Among them, the transmission protocol data unit (TPDU) encapsulation can be used, supporting binary or text content. The short message service node 7 queries the current network attachment status of the terminal through the home location register (HLR) to ensure that the message is forwarded correctly.

[0060] After receiving the abnormal information forwarded by the short message service node 7, the core network control node 6 sends the information to the base station 3 (such as gNodeB or eNodeB) through a standard interface protocol (such as 5G NGAP or 4G S1-MME). After parsing the message, the base station 3 encapsulates the abnormal information into NAS signaling or a standard short message (SMS) through a wireless air interface (such as 5G Uu interface or 4G LTE-Uu interface) and sends it to the second terminal 2 (the main terminal).

[0061] The terminal control system provided by the embodiment of the present invention introduces a short message service node as a communication bridge between the core network control node and the location monitoring node, making full use of the standardized short message transmission mechanism of the mobile network. When an abnormal position of the first terminal is detected, the abnormal information generated by the data analysis node is encapsulated as an encrypted short message, and after standardized routing by the core network control node, it is accurately pushed to the second terminal. This design does not require the construction of an additional dedicated communication link, and directly reuses the storage, retransmission and status reporting functions of the existing short message service to ensure that the abnormal information is reliably reached in weak network or high-load scenarios. The abnormal information is directly sent to the base station through the core network control node, and the high coverage capability and low latency characteristics of the base station are used to achieve rapid and accurate transmission of the abnormal information to the second terminal.

[0062] In an optional implementation, the short message service node 7 receives the location control instruction sent by the second terminal 2, and sends the location control instruction to the corresponding core network control node 6 based on the current network type;

[0063] The core network control node 6 sends the location control instruction to the base station 3 , so that the base station 3 sends the location control instruction to the first terminal 1 .

[0064] The current network type refers to the type of mobile network currently registered by the first terminal 1, such as 4G network and 5G network. The determination of the network type depends on the terminal registration status recorded in the operator's core network database (such as HLR / UDM). Specifically, the second terminal 2 generates a location control instruction and sends it to the short message service node 7 through the base station 3. The short message service node 7 queries the home location register (HLR) or unified data management (UDM) for the current network attachment status (such as 4G or 5G) of the first terminal 1. The instruction is routed to the corresponding core network control node 6 based on the current network attachment status.

[0065] After receiving the location control instruction, the core network control node 6 sends the information to the base station 3 (such as gNodeB or eNodeB) through a standard interface protocol (such as 5G NGAP or 4G S1-MME). The base station 3 encapsulates the instruction into non-access stratum (NAS) signaling or a standard short message (SMS) and sends it to the first terminal 1 through a wireless air interface (such as a Uu interface or an LTE-Uu interface).

[0066] The terminal control system provided by this embodiment of the present invention uses a short message service node to intelligently identify the current network type and dynamically select the appropriate core network control node, enabling precise routing and seamless cross-network transmission of location control commands. The core network control node sends the command to the base station, which leverages the base station's high coverage and low latency to quickly reach the first terminal, significantly improving command execution efficiency. This design reuses a standardized mobile network architecture, avoiding the deployment of additional dedicated communication links and significantly reducing implementation costs.

[0067] In an optional embodiment, the core network control node 6 includes a mobility management node, a short message function node and an access and mobility management node;

[0068] If the current network type is 4G network, the location control instruction is sent to the mobility management node;

[0069] If the current network type is a 5G network, the control instruction is sent to the short message function node and the access and mobility management node.

[0070] The mobility management node corresponds to the mobility management entity (MME) in the 3GPP standard and is responsible for terminal mobility management, session establishment, and security authentication. The access and mobility management node corresponds to the access and mobility management function (AMF) in the 3GPP standard and is responsible for terminal access control, mobility management, and signaling routing. The short message function node corresponds to the short message service function (SMSF) and, in 5G networks, collaborates with the access and mobility management node to handle short message routing.

[0071] When the terminal is confirmed to be attached to the 4G network by querying the home location register, the SMS node 7 routes the location control instruction to the mobility management node. The mobility management node sends the instruction to the 4G base station (eNodeB) via the S1-MME interface, and the 4G base station sends the instruction to the first terminal 1 via the LTE-Uu air interface.

[0072] When the terminal is confirmed to be attached to the 5G network by querying the unified data management (UDM), the short message service node 7 sends instructions to both the short message function node and the access and mobility management node. The short message function node is responsible for the encapsulation and routing of short messages, while the access and mobility management node is responsible for the access management and signaling control of the terminal. The access and mobility management node sends the instructions to the 5G base station (gNodeB) via the NGAP protocol, and the 5G base station sends the instructions to the first terminal 1 via the Uu air interface.

[0073] The terminal control system provided by this embodiment of the present invention achieves precise routing of location control commands and seamless compatibility with network protocols by distinguishing between 4G and 5G network types and dynamically adapting to the corresponding core network control nodes. This design fully leverages the functions of 3GPP standardized network elements, adapting to heterogeneous networks without customized modifications, significantly reducing deployment complexity and costs. Furthermore, transmission paths are optimized for different network characteristics, reducing command transmission latency and ensuring high reliability in cross-network scenarios.

[0074] In an optional implementation, the first terminal 1 returns the execution result corresponding to the location control instruction to the second terminal 2 via the short message service node 7 .

[0075] The execution result refers to the specific status information of the execution of the instruction by the first terminal 1 after receiving the position control instruction (such as "stop moving" or "return to the designated area") sent by the second terminal 2. For example, it may include: execution status (such as success, failure, in progress) and additional information (such as the reason for failure, current position coordinates, remaining task progress, etc.). Specifically, the first terminal 1 performs the operation according to the position control instruction and generates an execution result message after completion. The execution result message is encapsulated into a standard short message (SMS) format and sent to the short message service node 7 through the base station 3. The short message service node 7 routes the message to the base station 3 where the second terminal 2 is located through the core network control node 6. The second terminal 2 receives the message through the base station 3, parses the execution result, updates the monitoring interface, or triggers subsequent operations.

[0076] The terminal control system provided by the embodiment of the present invention forms a closed-loop control link by providing real-time feedback of the execution result of the position control instruction from the first terminal to the second terminal via the short message service node, thereby significantly improving the transparency and traceability of the system.

[0077] In an optional embodiment, the second terminal 2 generates a historical location query request in response to a historical location query operation on the first terminal 1;

[0078] The short message service node 7 receives the historical location query request and forwards the historical location query request to the data analysis node 5;

[0079] The data analysis node 5 extracts the corresponding historical location data from the database based on the historical location query request, and returns the data to the second terminal 2 via the short message service node 7 .

[0080] A historical location query request is a query request initiated by a second terminal 2 to obtain the location information of a first terminal 1 within a certain past time period. For example, this type of request is generated when a user queries the movement trajectory of a shared bicycle over the past 24 hours through a mobile app. A database is a storage system within the network data analysis node 5 that stores the historical location data of the first terminal 1. Database records may include location coordinates (latitude and longitude), timestamps (location time), and movement trajectories. Historical location data refers to the collection of location information of the first terminal 1 within a specified time period. Specifically, when a user initiates a historical location query operation for the first terminal 1, the second terminal 2 generates a historical location query request. This request includes query parameters (such as time period and trajectory accuracy requirements) and is sent via short message to the short message service node 7. The short message service node 7 identifies the request as a historical query request based on the request type (such as an identifier or message header) and forwards the request to the data analysis node 5 via the core network control node 6. After receiving the request, the data analysis node 5 parses the query conditions (such as the time range) and extracts the corresponding record from the database storing the historical location data. The database can adopt a distributed architecture (such as a time-series database) to efficiently store data such as the latitude and longitude, timestamps, and movement trajectory of the attached terminals, and optimize query speed through indexing. After extraction is complete, the data analysis node 5 encapsulates the results in a standard short message format, attaches metadata (such as query status and data volume), and transmits it back to the second terminal 2 via the short message service node 7. After receiving the message, the second terminal 2 analyzes the historical location data and displays a trajectory map on the interface or generates an analysis report.

[0081] The terminal control system provided by the present invention reuses short message service nodes as the transmission channel for historical location query requests and data feedback. A second terminal can generate a historical location query request based on a standardized short message mechanism. The request is forwarded via the short message service node to the data analysis node, which efficiently extracts historical location data from the database and encapsulates it as an encrypted short message, returning it. This forms an end-to-end closed-loop query process. This design eliminates the need for dedicated data channels and directly leverages the storage, retransmission, and status reporting capabilities of mobile network short messages, ensuring reliable transmission of query requests and historical data even in high-load or weak network environments.

[0082] In an optional embodiment, the first terminal and the second terminal pre-set an encryption key;

[0083] When an abnormality occurs in the position of the first terminal 1, the second terminal 2 encrypts the position control instruction generated based on the abnormality information and sends the encrypted position control instruction to the first terminal 1;

[0084] The first terminal 1 decrypts the encrypted position control instruction and adjusts the position of the first terminal 1 according to the decrypted position control instruction.

[0085] Control short messages between first terminal 1 and second terminal 2 can use an encryption algorithm to encrypt the data content. The specific encryption method can be symmetric encryption or asymmetric encryption (such as public key or private key encryption), and the encryption algorithm used is not limited. For example, algorithms such as RSA or AES128 can be used to enhance the security of message transmission. After receiving the short message, the first terminal 1 and the second terminal 2 decrypt the data and perform the corresponding operation.

[0086] The second terminal 2 and the first terminal 1 are pre-set with encryption keys (such as symmetric key AES128 or asymmetric key pair RSA) when leaving the factory or being deployed. The keys are stored through a security chip (such as SE / eSIM) or a security protocol (such as TLS handshake) to ensure that the keys cannot be tampered with or leaked. When the data analysis node 5 detects that the position of the first terminal 1 is abnormal, the second terminal 2 generates a position control instruction based on the abnormal information and encrypts the instruction using the preset key. If it is symmetric encryption, the instruction content is directly encrypted using AES; if it is asymmetric encryption, the instruction is encrypted using the public key of the first terminal 1 to ensure that only the first terminal 1 can decrypt it. The encrypted instruction is encapsulated as a standard short message (SMS) and sent to the first terminal 1 through the short message service center and the base station 3.

[0087] After receiving the encrypted message, the first terminal 1 decrypts it using a preset key (symmetric keys decrypt directly, while asymmetric keys require a private key). It parses the instruction content (such as action type and target coordinates), performs the corresponding operation (such as stopping movement or adjusting the path), and provides feedback on the execution result (such as "execution successful" or "reason for failure") via a short message.

[0088] The terminal control system provided by the present invention pre-sets encryption keys between the first and second terminals. Upon detecting an abnormal position of the first terminal, the second terminal performs end-to-end encryption on the generated position control command and then transmits it. The first terminal then decrypts and performs adjustments, thus forming a closed-loop secure control link. This design, through a pre-shared key mechanism, avoids the communication overhead and potential risks of dynamic key negotiation, significantly improving the real-time performance and anti-interception capabilities of command transmission.

[0089] According to an embodiment of the present invention, an embodiment of a terminal control method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0090] In this embodiment, a terminal control method is provided, which can be used in the above-mentioned terminal control system. Figure 4 is a flow chart of a terminal control method according to an embodiment of the present invention. Figure 4As shown, the process includes the following steps:

[0091] Step S401: In response to a position positioning operation for a first terminal, a position monitoring request for the first terminal is generated.

[0092] Second terminal 2 initiates a positioning request for first terminal 1 through a user operation (such as an app click or automatic trigger), generating a location monitoring request containing parameters such as the first terminal 1 identifier, positioning cycle, and accuracy requirements. This request is sent to core network control node 6 via base station 3 and routed by core network control node 6 to the location management node. After receiving the request, the location management node triggers a positioning process (such as TDOA or A-GNSS) and notifies data analysis node 5 to prepare to receive positioning data.

[0093] Step S402: Position the first terminal based on the location monitoring request, and generate positioning data for the first terminal.

[0094] Based on the request parameters, the location management node coordinates multiple base stations 3 to measure the signal from the first terminal 1, calculates the time difference of arrival (TDOA), or combines it with satellite assistance data (A-GNSS) to generate positioning data containing latitude and longitude, timestamp, confidence level, and other information. The data format complies with 3GPP standards (such as the LPP protocol) and is uploaded to the data analysis node 5 in real time through a service-oriented interface for subsequent analysis.

[0095] Step S403: Analyze the positioning data to determine whether the location of the first terminal is abnormal.

[0096] After receiving the positioning data, the data analysis node 5 analyzes the data using predefined rules (such as geofencing, movement speed thresholds, etc.) or machine learning models (such as trajectory deviation detection). If an anomaly is detected, the data analysis node 5 generates anomaly information containing parameters such as the anomaly type and location coordinates, and notifies the second terminal 2 via the short message service node.

[0097] Step S404 : When an abnormality occurs in the position of the first terminal, a position control instruction is generated, and the position control instruction is sent to the first terminal, so that the first terminal adjusts the position of the first terminal according to the position control instruction.

[0098] After receiving the exception information, the second terminal 2 generates a position control instruction (such as "stop moving" or "return to coordinates X, Y") according to the preset strategy, encrypts the instruction using a preset key, and sends it to the first terminal 1 via the short message service node. After receiving the message, the first terminal 1 decrypts the instruction, verifies its integrity (such as the HMAC signature), performs the corresponding operation (such as adjusting the path or shutting down), and feedbacks the execution result (such as "execution successful" or "failure reason") via a short message.

[0099] The terminal control method provided in the embodiment of the present invention achieves low-cost, wide-coverage IoT terminal location monitoring and control by deeply integrating the positioning capabilities of the mobile network with the short message service and utilizing existing 3GPP standard network elements (LMF, NWDAF, SMSC, etc.). This method does not require the enterprise to build its own dedicated network, but directly relies on the operator network to complete high-precision positioning and real-time data analysis, effectively reducing deployment costs. Location monitoring requests, abnormal alarms, and control instructions are transmitted through the short message service, giving full play to the storage, retransmission, and encryption characteristics of short messages to ensure communication stability and security. In addition, it supports dynamic control of the first terminal by the second terminal, and realizes intelligent abnormality detection and automatic response through the data analysis node, which significantly improves the monitoring efficiency and reliability.

[0100] The embodiment of the present invention also provides a computer device for executing the above Figure 4 The terminal control method shown.

[0101] See also Figure 5 , Figure 5 is a structural diagram of a computer device provided by an optional embodiment of the present invention, such as Figure 5 As shown, the computer device includes: one or more processors 10, memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components utilize different buses to communicate with each other and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in the memory or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Equally, multiple computer devices can be connected, and each device provides part of the necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Figure 5 A processor 10 is taken as an example.

[0102] The processor 10 may be a central processing unit, a network processor, or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit, a programmable logic device, or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic, or any combination thereof.

[0103] The memory 20 stores instructions that can be executed by at least one processor 10, so that the at least one processor 10 executes the terminal control method shown in the above embodiment.

[0104] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created based on the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely located relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0105] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid-state drive; the memory 20 may also include a combination of the above types of memory.

[0106] The computer device further includes a communication interface 30 for the computer device to communicate with other devices or a communication network.

[0107] The embodiment of the present invention also provides a computer-readable storage medium. The above-mentioned method according to the embodiment of the present invention can be implemented in hardware, firmware, or implemented as a computer code that can be recorded in a storage medium, or implemented as a computer code that is originally stored in a remote storage medium or a non-temporary machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the method described herein can be stored in such software processing on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only storage memory, a random access memory, a flash memory, a hard disk or a solid-state drive, etc.; further, the storage medium can also include a combination of the above-mentioned types of memory. It can be understood that a computer, a processor, a microprocessor controller or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by a computer, a processor or hardware, the method shown in the above embodiment is implemented.

[0108] A portion of the present invention may be applied as a computer program product, such as a computer program instruction, which, when executed by a computer, can call or provide the method and / or technical solution according to the present invention through the operation of the computer. Those skilled in the art should understand that the form in which the computer program instruction exists in a computer-readable medium includes, but is not limited to, a source file, an executable file, an installation package file, etc. Accordingly, the way in which the computer program instruction is executed by the computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Here, the computer-readable medium may be any available computer-readable storage medium or communication medium that can be accessed by the computer.

[0109] Although the embodiments of the present invention have been described with reference to the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention. Such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A terminal control system, characterized in that: The system comprises: first terminal; a second terminal, the second terminal being communicatively connected to the first terminal and configured to generate a location monitoring request for the first terminal in response to a location positioning operation for the first terminal; a base station, communicatively connected to the second terminal, configured to receive and forward the location monitoring request sent by the second terminal; a location monitoring node, communicatively connected to the base station, configured to receive the location monitoring request forwarded by the base station, locate the first terminal based on the location monitoring request, and generate positioning data for the first terminal; a data analysis node, communicatively connected to the location monitoring node, configured to receive the positioning data uploaded by the location monitoring node, analyze the positioning data to determine whether the location of the first terminal is abnormal, and send abnormality information to the second terminal when the location of the first terminal is abnormal; The second terminal receives the abnormal information, generates a position control instruction based on the abnormal information, and sends the position control instruction to the first terminal, so that the first terminal adjusts the position of the first terminal according to the position control instruction.

2. The system according to claim 1, wherein: Also includes: A core network control node is arranged between the base station and the location monitoring node, receives the location monitoring request forwarded by the base station through the core network control node, and forwards the location monitoring request to the location monitoring node.

3. The system according to claim 2, characterized in that Also includes: A short message service node is set between the core network control node and the location monitoring node. When the first terminal has a location abnormality, the abnormal information generated by the data analysis node is sent to the core network control node through the short message service node.

4. The system according to claim 2 or 3, characterized in that Also includes: The core network control node sends the abnormal information to the base station, so that the base station sends the abnormal information to the second terminal.

5. The system according to claim 3, wherein: Also includes: The short message service node receives the location control instruction sent by the second terminal, and sends the location control instruction to a corresponding core network control node based on the current network type; The core network control node sends the location control instruction to the base station, so that the base station sends the location control instruction to the first terminal.

6. The system according to claim 5, characterized in that The core network control node includes a mobility management node, a short message function node and an access and mobility management node; If the current network type is a 4G network, sending the location control instruction to the mobility management node; If the current network type is a 5G network, the control instruction is sent to the short message function node and the access and mobility management node.

7. The system according to claim 3, wherein: Also includes: The first terminal returns an execution result corresponding to the location control instruction to the second terminal through the short message service node.

8. The system according to claim 3, wherein: Also includes: The second terminal generates a historical location query request in response to a historical location query operation for the first terminal; The short message service node receives the historical location query request and forwards the historical location query request to the data analysis node; The data analysis node extracts corresponding historical location data from a database based on the historical location query request, and returns the data to the second terminal via the short message service node.

9. The system according to claim 1, wherein: The first terminal and the second terminal pre-set encryption keys; When an abnormality occurs in the position of the first terminal, the second terminal encrypts a position control instruction generated based on the abnormality information and sends the encrypted position control instruction to the first terminal; The first terminal decrypts the encrypted position control instruction and adjusts the position of the first terminal according to the decrypted position control instruction.

10. A terminal control method, characterized in that: The terminal control system applied to any one of claims 1 to 9 above comprises: In response to a position positioning operation for the first terminal, generating a position monitoring request for the first terminal; Positioning the first terminal based on the location monitoring request, and generating positioning data for the first terminal; Analyzing the positioning data to determine whether the location of the first terminal is abnormal; When an abnormality occurs in the position of the first terminal, a position control instruction is generated, and the position control instruction is sent to the first terminal, so that the first terminal adjusts the position of the first terminal according to the position control instruction.