In-vehicle Scenario Implementation Method and Device, Computer Storage Medium, and Vehicle

By obtaining and parsing the scene configuration table to generate conditional items and execution items, users can combine and configure on-board scenarios according to their preferences, solving the problem of dynamic configuration in the existing technology, and realizing more complex smart on-board scenarios and richer services.

CN115742993BActive Publication Date: 2025-08-05GREAT WALL MOTOR CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211353390.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-01
Publication Date
2025-08-05
Estimated Expiration
2042-11-01

AI Technical Summary

Technical Problem

The existing central gateway in-vehicle gateway cannot provide users with a dynamic configuration mechanism, and cannot enable users to combine and configure in-vehicle scenarios according to their preferences.

Method used

By obtaining the scene configuration table, analyzing the generated conditional items and execution items, and triggering the corresponding on-board scenarios based on the conditional items and execution items, users can combine the configuration configurable items and executable items according to their preferences.

Benefits of technology

It enables users to dynamically combine and configure on-board scenarios according to their preferences, enhances the complexity and service diversity of smart on-board scenarios, reduces early development time, and improves development efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115742993B_ABST
    Figure CN115742993B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a method and device, medium and vehicle for realizing an in-vehicle scene, and relates to the field of in-vehicle communication technology. The method includes: obtaining a scene configuration table, which is generated by combining configurable items and executable items for converting preset in-vehicle scenes; parsing the scene configuration table to generate conditional items and execution items, wherein the conditional items are condition sets formed by recombining the configurable items, and the execution items are execution sets formed by recombining the executable items; triggering the corresponding in-vehicle scene according to the conditional items and the execution items. According to the technical solution of the embodiment of the present application, at least the user can be provided with configurable items and executable items that can be dynamically combined and configured, as well as the in-vehicle scene corresponding to the configurable items and executable items that are realized in combination.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle-mounted communication technology, and in particular to a method and device for implementing a vehicle-mounted scenario, a computer-readable storage medium, and a vehicle. Background Art

[0002] Electrical and Electronic Architecture (EEA) is a complete vehicle electrical and electronic solution that integrates the design of the vehicle's electronic and electrical systems, electronic control units (ECUs), various sensors, wiring harnesses, connectors, and electronic and electrical distribution systems.

[0003] With the advancement of automotive EE architecture and the introduction of in-vehicle Ethernet, connected functions are increasing, and cars are becoming increasingly intelligent. However, existing in-vehicle central gateways perform actions based on fixed functions that are pre-defined by developers, and they lack a dynamic configuration mechanism for users to configure and execute in-vehicle scenarios.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of this application, and therefore may include information that does not constitute prior art known to ordinary technicians in this field. Summary of the Invention

[0005] The purpose of this application is to provide a method and device for realizing an in-vehicle scene, a computer-readable storage medium and a vehicle, which can at least provide users with configurable items and executable items that can be dynamically combined and configured, as well as realize the in-vehicle scene corresponding to the configurable items and executable items that are combined and configured.

[0006] Other features and advantages of the present application will become apparent from the following detailed description, or may be learned in part by practice of the present application.

[0007] According to the first aspect of the present application, a method for realizing an in-vehicle scene is provided, which includes: obtaining a scene configuration table, wherein the scene configuration table is generated by combining the configuration of configurable items and executable items for converting a preset in-vehicle scene; parsing the scene configuration table to generate conditional items and execution items, wherein the conditional items are conditional sets formed by recombining the configurable items, and the execution items are execution sets formed by recombining the executable items; and triggering the corresponding in-vehicle scene according to the conditional items and the execution items.

[0008] In one embodiment of the present application, the above-mentioned parsing of the scenario configuration table to generate conditional items and execution items includes: parsing the scenario configuration table based on the configurable items and the executable items; comparing the parsed scenario configuration table with the configurable items and the executable items; and recombining and generating the conditional items and the execution items based on the comparison results, wherein the conditional items include N conditional elements, and the execution items include M execution instructions, where N and M are both positive integers.

[0009] In one embodiment of the present application, after the above-mentioned method recombines and generates the condition items and the execution items based on the comparison results, the method also includes: adding the condition items and the execution items to a task list; and subscribing to the event value of the corresponding preset vehicle scene according to the condition items of the task list.

[0010] In one embodiment of the present application, the above-mentioned triggering of the corresponding in-vehicle scene based on the condition item and the execution item includes: monitoring the event value of the preset in-vehicle scene corresponding to the condition item of the task list; determining whether the event value satisfies N condition elements in the condition item; if the N condition elements in the condition item are satisfied, calling the execution program in sequence through M execution instructions to trigger the corresponding in-vehicle scene, and the execution instructions are mapped one-to-one to the execution program.

[0011] In one embodiment of the present application, before obtaining the scenario configuration table, the method further includes: based on the transmission file of the service-oriented architecture SOA interface, converting and generating the configurable items and executable items, the configurable items and the executable items having a different format from the transmission file of the SOA interface; obtaining the combined configuration performed by the user based on the configurable items and the executable items; and generating the scenario configuration table according to the user's combined configuration.

[0012] In one embodiment of the present application, the above-mentioned method is applied to a vehicle-mounted control device. Before obtaining the combined configuration performed by the user based on the configurable items and the executable items, the method further includes: sending the configurable items and the executable items to a terminal, and the terminal communicates with the vehicle-mounted control device; displaying the configurable items and the executable items based on the terminal; obtaining the combined configuration performed by the user based on the configurable items and the executable items includes: obtaining the combined configuration performed by the user based on the configurable items and the executable items based on the terminal.

[0013] In one embodiment of the present application, the transmission file of the SOA interface is in the Architecture Extensible Markup Language ARXML format, and the configurable items and the executable items are in the lightweight data exchange format JSON format.

[0014] According to the second aspect of the present application, a vehicle-mounted scene realization device is provided, and the above-mentioned device includes: an acquisition module, used to obtain a scene configuration table, wherein the scene configuration table is generated by combining the configurable items and executable items for the preset vehicle-mounted scene conversion; a parsing and generation module, used to parse the scene configuration table to generate condition items and execution items, wherein the condition items are condition sets formed by recombining the configurable items, and the execution items are execution sets formed by recombining the executable items; and a triggering module, used to trigger the corresponding vehicle-mounted scene according to the condition items and the execution items.

[0015] According to the third aspect of the present application, a vehicle is provided, comprising an on-board control device, wherein the on-board control device comprises: a memory, a processor, and a computer program stored in the above-mentioned memory and executable on the above-mentioned processor, wherein the above-mentioned processor implements the on-board scenario implementation method described in the above-mentioned first aspect when executing the above-mentioned computer program.

[0016] According to the fourth aspect of the present application, a computer-readable storage medium is provided, on which a computer program is stored. When the above computer program is executed by a processor, the vehicle-mounted scenario implementation method described in the above first aspect is implemented.

[0017] The vehicle scene realization method and device, computer storage medium and vehicle provided by the embodiments of the present application have the following technical effects: by obtaining a scene configuration table, the scene configuration table is generated by combining the configurable items and executable items of the preset vehicle scene conversion; parsing the scene configuration table to generate condition items and execution items, the condition items are condition sets formed by recombining the configurable items, and the execution items are execution sets formed by recombining the executable items; according to the condition items and the execution items, the corresponding vehicle scene is triggered. On the one hand, the user combines the configurable items and executable items of the preset vehicle scene conversion according to his or her preferences, generates the scene configuration table based on the combined configuration, parses the scene configuration table to generate condition items and execution items, and triggers the corresponding vehicle scene according to the condition items and execution items, so that the user can combine and configure the vehicle scene according to his or her preferences; on the other hand, by using the configurable items and executable items of the preset vehicle scene conversion, the user can dynamically combine and configure according to his or her preferences, which can realize more complex smart vehicle scenes to a certain extent and enable the user to enjoy more services.

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

[0019] The accompanying drawings are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and those skilled in the art can derive other drawings based on these drawings without inventive effort.

[0020] Figure 1 A flowchart of a method for implementing an in-vehicle scenario provided by an exemplary embodiment of the present application is shown;

[0021] Figure 2 A flowchart of triggering a corresponding vehicle scene provided by an exemplary embodiment of the present application is shown.

[0022] Figure 3 A flowchart of a method for implementing an in-vehicle scenario provided by another exemplary embodiment of the present application is shown;

[0023] Figure 4 A structural diagram of a vehicle-mounted scenario implementation device provided by an exemplary embodiment of the present application is shown;

[0024] Figure 5 shows a structural diagram of a vehicle provided by an exemplary embodiment of the present application;

[0025] Figure 6 The figure shows a structural diagram of a vehicle-mounted control device provided in an exemplary embodiment of the present application. DETAILED DESCRIPTION

[0026] In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be described in further detail below with reference to the accompanying drawings.

[0027] When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Instead, they are merely examples of devices and methods consistent with certain aspects of the present application, as detailed in the appended claims.

[0028] In the description of this application, it should be understood that the terms "first", "second", etc. are used for descriptive purposes only and should not be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances. In addition, in the description of this application, unless otherwise specified, "multiple" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and subsequent associated objects are in an "or" relationship.

[0029] In related technologies, the Electrical and Electronic Architecture (EEA) is an integrated vehicle electrical and electronic solution that integrates the vehicle's electronic and electrical systems, electronic control unit (ECU), various sensors, wiring harnesses, connector designs, and electronic and electrical distribution systems.

[0030] With the advancement of automotive EE architecture and the introduction of in-vehicle Ethernet, connected functions are increasing, and cars are becoming increasingly intelligent. However, existing in-vehicle central gateways perform actions based on fixed functions that are pre-defined by developers. This lacks a dynamic configuration mechanism for users, making it impossible to customize in-vehicle scenarios based on user preferences, or to implement these customized scenarios.

[0031] Therefore, in response to the problems existing in the above-mentioned related technologies, the present application proposes a vehicle-mounted scene implementation method and device, computer storage medium and terminal, which can at least provide users with configurable items and executable items that can be dynamically combined and configured, as well as the vehicle-mounted scenes corresponding to the configurable items and executable items that are implemented in combination.

[0032] Figure 1 A schematic flow chart of a method for implementing an in-vehicle scenario according to an embodiment of the present application is shown. The method may be executed by a computing device with computing and processing capabilities, which may be an in-vehicle control device. The method includes steps S101 to S103. The following detailed description of the method in accordance with an exemplary embodiment is provided in conjunction with the accompanying drawings.

[0033] Reference Figure 1 As shown, in step S101: obtain a scene configuration table.

[0034] In an example embodiment, a scenario configuration table is generated by combining the configurable items and executable items of a preset vehicle scenario conversion. A preset vehicle scenario is one that a developer sets in advance during the development phase. The configurable items and executable items of the vehicle scenario conversion allow users to configure the corresponding vehicle scenario based on their preferences. The vehicle control device obtains the scenario configuration table.

[0035] Step S102: Parse the scenario configuration table to generate condition items and execution items.

[0036] In an exemplary embodiment, the condition items are condition sets formed by recombining configurable items, and the execution items are execution sets formed by recombining executable items. The vehicle-mounted control device parses the scenario configuration table to generate the conditions and execution items.

[0037] In some specific embodiments, parsing the scenario configuration table to generate conditional items and execution items may specifically include: parsing the scenario configuration table based on configurable items and executable items; comparing the parsed scenario configuration table with the configurable items and executable items; and recombining and generating conditional items and execution items based on the comparison results.

[0038] Understandably, with the service-oriented architecture (SOA) service-oriented development of vehicle functions, the functions within the vehicle are broken down into small basic functions, which are configured into more complex vehicle scenarios according to certain logical combinations.

[0039] In this example embodiment, the vehicle-mounted control device converts the basic function files that do not involve safety services in the preset vehicle-mounted scenario into configurable items and executable items. The user combines and configures the converted configurable items and executable items, and then generates a scenario configuration table based on the user's combined configuration; the scenario configuration table is parsed based on the configurable items and executable items; then the parsed scenario configuration table is compared with the configuration items and executable items of the preset vehicle-mounted scenario conversion to determine which data in the configurable items and executable items of the preset vehicle-mounted scenario conversion is combined and configured by the user, and to check whether the configurable items and executable items combined and configured by the user are lost or tampered with during the transmission process; after confirming that the data has been checked, the data in the parsed scenario configuration table that does not match the configurable items and executable items of the preset vehicle-mounted scenario conversion and the data that is determined to be unable to be executed are filtered out, and the configurable items and executable items that can be implemented are regenerated into conditional items and execution items.

[0040] Optionally, in some other embodiments, after the above-mentioned recombining and generating conditional items and execution items based on the comparison results, it also includes: adding the conditional items and execution items to the task list; and subscribing to the event value of the corresponding preset vehicle scene according to the conditional items in the task list.

[0041] It can be understood that the event value is the current value of the functional event set in advance by the developer during the development phase, and the current value is the real-time value of the corresponding functional event in the preset vehicle scenario.

[0042] Based on the comparison results, the vehicle control device recombines and generates condition items and execution items, and adds the condition items and execution items to the task list of the vehicle control device. The vehicle control device subscribes to the event value of the corresponding preset vehicle scene according to the condition items in the task list.

[0043] Step S103: triggering the corresponding vehicle scene according to the condition item and the execution item.

[0044] In an exemplary embodiment, the condition item includes N condition elements, and the execution item includes M execution instructions, where both N and M are positive integers. The in-vehicle scene is a scene configured by the user according to his or her own preferences.

[0045] The vehicle control device triggers the corresponding vehicle scene according to the condition items and execution items.

[0046] Optionally, in some embodiments, the vehicle-mounted control device triggers the corresponding vehicle-mounted scene based on the conditional items and execution items, which may specifically include: monitoring the event value of the preset vehicle-mounted scene corresponding to the conditional items in the task list; determining whether the event value satisfies N conditional elements in the conditional items; if the N conditional elements in the conditional items are satisfied, calling the execution program in sequence through M execution instructions to trigger the corresponding vehicle-mounted scene, and the execution instructions and the execution program are mapped one-to-one.

[0047] In an exemplary embodiment, the execution program is an execution program set by a developer based on a preset vehicle scenario during the development phase. The execution program is mapped one-to-one with the M execution instructions in the execution item, and the vehicle control device calls the execution program through the execution instructions.

[0048] In combination with the above embodiment, the vehicle control device adds the recombined condition items and execution items to the task list. The vehicle control device subscribes to the event value of the corresponding preset vehicle scene according to the condition items in the task list. After that, the vehicle control device monitors the event value of the preset vehicle scene corresponding to the condition item in real time. When the event value of the preset vehicle scene corresponding to the condition item changes, the corresponding event value is compared with N1, N2, N3..., N in the condition item. n The condition elements are compared to determine whether the event values of the corresponding preset vehicle scenes meet the conditions N1, N2, N3..., N n elements, and then through M1, M2, M3..., M n Each execution instruction calls the execution program in turn to trigger the corresponding vehicle scene.

[0049] Understandable, reference Figure 2For example, in one specific embodiment, scenario configuration table 201 is parsed to generate condition items 202 and execution items 203. The generated condition items 202 include: the temperature of the in-vehicle air conditioner, the vehicle speed, and the humidity in the vehicle. The recombined execution items include: turning the air conditioner on or off, playing music on or off, and turning the humidifier on or off. The subscribed event values of the preset in-vehicle scenario include: the real-time temperature of the in-vehicle air conditioner, the real-time speed, and the real-time humidity in the vehicle. Therefore, when the event values of the subscribed preset in-vehicle scenario have an in-vehicle temperature of 20 degrees Celsius, a speed of 60 km / h, and a humidity of 45 RH, a determination is made as to whether the aforementioned event values simultaneously meet the condition items, namely, whether the in-vehicle air conditioner temperature, vehicle speed, and humidity conditions meet the in-vehicle air conditioner temperature, vehicle speed, and humidity conditions in the condition items. If all conditions are met, the corresponding execution program is called through the execution instruction of execution item 203 to sequentially execute the actions of turning the air conditioner on or off, playing music on or off, and turning the humidifier on or off.

[0050] It should be noted that in this exemplary embodiment, as the execution program of the vehicle-mounted control device is upgraded and the basic functions are increased, the user can configure more services. This embodiment of the present application will not be further described.

[0051] according to Figure 1 The technical solution in the example embodiment is as follows: by obtaining a scene configuration table, the scene configuration table is generated by combining the configurable items and executable items of the preset vehicle scene conversion; parsing the scene configuration table to generate condition items and execution items, the condition items are condition sets formed by recombining the configurable items, and the execution items are execution sets formed by recombining the executable items; according to the condition items and the execution items, the corresponding vehicle scene is triggered. On the one hand, the user combines the configurable items and executable items of the preset vehicle scene conversion according to his or her preferences, generates a scene configuration table based on the combined configuration, parses the scene configuration table to generate condition items and execution items, and triggers the corresponding vehicle scene according to the condition items and execution items, so that the user can combine and configure the vehicle scene according to his or her preferences; on the other hand, by using the configurable items and executable items of the preset vehicle scene conversion, the user can dynamically combine and configure according to his or her preferences, which can realize more complex smart vehicle scenes to a certain extent and allow the user to enjoy more services.

[0052] Figure 3 A flow chart of a method for implementing an in-vehicle scenario according to another embodiment of the present application is shown.

[0053] Reference Figure 3 As shown, before step S101 in the above embodiment, the vehicle-mounted scene implementation method further includes steps S301 to S305. The vehicle-mounted scene implementation method in the exemplary embodiment is described in detail below with reference to the accompanying drawings.

[0054] Step S301: Based on the transmission file of the service-oriented architecture SOA interface, convert and generate configurable items and executable items.

[0055] In an exemplary embodiment, the configurable items and the executable items are in a different format from the transmission file of the SOA interface. The vehicle-mounted control device converts and generates the configurable items and the executable items according to the transmission file of the SOA interface.

[0056] In a specific embodiment, the SOA interface transmission file is in the Architecture Extensible Markup Language (ARXML) format, and the configurable items and executable items are in the lightweight data exchange format JSON. For example, a configurable item for pre-set vehicle scene conversion converts the ARXML format to JSON, and uses JSON to describe an interface for air conditioning temperature. When the air conditioning temperature in the vehicle changes, the air conditioning temperature can be obtained through this interface. The configuration item is combined to configure the vehicle temperature range to be 16 degrees Celsius to 30 degrees Celsius, with a step size of 1 degree Celsius, and a default of 22 degrees Celsius.

[0057] Step S302: The configurable items and executable items are sent to the terminal, and the terminal communicates with the vehicle-mounted control device.

[0058] In an exemplary embodiment, the terminal includes a mobile phone, a notebook, a tablet computer, and a vehicle-mounted computer. The vehicle-mounted control device communicates with the terminal and sends the configurable items and executable items to the terminal.

[0059] Step S303: Displaying configurable items and executable items based on the terminal.

[0060] In an exemplary embodiment, the in-vehicle control device sends the configurable items and executable items of the preset in-vehicle scene conversion to the terminal, and the user uses the terminal to configure the configurable items and executable items in combination.

[0061] Step S304: Obtain the combined configuration performed by the user based on the configurable items and the executable items.

[0062] In an exemplary embodiment, the user utilizes the terminal to perform a combination configuration on the configurable items and the executable items, and the vehicle-mounted control device obtains the combination configuration result through the user inputting the combination configuration into the terminal.

[0063] Step S305: Generate a scene configuration table according to the user's combination configuration.

[0064] In an exemplary embodiment, the vehicle-mounted control device obtains a combination configuration result through the user inputting the combination configuration of the terminal, and generates a scenario configuration table according to the combination configuration result.

[0065] It should be noted that if in this example embodiment, the terminal is a mobile phone, the vehicle-mounted control device will send the configurable items and executable items of the preset vehicle-mounted scene conversion to the mobile phone, and the mobile phone will display the configurable items and executable items through the display screen. The user will dynamically combine and configure the vehicle-mounted scenes according to his or her preferences on the mobile phone. After the configuration is completed, the mobile phone will send the combined configuration to the vehicle-mounted control device, and the vehicle-mounted control device will obtain the combined configuration result, and then generate a scene configuration table based on the combined configuration.

[0066] according to Figure 3 The technical solution in the example embodiment is to generate configurable items and executable items in JSON format through ARXML file conversion of SOA interface; send the configurable items and executable items to the terminal; the terminal displays the configurable items and executable items, allowing the user to combine and configure the configurable items and executable items; then obtain the user's combined configuration based on the configurable items and executable items; generate a scenario configuration table according to the user's combined configuration; obtain the scenario configuration table; parse the scenario configuration table based on the converted configurable items and executable items, compare the parsed scenario configuration table with the converted configurable items and executable items, filter out lost, tampered and unrealizable data, and recombine to generate conditional items and executable items; trigger the corresponding in-vehicle scenario according to the conditional items and executable items.

[0067] In an embodiment of the present application, the ARXML file of the service interface that does not involve security is converted to generate configurable items and executable items in JSON format, and the configurable items and executable items in JSON format are sent to the terminal. The configurable items and executable items in JSON format are easy to parse and generate scene configuration tables, which can effectively improve network transmission efficiency; users can combine and configure corresponding in-vehicle scenes according to their preferences on the terminal, which can not only realize more complex smart in-vehicle scenes to a certain extent, allowing users to enjoy more services, but also reduce the time of early development and improve the efficiency of early development.

[0068] The following are device embodiments of the present application, which can be used to implement the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.

[0069] Figure 4 A structural diagram of a vehicle-mounted scenario implementation device provided according to an exemplary embodiment of the present application is shown.

[0070] The vehicle-mounted scene realization device 400 in the embodiment of the present application includes: an acquisition module 401, a parsing and generating module 402, and a triggering module 403;

[0071] The acquisition module 401 is used to acquire a scene configuration table, which is generated by combining configurable items and executable items for a preset vehicle scene conversion;

[0072] Parsing and generating module 402, used to parse the scenario configuration table and generate condition items and execution items. The condition items are condition sets formed by recombining configurable items, and the execution items are execution sets formed by recombining executable items.

[0073] The trigger module 403 is used to trigger the corresponding vehicle scene according to the condition item and the execution item.

[0074] Furthermore, in one embodiment of the present application, the above-mentioned parsing generation module 402 is also used to: parse the scenario configuration table based on the configurable items and executable items; compare the parsed scenario configuration table with the configurable items and executable items; and based on the comparison results, recombine and generate conditional items and execution items, where the conditional items include N conditional elements and the execution items include M execution instructions, where N and M are both positive integers.

[0075] Optionally, the above-mentioned vehicle-mounted scenario implementation device 400 is further used to: add condition items and execution items to a task list; and subscribe to event values of corresponding preset vehicle-mounted scenarios according to the condition items in the task list.

[0076] Optionally, the trigger module 403 is also used to: monitor the event value of the preset vehicle scene corresponding to the condition item of the task list; determine whether the event value satisfies the N condition elements in the condition item; if the N condition elements in the condition item are satisfied, the execution program is called in sequence through M execution instructions to trigger the corresponding vehicle scene, and the execution instructions and the execution program are mapped one by one.

[0077] Optionally, the above-mentioned vehicle-mounted scenario realization device 400 is also used to: convert and generate configurable items and executable items based on the transmission file of the service-oriented architecture SOA interface, and the format of the configurable items and executable items is different from that of the transmission file of the SOA interface; obtain the user's combined configuration based on the configurable items and executable items; and generate a scenario configuration table according to the user's combined configuration.

[0078] Optionally, the above-mentioned vehicle-mounted scenario implementation device 400 is also used to: send configurable items and executable items to the terminal, and the terminal communicates with the vehicle-mounted control device; display configurable items and executable items based on the terminal; obtain the user's combined configuration based on the configurable items and executable items, including: based on the terminal, obtaining the user's combined configuration based on the configurable items and executable items.

[0079] It should be noted that the vehicle-mounted scene realization device provided in the above embodiment only uses the division of the above-mentioned functional modules as an example when executing the vehicle-mounted scene realization method. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. In addition, the vehicle-mounted scene realization device provided in the above embodiment and the vehicle-mounted scene realization method embodiment belong to the same concept. Therefore, for details not disclosed in the embodiment of the device of this application, please refer to the embodiment of the vehicle-mounted scene realization method of this application, which will not be repeated here.

[0080] The serial numbers of the above embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0081] The present application also provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of any of the aforementioned methods. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a microdrive, a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.

[0082] The embodiment of the present application further provides a vehicle 500 , which includes an on-board control device 600 .

[0083] Figure 5 shows a structural diagram of a vehicle provided by an exemplary embodiment of the present application; Figure 6 The structure diagram of the vehicle control device provided by an exemplary embodiment of the present application is shown. Figure 6 As shown, the vehicle-mounted control device 600 includes a processor 601 and a memory 602 .

[0084] In the embodiment of the present application, the processor 601 is the control center of the computer system, which can be the processor of a physical machine or the processor of a virtual machine. The processor 601 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 601 can be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 601 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a central processing unit (CPU); the coprocessor is a low-power processor for processing data in the standby state.

[0085] In an embodiment of the present application, the above-mentioned processor 601 is specifically used to: obtain a scene configuration table, which is a combination configuration generated by configurable items and executable items for converting preset vehicle scenes; parse the scene configuration table to generate conditional items and execution items, where the conditional items are conditional sets formed by recombining the configurable items, and the execution items are execution sets formed by recombining the executable items; and trigger the corresponding vehicle scene according to the conditional items and the execution items.

[0086] Furthermore, in one embodiment of the present application, the above-mentioned processor 601 is also specifically used to: parse the scenario configuration table based on the configurable items and the executable items; compare the parsed scenario configuration table with the configurable items and the executable items; and based on the comparison results, recombine and generate conditional items and execution items, where the conditional items include N conditional elements and the execution items include M execution instructions, where N and M are both positive integers.

[0087] Optionally, the processor 601 is further specifically configured to: add conditional items and execution items to a task list; and subscribe to event values of corresponding preset vehicle scenarios according to the conditional items in the task list.

[0088] Optionally, the above-mentioned processor 601 is also specifically used to: monitor the event value of the preset vehicle-mounted scene corresponding to the condition item of the task list; determine whether the event value satisfies N condition elements in the condition item; if the N condition elements in the condition item are satisfied, the execution program is called in sequence through M execution instructions to trigger the corresponding vehicle-mounted scene, and the execution instructions and the execution program are mapped one by one.

[0089] Optionally, the above-mentioned processor 601 is also specifically used to: convert and generate configurable items and executable items based on the transmission file of the service-oriented architecture SOA interface, and the format of the configurable items and executable items is different from that of the transmission file of the SOA interface; obtain the user's combined configuration based on the configurable items and executable items; and generate a scenario configuration table according to the user's combined configuration.

[0090] Optionally, the above-mentioned processor 601 is also specifically used to: send configurable items and executable items to the terminal, and the terminal communicates with the vehicle-mounted control device; display configurable items and executable items based on the terminal; and obtain the user's combined configuration based on the configurable items and executable items based on the terminal.

[0091] The memory 602 may include one or more computer-readable storage media, which may be non-transitory. The memory 602 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage terminals and flash memory storage terminals. In some embodiments of the present application, the non-transitory computer-readable storage medium in the memory 602 is used to store at least one instruction, which is used to be executed by the processor 601 to implement the method in the embodiment of the present application.

[0092] In some embodiments, the in-vehicle control device 600 further includes a peripheral terminal interface 603 and at least one peripheral terminal. The processor 601, memory 602, and peripheral terminal interface 603 may be connected via a bus or signal lines. Each peripheral terminal may be connected to the peripheral terminal interface 603 via a bus, signal lines, or circuit boards. Specifically, the peripheral terminal includes at least one of a display screen 604, a camera 605, and an audio circuit 606.

[0093] The peripheral terminal interface 603 can be used to connect at least one peripheral terminal related to input / output (I / O) to the processor 601 and the memory 602. In some embodiments of the present application, the processor 601, the memory 602, and the peripheral terminal interface 603 are integrated on the same chip or circuit board; in some other embodiments of the present application, any one or two of the processor 601, the memory 602, and the peripheral terminal interface 603 can be implemented on separate chips or circuit boards. This embodiment of the present application is not specifically limited to this.

[0094] The display screen 604 is used to display a user interface (UI). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 604 is a touch screen display, the display screen 604 also has the ability to collect touch signals on the surface or above the surface of the display screen 604. The touch signal can be input as a control signal to the processor 601 for processing. In this case, the display screen 604 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments of the present application, there can be one display screen 604, which is set on the front panel of the vehicle-mounted control device 600; in other embodiments of the present application, there can be at least two display screens 604, which are respectively set on different surfaces of the vehicle-mounted control device 600 or in a folding design; in still other embodiments of the present application, the display screen 604 can be a flexible display screen, which is set on the curved surface or folding surface of the vehicle-mounted control device 600. Even more, the display screen 604 can be set into a non-rectangular irregular shape, that is, a special-shaped screen. The display screen 604 can be made of materials such as a liquid crystal display (LCD) and an organic light-emitting diode (OLED).

[0095] The camera 605 is used to capture images or videos. Optionally, the camera 605 includes a front camera and a rear camera. Typically, the front camera is provided on the front panel of the vehicle-mounted control device 600, and the rear camera is provided on the back of the vehicle-mounted control device 600. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth-of-field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth-of-field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and virtual reality (VR) shooting function or other fusion shooting functions. In some embodiments of the present application, the camera 605 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0096] The audio circuit 606 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting them into electrical signals and inputting them into the processor 601 for processing. For stereo sound collection or noise reduction, multiple microphones may be provided, located in different locations of the in-vehicle control device 600. The microphone may also be an array microphone or an omnidirectional microphone.

[0097] Power supply 607 is used to power the various components of the vehicle-mounted control device 600. Power supply 607 can be AC power, DC power, a disposable battery, or a rechargeable battery. When power supply 607 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, while a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0098] The structural block diagram of the vehicle-mounted control device shown in the embodiment of the present application does not constitute a limitation on the vehicle-mounted control device 600. The vehicle-mounted control device 600 may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.

[0099] In this application, the terms "first," "second," etc. are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or order; the term "plurality" refers to two or more, unless expressly limited otherwise. Terms such as "installed," "connected," "connected," and "fixed" should be understood in a broad sense. For example, "connected" can mean a fixed connection, a detachable connection, or an integral connection; "connected" can mean a direct connection or an indirect connection through an intermediary. Those skilled in the art will understand the specific meanings of the above terms in this application based on the specific circumstances.

[0100] In the description of this application, it should be understood that the terms "upper" and "lower" and the like indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, and are only for the convenience of describing this application and simplifying the description, rather than indicating or implying that the device or unit referred to must have a specific direction, be constructed and operated in a specific orientation. Therefore, they should not be understood as limitations on this application.

[0101] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application should be included in the scope of protection of the present application. Therefore, equivalent modifications made according to the claims of the present application are still within the scope of protection of the present application.

Claims

1. A method for realizing an in-vehicle scene, characterized in that: The method comprises: Obtaining a scene configuration table, where the scene configuration table is generated by a user's combined configuration of configurable items and executable items for a preset vehicle scene conversion; Parsing the scenario configuration table to generate condition items and execution items, wherein the condition items are condition sets formed by recombining the configurable items, and the execution items are execution sets formed by recombining the executable items; According to the condition item and the execution item, trigger the corresponding vehicle scene; The parsing of the scenario configuration table to generate condition items and execution items includes: Parsing the scenario configuration table based on the configurable items and the executable items; Comparing the parsed scene configuration table with the configurable items and the executable items to determine the configurable items and executable items configured by the user in combination among the configurable items and executable items for the preset vehicle scene conversion; Based on the configurable items and executable items configured by the user, the conditional items and the executable items are recombined and generated, the conditional items include N conditional elements, and the executable items include M execution instructions, where N and M are both positive integers.

2. The method according to claim 1, characterized in that After recombining and generating the condition item and the execution item based on the comparison result, the method further includes: Adding the condition item and the execution item to a task list; According to the condition item of the task list, subscribe to the event value of the corresponding preset vehicle scene.

3. The method according to claim 2, characterized in that The triggering of a corresponding vehicle-mounted scenario according to the condition item and the execution item includes: Monitoring the event value of the preset vehicle-mounted scenario corresponding to the condition item of the task list; Determine whether the event values all satisfy N condition elements in the condition item; If all N conditional elements in the conditional items are met, the execution program is called in sequence through the M execution instructions to trigger the corresponding vehicle-mounted scene, and the execution instructions are mapped one-to-one to the execution program.

4. The method according to claim 1, wherein Before obtaining the scene configuration table, the method further includes: Based on a transmission file of a service-oriented architecture (SOA) interface, convert and generate the configurable items and the executable items, wherein the formats of the configurable items and the executable items are different from those of the transmission file of the SOA interface; Acquire a combined configuration performed by the user based on the configurable item and the executable item; The scenario configuration table is generated according to the user's combined configuration.

5. The method according to claim 4, characterized in that The method is applied to a vehicle-mounted control device, and before obtaining the combined configuration performed by the user based on the configurable item and the executable item, the method further includes: sending the configurable item and the executable item to a terminal, wherein the terminal communicates with the vehicle-mounted control device; displaying the configurable items and the executable items based on the terminal; The obtaining of the combined configuration performed by the user based on the configurable item and the executable item includes: Based on the terminal, a combined configuration performed by the user according to the configurable item and the executable item is obtained.

6. The method according to claim 4, characterized in that The transmission file of the SOA interface is in the ARXML format, and the configurable items and the executable items are in the JSON format, which is a lightweight data exchange format.

7. A vehicle-mounted scene realization device, characterized in that: include: An acquisition module is used to acquire a scene configuration table, where the scene configuration table is generated by a user's combination of configurable items and executable items for a preset vehicle scene conversion; a parsing and generating module, configured to parse the scenario configuration table to generate condition items and execution items, wherein the condition items are condition sets formed by recombining the configurable items, and the execution items are execution sets formed by recombining the executable items; A trigger module, configured to trigger a corresponding vehicle-mounted scenario according to the condition item and the execution item; The analysis and generation module is specifically used to: Parsing the scenario configuration table based on the configurable items and the executable items; Comparing the parsed scene configuration table with the configurable items and the executable items to determine the configurable items and executable items configured by the user in combination among the configurable items and executable items for the preset vehicle scene conversion; Based on the configurable items and executable items configured by the user, the conditional items and the executable items are recombined and generated, the conditional items include N conditional elements, and the executable items include M execution instructions, where N and M are both positive integers.

8. A vehicle comprising an on-board control device, the on-board control device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, it implements the vehicle-mounted scenario implementation method according to any one of claims 1 to 6.

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

Citation Information

Patent Citations

  • Information processing method and device, electronic equipment and computer storage medium

    CN113961309A

  • Cross-domain-based vehicle-mounted scene self-defining method and device, equipment and storage medium

    CN114115865A