Vehicle-side scene service execution method, system, electronic device and readable storage medium

By receiving and parsing the scene data stream on the micro control unit of the smart vehicle terminal, the problem of long scene service response time caused by microprocessor deployment is solved, fast response and efficient scene orchestration are achieved, and the user experience is improved.

CN115914318BActive Publication Date: 2024-10-08CHONGQING CHANGAN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211506563.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-28
Publication Date
2024-10-08
Estimated Expiration
2042-11-28

AI Technical Summary

Technical Problem

Existing smart vehicle scene service orchestration is deployed in microprocessors, resulting in scene service response times that are too long and unable to provide an intelligent and convenient user experience immediately after the vehicle is started.

Method used

By using the micro control unit on the vehicle terminal to receive and parse the scene data stream, generate and execute scene orchestration instructions, and use the data stream conversion protocol to quickly respond and execute scene services, reducing response time.

Benefits of technology

It improves the timeliness and user experience of scene orchestration, enables users to experience scene orchestration services as soon as they get on the bus, and expands the usage time and scene scope.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115914318B_ABST
    Figure CN115914318B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of intelligent vehicle technology, and discloses a vehicle-side scene service execution method, system, electronic device and readable storage medium. The method generates a scene data stream through an acquired data stream conversion protocol, and sends the scene data stream including a trigger condition field and an instruction field to a microcontroller unit. The microcontroller unit parses the trigger condition field based on the data stream conversion protocol to obtain a scene trigger condition. If the scene trigger condition is met, the microcontroller unit parses the instruction field based on the data stream conversion protocol to obtain a scene editing instruction, and sends the scene editing instruction to a device to be controlled to execute the scene editing instruction. Compared with executing the scene editing service through a microprocessor of a vehicle terminal, the microcontroller unit has the characteristics of fast power-on startup speed, can respond to the scene editing service more quickly, improves the timeliness of the scene editing, and thus improves the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent vehicle technology, and in particular to a vehicle-side scene service execution method, system, electronic device and readable storage medium. Background Art

[0002] At present, with the advancement of science and technology, smart connected cars are highly sought after, and countless new car-making forces are competing in this new track. Intelligent vehicle technologies such as driverless driving, smart cockpits, customized scenes, and scene orchestration services are also constantly being updated. Among them, in the scene service orchestration function, users can customize the scene-based customized services provided by the vehicle, such as smart welcome, rest mode, etc. In order to meet the needs of providing users with an immersive human-vehicle interaction experience, it is necessary to ensure the real-time, smoothness and security of the scene service orchestration, which puts the software and hardware capabilities supporting the scene service functions to the test.

[0003] However, the existing scene service orchestration is usually deployed in the MPU (Microprocessor Unit), and the MPU can only respond and execute the scene service orchestration after the vehicle is fully started. The response time is usually more than 10s. The excessively long scene service orchestration response time causes users to be unable to experience the intelligence and convenience brought by the scene service orchestration immediately after the vehicle is started, resulting in poor user experience and comfort. Summary of the invention

[0004] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0005] In view of the above-mentioned shortcomings of the prior art, the present invention discloses a vehicle-side scene service execution method, system, electronic device and readable storage medium to reduce the response time of scene service orchestration.

[0006] The present invention discloses a method for executing a vehicle-side scene service, comprising: obtaining a vehicle terminal and a data stream conversion protocol, wherein the vehicle terminal comprises a micro control unit and a device to be controlled; after the micro control unit is powered on, using the micro control unit to receive a scene data stream, wherein the scene data stream is generated according to the data stream conversion protocol, and the scene data stream comprises a trigger condition field and an instruction field, wherein the trigger condition field carries a preset scene trigger condition, and the instruction field carries a scene editing instruction corresponding to the device to be controlled; using the micro control unit to parse the trigger condition field based on the data stream conversion protocol to obtain a scene trigger condition; if the scene trigger condition is met, using the micro control unit to parse the instruction field based on the data stream conversion protocol to obtain a scene editing instruction, and sending the parsed scene editing instruction to the device to be controlled, so that the device to be controlled executes the scene editing instruction.

[0007] Optionally, a scene data stream is generated in the following manner, including: the data stream conversion protocol includes at least one of a data splicing rule, a condition matching table and an instruction matching table, wherein the condition matching table includes a correspondence between multiple preset trigger conditions and preset trigger condition fields, and the instruction matching table includes a correspondence between multiple preset editing instructions and preset instruction fields; obtaining scene editing information, wherein the scene editing information includes a scene trigger condition and at least one scene editing instruction; determining a trigger condition field corresponding to the scene trigger condition from the preset trigger condition field according to a matching result between the scene trigger condition and the preset trigger condition, and determining an instruction identification field corresponding to the scene editing instruction from the preset instruction field according to a matching result between the scene editing instruction and the preset editing instruction; splicing the trigger condition field and the instruction field according to the data splicing rule to obtain a scene data stream, wherein the instruction field is determined by the instruction identification field.

[0008] Optionally, after splicing the trigger condition field and the instruction field according to the data splicing rule to obtain the scene data stream, before using the microcontroller unit to receive the scene data stream, the method also includes: if the scene arrangement instruction has multiple instructions, then determining the post-order instructions corresponding to each preceding instruction according to a preset instruction execution order, wherein the preceding instruction includes any scene arrangement instruction, and the post-order instruction includes any scene arrangement instruction other than the preceding instruction; determining the execution order field corresponding to each preceding instruction according to the post-order instruction, wherein the execution order field is used to characterize the post-order instruction corresponding to the preceding instruction; and adding the execution order field to the scene data stream according to the data splicing rule.

[0009] Optionally, the microcontroller unit is used to parse the instruction field according to the data stream conversion protocol, including: using the microcontroller unit to parse the execution order field according to the data stream conversion protocol to obtain post-order instructions corresponding to each of the pre-order instructions; sorting the instruction fields based on the correspondence between each pre-order instruction and post-order instruction to obtain an instruction field sequence; parsing each of the instruction fields in the instruction field sequence in turn according to the data stream conversion protocol to obtain a scene arrangement instruction corresponding to each of the instruction fields.

[0010] Optionally, the scene data stream further includes an instruction delay field, and the instruction delay field is used to carry the delay length between any preceding instruction and the corresponding subsequent instruction.

[0011] Optionally, the instruction field also includes at least one of the following: an instruction parameter field, used to carry the instruction parameter value corresponding to the scene arrangement instruction; a parameter quantity field, used to carry the parameter value quantity of the instruction parameter value; a parameter type field, used to carry the parameter type corresponding to the instruction parameter value; a parameter length field, used to carry the parameter value length corresponding to the instruction parameter value.

[0012] Optionally, the scene data stream also includes at least one of the following: an instruction quantity field, used to carry the field quantity of the instruction field; an instruction type field, used to carry the instruction call type corresponding to the instruction field; an instruction length field, used to carry the field length of the instruction field; a data length field, used to carry the data length of the scene data stream; and a data identification field, used to carry a preset data number corresponding to the scene data stream.

[0013] Optionally, after the microcontroller unit is powered on, the microcontroller unit is used to receive a scene data stream, including: the vehicle terminal also includes a vehicle networking unit, and the vehicle networking unit is used to establish a communication link with a server side, wherein the server side is used to generate a scene data stream; in response to the microcontroller unit being powered on, the microcontroller unit is used to generate a scene acquisition request, and the scene acquisition request is sent to the server side through the communication link; if the server side receives the scene acquisition request, the scene data stream of the server side is sent to the microcontroller unit through the communication link.

[0014] Optionally, the scene arrangement information is text format data, and the scene data stream is binary format data.

[0015] Optionally, after using the microcontroller unit to receive the scene data stream, the method also includes: setting a scene cache space in the microcontroller unit, and storing the scene data as a historical data stream in the scene cache space; after the microcontroller unit is powered on again, using the microcontroller unit to extract the historical data stream from the scene cache space; if there is a historical data stream in the scene cache space, using the extracted historical data stream as a new scene data stream; if there is no historical data stream in the scene cache space, using the microcontroller unit to receive a new scene data stream.

[0016] The present invention discloses a vehicle-side scene service execution system, comprising: an acquisition module, used to acquire a vehicle terminal and a data stream conversion protocol, wherein the vehicle terminal comprises a micro control unit and a device to be controlled; a receiving module, used to receive a scene data stream using the micro control unit after the micro control unit is powered on, wherein the scene data stream is generated according to the data stream conversion protocol, and the scene data stream comprises a trigger condition field and an instruction field, wherein the trigger condition field carries a preset scene trigger condition, and the instruction field carries a scene editing instruction corresponding to the device to be controlled; a condition parsing module, used to parse the trigger condition field using the micro control unit based on the data stream conversion protocol to obtain a scene trigger condition; and an instruction parsing module, used to parse the instruction field using the micro control unit based on the data stream conversion protocol to obtain a scene editing instruction if the scene trigger condition is met, and send the parsed scene editing instruction to the device to be controlled, so that the device to be controlled executes the scene editing instruction.

[0017] The present invention discloses an electronic device, comprising: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the above method.

[0018] The present invention discloses a computer-readable storage medium, on which a computer program is stored: when the computer program is executed by a processor, the above method is implemented.

[0019] Beneficial effects of the present invention:

[0020] The scene data stream is generated by the acquired data stream conversion protocol, and the scene data stream including the trigger condition field and the instruction field is sent to the micro control unit. The micro control unit is used to parse the trigger condition field based on the data stream conversion protocol to obtain the scene trigger condition. If the scene trigger condition is met, the micro control unit is used to parse the instruction field based on the data stream conversion protocol to obtain the scene arrangement instruction, and the scene arrangement instruction is sent to the device to be controlled to execute the scene arrangement instruction. In this way, after the micro control unit is powered on, the scene data stream is provided, and the scene trigger condition and the scene arrangement instruction are obtained by parsing the scene data stream by the micro control unit, thereby realizing the execution of the scene arrangement service by the micro control unit. Compared with the execution of the scene arrangement service by the microprocessor of the vehicle terminal, the micro control unit has the characteristics of fast power-on startup speed, can respond to the scene arrangement service more quickly, improve the timeliness of the scene arrangement, and thus improve the user experience.

[0021] 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

[0022] 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:

[0023] Figure 1 It is a flowchart of a vehicle-side scenario service execution method in an embodiment of the present invention;

[0024] Figure 2 is a schematic diagram of the structure of a service execution system in an embodiment of the present invention;

[0025] Figure 3 is a flowchart of an instruction field parsing method in an embodiment of the present invention;

[0026] Figure 4 is a schematic diagram of the structure of a scene data flow in an embodiment of the present invention;

[0027] Figure 5 is a flowchart of another vehicle-side scenario service execution method in an embodiment of the present invention;

[0028] Figure 6 It is a structural diagram of a vehicle-side scenario service execution system in an embodiment of the present invention;

[0029] Figure 7It is a schematic diagram of the structure of an electronic device in an embodiment of the present invention. DETAILED DESCRIPTION

[0030] The following describes the embodiments of the present invention through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention 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 invention. It should be noted that the following embodiments and sub-samples in the embodiments can be combined with each other without conflict.

[0031] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention 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.

[0032] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it is obvious to those skilled in the art that the embodiments of the present invention 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 invention difficult to understand.

[0033] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0034] Unless otherwise stated, the term "plurality" means two or more.

[0035] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.

[0036] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.

[0037] First of all, it should be noted that the intelligent vehicle terminal is usually equipped with an MPU and an MCU (Microcontroller Unit).

[0038] The MPU of the vehicle terminal has a relatively complex circuit design and has a memory management unit (MMU). Its data storage device (FLASH, flash memory) and computing memory (RAM, random access memory) need to be built by the designer himself. The MPU stores the code in the data storage device and moves the code to the computing memory for execution after power-on. It can run operating systems such as Linux.

[0039] The MCU of the vehicle terminal has built-in data storage and computing memory. The program code is executed through the built-in data storage and computing memory. Therefore, compared with the MPU, the MCU has stronger timeliness and lower power consumption. It has a millisecond startup time and can often be fully started in about 50ms, which is a great speed advantage compared to the MPU's several seconds or even more than ten seconds. However, on the other hand, since the MCU does not have a memory management unit and the size of the built-in computing memory cannot meet the requirements, the MCU cannot store the script data of the scene service arrangement. At the same time, it cannot run operating systems such as Linux and cannot run multiple processes. Therefore, the MCU itself does not have the programmability of the scene service.

[0040] Combination Figure 1 As shown, the embodiment of the present disclosure provides a vehicle-side scenario service execution method, including:

[0041] Step S101, obtaining a vehicle terminal and a data stream conversion protocol;

[0042] Wherein, the vehicle terminal includes a micro control unit and a device to be controlled;

[0043] Step S102, after the micro control unit is powered on, using the micro control unit to receive a scene data stream;

[0044] The scene data stream is generated according to the data stream conversion protocol, and the scene data stream includes a trigger condition field and an instruction field, the trigger condition field carries a preset scene trigger condition, and the instruction field carries a scene arrangement instruction corresponding to the device to be controlled;

[0045] Step S103, using the micro control unit to parse the trigger condition field based on the data stream conversion protocol to obtain a scene trigger condition;

[0046] Step S104, if the scene triggering condition is met, the micro control unit is used to parse the instruction field based on the data stream conversion protocol to obtain a scene arrangement instruction;

[0047] Step S105: sending the parsed scene arrangement instruction to the device to be controlled, so that the device to be controlled executes the scene arrangement instruction.

[0048] The vehicle-side scene service execution method provided by the embodiment of the present disclosure is adopted, and the scene data stream is generated by the acquired data stream conversion protocol, and the scene data stream including the trigger condition field and the instruction field is sent to the micro control unit, and the trigger condition field is parsed by the micro control unit based on the data stream conversion protocol to obtain the scene trigger condition. If the scene trigger condition is met, the instruction field is parsed by the micro control unit based on the data stream conversion protocol to obtain the scene arrangement instruction, and the scene arrangement instruction is sent to the device to be controlled to execute the scene arrangement instruction. In this way, after the micro control unit is powered on, the scene data stream is provided, and the scene trigger condition and the scene arrangement instruction are parsed by the micro control unit to obtain the scene trigger condition and the scene arrangement instruction, thereby realizing the execution of the scene arrangement service by the micro control unit. Compared with the execution of the scene arrangement service by the microprocessor of the vehicle terminal, the micro control unit has the characteristics of fast power-on startup speed, can respond to the scene arrangement service more quickly, improve the timeliness of the scene arrangement, and thus improve the user experience.

[0049] In some embodiments, the devices to be controlled include one or more of vehicle windows, air conditioners, etc.

[0050] Optionally, after the microcontroller unit is powered on, the microcontroller unit is used to receive a scene data stream, including: the vehicle terminal also includes a vehicle networking unit, and the vehicle networking unit is used to establish a communication link with a server side, wherein the server side is used to generate a scene data stream; in response to the microcontroller unit being powered on, the microcontroller unit is used to generate a scene acquisition request, and the scene acquisition request is sent to the server side through the communication link; if the server side receives the scene acquisition request, the scene data stream of the server side is sent to the microcontroller unit through the communication link.

[0051] In this way, users can experience the scene arrangement service as soon as they get on the vehicle, which expands the usage time range and usage scenario range, thereby improving the user experience.

[0052] In some embodiments, the vehicle networking unit includes one or more communication modules such as T-BOX (Telematics BOX, a trusted terminal for engineering machinery), 3G (third generation, third generation mobile communication) module, 4G (fourth generation, fourth generation mobile communication) module, 5G (fifth generation, fifth generation mobile communication) module, WIFI (wireless network communication technology) module, etc.

[0053] In some embodiments, the scene data stream on the server side is sent to the micro control unit via HTTP (HyperText Transfer Protocol).

[0054] In one embodiment of the present application, after the microcontroller unit is powered on, the microcontroller unit is used to receive a scene data stream, including: the vehicle terminal also includes a short-range communication unit; a data carrier is obtained, wherein the data carrier is used to download the scene data stream from the server; in response to the short-range communication unit recognizing the data, the scene data stream stored in the data carrier is downloaded using the short-range communication unit, and the scene data stream is sent to the microcontroller unit.

[0055] In one embodiment of the present application, the data carrier includes a mobile phone, an NFC card, etc., and the short-range communication unit downloads the scene data stream stored in the data carrier through Bluetooth, NFC technology, etc.

[0056] Combination Figure 2 As shown, the embodiment of the present disclosure provides a service execution system for implementing a vehicle-side scene service execution method, including a server 201 and a vehicle terminal 202, wherein the server 201 includes a data stream generation module 2011 and a data stream instruction parsing module 2012; the vehicle terminal 202 includes a communication module 2021, a micro control unit 2022, and a device to be controlled 2023. The data stream generation module 2011 is used to generate a scene data stream according to a data stream conversion protocol; the data stream instruction parsing module 2012 is used to send the scene data stream of the server to the communication module; the communication module 2021 is used to receive the scene data stream and send the scene data stream to the micro control unit; the micro control unit 2022 is used to use the micro control unit to parse the trigger condition field based on the data stream conversion protocol to obtain the scene trigger condition, if the scene trigger condition is met, then use the micro control unit to parse the instruction field based on the data stream conversion protocol to obtain the scene arrangement instruction, and send the parsed scene arrangement instruction to the device to be controlled; the device to be controlled 2023 is used to execute the scene arrangement instruction.

[0057] The service execution system for implementing the vehicle-side scene service execution method provided by the embodiment of the present disclosure generates a scene data stream through the acquired data stream conversion protocol, and sends the scene data stream including the trigger condition field and the instruction field to the micro control unit, and uses the micro control unit to parse the trigger condition field based on the data stream conversion protocol to obtain the scene trigger condition. If the scene trigger condition is met, the micro control unit is used to parse the instruction field based on the data stream conversion protocol to obtain the scene arrangement instruction, and the scene arrangement instruction is sent to the device to be controlled to execute the scene arrangement instruction. In this way, after the micro control unit is powered on, a scene data stream is provided, and the scene data stream is parsed by the micro control unit to obtain the scene trigger condition and the scene arrangement instruction, thereby realizing the execution of the scene arrangement service by the micro control unit. Compared with the execution of the scene arrangement service by the microprocessor of the vehicle terminal, the micro control unit has the characteristics of fast power-on startup speed, can respond to the scene arrangement service more quickly, improve the timeliness of the scene arrangement, and thus improve the user experience.

[0058] In an embodiment of the present application, the scene arrangement information is text format data, and the scene data stream is binary format data.

[0059] In this way, the scene arrangement information in text format is converted into a scene data stream in binary format through a custom data stream conversion protocol, and the binary data stream is sent to the microcontroller unit, thereby reducing the amount of data and improving the transmission efficiency and computing efficiency, thereby responding to the scene arrangement service faster, improving the timeliness of the scene arrangement, and thus improving the user experience.

[0060] In some embodiments, the physical structure of disk files and physical devices (printers, displays, keyboards, etc.) is ignored and they are uniformly regarded as a source or destination of a data stream, that is, the input and output of data are abstracted into a data stream, which can improve the versatility of data use and facilitate programming. Data streams are usually divided into text streams and binary streams, wherein the data in the text stream appears in the form of characters, and the data in the binary stream appears in the form of binary character sequences. If a character appears in the binary stream, the character is identified by a preset binary code (such as a binary ASCII (American Standard Code for Information Interchange) code). For example, "2001" is represented as "50484849" in the text stream, occupying four bytes, while in the binary stream, "2001" is represented as "0000011111010001", that is, "07D1", occupying two bytes.

[0061] In some embodiments, the space occupied by the scene data stream is less than 255 bytes.

[0062] In some embodiments, the preset programming instructions include one or more instructions such as opening the car window, turning on the air conditioner, turning on the fragrance, turning on the air purification, starting the vehicle, etc.

[0063] In some embodiments, the preset trigger conditions include one or more of the following conditions: the vehicle terminal recognizes the Bluetooth key within a preset range, the vehicle terminal recognizes the NFC card, the current temperature in the vehicle is within or outside a preset temperature range, the current air quality is within or outside a preset air quality range, etc.

[0064] In this way, the use of non-hard-coded methods and parallelized script processing logic ensures the orchestration characteristics of scene services and improves the MCU scene orchestration capabilities.

[0065] Optionally, a scene data stream is generated in the following manner, including: the data stream conversion protocol includes at least one of a data splicing rule, a condition matching table and an instruction matching table, wherein the condition matching table includes a correspondence between multiple preset trigger conditions and preset trigger condition fields, and the instruction matching table includes a correspondence between multiple preset editing instructions and preset instruction fields; obtaining scene editing information, wherein the scene editing information includes a scene trigger condition and at least one scene editing instruction; determining a trigger condition field corresponding to the scene trigger condition from the preset trigger condition field according to a matching result between the scene trigger condition and the preset trigger condition, and determining an instruction identification field corresponding to the scene editing instruction from the preset instruction field according to a matching result between the scene editing instruction and the preset editing instruction; splicing the trigger condition field and the instruction field according to the data splicing rule to obtain a scene data stream, wherein the instruction field is determined by the instruction identification field.

[0066] Optionally, after splicing the trigger condition field and the instruction field according to the data splicing rule to obtain the scene data stream, before using the microcontroller unit to receive the scene data stream, the method also includes: if the scene arrangement instruction has multiple instructions, then determining the post-order instructions corresponding to each preceding instruction according to a preset instruction execution order, wherein the preceding instruction includes any scene arrangement instruction, and the post-order instruction includes any scene arrangement instruction other than the preceding instruction; determining the execution order field corresponding to each preceding instruction according to the post-order instruction, wherein the execution order field is used to characterize the post-order instruction corresponding to the preceding instruction; and adding the execution order field to the scene data stream according to the data splicing rule.

[0067] In some embodiments, if there is no subsequent instruction for the preceding instruction, the execution order field corresponding to the preceding instruction is determined to be 0.

[0068] Optionally, the microcontroller unit is used to parse the instruction field according to the data stream conversion protocol, including: using the microcontroller unit to parse the execution order field according to the data stream conversion protocol to obtain post-order instructions corresponding to each of the pre-order instructions; sorting the instruction fields based on the correspondence between each pre-order instruction and post-order instruction to obtain an instruction field sequence; parsing each of the instruction fields in the instruction field sequence in turn according to the data stream conversion protocol to obtain a scene arrangement instruction corresponding to each of the instruction fields.

[0069] Combination Figure 3 As shown, an embodiment of the present disclosure provides an instruction field parsing method, including: the scene arrangement instructions corresponding to the instruction field include instruction A1, instruction A2, instruction A3, instruction B1, instruction B2, instruction B3, instruction C1, instruction C2, and instruction C3, wherein the subsequent instruction of instruction A1 is instruction A2, the subsequent instruction of instruction A2 is instruction A3, the subsequent instruction of instruction B1 is instruction B2 and instruction C1, the subsequent instruction of instruction B2 is instruction B3, the subsequent instruction of instruction C1 is instruction C2, and the subsequent instruction of instruction C2 is instruction C3; each instruction field in the instruction field sequence is parsed in sequence according to the data stream conversion protocol, wherein first, instruction A1 and instruction B1 are parsed and executed in sequence, then, instruction A2, instruction B2 and instruction C1 are parsed and executed in sequence, then, instruction A3, instruction B3 and instruction C2 are parsed and executed in sequence, and finally, instruction C3 is parsed and executed.

[0070] Optionally, the scene data stream further includes an instruction delay field, and the instruction delay field is used to carry the delay length between any preceding instruction and the corresponding subsequent instruction.

[0071] In some embodiments, the delay duration includes 1s-24hr.

[0072] In some embodiments, the scene arrangement instruction includes a preceding instruction D1 and a subsequent instruction D2 corresponding to the preceding instruction D1; the delay time corresponding to the preceding instruction D1 includes 5s; the preceding instruction D1 is parsed and executed; after the preceding instruction D1 is executed, the subsequent instruction D2 is parsed and executed after a delay of 5s.

[0073] Optionally, the instruction field also includes at least one of the following: an instruction parameter field, used to carry the instruction parameter value corresponding to the scene arrangement instruction; a parameter quantity field, used to carry the parameter value quantity of the instruction parameter value; a parameter type field, used to carry the parameter type corresponding to the instruction parameter value; a parameter length field, used to carry the parameter value length corresponding to the instruction parameter value.

[0074] In some embodiments, the parameter types include integer, long integer, floating point, character, etc.

[0075] In some embodiments, the scene editing instruction is to turn on the air conditioner. The instruction parameter values ​​corresponding to the scene editing instruction are the temperature value and the air outlet serial number. The number of parameter values ​​corresponding to the scene editing instruction is 2. The parameter type corresponding to the temperature value is a floating point type, and the parameter type corresponding to the air outlet serial number is a character type.

[0076] Optionally, the scene data stream also includes at least one of the following: an instruction quantity field, used to carry the field quantity of the instruction field; an instruction type field, used to carry the instruction call type corresponding to the instruction field; an instruction length field, used to carry the field length of the instruction field; a data length field, used to carry the data length of the scene data stream; a data identification field, used to carry the preset data number corresponding to the scene data stream.

[0077] In some embodiments, the instruction call type includes one or more of behavior call, state acquisition, etc.

[0078] In some embodiments, after receiving the scene data stream, the micro control unit parses the scene data stream through the instruction quantity field, instruction length field, data length field, and data identification field, and verifies it based on the parsed data and the instruction quantity field, instruction length field, data length field, and data identification field.

[0079] Optionally, after using the microcontroller unit to receive the scene data stream, the method also includes: setting a scene cache space in the microcontroller unit, and storing the scene data as a historical data stream in the scene cache space; after the microcontroller unit is powered on again, using the microcontroller unit to extract the historical data stream from the scene cache space; if there is a historical data stream in the scene cache space, using the extracted historical data stream as a new scene data stream; if there is no historical data stream in the scene cache space, using the microcontroller unit to receive a new scene data stream.

[0080] In this way, the scene data stream received last time is stored in the cache space of the microcontroller unit, and after the microcontroller unit is powered on next time, the scene data stream is extracted from the cache space, and the scene orchestration service is executed according to the extracted scene data stream. Compared with re-receiving the scene data stream, the cache space of the microcontroller unit is flexibly utilized, and the speed of obtaining the scene data stream is improved, thereby utilizing the fast power-on startup speed of the microcontroller unit to respond to the scene orchestration service more quickly, thereby improving the timeliness of the scene orchestration and improving the user experience.

[0081] Combination Figure 4As shown, the embodiment of the present disclosure provides a scene data stream, including a data length field 401, a data identification field 402, a trigger condition field 403, and an execution content field 404, the execution content field 404 includes an instruction quantity field 4041, an instruction type field 4042, an instruction length field 4043, an instruction field 4044, and an instruction delay field 4045, the instruction field 4044 includes an instruction identification field 40441, a parameter quantity field 40442, a parameter type field 40443, a parameter length field 40444, an instruction parameter field 40445, and an execution order field 40446; the data length field 401, the data identification field 402, the trigger condition field 403, and the execution content field 4044. The field length of 01 is eight bits in binary, and the data length field is used to carry the data length occupied by the scene data stream, and the data length range includes 0-255; the field length of the data identification field 402 is eight bits in binary, and the data identification field is used to carry the unique identification of the scene data stream to distinguish different scene data streams; the field length of the trigger condition field 403 is eight bits in binary, and the trigger condition field is used to carry the trigger condition of the instruction, such as the vehicle terminal identifying the Bluetooth key within the preset range; the field length of the instruction quantity field 4041 is eight bits in binary, and the instruction quantity field is used to carry the field quantity of the instruction field; the field length of the instruction type field 4042 is eight bits in binary, and the instruction quantity field is used to carry the field quantity of the instruction field; The field length is four binary bits. The instruction type field is used to carry the instruction call type corresponding to the instruction field, where the instruction call type is identified by 0-15. The field length of the instruction length field 4043 is four binary bits. The instruction length field is used to carry the field length of all instruction fields. The instruction delay field 4045 is used to carry whether the scene arrangement instruction needs to be delayed to meet the scene requirements. The instruction field 4044 is established in the form of a block. The field length of the instruction identification field 40441 is eight binary bits. The instruction identification field is used to carry the scene arrangement instruction corresponding to the device to be controlled. The parameter quantity field 40442 The field length is four binary bits. The parameter quantity field is used to carry the parameter quantity of the instruction parameter value corresponding to the scene choreography instruction. The field length of parameter type field 40443 is four binary bits. The parameter type field is used to carry the parameter type corresponding to the instruction parameter value. The field length of parameter length field 40444 is eight binary bits. The parameter length field is used to carry the parameter value length corresponding to the instruction parameter value. Instruction parameter field 40445 is used to carry the instruction parameter value corresponding to the scene choreography instruction. The field length of execution order field 40446 is eight binary bits. The execution order field is used to carry the next scene choreography instruction after the scene choreography instruction is executed.

[0082] The scene data stream provided by the embodiment of the present disclosure is adopted, and the scene data stream is generated by the acquired data stream conversion protocol, and the scene data stream including the trigger condition field and the instruction field is sent to the micro control unit, and the trigger condition field is parsed by the micro control unit based on the data stream conversion protocol to obtain the scene trigger condition. If the scene trigger condition is met, the instruction field is parsed by the micro control unit based on the data stream conversion protocol to obtain the scene arrangement instruction, and the scene arrangement instruction is sent to the device to be controlled to execute the scene arrangement instruction. In this way, after the micro control unit is powered on, the scene data stream is provided, and the scene trigger condition and the scene arrangement instruction are parsed by the micro control unit to obtain the scene trigger condition and the scene arrangement instruction, thereby realizing the execution of the scene arrangement service by the micro control unit. Compared with the execution of the scene arrangement service by the microprocessor of the vehicle terminal, the micro control unit has the characteristics of fast power-on startup speed, can respond to the scene arrangement service more quickly, improve the timeliness of the scene arrangement, and thus improve the user experience.

[0083] Combination Figure 5 As shown, the embodiment of the present disclosure provides a vehicle-side scenario service execution method, including:

[0084] Step S501, the server obtains scene arrangement information;

[0085] Step S502, the server encodes the scene arrangement information according to the data stream conversion protocol to obtain a scene data stream;

[0086] Step S503, in response to the micro control unit of the vehicle terminal being powered on, the server sends a scene data stream to the T-box of the vehicle terminal;

[0087] Step S504, the T-box sends a scene data stream to the micro control unit;

[0088] Step S506, the micro control unit parses the trigger condition field based on the data stream conversion protocol to obtain the scene trigger condition;

[0089] Step S507, if the scene triggering condition is met, the micro control unit parses the instruction field based on the data stream conversion protocol to obtain the scene arrangement instruction;

[0090] Step S508, the micro control unit sends a scene arrangement instruction to the device to be controlled;

[0091] Step S509: the device to be controlled executes the received scene arrangement instruction.

[0092] The vehicle-side scene service execution method provided by the embodiment of the present disclosure generates a scene data stream through the acquired data stream conversion protocol, and sends the scene data stream including the trigger condition field and the instruction field to the micro control unit. The micro control unit parses the trigger condition field based on the data stream conversion protocol to obtain the scene trigger condition. If the scene trigger condition is met, the micro control unit parses the instruction field based on the data stream conversion protocol to obtain the scene choreography instruction, and sends the scene choreography instruction to the device to be controlled to execute the scene choreography instruction. The advantages are as follows:

[0093] First, after the microcontroller is powered on, a scene data stream is provided, and the microcontroller parses the scene data stream to obtain the scene trigger conditions and scene arrangement instructions, thereby realizing the execution of the scene arrangement service through the microcontroller. Compared with the execution of the scene arrangement service through the microprocessor of the vehicle terminal, the microcontroller has the characteristics of fast power-on startup speed, can respond to the scene arrangement service faster, improve the timeliness of the scene arrangement, and thus improve the user experience;

[0094] Second, the scene arrangement information in text format is converted into a scene data stream in binary format through a custom data stream conversion protocol, and the binary data stream is sent to the microcontroller unit to reduce the amount of data, improve the transmission efficiency and computing efficiency, so as to respond to the scene arrangement service faster, improve the timeliness of the scene arrangement, and thus improve the user experience;

[0095] Third, the use of non-hard-coded methods and parallel script processing logic ensures the orchestration characteristics of scene services and improves the MCU scene orchestration capabilities;

[0096] Fourth, it enables users to experience the scene arrangement service as soon as they get on the bus, expanding the usage time range and usage scene range, thereby improving the user experience;

[0097] Fifth, the scene data stream received last time is stored in the cache space of the microcontroller unit, and after the microcontroller unit is powered on next time, the scene data stream is extracted from the cache space, and the scene orchestration service is executed according to the extracted scene data stream. Compared with re-receiving the scene data stream, the cache space of the microcontroller unit is flexibly utilized, and the speed of obtaining the scene data stream is improved, thereby utilizing the fast startup speed of the microcontroller unit when powered on, responding to the scene orchestration service faster, improving the timeliness of the scene orchestration, and improving the user experience.

[0098] Combination Figure 6As shown, the embodiment of the present disclosure provides a vehicle-side scene service execution system, including an acquisition module 601, a receiving module 602, a conditional parsing module 603 and an instruction parsing module 604. The acquisition module 601 is used to acquire a vehicle terminal and a data stream conversion protocol, wherein the vehicle terminal includes a micro control unit and a device to be controlled; the receiving module 602 is used to use the micro control unit to receive a scene data stream after the micro control unit is powered on, wherein the scene data stream is generated according to the data stream conversion protocol, the scene data stream includes a trigger condition field and an instruction field, the trigger condition field carries a preset scene trigger condition, and the instruction field carries a scene choreography instruction corresponding to the device to be controlled; the conditional parsing module 603 is used to use the micro control unit to parse the trigger condition field based on the data stream conversion protocol to obtain a scene trigger condition; the instruction parsing module 604 is used to use the micro control unit to parse the instruction field based on the data stream conversion protocol to obtain a scene choreography instruction if the scene trigger condition is met, and send the parsed scene choreography instruction to the device to be controlled, so that the device to be controlled executes the scene choreography instruction

[0099] The vehicle-side scene service execution system provided by the embodiment of the present disclosure is adopted, and the scene data stream is generated by the acquired data stream conversion protocol, and the scene data stream including the trigger condition field and the instruction field is sent to the micro control unit, and the trigger condition field is parsed by the micro control unit based on the data stream conversion protocol to obtain the scene trigger condition. If the scene trigger condition is met, the instruction field is parsed by the micro control unit based on the data stream conversion protocol to obtain the scene arrangement instruction, and the scene arrangement instruction is sent to the device to be controlled to execute the scene arrangement instruction. In this way, after the micro control unit is powered on, a scene data stream is provided, and the scene data stream is parsed by the micro control unit to obtain the scene trigger condition and the scene arrangement instruction, thereby realizing the execution of the scene arrangement service by the micro control unit. Compared with the execution of the scene arrangement service by the microprocessor of the vehicle terminal, the micro control unit has the characteristics of fast power-on startup speed, can respond to the scene arrangement service more quickly, improve the timeliness of the scene arrangement, and thus improve the user experience.

[0100] Figure 7 The structure diagram of the computer system suitable for implementing the electronic device of the embodiment of the present application is shown. It should be noted that: 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, computer system 700 includes a central processing unit (CPU) 701, which can perform various appropriate actions and processes according to the program stored in read-only memory (ROM) 702 or the program loaded from storage part 708 to random access memory (RAM) 703, such as executing the method in the above embodiment. In RAM 703, various programs and data required for system operation are also stored. CPU 701, ROM 702 and RAM 703 are connected to each other through bus 704. Input / output (I / O) interface 705 is also connected to bus 704.

[0102] The following components are connected to the I / O 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 I / O 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] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may 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 may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable computer program is carried. This propagated data signal may 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 embodiments of the present disclosure further provide a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, any one of the methods in the embodiments is implemented.

[0106] The computer-readable storage medium in the embodiments of the present disclosure can be understood by ordinary technicians in the field: all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to the computer program. The aforementioned computer program can be stored in a computer-readable storage medium. When the program is executed, the execution includes the steps of the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other media that can store program codes.

[0107] The electronic device disclosed in this embodiment includes a processor, a memory, a transceiver and a communication interface. The memory and the communication interface are connected to the processor and the transceiver and complete communication with each other. The memory is used to store computer programs, the communication interface is used to communicate, and the processor and the transceiver are used to run the computer program so that the electronic device executes each step of the above method.

[0108] In this embodiment, the memory may include a random access memory (Random Access Memory, RAM for short), and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0109] The above-mentioned processors can be general-purpose processors, including central processing units (CPU), graphics processing units (GPU), network processors (NP), etc.; they can also be digital signal processors (DSP), application specific integrated circuits (ASIC), field programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0110] The above description and accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent possible changes only. Unless explicitly required, separate components and functions are in an embodiment of the present application, and the order of operation may vary. Parts and subsamples of some embodiments may be included in or replace parts and subsamples of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of a stated sub-sample, whole, step, operation, element, and / or component, but do not exclude the presence or addition of one or more other sub-samples, wholes, steps, operations, elements, components and / or groups of these. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.

[0111] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. Technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. Technicians can clearly understand that for the convenience and simplicity of description, the specific working process of the above-described system, device and unit can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0112] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of units can be only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some sub-samples can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.

[0113] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. 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 consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A vehicle-side scenario service execution method, characterized in that: include: Acquire a vehicle terminal and a data stream conversion protocol, wherein the vehicle terminal includes a micro control unit and a device to be controlled; After the microcontroller unit is powered on, the microcontroller unit is used to receive a scene data stream from a server, wherein the scene data stream is generated according to the data stream conversion protocol, and the scene data stream includes a trigger condition field and an instruction field, wherein the trigger condition field carries a preset scene trigger condition, and the instruction field carries a scene arrangement instruction corresponding to the device to be controlled; Utilizing the micro control unit to parse the trigger condition field based on the data stream conversion protocol to obtain a scene trigger condition; If the scene triggering condition is met, the micro control unit is used to parse the instruction field based on the data stream conversion protocol to obtain a scene arrangement instruction, and the parsed scene arrangement instruction is sent to the device to be controlled, so that the device to be controlled executes the scene arrangement instruction; The server generates a scene data stream in the following manner, including: the data stream conversion protocol includes at least one of a data splicing rule, a condition matching table and an instruction matching table, wherein the condition matching table includes a correspondence between multiple preset trigger conditions and preset trigger condition fields, and the instruction matching table includes a correspondence between multiple preset editing instructions and preset instruction fields; obtaining scene editing information, wherein the scene editing information includes a scene trigger condition and at least one scene editing instruction; determining a trigger condition field corresponding to the scene trigger condition from the preset trigger condition field according to a matching result between the scene trigger condition and the preset trigger condition, and determining an instruction identification field corresponding to the scene editing instruction from the preset instruction field according to a matching result between the scene editing instruction and the preset editing instruction; splicing the trigger condition field and the instruction field according to the data splicing rule to obtain the scene data stream, wherein the instruction field is determined by the instruction identification field.

2. The method according to claim 1, characterized in that: After splicing the trigger condition field and the instruction field according to the data splicing rule to obtain the scene data stream, and before using the micro control unit to receive the scene data stream, the method further includes: If there are multiple scene arrangement instructions, then the subsequent instructions corresponding to each preceding instruction are determined according to a preset instruction execution order, wherein the preceding instruction includes any scene arrangement instruction, and the subsequent instruction includes any scene arrangement instruction other than the preceding instruction; Determine the execution order fields corresponding to the respective preceding instructions according to the following instructions, wherein the execution order fields are used to represent the following instructions corresponding to the preceding instructions; The execution order field is added to the scene data stream according to the data splicing rule.

3. The method according to claim 2, characterized in that Parsing the instruction field using the micro control unit according to the data stream conversion protocol includes: Utilizing the microcontroller unit to parse the execution order field according to the data stream conversion protocol to obtain post-order instructions corresponding to each of the pre-order instructions; Sort the instruction fields based on the correspondence between the preceding instructions and the following instructions to obtain an instruction field sequence; According to the data stream conversion protocol, each instruction field in the instruction field sequence is parsed in turn to obtain the scene arrangement instruction corresponding to each instruction field.

4. The method according to claim 2, characterized in that: The scene data stream also includes an instruction delay field, and the instruction delay field is used to carry the delay length between any preceding instruction and the corresponding subsequent instruction.

5. The method according to any one of claims 1 to 4, characterized in that: The instruction field also includes at least one of the following: The instruction parameter field is used to carry the instruction parameter value corresponding to the scene arrangement instruction; A parameter quantity field, used to carry the parameter value quantity of the instruction parameter value; A parameter type field is used to carry the parameter type corresponding to the instruction parameter value; The parameter length field is used to carry the parameter value length corresponding to the instruction parameter value.

6. The method according to any one of claims 1 to 4, characterized in that: The scene data stream also includes at least one of the following: An instruction quantity field, used to carry the field quantity of the instruction field; An instruction type field, used to carry the instruction call type corresponding to the instruction field; An instruction length field, used to carry the field length of the instruction field; A data length field, used to carry the data length of the scene data stream; The data identification field is used to carry the preset data number corresponding to the scene data stream.

7. The method according to any one of claims 1 to 4, characterized in that: After the micro control unit is powered on, the scene data stream is received by the micro control unit, including: The vehicle terminal further includes a vehicle networking unit, which is used to establish a communication link with a server, wherein the server is used to generate a scene data stream; In response to the micro control unit being powered on, generating a scene acquisition request using the micro control unit, and sending the scene acquisition request to the server through the communication link; If the server receives the scene acquisition request, the scene data stream of the server is sent to the micro control unit through the communication link.

8. The method according to any one of claims 1 to 4, characterized in that: The scene arrangement information is text format data, and the scene data stream is binary format data.

9. The method according to any one of claims 1 to 4, characterized in that: After receiving the scene data stream by the micro control unit, the method further includes: Setting a scene cache space in the micro control unit, and storing the scene data as a historical data stream in the scene cache space; After the micro control unit is powered on again, the micro control unit is used to extract the historical data stream from the scene cache space; If there is a historical data stream in the scene cache space, the extracted historical data stream is used as a new scene data stream; If the scene buffer space does not have a historical data stream, the micro control unit is used to receive a new scene data stream.

10. A vehicle-side scene service execution system, characterized in that: include: An acquisition module, used for acquiring a vehicle terminal and a data stream conversion protocol, wherein the vehicle terminal includes a micro control unit and a device to be controlled; A receiving module, configured to receive a scene data stream from a server using the microcontroller unit after the microcontroller unit is powered on, wherein the scene data stream is generated according to the data stream conversion protocol, and the scene data stream includes a trigger condition field and an instruction field, wherein the trigger condition field carries a preset scene trigger condition, and the instruction field carries a scene arrangement instruction corresponding to the device to be controlled; A condition parsing module, used to parse the trigger condition field using the micro control unit based on the data stream conversion protocol to obtain a scene trigger condition; An instruction parsing module is used to parse the instruction field based on the data stream conversion protocol by the micro control unit to obtain a scene arrangement instruction if the scene triggering condition is met, and send the parsed scene arrangement instruction to the device to be controlled so that the device to be controlled executes the scene arrangement instruction; The server generates a scene data stream in the following manner, including: the data stream conversion protocol includes at least one of a data splicing rule, a condition matching table and an instruction matching table, wherein the condition matching table includes a correspondence between multiple preset trigger conditions and preset trigger condition fields, and the instruction matching table includes a correspondence between multiple preset editing instructions and preset instruction fields; obtaining scene editing information, wherein the scene editing information includes a scene trigger condition and at least one scene editing instruction; determining a trigger condition field corresponding to the scene trigger condition from the preset trigger condition field according to a matching result between the scene trigger condition and the preset trigger condition, and determining an instruction identification field corresponding to the scene editing instruction from the preset instruction field according to a matching result between the scene editing instruction and the preset editing instruction; splicing the trigger condition field and the instruction field according to the data splicing rule to obtain the scene data stream, wherein the instruction field is determined by the instruction identification field.

11. An electronic device, characterized in that: include: Processor and memory; The memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the method according to any one of claims 1 to 9.

12. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.