Vehicle communication method, system and equipment, control unit and communication service device

By classifying and converting the initial remote control instructions into key-value pair formats, the problems of complex configuration and high latency in the remote control vehicle communication system are solved, and more efficient instruction control and better system scalability and maintenance are achieved.

CN120017693APending Publication Date: 2025-05-16CHONGQING SELIS PHOENIX INTELLIGENT INNOVATION TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202510160831.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-13
Publication Date
2025-05-16

AI Technical Summary

Technical Problem

The communication system of remotely controlled vehicles has problems of complex configuration and high delay, which affects the stability and reliability of the system.

Method used

By classifying the initial remote control instructions in instruction type and converting them into key-value pair formats, the instructions and results are classified and stored, and the delay in instruction transmission and result transmission is reduced, and the real-timeness of instruction control is improved.

Benefits of technology

It realizes the delay of instruction transmission and result transmission, improves the real-timeness of instruction control, simplifies the configuration of the first data set, and improves the scalability and maintenance of remote control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120017693A_ABST
    Figure CN120017693A_ABST
Patent Text Reader

Abstract

The invention provides a vehicle communication method, system and equipment, a control unit and a communication service device, and the method comprises the steps: obtaining an initial remote control instruction of a vehicle, determining at least one class of classified remote control instructions according to the initial remote control instruction, converting the at least one class of classified remote control instructions into a key value pair format, obtaining at least one class of target remote control instructions, and transmitting the at least one class of target remote control instructions to a server; the target remote control instructions are sent to a corresponding first data set, the first data set comprises the target remote control instructions of the same instruction type and subscribes for the first data set of different instruction types, instruction execution results of the target remote control instructions in the subscribed first data set are obtained, and the instruction execution results are obtained on the basis that the vehicle responds to the target remote control instructions; according to the method, the key value pair formats of the first data set are classified and stored, so that the delay of instruction transmission and result transmission can be reduced, and the real-time performance of instruction control is improved; the configuration of the first data set is simple, and the first data set can be commonly used by different vehicle types, so that the expandability and maintainability of remote control are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle communication technology, and in particular to a vehicle communication method, system and equipment, a control unit, and a communication service device. Background Art

[0002] With the development of Internet of Vehicles technology, remote control of vehicles has become one of the important functions of modern smart cars. Remote control of vehicles includes operations such as locking, unlocking, and starting the engine. The implementation of these operations requires efficient communication between the telematics service provider (TSP) platform and the on-board telematics box (TBox). The TSP platform is the center for providing remote control services, while the TBox is a device embedded in the vehicle that is responsible for communicating with the TSP platform and executing remote control instructions. In the communication process of remote control systems including the TBox and TSP platform, the choice of message transmission protocol is crucial. The Message Queuing Telemetry Transport (MQTT) protocol is currently the communication protocol used by the TBox and TSP platform. However, the MQTT protocol has some problems in practical applications, such as high complexity, difficulty in integration, performance bottlenecks, security issues, and poor scalability.

[0003] In the related technology, the MQTT protocol requires complex configuration, including the setting of the message broker, the management of topics, the selection of the quality of service (QoS) level, and the integration of the MQTT client library on the TBox side. These configurations not only increase the complexity of the remote control system, but may also lead to configuration errors, affect the stability and reliability of the remote control system, and increase the cost of development and maintenance. The message transmission delay of the MQTT protocol is relatively high, which is unacceptable for remote control scenarios with high real-time requirements. Summary of the invention

[0004] The present application provides a vehicle communication method, system and equipment, a control unit, and a communication service device to solve the technical problems of complex configuration and high delay in the communication of the above-mentioned remote control system.

[0005] In one embodiment of the present application, the present application provides a vehicle communication method, including: obtaining an initial remote control command of a vehicle; determining at least one type of classified remote control command based on the initial remote control command; converting the at least one type of classified remote control command into a key-value pair format to obtain at least one type of target remote control command, and sending it to a corresponding first data set, the first data set including target remote control commands of the same command type; subscribing to a first data set of different command types, and obtaining a command execution result of the target remote control command in the subscribed first data set, the command execution result being obtained based on the vehicle's response to the target remote control command.

[0006] In one embodiment of the present application, the initial remote control command is issued by a preset user terminal; and the obtained command execution result is returned to the preset user terminal.

[0007] In one embodiment of the present application, the present application provides a vehicle communication method, including: subscribing to a first data set of different instruction types, and obtaining a target remote control instruction in the subscribed first data set; if the instruction type of the target remote control instruction is the first type, executing the target remote control instruction; if the instruction type of the target remote control instruction is the second type, sending the target remote control instruction to the corresponding second data set to execute the target remote control instruction based on the second data set; returning the instruction execution result of the target remote control instruction to the first data set; wherein the first data set includes target remote control instructions of the same instruction type, the second data set includes target remote control instructions of the same controller category, and the storage format of the target remote control instruction is a key-value pair format.

[0008] In one embodiment of the present application, sending the target remote control instruction to the corresponding second data set includes: determining the electronic control unit controlled by the target remote control instruction based on the controller category; and sending the target remote control instruction to the second data set subscribed by the electronic control unit.

[0009] In one embodiment of the present application, the instruction execution result of the target remote control instruction is returned to the first data set, including: if the instruction type of the target remote control instruction is the first type, the instruction execution result of the target remote control instruction is sent to the first data set corresponding to the first type; if the instruction type of the target remote control instruction is the second type, the second data set corresponding to the controller category is subscribed, and the instruction execution result of the target remote control instruction obtained from the second data set is sent to the first data set corresponding to the second type; wherein the format of the instruction execution result includes a key-value pair format.

[0010] In one embodiment of the present application, the present application provides a vehicle communication method, including: subscribing to a second data set, and obtaining target remote control instructions in the subscribed second data set; executing the target remote control instructions; sending the instruction execution result of the target remote control instructions to the subscribed second data set, so that after the vehicle communication device subscribes to the second data set, the instruction execution result of the target remote control instructions is sent to the corresponding first data set; wherein the first data set includes target remote control instructions of the same instruction type, the second data set includes target remote control instructions of the same controller category, and the storage format of the target remote control instructions is a key-value pair format.

[0011] In one embodiment of the present application, the present application provides a communication service device, which is used to execute the vehicle communication method described below: obtaining an initial remote control command of a vehicle; determining at least one type of classified remote control command based on the initial remote control command; converting the at least one type of classified remote control command into a key-value pair format to obtain at least one type of target remote control command, and sending it to a corresponding first data set, the first data set including target remote control commands of the same command type; subscribing to a first data set of different command types, and obtaining a command execution result of the target remote control command in the subscribed first data set, the command execution result being obtained based on the vehicle's response to the target remote control command.

[0012] In one embodiment of the present application, the present application provides a vehicle communication device, which is used to execute the following vehicle communication method: subscribe to a first data set of different instruction types, and obtain the target remote control instruction in the subscribed first data set; if the instruction type of the target remote control instruction is the first type, execute the target remote control instruction; if the instruction type of the target remote control instruction is the second type, send the target remote control instruction to the corresponding second data set to execute the target remote control instruction based on the second data set; return the instruction execution result of the target remote control instruction to the first data set; wherein, the first data set includes target remote control instructions of the same instruction type, the second data set includes target remote control instructions of the same controller category, and the storage format of the target remote control instruction is a key-value pair format.

[0013] In one embodiment of the present application, the present application provides an electronic control unit, which is used to execute the following vehicle communication method: subscribe to a second data set and obtain target remote control instructions in the subscribed second data set; execute the target remote control instructions; send the instruction execution result of the target remote control instructions to the subscribed second data set, so that after the vehicle communication device subscribes to the second data set, the instruction execution result of the target remote control instructions is sent to the corresponding first data set; wherein the first data set includes target remote control instructions of the same instruction type, the second data set includes target remote control instructions of the same controller category, and the storage format of the target remote control instructions is a key-value pair format.

[0014] In one embodiment of the present application, the present application provides a vehicle communication system, including: a communication service device, used to execute the following vehicle communication method: obtain an initial remote control instruction of a vehicle; determine at least one type of classified remote control instruction based on the initial remote control instruction; convert the at least one type of classified remote control instruction into a key-value pair format to obtain at least one type of target remote control instruction, and send it to a corresponding first data set, the first data set including target remote control instructions of the same instruction type; subscribe to first data sets of different instruction types, and obtain the instruction execution result of the target remote control instruction in the subscribed first data set, the instruction execution result is obtained based on the vehicle's response to the target remote control instruction; a vehicle communication device, used to execute the following vehicle communication method: subscribe to first data sets of different instruction types, and obtain the target remote control instruction in the subscribed first data set; if the instruction type of the target remote control instruction is the first type, execute the target remote control instruction; if the instruction type of the target remote control instruction is the second type, send the target remote control instruction Send to the corresponding second data set to execute the target remote control instruction based on the second data set; return the instruction execution result of the target remote control instruction to the first data set; wherein the first data set includes target remote control instructions of the same instruction type, the second data set includes target remote control instructions of the same controller category, and the storage format of the target remote control instruction is a key-value pair format; an electronic control unit is used to execute the following vehicle communication method: subscribe to the second data set, and obtain the target remote control instruction in the subscribed second data set; execute the target remote control instruction; send the instruction execution result of the target remote control instruction to the subscribed second data set, so that after the vehicle communication device subscribes to the second data set, the instruction execution result of the target remote control instruction is sent to the corresponding first data set; wherein the first data set includes target remote control instructions of the same instruction type, the second data set includes target remote control instructions of the same controller category, and the storage format of the target remote control instruction is a key-value pair format.

[0015] Beneficial effects of the embodiments of the present application: The present application provides a vehicle communication method, system and equipment, a control unit, and a communication service device. The embodiments of the present application classify the initial remote control instructions by instruction type, convert them into a key-value pair format, and then classify and store the instructions and results, thereby reducing the delay in instruction transmission and result transmission and improving the real-time performance of instruction control. The configuration of the first data set is simple, and the first data set can be used for different vehicle models, thereby improving the scalability and maintainability of remote control.

[0016] It should be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:

[0018] Figure 1 A schematic diagram showing an exemplary system architecture to which the technical solution of the embodiments of the present application can be applied;

[0019] Figure 2 A schematic diagram showing a process flow of a vehicle communication method according to an embodiment of the present application is shown;

[0020] Figure 3 A schematic diagram showing a flow chart of a vehicle communication method according to another embodiment of the present application is shown;

[0021] Figure 4 A schematic diagram showing a flow chart of a vehicle communication method according to another embodiment of the present application is shown;

[0022] Figure 5 A schematic diagram of an implementation of a vehicle communication method according to an embodiment of the present application is shown;

[0023] Figure 6 A block diagram of a vehicle communication system according to an embodiment of the present application is shown;

[0024] Figure 7 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. DETAILED DESCRIPTION

[0025] The following describes the embodiments of the present application through specific examples, and those skilled in the art can easily understand other advantages and effects of the present application from the contents disclosed in this specification. The present application can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present application. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0026] The illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present application. Therefore, the drawings only show components related to the present application rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0027] In the following description, a large number of details are discussed to provide a more thorough explanation of the embodiments of the present application. However, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details. In other embodiments, well-known structures and devices are shown in the form of block diagrams rather than in detail to avoid making the embodiments of the present application difficult to understand.

[0028] See also Figure 1 , Figure 1 A schematic diagram of an exemplary system architecture to which the technical solution of the embodiment of the present application can be applied is shown. Figure 1 As shown, the system architecture may include a preset user terminal 101, a communication service device 102, a cloud database 103, and a vehicle 104. The preset user terminal 101 sends an initial remote control command to the communication service device 102, and the communication service device 102 and the vehicle 104 transmit the initial remote control command and the command execution result through the cloud database 103. The cloud database 103 may be configured with a first data set.

[0029] Exemplarily, the communication service device 102 obtains an initial remote control instruction of a vehicle; determines at least one type of classified remote control instruction based on the initial remote control instruction; converts at least one type of classified remote control instruction into a key-value pair format to obtain at least one type of target remote control instruction, and sends it to a corresponding first data set, the first data set including target remote control instructions of the same instruction type; subscribes to first data sets of different instruction types, and obtains instruction execution results of the target remote control instructions in the subscribed first data set, and the instruction execution results are obtained based on the vehicle's response to the target remote control instruction.

[0030] In the related art, the communication of the remote control system has the problems of complex configuration, high latency and difficulty in expansion.

[0031] In order to solve the above technical problems, the present application provides a vehicle communication method, system and equipment, a control unit, and a communication service device. The implementation details of the technical solution of the embodiment of the present application are elaborated in detail below.

[0032] See also Figure 2 , Figure 2 FIG. 1 is a flow chart of a vehicle communication method according to an embodiment of the present application. Figure 2 As shown, in an exemplary embodiment, the vehicle communication method at least includes steps S210 to S240, which are applied to a communication service device and are described in detail as follows:

[0033] Step S210, obtaining an initial remote control instruction of the vehicle.

[0034] In some embodiments of the present application, the communication service device includes a telematics service provider (TSP) platform.

[0035] In some embodiments of the present application, the initial remote control instruction is used to characterize at least one type of vehicle remote control instruction issued by a user to remotely control the vehicle to perform various control operations, such as functional operations such as air conditioning temperature control, seat position control, and information configuration operations of vehicle communication equipment.

[0036] In some embodiments of the present application, the user may send different types of vehicle remote control commands to the TSP platform together, or may send a single type of vehicle remote control command to the TSP platform.

[0037] In some embodiments of the present application, in the related technology, the vehicle-mounted telematics box (TBox) communicates with the TSP platform using the message queuing telemetry transport (MQTT) protocol, and the communication between the TBox and other components uses a high-performance asynchronous message library (ZeroMQ, ZMQ), that is, an inter-process communication method or a semaphore. Other components include the main control module, network module, security module and other component modules responsible for various functions of the TBox in the TBox; the communication between the TBox and the vehicle's electronic control unit (ECU) uses the controller area network (CAN) signal. There are many communication methods used on the TBox, the software architecture management is more complicated, and there are many communication components to maintain. Iterative updates to other models usually do not work and require re-adaptation. Moreover, the communication link from the preset user terminal such as the mobile phone to send the target remote control command to the ECU on the vehicle side, and then from the ECU on the vehicle side back to the preset user terminal is relatively long, and the user usually needs to wait for more than 3 seconds to see the remote control result; in order to facilitate the software architecture platform session management between TBox and TSP platform and quickly respond to the target remote control command of the preset user terminal, this application can communicate between TBox and TSP platform through redis.

[0038] Step S220: determining at least one type of classified remote control instructions according to the initial remote control instructions.

[0039] In some embodiments of the present application, the classified remote control instruction is obtained based on classifying the instruction type of the initial remote control instruction.

[0040] In some embodiments of the present application, the instruction type includes a configuration type and a control type. Among them, the classified remote control instructions of the configuration type are used to remotely configure the information of the vehicle communication device, such as network settings, user login settings, and vehicle notification settings for the vehicle communication device. The classified remote control instructions of the control type are used to remotely perform functional operations on the vehicle, wherein the remote control of the vehicle to perform functional operations, such as air conditioning temperature control and seat position control, can be achieved by controlling the corresponding ECU.

[0041] In some embodiments of the present application, at least one category of classified remote control instructions includes classified remote control instructions corresponding to the control type, or classified remote control instructions corresponding to the configuration type, or classified remote control instructions corresponding to the control type and classified remote control instructions corresponding to the configuration type.

[0042] In some embodiments of the present application, the vehicle communication device includes a TBox.

[0043] Step S230: convert at least one type of classified remote control instructions into a key-value pair format to obtain at least one type of target remote control instructions, and send them to the corresponding first data set.

[0044] The first data set includes target remote control instructions of the same instruction type.

[0045] In some embodiments of the present application, the first data set is deployed in a database in the cloud, and the first data set is implemented through a remote dictionary service (redis) to store target remote control instructions in a key-value pair format.

[0046] In some embodiments of the present application, the remote dictionary service is a high-performance key (KEY) and value (VALUE) storage system, and the supported VALUE data structures include strings, hash tables, lists, sets, and ordered sets.

[0047] In some embodiments of the present application, the database in the cloud can be remotely operated through the TSP platform to build a first data set on the database in the cloud based on redis. Among them, the database and the TSP platform can be in different servers in the cloud, and the first data set is a redis database. Through the built first data set, the platform management of TBox can be realized, and the same software architecture can be used between different car models, so that TBox can be decoupled from different car models and the scalability and maintainability of the system can be improved.

[0048] In some embodiments of the present application, the key-value pair format is stored in pairs of key (KEY) and value (VALUE). Among them, KEY is used to represent the name information of the target remote control instruction, and VALUE is used to represent the target state value of the target remote control instruction. For example, KEY stores the name information as air conditioning temperature control, and VALUE stores the target state value as 25°C to adjust the temperature output by the air conditioner to 25°C. This is just an example.

[0049] In some embodiments of the present application, the target remote control instructions corresponding to the control type may be stored in the first first data set redis_I1. The target remote control instructions corresponding to the configuration type may be stored in the second first data set redis_I2. This is only an example and does not impose any limitation on the division of redis in the present application.

[0050] Step S240: subscribe to first data sets of different instruction types, and obtain instruction execution results of target remote control instructions in the subscribed first data sets.

[0051] In some embodiments of the present application, the target remote control instruction is used to represent a type of vehicle remote control instruction in a key-value pair format to be executed.

[0052] In some embodiments of the present application, the TSP platform may subscribe to redis_I1 and redis_I2 respectively, and publish the instruction execution result of the target remote control instruction through redis_I1 or redis_I2, so that the TSP platform can obtain the instruction execution result.

[0053] In some embodiments of the present application, by classifying the initial remote control instructions by instruction type and converting them into key-value pair format, the instructions and results are classified and stored, which can reduce the delay in instruction transmission and result transmission and improve the real-time performance of instruction control; the configuration of the first data set is simple, and the first data set can be used for different vehicle models, which improves scalability and maintainability.

[0054] In some embodiments of the present application, the initial remote control instruction is issued by a preset user terminal; and the obtained instruction execution result is returned to the preset user terminal.

[0055] In some embodiments of the present application, a preset user terminal, such as a mobile phone, sends the initial remote control command of the vehicle to the TSP platform via the Hypertext Transfer Protocol (HTTP) / Secure Hypertext Transfer Protocol (HTTPS).

[0056] In some embodiments of the present application, after the TSP platform obtains the instruction execution result by subscribing to redis_I1 and redis_I2, the instruction execution result is sent to a preset user terminal so that the user can obtain the instruction execution result.

[0057] See also Figure 3 , Figure 3 FIG. 2 shows a flow chart of a vehicle communication method according to another embodiment of the present application. Figure 3 As shown, in an exemplary embodiment, the vehicle communication method at least includes steps S310 to S340, which are applied to a vehicle communication device and are described in detail as follows:

[0058] Step S310, subscribing to a first data set of different instruction types, and obtaining a target remote control instruction in the subscribed first data set.

[0059] The first data set includes target remote control instructions of the same instruction type, and the storage format of the target remote control instructions is a key-value pair format.

[0060] In some embodiments of the present application, a vehicle communication device, such as TBox, subscribes to redis_I1 and redis_I2 respectively, and publishes a target remote control instruction through redis_I1 or redis_I2, so that TBox obtains the target remote control instruction.

[0061] In some embodiments of the present application, redis_I1 and redis_I2 may simultaneously issue different target remote control instructions.

[0062] Step S320: If the instruction type of the target remote control instruction is the first type, execute the target remote control instruction.

[0063] In some embodiments of the present application, the first type includes a configuration type, that is, the first type of target remote control instruction is used to configure information for the vehicle communication device. For example, the vehicle communication device directly executes instructions on network authority configuration in the target remote control instruction.

[0064] In some embodiments of the present application, if the instruction type of the target remote control instruction is a configuration type, the target remote control instruction is logically processed to implement information configuration of the TBox.

[0065] Step S330: If the instruction type of the target remote control instruction is the second type, the target remote control instruction is sent to the corresponding second data set, so as to execute the target remote control instruction based on the second data set.

[0066] The second data set includes target remote control instructions of the same controller category.

[0067] In some embodiments of the present application, step S320 and step S330 are not limited in order and are selectively executed steps based on instruction types.

[0068] In some embodiments of the present application, the second type includes a control type, and executing the target remote control instruction based on the second data set includes: controlling the electronic control unit based on the target remote control instruction of the second type in the second data set to achieve functional operation of the vehicle.

[0069] In some embodiments of the present application, the controller category is used to characterize the ECU classification corresponding to the functional operation. Among them, the types of ECU include body control module (Body Control Module, BCM), air conditioning control unit (HVAC Control Unit), battery management unit (Battery Management System, BMS), etc.

[0070] In some embodiments of the present application, the second data set is deployed in the vehicle and implemented through a remote dictionary service (redis) to store target remote control instructions of the same controller category in a key-value pair format.

[0071] In some embodiments of the present application, the second data set may be deployed in an embedded system in a vehicle. The embedded system includes a vehicle communication device, an electronic control unit, and a dedicated data processing unit. For example, multiple second data sets may be integrated and deployed in the vehicle communication device; or, different second data sets may be deployed in corresponding electronic control units; or, multiple second data sets may be integrated and deployed in a dedicated data processing unit to serve as a communication bridge between the vehicle communication device and each electronic control unit. The present application can integrate redis in an embedded system without the need to integrate complex client libraries, thereby reducing development and maintenance costs.

[0072] In some embodiments of the present application, n second data sets redis_E n The target remote control instructions of different controller categories are stored. The value of n can be set to an integer from 1 to 50. This is only an example and does not impose any restriction on the value of n.

[0073] In some embodiments of the present application, for example, the target remote control instructions corresponding to the body control module (BCM) can be stored through the first second data set redis_E1, and the target remote control instructions corresponding to the air conditioning control unit (HVAC Control Unit) can be stored through the second second data set redis_E2. This is only an example and does not impose any restrictions on the division of redis in this application.

[0074] Step S340: Return the command execution result of the target remote control command to the first data set.

[0075] In some embodiments of the present application, target remote control instructions of different instruction types can be classified and executed based on different first data sets, and target remote control instructions corresponding to different controller categories in the second type can be classified and executed through different second data sets, thereby improving the instruction response speed and user experience.

[0076] In some embodiments of the present application, sending the target remote control instruction to the corresponding second data set includes: determining the electronic control unit controlled by the target remote control instruction based on the controller category; and sending the target remote control instruction to the second data set subscribed by the electronic control unit.

[0077] In some embodiments of the present application, by each electronic control unit subscribing to the corresponding second data set, different electronic control units can concurrently execute different target remote control instructions, thereby improving the instruction response speed and having strong scalability.

[0078] In some embodiments of the present application, the MQTT protocol may encounter performance bottlenecks when processing a large number of concurrent connections, affecting the overall response speed of the system and user experience; in the present application, redis, that is, through different second data sets, can handle a large number of concurrent connections for controlling different ECUs, thereby improving the overall response speed of the system and user experience; the MQTT protocol has some problems in scalability and maintainability. As the scale of the Internet of Vehicles system continues to expand, adding new ECU devices or services often requires reconfiguration of the entire system, which increases the difficulty of maintenance. The present application has good scalability and maintainability through redis, and can adapt to the continuous expansion of the scale of the Internet of Vehicles system.

[0079] In some embodiments of the present application, based on the instruction type and controller category of the target remote control instruction, the instruction execution result of the target remote control instruction is sent to the corresponding first data set.

[0080] In some embodiments of the present application, the instruction execution result of the target remote control instruction is returned to the first data set, including: if the instruction type of the target remote control instruction is the first type, the instruction execution result of the target remote control instruction is sent to the first data set corresponding to the first type; if the instruction type of the target remote control instruction is the second type, the second data set corresponding to the controller category is subscribed, and the instruction execution result of the target remote control instruction obtained from the second data set is sent to the first data set corresponding to the second type; wherein the format of the instruction execution result includes a key-value pair format.

[0081] In some embodiments of the present application, the command execution result corresponding to the configuration type can directly return the first data set corresponding to the configuration type. For example, TBox directly returns the command execution result corresponding to the configuration type to redis_I2.

[0082] In some embodiments of the present application, for example, the instruction execution result corresponding to the control type is subscribed to redis_E2 through TBox, and after obtaining the instruction execution result from redis_E2, it is returned to redis_I1.

[0083] See also Figure 4 , Figure 4 FIG. 2 shows a flow chart of a vehicle communication method according to another embodiment of the present application. Figure 4 As shown, in an exemplary embodiment, the vehicle communication method includes at least steps S410 to S430, which are applied to the electronic control unit and are described in detail as follows:

[0084] Step S410: subscribe to a second data set, and obtain a target remote control instruction in the subscribed second data set.

[0085] In some embodiments of the present application, for example, BCM subscribes to redis_E1, and redis_E1 publishes target remote control instructions, so that BCM can obtain the target remote control instructions.

[0086] Step S420, executing the target remote control instruction.

[0087] In some embodiments of the present application, for example, the target remote control command includes unlocking the door lock, and the BCM responds to the target remote control command to unlock the door lock.

[0088] Step S430, sending the command execution result of the target remote control command to the subscribed second data set, so that after the vehicle communication device subscribes to the second data set, the command execution result of the target remote control command is sent to the corresponding first data set.

[0089] In some embodiments of the present application, the command execution result corresponding to the control type is first returned to the subscribed second data set, and the vehicle communication device subscribes to the second data set to obtain the command execution result, and returns it to the first data set corresponding to the control type through the vehicle communication device. For example, the command execution result of opening the door lock is first returned to redis_E1, TBox subscribes to redis_E1, and through the publication of redis_E1, TBox obtains the command execution result and sends it to redis_I1.

[0090] In some embodiments of the present application, electronic control units of different controller categories can obtain target remote control instructions that they need to execute from different second data sets in parallel. By executing different target remote control instructions in parallel, the instruction response speed and user experience can be improved; and in terms of scalability, when adding electronic control units, the corresponding second data sets can be quickly added, reducing the difficulty of maintenance.

[0091] In some embodiments of this application, please refer to Figure 5 , Figure 5 FIG. 1 shows a schematic diagram of an implementation of a vehicle communication method according to an embodiment of the present application. Figure 5As shown, a preset user terminal, such as a mobile phone application (APP), sends a remote initial control instruction to the TSP platform via HTTP / HTTPS; the TSP parses the received initial remote control instruction: classifies the initial remote control instruction into instruction types, such as control type and configuration type, and converts the initial remote control instruction into a key-value pair format to obtain a target remote control instruction; sends the target remote control instruction to the corresponding first data set, such as sending the control type target remote control instruction to redis_I1, using KEY1_1-VALUE1_1 to represent the target remote control instruction to be executed in redis_I1, sending the configuration type target remote control instruction to redis_I2, and using K EY2_1-VALUE2_1 represents the target remote control instruction to be executed in redis_I2; TBox subscribes to the target remote control instructions in redis_I1 and redis_I2 respectively; logical processing instructions: if the instruction type of the target remote control instruction is the control type, the target remote control instruction is classified into the controller type and sent to the corresponding second data set; if the instruction type of the target remote control instruction is the configuration type, the configuration operation is performed directly, and the instruction execution result is returned to the first data set corresponding to the configuration type through the TSP process on the TBox, such as redis_I2, wherein redis_E is represented by KEY_n1-VALUE_n1. n The target remote control command to be executed in redis_I2 is represented by KEY2_2-VALUE2_2 as the command execution result of the target remote control command in redis_I2; the ECU subscribes to the corresponding second data set, such as redis_E n , ECU executes the target remote control command and sends the command execution result to the corresponding second data set, and represents redis_E through KEY_n2-VALUE_n2 n The TBox subscribes to the corresponding second data set, and sends the obtained instruction execution result to the first data set corresponding to the control type, such as redis_I1; the TSP platform subscribes to different first data sets, such as redis_I1 and redis_I2, so that the TSP platform obtains the instruction execution result corresponding to the control type or the instruction execution result corresponding to the configuration type, and returns the instruction execution result to the preset user terminal through HTTP / HTTPS.

[0092] In some embodiments of the present application, the present application communicates through redis, and does not need to integrate complex MQTT client libraries. Integrating redis in embedded systems does not need to integrate complex client libraries, which reduces the cost of development and maintenance. When the network condition of the MQTT protocol is poor, the delay of message transmission may be high, which is unacceptable for remote control scenarios with high real-time requirements. The present application reduces the delay of command message transmission through redis and improves the real-time performance of the system. The configuration and management of redis are relatively simple, which simplifies the system configuration and management and reduces the complexity of the system. The MQTT protocol may have performance bottlenecks when processing a large number of concurrent connections, affecting the overall response speed of the system and user experience; in the present application, redis can handle a large number of concurrent connections, which improves the overall response speed of the system and user experience. The MQTT protocol has some problems in scalability and maintainability. As the scale of the Internet of Vehicles system continues to expand, the difficulty of maintenance increases. The present application has good scalability and maintainability, and can adapt to the continuous expansion of the scale of the Internet of Vehicles system.

[0093] See also Figure 6 , Figure 6 A block diagram of a vehicle communication system according to an embodiment of the present application is shown. The system can be applied to Figure 1 In the implementation environment shown, the vehicle communication device and the electronic control unit can be configured in the vehicle 104. The system can also be applied to other exemplary implementation environments and specifically configured in other devices. This embodiment does not limit the implementation environment to which the system is applicable.

[0094] like Figure 6 As shown, a vehicle communication system 600 according to an embodiment of the present application includes: a communication service device 601 , a vehicle communication device 602 and an electronic control unit 603 .

[0095] Wherein, the communication service device 601 is used to execute the following vehicle communication method: obtain an initial remote control command of the vehicle; determine at least one type of classified remote control command according to the initial remote control command; convert at least one type of classified remote control command into a key-value pair format to obtain at least one type of target remote control command, and send it to a corresponding first data set, the first data set includes target remote control commands of the same command type; subscribe to first data sets of different command types, and obtain command execution results of target remote control commands in the subscribed first data sets, the command execution results are obtained based on the vehicle's response to the target remote control command;

[0096] The vehicle communication device 602 is used to execute the following vehicle communication method: subscribe to a first data set of different instruction types, and obtain a target remote control instruction in the subscribed first data set; if the instruction type of the target remote control instruction is the first type, execute the target remote control instruction; if the instruction type of the target remote control instruction is the second type, send the target remote control instruction to the corresponding second data set, so as to execute the target remote control instruction based on the second data set; return the instruction execution result of the target remote control instruction to the first data set; wherein the first data set includes target remote control instructions of the same instruction type, the second data set includes target remote control instructions of the same controller category, and the storage format of the target remote control instruction is a key-value pair format;

[0097] The electronic control unit 603 is used to execute the following vehicle communication method: subscribe to the second data set and obtain the target remote control instructions in the subscribed second data set; execute the target remote control instructions; send the instruction execution result of the target remote control instructions to the subscribed second data set, so that after the vehicle communication device subscribes to the second data set, the instruction execution result of the target remote control instructions is sent to the corresponding first data set; wherein the first data set includes target remote control instructions of the same instruction type, the second data set includes target remote control instructions of the same controller category, and the storage format of the target remote control instructions is a key-value pair format.

[0098] The vehicle communication system provided in the above embodiment and the corresponding vehicle communication method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment, and will not be repeated here. In practical applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure can be divided into different functional modules to complete all or part of the functions described above, and this is not limited here.

[0099] An embodiment of the present application also provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by one or more processors, the electronic device implements the vehicle communication method provided in the above-mentioned embodiments.

[0100] See also Figure 7 , Figure 7 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present application is shown. Figure 7 The computer system 700 of the electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0101] like Figure 7As shown, the computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 702 or the program loaded from the storage part 708 to the random access memory (RAM) 703, such as executing the method in the above embodiment. In the random access memory 703, various programs and data required for system operation are also stored. The central processing unit 701, the read-only memory 702 and the random access memory 703 are connected to each other through a bus 704. An input / output (I / O) interface 705 is also connected to the bus 704.

[0102] The following components are connected to the input / output interface 705: an input section 706 including a keyboard, a mouse, etc.; an output section 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 708 including a hard disk, etc.; and a communication section 709 including a network interface card such as a LAN (Local Area Network) card, a modem, etc. The communication section 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the input / output interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed so that a computer program read therefrom is installed into the storage section 708 as needed.

[0103] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication section 709, and / or installed from a removable medium 711. When the computer program is executed by a central processing unit (CPU) 701, various functions defined in the system of the present application are executed.

[0104] The computer-readable medium shown in the embodiment of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium can include a data signal propagated in a baseband or as a part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. A computer program contained on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.

[0105] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present application. Among them, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0106] The units involved in the embodiments described in the present application can be implemented by software or by hardware, and the units described can also be set in a processor. Among them, the names of these units do not constitute a limitation on the units themselves under certain circumstances. Therefore, the technical solution according to the implementation mode of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including a number of instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the implementation mode of the present application.

[0107] Another aspect of the present application provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor of a computer, the computer executes the vehicle communication method provided in the above embodiments. The computer-readable storage medium may be included in the electronic device described in the above embodiments, or may exist independently without being assembled into the electronic device.

[0108] In the above embodiments, unless otherwise specified, by using serial numbers such as "first" and "second" to describe common objects, it only means that they refer to different instances of the same object, rather than indicating that the objects being described must adopt a given order, whether in time, space, sorting or any other way.

[0109] The above embodiments are merely illustrative of the principles and effects of the present application, and are not intended to limit the present application. Anyone familiar with the technology may modify or change the above embodiments without violating the spirit and scope of the present application. Therefore, all equivalent modifications or changes made by a person of ordinary skill in the art without departing from the spirit and technical ideas disclosed in the present application shall still be covered by the claims of the present application.

Claims

1. A vehicle communication method, characterized in that: The method comprises: Obtain the initial remote control command of the vehicle; Determine at least one type of classified remote control instructions according to the initial remote control instructions; Converting the at least one type of classified remote control instructions into a key-value pair format to obtain at least one type of target remote control instructions, and sending the instructions to a corresponding first data set, wherein the first data set includes target remote control instructions of the same instruction type; Subscribe to first data sets of different instruction types, and obtain instruction execution results of target remote control instructions in the subscribed first data sets, wherein the instruction execution results are obtained based on the vehicle's response to the target remote control instructions.

2. The vehicle communication method according to claim 1, characterized in that: The initial remote control command is issued by a preset user terminal; The obtained instruction execution result is returned to the preset user terminal.

3. A vehicle communication method, characterized in that: The method comprises: Subscribe to first data sets of different instruction types, and obtain target remote control instructions in the subscribed first data sets; If the instruction type of the target remote control instruction is the first type, executing the target remote control instruction; If the instruction type of the target remote control instruction is the second type, sending the target remote control instruction to the corresponding second data set, so as to execute the target remote control instruction based on the second data set; Returning the command execution result of the target remote control command to the first data set; The first data set includes target remote control instructions of the same instruction type, the second data set includes target remote control instructions of the same controller category, and the storage format of the target remote control instructions is a key-value pair format.

4. The vehicle communication method according to claim 3, characterized in that: Sending the target remote control instruction to the corresponding second data set includes: Determining an electronic control unit controlled by the target remote control command based on the controller category; The target remote control instruction is sent to a second data set subscribed by the electronic control unit.

5. The vehicle communication method according to any one of claims 3 to 4, characterized in that: Returning the command execution result of the target remote control command to the first data set includes: If the instruction type of the target remote control instruction is the first type, sending the instruction execution result of the target remote control instruction to the first data set corresponding to the first type; If the instruction type of the target remote control instruction is the second type, subscribing to the second data set corresponding to the controller category, and sending the instruction execution result of the target remote control instruction obtained from the second data set to the first data set corresponding to the second type; The format of the instruction execution result includes a key-value pair format.

6. A vehicle communication method, characterized in that: The method comprises: Subscribing to the second data set, and obtaining the target remote control instruction in the subscribed second data set; Executing the target remote control instruction; Sending the command execution result of the target remote control command to the subscribed second data set, so that after the vehicle communication device subscribes to the second data set, the command execution result of the target remote control command is sent to the corresponding first data set; The first data set includes target remote control instructions of the same instruction type, the second data set includes target remote control instructions of the same controller category, and the storage format of the target remote control instructions is a key-value pair format.

7. A communication service device, characterized in that: The communication service device is used to execute the vehicle communication method as described in any one of claims 1-2.

8. A vehicle communication device, characterized in that: The vehicle communication device is used to execute the vehicle communication method according to any one of claims 3 to 5.

9. An electronic control unit, characterized in that: The electronic control unit is configured to execute the vehicle communication method according to claim 6.

10. A vehicle communication system, characterized in that: The vehicle communication system comprises: A communication service device, configured to execute the vehicle communication method according to any one of claims 1 to 2; A vehicle communication device, configured to execute the vehicle communication method according to any one of claims 3 to 5; An electronic control unit, configured to execute the vehicle communication method as claimed in claim 6.

Citation Information

Patent Citations

  • Remote control and remote regulation method, device and system

    CN113573171A

  • Vehicle data transmission method and system

    CN118382078A

  • Vehicle remote control method and device, communication equipment, readable storage medium and program product

    CN119109956A

  • Vehicle state remote monitoring method and system

    WO2023093289A1