CN114675574A - System and method for remotely controlling vehicle in low delay - Google Patents

System and method for remotely controlling vehicle in low delay Download PDF

Info

Publication number
CN114675574A
CN114675574A CN202210246308.9A CN202210246308A CN114675574A CN 114675574 A CN114675574 A CN 114675574A CN 202210246308 A CN202210246308 A CN 202210246308A CN 114675574 A CN114675574 A CN 114675574A
Authority
CN
China
Prior art keywords
vehicle
terminal
execution result
control
mqtt broker
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210246308.9A
Other languages
Chinese (zh)
Inventor
于远来
蓝文良
瞿航
向月
徐凯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Chongqing Changan Automobile Co Ltd
Original Assignee
Chongqing Changan Automobile Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chongqing Changan Automobile Co Ltd filed Critical Chongqing Changan Automobile Co Ltd
Priority to CN202210246308.9A priority Critical patent/CN114675574A/en
Publication of CN114675574A publication Critical patent/CN114675574A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/23Pc programming
    • G05B2219/23051Remote control, enter program remote, detachable programmer

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Selective Calling Equipment (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention relates to a system and a method for remotely controlling a vehicle with low time delay, wherein the method comprises the following steps: 1) the mobile terminal is connected with the MQTT Broker cluster of the mobile terminal and sends a control instruction; 2) the cloud end is connected with the MQTT Broker cluster of the mobile end, receives the control command and the check control command, and then is connected with the MQTT Broker cluster of the vehicle end and issues the control command; 3) the vehicle end is connected with the MQTT Broker cluster of the vehicle end, receives the control command and the check control command, executes the control command and reports an execution result; 4) the cloud end receives the execution result and sends the execution result to the MQTT Broker cluster of the mobile end; 5) and the mobile terminal receives and displays the execution result. According to the method for remotely controlling the vehicle with low delay, the cloud end is respectively in communication connection with the vehicle end and the mobile end through the MQTT Broker cluster, and data communication based on the MQTT protocol enables remote control to be high in real-time performance, user experience to be better, code reusability to be high, and the method is friendly to developers.

Description

System and method for remotely controlling vehicle in low delay
Technical Field
The invention belongs to the technical field of automobile intellectualization, and particularly relates to a system and a method for remotely controlling a vehicle with low time delay.
Background
Along with the development of automobile intellectualization, automobiles have already entered the internet era, and more vehicles are equipped with remote control ability, can realize functions such as remote control opens the air conditioner, remote control unblanks, remote control whistle. However, the current remote control of automobiles has the problem of poor real-time performance, and particularly when a large number of users carry out remote control on the automobiles at the same time, the execution and feedback of remote control commands of the automobiles have high time delay, so that the use experience of the users is poor.
For example, chinese patent CN202010170677.5 is a method for a mobile terminal to remotely control a vehicle air conditioner, in the scheme, a control instruction is sent to a vehicle TBOX through the mobile terminal, and after the vehicle executes the instruction, an execution result is reported to a cloud; however, the memory and communication flow of the vehicle-end program are still harsh, after the vehicle reports the execution result, the mobile device cannot respond quickly and display, and the problem of high remote control delay is not solved.
Therefore, it is necessary to provide a method for remotely controlling a vehicle with low latency to improve the practicability of the vehicle remote control function and the user experience.
Disclosure of Invention
In view of the above disadvantages in the prior art, the technical problem to be solved by the present invention is to provide a system and a method for remotely controlling a vehicle with low latency, so as to solve the problem of high latency in the current remote control of the vehicle, and obtain the effects of improving the practicability of the remote control function of the vehicle and the user experience.
In order to solve the technical problem, the invention adopts the following technical scheme:
a system for remotely controlling a vehicle in low delay comprises a mobile terminal, a mobile terminal MQTT Broker cluster, a cloud terminal, a vehicle terminal and a vehicle terminal MQTT Broker cluster; the mobile terminal is in communication connection with the cloud terminal through the mobile terminal MQTT Broker cluster, and the vehicle terminal is in communication connection with the cloud terminal through the vehicle terminal MQTT Broker cluster;
the mobile terminal is used for sending a control instruction and receiving an execution result sent by the cloud terminal, the cloud terminal is used for receiving the control instruction and the check control instruction sent by the mobile terminal, sending the control instruction to the vehicle terminal, receiving the execution result reported by the vehicle terminal and sending the execution result to the mobile terminal, and the vehicle terminal is used for receiving the control instruction, the check control instruction and the execution control instruction sent by the cloud terminal and reporting the execution result to the cloud terminal.
The invention also comprises a method for remotely controlling the vehicle with low delay, which uses the system for remotely controlling the vehicle with low delay, and comprises the following steps:
1) the mobile terminal is connected with the MQTT Broker cluster of the mobile terminal and sends a control instruction;
2) the cloud end is connected with the MQTT Broker cluster of the mobile end, receives the control command and the check control command, and then is connected with the MQTT Broker cluster of the vehicle end and issues the control command;
3) The vehicle end is connected with the MQTT Broker cluster of the vehicle end, receives the control command and the check control command, executes the control command and reports an execution result;
4) the cloud end receives the execution result and sends the execution result to the MQTT Broker cluster of the mobile end;
5) and the mobile terminal receives and displays the execution result.
Further, the specific operation of step 2) is as follows:
the cloud end is connected with the mobile terminal MQTT Broker cluster and the vehicle terminal MQTT Broker cluster respectively, obtains control instructions from the mobile terminal MQTT Broker cluster, decrypts the control instructions to obtain control data, verifies the control data after decryption, recombines and encrypts the control instructions after verification, and finally sends the control instructions to the vehicle terminal MQTT Broker cluster.
Further, in step 2), the verifying the control data includes verifying whether the control data has a control right and verifying whether the control data meets a preset rule.
Further, the specific operation of step 3) is as follows:
the vehicle end is connected with the vehicle end MQTT Broker cluster, receives the control command, decrypts the control command, sends the decrypted control command to each controller of the vehicle to be executed, simultaneously sends a message of receiving the command to the cloud end, and after the controller is executed, sends the execution result to the cloud end.
Further, the specific operation of step 4) is as follows:
and after receiving the execution result sent by the vehicle end, the cloud end sends a message of the received result to the vehicle end, decrypts and stores the message of the received result, and finally sends the execution result to the MQTT Broker cluster of the mobile end.
Further, the specific operation of step 5) is as follows:
the vehicle end obtains the execution result from the mobile end MQTT Broker cluster, the vehicle end carries out data decryption on the execution result to obtain a remote control result, and then the vehicle end shows the remote control result to the user.
Further, the execution result includes a remote control result and a vehicle state.
Compared with the prior art, the invention has the following beneficial effects:
according to the method for remotely controlling the vehicle with low delay, the cloud end is respectively in communication connection with the vehicle end and the mobile end through the MQTT Broker cluster, and data communication based on the MQTT protocol enables remote control to be high in real-time performance, user experience to be better, code reusability to be high, and the method is friendly to developers.
Drawings
FIG. 1 is a block diagram of a system for remotely controlling a vehicle with low latency according to an embodiment;
FIG. 2 is a flowchart of a method for remotely controlling a vehicle with low latency according to an embodiment.
Detailed Description
The following provides a more detailed description of embodiments of the present invention, with reference to the accompanying drawings.
Example (b):
referring to fig. 1, a system for remotely controlling a vehicle with low latency includes a mobile terminal, a mobile terminal MQTT Broker cluster, a cloud terminal, a vehicle terminal and a vehicle terminal MQTT Broker cluster; the mobile terminal is in communication connection with the cloud terminal through the mobile terminal MQTT Broker cluster, and the vehicle terminal is in communication connection with the cloud terminal through the vehicle terminal MQTT Broker cluster;
the mobile terminal is used for sending a control instruction and receiving an execution result sent by the cloud terminal, the cloud terminal is used for receiving the control instruction and the check control instruction sent by the mobile terminal, sending the control instruction to the vehicle terminal, receiving the execution result reported by the vehicle terminal and sending the execution result to the mobile terminal, and the vehicle terminal is used for receiving the control instruction, the check control instruction and the execution control instruction sent by the cloud terminal and reporting the execution result to the cloud terminal; the mobile terminal is provided with an APP for a user to operate and send a control instruction and receive an execution result.
Referring to fig. 2, the present invention further includes a method for remotely controlling a vehicle with low latency, using a system for remotely controlling a vehicle with low latency as described above, comprising the steps of:
1) the mobile terminal is connected with the MQTT Broker cluster of the mobile terminal, and the mobile terminal sends out a control instruction;
2) The cloud end is connected with the MQTT Broker cluster of the mobile end, receives the control command and the check control command, and then is connected with the MQTT Broker cluster of the vehicle end and issues the control command; the specific operation is as follows:
the cloud end is respectively connected with the mobile terminal MQTT Broker cluster and the vehicle terminal MQTT Broker cluster, acquires a control instruction from the mobile terminal MQTT Broker cluster, decrypts the control instruction to obtain control data, verifies the control data after decryption is completed, recombines and encrypts the control instruction after verification, and finally sends the control instruction to the vehicle terminal MQTT Broker cluster;
the control data is verified, wherein the verifying of the control data comprises verifying whether the control data has a control authority or not and verifying whether the control data meets a preset rule or not.
3) The vehicle end is connected with the MQTT Broker cluster of the vehicle end, receives the control command and the check control command, executes the control command and reports an execution result; the specific operation is as follows:
the vehicle end is connected with the vehicle end MQTT Broker cluster, receives the control command, decrypts the control command, sends the decrypted control command to each controller of the vehicle to be executed, simultaneously sends a message of receiving the command to the cloud end, and after the controller is executed, sends the execution result to the cloud end.
4) The cloud end receives the execution result and sends the execution result to the MQTT Broker cluster of the mobile end; the specific operation is as follows:
and after receiving the execution result sent by the vehicle end, the cloud end sends a message of the received result to the vehicle end, decrypts and stores the message of the received result, and finally sends the execution result to the MQTT Broker cluster of the mobile end.
5) The mobile terminal receives and displays the execution result; the specific operation is as follows:
the vehicle end obtains an execution result from the mobile end MQTT Broker cluster, carries out data decryption on the execution result to obtain a remote control result, and then shows the remote control result to the user.
In this embodiment, the execution result includes a remote control result and a vehicle state, so that the user can know whether the remote control is successful or not and know the real-time state of the vehicle in the feedback execution result, and the user can send out other control instructions based on the vehicle state, thereby effectively improving the practicability of the remote control and improving the use experience of the user.
Finally, the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all of them should be covered in the claims of the present invention.

Claims (8)

1. A system for remotely controlling a vehicle with low latency, comprising: the system comprises a mobile terminal, a mobile terminal MQTT Broker cluster, a cloud terminal, a vehicle terminal and a vehicle terminal MQTT Broker cluster; the mobile terminal is in communication connection with the cloud terminal through a mobile terminal MQTT Broker cluster, and the vehicle terminal is in communication connection with the cloud terminal through a vehicle terminal MQTT Broker cluster;
the mobile terminal is used for sending a control instruction and receiving an execution result sent by the cloud terminal, the cloud terminal is used for receiving the control instruction and the check control instruction sent by the mobile terminal, sending the control instruction to the vehicle terminal, receiving the execution result reported by the vehicle terminal and sending the execution result to the mobile terminal, and the vehicle terminal is used for receiving the control instruction, the check control instruction and the execution control instruction sent by the cloud terminal and reporting the execution result to the cloud terminal.
2. A method of low latency remote control of a vehicle, characterized by: a system for remotely controlling a vehicle with low latency as claimed in claim 1, comprising the steps of:
1) the mobile terminal is connected with the MQTT Broker cluster of the mobile terminal and sends a control instruction;
2) the cloud end is connected with the MQTT Broker cluster of the mobile end, receives the control command and the check control command, and then is connected with the MQTT Broker cluster of the vehicle end and issues the control command;
3) The vehicle end is connected with the MQTT Broker cluster of the vehicle end, receives the control command and the check control command, executes the control command and reports an execution result;
4) the cloud end receives the execution result and sends the execution result to the MQTT Broker cluster of the mobile end;
5) and the mobile terminal receives and displays the execution result.
3. The method of claim 2, wherein the method further comprises the steps of: the specific operation of step 2) is as follows:
the cloud end is connected with the mobile terminal MQTT Broker cluster and the vehicle terminal MQTT Broker cluster respectively, obtains control instructions from the mobile terminal MQTT Broker cluster, decrypts the control instructions to obtain control data, verifies the control data after decryption, recombines and encrypts the control instructions after verification, and finally sends the control instructions to the vehicle terminal MQTT Broker cluster.
4. A method for remotely controlling a vehicle with low latency according to claim 3, wherein: in step 2), the checking of the control data includes checking whether the control data has a control right and checking whether the control data conforms to a preset rule.
5. The method of claim 4, wherein the method comprises the steps of: the specific operation of step 3) is as follows:
The vehicle end is connected with the vehicle end MQTT Broker cluster, receives the control command, decrypts the control command, sends the decrypted control command to each controller of the vehicle to be executed, sends a message of receiving the command to the cloud end, and sends an execution result to the cloud end after the controller is executed.
6. The method of claim 5, wherein the method further comprises the steps of: the specific operation of step 4) is as follows:
and after receiving the execution result sent by the vehicle end, the cloud end sends a message of the received result to the vehicle end, decrypts and stores the message of the received result, and finally sends the execution result to the MQTT Broker cluster of the mobile end.
7. The method of claim 6, wherein the method further comprises the steps of: the specific operation of step 5) is as follows:
the vehicle end obtains an execution result from the mobile end MQTT Broker cluster, carries out data decryption on the execution result to obtain a remote control result, and then shows the remote control result to the user.
8. The method of claim 7, wherein the method further comprises the steps of: the execution result includes a remote control result and a vehicle state.
CN202210246308.9A 2022-03-14 2022-03-14 System and method for remotely controlling vehicle in low delay Pending CN114675574A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210246308.9A CN114675574A (en) 2022-03-14 2022-03-14 System and method for remotely controlling vehicle in low delay

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210246308.9A CN114675574A (en) 2022-03-14 2022-03-14 System and method for remotely controlling vehicle in low delay

Publications (1)

Publication Number Publication Date
CN114675574A true CN114675574A (en) 2022-06-28

Family

ID=82074244

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210246308.9A Pending CN114675574A (en) 2022-03-14 2022-03-14 System and method for remotely controlling vehicle in low delay

Country Status (1)

Country Link
CN (1) CN114675574A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115988086A (en) * 2023-01-05 2023-04-18 中国第一汽车股份有限公司 Communication method, device, equipment and medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115988086A (en) * 2023-01-05 2023-04-18 中国第一汽车股份有限公司 Communication method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN111356114B (en) In-vehicle electronic control unit upgrading method, device, equipment and vehicle system
WO2019114732A1 (en) Method for remotely controlling vehicle on the basis of smart apparatus
EP3690643A2 (en) Vehicle-mounted device upgrading method and related device
CN111186414A (en) Automobile Bluetooth key safety management system and method
CN111399884A (en) Vehicle component upgrading method and device and electronic equipment
CN103401997B (en) Data transmission method and system of vehicle-mounted terminal and intelligent mobile phone under USB (universal serial bus) connection
CN107332932B (en) Robot system remote upgrading method based on FOTA
CN106453629B (en) A kind of automobile electronic system remote update system and its method based on mobile network
CN102567061B (en) The method and system of televisor and the two-way upgrading of telepilot
CN108804313B (en) Method and device for remotely debugging program and server
CN114675574A (en) System and method for remotely controlling vehicle in low delay
CN109358867B (en) Automatic upgrading method, device and system for unmanned vehicle application and storage medium
CN105511903A (en) Audio device updating method and apparatus
CN106534337A (en) Debugging system and debugging method of vehicle-mounted information system
CN116647589A (en) Vehicle diagnosis communication method, device, equipment and medium
CN114567552A (en) Vehicle-mounted V2X equipment upgrading method and device, computer equipment and storage medium
CN108121553B (en) Method and device for updating application program
CN112769700B (en) Routing method and routing system based on application method number
WO2023226952A1 (en) Vehicle state feedback method and apparatus, electronic device, and storage medium
CN103327125A (en) Code remote upgrading system and file transmission method thereof
CN104967738A (en) Method for controlling vehicle theft prevention using gravity sensor of intelligent terminal equipment
JP2021511583A (en) Methods and devices for remotely updating satellite devices
WO2018082006A1 (en) Control method, control apparatus, and control system
KR101459929B1 (en) Setting data sharing method for vehicle control
CN112346753A (en) Data acquisition method and system for vehicle-mounted terminal

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination