Vehicle control method and device based on cloud side cooperation, terminal equipment and storage medium
Through the cloud-edge collaborative vehicle control method, the waste of multi-terminal development and maintenance, inconvenient route configuration updates and inconsistent configurations in the existing remote vehicle control technology are solved, and more efficient and accurate vehicle control and scheduling are achieved.
Patent Information
- Application Number
- CN202411800168.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-09
- Publication Date
- 2025-03-28
AI Technical Summary
The existing remote control vehicle technology has the waste of multi-terminal development and maintenance, users are inconvenient to use, and the update of vehicle route configuration requires manual intervention, which is prone to errors and increases workload, and the configuration of vehicle and cloud is inconsistent.
The vehicle control method based on cloud-edge collaboration is adopted, and the task requirements are sent to the cloud through the WEB browser. After the vehicle is powered on, the route configuration update files are automatically obtained, the vehicle is driven, and the route information is reported regularly, and the vehicle information is updated in real time in the cloud.
It reduces the workload of multi-terminal development and maintenance, improves configuration accuracy, reduces errors and omissions in manual operations, and realizes real-time monitoring of vehicle driving status by the cloud and timely adjustment of scheduling strategies.
Smart Images

Figure CN119728664A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of intelligent transportation systems, and in particular to a vehicle control method, device, terminal equipment and storage medium based on cloud-edge collaboration. Background Art
[0002] With the rapid development of autonomous driving technology, autonomous driving vehicles can rely on single-vehicle intelligent technologies such as perception systems, positioning systems, control systems, and decision-making systems to complete the task of moving from point A to point B in a specific area (such as a park) according to remote control instructions. However, the existing remote control technology still has many problems and limitations in practical applications.
[0003] At present, the main way to remotely control autonomous vehicles is by installing a dedicated remote control APP on a mobile phone. This method requires the development of APP versions suitable for different operating systems, such as Android and iOS, and every time the application is updated or a vulnerability is fixed, all users need to download and update the APP version. This multi-terminal development and repeated update method not only wastes a lot of development resources, but also brings inconvenience to users. In addition, the existing technology also has significant problems in vehicle route configuration. Whenever the vehicle's driving route needs to be updated, the operator must personally arrive at the vehicle site, find and manually update the vehicle configuration one by one. This method is not only huge in workload, but also prone to errors and omissions, affecting the normal operation of the vehicle. In addition, in the current system, the vehicle's route configuration must not only be set on the vehicle side, but also be repeatedly configured on the cloud. This dual configuration method not only increases the workload, but also easily leads to inconsistent configurations on the vehicle side and the cloud side, thereby affecting the normal scheduling and operation of autonomous vehicles. Summary of the invention
[0004] The present invention aims to provide a vehicle control method, device, terminal equipment and storage medium based on cloud-edge collaboration to solve the above-mentioned technical problems and improve the effectiveness and convenience of remote vehicle control.
[0005] In order to solve the above technical problems, the present invention provides a vehicle control method based on cloud-edge collaboration, comprising:
[0006] Sending user task requirements to the cloud based on a WEB browser, so that the cloud selects a target autonomous driving vehicle according to the task requirements and sends a vehicle control instruction;
[0007] When it is detected that the target autonomous driving vehicle is powered on, obtaining a route configuration update file of the target autonomous driving vehicle based on an over-the-air download technology;
[0008] The target autonomous driving vehicle is controlled to drive based on the route configuration update file and the vehicle control command, and the route information is reported to the cloud at preset time intervals, so that the cloud updates the route information of the target autonomous driving vehicle based on the received vehicle information.
[0009] In the above solution, task requirements are sent to the cloud through a WEB browser. The WEB browser has cross-platform characteristics, and users do not need to install special APPs, reducing the workload of multi-terminal development and maintenance. The cloud can centrally handle user needs, facilitating unified management and scheduling. After the vehicle is powered on, it automatically obtains the latest configuration file without manual intervention, reducing the workload. Automatic updates reduce errors and omissions in manual operations and improve the accuracy of configuration. By regularly reporting route information, the cloud can monitor the driving status of the vehicle in real time and adjust the scheduling strategy in a timely manner.
[0010] In one implementation, the sending of the user task requirement to the cloud based on the WEB browser so that the cloud selects a target autonomous driving vehicle according to the task requirement and sends a vehicle control instruction specifically includes:
[0011] Pre-constructing a vehicle control page for the autonomous driving vehicle; wherein the vehicle control page includes a park map and vehicle information of each autonomous driving vehicle;
[0012] Based on the WEB browser, the vehicle control page is logged in and a mission route is selected, an autonomous driving vehicle that is idle on the mission route and closest to the user is selected as the target autonomous driving vehicle, and is sent to the cloud based on a preset communication protocol, so that the cloud sends a vehicle control instruction to the target autonomous driving vehicle; wherein the vehicle control instruction includes a vehicle frame number and vehicle operation information.
[0013] In one implementation, the vehicle control page includes a park map and information about each of the autonomous driving vehicles, specifically including:
[0014] The autonomous driving vehicle periodically reports vehicle information to the cloud via the MQTT transmission protocol; wherein the vehicle information includes vehicle location and vehicle status;
[0015] The cloud feeds back the vehicle information to the WEB browser based on the WebSocket transmission protocol, so that the WEB browser updates the vehicle control page based on the received vehicle information.
[0016] In one implementation, when it is detected that the target autonomous driving vehicle is powered on, obtaining a route configuration update file of the target autonomous driving vehicle based on an over-the-air download technology specifically includes:
[0017] Based on the driving route to be adjusted, a route configuration update file is pre-published in the cloud and an update task is created; wherein the update task includes: the route configuration update file, the applicant, the vehicle frame number to be upgraded, the update description, the application time, the expected end time, and whether to notify the on-site operator;
[0018] When the target autonomous driving vehicle is powered on, searching based on the vehicle frame number to determine whether the target autonomous driving vehicle has the update task;
[0019] When the target autonomous driving vehicle has the update task, the execution file of the update task is obtained based on the over-the-air download technology and the route configuration is updated online based on the execution file.
[0020] In one implementation, reporting the route information to the cloud at a preset time interval so that the cloud updates the route information of the target autonomous driving vehicle based on the received vehicle information specifically includes:
[0021] The target autonomous driving vehicle reports the vehicle frame number and route information to the cloud at preset time intervals; wherein the route information is a route ID;
[0022] The cloud performs a consistency check on the pre-constructed vehicle information table based on the route ID. If the route ID is inconsistent with the route ID recorded in the vehicle information table, the route ID is input into the route table for traversal query. If the route ID exists in the route table, the route ID is updated to the vehicle information table. The vehicle information table is used to record the route ID corresponding to each vehicle frame number, and the route table is used to record the route information of the autonomous driving vehicle.
[0023] In a second aspect, the present application also provides: a vehicle control device based on cloud-edge collaboration, including: a command sending module, a file updating module and a route updating module;
[0024] The instruction sending module is used to send the user task requirements to the cloud based on the WEB browser, so that the cloud selects the target automatic driving vehicle according to the task requirements and sends the vehicle control instruction;
[0025] The file update module is used to obtain a route configuration update file of the target autonomous driving vehicle based on an over-the-air download technology when it is detected that the target autonomous driving vehicle is powered on;
[0026] The route update module is used to control the target autonomous driving vehicle to drive based on the route configuration update file and the vehicle control instructions, and report route information to the cloud at preset time intervals, so that the cloud updates the route information of the target autonomous driving vehicle based on the received vehicle information.
[0027] In the above solution, task requirements are sent to the cloud through a WEB browser. The WEB browser has cross-platform characteristics, and users do not need to install special APPs, reducing the workload of multi-terminal development and maintenance. The cloud can centrally handle user needs, facilitating unified management and scheduling. After the vehicle is powered on, it automatically obtains the latest configuration file without manual intervention, reducing the workload. Automatic updates reduce errors and omissions in manual operations and improve the accuracy of configuration. By regularly reporting route information, the cloud can monitor the driving status of the vehicle in real time and adjust the scheduling strategy in a timely manner.
[0028] In one implementation, the instruction sending module is used to send the user task requirements to the cloud based on the WEB browser, so that the cloud selects the target autonomous driving vehicle according to the task requirements and sends the vehicle control instruction, specifically including:
[0029] Pre-constructing a vehicle control page for the autonomous driving vehicle; wherein the vehicle control page includes a park map and vehicle information of each autonomous driving vehicle;
[0030] Based on the WEB browser, the vehicle control page is logged in and a mission route is selected, an autonomous driving vehicle that is idle on the mission route and closest to the user is selected as the target autonomous driving vehicle, and is sent to the cloud based on a preset communication protocol, so that the cloud sends a vehicle control instruction to the target autonomous driving vehicle; wherein the vehicle control instruction includes a vehicle frame number and vehicle operation information.
[0031] In one implementation, the vehicle control page includes a park map and information about each of the autonomous driving vehicles, specifically including:
[0032] The autonomous driving vehicle periodically reports vehicle information to the cloud via the MQTT transmission protocol; wherein the vehicle information includes vehicle location and vehicle status;
[0033] The cloud feeds back the vehicle information to the WEB browser based on the WebSocket transmission protocol, so that the WEB browser updates the vehicle control page based on the received vehicle information.
[0034] In one implementation, when it is detected that the target autonomous driving vehicle is powered on, obtaining a route configuration update file of the target autonomous driving vehicle based on an over-the-air download technology specifically includes:
[0035] Based on the driving route to be adjusted, a route configuration update file is pre-published in the cloud and an update task is created; wherein the update task includes: the route configuration update file, the applicant, the vehicle frame number to be upgraded, the update description, the application time, the expected end time, and whether to notify the on-site operator;
[0036] When the target autonomous driving vehicle is powered on, searching based on the vehicle frame number to determine whether the target autonomous driving vehicle has the update task;
[0037] When the target autonomous driving vehicle has the update task, the execution file of the update task is obtained based on the over-the-air download technology and the route configuration is updated online based on the execution file.
[0038] In one implementation, reporting the route information to the cloud at a preset time interval so that the cloud updates the route information of the target autonomous driving vehicle based on the received vehicle information specifically includes:
[0039] The target autonomous driving vehicle reports the vehicle frame number and route information to the cloud at preset time intervals; wherein the route information is a route ID;
[0040] The cloud performs a consistency check on the pre-constructed vehicle information table based on the route ID. If the route ID is inconsistent with the route ID recorded in the vehicle information table, the route ID is input into the route table for traversal query. If the route ID exists in the route table, the route ID is updated to the vehicle information table. The vehicle information table is used to record the route ID corresponding to each vehicle frame number, and the route table is used to record the route information of the autonomous driving vehicle.
[0041] In a third aspect, the present application also provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, and when the processor executes the computer program, it implements the vehicle control method based on cloud-edge collaboration as described above.
[0042] In a fourth aspect, the present application also provides a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the vehicle control method based on cloud-edge collaboration as described above. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 A schematic diagram of a process of a vehicle control method based on cloud-edge collaboration provided in one embodiment of the present invention;
[0044] Figure 2 A block diagram of a three-terminal interactive system provided in one embodiment of the present invention;
[0045] Figure 3 A module schematic diagram of a vehicle control device based on cloud-edge collaboration provided in one embodiment of the present invention. DETAILED DESCRIPTION
[0046] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0047] The terms "first" and "second" and the like in the specification, claims and drawings of this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.
[0048] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0049] First, some terms in this application are explained to facilitate understanding by those skilled in the art.
[0050] (1) WEB: The full name is World Wide Web. It is an Internet-based information system that connects a large number of documents and resources distributed around the world through the Hypertext Transfer Protocol (HTTP), allowing users to easily access and share information.
[0051] (2) OTA: The full name is Over-The-Air, which refers to the technology or process of transmitting data through a wireless network, usually used to remotely update, configure or manage devices.
[0052] (3) HTTPS: (HyperText Transfer Protocol Secure) is a secure version of HTTP that encrypts data transmission through the SSL (Secure Sockets Layer) or TLS (Transport Layer Security) protocol to ensure the security of communications.
[0053] (4) MQTT: The full name is Message Queuing Telemetry Transport. MQTT adopts the publish-subscribe (pub / sub) messaging model, which allows the decoupling of message publishers and subscribers. In the field of Internet of Things (IoT), it is used for inter-device communication to realize functions such as device status monitoring and remote control.
[0054] (5) WebSocket: is a full-duplex communication protocol over a single TCP connection, allowing real-time, two-way data transmission between the client and the server. WebSocket makes data exchange between the client and the server much easier, allowing the server to actively push data to the client.
[0055] Example 1
[0056] See also Figure 1 , Figure 1 The flowchart of a vehicle control method based on cloud-edge collaboration provided in an embodiment of the present invention is as follows. The embodiment of the present invention provides a vehicle control method based on cloud-edge collaboration, including steps 101 to 103, and each step is specifically as follows:
[0057] Step 101: Sending user task requirements to the cloud based on a WEB browser, so that the cloud selects a target autonomous driving vehicle and sends a vehicle control instruction according to the task requirements.
[0058] In one embodiment, the method of sending user task requirements to the cloud based on a WEB browser so that the cloud selects a target autonomous driving vehicle according to the task requirements and sends a vehicle control instruction specifically includes: pre-building a vehicle control page for the autonomous driving vehicle; wherein the vehicle control page includes a campus map and information about each of the autonomous driving vehicles; logging into the vehicle control page based on the WEB browser and selecting a task route, selecting an autonomous driving vehicle that is idle on the task route and closest to the user as the target autonomous driving vehicle, and sending it to the cloud based on a preset communication protocol, so that the cloud sends a vehicle control instruction to the target autonomous driving vehicle; wherein the vehicle control instruction includes a vehicle frame number and vehicle operation information.
[0059] In the implementation of the present invention, a vehicle control page for controlling an autonomous driving vehicle is pre-built. The user / autonomous driving demander can log in to the vehicle control page through the Internet using a WEB browser to obtain the campus map where the autonomous driving vehicle can perform tasks and the route information on the map. After the user selects the corresponding task route according to the demand, the WEB server sends an HTTPS request to the cloud according to the task route. At this time, the cloud will first return the preliminary vehicle information of all vehicles under the task route, including vehicle name, frame number, route ID, etc. The user selects the nearest and idle autonomous driving vehicle in the campus map, sets the starting site and target site, and sends it to the cloud via the HTTP transmission protocol. The cloud sends the vehicle control command to the autonomous driving vehicle end via the MQTT transmission protocol. Among them, the control command includes the frame number, vehicle operation command (such as vehicle power-on, departure control to the target site, pause / resume autonomous driving control, double flash on / off control, wiper on / off control, high and low beam on / off control, window lift control) and other information. After receiving the vehicle control command, the vehicle end executes the corresponding vehicle action and returns the processing result to the cloud through MQTT transmission, and the cloud responds to return the processing result to the WEB browser via the HTTP transmission protocol to update the vehicle control page. When the vehicle performs corresponding actions according to the control instructions, the vehicle-side decision-making program will plan the path on the campus map according to the current location of the vehicle and the location of the starting station, generate the driving path of the target autonomous vehicle, and make the target autonomous vehicle drive to the starting station. When the vehicle arrives at the target station and the personnel get on the vehicle or the cargo is loaded and unloaded, the user can use the WEB browser to re-issue the vehicle control command to the cloud. At this time, the cloud sends a new vehicle control command to the vehicle through the MQTT transmission protocol. The vehicle responds to the received vehicle control command based on the execution action and feedbacks the response result to the cloud through the MQQT transmission protocol, and then the cloud feedbacks to the WEB browser through the HTTPS transmission protocol, realizing the three-end interaction between the vehicle, the cloud and the WEB.
[0060] In one embodiment, the vehicle control page contains a park map and information about each of the autonomous driving vehicles, specifically including: the autonomous driving vehicle periodically reports vehicle information to the cloud via the MQTT transmission protocol; wherein the vehicle information includes vehicle location and vehicle status; the cloud feeds back the vehicle information to the WEB browser based on the WebSocket transmission protocol, so that the WEB browser updates the vehicle control page based on the received vehicle information.
[0061] The intelligent driving domain controller is a key component in the intelligent driving system, which is mainly responsible for managing and coordinating various autonomous driving related subsystems. The SCB module (Safety & Chassis Control Box) is an important control unit in the vehicle, which is mainly responsible for the vehicle's safety and chassis control functions. Figure 2 , Figure 2 This is a block diagram of a three-terminal interactive system provided in an embodiment of the present invention. In an embodiment of the present invention, in the intelligent driving control domain of an autonomous driving vehicle, the SCB module periodically reports vehicle information to the cloud through the MQTT transmission protocol. Among them, the vehicle position includes the vehicle's latitude and longitude information and the vehicle's current position; the vehicle status includes the current speed, driving status, state machine, program status, idle status, etc. The cloud then sends the received vehicle information to the WEB end through WebSocket. Based on this, during the vehicle control process, the user can view information such as the vehicle position, current speed, driving status, state machine, program status, idle status, etc. on the vehicle control interface through a WEB browser.
[0062] Step 102: When it is detected that the target autonomous driving vehicle is powered on, a route configuration update file of the target autonomous driving vehicle is obtained based on over-the-air download technology.
[0063] In one embodiment, when it is detected that the target autonomous driving vehicle is powered on, the route configuration update file of the target autonomous driving vehicle is obtained based on the over-the-air download technology, specifically including: publishing the route configuration update file in the cloud in advance based on the driving route to be adjusted and creating an update task; wherein the update task includes: the route configuration update file, the applicant, the frame number of the vehicle to be upgraded, the update description, the application time, the expected end time and whether to notify the on-site workers; when the target autonomous driving vehicle is powered on, a search is performed based on the vehicle frame number to determine whether the target autonomous driving vehicle has the update task; when the target autonomous driving vehicle has the update task, the execution file of the update task is obtained based on the over-the-air download technology and the route configuration is updated online based on the execution file.
[0064] In an embodiment of the present invention, when the driving route of the autonomous driving vehicle needs to be adjusted, the maintenance personnel will update the route configuration file in the cloud in advance, wherein the route configuration update file includes information such as the route ID, and create an update task, i.e., an OTA task, which includes information such as the route configuration update file, the applicant, the vehicle frame number to be upgraded, the update description, the application time, the expected end time, and whether to notify the on-site operators. When the target autonomous driving vehicle is powered on, the OTA program in the vehicle autonomous driving domain control will access the cloud through the HTTPS transmission protocol, search according to the vehicle frame number of the target autonomous driving vehicle, and determine whether there is an update task for the target autonomous driving vehicle. If there is an update task, the download address of the update task is returned, and the OTA program will download the file and complete the online update of the route configuration according to the OTA task and the downloaded file, thereby avoiding the need for staff to go to the site to find the vehicle and perform manual configuration one by one in the later stage.
[0065] Step 103: Control the target autonomous driving vehicle to drive based on the route configuration update file and the vehicle control command, and report route information to the cloud at preset time intervals, so that the cloud updates the route information of the target autonomous driving vehicle based on the received vehicle information.
[0066] In one embodiment, reporting the route information to the cloud at a preset time interval so that the cloud updates the route information of the target autonomous driving vehicle based on the received vehicle information specifically includes:
[0067] The target autonomous driving vehicle reports the vehicle frame number and route information to the cloud at preset time intervals; wherein the route information is a route ID; the cloud performs a consistency check on a pre-constructed vehicle information table based on the route ID; if the route ID is inconsistent with the route ID recorded in the vehicle information table, the route ID is input into the route table for traversal query; if the route ID exists in the route table, the route ID is updated to the vehicle information table; wherein the vehicle information table is used to record the route ID corresponding to each vehicle frame number, and the route table is used to record the route information of the autonomous driving vehicle.
[0068] In an embodiment of the present invention, the OTA program in the autonomous driving domain controller in the target autonomous driving vehicle independently obtains the route configuration update file to obtain the route ID information, and reports the current route ID and vehicle frame number of the target autonomous driving vehicle to the cloud every 10 seconds through the HTTPS transmission protocol. The cloud compares the received route ID with the information stored in the vehicle information table of the database to see if they are consistent. If they are inconsistent, it is determined whether the received route ID is recorded in the route table. If the verification passes, the received route ID is updated to the route ID data corresponding to the vehicle frame number of the target autonomous driving vehicle in the vehicle information table, thereby updating the route information of the autonomous driving vehicle stored in the cloud database.
[0069] In an embodiment of the present invention, a vehicle control device based on cloud-edge collaboration is also provided, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, the above-mentioned vehicle control method based on cloud-edge collaboration is implemented.
[0070] In an embodiment of the present invention, a computer-readable storage medium is also provided, and the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the above-mentioned vehicle control method based on cloud-edge collaboration.
[0071] Exemplarily, the computer program can be divided into one or more modules, one or more modules are stored in a memory and executed by a processor to complete the present invention. One or more modules can be a series of computer program instruction segments that can complete specific functions, and the instruction segments are used to describe the execution process of the computer program in the vehicle control device based on cloud-edge collaboration.
[0072] The vehicle control device based on cloud-edge collaboration can be a computing device such as a desktop computer, a notebook, a PDA, and a cloud server. The vehicle control device based on cloud-edge collaboration may include, but is not limited to, a processor, a memory, and a display. Those skilled in the art will understand that the above-mentioned components are merely examples of vehicle control devices based on cloud-edge collaboration, and do not constitute a limitation on vehicle control devices based on cloud-edge collaboration. More or fewer components may be included, or certain components may be combined, or different components may be included. For example, the vehicle control device based on cloud-edge collaboration may also include input and output devices, network access devices, buses, and the like.
[0073] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the vehicle control device based on cloud-edge collaboration, and uses various interfaces and lines to connect the various parts of the vehicle control device based on cloud-edge collaboration.
[0074] The memory can be used to store computer programs and / or modules. The processor realizes various functions of the fuel cell performance recovery device by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, a text conversion function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, text message data, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0075] Among them, if the module based on cloud-edge collaboration is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. Computer-readable media can include: any entity or device that can carry computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0076] The embodiment of the present invention provides a vehicle control method based on cloud-edge collaboration, which sends task requirements to the cloud through a WEB browser. The WEB browser has cross-platform characteristics, and users do not need to install special APPs, reducing the workload of multi-terminal development and maintenance. The cloud can centrally process user needs, which is convenient for unified management and scheduling. After the vehicle is powered on, it automatically obtains the latest configuration file without manual intervention, reducing the workload. Automatic updates reduce errors and omissions in manual operations and improve the accuracy of configuration. By regularly reporting route information, the cloud can monitor the driving status of the vehicle in real time and adjust the scheduling strategy in time.
[0077] Example 2
[0078] See also Figure 3 , Figure 3 The module diagram of a vehicle control device based on cloud-edge collaboration provided in one embodiment of the present invention. The embodiment of the present invention provides a vehicle control device based on cloud-edge collaboration, including: an instruction sending module 201, a file updating module 202 and a route updating module 203;
[0079] The instruction sending module 201 is used to send the user task requirements to the cloud based on the WEB browser, so that the cloud selects the target automatic driving vehicle according to the task requirements and sends the vehicle control instruction;
[0080] The file update module 202 is used to obtain the route configuration update file of the target autonomous driving vehicle based on the over-the-air download technology when it is detected that the target autonomous driving vehicle is powered on;
[0081] The route update module 203 is used to control the target autonomous driving vehicle to drive based on the route configuration update file and the vehicle control instructions, and report route information to the cloud at preset time intervals, so that the cloud updates the route information of the target autonomous driving vehicle based on the received vehicle information.
[0082] In one embodiment, the instruction sending module is used to send user task requirements to the cloud based on a WEB browser, so that the cloud selects a target autonomous driving vehicle according to the task requirements to send a vehicle control instruction, specifically including: pre-building a vehicle control page for the autonomous driving vehicle; wherein the vehicle control page contains a campus map and vehicle information of each of the autonomous driving vehicles; based on the WEB browser, the vehicle control page is logged in and a task route is selected, and an autonomous driving vehicle that is idle on the task route and closest to the user is selected as the target autonomous driving vehicle, and is sent to the cloud based on a preset communication protocol, so that the cloud sends a vehicle control instruction to the target autonomous driving vehicle; wherein the vehicle control instruction includes a vehicle frame number and vehicle operation information.
[0083] In one embodiment, the vehicle control page contains a park map and information about each of the autonomous driving vehicles, specifically including: the autonomous driving vehicle periodically reports vehicle information to the cloud via the MQTT transmission protocol; wherein the vehicle information includes vehicle location and vehicle status; the cloud feeds back the vehicle information to the WEB browser based on the WebSocket transmission protocol, so that the WEB browser updates the vehicle control page based on the received vehicle information.
[0084] In one embodiment, when it is detected that the target autonomous driving vehicle is powered on, the route configuration update file of the target autonomous driving vehicle is obtained based on the over-the-air download technology, specifically including: publishing the route configuration update file in the cloud in advance based on the driving route to be adjusted and creating an update task; wherein the update task includes: the route configuration update file, the applicant, the frame number of the vehicle to be upgraded, the update description, the application time, the expected end time and whether to notify the on-site workers; when the target autonomous driving vehicle is powered on, a search is performed based on the vehicle frame number to determine whether the target autonomous driving vehicle has the update task; when the target autonomous driving vehicle has the update task, the execution file of the update task is obtained based on the over-the-air download technology and the route configuration is updated online based on the execution file.
[0085] In one embodiment, the route information is reported to the cloud at preset time intervals so that the cloud updates the route information of the target autonomous driving vehicle based on the received vehicle information, specifically including: the target autonomous driving vehicle reports the vehicle frame number and route information to the cloud at preset time intervals; wherein the route information is a route ID; the cloud performs a consistency check in a pre-constructed vehicle information table based on the route ID, and if the route ID is inconsistent with the route ID recorded in the vehicle information table, the route ID is input into the route table for traversal query, and if the route ID exists in the route table, the route ID is updated to the vehicle information table; wherein the vehicle information table is used to record the route ID corresponding to each vehicle frame number, and the route table is used to record the route information of the autonomous driving vehicle.
[0086] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0087] The embodiment of the present invention provides a vehicle control device based on cloud-edge collaboration, which sends task requirements to the cloud through a WEB browser. The WEB browser has cross-platform characteristics, and users do not need to install special APPs, reducing the workload of multi-terminal development and maintenance. The cloud can centrally process user needs, which is convenient for unified management and scheduling. After the vehicle is powered on, it automatically obtains the latest configuration file without manual intervention, reducing the workload. Automatic updates reduce errors and omissions in manual operations and improve the accuracy of configuration. By regularly reporting route information, the cloud can monitor the driving status of the vehicle in real time and adjust the scheduling strategy in time.
[0088] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and substitutions can be made without departing from the technical principles of the present invention. These improvements and substitutions should also be regarded as the scope of protection of the present invention.
Claims
1. A vehicle control method based on cloud-edge collaboration, characterized in that: include: Sending user task requirements to the cloud based on a WEB browser, so that the cloud selects a target autonomous driving vehicle according to the task requirements and sends a vehicle control instruction; When it is detected that the target autonomous driving vehicle is powered on, obtaining a route configuration update file of the target autonomous driving vehicle based on an over-the-air download technology; The target autonomous driving vehicle is controlled to drive based on the route configuration update file and the vehicle control command, and the route information is reported to the cloud at preset time intervals, so that the cloud updates the route information of the target autonomous driving vehicle based on the received vehicle information.
2. A vehicle control method based on cloud-edge collaboration as claimed in claim 1, characterized in that: The sending of the user task requirement to the cloud based on the WEB browser so that the cloud selects a target autonomous driving vehicle according to the task requirement and sends a vehicle control instruction specifically includes: Pre-constructing a vehicle control page for the autonomous driving vehicle; wherein the vehicle control page includes a park map and vehicle information of each autonomous driving vehicle; Based on the WEB browser, the vehicle control page is logged in and a mission route is selected, an autonomous driving vehicle that is idle on the mission route and closest to the user is selected as the target autonomous driving vehicle, and is sent to the cloud based on a preset communication protocol, so that the cloud sends a vehicle control instruction to the target autonomous driving vehicle; wherein the vehicle control instruction includes a vehicle frame number and vehicle operation information.
3. A vehicle control method based on cloud-edge collaboration as claimed in claim 2, characterized in that: The vehicle control page contains a park map and information about each of the autonomous driving vehicles, including: The autonomous driving vehicle periodically reports vehicle information to the cloud via the MQTT transmission protocol; wherein the vehicle information includes vehicle location and vehicle status; The cloud feeds back the vehicle information to the WEB browser based on the WebSocket transmission protocol, so that the WEB browser updates the vehicle control page based on the received vehicle information.
4. The vehicle control method based on cloud-edge collaboration as claimed in claim 1, characterized in that: When the target autonomous driving vehicle is detected to be powered on, obtaining a route configuration update file of the target autonomous driving vehicle based on an over-the-air download technology specifically includes: Based on the driving route to be adjusted, a route configuration update file is pre-published in the cloud and an update task is created; wherein the update task includes: the route configuration update file, the applicant, the vehicle frame number to be upgraded, the update description, the application time, the expected end time, and whether to notify the on-site operator; When the target autonomous driving vehicle is powered on, searching based on the vehicle frame number to determine whether the target autonomous driving vehicle has the update task; When the target autonomous driving vehicle has the update task, the execution file of the update task is obtained based on the over-the-air download technology and the route configuration is updated online based on the execution file.
5. The vehicle control method based on cloud-edge collaboration as claimed in claim 1, characterized in that: Reporting the route information to the cloud at a preset time interval so that the cloud updates the route information of the target autonomous driving vehicle based on the received vehicle information specifically includes: The target autonomous driving vehicle reports the vehicle frame number and route information to the cloud at preset time intervals; wherein the route information is a route ID; The cloud performs a consistency check on the pre-constructed vehicle information table based on the route ID. If the route ID is inconsistent with the route ID recorded in the vehicle information table, the route ID is input into the route table for traversal query. If the route ID exists in the route table, the route ID is updated to the vehicle information table. The vehicle information table is used to record the route ID corresponding to each vehicle frame number, and the route table is used to record the route information of the autonomous driving vehicle.
6. A vehicle control device based on cloud-edge collaboration, characterized in that: include: Instruction sending module, file updating module and route updating module; The instruction sending module is used to send the user task requirements to the cloud based on the WEB browser, so that the cloud selects the target automatic driving vehicle according to the task requirements and sends the vehicle control instruction; The file update module is used to obtain a route configuration update file of the target autonomous driving vehicle based on an over-the-air download technology when it is detected that the target autonomous driving vehicle is powered on; The route update module is used to control the target autonomous driving vehicle to drive based on the route configuration update file and the vehicle control instructions, and report route information to the cloud at preset time intervals, so that the cloud updates the route information of the target autonomous driving vehicle based on the received vehicle information.
7. A vehicle control device based on cloud-edge collaboration as claimed in claim 6, characterized in that: The instruction sending module is used to send the user task requirements to the cloud based on the WEB browser, so that the cloud selects the target automatic driving vehicle according to the task requirements and sends the vehicle control instruction, which specifically includes: Pre-constructing a vehicle control page for the autonomous driving vehicle; wherein the vehicle control page includes a park map and vehicle information of each autonomous driving vehicle; Based on the WEB browser, the vehicle control page is logged in and a mission route is selected, an autonomous driving vehicle that is idle on the mission route and closest to the user is selected as the target autonomous driving vehicle, and is sent to the cloud based on a preset communication protocol, so that the cloud sends a vehicle control instruction to the target autonomous driving vehicle; wherein the vehicle control instruction includes a vehicle frame number and vehicle operation information.
8. The vehicle control device based on cloud-edge collaboration as claimed in claim 7, characterized in that: The vehicle control page contains a park map and information about each of the autonomous driving vehicles, including: The autonomous driving vehicle periodically reports vehicle information to the cloud via the MQTT transmission protocol; wherein the vehicle information includes vehicle location and vehicle status; The cloud feeds back the vehicle information to the WEB browser based on the WebSocket transmission protocol, so that the WEB browser updates the vehicle control page based on the received vehicle information.
9. A terminal device, characterized in that: It includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the vehicle control method based on cloud-edge collaboration as described in any one of claims 1 to 5.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein, when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the vehicle control method based on cloud-edge collaboration as described in any one of claims 1 to 5.