A remote control method, system, device, and medium based on an edge server
By selecting the optimal communication link on the edge server and switching the edge server when service capacity is insufficient, the response lag problem of traditional remote control methods in complex network environments is solved, ensuring the real-time performance and stability of vehicle remote control.
Patent Information
- Application Number
- CN202511211820.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-28
- Publication Date
- 2025-12-02
- Estimated Expiration
- 2045-08-28
AI Technical Summary
Traditional remote control methods are susceptible to network congestion and node switching interference in complex network environments, resulting in delayed vehicle control response and potential safety hazards.
By using a preset filtering strategy, the best edge server is selected from the edge servers to establish a communication connection with the target terminal and the vehicle. The two edge servers are used to interact with remote control commands, and when the service capacity is insufficient, the system switches to other edge servers to ensure communication stability and real-time performance.
It achieves timely response and stability of remote vehicle control under complex road conditions, avoiding safety hazards caused by network latency.
Smart Images

Figure CN120750987B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automotive control technology, specifically to a remote control method, system, device, and medium based on an edge server. Background Technology
[0002] With the rapid development of intelligent driving technology, users' demand for remote intelligent vehicle control has exploded, and functions such as remote parking and remote vehicle summoning are becoming increasingly popular.
[0003] Traditional remote control commands require a complex relay process through multiple servers, making them highly susceptible to interference from network congestion and node switching. In high-speed driving or extremely complex road conditions, this high latency can lead to severely delayed vehicle responses to control commands, potentially causing unpredictable safety hazards. Summary of the Invention
[0004] In view of this, this application provides a remote control method, system, device, and medium based on an edge server. It aims to solve or partially solve the problems existing in the background art.
[0005] The first aspect of this application provides a remote control method based on an edge server, applied to a central server, the method comprising:
[0006] The first edge server is selected from all edge servers using a preset filtering strategy;
[0007] The first edge server is controlled to establish communication connections with the target terminal and the target vehicle respectively, so that the first edge server forwards the remote control command of the target terminal and the remote control feedback information of the target vehicle for remote control and feedback.
[0008] In response to a first instruction from the first edge server, a second edge server is selected from all edge servers using a preset filtering strategy. The first instruction is issued when the status of the first edge server meets the set conditions.
[0009] The second edge server is controlled to establish communication connections with the target terminal and the target vehicle, respectively.
[0010] A second instruction is sent to both ends respectively to control the two ends to simultaneously perform remote control instruction interaction through the first edge server and the second edge server. The target vehicle terminal responds first to the remote control instruction sent through the first edge server. The two ends are the target vehicle terminal and the target terminal.
[0011] Determine whether the stable signal from both ends is received. The stable signal from the target terminal is issued when the remote control feedback information received from the two edge servers is consistent. The stable signal from the target vehicle is issued when the vehicle control commands received from the two edge servers are consistent.
[0012] Upon receiving a stable signal from both ends, the system controls the two ends to disconnect from the first edge server, so that subsequent remote control command interactions can be performed through the second edge server.
[0013] A second aspect of this application provides a remote control system based on an edge server, applied to a central server, the system comprising:
[0014] The first filtering module is used to select the first edge server from all edge servers through a preset filtering strategy;
[0015] The first connection module is used to control the first edge server to establish communication connections with the target terminal and the target vehicle respectively, so that the first edge server forwards the remote control command of the target terminal and the remote control feedback information of the target vehicle for remote control and feedback.
[0016] The second filtering module is used to select a second edge server from all edge servers in response to a first instruction from the first edge server, and the first instruction is issued when the status of the first edge server meets the set conditions.
[0017] The second connection module is used to control the second edge server to establish communication connections with the target terminal and the target vehicle respectively;
[0018] The remote control interaction module is used to send a second command to both ends respectively, so as to control the two ends to interact with the remote control command through the first edge server and the second edge server simultaneously. The target vehicle end responds first to the remote control command sent through the first edge server. The two ends are the target vehicle end and the target terminal.
[0019] A stable connection determination module is used to determine whether a stable signal is received from the two ends. The stable signal of the target terminal is issued when the remote control feedback information received through the two edge servers is consistent, and the stable signal of the target vehicle is issued when the vehicle control commands received through the two edge servers are consistent.
[0020] The switching control module is used to control the two ends to disconnect from the first edge server when a stable signal is received from the two ends, so as to conduct subsequent remote control command interaction through the second edge server.
[0021] A third aspect of this application provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and running on the processor, wherein the computer program, when executed by the processor, implements the steps of a remote control method based on an edge server as described in the first aspect of this application.
[0022] The fourth aspect of this application provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of a remote control method based on an edge server as described in the first aspect of this application.
[0023] The remote control method based on an edge server provided in this application has the following advantages:
[0024] This application provides a remote control method based on an edge server, applied to a central server. The method includes: selecting a first edge server from all edge servers using a preset filtering strategy; controlling the first edge server to establish communication connections with a target terminal and a target vehicle, respectively, so that the first edge server forwards remote control commands from the target terminal and remote control feedback information from the target vehicle for remote control and feedback; responding to a first command from the first edge server, selecting a second edge server from all edge servers using a preset filtering strategy, wherein the first command is issued when the state of the first edge server meets set conditions; and controlling the second edge server to establish communication connections with the target terminal and the target vehicle, respectively. A second instruction is sent to both ends to control them to simultaneously interact with remote control commands through the first edge server and the second edge server. The target vehicle terminal responds first to the remote control command sent through the first edge server. The two ends are the target vehicle terminal and the target terminal. It is determined whether stable signals are received from both ends. The stable signal of the target terminal is issued when the remote control feedback information received through the two edge servers is consistent, and the stable signal of the target vehicle terminal is issued when the vehicle terminal control commands received through the two edge servers are consistent. Upon receiving stable signals from both ends, the connection between the two ends and the first edge server is disconnected, so that subsequent remote control command interactions can be performed through the second edge server.
[0025] Therefore, this application selects an edge server with a shorter communication distance to forward remote control commands from the mobile terminal (i.e., the target terminal) to the vehicle during the remote control process, thereby eliminating the need for complex relays through multiple server levels. This allows for more timely responses to remote control commands during interaction, resulting in better remote vehicle control in complex road conditions. Furthermore, when the current edge server's service capacity is insufficient, a corresponding switching strategy is employed to switch to another edge server to continue the interaction of remote control commands, ensuring the real-time performance and stability of remote control. Attached Figure Description
[0026] To more clearly illustrate the technical solutions of the embodiments of this application, the drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0027] Figure 1 A flowchart illustrating a remote control method based on an edge server, as shown in one embodiment of this application;
[0028] Figure 2 This is a flowchart illustrating the connection establishment process in a remote control method based on an edge server, as shown in one embodiment of this application.
[0029] Figure 3 This is a schematic diagram illustrating a remote control method based on an edge server, as shown in one embodiment of this application.
[0030] Figure 4 This is a schematic diagram illustrating a remote control system based on an edge server, as shown in one embodiment of this application. Detailed Implementation
[0031] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0032] refer to Figure 1 , Figure 1 This is a flowchart illustrating a remote control method based on an edge server, as shown in one embodiment of this application. The method is applied to a first edge server, which is the optimal edge server among all edge servers for remote control between a target terminal and a target vehicle. Figure 1 As shown, the method includes:
[0033] Step S1: Select the first edge server from all edge servers using a preset filtering strategy.
[0034] In this embodiment, multiple edge servers are pre-deployed in the corresponding region, and two communication services are deployed in each edge server to establish communication connections with the vehicle and mobile terminals respectively. Various functional modules required for intelligent driving remote control are also deployed in the edge servers. After deployment, communication link testing is performed on each edge server. The preferred communication service is MQTT (Message Queuing Telemetry Transport, a lightweight message transmission protocol with low power consumption, low bandwidth usage, and high reliability). After testing all edge servers, the information of each edge server is maintained on the central server. The central server is the main server for the entire system, used to maintain the edge servers and manage the remote control process. The central server can dynamically acquire the current status information of the edge servers and dynamically control their activation and deactivation. The edge server information includes the edge server's name, geographical location (e.g., latitude and longitude, city), and server resources (e.g., CPU, memory, bandwidth).
[0035] In this embodiment, the application first selects a first edge server from all edge servers based on a preset screening strategy, which can form the best transmission link with the target terminal and the target vehicle that are preparing to conduct remote control communication with each other.
[0036] Step S2: Control the first edge server to establish communication connections with the target terminal and the target vehicle respectively, so that the first edge server forwards the remote control command of the target terminal and the remote control feedback information of the target vehicle for remote control and feedback.
[0037] In this embodiment, after selecting the first edge server in step S1, the central server controls the first edge server to establish remote control communication links with both the target terminal and the target vehicle. Thus, when the target terminal sends a remote control command to the target vehicle, it directly sends the command through the first edge server to remotely control the vehicle. After executing the remote control command, the target vehicle generates corresponding remote control feedback information, which is then sent back to the target terminal through the first edge server.
[0038] In this embodiment, after both the target terminal and the target vehicle have successfully established a connection with the first edge server and completed the binding cache, the first edge server can respond to remote control commands sent by the user through the target terminal. In response to the remote control command sent by the user through the target terminal, the first edge server converts the remote control command into a vehicle control command that can be executed by the vehicle terminal, and then sends the vehicle control command to the target vehicle terminal to remotely control the target vehicle terminal.
[0039] In this embodiment, after receiving the control command from the target vehicle, the vehicle controls the vehicle to execute the corresponding control action, such as turning 30° to the left or braking. After completing the control action corresponding to the control command, the target vehicle sends feedback to the first edge server, indicating that the corresponding control action has been completed and the current vehicle status. The first edge server then forwards this remote control feedback information to the target terminal. Upon receiving this remote control feedback information, the corresponding application displays the vehicle's execution status in real time on the target terminal's interface in an intuitive way (such as text prompts or animation simulations). For example, it displays "30° turn completed" in text form, while simultaneously simulating the vehicle's actual steering action through animation, allowing the user to clearly and accurately understand the vehicle's execution of the command.
[0040] In this embodiment, the format of the remote control feedback information is {"h":{"a":0,"e":0,"m":"Intelligent Driving Feedback Signal Method","r":"Request ID","sk":"Intelligent Driving Service","tf":0,"v":"Version"},"d":{"p":{# Status Signal}}}. In d, p stores parameters such as current vehicle speed / position / steering angle, reflecting the vehicle's dynamic state during command execution; r records the command generation time for subsequent time synchronization and delay verification; sk identifies the service name and command type; m identifies the command method and the specific command; a indicates whether a response is required, and e indicates whether encryption is required. The remote control feedback information is rapidly transmitted back to the first edge server via the MQTT link between the target vehicle and the first edge server.
[0041] Step S3: In response to the first instruction from the first edge server, select a second edge server from all edge servers using a preset filtering strategy. The first instruction is issued when the status of the first edge server meets the set conditions.
[0042] In this embodiment, each edge server will monitor its own operational status. The edge server uses a distributed monitoring system to perform real-time inspections of its operational status, monitoring at least one of three dimensions: hardware, network, and service. The hardware dimension includes key indicators such as CPU utilization, memory usage, disk I / O, and GPU load. The network dimension includes bandwidth utilization, latency jitter, packet loss rate, and link stability. The service dimension includes core indicators such as the tracked intelligent driving control service process status, interface response time, and data forwarding success rate.
[0043] In this embodiment, corresponding preset conditions are set for each operating state of the monitored edge server. For example, when the CPU utilization of the edge server exceeds 85%, it is determined that its operating state meets the preset conditions; when the network latency of the edge server is greater than 100ms, it is determined that its operating state meets the preset conditions; when a process crash occurs in the edge server, it is determined that its operating state meets the preset conditions.
[0044] When any operating state meets the set conditions, if it is determined that the current edge server is no longer suitable for remote interaction between the terminal and the vehicle, the edge server sends a corresponding first instruction to the central server. The central server, in response to this first instruction, switches the edge server to another edge server to continue providing remote control services to the terminals and vehicles that the original edge server was providing. For the first edge server, this occurs when the first edge server determines that its operating state meets the set conditions and issues a corresponding first instruction. The central server, in response to this first instruction, selects a second edge server from all edge servers using a preset filtering strategy to take over the work of the first edge server. The filtering strategy used by the central edge server when selecting the second edge server is the same as the filtering strategy used for the first edge server.
[0045] Step S4: Control the second edge server to establish communication connections with the target terminal and the target vehicle respectively.
[0046] In this embodiment, after the central server selects the second edge server, the central server controls the second edge server to establish remote control communication links with both the target terminal and the target vehicle. At this point, the second edge server does not directly take over the remote control command interaction between the target terminal and the target vehicle. The central server needs to determine whether it can operate stably. After confirming stable operation, the central server controls the target terminal and the target vehicle to disconnect their communication connections with the first edge server, and the second edge server takes over the remote control command interaction between the target terminal and the target vehicle. The specific method for determining stable operation will be explained later.
[0047] Step S5: Send a second instruction to both ends respectively to control the two ends to interact with the remote control instruction through the first edge server and the second edge server simultaneously. The target vehicle end responds first to the remote control instruction sent through the first edge server. The two ends are the target vehicle end and the target terminal.
[0048] In this embodiment, after the central server controls the second edge server to establish communication connections with the target terminal and the target vehicle, respectively, the central server sends a second instruction to the target vehicle and the target terminal. The target vehicle and the target terminal respond to their respective received second instructions by simultaneously interacting with each other via the first and second edge servers. Specifically, the target vehicle prioritizes responding to the remote control instructions sent through the first edge server, while the target terminal prioritizes providing feedback information sent through the first edge server to the user through its interface.
[0049] Step S6: Determine whether the stable signal from both ends has been received. The stable signal from the target terminal is issued when the remote control feedback information received through the two edge servers is consistent. The stable signal from the target vehicle is issued when the vehicle control commands received through the two edge servers are consistent.
[0050] In this embodiment, if the target vehicle simultaneously receives remote control commands from both the first and second edge servers, and the two remote control commands are identical, the target vehicle will further send a stable signal to the central server indicating that it is operating stably through the second edge server. Similarly, if the target terminal simultaneously receives feedback information from both the first and second edge servers, and the two feedback information are identical, the target terminal will further send a stable signal to the central server indicating that it is operating stably through the second edge server.
[0051] Step S7: Upon receiving a stable signal from the two ends, control the two ends to disconnect from the first edge server so that subsequent remote control command interaction can be performed through the second edge server.
[0052] In this embodiment, when the central server receives stable signals from both the target vehicle and the target terminal, it determines that the connection between the target vehicle / terminal and the second edge server is stable. The second edge server can then reliably provide remote control command interaction tasks to both ends. At this point, the target vehicle and the target terminal can disconnect from the first edge server. The central server then sends corresponding control commands to the target terminal and the target vehicle to disconnect from the first edge server, allowing them to subsequently interact with each other directly through the second edge server. Alternatively, an optional implementation may be to determine that the connection between the two ends and the second edge server is stable after the central server receives stable operating signals from both ends simultaneously a preset number of times.
[0053] This application provides a remote control method based on an edge server, applied to a central server. The method includes: selecting a first edge server from all edge servers using a preset filtering strategy; controlling the first edge server to establish communication connections with a target terminal and a target vehicle, respectively, so that the first edge server forwards remote control commands from the target terminal and remote control feedback information from the target vehicle for remote control and feedback; responding to a first command from the first edge server, selecting a second edge server from all edge servers using a preset filtering strategy, wherein the first command is issued when the state of the first edge server meets set conditions; and controlling the second edge server to establish communication connections with the target terminal and the target vehicle, respectively. A second instruction is sent to both ends to control them to simultaneously interact with remote control commands through the first edge server and the second edge server. The target vehicle terminal responds first to the remote control command sent through the first edge server. The two ends are the target vehicle terminal and the target terminal. It is determined whether stable signals are received from both ends. The stable signal of the target terminal is issued when the remote control feedback information received through the two edge servers is consistent, and the stable signal of the target vehicle terminal is issued when the vehicle terminal control commands received through the two edge servers are consistent. Upon receiving stable signals from both ends, the connection between the two ends and the first edge server is disconnected, so that subsequent remote control command interactions can be performed through the second edge server.
[0054] Therefore, this application selects an edge server with a shorter communication distance to forward remote control commands from the mobile terminal (i.e., the target terminal) to the vehicle during the remote control process, thereby eliminating the need for complex relays through multiple server levels. This allows for more timely responses to remote control commands during interaction, resulting in better remote vehicle control in complex road conditions. Furthermore, when the current edge server's service capacity is insufficient, a corresponding switching strategy is employed to switch to another edge server to continue the interaction of remote control commands, ensuring the real-time performance and stability of remote control.
[0055] In conjunction with the above embodiments, in one implementation, this application also provides a remote control method based on an edge server. In this remote control method based on an edge server, step S1 may include steps S11 to S14:
[0056] Step S11: Determine the distance score of each edge server based on the first distance and the second distance of each edge server, wherein the first distance of the edge server is the distance between the target terminal and the edge server, and the second distance of the edge server is the distance between the target vehicle terminal and the edge server.
[0057] In this embodiment, as Figure 3 As shown, when a user initiates a remote control request through the target terminal, the central server first selects a first edge server from all edge servers based on a preset filtering strategy to establish a remote control communication link between the target terminal and the target vehicle. Figure 3 In the central server, the computing module is used to calculate and determine the first edge server, and it is also used in conjunction with the remote control module to control the vehicle and terminal to establish a remote control communication link with the first edge server.
[0058] Specifically, the central server obtains the location of the target terminal based on the network location information of the application in the received remote control request. Simultaneously, based on the identification information of the target vehicle in the remote control request, it obtains the latest reported geographical location information of the vehicle via the high-precision vehicle positioning system. Based on the location of the target terminal and the geographical locations of the various edge servers maintained by the central server, a first distance is determined between the target terminal and each edge server. Simultaneously, based on the location of the target vehicle and the geographical locations of the various edge servers maintained by the central server, a second distance is determined between the target vehicle and each edge server. Based on the first distance between the same edge server and the target terminal and the second distance between the edge server and the target vehicle, a distance score for that edge server is determined. One optional distance score calculation method is to accumulate the first distance between the same edge server and the target terminal and the second distance between the edge server and the target vehicle, and use the accumulated result as the initial distance score for that edge server. The same implementation method is used to calculate the initial distance score for each edge server. After calculating the initial distance score for each edge server, the initial distance scores of all edge servers are normalized to obtain the individual distance score for each edge server. The first and second distances are preferably determined using the Harvey-Synn formula.
[0059] Step S12: Determine the status score of each edge server based on the current status information of each edge server obtained from monitoring.
[0060] In this embodiment, the status information of the edge server to be monitored includes at least one of CPU utilization, memory usage, bandwidth utilization, packet loss rate, and latency status. It should be understood that the status information of the edge server to be monitored may also include other status information, which are not specifically limited here. The method for determining the status score of each edge server is the same; here, we take one edge server as an example for explanation. This application pre-establishes a correspondence between the value of each type of status information and the status score value. After monitoring and determining the value of a certain status information, the status score value of that status information is determined by querying the corresponding correspondence. When the status information of the edge server to be monitored includes multiple types, the status score values of each type of status information determined by monitoring are accumulated to obtain the initial status score of the edge server. Through the same implementation method, each edge server will obtain its own corresponding initial status score. After obtaining the initial status score of each edge server, the initial status scores of all edge servers are normalized to obtain the individual status score of each edge server.
[0061] Step S13: Determine the comprehensive score of the edge server based on the distance score and status score of the same edge server.
[0062] In this embodiment, one possible implementation for determining the comprehensive score of an edge server based on its distance score and status score is as follows: The application pre-sets corresponding weight values for the distance score and status score, with the sum of their weights being 1. Then, the distance score and status score of the same edge server are weighted and summed to obtain the comprehensive score of that edge server. Using the same implementation method, a corresponding comprehensive score will be calculated for each edge server.
[0063] Step S14: Determine the edge server with the highest comprehensive score as the first edge server.
[0064] In this embodiment, the edge server with the highest overall score is designated as the first edge server for establishing the remote control communication link between the target terminal and the target vehicle. Selecting the first edge server to establish a dedicated link ensures the efficiency and stability of subsequent remote control communication between the target terminal and the target vehicle.
[0065] In conjunction with the above embodiments, in one implementation, this application also provides a remote control method based on an edge server. In this remote control method based on an edge server, controlling the first edge server to establish a communication connection with the target vehicle includes:
[0066] Step S211: Control the first edge server to respond to the first request from the target vehicle terminal, parse the first request to obtain the verification certificate of the target vehicle terminal. The first request is a remote control request initiated by the central server in response to the target terminal, and is issued by the target vehicle terminal through a first instruction. The first request includes the identification information of the target terminal. The set of registration certificates in the first edge server is obtained from the central server. The registration certificate of the vehicle in the set of registration certificates is matched with the verification certificate burned into the corresponding controller of the vehicle during the vehicle production process.
[0067] In this embodiment, as Figure 2 As shown, the first edge server responds to the first connection request sent by the target vehicle by verifying the first request to determine its validity. This first request includes the target terminal's identification information, used to inform the edge server which terminal it will establish a remote control communication link with.
[0068] In this embodiment, the specific process of the target vehicle issuing the first request is as follows: First, when the user needs to perform remote intelligent driving control, they log in to their account within the corresponding application on the target terminal, and then trigger the remote intelligent driving control function. At this time, the application immediately sends a remote control request to the central server to request remote control of the target vehicle. This remote control request includes at least the target vehicle's identification information (such as the Vehicle Identification Number (VIN) as a unique vehicle identifier), the target terminal's identification information (such as a unique user identifier and / or a unique terminal identifier), the application's network location information (latitude and longitude coordinates obtained through IP geolocation technology, and base station information, used to accurately determine the geographical location of the terminal where the application is located), and a request timestamp. The unique user identifier can be a unique code such as a UUID generated during user registration. After receiving the remote control request, the central server verifies its validity. After successful verification, the central server sends a first instruction to the target vehicle to control it to send a first connection request to the first edge server. The first instruction includes information about the first edge server, which is used to inform the target vehicle which edge server to initiate the first request to establish a connection. The first instruction also includes the identification information of the target terminal, which will be recorded in the first request.
[0069] In this embodiment, the legality verification process for the remote control request is as follows: The central server parses the remote control request and, based on the target vehicle's identification information in the request, determines the specific vehicle that the target terminal wants to control. Based on the target terminal's identification information, the legality of the target terminal initiating the remote control request is determined. If the target terminal is determined to be legal, further based on the target terminal's identification information and the target vehicle's identification information, it is determined whether the target terminal is a legitimate terminal capable of controlling the target vehicle. If the target terminal is determined to be a legitimate terminal capable of controlling the target vehicle, the remote control request passes the legality verification.
[0070] In this embodiment, when the target vehicle is manufactured, a verification certificate is burned into the corresponding controller of the vehicle, and a matching registration certificate is filed in the central server. This registration certificate is used to verify the legitimacy of the verification certificate. Using the same implementation method, each vehicle has its verification certificate burned into it and a matching registration certificate backed up to the central server during production. When the target vehicle sends a first request, it carries the verification certificate burned into the controller of the target vehicle. After receiving the first request, the first edge server parses the request and obtains the verification certificate carried within. Preferably, the verification certificate is burned into the intelligent driving controller, and preferably, when the target vehicle establishes a connection with the first edge server, the intelligent driving controller of the target vehicle sends the first request to establish a connection with the first edge server. All registration certificates filed in the central server are distributed to each edge server.
[0071] Step S212: Control the first edge server to match and verify the verification certificate with each filing certificate in the recorded filing certificate set.
[0072] In this embodiment, after the first edge server obtains the verification certificate carried in the first request, it matches and verifies the verification certificate with each filing certificate in the filing certificate set obtained by the first edge server from the central server. The filing certificate set records all filing certificates that have been filed with the central server.
[0073] Step S213: If a target filing certificate matching the verification certificate exists in the filing certificate set, it is determined that the first edge server establishes a communication connection with the target vehicle after verifying the first request.
[0074] In this embodiment, when the first edge server determines that a target registration certificate matching the verification certificate exists in the registration certificate set obtained from the central server, it determines that the target vehicle that issued the first request is legitimate and that the first request has passed the corresponding verification. At this time, the first edge server will establish a communication connection with the target vehicle and send feedback to the target vehicle after successful establishment. Based on this feedback information, the target vehicle sends a successful connection message to the central server via its TBOX, indicating that it has successfully established a connection with the first edge server.
[0075] In conjunction with the above embodiments, in one implementation, this application also provides a remote control method based on an edge server. In this remote control method based on an edge server, controlling the first edge server to establish a communication connection with the target terminal includes:
[0076] Step S221: When the first edge server successfully connects with the target vehicle terminal, the first edge server is controlled to respond to the second request of the target terminal and verify the second request. The second request is the successful connection information of the target vehicle terminal issued by the central server.
[0077] In this embodiment, when the target vehicle successfully connects to the first edge server, the first edge server responds to the second connection request sent by the target terminal and verifies the second request to determine whether the second request is valid.
[0078] In this embodiment, the specific process of the target terminal issuing the second request is as follows: The central server sends the first instruction to the target vehicle while simultaneously sending information about the first edge server to the target terminal. After receiving the successful connection information from the target vehicle indicating a successful connection with the first edge server, the central server responds by sending feedback to the target terminal indicating that the target vehicle has successfully established a connection with the first edge server. Upon receiving this feedback, the target terminal, based on the received information from the first edge server, sends a second request to the first edge server to establish a connection with it. When sending the second request to the first edge server, the target terminal needs to log in with a token in the corresponding application for authentication.
[0079] In this embodiment, one optional implementation of the target terminal receiving the feedback information from the central server is as follows: the corresponding application of the target terminal periodically polls the central server to obtain feedback information on whether the target vehicle has successfully established a connection. After the central server receives the successful connection information, the polling interface returns feedback information that the target vehicle has successfully established a connection. After receiving this feedback information, the target terminal establishes a long connection through the MQTT protocol (subscription topic: $vdp / {terminal unique identifier} / {user unique identifier} / server / event, where {terminal unique identifier} is the unique identifier of the application, and {user unique identifier} is the unique identifier of the user, ensuring the uniqueness and accuracy of the communication link). The inclusion of the terminal unique identifier in the subscription topic of this long connection is to avoid remote control conflicts that may occur when the same account logs in on multiple devices simultaneously, leading to security incidents. For example, if a user's legitimate account A logs in on both terminals X1 and X2 and receives different remote control commands from the two terminals at a certain moment, it may ultimately result in a security incident.
[0080] Step S222: If the second request verification passes, the first edge server establishes a communication connection with the target terminal and binds the identification information of the target vehicle and the identification information of the target terminal to establish a unique communication link between the target vehicle and the target terminal.
[0081] In this embodiment, if the first edge server verifies the received second request and it passes the verification, it establishes a communication connection between itself and the target terminal. After successful establishment, the first edge server, based on the first request previously received from the target vehicle, determines that the target terminal and the target vehicle have established a unique remote control communication link. Accordingly, the first edge server binds and caches the identification information of the target vehicle and the target terminal. This caching operation ensures the exclusivity of subsequent communication links; that is, the communication link is only used by the terminal and account corresponding to the target terminal's identification information to remotely control the target vehicle, thus avoiding security issues. Simultaneously, this exclusive link is only used for remote control signal interaction between the target terminal and the target vehicle, preventing interference with remote control interaction signals when a large number of signals are transmitted through this link. The cache flag is set to (KEY=INTELLIGENT:DRIVING:Vehicle Unique Identifier,VALUE={"userId": "User Unique Identifier","deviceId": "Terminal Unique Identifier","permission":"Permission"}). This permission is used to record the remote control functions that the target terminal is allowed to perform on the target vehicle in this binding relationship. For example, if the account logged in on the target terminal is a shared account, its remote control permissions can be set to allow only the shared account to perform low-permission remote control operations.
[0082] In conjunction with the above embodiments, in one implementation, this application also provides a remote control method based on an edge server. In this remote control method based on an edge server, the first edge server forwards the remote control command of the target terminal, including:
[0083] Step S231: Decrypt the received remote control command from the target terminal to obtain the original remote control command.
[0084] In this embodiment, after receiving the remote control command sent by the target terminal through the corresponding application, the first edge server decrypts the remote control command using a pre-agreed encryption algorithm (such as AES encryption algorithm) to obtain the original remote control command before encryption.
[0085] In this embodiment, the standard format of the remote control command generated by the target terminal is: {"h":{"r":"1463106055567139", / / Request id, required "sk":"Door_Lock", / / Service name, required "m":"Cnr_RR_ObjDrv", / / Method name, required "a":1, / / Response required, required "e":0 / / Encryption disabled, required},"d":{"p":{} / / Command parameters}}. Here, 'p' in 'd' is used to place specific control parameters, such as steering, acceleration, braking, etc., and the corresponding values provide specific operational values based on the command type, such as steering angle, acceleration, etc.; 'r' records the command generation time for subsequent time synchronization and delay verification; 'sk' identifies the service name and command type; 'm' identifies the command method and specific command; 'a' indicates whether a response is required; and 'e' indicates whether encryption is required. The remote control commands generated by the target terminal are quickly sent via an MQTT long connection (subject: $vdp / {terminal unique identifier} / {user unique identifier} / {vehicle unique identifier}client / control).
[0086] Step S232: Perform instruction compliance verification on the original remote control instruction.
[0087] In this embodiment, after obtaining the original remote control command through the decryption process in step S231, the original remote control command is subjected to command compliance verification to ensure the authenticity and integrity of the source of the original remote control command through digital signature technology.
[0088] Step S233: Obtain terminal identification information bound to the vehicle identification information based on the vehicle identification information in the original remote control command.
[0089] In this embodiment, after obtaining the original remote control command through the decryption process in step S231, the terminal identification information bound to the vehicle identification information recorded in the original remote control command is obtained from the first edge server.
[0090] Step S234: Verify the identity of the terminal that sent the original remote control command based on the obtained terminal identification information and the terminal identification information in the original remote control command.
[0091] In this embodiment, if the terminal identification information bound to the vehicle identification information recorded in the first edge server matches the terminal identification information in the original remote control command, then it is determined that the terminal sending the original remote control command belongs to the target terminal that previously established a dedicated remote control communication link, and the identity verification of the terminal sending the original remote control command is successful. Preferably, the terminal identification information includes both a user unique identifier and a terminal unique identifier; however, in an optional implementation, it may include only one of the two unique identifiers.
[0092] Step S235: If both compliance verification and identity verification pass, the original remote control command is converted into a vehicle remote control command and sent to the target vehicle to remotely control the target vehicle.
[0093] In this embodiment, if both the compliance verification of the original remote control command and the identity verification of the terminal that sent the original remote control command pass, the original remote control command is converted into a vehicle control command that can be executed by the vehicle terminal, and then the vehicle control command is sent to the target vehicle terminal to remotely control the target vehicle terminal.
[0094] In this embodiment, the remote control command sent to the target vehicle has the following format: {"h":{"r":"1463106055567139", / / Request ID, required "mt":"action", / / Message type, optional "sk":"Door_Lock", / / Service name, required "m":"Cnr_RR_ObjDrv", / / Method name, required "a":1, / / Response required, required "e":0 / / Encryption disabled, required},"d":{"p":{}}}. After conversion, the intelligent driving controller identification information of the vehicle where the target vehicle is located is obtained. Then, through the MQTT link between the target vehicle and the first edge server, the adapted remote control command is accurately forwarded to the vehicle's intelligent driving controller (subject: $vdp / {intelligent driving controller identification information} / server / control).
[0095] In conjunction with the above embodiments, in one implementation, this application also provides a remote control method based on an edge server. In this remote control method based on an edge server, step S235 may include steps S2351 to S2355:
[0096] Step S2351: If both compliance verification and identity verification pass, monitor the online status of the target vehicle in real time based on the pre-established heartbeat mechanism.
[0097] In this embodiment, if both the compliance verification of the original remote control command and the identity verification of the terminal that sent the original remote control command pass, the online status of the target vehicle is monitored in real time based on a pre-established heartbeat mechanism.
[0098] Step S2352: Determine the online / offline status of the target vehicle based on the monitoring results.
[0099] In this embodiment, if the first edge server does not receive a heartbeat packet from the target vehicle within the set timeout threshold, it determines that the target vehicle is offline; and if the first edge server receives a heartbeat packet from the target vehicle within the set timeout threshold, it determines that the target vehicle is online.
[0100] Step S2353: If the target vehicle is offline, pause the conversion of the original remote control command and send a prompt message indicating that the target vehicle is offline to the target terminal.
[0101] In this embodiment, if it is determined that the target vehicle is offline, the conversion of the original remote control command is paused, and a prompt message indicating that the target vehicle is currently offline is sent to the target terminal.
[0102] Step S2354: When the target vehicle is online, convert the original remote control command into a vehicle remote control command.
[0103] In this embodiment, when it is determined that the target vehicle is online, the first edge server adapts and converts the original remote control command according to the vehicle command format requirements, converting the data format, encoding method, etc. in the original remote control command into a format that the intelligent driving controller of the vehicle can directly recognize and process, thereby obtaining the converted vehicle remote control command.
[0104] Step S2355: Based on the intelligent driving controller identification information in the identification information of the target vehicle, send the vehicle remote control command to the intelligent driving controller of the target vehicle to remotely control the target vehicle.
[0105] In this embodiment, when the controller connecting the target vehicle to the first edge server is an intelligent driving controller, the identification information of the target vehicle includes the identification information of the intelligent driving controller. After the first edge server converts the original remote control command into a vehicle remote control command, it sends the vehicle remote control command to the intelligent driving controller of the target vehicle based on the intelligent driving controller identification information carried in the original remote control command, so as to remotely control the target vehicle through the intelligent driving controller.
[0106] In conjunction with the above embodiments, in one implementation, this application also provides a remote control method based on an edge server. In this remote control method based on an edge server, remote control of the target vehicle includes: according to the vehicle-side remote control command, controlling the intelligent driving controller to adjust the control parameters in the vehicle-side remote control command based on the real-time vehicle status of the target vehicle; and controlling the target vehicle through the intelligent driving controller based on the adjusted control parameters.
[0107] In this embodiment, one optional implementation of remote control of the target vehicle is as follows: After receiving the remote control command from the vehicle, the intelligent driving controller in the target vehicle immediately adjusts the control parameters based on the command content and the vehicle's current real-time status (including vehicle speed, current position, and surrounding environmental perception data). For example, when executing a steering command, the intelligent driving controller optimizes the steering angle and steering speed in the remote control command based on the current vehicle speed, vehicle position, and surrounding obstacles to ensure safe and smooth steering operations. The vehicle's current real-time status is collected in real-time by various sensors on the vehicle, such as millimeter-wave radar, cameras, and ultrasonic sensors. Then, the vehicle is controlled based on the adjusted control parameters.
[0108] In conjunction with the above embodiments, in one implementation, this application also provides a remote control method based on an edge server. In this remote control method based on an edge server, step S4 may include:
[0109] Step S41: Through a third instruction, control the first edge server to send the stored key data to the second edge server, wherein the key data includes at least the identification information of the bound ends.
[0110] In this embodiment, after the central server identifies the second edge server, it sends a third instruction to the first edge server, which includes information about the second edge server. Upon receiving the third instruction, the first edge server responds by sending its stored key data to the second edge server, enabling the second edge server to establish a dedicated remote control communication link for the target terminal and the target vehicle based on this key data. This key data includes at least the identification information of the bound ends, namely the target terminal and the target vehicle.
[0111] Step S42: By sending a fourth instruction to the two ends, control the two ends to synchronously establish a connection with the second edge server at a specified time point.
[0112] In this embodiment, after the central server selects the second edge server, it simultaneously sends a fourth instruction to both the target terminal and the target vehicle. This fourth instruction includes information about the second edge server, informing both ends which edge server to connect to, and a specified time point. This specified time point controls the target terminal and the target vehicle to synchronously establish a dedicated remote control communication link with the second edge server at that time, ensuring the efficiency of establishing the dedicated remote control communication link and guaranteeing timely switching to the second edge server for communication, thus ensuring effective communication. The target terminal and the target vehicle then respond to the received fourth instruction, synchronously establishing a connection with the second edge server at the specified time point.
[0113] In conjunction with the above embodiments, in one implementation, this application also provides a remote control method based on an edge server. In this remote control method based on an edge server, before step S5, the method further includes:
[0114] Step S01: Determine whether the first connection information fed back by the target vehicle terminal has been received. The first connection information is sent by the target vehicle terminal in response to the received first feedback information. The first feedback information is sent by the second edge server in response to the basic status information of the target vehicle terminal.
[0115] In this embodiment, the central server determines whether it has received the first connection information from the target vehicle. This first connection information is sent by the target vehicle in response to the received first feedback information, which in turn is sent by the second edge server in response to the target vehicle's basic status information. That is, after the target vehicle successfully establishes a connection with the second edge server, it actively sends its own basic status information to the second edge server to verify its connection status. Upon receiving this basic status information, the second edge server, in response, sends the first feedback information to the target vehicle. Based on this first feedback information, the target vehicle determines that it can maintain stable and normal information feedback with the second edge server. At this point, in response to the first feedback information, the target vehicle sends the first connection information back to the central server to inform the central server that it can maintain stable and normal information feedback with the second edge server.
[0116] Step S02: Determine whether the second connection information fed back by the target terminal has been received. The second connection information is sent by the target terminal in response to the received second feedback information. The second feedback information is sent by the target vehicle terminal in response to the status query request of the target terminal through the second edge server. The status query request is sent to the target vehicle terminal through the second edge server.
[0117] In this embodiment, the central server simultaneously determines whether it has received the second connection information from the target terminal. This second connection information is sent by the target terminal in response to the received second feedback information, which in turn is sent by the target vehicle terminal through the second edge server in response to the target terminal's status query request. The status query request is sent to the target vehicle terminal via the second edge server. In other words, after the target terminal successfully establishes a connection with the second edge server, it will proactively send a status query request to the second edge server to verify its connection status. Upon receiving the status query request, the second edge server will respond by sending a corresponding, vehicle-readable status query request to the target vehicle. Based on the received status query request, the target vehicle will acquire its own vehicle status information and send corresponding second feedback information back to the second edge server. Upon receiving the second feedback information, the second edge server will send it to the target terminal. Upon receiving the second feedback information, the target terminal will determine that it can maintain stable and normal communication with the target vehicle through the second edge server. At this point, in response to the second feedback information, the target terminal will send second connection information back to the central server to inform the central server that it can maintain normal communication with the target vehicle through the second edge server.
[0118] In this application, if the method further includes steps S01 to S02, step S5 may include: upon determining that the first connection information and the second connection information have been received, sending a second instruction to both ends respectively to control the two ends to simultaneously perform remote control instruction interaction through the first edge server and the second edge server.
[0119] In this embodiment, after the central server receives the first connection information and the second connection information, it sends a second instruction to both the target vehicle and the target terminal. In response to their respective second instructions, the target vehicle and the target terminal simultaneously interact with each other via the first edge server and the second edge server. Specifically, the target vehicle prioritizes responding to the remote control instructions sent via the first edge server, while the target terminal prioritizes providing feedback information sent via the first edge server to the user through its interface.
[0120] In conjunction with the above embodiments, in one implementation, this application also provides a remote control method based on an edge server. In this remote control method based on an edge server, the method further includes: synchronously forwarding the interaction data during the remote control command interaction process to the central server for storage.
[0121] In this embodiment, the edge server encapsulates the interaction data (such as event signals and control command records) during its remote control command interaction process according to a preset data format, and then synchronously forwards it to the central server for storage so as to facilitate subsequent log querying, data analysis and fault tracing.
[0122] In conjunction with the above embodiments, in one implementation, this application also provides a remote control method based on an edge server. In this remote control method based on an edge server, the first request is issued after the legality verification of the first instruction is passed at the target vehicle end, and after the connection with other edge servers is disconnected at the target vehicle end.
[0123] In this embodiment, to ensure communication security, the vehicle TBOX at the target vehicle receives the first instruction and, after determining the processing logic of the first instruction, forwards it to the intelligent driving controller at the target vehicle. The intelligent driving controller then verifies the legitimacy of the first edge server information carried in the first instruction, including the legitimacy, security, and compatibility with the vehicle's own system. After successful verification, it determines whether it has already established a connection with other edge servers. If a connection has been established, it disconnects and then requests to establish a connection with the first edge server.
[0124] In this embodiment, when the user ends remote intelligent driving control, to ensure the system can completely disconnect all related connections, thoroughly clean up temporary data and cache, avoid resource consumption and potential security risks, and prepare for the next remote control, this application requires only that the user trigger an exit command on the corresponding application when the user completes the remote intelligent driving control operation and decides to exit control. The application then generates and sends an exit command data packet, which includes: user identifier (used to identify the user's identity for exiting the operation), vehicle VIN (used to accurately locate the corresponding vehicle), exit reason (the user can choose preset reasons such as completing the operation or encountering an abnormality, or manually enter a specific reason for subsequent system analysis), and timestamp (recording the accurate time the exit command was initiated). After receiving the exit command sent by the application, the vehicle will immediately stop the ongoing intelligent driving operation to ensure that the vehicle is in a safe and stable state. Then, it will quickly disconnect the MQTT connection with the edge server. After disconnecting, the vehicle will also thoroughly clean up the temporary data related to this remote control (such as command execution records, status feedback cache, etc.) in the local cache to release local storage resources. Upon receiving the vehicle's disconnection request and the application's exit command, the edge server first deletes the binding relationship data between the target vehicle and the target terminal stored in its local cache. Next, it returns a disconnection confirmation message to the application, informing it that the connection has been successfully closed. Simultaneously, the edge server also cleans up temporary data and caches generated during this remote control process, freeing up network and computing resources. Upon receiving the disconnection confirmation message from the edge server, the application immediately disconnects from the edge server's MQTT connection. Then, it thoroughly cleans up locally stored temporary data related to this remote control (such as command history, vehicle status cache, etc.) to ensure the cleanliness and security of local data. If the target vehicle does not receive intelligent driving control commands for an extended period, it proactively initiates a disconnection notification. Upon receiving this request, the edge server determines whether the corresponding application has disconnected. If not, it proactively initiates a disconnection notification to the application and deletes its local cache.
[0125] This application provides a remote control method based on an edge server. It tailors an independent communication link for remote control commands and significantly shortens the link length and reduces load interference through precise edge server selection, laying a solid foundation for subsequent efficient control. Simultaneously, the implementation methods for remote control command transmission and status synchronization ensure that remote control commands are accurately and quickly transmitted to the vehicle, while the vehicle's real-time status is promptly and accurately fed back to the user terminal, achieving efficient and smooth two-way information interaction. Regarding the switching implementation method for the first edge server, when the capacity of the currently connected edge servers on both ends is insufficient, an automatic switching mechanism achieves seamless service transition, thereby ensuring the stability of control command transmission and the real-time response, thus improving the user's intelligent driving experience.
[0126] In this embodiment, this application exemplifies a specific application scenario. During morning and evening rush hours, the number of users is high, and the automatic parking function is not stable enough, resulting in a poor user experience. To optimize the user experience, this application provides a remote control method based on an edge server. When a user needs automatic parking, the user opens the corresponding application and requests the automatic parking function for the corresponding vehicle. The application sends a remote intelligent driving control request to the central unit, including the target vehicle's VIN code, the APP's network location information, the device's unique identifier, and a timestamp. Based on the request information and the vehicle's real-time location and status, the central server filters out the edge cloud of the user's current city and sends the edge server information to the vehicle and the application. The vehicle and the application establish MQTT long connections with the filtered edge servers, and the edge servers cache the binding relationship. The user operates according to the automatic parking function requirements in the application, and then the application encapsulates the command in a specific format and sends it to the edge server. The edge server verifies and adapts the command before forwarding it to the target vehicle. After receiving the command, the vehicle's intelligent driving controller accurately executes the dispatch command based on the vehicle's current location, surrounding environmental information (collected in real time by onboard sensors), and its own status. For example, during operation, the vehicle automatically adjusts its speed based on road conditions ahead and automatically plans detours when encountering obstacles. While performing its tasks, the vehicle continuously reports its status (such as location, speed, and cargo loading / unloading progress) to the edge server, which then forwards this information to the user's application. The user can monitor the vehicle's operation in real time via the application and send adjustment commands promptly if any abnormalities are detected (such as vehicle malfunction or deviation from the planned route). Once the vehicle completes automatic parking, the user terminates control via the application, disconnecting the vehicle from the application and edge server, and clearing relevant caches and temporary data from all devices.
[0127] Based on the same inventive concept, one embodiment of this application provides a remote control system based on an edge server, applied to a central server, such as... Figure 4 As shown, the system 400 includes:
[0128] The first filtering module 401 is used to select the first edge server from all edge servers through a preset filtering strategy;
[0129] The first connection module 402 is used to control the first edge server to establish communication connections with the target terminal and the target vehicle terminal respectively, so that the first edge server forwards the remote control command of the target terminal and the remote control feedback information of the target vehicle terminal for remote control and feedback.
[0130] The second filtering module 403 is used to select a second edge server from all edge servers in response to a first instruction from the first edge server, and the first instruction is issued when the status of the first edge server meets the set conditions.
[0131] The second connection module 404 is used to control the second edge server to establish communication connections with the target terminal and the target vehicle terminal respectively;
[0132] The remote control interaction module 405 is used to send a second command to both ends respectively, so as to control the two ends to interact with the remote control command through the first edge server and the second edge server at the same time. The target vehicle end responds first to the remote control command sent through the first edge server. The two ends are the target vehicle end and the target terminal.
[0133] The stable connection determination module 406 is used to determine whether a stable signal is received from the two ends. The stable signal of the target terminal is issued when the remote control feedback information received through the two edge servers is consistent, and the stable signal of the target vehicle end is issued when the vehicle end control command received through the two edge servers is consistent.
[0134] The switching control module 407 is used to control the two ends to disconnect from the first edge server when a stable signal is received from the two ends, so as to conduct subsequent remote control command interaction through the second edge server.
[0135] Based on the same inventive concept, one embodiment of this application provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and running on the processor. When the computer program is executed by the processor, it implements the steps of the remote control method based on an edge server as described in the first aspect of this application.
[0136] Based on the same inventive concept, one embodiment of this application provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the remote control method based on an edge server as described in the first aspect of this application.
[0137] As the system implementation is basically similar to the method implementation, it is described in a relatively simple way. For relevant details, please refer to the description of the method implementation.
[0138] It should be noted that, for the sake of simplicity, the method embodiments are all described as a series of actions. However, those skilled in the art should understand that the embodiments of this application are not limited to the described order of actions, because according to the embodiments of this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily necessary for the embodiments of this application.
[0139] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on the differences from other embodiments. The same or similar parts between the various embodiments can be referred to each other.
[0140] Those skilled in the art will understand that embodiments of this application can be provided as methods, systems, or computer program products. Therefore, embodiments of this application can take the form of entirely hardware embodiments, entirely software embodiments, or embodiments combining software and hardware aspects. Furthermore, embodiments of this application can take the form of computer program products implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0141] This application describes embodiments with reference to flowchart illustrations and / or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of this application. It should be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing terminal device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing terminal device, generate instructions for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0142] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0143] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal equipment, causing a series of operational steps to be performed on the computer or other programmable terminal equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable terminal equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0144] Although preferred embodiments of the present application have been described, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of the present application.
[0145] Finally, it should be noted that in this document, relational terms such as "first" and "second" are used only 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 terminal device 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 terminal device. 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 terminal device that includes said element.
[0146] The foregoing has provided a detailed description of the remote control method, system, device, and medium based on an edge server provided in this application. Specific examples have been used to illustrate the principles and implementation methods of this application. The descriptions of the above embodiments are only for the purpose of helping to understand the method and core ideas of this application. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of this application. Therefore, the content of this specification should not be construed as a limitation of this application.
Claims
1. A remote control method based on an edge server, characterized in that, Applied to a central server, the method includes: The first edge server is selected from all edge servers using a preset filtering strategy; The first edge server is controlled to establish communication connections with the target terminal and the target vehicle respectively, so that the first edge server forwards the remote control command of the target terminal and the remote control feedback information of the target vehicle for remote control and feedback. In response to a first instruction from the first edge server, a second edge server is selected from all edge servers using a preset filtering strategy. The first instruction is issued when the status of the first edge server meets the set conditions. The second edge server is controlled to establish communication connections with the target terminal and the target vehicle, respectively. A second instruction is sent to both ends respectively to control the two ends to simultaneously perform remote control instruction interaction through the first edge server and the second edge server. The target vehicle terminal responds first to the remote control instruction sent through the first edge server. The two ends are the target vehicle terminal and the target terminal. Determine whether the stable signal from both ends is received. The stable signal from the target terminal is issued when the remote control feedback information received from the two edge servers is consistent. The stable signal from the target vehicle is issued when the vehicle control commands received from the two edge servers are consistent. Upon receiving a stable signal from both ends, the system controls the two ends to disconnect from the first edge server, so that subsequent remote control command interactions can be performed through the second edge server. Among them, the first edge server is selected from all edge servers through a preset filtering strategy, including: A distance score for each edge server is determined based on a first distance and a second distance, wherein the first distance of the edge server is the distance between the target terminal and the edge server, and the second distance of the edge server is the distance between the target vehicle terminal and the edge server; Based on the current status information of each edge server obtained from monitoring, a status score is determined for each edge server; The comprehensive score of the edge server is determined based on the distance score and status score of the same edge server; The edge server with the highest overall score is determined as the first edge server.
2. The remote control method based on an edge server according to claim 1, characterized in that, Controlling the first edge server to establish a communication connection with the target vehicle includes: The first edge server is controlled to respond to the first request from the target vehicle terminal, and the first request is parsed to obtain the verification certificate of the target vehicle terminal. The first request is a remote control request initiated by the target terminal in response to the central server, and is issued by the target vehicle terminal through the control of the first instruction. The first request includes the identification information of the target terminal. The first edge server is controlled to match and verify the verification certificate with each filing certificate in the recorded filing certificate set; If a target filing certificate matching the verification certificate exists in the set of filing certificates, it is determined that the first edge server establishes a communication connection with the target vehicle after verifying the first request.
3. The remote control method based on an edge server according to claim 2, characterized in that, The set of registration certificates in the first edge server is obtained from the central server; the registration certificate for the corresponding vehicle in the set of registration certificates is matched with the verification certificate burned into the corresponding controller of the vehicle during the vehicle production process.
4. The remote control method based on an edge server according to claim 1, characterized in that, Controlling the first edge server to establish a communication connection with the target terminal includes: When the first edge server successfully connects with the target vehicle terminal, the first edge server is controlled to respond to the second request from the target terminal and verify the second request. The second request is the successful connection information from the target vehicle terminal issued by the central server. If the second request verification passes, the first edge server establishes a communication connection with the target terminal and binds the identification information of the target vehicle and the identification information of the target terminal to establish a unique communication link between the target vehicle and the target terminal.
5. The remote control method based on an edge server according to claim 1, characterized in that, The first edge server forwards the remote control commands from the target terminal, including: The received remote control command from the target terminal is decrypted to obtain the original remote control command; Perform instruction compliance verification on the original remote control command; Based on the vehicle identification information in the original remote control command, obtain the terminal identification information bound to the vehicle identification information; Based on the obtained terminal identification information and the terminal identification information in the original remote control command, the identity of the terminal that sent the original remote control command is verified; If both compliance and identity verifications pass, the original remote control command is converted into a vehicle-side remote control command and sent to the target vehicle to remotely control the target vehicle.
6. The remote control method based on an edge server according to claim 5, characterized in that, If both compliance and identity verifications pass, the original remote control command is converted into a vehicle-side remote control command and sent to the target vehicle to remotely control the target vehicle, including: If both compliance and identity verifications pass, the online status of the target vehicle is monitored in real time based on a pre-established heartbeat mechanism. Based on the monitoring results, the online / offline status of the target vehicle is determined; If the target vehicle is offline, pause the conversion of the original remote control command and send a notification message indicating that the target vehicle is offline to the target terminal; When the target vehicle is online, the original remote control command is converted into a vehicle remote control command; Based on the intelligent driving controller identification information in the identification information of the target vehicle, the remote control command of the vehicle is sent to the intelligent driving controller of the target vehicle to remotely control the target vehicle.
7. The remote control method based on an edge server according to claim 6, characterized in that, Remote control of the target vehicle includes: According to the remote control command from the vehicle, the intelligent driving controller adjusts the control parameters in the remote control command based on the real-time vehicle status of the target vehicle. The intelligent driving controller controls the vehicle at the target vehicle end based on the adjusted control parameters.
8. The remote control method based on an edge server according to claim 1, characterized in that, Controlling the second edge server to establish communication connections with the target terminal and the target vehicle respectively includes: The third instruction controls the first edge server to send the stored key data to the second edge server, and the key data includes at least the identification information of the bound two ends; By sending a fourth instruction to the two ends, the two ends are controlled to synchronously establish a connection with the second edge server at a specified time point.
9. The remote control method based on an edge server according to claim 1, characterized in that, Before sending a second instruction to both ends to control the two ends to simultaneously perform remote control instruction interaction through the first edge server and the second edge server, the method further includes: Determine whether the first connection information fed back by the target vehicle terminal is received. The first connection information is sent by the target vehicle terminal in response to the received first feedback information. The first feedback information is sent by the second edge server in response to the basic status information of the target vehicle terminal. Determine whether the second connection information fed back by the target terminal has been received. The second connection information is sent by the target terminal in response to the received second feedback information. The second feedback information is sent by the target vehicle terminal in response to the status query request of the target terminal through the second edge server. The status query request is sent to the target vehicle terminal via the second edge server. The step of sending a second instruction to both ends respectively to control the two ends to simultaneously perform remote control instruction interaction through the first edge server and the second edge server includes: Upon confirming receipt of the first connection information and the second connection information, a second instruction is sent to both ends respectively to control the two ends to simultaneously perform remote control instruction interaction through the first edge server and the second edge server.
10. A remote control method based on an edge server according to claim 1, characterized in that, The method further includes: synchronously forwarding the interaction data during the remote control command interaction process to the central server for storage.
11. A remote control method based on an edge server according to claim 2, characterized in that, The first request is issued after the legality verification of the first instruction is passed on the target vehicle, and after the connection with other edge servers is disconnected on the target vehicle. The identification information of the target terminal includes at least a user unique identifier and / or a terminal unique identifier.
12. A remote control system based on an edge server, characterized in that, The system, applied to a central server, includes: The first filtering module is used to select the first edge server from all edge servers through a preset filtering strategy; The first connection module is used to control the first edge server to establish communication connections with the target terminal and the target vehicle respectively, so that the first edge server forwards the remote control command of the target terminal and the remote control feedback information of the target vehicle for remote control and feedback. The second filtering module is used to select a second edge server from all edge servers in response to a first instruction from the first edge server, and the first instruction is issued when the status of the first edge server meets the set conditions. The second connection module is used to control the second edge server to establish communication connections with the target terminal and the target vehicle respectively; The remote control interaction module is used to send a second command to both ends respectively, so as to control the two ends to interact with the remote control command through the first edge server and the second edge server simultaneously. The target vehicle end responds first to the remote control command sent through the first edge server. The two ends are the target vehicle end and the target terminal. A stable connection determination module is used to determine whether a stable signal is received from the two ends. The stable signal of the target terminal is issued when the remote control feedback information received through the two edge servers is consistent, and the stable signal of the target vehicle is issued when the vehicle control commands received through the two edge servers are consistent. The switching control module is used to control the two ends to disconnect from the first edge server when a stable signal is received from the two ends, so as to conduct subsequent remote control command interaction through the second edge server; The first filtering module is specifically used to determine the distance score of each edge server based on a first distance and a second distance, wherein the first distance of the edge server is the distance between the target terminal and the edge server, and the second distance of the edge server is the distance between the target vehicle terminal and the edge server; and is used to determine the status score of each edge server based on the current status information of each edge server obtained by monitoring; and is used to determine the comprehensive score of the edge server based on the distance score and status score of the same edge server; and is used to determine the edge server with the highest comprehensive score as the first edge server.
13. An electronic device, characterized in that, include: A processor, a memory, and a computer program stored in the memory and running on the processor, wherein the computer program, when executed by the processor, implements the steps of a remote control method based on an edge server as described in any one of claims 1 to 11.
14. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of a remote control method based on an edge server as described in any one of claims 1 to 11.
Citation Information
Patent Citations
Vehicle remote control method, device, equipment, storage medium and program product
CN117572854A
Vehicle remote control method, device and equipment and computer readable storage medium
CN117872891A