CN113792059A - Scene library updating method, device, equipment and storage medium - Google Patents
Scene library updating method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN113792059A CN113792059A CN202111061153.3A CN202111061153A CN113792059A CN 113792059 A CN113792059 A CN 113792059A CN 202111061153 A CN202111061153 A CN 202111061153A CN 113792059 A CN113792059 A CN 113792059A
- Authority
- CN
- China
- Prior art keywords
- scene
- target
- determining
- library
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 230000001960 triggered effect Effects 0.000 claims abstract description 18
- 238000004590 computer program Methods 0.000 claims description 9
- 230000003993 interaction Effects 0.000 abstract description 7
- 238000005065 mining Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 13
- 230000006870 function Effects 0.000 description 10
- 230000002452 interceptive effect Effects 0.000 description 10
- 230000003287 optical effect Effects 0.000 description 8
- 238000004378 air conditioning Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 238000004891 communication Methods 0.000 description 4
- 230000000694 effects Effects 0.000 description 4
- 239000013307 optical fiber Substances 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 238000003491 array Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000011156 evaluation Methods 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 206010011469 Crying Diseases 0.000 description 1
- 241000287181 Sturnus vulgaris Species 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 230000008451 emotion Effects 0.000 description 1
- 238000000556 factor analysis Methods 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/23—Updating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2457—Query processing with adaptation to user needs
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computational Linguistics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention discloses a scene library updating method, a scene library updating device, scene library equipment and a storage medium. The method comprises the following steps: acquiring input information, wherein the input information comprises: a first set of execution instructions and a set of modality information; inquiring a scene library according to a judgment factor corresponding to each modal information in the modal information set to obtain a target scene; determining a target execution instruction set according to the target scene and the first execution instruction set, and executing the target execution instruction set; and if a first operation is triggered within a preset time and meets a preset condition, updating the scene library according to the first operation. According to the technical scheme provided by the embodiment of the invention, different target scenes are selected according to different scenes by establishing the concept of the scene library, different operation commands are executed, and the scene library is continuously updated along with the continuous mining of the scene library, so that the instruction execution is more intelligent, and a user obtains better interaction experience.
Description
Technical Field
The embodiment of the invention relates to the technical field of vehicles, in particular to a scene library updating method, a scene library updating device, scene library equipment and a storage medium.
Background
Currently, a scene library is widely applied in various industries, and selecting a corresponding execution operation in the scene library through modal input of a driver in an automobile cab is application of the scene library in one application scene.
In the prior art, the specific modes of selecting corresponding execution instructions according to input are divided into two types: one is a method without multi-mode fusion, namely, after receiving the input of an input source, immediately executing operation; another is simple judgment factor analysis, such as: when the central control screen is closed and a driver stares at the central control screen, the central control screen is lightened, and the method is a very simple scene and does not need to be fused to judge other states.
When the operation is performed in response to the modal input of the driver in the above two ways, although the basic requirements to be met by the input of the driver can be met, better and more humanized service cannot be provided.
Disclosure of Invention
The embodiment of the invention provides a method, a device, equipment and a storage medium for updating a scene library, which are characterized in that on the basis of the prior art, the concept of the scene library is established, different target scenes are selected according to different scenes, different operation commands are executed, and the scene library is continuously updated along with the continuous mining of the scene library, so that the instruction execution is more intelligent, a more friendly interactive mode is realized, and better interactive experience is obtained.
In a first aspect, an embodiment of the present invention provides a method for updating a scene library, including:
acquiring input information, wherein the input information comprises: a first set of execution instructions and a set of modality information;
inquiring a scene library according to a judgment factor corresponding to each modal information in the modal information set to obtain a target scene;
determining a target execution instruction set according to the target scene and the first execution instruction set, and executing the target execution instruction set;
and if a first operation is triggered within a preset time and meets a preset condition, updating the scene library according to the first operation.
In a second aspect, an embodiment of the present invention further provides a scene library updating apparatus, where the apparatus includes:
an input information obtaining module, configured to obtain input information, where the input information includes: a first set of execution instructions and a set of modality information;
the target scene determining module is used for inquiring a scene library according to the judgment factor corresponding to each modal information in the modal information set to obtain a target scene;
the instruction determining and executing module is used for determining a target execution instruction set according to the target scene and the first execution instruction set and executing the target execution instruction set;
and the scene library updating module is used for updating the scene library according to the first operation if the first operation is triggered within the preset time and meets the preset condition.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
one or more processors;
a memory for storing one or more programs;
when executed by the one or more processors, the one or more programs cause the processors to implement a scene library updating method according to any one of the embodiments of the present invention.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements a scene library updating method according to any one of the embodiments of the present invention.
In the technical solution provided in the embodiments of the present invention, input information is obtained, where the input information includes: a first set of execution instructions and a set of modality information; inquiring a scene library according to a judgment factor corresponding to each modal information in the modal information set to obtain a target scene; determining a target execution instruction set according to the target scene and the first execution instruction set, and executing the target execution instruction set; and if a first operation is triggered within a preset time and meets a preset condition, updating the scene library according to the first operation. Compared with the prior art, the technical scheme has the advantages that different target scenes are selected according to different scenes by establishing the concept of the scene library, different operation commands are executed, the scene library is continuously updated along with continuous mining of the scene library, so that the instruction execution is more intelligent, and a user obtains better interactive experience.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention, and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a flowchart of a scene library updating method according to a first embodiment of the present invention;
fig. 2 is a flowchart of a scene library updating method according to a second embodiment of the present invention;
FIG. 3 is a diagram illustrating a scene library update according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of a scene library updating apparatus according to a third embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device in a fourth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer-readable storage medium containing a computer program in a fifth embodiment of the present invention.
Detailed Description
The embodiments of the present invention will be described in further detail with reference to the drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad invention. It should be further noted that, for convenience of description, only some structures, not all structures, relating to the embodiments of the present invention are shown in the drawings. Furthermore, the embodiments of the present invention and the features of the embodiments may be combined with each other without conflict.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like. Furthermore, the embodiments of the present invention and the features of the embodiments may be combined with each other without conflict.
The term "comprising" and variations thereof as used in connection with the embodiments of the present invention is intended to be open-ended, i.e., "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment".
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the embodiments of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Example one
Fig. 1 is a flowchart of a scene library updating method according to an embodiment of the present invention, where the method is applicable to a situation where an operation is selected to be executed correspondingly in a scene library by inputting information in an automobile cab, and the method may be executed by a scene library updating apparatus according to an embodiment of the present invention, and the apparatus may be implemented in a software and/or hardware manner. The apparatus can be integrated in an electronic device, as shown in fig. 1, and the method specifically includes the following steps:
s101, acquiring input information, wherein the input information comprises: a first set of execution instructions and a set of modality information.
Wherein the input information comprises a first set of execution instructions and a set of modality information.
Specifically, the first execution instruction set may include an instruction generated by pressing a window button, an instruction generated by pressing an air-conditioning button, an instruction generated by clicking a preset area on a touch screen, or an instruction generated by clicking a switch of a vehicle-mounted terminal, which is not limited in this embodiment of the present invention.
Specifically, the modality information may be:
five people: touch, auditory, visual, olfactory, taste;
identity information of the person: face, fingerprint, login account, etc.;
various emotions of a person: happy, angry, obstinate, flexed, crying, excited, etc.;
the medium of information: voice, video, text, graphics and pictures;
a sensor: such as radar, infrared, navigation positioning information, temperature and humidity, air quality, odor sensors, light and the like;
public information: time, time zone, weather, temperature, etc.;
personal preferences: the air conditioner is favored to 25 ℃, the running wind music is favored, the noisy environment is averted, the traffic jam is averted, and the like;
historical interaction information: operation of the occupant over a certain period of time and other interactive information, etc.
Illustratively, the modality information set may be acquired by a sensor or may be input by a user.
In this embodiment, the input information is acquired by the manager. The manager may be a controller mounted on an ECU of the vehicle, and is generally not limited to an infotainment host, a controller of a vehicle body, a chassis, an engine, and the like, and an automatic driving related controller.
The input information can be information input through a screen of a controller such as an infotainment system and an air conditioning system, information input through voice, camera input, a steering wheel, an air conditioner, hard keys of a vehicle window, buttons or intelligent surface keys, external connecting equipment and internal application.
Wherein, external connecting device can include:
the mobile phone, the tablet personal computer and the like are connected to the information entertainment system through USB, WIFI and Bluetooth;
peripheral equipment connected to the whole vehicle through a whole vehicle network connection (CAN network, ethernet, etc.);
other normal types of controllers, sensors and the like are connected through a hard wire IO;
and the cloud server is connected to the whole vehicle through the vehicle-mounted Ethernet.
Wherein the built-in application may include:
the vehicle control unit provides navigation positioning information;
the cloud transmits local road information and other navigation information;
the cloud transmits the weather information to the local;
and the cloud transmits the local smart city information.
S102, inquiring a scene library according to the judgment factor corresponding to each modal information in the modal information set to obtain a target scene.
The judgment factor can be specifically understood as a preset judgment condition for judging a specific scene corresponding to each modality. Each judgment factor has a value assigned thereto, and one mode corresponds to only one judgment factor, but one judgment factor may correspond to a plurality of modes.
It should be explained that the scene library is a preset database containing a plurality of scenes. Each scene corresponds to one or more judgment factors, but the judgment factors corresponding to each scene are not completely the same.
Illustratively, the target scene is a scene that completely conforms to the judgment factor corresponding to the input modality. For example, the evaluation factors corresponding to the input modality are assigned to 1, 2, and 3, and the evaluation factors corresponding to scene 1 are also assigned to 1, 2, and 3, so that scene 1 is the target scene.
Optionally, the scene library is queried according to a judgment factor corresponding to each modal information in the modal information set to obtain a first scene, and if the first scene includes at least one sub-scene, the target scene is determined according to a weight corresponding to each sub-scene.
The first scene is obtained according to the judgment factor corresponding to the modal information. If the scene comprises at least one sub-scene, each sub-scene has a respective weight, the sub-scene with the largest weight is selected as the target scene.
Through the selection of the sub-scene in the first scene, the selection of the target scene corresponding to the input modality can be more intelligent and accurate, the requirements of users can be better met, and the interactive experience is increased.
Optionally, if more than one modality is in the input modality set, the judgment factors corresponding to each modality information in the modality information set are fused to obtain a target judgment factor set. And if the judgment factor corresponding to the first scene in the scene library is the same as the corresponding judgment factor in the target judgment factor set, determining the first scene as the target scene.
The target judgment factor set can be understood as a set consisting of a plurality of judgment factors for determining the target scene.
By fusing the judgment factors corresponding to each modal information in the modal information set, the selection of the scene can be more accurate, the effect which the user wants to achieve can be better completed, and the interaction is more friendly.
S103, determining a target execution instruction set according to the target scene and the first execution instruction set, and executing the target execution instruction set.
The target execution instruction set may be understood as a set of instructions corresponding to the target execution operation determined according to the input first execution instruction set after the target scene is determined.
Optionally, a second execution instruction set corresponding to the target scene is obtained; determining a target set of execution instructions from the second set of execution instructions and the first set of execution instructions.
The second execution instruction set may be understood as a corresponding operation execution instruction set in the determined target scene.
By acquiring the second execution instruction set in the target scene, the corresponding appropriate operation according with the scene can be more accurately obtained, and the target execution instruction set is determined together with the first execution instruction set, so that the interaction is more intelligent, the requirements of users are better met, and better interaction experience is obtained.
Optionally, the judging factor includes: judging elements and element values; correspondingly, if the judgment factor corresponding to the first scene in the scene library is the same as the corresponding judgment factor in the target judgment factor set, determining the first scene as the target scene, including: and if the target judgment factor set comprises a judgment element corresponding to a first scene in the scene library, and the element value of the judgment element corresponding to the first scene in the scene library is the same as the element value of the corresponding judgment element in the target judgment factor set, determining the first scene as a target scene.
The judgment element can be specifically understood as a superordinate concept corresponding to each modality, and the element value is an assignment of a preset judgment element. For example, if the modality is a fingerprint, the corresponding judgment element is identity information, and the value of the element is 1.
Whether the first scene in the scene library is the target scene or not is determined by introducing the judgment factors and comparing the judgment factors corresponding to the first scene in the scene library with the corresponding judgment factors in the target judgment factor combination, and the determination process of the target scene is embodied.
And S104, if a first operation is triggered within a preset time and meets a preset condition, updating the scene library according to the first operation.
In this embodiment, the preset time may be a period of time set by a user or set by a system, and may be 1 minute or 5 minutes, which is not limited in this embodiment of the present invention.
For example, the first operation may be an operation performed by the user after determining the target scene and executing the target execution instruction set.
It should be noted that the preset condition may be understood as a condition set by a user or set by a system, and the embodiment of the present invention is not limited thereto.
If the first operation is triggered within the preset time, updating the scene library according to the first operation comprises: and establishing a sub-scene of the target scene according to the first operation.
The sub-scenes of the target scene are established according to the first operation, the scene library is updated, and the scene library is updated continuously along with the continuous mining of the scene library, so that the instruction execution is more intelligent, and a user obtains better interactive experience.
In the technical scheme of the embodiment of the present invention, input information is acquired, where the input information includes: a first set of execution instructions and a set of modality information; inquiring a scene library according to a judgment factor corresponding to each modal information in the modal information set to obtain a target scene; determining a target execution instruction set according to the target scene and the first execution instruction set, and executing the target execution instruction set; and if a first operation is triggered within a preset time and meets a preset condition, updating the scene library according to the first operation. Compared with the existing control mode, the method disclosed by the embodiment of the invention integrates the scene analysis mode, can execute corresponding operation after receiving the input of the input source, and has more diversified judgment factors and continuously updated scene library along with the continuous increase of the input source or the continuous increase of the provided modes. The richer scene can bring more experience effects, can realize a more friendly interactive mode and obtain better interactive experience.
Example two
Fig. 2 is a flowchart of a scene library updating method according to a second embodiment of the present invention, and the present embodiment performs optimization based on the above-described embodiment. In this embodiment, a scene library may be queried according to a determination factor corresponding to each modal information in the modal information set to obtain a target scene, which is specifically expressed as: inquiring a scene library according to a judgment factor corresponding to each modal information in the modal information set to obtain a first scene; and if the first scene comprises at least one sub-scene, determining the target scene according to the weight corresponding to each sub-scene.
As shown in fig. 2, a flowchart of a scene library updating method provided in the second embodiment of the present application specifically includes the following operations:
s201, obtaining input information, wherein the input information comprises: a first set of execution instructions and a set of modality information.
S202, inquiring a scene library according to the judgment factor corresponding to each modal information in the modal information set to obtain a first scene.
In this embodiment, after the input information is acquired, the scene library is queried according to the judgment factor corresponding to each modal information in the modal information set, so as to obtain the first scene. And if the judgment factor corresponding to the first scene is the same as the corresponding judgment factor in the target judgment factor set, determining the first scene as the target scene.
S203, if the first scene comprises at least one sub-scene, determining a target scene according to the weight corresponding to each sub-scene.
In this embodiment, after the user selects an operation, the first operation is triggered, a weight is calculated according to an internal algorithm, and when the scene is triggered again, the weight is used as an important modality, and the operation frequently used by the user can be directly executed.
S204, determining a target execution instruction set according to the target scene and the first execution instruction set, and executing the target execution instruction set.
S205, if a first operation is triggered within a preset time and meets a preset condition, updating the scene library according to the first operation.
In the second embodiment, the method for updating the scene library embodies the query of the scene library according to the judgment factor corresponding to each modal information in the modal information set to obtain the target scene operation. The method comprises the steps of obtaining input information, wherein the input information comprises: a first set of execution instructions and a set of modality information; inquiring a scene library according to a judgment factor corresponding to each modal information in the modal information set to obtain a first scene; if the first scene comprises at least one sub-scene, determining a target scene according to the weight corresponding to each sub-scene; determining a target execution instruction set according to the target scene and the first execution instruction set, and executing the target execution instruction set; and if a first operation is triggered within a preset time and meets a preset condition, updating the scene library according to the first operation. According to the technical scheme, the scene library is established, the scene library is inquired according to the judgment factors corresponding to the modes to obtain the first scene, the target scene is determined according to the weight corresponding to each sub-scene in the first scene, the scene library is continuously updated, more abundant scenes can bring more experience effects, better interaction modes are realized, and better interaction experience is obtained.
As an exemplary description of this embodiment, fig. 3 is a scene library update block diagram in the second embodiment of the present invention. Based on the foregoing embodiments, further, this embodiment is a specific implementation manner of the second embodiment, where the method is applied to an air conditioner, and the specific manner of the method is as follows:
acquiring input information, including: a first set of execution instructions and a set of modality information. Wherein the first set of execution instructions may include the occupant turning on an air conditioning button, and the set of modality information may include a temperature of 38 ℃ at which the vehicle is in west ampere at modality 1 and in which the vehicle is in west ampere at modality 2.
And inquiring a scene library according to the judgment factor corresponding to each modal information in the modal information set to obtain a first scene. The method comprises the steps that a mode 1 corresponds to the location of a judgment factor 1, a mode 2 corresponds to a judgment factor 2, the two judgment factors are fused to obtain a target judgment factor set, scenes corresponding to the judgment factors 1 and 2 in a scene library are inquired, the scene is a first scene, and the first scene is assumed to be a scene 1 (the location is north, and the temperature is 30-40 ℃).
If the first scene (scene 1) includes two sub-scenes, namely, sub-scene 1-1 (Xian, 37 ℃), sub-scene 1-2 (Beijing, 35 ℃), … …, and sub-scene 1-n (Dalian, 32 ℃), the sub-scene 1-1 (Xian, 37 ℃) with the largest weight is determined as the target scene according to the weight corresponding to each sub-scene, namely, the weight 1(0.5), the weight 2(0.3), the weight … …, and the weight 1-n (0.1).
A target execution instruction set is determined from a target scene sub-scene 1-1 (Sichuan, 37 ℃) and a first execution instruction set (occupant turns on an air conditioning button), the target execution instruction set including an execution instruction set 1-1-1 (turns on the air conditioner to 27 ℃), an execution instruction set 1-1-2 (turns on the air conditioner to 30 ℃), … …, and an execution instruction set 1-1-n (turns on the air conditioner to 37 ℃), and finally the target execution instruction is executed (turns on the air conditioner to 27 ℃).
If the first operation (which may be that the passenger lowers the air-conditioning temperature to 26 ℃) is triggered within a preset time (which may be 5 minutes, for example) and meets a preset condition, the scene library is updated according to the first operation, and the passenger prefers to set the air-conditioning temperature to 26 ℃ when the temperature of the west ampere is 38 ℃ and adds the air-conditioning temperature to the scene library, so that the scene in the scene library is called directly when the scene is encountered again in the future.
EXAMPLE III
Fig. 4 is a schematic structural diagram of a scene library updating apparatus according to an embodiment of the present invention, where the scene library updating apparatus according to an embodiment of the present invention is capable of executing a scene library updating method according to any embodiment of the present invention, and has functional modules and beneficial effects corresponding to the execution method. The device can be implemented in software and/or hardware, and can be integrated into any device that provides a function of updating a scene library, as shown in fig. 4, where the device for updating a scene library specifically includes: an input information acquisition module 401, a target scene determination module 402, an instruction determination and execution module 403, and a scene library update module 404.
The input information obtaining module 401 is configured to obtain input information, where the input information includes: a first set of execution instructions and a set of modality information.
A target scene determining module 402, configured to query a scene library according to a determination factor corresponding to each modal information in the modal information set, to obtain a target scene;
an instruction determining and executing module 403, configured to determine a target execution instruction set according to the target scene and the first execution instruction set, and execute the target execution instruction set;
a scene library updating module 404, configured to update the scene library according to a first operation if the first operation is triggered within a preset time and the first operation meets a preset condition.
According to the technical scheme of the third embodiment of the invention, input information is acquired, wherein the input information comprises: a first set of execution instructions and a set of modality information; inquiring a scene library according to a judgment factor corresponding to each modal information in the modal information set to obtain a target scene; determining a target execution instruction set according to the target scene and the first execution instruction set, and executing the target execution instruction set; and if a first operation is triggered within a preset time and meets a preset condition, updating the scene library according to the first operation. Compared with the existing control mode (control- > execution result), the method disclosed by the embodiment of the invention integrates the scene analysis mode, can execute corresponding operation after receiving the input of the input source, and has more diversified judgment factors and continuously updated scene library along with the continuous increase of the input source or the continuous increase of the provided modes. The richer scene can bring more experience effects, can realize a more friendly interactive mode and obtain better interactive experience.
Optionally, the target scenario determining module 402 includes:
and the first scene determining unit is used for inquiring a scene library according to the judgment factor corresponding to each modal information in the modal information set to obtain a first scene.
And the target scene determining unit is used for determining the target scene according to the weight corresponding to each sub-scene if the first scene comprises at least one sub-scene.
Optionally, the target scenario determining module 402 is specifically configured to:
and fusing the judgment factors corresponding to each modal information in the modal information set to obtain a target judgment factor set.
And if the judgment factor corresponding to the first scene in the scene library is the same as the corresponding judgment factor in the target judgment factor set, determining the first scene as the target scene.
Optionally, the instruction determining and executing module 403 includes:
and the second execution instruction set acquisition unit is used for acquiring a second execution instruction set corresponding to the target scene.
A target execution instruction set determination unit to determine a target execution instruction set according to the second execution instruction set and the first execution instruction set.
Optionally, the scene library updating module 404 includes:
and the sub-scene establishing unit is used for establishing the sub-scenes of the target scene according to the first operation.
Further, the judgment factor includes: judging elements and element values;
correspondingly, the target scene determining module 402 is specifically configured to:
and if the target judgment factor set comprises a judgment element corresponding to a first scene in the scene library, and the element value of the judgment element corresponding to the first scene in the scene library is the same as the element value of the corresponding judgment element in the target judgment factor set, determining the first scene as a target scene.
The product can execute the method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the execution method.
Example four
Fig. 5 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention. FIG. 5 illustrates a block diagram of an electronic device 312 suitable for use in implementing embodiments of the present invention. The electronic device 312 shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of the use of the embodiment of the present invention. Device 312 is a computing device for typical trajectory fitting functions.
As shown in fig. 5, electronic device 312 is in the form of a general purpose computing device. The components of the electronic device 312 may include, but are not limited to: one or more processors 316, a storage device 328, and a bus 318 that couples the various system components including the storage device 328 and the processors 316.
The processor 316 executes various functional applications and data processing by running programs stored in the storage device 328, for example, implementing the scene library updating method provided by the above-described embodiment of the present invention:
acquiring input information, wherein the input information comprises: a first set of execution instructions and a set of modality information;
inquiring a scene library according to a judgment factor corresponding to each modal information in the modal information set to obtain a target scene;
determining a target execution instruction set according to the target scene and the first execution instruction set, and executing the target execution instruction set;
and if a first operation is triggered within a preset time and meets a preset condition, updating the scene library according to the first operation.
EXAMPLE five
Fig. 6 is a schematic structural diagram of a computer-readable storage medium containing a computer program according to an embodiment of the present invention. An embodiment of the present invention provides a computer-readable storage medium 61, on which a computer program 610 is stored, which when executed by one or more processors implements a scene library updating method as provided in all embodiments of the invention of the present application, the method including:
acquiring input information, wherein the input information comprises: a first set of execution instructions and a set of modality information;
inquiring a scene library according to a judgment factor corresponding to each modal information in the modal information set to obtain a target scene;
determining a target execution instruction set according to the target scene and the first execution instruction set, and executing the target execution instruction set;
and if a first operation is triggered within a preset time and meets a preset condition, updating the scene library according to the first operation.
Any combination of one or more computer-readable media may be employed. The computer readable medium may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (Hyper Text Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device.
Computer program code for carrying out operations for embodiments of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present disclosure may be implemented by software or hardware. Where the name of an element does not in some cases constitute a limitation on the element itself.
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
It should be noted that the foregoing is only a preferred embodiment of the present invention and the technical principles applied. Those skilled in the art will appreciate that the embodiments of the present invention are not limited to the specific embodiments described herein, and that various obvious changes, adaptations, and substitutions are possible, without departing from the scope of the embodiments of the present invention. Therefore, although the embodiments of the present invention have been described in more detail through the above embodiments, the embodiments of the present invention are not limited to the above embodiments, and many other equivalent embodiments may be included without departing from the concept of the embodiments of the present invention, and the scope of the embodiments of the present invention is determined by the scope of the appended claims.
Claims (10)
1. A method for updating a scene library, comprising:
acquiring input information, wherein the input information comprises: a first set of execution instructions and a set of modality information;
inquiring a scene library according to a judgment factor corresponding to each modal information in the modal information set to obtain a target scene;
determining a target execution instruction set according to the target scene and the first execution instruction set, and executing the target execution instruction set;
and if a first operation is triggered within a preset time and meets a preset condition, updating the scene library according to the first operation.
2. The method according to claim 1, wherein querying a scene library according to a judgment factor corresponding to each modal information in the modal information set to obtain a target scene comprises:
inquiring a scene library according to a judgment factor corresponding to each modal information in the modal information set to obtain a first scene;
and if the first scene comprises at least one sub-scene, determining the target scene according to the weight corresponding to each sub-scene.
3. The method of claim 1, wherein determining a target set of execution instructions based on the target scenario and the first set of execution instructions comprises:
acquiring a second execution instruction set corresponding to the target scene;
determining a target set of execution instructions from the second set of execution instructions and the first set of execution instructions.
4. The method according to claim 1, wherein querying a scene library according to a judgment factor corresponding to each modal information in the modal information set to obtain a target scene comprises:
fusing the judgment factors corresponding to each modal information in the modal information set to obtain a target judgment factor set;
and if the judgment factor corresponding to the first scene in the scene library is the same as the corresponding judgment factor in the target judgment factor set, determining the first scene as the target scene.
5. The method of claim 4, wherein the determining a factor comprises: judging elements and element values;
correspondingly, if the judgment factor corresponding to the first scene in the scene library is the same as the corresponding judgment factor in the target judgment factor set, determining the first scene as the target scene, including:
and if the target judgment factor set comprises a judgment element corresponding to a first scene in the scene library, and the element value of the judgment element corresponding to the first scene in the scene library is the same as the element value of the corresponding judgment element in the target judgment factor set, determining the first scene as a target scene.
6. The method of claim 1, wherein updating the scene library according to the first operation comprises:
and establishing a sub-scene of the target scene according to the first operation.
7. A scene library updating apparatus, comprising:
an input information obtaining module, configured to obtain input information, where the input information includes: a first set of execution instructions and a set of modality information;
the target scene determining module is used for inquiring a scene library according to the judgment factor corresponding to each modal information in the modal information set to obtain a target scene;
the instruction determining and executing module is used for determining a target execution instruction set according to the target scene and the first execution instruction set and executing the target execution instruction set;
and the scene library updating module is used for updating the scene library according to the first operation if the first operation is triggered within the preset time and meets the preset condition.
8. The apparatus of claim 7, wherein the target scenario determination module comprises:
the first scene determining unit is used for inquiring a scene library according to the judgment factor corresponding to each modal information in the modal information set to obtain a first scene;
and the target scene determining unit is used for determining the target scene according to the weight corresponding to each sub-scene if the first scene comprises at least one sub-scene.
9. An electronic device, comprising:
one or more processors;
a memory for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the processors to implement the method of any of claims 1-6.
10. A computer-readable storage medium containing a computer program, on which the computer program is stored, characterized in that the program, when executed by one or more processors, implements the method according to any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111061153.3A CN113792059A (en) | 2021-09-10 | 2021-09-10 | Scene library updating method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111061153.3A CN113792059A (en) | 2021-09-10 | 2021-09-10 | Scene library updating method, device, equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113792059A true CN113792059A (en) | 2021-12-14 |
Family
ID=79183001
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111061153.3A Pending CN113792059A (en) | 2021-09-10 | 2021-09-10 | Scene library updating method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113792059A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023036230A1 (en) * | 2021-09-10 | 2023-03-16 | 中国第一汽车股份有限公司 | Execution instruction determination method and apparatus, device, and storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004053251A (en) * | 2001-11-13 | 2004-02-19 | Equos Research Co Ltd | In-vehicle device, data creating device and data creation program |
US20100299044A1 (en) * | 2007-11-26 | 2010-11-25 | Equos Research Co., Ltd. | Vehicle control device |
CN106919905A (en) * | 2017-01-23 | 2017-07-04 | 上海蔚来汽车有限公司 | Scenario parameters method of adjustment and system |
CN108039989A (en) * | 2017-12-05 | 2018-05-15 | 海尔优家智能科技(北京)有限公司 | A kind of method, apparatus of Scene case, storage medium and computer equipment |
CN109688565A (en) * | 2018-12-11 | 2019-04-26 | 广州小鹏汽车科技有限公司 | Control method for vehicle, device, server and vehicle control system |
CN109747659A (en) * | 2018-11-26 | 2019-05-14 | 北京汽车集团有限公司 | The control method and device of vehicle drive |
CN110576808A (en) * | 2018-06-08 | 2019-12-17 | 上海博泰悦臻网络技术服务有限公司 | Vehicle, vehicle machine equipment and scene information pushing method based on artificial intelligence |
CN110928409A (en) * | 2019-11-12 | 2020-03-27 | 中国第一汽车股份有限公司 | Vehicle-mounted scene mode control method and device, vehicle and storage medium |
CN110979225A (en) * | 2019-12-12 | 2020-04-10 | 海尔优家智能科技(北京)有限公司 | Method and device for configuring use scene based on user role and vehicle |
CN112061048A (en) * | 2020-09-07 | 2020-12-11 | 华人运通(上海)云计算科技有限公司 | Scene triggering method, device, equipment and storage medium |
CN112238833A (en) * | 2019-07-19 | 2021-01-19 | 广州汽车集团股份有限公司 | Scene function implementation method and device based on user preference and storage medium |
CN112298071A (en) * | 2019-07-26 | 2021-02-02 | 上海博泰悦臻电子设备制造有限公司 | Control method, control device and computer storage medium |
-
2021
- 2021-09-10 CN CN202111061153.3A patent/CN113792059A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2004053251A (en) * | 2001-11-13 | 2004-02-19 | Equos Research Co Ltd | In-vehicle device, data creating device and data creation program |
US20100299044A1 (en) * | 2007-11-26 | 2010-11-25 | Equos Research Co., Ltd. | Vehicle control device |
CN106919905A (en) * | 2017-01-23 | 2017-07-04 | 上海蔚来汽车有限公司 | Scenario parameters method of adjustment and system |
CN108039989A (en) * | 2017-12-05 | 2018-05-15 | 海尔优家智能科技(北京)有限公司 | A kind of method, apparatus of Scene case, storage medium and computer equipment |
CN110576808A (en) * | 2018-06-08 | 2019-12-17 | 上海博泰悦臻网络技术服务有限公司 | Vehicle, vehicle machine equipment and scene information pushing method based on artificial intelligence |
CN109747659A (en) * | 2018-11-26 | 2019-05-14 | 北京汽车集团有限公司 | The control method and device of vehicle drive |
CN109688565A (en) * | 2018-12-11 | 2019-04-26 | 广州小鹏汽车科技有限公司 | Control method for vehicle, device, server and vehicle control system |
CN112238833A (en) * | 2019-07-19 | 2021-01-19 | 广州汽车集团股份有限公司 | Scene function implementation method and device based on user preference and storage medium |
CN112298071A (en) * | 2019-07-26 | 2021-02-02 | 上海博泰悦臻电子设备制造有限公司 | Control method, control device and computer storage medium |
CN110928409A (en) * | 2019-11-12 | 2020-03-27 | 中国第一汽车股份有限公司 | Vehicle-mounted scene mode control method and device, vehicle and storage medium |
CN110979225A (en) * | 2019-12-12 | 2020-04-10 | 海尔优家智能科技(北京)有限公司 | Method and device for configuring use scene based on user role and vehicle |
CN112061048A (en) * | 2020-09-07 | 2020-12-11 | 华人运通(上海)云计算科技有限公司 | Scene triggering method, device, equipment and storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2023036230A1 (en) * | 2021-09-10 | 2023-03-16 | 中国第一汽车股份有限公司 | Execution instruction determination method and apparatus, device, and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11034362B2 (en) | Portable personalization | |
CN108284840B (en) | Autonomous vehicle control system and method incorporating occupant preferences | |
US20230075585A1 (en) | Determining matches using dynamic provider eligibility model | |
US10107888B1 (en) | Vehicle status monitoring system and vehicle | |
JP6456901B2 (en) | System and method for presenting media content in an autonomous vehicle | |
CN108891422B (en) | Control method and device of intelligent vehicle and computer readable storage medium | |
US9493169B2 (en) | Method and control system for operating a motor vehicle | |
US20180208209A1 (en) | Comfort profiles | |
JP2015129753A (en) | In-vehicle notification presentation scheduling | |
US20190315342A1 (en) | Preference adjustment of autonomous vehicle performance dynamics | |
US10106173B2 (en) | Systems and methods of an adaptive interface to improve user experience within a vehicle | |
US10369943B2 (en) | In-vehicle infotainment control systems and methods | |
CN115793852A (en) | Method for acquiring operation indication based on cabin area, display method and related equipment | |
CN114132312B (en) | Vehicle speed limiting method, system, equipment and computer readable storage medium | |
CN113792059A (en) | Scene library updating method, device, equipment and storage medium | |
US20220196427A1 (en) | Mobile Device and Vehicle | |
CN111785000B (en) | Vehicle state data uploading method and device, electronic equipment and storage medium | |
CN113805698B (en) | Method, device, equipment and storage medium for determining execution instruction | |
CN113791841A (en) | Execution instruction determining method, device, equipment and storage medium | |
EP4369186A1 (en) | Control method and apparatus, device, and storage medium | |
CN110825290B (en) | Design for user privacy protection on an autonomous vehicle | |
WO2023036234A1 (en) | Management system, method and apparatus, and device and storage medium | |
KR20220028362A (en) | Apparatus for sharing data of vehicle and method thereof | |
CN113791842A (en) | Management method, device, equipment and storage medium | |
CN113791843A (en) | Execution method, device, equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |