Vehicle scene configuration method, device, equipment, medium and computer program product

By setting up interactive processes and engine processes at the software level of the central gateway, and receiving and configuring user-defined vehicle scenarios, the problem that the existing technology cannot meet users' personalized needs is solved, and efficient computing resource utilization is achieved.

CN119396487APending Publication Date: 2025-02-07ROX MOTOR TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411427176.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-12
Publication Date
2025-02-07

AI Technical Summary

Technical Problem

The prior art cannot meet users' personalized needs for vehicle scenarios, and excessive computing resources are required to be consumed when configuring vehicle scenarios.

Method used

Set the first interactive process and engine process at the software level of the central gateway, receive the user's vehicle scene configuration information through the first interactive process, generate the scene configuration file, and configure the target vehicle scene through the engine process to realize the configuration of the user's custom vehicle scene. .

Benefits of technology

The configuration of user-defined vehicle scenarios is realized, which can minimize the consumption of computing resources caused by data retrieval to other modules and save computing resource costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119396487A_ABST
    Figure CN119396487A_ABST
Patent Text Reader

Abstract

The invention discloses a vehicle scene configuration method, device and equipment, a medium and a computer program product, and relates to the technical field of vehicle application. The method is applied to a central gateway, and comprises the following steps: receiving vehicle scene configuration information through a first interaction process of the central gateway, then generating a scene configuration file according to the vehicle scene configuration information through the first interaction process, and storing the scene configuration file to a target storage address, the target storage address is sent to an engine process of a central gateway, the scene configuration file is acquired from the target storage address through the engine process, and a target vehicle scene corresponding to the scene configuration file is configured according to the scene configuration file. According to the embodiment of the invention, the communication data passing through the central gateway can be directly utilized, the configuration of the user-defined vehicle scene is realized in the central network, the calculation resource generated by calling the data to other modules is avoided to the maximum extent, and the calculation resource cost is saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of vehicle application technology, and in particular, relates to a vehicle scene configuration method, device, equipment, medium and computer program product. Background Art

[0002] With the rapid development of vehicle industry technology, the level of vehicle intelligence is constantly improving, and people's requirements for vehicle driving experience are getting higher and higher. By providing different scene modes in the vehicle, it is possible to intelligently and quickly create a diverse vehicle atmosphere for users and improve user experience.

[0003] The existing technology for configuring vehicle scenarios is that the OEM configures several fixed vehicle scenarios according to different vehicle models, which cannot meet user needs. Summary of the invention

[0004] The embodiments of the present application provide a vehicle scene configuration method, apparatus, device, storage medium and computer program product, which can realize the configuration of user-defined vehicle scenes without incurring excessive computing resource costs.

[0005] In a first aspect, an embodiment of the present application provides a vehicle scenario configuration method, which is applied to a central gateway, and the method includes:

[0006] Receiving vehicle scene configuration information through a first interaction process;

[0007] Generate a scenario configuration file according to the vehicle scenario configuration information through the first interactive process, and store the scenario configuration file to a target storage address; and send the target storage address to the engine process;

[0008] The scene configuration file is obtained from the target storage address through the engine process, and the target vehicle scene corresponding to the scene configuration file is configured according to the scene configuration file.

[0009] In a second aspect, an embodiment of the present application provides a vehicle scene configuration device, the device comprising:

[0010] A receiving module, configured to receive vehicle scene configuration information through a first interaction process;

[0011] A generating module, configured to generate a scenario configuration file according to the vehicle scenario configuration information through the first interactive process, and store the scenario configuration file to a target storage address; and send the target storage address to the engine process;

[0012] The configuration module is used to obtain a scene configuration file from a target storage address through an engine process, and configure a target vehicle scene corresponding to the scene configuration file according to the scene configuration file.

[0013] In a third aspect, an embodiment of the present application provides an electronic device, comprising: a processor and a memory storing computer program instructions; when the processor executes the computer program instructions, the vehicle scene configuration method as in the first aspect is implemented.

[0014] In a fourth aspect, an embodiment of the present application provides a computer storage medium having computer program instructions stored thereon, and when the computer program instructions are executed by a processor, the vehicle scene configuration method of the first aspect is implemented.

[0015] In a fifth aspect, an embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the vehicle scene configuration method as in the first aspect.

[0016] The vehicle scene configuration method, device, equipment, medium and computer program product of the embodiment of the present application are configured by setting a first interactive process and an engine process at the software level of the central gateway, receiving the vehicle scene configuration information required by the user through the first interactive process, generating a scene configuration file through the engine process through the received vehicle scene configuration information, and creating a processing process for creating a target vehicle scene at the same time, so as to create a target vehicle scene based on the scene configuration file through the processing process, thereby realizing the configuration of the user-defined vehicle scene. Since the full amount of communication data of the vehicle passes through the central gateway, by realizing the configuration of the user-defined vehicle scene in the central gateway, the communication data passing through the central gateway can be directly used, and the computing resources generated by retrieval of data to other modules can be avoided to the maximum extent, thus saving the computing resource cost. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solution of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0018] Figure 1 is a structural diagram of a vehicle scene configuration system provided by an embodiment of the present application;

[0019] Figure 2 It is a flowchart of a vehicle scene configuration method provided by an embodiment of the present application;

[0020] Figure 3 This is a flowchart of a configuration method for a new vehicle scenario provided by an embodiment of the present application;

[0021] Figure 4 This is a flowchart of a configuration method for a new vehicle scenario provided by another embodiment of the present application;

[0022] Figure 5 is a flowchart of a configuration method for a new vehicle scenario provided by another embodiment of the present application;

[0023] Figure 6 It is a flowchart of a configuration method for deleting a vehicle scene provided by an embodiment of the present application;

[0024] Figure 7 is a flowchart of a configuration method for deleting a vehicle scene provided by another embodiment of the present application;

[0025] Figure 8 is a flowchart of a configuration method for deleting a vehicle scene provided by another embodiment of the present application;

[0026] Fig. 9 is a structural diagram of a vehicle scene configuration device provided by an embodiment of the present application;

[0027] Fig.10 It is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0028] 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.

[0029] 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 the process, method, article or equipment 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 equipment. 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 equipment including the elements.

[0030] With the rapid development of vehicle industry technology, the level of vehicle intelligence is constantly improving, and people's requirements for vehicle driving experience are getting higher and higher. By providing different scene modes in the vehicle, such as camping mode, smoking mode, immersive driving, etc., it can intelligently and quickly create a diverse vehicle atmosphere for users and improve user experience.

[0031] The existing technology for configuring vehicle scenarios is that the OEM configures several fixed vehicle scenarios according to different vehicle models, which cannot meet user needs.

[0032] In order to solve the problems of the prior art, the embodiments of the present application provide a vehicle scene configuration method, device, equipment, storage medium and computer program product. By setting a first interactive process and an engine process at the software level of the central gateway, the vehicle scene configuration information required by the user is received through the first interactive process, and the engine process generates a scene configuration file through the received vehicle scene configuration information, and at the same time creates a processing process for creating a target vehicle scene, so as to create a target vehicle scene based on the scene configuration file through the processing process, thereby realizing the configuration of the user-defined vehicle scene. Since the full amount of communication data of the vehicle passes through the central gateway, by realizing the configuration of the user-defined vehicle scene in the central gateway, the communication data passing through the central gateway can be directly utilized, and the computing resources generated by retrieval of data to other modules can be avoided to the maximum extent, thus saving the computing resource cost.

[0033] The following first introduces the vehicle scene configuration system provided in the embodiment of the present application.

[0034] Figure 1 FIG. 1 is a schematic diagram showing the structure of a vehicle scene configuration system provided by an embodiment of the present application. Figure 1 As shown, the vehicle scenario configuration system may include a terminal, a cloud server 101 (TSP) and a central gateway 102 (CCU).

[0035] The terminal is used for the user to input customized vehicle scene configuration information. The terminal may include an in-vehicle terminal 103 (IDCU) and a mobile terminal 104.

[0036] The cloud server 101 can be used to receive the vehicle configuration information sent by the terminal, and verify the legitimacy of the vehicle scene configuration information or whether the vehicle scene corresponding to the vehicle scene configuration information conflicts with the existing vehicle scene. In addition, the cloud server can also be used to receive and store the operation log data under the target vehicle scene, so that after-sales technicians can perform vehicle fault diagnosis based on the operation log data in the cloud server.

[0037] The central gateway 102 can be used to receive vehicle scene configuration information sent by the terminal or the cloud server 101, and configure the target vehicle scene according to the vehicle scene configuration information. Specifically, the first interactive process (IDCU_Server), the second interactive process (TSP_Client), and the engine process (Engine_Control) can be set at the software level of the central gateway 102. Among them, the first interactive process can be used for communication interaction between the central gateway 102 and the terminal or the cloud server 101, so that the central gateway can receive the vehicle scene configuration information sent by the terminal or the cloud server 101; the second interactive process can be used for communication interaction between the central gateway 102 and the cloud server 101, so that the central gateway can receive notification information sent by the cloud server 101; the engine process is used to configure the target vehicle scene corresponding to the vehicle scene configuration information according to the vehicle scene configuration information received by the first interactive process.

[0038] Specifically, the target vehicle scene corresponding to the engine process configuration and vehicle scene configuration information can be achieved by creating or deleting a sub-process corresponding to the target vehicle scene. The sub-process of the engine process may include multiple sub-processes, such as a first processing process, a second processing process, etc., and each sub-process corresponds to running a vehicle scene.

[0039] Figure 2 FIG. 1 is a flow chart of a vehicle scene configuration method provided by an embodiment of the present application. Figure 2 As shown, the method is applied to a central gateway and may include the following steps: S201 to S203.

[0040] S201: Receive vehicle scenario configuration information through a first interaction process.

[0041] The first interactive process is used for the central gateway to communicate data with a terminal device that can input vehicle scene configuration information, so as to receive the vehicle scene configuration information sent by the above terminal device.

[0042] The vehicle scene configuration information is used to represent the user's customized information for configuring the vehicle scene. For example, the vehicle scene configuration information may include "adding scene configuration information of the first vehicle scene", "deleting scene configuration information of the second vehicle scene", etc.

[0043] Since all the vehicle's communication data passes through the central gateway, by setting a first interactive process at the central gateway to directly obtain the communication data passing through the central gateway through the first interactive process, the computing resource cost consumed in obtaining the communication data can be greatly reduced and the efficiency of obtaining the communication data can be improved.

[0044] S202: Generate a scenario configuration file according to the vehicle scenario configuration information through the first interactive process, and store the scenario configuration file to a target storage address; and send the target storage address to the engine process.

[0045] The scene configuration file is used to store user-defined vehicle scene configuration information and is used for the engine process to configure the target vehicle scene corresponding to the scene configuration file. In some embodiments, the scene configuration file can be in JSON message format.

[0046] By generating a scene configuration file from the vehicle scene configuration information and storing it in a target storage address, the user's customized vehicle scene requirements can be saved, which can facilitate the subsequent rapid operation of the vehicle scene corresponding to the scene configuration file.

[0047] S203: Obtaining a scenario configuration file from a target storage address through an engine process, and configuring a target vehicle scenario corresponding to the scenario configuration file according to the scenario configuration file.

[0048] The engine process is used to receive the information sent by the first interactive process and configure a target vehicle scene corresponding to the information.

[0049] The embodiment of the present application sets a first interactive process and an engine process at the software level of the central gateway, receives the vehicle scene configuration information required by the user through the first interactive process, generates a scene configuration file through the engine process through the received vehicle scene configuration information, and creates a processing process for creating a target vehicle scene at the same time, so as to create a target vehicle scene based on the scene configuration file through the processing process, thereby realizing the configuration of the user-defined vehicle scene. Since the full amount of communication data of the vehicle passes through the central gateway, by realizing the configuration of the user-defined vehicle scene in the central gateway, the communication data passing through the central gateway can be directly utilized, and the computing resources generated by retrieval of data to other modules can be avoided to the maximum extent, thus saving the computing resource cost.

[0050] In some embodiments, in order to facilitate obtaining the customized vehicle scene configuration information input by the user, step S201: receiving the vehicle scene configuration information through the first interaction process may include:

[0051] The vehicle scene configuration information sent by the terminal is received through the first interactive process; the vehicle scene configuration information is obtained by the terminal in response to the user's configuration input of the vehicle scene configuration information; the terminal is at least one of a vehicle-mounted terminal or a mobile terminal.

[0052] The user inputs the customized vehicle scene configuration information through the terminal device, and the terminal device sends the customized vehicle scene configuration information input by the user to the first interactive process of the central gateway. The terminal device may include a vehicle-mounted terminal and a mobile terminal.

[0053] As an example, the user can input customized vehicle scene configuration information on the vehicle's central control or on a mobile phone, so that the central gateway can receive the information through the first interactive process and implement the vehicle scene configuration corresponding to the vehicle scene configuration information input by the user.

[0054] In some embodiments, in order to ensure the legality of user-defined vehicle scene information, or to avoid the problem of waste of computing power caused by repeated configuration due to conflicts between user-defined vehicle scene information and configured vehicle scenes, the above-mentioned vehicle scene configuration information can be sent by the terminal to the central gateway after receiving the target information sent by the cloud server. The target information can be used to indicate that the vehicle scene configuration information meets preset legal conditions, or that the target vehicle scene corresponding to the vehicle scene configuration information does not conflict with the configured scene.

[0055] As an example, a user inputs vehicle scene configuration information s through a mobile phone, and the mobile phone sends the vehicle scene configuration information s to a cloud server. After receiving the vehicle scene configuration information s, the cloud server determines whether the vehicle scene configuration information s is legal, or determines whether the vehicle scene configuration information s is the same as the configuration information corresponding to the configured vehicle scene. When it is determined that the vehicle scene configuration information s is legal or different from the configuration information corresponding to the configured vehicle scene, that is, it does not conflict with the configured scene, the vehicle scene configuration information s is sent to the central gateway.

[0056] In some embodiments, in order to implement a newly added user-defined vehicle scene, when the vehicle scene configuration information includes scene configuration information of a newly added first vehicle scene, step S203: obtaining a scene configuration file from a target storage address through an engine process, and configuring a target vehicle scene corresponding to the scene configuration file according to the scene configuration file may include:

[0057] a. Obtain the scene configuration file from the target storage address through the engine process;

[0058] b. Parse the scene configuration file through the engine process to obtain the vehicle scene configuration information;

[0059] c. Create a first processing process through the engine process according to the vehicle scene configuration information;

[0060] d. Creating a first vehicle scenario according to the first vehicle scenario through a first processing process.

[0061] Among them, the first processing process is created by the engine process when the vehicle scene configuration information includes scene configuration information of a newly added first vehicle scene, and is used to create the first vehicle scene according to the vehicle scene configuration information of the first vehicle scene.

[0062] As an example, the first processing process may be created by the engine process through a fork function, wherein the fork function may be used to copy the current process to create a new process, and the new process may be referred to as a child process of the current process.

[0063] In some embodiments, after the above step d. creates the first vehicle scene according to the first vehicle scene through the first processing process, the method may further include:

[0064] Obtaining operation log data of the vehicle in the first vehicle scenario;

[0065] Upload the operation log data to the cloud server for vehicle fault diagnosis based on the operation log data.

[0066] The operation log data is used to represent all operation data of the vehicle when the vehicle is operating in the first vehicle scenario. The operation log data of the vehicle in the first vehicle scenario may be obtained through a first processing process.

[0067] Uploading the operation log data to the cloud server can be achieved through the first processing process. Uploading the operation log data to the cloud server through the first processing process can be that the first processing process first stores the operation log data in the form of a file locally, compresses it, and then uploads it to the cloud server.

[0068] After the first processing process creates the first vehicle scene, the operation log data under the first vehicle scene is collected through the first processing process and uploaded to the cloud server. After-sales personnel can use the acquired operation log data to identify whether there is any abnormality in the vehicle scene function. Moreover, since the operation log data is acquired in units of vehicle scenes, it helps after-sales technicians to quickly locate the vehicle fault.

[0069] In some embodiments, in order to facilitate users to obtain vehicle scene configuration results in a timely manner and improve user experience, the central gateway also includes a second interactive process; in step S203: after obtaining a scene configuration file from a target storage address through an engine process and configuring a target vehicle scene corresponding to the scene configuration file according to the scene configuration file, the vehicle scene configuration method may also include:

[0070] Sending first notification information for configuring a target vehicle scene to the second interaction process through the engine process;

[0071] The first notification information is sent to the cloud server through the second interaction process.

[0072] The second interactive process is used for data communication between the central gateway and the cloud server.

[0073] The first notification information is used to indicate the result feedback of the target vehicle scene corresponding to the engine process configuration and the scene configuration file. For example, the first notification message may be "The first vehicle scene has been added!", "The second vehicle scene has been deleted!", etc.

[0074] In some embodiments, in order to facilitate after-sales technicians to implement vehicle scene configuration, step S201: receiving vehicle scene configuration information through a first interactive process includes:

[0075] The vehicle scene configuration information sent by the cloud server is received through the first interactive process.

[0076] In addition to users being able to configure customized vehicle scenes, receiving vehicle scene configuration information sent by the cloud server through the first interactive process can facilitate after-sales technicians to directly send vehicle configuration information for configuring the target vehicle scene to the central gateway through the cloud server, so that the central gateway configures the target vehicle scene based on the vehicle configuration information.

[0077] In some embodiments, in order to delete an existing vehicle scene, when the vehicle scene configuration information includes scene configuration information for deleting a second vehicle scene, step S03: obtaining a scene configuration file from a target storage address through an engine process, and configuring a target vehicle scene corresponding to the scene configuration file according to the scene configuration file, including:

[0078] Obtaining, through the engine process, from the target storage address, the scene configuration file and the second processing process information corresponding to the second vehicle scene in the scene configuration file;

[0079] The second processing process is deleted according to the second processing process information through the engine process.

[0080] The second processing process represents a processing process for configuring a second vehicle scene, and the second processing process information represents code information for creating the second processing process and vehicle scene configuration information for configuring the second vehicle scene.

[0081] The second processing process corresponding to the second vehicle scene is deleted through the engine process, so that the central gateway cannot run the second vehicle scene, thereby deleting the existing vehicle scene.

[0082] In order to better describe the solutions in the present application, some specific examples are given based on the above embodiments.

[0083] For example, a configuration method for a new vehicle scenario provided in an embodiment of the present application is applied to a central gateway, and can be as follows: Figure 3 shown.

[0084] like Figure 3As shown, the configuration method of the newly added vehicle scene may include steps S301 to S309, which are described in detail below.

[0085] S301: The user inputs configuration information of a newly added first vehicle scene in the vehicle terminal.

[0086] S302: The vehicle-mounted terminal sends configuration information of the newly added first vehicle scene to the cloud server.

[0087] S303: The cloud server verifies whether the first vehicle scene conflicts with the existing vehicle scene.

[0088] S304: When the first vehicle scene does not conflict with the existing vehicle scene, the vehicle terminal sends configuration information of the newly added first vehicle scene to the first interaction process.

[0089] S305: The first interactive process saves the configuration information of the newly added first vehicle scene to the first storage location in the JOSN message format to generate a first JOSN message.

[0090] S306: The first interactive process sends the first storage location to the engine process.

[0091] S307: The engine process obtains the first JOSN message from the first storage location and creates a first processing process.

[0092] S308: The first processing process parses the first JOSN message, and creates the first vehicle scene according to the configuration information of the newly added first vehicle scene obtained by the parsing.

[0093] S309: Sending a notification message “The first vehicle scene has been added!” to the cloud server through the second interactive process.

[0094] For example, another configuration method for a new vehicle scenario provided in an embodiment of the present application is applied to a central gateway, which can be as follows: Figure 4 shown.

[0095] like Figure 4 As shown, the configuration method of the newly added vehicle scene may include steps S401 to S409, which are described in detail below.

[0096] S401: The user inputs configuration information of a newly added second vehicle scene on the mobile terminal.

[0097] S402: The mobile terminal sends configuration information of the newly added second vehicle scene to the cloud server.

[0098] S403: The cloud server verifies whether the second vehicle scene is legal.

[0099] S404: When the second vehicle scene is legal, the cloud server sends configuration information of the newly added second vehicle scene to the first interaction process.

[0100] S405: The first interactive process saves the configuration information of the newly added second vehicle scene in the second storage location in the JOSN message format to generate a second JOSN message.

[0101] S406: The first interactive process sends the second storage location to the engine process.

[0102] S407: The engine process obtains the second JOSN message from the second storage location and creates a second processing process.

[0103] S408: The second processing process parses the second JOSN message, and creates a second vehicle scene according to the configuration information of the newly added second vehicle scene obtained by the parsing.

[0104] S409: The second processing process sends a notification message “The second vehicle scene has been added!” to the cloud server.

[0105] For example, another configuration method for a new vehicle scenario provided in an embodiment of the present application is applied to a central gateway, which can be as follows: Figure 5 shown.

[0106] like Figure 5 As shown, the configuration method of the newly added vehicle scene may include steps S501 to S508, which are described in detail below.

[0107] S501: The after-sales technician inputs the configuration information of the newly added third vehicle scenario into the cloud server.

[0108] S502: The cloud server sends configuration information of the newly added third vehicle scene to the first interactive process.

[0109] S503: The first interactive process saves the configuration information of the newly added third vehicle scene in a third storage location in a JOSN message format to generate a third JOSN message.

[0110] S504: The first interactive process sends the third storage location to the engine process.

[0111] S505: The engine process obtains a third JOSN message from the third storage location and creates a third processing process.

[0112] S506: The third processing process parses the third JOSN message, and creates a third vehicle scene according to the configuration information of the newly added third vehicle scene obtained by the analysis.

[0113] S507: Obtain the operation log data in the third vehicle scenario, and compress and store it locally.

[0114] S508: Send the compressed operation log data to the cloud server.

[0115] For example, a configuration method for deleting a vehicle scene provided in an embodiment of the present application is applied to a central gateway, and can be as follows: Figure 6 shown.

[0116] like Figure 6 As shown, the configuration method of the newly added vehicle scene may include steps S601 to S607, which are described in detail below.

[0117] S601: The user inputs configuration information for deleting the fourth vehicle scene in the vehicle terminal.

[0118] S602: The vehicle terminal sends configuration information for deleting the fourth vehicle scene to the first interaction process.

[0119] S603: The first interactive process saves the configuration information for deleting the fourth vehicle scene in a JOSN message format to a fourth storage location to generate a fourth JOSN message.

[0120] S604: The first interactive process sends the fourth storage location to the engine process.

[0121] S605: The engine process obtains a fourth JOSN message from the fourth storage location.

[0122] S606: The engine process parses the fourth JOSN message, and deletes the fourth processing process according to the configuration information for deleting the fourth vehicle scene obtained by the analysis.

[0123] S607: Sending a notification message “The fourth vehicle scene has been deleted!” to the cloud server through the second interactive process.

[0124] For example, another configuration method for deleting a vehicle scene provided in an embodiment of the present application is applied to a central gateway, and can be as follows: Figure 7 shown.

[0125] like Figure 7 As shown, the configuration method for deleting a vehicle scene may include steps S701 to S709, which are described in detail below.

[0126] S701: The user inputs configuration information for deleting the fifth vehicle scene on the mobile terminal.

[0127] S702: The mobile terminal sends configuration information for deleting the fifth vehicle scene to the cloud server.

[0128] S703: The cloud server verifies whether the configuration information for deleting the fifth vehicle scenario is legal.

[0129] S704: When it is legal to delete the configuration information of the fifth vehicle scene, the cloud server sends the configuration information of deleting the fifth vehicle scene to the first interactive process.

[0130] S705: The first interactive process saves the configuration information for deleting the fifth vehicle scenario in a JOSN message format to a fifth storage location to generate a fifth JOSN message.

[0131] S706: The first interactive process sends the fifth storage location to the engine process.

[0132] S707: The engine process obtains the fifth JOSN message from the fifth storage location.

[0133] S708: The engine process parses the fifth JOSN message, and deletes the fifth processing process according to the configuration information for deleting the fifth vehicle scene obtained by the analysis.

[0134] S709: The engine process sends a notification message “The fifth vehicle scene has been deleted!” to the cloud server.

[0135] For example, another configuration method for deleting a vehicle scene provided in an embodiment of the present application is applied to a central gateway, and can be as follows: Figure 8 shown.

[0136] like Figure 8 As shown, the configuration method for deleting a vehicle scene may include steps S801 to S808, which are described in detail below.

[0137] S801: The after-sales technician inputs configuration information for deleting the sixth vehicle scenario in the cloud server.

[0138] S802: The cloud server sends configuration information for deleting the sixth vehicle scene to the first interactive process.

[0139] S803: The first interactive process saves the configuration information for deleting the sixth vehicle scenario in a JOSN message format to a sixth storage location, generating a sixth JOSN message.

[0140] S804: The first interactive process sends the sixth storage location to the engine process.

[0141] S805: The engine process obtains the sixth JOSN message from the sixth storage location and parses it.

[0142] S806: Notify the sixth processing process that the sixth vehicle scene will be closed.

[0143] S807: The sixth processing process stops collecting data and deletes existing data.

[0144] S808: The engine process deletes the sixth processing process corresponding to the sixth vehicle scenario.

[0145] Fig. 9 is a schematic diagram of the structure of a vehicle scene configuration device 900 provided in an embodiment of the present application. Fig. 9 As shown, the device is applied to a central gateway and may include a data receiving module 910 , a generating module 920 , and a configuring module 930 .

[0146] A receiving module 910, configured to receive vehicle scene configuration information through a first interaction process;

[0147] A generating module 920 is used to generate a scenario configuration file according to the vehicle scenario configuration information through the first interactive process, and store the scenario configuration file to a target storage address; and send the target storage address to the engine process;

[0148] The configuration module 930 is used to obtain a scene configuration file from a target storage address through an engine process, and configure a target vehicle scene corresponding to the scene configuration file according to the scene configuration file.

[0149] The embodiment of the present application sets a first interactive process and an engine process at the software level of the central gateway, receives the vehicle scene configuration information required by the user through the first interactive process, generates a scene configuration file through the engine process through the received vehicle scene configuration information, and creates a processing process for creating a target vehicle scene at the same time, so as to create a target vehicle scene based on the scene configuration file through the processing process, thereby realizing the configuration of the user-defined vehicle scene. Since the full amount of communication data of the vehicle passes through the central gateway, by realizing the configuration of the user-defined vehicle scene in the central gateway, the communication data passing through the central gateway can be directly utilized, and the computing resources generated by retrieval of data to other modules can be avoided to the maximum extent, thus saving the computing resource cost.

[0150] In some embodiments, the receiving module 910 is also used to receive vehicle scene configuration information sent by the terminal through the first interactive process; the vehicle scene configuration information is obtained by the terminal in response to the user's configuration input of the vehicle scene configuration information; the terminal is at least one of a vehicle-mounted terminal or a mobile terminal; the vehicle scene configuration information is sent by the terminal to the central gateway after receiving the target information sent by the server, and the target information is used to indicate that the vehicle scene configuration information meets the preset legal conditions, or the target vehicle scene corresponding to the vehicle scene configuration information does not conflict with the configured scene.

[0151] In some embodiments, the vehicle scene configuration device 900 further includes an acquisition module, a parsing module, and a creation module;

[0152] The acquisition module is used to obtain the scene configuration file from the target storage address through the engine process;

[0153] The parsing module is used to parse the scene configuration file through the engine process to obtain the vehicle scene configuration information;

[0154] A creation module, used to create a first processing process according to the vehicle scene configuration information through an engine process;

[0155] The creation module is also used to create a first vehicle scene according to the first vehicle scene through a first processing process.

[0156] In some embodiments, the vehicle scene configuration device 900 further includes a sending module;

[0157] The acquisition module is further used to acquire the operation log data of the vehicle in the first vehicle scenario after creating the first vehicle scenario according to the first vehicle scenario through the first processing process;

[0158] The sending module is used to upload the operation log data to the cloud server for vehicle fault diagnosis based on the operation log data.

[0159] In some embodiments, the sending module is further used to, after acquiring the scenario configuration file from the target storage address through the engine process and configuring the target vehicle scenario corresponding to the scenario configuration file according to the scenario configuration file, send first notification information for configuring the target vehicle scenario to the second interactive process through the engine process;

[0160] The sending module is also used to send the first notification information to the cloud server through the second interaction process.

[0161] In some embodiments, the receiving module 910 is further used to receive vehicle scene configuration information sent by the cloud server through the first interaction process.

[0162] In some embodiments, the vehicle scene configuration device 900 further includes a deletion module;

[0163] The acquisition module is further used to acquire the scene configuration file from the target storage address through the engine process, and the second processing process information corresponding to the second vehicle scene in the scene configuration file;

[0164] The deletion module is used to delete the second processing process according to the second processing process information through the engine process.

[0165] Fig. 9 The various modules in the device shown can be implemented Figure 2 Each step in the above steps can achieve the corresponding technical effect, which will not be repeated here for the sake of brevity.

[0166] Fig.10 A schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present application is shown.

[0167] The electronic device may include a processor 111 and a memory 112 storing computer program instructions.

[0168] Specifically, the processor 111 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.

[0169] The memory 112 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 112 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, the memory 112 may include a removable or non-removable (or fixed) medium. In appropriate cases, the memory 112 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 112 is a non-volatile solid-state memory.

[0170] In certain embodiments, the memory may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Thus, typically, the memory includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) 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 one aspect of the present application.

[0171] The processor 111 implements any one of the vehicle scene configuration methods in the above embodiments by reading and executing computer program instructions stored in the memory 112 .

[0172] In one example, the electronic device may further include a communication interface 113 and a bus 310. Figure 3 As shown, the processor 111, the memory 112, and the communication interface 113 are connected via a bus 310 and communicate with each other.

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

[0174] Bus 310 includes hardware, software or both, and the parts of electronic equipment 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 310 may include one or more buses. Although the present application embodiment describes and shows a specific bus, the application considers any suitable bus or interconnection.

[0175] In addition, in combination with the vehicle scene configuration method in the above embodiment, the embodiment of the present application can provide a computer storage medium for implementation. The computer storage medium stores computer program instructions; when the computer program instructions are executed by a processor, any vehicle scene configuration method in the above embodiment is implemented.

[0176] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed, implements any one of the vehicle scene configuration methods in the above embodiments.

[0177] 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.

[0178] The functional blocks shown in the above-described 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.

[0179] 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.

[0180] The above reference is to the flowchart and / or block diagram of the method, device, equipment, storage medium and computer program product according to the embodiment of the present application. 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.

[0181] The above is only a specific implementation 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 vehicle scene configuration method, applied to a central gateway, characterized in that: The central gateway includes a first interaction process and an engine process; the method includes: Receiving vehicle scene configuration information through the first interaction process; Generate a scenario configuration file according to the vehicle scenario configuration information through the first interactive process, and store the scenario configuration file in a target storage address; and send the target storage address to the engine process; The scene configuration file is obtained from the target storage address through the engine process, and a target vehicle scene corresponding to the scene configuration file is configured according to the scene configuration file.

2. The method according to claim 1, characterized in that The receiving vehicle scene configuration information through the first interaction process includes: The vehicle scene configuration information sent by the terminal is received through the first interactive process; the vehicle scene configuration information is obtained by the terminal in response to the user's configuration input of the vehicle scene configuration information; the terminal is at least one of a vehicle-mounted terminal or a mobile terminal.

3. The method according to claim 2, characterized in that The vehicle scene configuration information is sent by the terminal to the central gateway after receiving the target information sent by the cloud server. The target information is used to indicate that the vehicle scene configuration information meets the preset legal conditions, or that the target vehicle scene corresponding to the vehicle scene configuration information does not conflict with the configured scene.

4. The method according to claim 1, characterized in that The vehicle scene configuration information includes scene configuration information of a newly added first vehicle scene; the scene configuration file is obtained from the target storage address through the engine process, and a target vehicle scene corresponding to the scene configuration file is configured according to the scene configuration file, including: Obtaining the scenario configuration file from the target storage address through the engine process; Parsing the scene configuration file through the engine process to obtain vehicle scene configuration information; Creating a first processing process through the engine process according to the vehicle scene configuration information; Through the first processing step, a first vehicle scene is created according to the first vehicle scene.

5. The method according to claim 4, characterized in that After creating a first vehicle scenario according to the first vehicle scenario through the first processing process, the method further includes: Obtaining operation log data of the vehicle in the first vehicle scenario; The operation log data is uploaded to a cloud server for vehicle fault diagnosis based on the operation log data.

6. The method according to claim 4, characterized in that The central gateway also includes a second interaction process; The receiving vehicle scene configuration information through the first interaction process includes: Receiving vehicle scene configuration information sent by a terminal through the first interactive process; the vehicle scene configuration information is obtained by the terminal in response to a configuration input of the vehicle scene configuration information by a user; the terminal is at least one of a vehicle-mounted terminal or a mobile terminal; After obtaining the scenario configuration file from the target storage address through the engine process and configuring the target vehicle scenario corresponding to the scenario configuration file according to the scenario configuration file, the method further includes: Sending, through the engine process, first notification information for configuring the target vehicle scene to the second interaction process; The first notification information is sent to the cloud server through the second interaction process.

7. The method according to claim 1, characterized in that The receiving vehicle scene configuration information through the first interaction process includes: The vehicle scene configuration information sent by the cloud server is received through the first interaction process.

8. The method according to claim 1, characterized in that The vehicle scene configuration information includes deleting the scene configuration information of the second vehicle scene; the central gateway includes a second processing process corresponding to the second vehicle scene; the engine process obtains the scene configuration file from the target storage address, and configures the target vehicle scene corresponding to the scene configuration file according to the scene configuration file, including: Obtaining, by the engine process, the scenario configuration file from the target storage address, the second processing process information corresponding to the second vehicle scenario in the scenario configuration file; The second processing process is deleted according to the second processing process information through the engine process.

9. A vehicle scene configuration device, applied to a central gateway, characterized in that: The central gateway includes a first interactive process and an engine process; the device includes: A receiving module, configured to receive vehicle scene configuration information through the first interaction process; A generating module, configured to generate a scenario configuration file according to the vehicle scenario configuration information through the first interactive process, and store the scenario configuration file to a target storage address; and send the target storage address to the engine process; A configuration module is used to obtain the scenario configuration file from the target storage address through the engine process, and configure a target vehicle scenario corresponding to the scenario configuration file according to the scenario configuration file.

10. An electronic device, characterized in that: The device comprises: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the vehicle scene configuration method as described in any one of claims 1-8 is implemented.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and when the computer program instructions are executed by a processor, the vehicle scene configuration method according to any one of claims 1 to 8 is implemented.

12. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device executes the vehicle scene configuration method as described in any one of claims 1-8.