Control logic changing method and device, equipment, storage medium and vehicle

By receiving the logic change request of the application in the vehicle, send it to the cloud and receive the configuration file, replace the original configuration file to realize the control logic change, solve the problem of not flexible control logic changes in existing technology, and achieve flexibility, economy, economy Control logic update.

CN119356746APending Publication Date: 2025-01-24BEIJING CO WHEELS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310908635.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-24
Publication Date
2025-01-24

AI Technical Summary

Technical Problem

The existing vehicle control logic changes are not flexible enough, and the application's source code needs to be modified by releasing hot fix packages or new versions, which is expensive and not flexible enough.

Method used

By receiving the logic change request of the application, the request is sent to the cloud, receiving the configuration file generated by the cloud, and using the configuration file to replace the original configuration file to realize the change of control logic.

Benefits of technology

The flexible update of controlling logic is achieved, no need to modify the source code of the application, reducing costs and improving the flexibility of changes.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119356746A_ABST
    Figure CN119356746A_ABST
Patent Text Reader

Abstract

The invention discloses a control logic changing method and device, equipment, a storage medium and a vehicle. The method comprises the steps that under the condition that a logic change request of an application program is received, the logic change request is sent to a cloud end, the logic change request is used for requesting to update first control logic of a vehicle into second control logic, and the application program is used for managing the control logic of the vehicle; receiving a first configuration file which is sent by the cloud and is generated based on the logic change request, wherein the first configuration file is used for realizing the second control logic; the first configuration file is used for replacing a second configuration file associated with the application program, so that the first control logic of the vehicle is changed into second control logic, and the second configuration file is used for achieving the first control logic. According to the embodiment of the invention, flexible change of the control logic of the vehicle can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of vehicle control technology, and in particular, relates to a control logic changing method, device, equipment, storage medium and vehicle. Background Art

[0002] At present, the control of vehicles is basically realized through applications, and the usual implementation method is: the control logic is written in the code of the application in the form of hard coding. When the user's control instruction is received, the code in the application is executed to implement the control logic indicated by the control instruction.

[0003] However, if the user wants to change the control logic of the vehicle by using this method, they need to modify the source code of the application by releasing a hot fix package or a new version of the application. This method of changing the control logic requires a large cost and is not flexible enough. Summary of the invention

[0004] The embodiments of the present application provide a method, device, equipment, storage medium and vehicle for changing control logic, which can solve the problem that the existing control logic changing method is not flexible enough.

[0005] In a first aspect, an embodiment of the present application provides a method for changing a control logic, the method comprising:

[0006] Upon receiving a logic change request from an application, sending the logic change request to a cloud, wherein the logic change request is used to request updating a first control logic of a vehicle to a second control logic, wherein the application is used to manage the control logic of the vehicle;

[0007] receiving a first configuration file generated based on the logic change request and sent by a cloud, where the first configuration file is used to implement the second control logic;

[0008] The first configuration file is used to replace a second configuration file associated with the application program, so as to change the first control logic of the vehicle to the second control logic, wherein the second configuration file is used to implement the first control logic.

[0009] In some embodiments, after replacing the second configuration file associated with the application with the first configuration file, the method further includes:

[0010] In case of receiving a first instruction, running the application program for responding to the first instruction;

[0011] Loading at least one configuration file associated with the application to obtain at least one configuration data;

[0012] Obtaining an execution result of the first instruction based on the at least one configuration data;

[0013] The at least one configuration file includes the first configuration file, and the first control logic implemented by the first configuration file is used to control the execution operation of the first instruction.

[0014] In some embodiments, obtaining the execution result of the first instruction based on the at least one configuration data includes:

[0015] Parsing the first instruction to obtain the instruction intent of the first instruction;

[0016] Based on the instruction intention, query the at least one configuration data for first configuration data corresponding to the first instruction, where the first configuration data is configuration data obtained by loading the first configuration file;

[0017] An execution result of the first instruction is obtained based on the first configuration data.

[0018] In some embodiments, obtaining the execution result of the first instruction based on the first configuration data includes:

[0019] Splitting the first configuration data into a plurality of data units;

[0020] Determine a plurality of data numbers of the plurality of data units, wherein each data unit corresponds to a data number;

[0021] The plurality of data units are executed based on the plurality of data numbers to obtain an execution result of the first instruction.

[0022] In some embodiments, executing the multiple data units based on the multiple data numbers to obtain the execution result of the first instruction includes:

[0023] Acquire a data type of a first data unit, wherein the first data unit is any data unit among the multiple data units;

[0024] When the data number corresponding to the first data unit is the last data number among the multiple data numbers, the first data unit is executed according to the execution method corresponding to the data type to obtain the execution result of the first instruction.

[0025] In some embodiments, after obtaining the data type of the first data unit, the method further includes:

[0026] When the data number corresponding to the first data unit is not the last data number among the multiple data numbers, the first data unit is executed according to the execution method corresponding to the data type to obtain the data number corresponding to the second data unit, wherein the data number corresponding to the second data unit is the next data number of the data number corresponding to the first data unit.

[0027] In a second aspect, an embodiment of the present application provides a control logic changing device, the device comprising:

[0028] a sending module, configured to send the logic change request to the cloud upon receiving a logic change request from an application, wherein the logic change request is used to request updating a first control logic of the vehicle to a second control logic, wherein the application is used to manage the control logic of the vehicle;

[0029] A receiving module, configured to receive a first configuration file generated based on the logic change request and sent by a cloud, wherein the first configuration file is used to implement the second control logic;

[0030] A replacement module is used to replace a second configuration file associated with the application with the first configuration file to change the first control logic of the vehicle to the second control logic, wherein the second configuration file is used to implement the first control logic.

[0031] In a third aspect, an embodiment of the present application provides a control logic changing device, the device comprising: a processor and a memory storing computer program instructions;

[0032] The above control logic changing method is implemented when the processor executes computer program instructions.

[0033] In a fourth aspect, an embodiment of the present application provides a computer storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method for changing the control logic as described above is implemented.

[0034] In a fifth aspect, an embodiment of the present application provides a vehicle, which includes computer program instructions, and the computer program instructions, when executed by a processor, implement the above control logic changing method.

[0035] In the present application, when a logic change request of an application is received, the logic change request can be sent to the cloud, and a first configuration file generated based on the logic change request and sent by the cloud can be received, and the original second configuration file can be replaced with the first configuration file to implement the logic change. In this way, the control logic of the application can be updated by replacing the old configuration file with the new configuration file without modifying the source code of the application, thereby flexibly implementing the update of the control logic. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0037] Figure 1 It is a flowchart of a method for changing control logic provided in an embodiment of the present application;

[0038] Figure 2 is a module schematic diagram of a control logic changing method provided in another embodiment of the present application;

[0039] Figure 3 It is a hardware structure diagram of a control logic changing device provided in an embodiment of the present application;

[0040] Figure 4 It is a structural diagram of a control logic changing device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0041] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is only to provide a better understanding of the present application by illustrating the examples of the present application.

[0042] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "include..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0043] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The embodiments will be described in detail below in conjunction with the accompanying drawings.

[0044] Specifically, in order to solve the problems of the prior art, the embodiments of the present application provide a control logic changing method, device, equipment, storage medium and vehicle. The control logic changing method provided by the embodiments of the present application is first introduced below.

[0045] Figure 1 A flow chart of a method for changing control logic provided by an embodiment of the present application is shown. The method comprises the following steps:

[0046] S110, upon receiving a logic change request from an application, sending the logic change request to the cloud, wherein the logic change request is used to request updating a first control logic of the vehicle to a second control logic, wherein the application is used to manage the control logic of the vehicle.

[0047] In this embodiment, control logic refers to a set of rules, algorithms and processes used to manage and control vehicle behavior and functions. It defines how the vehicle responds to user input in different situations and performs corresponding operations to achieve the expected driving and operating effects. Among them, each set of control logic of the vehicle corresponds to a function of the vehicle. The vehicle control program can implement the vehicle control logic through the vehicle's electronic control unit and related software.

[0048] A logic change request refers to a request to modify or adjust the control logic in an application to change its behavior, decision rules, or execution flow. The first control logic refers to the original control logic in the application, and the second control logic refers to the new control logic that the user wants to implement in the application.

[0049] After receiving the logic change request, the vehicle can send the logic change request to the cloud that is in communication with the vehicle, and the cloud can assist the vehicle in responding to the logic change request and updating the first control logic in the vehicle to the second control logic.

[0050] For example, the first control logic may be to open the tailgate when the vehicle speed is lower than a certain value and give the user corresponding execution feedback; the second control logic may be to open the tailgate when the vehicle is in P gear and give the user corresponding execution feedback.

[0051] S120, receiving a first configuration file generated based on the logic change request and sent by the cloud, where the first configuration file is used to implement the second control logic;

[0052] In this embodiment, the control logic can be stored outside the application in the form of a configuration file. The configuration file is used to store various settings, parameters and options of the application, such as database connection information, log level, service port number, permission settings, etc. It provides an external configuration mechanism so that the behavior and function of the application can be customized and adjusted according to the content of the configuration file. In this way, the control logic of the application can be modified by modifying the configuration file without modifying the source code.

[0053] Specifically, the cloud can generate a first configuration file based on the logic change request and send the first configuration file to the vehicle, where the first configuration file is used to implement the modified second control logic.

[0054] S130: Replace a second configuration file associated with the application program with the first configuration file to change the first control logic of the vehicle to the second control logic, wherein the second configuration file is used to implement the first control logic.

[0055] In this embodiment, after the vehicle receives the first configuration file sent from the cloud, it can distribute the first configuration file to the application. After the application receives the new first configuration file, it can check and verify the first configuration file to ensure the integrity and correctness of the file. If the verification is correct, the second configuration file can be replaced with the first configuration file, and the second configuration file can be deleted.

[0056] In the present application, when a logic change request of an application is received, the logic change request can be sent to the cloud, and a first configuration file generated based on the logic change request and sent by the cloud can be received, and the original second configuration file can be replaced with the first configuration file. In this way, the control logic of the application can be updated by replacing the old configuration file with the new configuration file without modifying the source code of the application, thereby flexibly realizing the update of the control logic.

[0057] As an optional embodiment, after S130, the following steps are included:

[0058] In case of receiving a first instruction, running the application program for responding to the first instruction;

[0059] Loading at least one configuration file associated with the application to obtain at least one configuration data;

[0060] Obtaining an execution result of the first instruction based on the at least one configuration data;

[0061] The at least one configuration file includes the first configuration file, and the first control logic implemented by the first configuration file is used to control the execution operation of the first instruction.

[0062] In this embodiment, the first instruction is a control instruction issued by the user to the vehicle, and the first instruction may be a voice instruction or an instruction issued by pressing a button on the vehicle. After the vehicle receives the first instruction, the application may be run.

[0063] After the application is run, all configuration files associated with the application are loaded immediately. The application can obtain all configuration data defined in the configuration files by loading the configuration files, and store the configuration data in the cache so that the configuration data can be quickly accessed later.

[0064] After completing the caching of the configuration data, the application program can obtain the cached configuration data at any time, and call the module or component corresponding to the configuration data to perform a corresponding operation to obtain the execution result of the first instruction.

[0065] The application executes the instructions given by the user through the configuration file, that is, the application configuration file can be customized according to specific needs or environments to adapt to different deployment scenarios or user preferences.

[0066] As an optional embodiment, obtaining the execution result of the first instruction based on the at least one configuration data includes:

[0067] Parsing the first instruction to obtain the instruction intent of the first instruction;

[0068] Based on the instruction intention, query the at least one configuration data for first configuration data corresponding to the first instruction, where the first configuration data is configuration data obtained by loading the first configuration file;

[0069] An execution result of the first instruction is obtained based on the first configuration data.

[0070] In this embodiment, after completing the caching of the configuration data, the application can also parse the first instruction to obtain the instruction intent of the first instruction, and then execute the operation corresponding to the first instruction based on the instruction intent of the first instruction. Specifically, if the first instruction is a voice instruction, the voice instruction can be converted into text content, and the intention of the text content can be recognized using a natural language processing model to obtain the recognized instruction intent.

[0071] After determining the instruction intent of the first instruction, first configuration data related to the instruction intent can be queried in at least one cached configuration data based on the instruction intent, and the module or component corresponding to the first configuration data can be called to perform corresponding operations to obtain the execution result of the first instruction.

[0072] As an optional embodiment, obtaining the execution result of the first instruction based on the first configuration data includes:

[0073] Splitting the first configuration data into a plurality of data units;

[0074] Determine a plurality of data numbers of the plurality of data units, wherein each data unit corresponds to a data number;

[0075] The plurality of data units are executed based on the plurality of data numbers to obtain an execution result of the first instruction.

[0076] In this embodiment, after obtaining the first configuration data corresponding to the instruction intent from at least one configuration data in the cache, the first configuration data may be split into multiple smaller units, namely multiple data units, each of which may be an atomic function.

[0077] After the first configuration data is split into multiple data units, a new logical structure can be constructed by combining and connecting the multiple data units in a certain arrangement order. Each data unit in the new logical structure has a corresponding data number, which can represent the position of the data unit in the new logical structure, so that a more complex and reusable logical function can be realized through the combination of simple unit logic.

[0078] After the new logical structure is constructed, different execution modules can be called in sequence according to the types of different data units in the logical structure to execute these data units. After all data units are executed, the execution result of the first instruction can be obtained.

[0079] By disassembling and recombining the configuration data in the above way, a more flexible, scalable and maintainable logical structure can be achieved. This method can make the processing and management of configuration data more modular and reusable, and improve the understandability and operability of the system.

[0080] As an optional embodiment, executing the multiple data units based on the multiple data numbers to obtain the execution result of the first instruction includes:

[0081] Acquire a data type of a first data unit, wherein the first data unit is any data unit among the multiple data units;

[0082] When the data number corresponding to the first data unit is the last data number among the multiple data numbers, the first data unit is executed according to the execution method corresponding to the data type to obtain the execution result of the first instruction.

[0083] As an optional embodiment, after obtaining the data type of the first data unit, the method further includes:

[0084] When the data number corresponding to the first data unit is not the last data number among the multiple data numbers, the first data unit is executed according to the execution method corresponding to the data type to obtain the data number corresponding to the second data unit, wherein the data number corresponding to the second data unit is the next data number of the data number corresponding to the first data unit.

[0085] In this embodiment, in the process of executing multiple data units according to multiple data numbers, different execution modules need to be called to execute data units of different data types. Each first data unit will identify its own data type, and the data type may include a condition judgment type, an action execution type, an execution result check type, a condition query type, a state preservation type, and a data calculation type.

[0086] Based on the data type of each first data unit, the execution module corresponding to the data type can be called to execute the content of the first data unit, thereby obtaining the execution result of the first data unit. Among them, the execution modules corresponding to the data type include: a condition judgment execution module, an instruction action execution module, an execution result checking module, a condition query module, a state saving module, and a calculation module. The condition judgment execution module is used to execute data units of the condition judgment type, the instruction action execution module is used to execute data units of the action execution type, the execution result checking module is used to execute data units of the execution result checking type, the condition query module is used to execute data units of the condition query type, the state saving module is used to execute data units of the state saving type, and the calculation module is used to execute data units of the calculation type.

[0087] There are two types of execution results of the first data unit. If the first data unit is not the last data unit arranged in sequence among multiple data units, executing the first data unit can obtain the data number of the second data unit, and the application continues to call the execution module corresponding to the second data unit to execute the second data unit; if the first data unit is the last data unit, executing the data unit can obtain the execution result of the first instruction and end the entire process.

[0088] As an optional embodiment, Figure 3 As shown in the figure, the strategy of changing the vehicle control logic through the configuration file can be divided into four layers in the software architecture:

[0089] The first layer is the data module, which can read and load the configuration files associated with the application in advance, cache the configuration data, and provide a method to query related configuration data according to the instruction intent.

[0090] The second layer is the process scheduling module. After the process scheduling module obtains the instruction intent, the module can obtain the required configuration data from the data module, and disassemble the configuration data into different data units according to predetermined rules, and reassemble these data units. After that, the process scheduling module can also call different execution modules to execute these data units.

[0091] The third layer consists of six execution modules, including: condition judgment execution module, instruction action execution module, execution result inspection module, condition query module, state saving module and calculation module. The execution module is used to execute each data unit and feed back the execution result to the process scheduling module.

[0092] The fourth layer is the basic implementation module, which consists of many condition implementation classes and action implementation classes. Each class is the smallest functional implementation unit. According to the needs of the control logic, some of the classes can be selected for combination and the scheduling order can be adjusted to achieve the overall implementation of the logic.

[0093] Based on the control logic changing method provided in the above embodiment, the present application also provides a specific implementation of the control logic changing device. Please refer to the following embodiment.

[0094] See first Figure 3 The control logic changing device 300 provided in the embodiment of the present application includes the following modules:

[0095] A sending module 301 is used to send the logic change request to the cloud when receiving the logic change request of the application, wherein the logic change request is used to request to update the first control logic of the vehicle to the second control logic, wherein the application is used to manage the control logic of the vehicle;

[0096] A receiving module 302, configured to receive a first configuration file generated based on the logic change request and sent by a cloud, wherein the first configuration file is used to implement the second control logic;

[0097] The replacement module 303 is used to replace the second configuration file associated with the application with the first configuration file to change the first control logic of the vehicle to the second control logic, wherein the second configuration file is used to implement the first control logic.

[0098] When the device receives a logic change request from an application, the device can send the logic change request to the cloud, receive a first configuration file generated based on the logic change request and sent by the cloud, and replace the original second configuration file with the first configuration file. In this way, the control logic of the application can be updated by replacing the old configuration file with the new configuration file without modifying the source code of the application, thereby flexibly realizing the update of the control logic.

[0099] As an implementation of the present application, the control logic changing device 300 may include:

[0100] A running module, configured to run the application program for responding to the first instruction when receiving the first instruction;

[0101] A loading module, used to load at least one configuration file associated with the application to obtain at least one configuration data;

[0102] an execution module, configured to obtain an execution result of the first instruction based on the at least one configuration data;

[0103] The at least one configuration file includes the first configuration file, and the first control logic implemented by the first configuration file is used to control the execution operation of the first instruction.

[0104] As an implementation of the present application, the above execution module may also be used for:

[0105] Parsing the first instruction to obtain the instruction intent of the first instruction;

[0106] Based on the instruction intention, query the at least one configuration data for first configuration data corresponding to the first instruction, where the first configuration data is configuration data obtained by loading the first configuration file;

[0107] An execution result of the first instruction is obtained based on the first configuration data.

[0108] As an implementation of the present application, the above execution module may also be used for:

[0109] Splitting the first configuration data into a plurality of data units;

[0110] Determine a plurality of data numbers of the plurality of data units, wherein each data unit corresponds to a data number;

[0111] The plurality of data units are executed based on the plurality of data numbers to obtain an execution result of the first instruction.

[0112] As an implementation of the present application, the above execution module may also be used for:

[0113] Acquire a data type of a first data unit, wherein the first data unit is any data unit among the multiple data units;

[0114] When the data number corresponding to the first data unit is the last data number among the multiple data numbers, the first data unit is executed according to the execution method corresponding to the data type to obtain the execution result of the first instruction.

[0115] As an implementation of the present application, the above execution module may also be used for:

[0116] When the data number corresponding to the first data unit is not the last data number among the multiple data numbers, the first data unit is executed according to the execution method corresponding to the data type to obtain the data number corresponding to the second data unit, wherein the data number corresponding to the second data unit is the next data number of the data number corresponding to the first data unit.

[0117] The control logic changing device provided in the embodiment of the present invention can implement each step in the above method embodiment, and will not be described again here to avoid repetition.

[0118] Figure 4 A schematic diagram of the hardware structure of a control logic changing device provided in an embodiment of the present application is shown.

[0119] The device for changing the control logic may include a processor 401 and a memory 402 storing computer program instructions.

[0120] Specifically, the processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0121] Memory 402 may include a large capacity memory for data or instructions. By way of example and not limitation, memory 402 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive or a combination of two or more of these. In appropriate cases, memory 402 may include removable or non-removable (or fixed) media. In appropriate cases, memory 402 may be inside or outside an integrated gateway disaster recovery device. In a particular embodiment, memory 402 is a non-volatile solid-state memory.

[0122] The memory may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical or other physical / tangible memory storage devices. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the method according to an aspect of the present disclosure.

[0123] The processor 401 reads and executes computer program instructions stored in the memory 402 to implement any one of the control logic changing methods in the above embodiments.

[0124] In one example, the control logic change device may further include a communication interface 403 and a bus 410. Figure 4 As shown, the processor 401, the memory 402, and the communication interface 403 are connected via a bus 410 and communicate with each other.

[0125] The communication interface 403 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiments of the present application.

[0126] Bus 410 includes hardware, software or both, and the parts of the change device of control logic are coupled to each other.For example, but not limitation, bus may include accelerated graphics port (AGP) or other graphics bus, enhanced industrial standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industrial standard architecture (ISA) bus, infinite bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral component interconnection (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. In appropriate cases, bus 410 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the present application considers any suitable bus or interconnection.

[0127] The control logic changing device may be based on the above-mentioned embodiment, thereby realizing the control logic changing method and apparatus combined with the above-mentioned embodiment.

[0128] In addition, in combination with the method for changing the control logic in the above-mentioned embodiment, the embodiment of the present application may provide a computer storage medium to implement it. The computer storage medium stores computer program instructions; when the computer program instructions are executed by the processor, any one of the control logic change methods in the above-mentioned embodiments is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here. Among them, the above-mentioned computer-readable storage medium may include a non-transitory computer-readable storage medium, such as a read-only memory (Read-Only Memory, referred to as ROM), a random access memory (Random Access Memory, referred to as RAM), a disk or an optical disk, etc., which are not limited here.

[0129] In addition, an embodiment of the present application also provides a vehicle, including computer program instructions, which, when executed by a processor, can implement the steps and corresponding contents of the aforementioned method embodiment.

[0130] It should be clear that the present application is not limited to the specific configuration and processing described above and shown in the figures. For the sake of simplicity, a detailed description of the known method is omitted here. In the above embodiments, several specific steps are described and shown as examples. However, the method process of the present application is not limited to the specific steps described and shown, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps after understanding the spirit of the present application.

[0131] The functional blocks shown in the above block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, it can be, for example, an electronic circuit, an application specific integrated circuit (ASIC), appropriate firmware, a plug-in, a function card, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0132] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps, that is, the steps can be performed in the order mentioned in the embodiment, or in a different order from the embodiment, or several steps can be performed simultaneously.

[0133] Aspects of the present disclosure are described above with reference to the flowcharts and / or block diagrams of the methods, devices and vehicles according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of each box in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the function / action specified in one or more boxes of the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor, or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by dedicated hardware that performs a specified function or action, or can be implemented by a combination of dedicated hardware and computer instructions.

[0134] The above are only specific implementation methods of the present application. Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the protection scope of the present application is not limited to this. Any technician familiar with the technical field can easily think of various equivalent modifications or replacements within the technical scope disclosed in this application, and these modifications or replacements should be included in the protection scope of this application.

Claims

1. A method for changing control logic, characterized in that: The method comprises: Upon receiving a logic change request from an application, sending the logic change request to a cloud, wherein the logic change request is used to request updating a first control logic of a vehicle to a second control logic, wherein the application is used to manage the control logic of the vehicle; receiving a first configuration file generated based on the logic change request and sent by a cloud, where the first configuration file is used to implement the second control logic; The first configuration file is used to replace a second configuration file associated with the application program, so as to change the first control logic of the vehicle to the second control logic, wherein the second configuration file is used to implement the first control logic.

2. The control logic changing method according to claim 1, characterized in that: After replacing the second configuration file associated with the application with the first configuration file, the method further includes: In case of receiving a first instruction, running the application program for responding to the first instruction; Loading at least one configuration file associated with the application to obtain at least one configuration data; Obtaining an execution result of the first instruction based on the at least one configuration data; The at least one configuration file includes the first configuration file, and the first control logic implemented by the first configuration file is used to control the execution operation of the first instruction.

3. The method for changing control logic according to claim 2, characterized in that: The obtaining the execution result of the first instruction based on the at least one configuration data includes: Parsing the first instruction to obtain the instruction intent of the first instruction; Based on the instruction intention, query the at least one configuration data for first configuration data corresponding to the first instruction, where the first configuration data is configuration data obtained by loading the first configuration file; An execution result of the first instruction is obtained based on the first configuration data.

4. The method for changing control logic according to claim 3, characterized in that: The obtaining the execution result of the first instruction based on the first configuration data includes: Splitting the first configuration data into a plurality of data units; Determine a plurality of data numbers of the plurality of data units, wherein each data unit corresponds to a data number; The plurality of data units are executed based on the plurality of data numbers to obtain an execution result of the first instruction.

5. The method for changing control logic according to claim 4, characterized in that: The executing the plurality of data units based on the plurality of data numbers to obtain the execution result of the first instruction includes: Acquire a data type of a first data unit, wherein the first data unit is any data unit among the multiple data units; When the data number corresponding to the first data unit is the last data number among the multiple data numbers, the first data unit is executed according to the execution method corresponding to the data type to obtain the execution result of the first instruction.

6. The method for changing control logic according to claim 5, characterized in that: After obtaining the data type of the first data unit, the method further includes: When the data number corresponding to the first data unit is not the last data number among the multiple data numbers, the first data unit is executed according to the execution method corresponding to the data type to obtain the data number corresponding to the second data unit, wherein the data number corresponding to the second data unit is the next data number of the data number corresponding to the first data unit.

7. A control logic changing device, characterized in that: The device comprises: a sending module, configured to send the logic change request to the cloud upon receiving a logic change request from an application, wherein the logic change request is used to request updating a first control logic of the vehicle to a second control logic, wherein the application is used to manage the control logic of the vehicle; A receiving module, configured to receive a first configuration file generated based on the logic change request and sent by a cloud, wherein the first configuration file is used to implement the second control logic; A replacement module is used to replace a second configuration file associated with the application with the first configuration file to change the first control logic of the vehicle to the second control logic, wherein the second configuration file is used to implement the first control logic.

8. A control logic changing device, characterized in that: The control logic changing device includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the method for changing the control logic according to any one of claims 1 to 6 is implemented.

9. A computer storage medium, characterized in that: The computer storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the method for changing the control logic according to any one of claims 1 to 6 is implemented.

10. A vehicle, characterized in that: The vehicle computer program instructions, when the computer program instructions are executed by a processor, implement the method for changing the control logic described in any one of claims 1-6.