CN117555569A - Method and device for updating vehicle scene and cloud platform - Google Patents

Method and device for updating vehicle scene and cloud platform Download PDF

Info

Publication number
CN117555569A
CN117555569A CN202311525180.0A CN202311525180A CN117555569A CN 117555569 A CN117555569 A CN 117555569A CN 202311525180 A CN202311525180 A CN 202311525180A CN 117555569 A CN117555569 A CN 117555569A
Authority
CN
China
Prior art keywords
scene
scenes
engine version
vehicle
configurable
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
Application number
CN202311525180.0A
Other languages
Chinese (zh)
Inventor
李白
钱卫锋
唐明明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Great Wall Motor Co Ltd
Original Assignee
Great Wall Motor Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Great Wall Motor Co Ltd filed Critical Great Wall Motor Co Ltd
Priority to CN202311525180.0A priority Critical patent/CN117555569A/en
Publication of CN117555569A publication Critical patent/CN117555569A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Navigation (AREA)

Abstract

The application provides a method, a device and a cloud platform for updating a vehicle scene, wherein the method is applied to the technical field of intelligent vehicles and comprises the following steps: responding to a scene synchronization request sent by a vehicle, judging whether the current scene engine version is the same as a target scene engine version, wherein the target scene engine version is the scene engine version which is stored by a cloud platform and is sent by the vehicle in the last time; under the condition that the current scene engine version is different from the target scene engine version, determining a target scene configuration file corresponding to the current scene engine version, wherein the target scene configuration file corresponds to a plurality of vehicle functions, and the target scene configuration file is used for enabling a vehicle to realize the plurality of vehicle functions based on the current scene engine version; and sending the target scene configuration file to the vehicle. The method can intelligently allocate the scene corresponding to the current scene engine version for the vehicle after the scene engine version in the vehicle is updated, and achieves the effect of intelligently synchronizing the scene engine version and the scene synchronization update.

Description

Method and device for updating vehicle scene and cloud platform
Technical Field
The present application relates to the technical field of intelligent vehicles, and more particularly, to a method, an apparatus and a cloud platform for updating a vehicle scene in the technical field of intelligent vehicles.
Background
In the vehicle industry, with the development of technology and the continuous update of internet technology, vehicle functions gradually tend to be intelligent.
In addition to the usual engine, a new concept, the scene engine, is proposed during the operation of the vehicle. A scene refers to the interaction process of a vehicle with a user, other traffic participants in a traffic environment, facilities, weather, etc., that is, the scene is composed of three major elements, human, vehicle, and environment. The scene engine is used for judging, analyzing and calculating the intention of the user based on the behavior of the user in the traveling process of the user, and actively pushing and executing the corresponding scene according to the intention of the user.
For a vehicle, each scene is closely related to the vehicle model and cabin version (or scene engine version) of the vehicle.
Currently, for a vehicle, after a cabin version of the vehicle is updated, a scene associated with the vehicle cannot be updated synchronously with the cabin version, so that the use experience of a user is affected.
Disclosure of Invention
The method and the device for updating the vehicle scene and the cloud platform can intelligently allocate the scene corresponding to the current scene engine version for the vehicle after the scene engine version in the vehicle is updated, so that the effect of intelligently synchronizing the scene engine version and the scene synchronization updating is achieved.
In a first aspect, a method of updating a vehicle scene is provided, the method comprising: responding to a scene synchronization request sent by a vehicle, judging whether a current scene engine version is the same as a target scene engine version, wherein the scene synchronization request comprises the current scene engine version and a vehicle identification code, and the target scene engine version is the scene engine version which is stored by a cloud platform and is sent by the vehicle in the last time; determining a target scene configuration file corresponding to the current scene engine version under the condition that the current scene engine version is different from the target scene engine version, wherein the target scene configuration file corresponds to a plurality of vehicle functions, and the target scene configuration file is used for enabling the vehicle to realize the plurality of vehicle functions based on the current scene engine version; and sending the target scene configuration file to the vehicle.
In the above technical solution, in a process of updating a scene engine version of a vehicle, the present application proposes a method for updating a scene of the vehicle, specifically, in response to a scene synchronization request sent by the vehicle, comparing a target scene engine version with a current scene engine version, and determining whether the two scene engine versions are the same. The scene synchronization request comprises a current scene engine version and a vehicle identification code. Under the condition that the two scene engines are different, the scene engine version of the vehicle is described to be updated, and at the moment, a corresponding target scene configuration file can be determined based on the current scene engine version and issued to the vehicle, so that the vehicle realizes the vehicle function corresponding to the current scene engine version. The process can intelligently synchronize the corresponding scene to the vehicle when the vehicle scene engine version is updated, and the timeliness of updating the vehicle scene is ensured.
With reference to the first aspect, in some possible implementations, the determining the target scene configuration file corresponding to the current scene engine version includes: determining a plurality of first scenes corresponding to the target scene engine version and a plurality of second scenes corresponding to the current scene engine version; determining a plurality of to-be-issued scenes corresponding to the current scene engine version according to the plurality of first scenes and the plurality of second scenes, or according to the plurality of first scenes, the current scene engine version and the target scene engine version, or according to the plurality of first scenes, the plurality of second scenes, the current scene engine version and the target scene engine version; and generating the target scene configuration file according to the multiple scenes to be issued.
In the above technical solution, a process how to obtain the target scene configuration file is provided, and particularly when two scene engine versions are different, firstly, the scenes corresponding to the two scene engine versions respectively can be determined, including a plurality of first scenes and a plurality of second scenes, so that the scope of scene synchronization can be rapidly positioned, and the efficiency of scene synchronization is improved. Further, through the plurality of first scenes and the plurality of second scenes, or according to the plurality of first scenes, the current scene engine version and the target scene engine version, or according to the plurality of first scenes, the plurality of second scenes, the current scene engine version and the target scene engine version, a plurality of to-be-issued scenes corresponding to the current scene engine version are determined, and corresponding target scene configuration files are generated, so that the determination of the target scene configuration files can be ensured, and the accuracy of issuing a vehicle scene is ensured by considering the difference between the current scene engine version and the target scene engine version.
With reference to the first aspect and the foregoing implementation manner, in some possible implementation manners, the scene types of the multiple to-be-delivered scenes include a fixed scene and a configurable scene, where the to-be-delivered scenes include a to-be-delivered fixed scene and a to-be-delivered configurable scene, the scene types are used to indicate whether the scene is configurable, the fixed scene is used to indicate that the scene is not configurable, the configurable scene is used to indicate that the scene is configurable, and the determining the multiple to-be-delivered scenes corresponding to the current scene engine version according to the multiple first scenes and the multiple second scenes, or according to the multiple first scenes, the current scene engine version and the target scene engine version includes: dividing the plurality of first scenes into a plurality of first fixed scenes and a plurality of first configurable scenes according to the scene type, and dividing the plurality of second scenes into a plurality of second fixed scenes and a plurality of second configurable scenes; determining a to-be-issued fixed scene corresponding to the current scene engine version according to the plurality of first fixed scenes and the plurality of second fixed scenes, wherein the to-be-issued fixed scene is used for enabling the vehicle to realize a preset vehicle function corresponding to the current scene engine version; and determining a to-be-issued configurable scene corresponding to the current scene engine version according to the first configurable scenes, the current scene engine version and the target scene engine version, or according to the first configurable scenes and the second configurable scenes, or according to the first configurable scenes, the second configurable scenes, the current scene engine version and the target scene engine version, wherein the to-be-issued configurable scene is used for enabling the vehicle to realize a configurable vehicle function corresponding to the current scene engine version.
In the above technical solution, in determining the to-be-issued scene, the present application may divide the to-be-issued scene into the to-be-issued fixed scene and the to-be-issued configurable scene according to different scene types. Based on the to-be-issued scenes under different scene types, the method and the device can divide a plurality of first scenes into a plurality of first fixed scenes and a plurality of first configurable scenes, and divide a plurality of second scenes into a plurality of second fixed scenes and a plurality of second configurable scenes. And further determining a fixed scene to be issued according to the plurality of first fixed scenes and the plurality of second fixed scenes. And determining the configurable scene to be issued by combining the first configurable scenes, the second configurable scenes, the current scene engine version and the target scene engine version. The scene to be issued is determined based on different scene types, so that the efficiency of issuing the scene is improved.
With reference to the first aspect and the foregoing implementation manner, in some possible implementation manners, the determining, according to the plurality of first fixed scenes and the plurality of second fixed scenes, a fixed scene to be issued corresponding to the current scene engine version includes: marking the storage states of the plurality of first fixed scenes as to be deleted, and marking the synchronization states of the plurality of first fixed scenes as not synchronized, wherein the storage states are used for indicating whether the cloud platform stores the plurality of first fixed scenes or not, and the synchronization states are used for indicating whether the vehicle synchronizes the storage states of the first fixed scenes with the cloud platform or not; generating a first deleting instruction according to the storage states of the first fixed scenes; transmitting the first deleting instruction to the vehicle so that the vehicle deletes the plurality of first fixed scenes according to the first deleting instruction; marking the storage states of the plurality of first fixed scenes as deleted and marking the synchronization states of the plurality of first fixed scenes as synchronized in response to the first feedback information; marking the synchronous state of the plurality of second fixed scenes as unsynchronized, and marking the use state of the plurality of second fixed scenes as enabled, wherein the use state is used for indicating whether the vehicle runs the vehicle functions corresponding to the plurality of second fixed scenes; for any one of the plurality of second fixed scenes, acquiring a first scene parameter corresponding to the second fixed scene, wherein the first scene parameter is used for representing positioning information and user identification when the second fixed scene is used; and determining the second fixed scene as the fixed scene to be issued under the condition that the first scene parameter is matched with the current scene parameter of the vehicle.
In the above technical solution, a specific manner of determining a fixed scene to be issued is provided. Firstly deleting a first fixed scene of the original vehicle end, and then carrying out scene parameter matching based on a second fixed scene corresponding to the current scene engine version to obtain a fixed scene to be issued. The above-mentioned process has avoided the conflict problem of issuing of original fixed scene and current fixed scene in the process of issuing on the one hand, on the other hand in the process of issuing, can also consider the application range of each kind of fixed scene, can guarantee the accuracy when issuing fixed scene and wait to issue the accurate application of fixed scene in the vehicle.
With reference to the first aspect and the foregoing implementation manner, in some possible implementation manners, the determining, according to the plurality of first configurable scenes, the current scene engine version, and the target scene engine version, or according to the plurality of first configurable scenes and the plurality of second configurable scenes, or according to the plurality of first configurable scenes, the plurality of second configurable scenes, the current scene engine version, and the target scene engine version, a to-be-issued configurable scene corresponding to the current scene engine version includes: determining at least one first unconfigured scene from the plurality of first configurable scenes according to scene configuration states, wherein the scene configuration states are used for indicating whether the plurality of first configurable scenes are configured or not, and the scene configuration states of the plurality of second configurable scenes are all unconfigured scenes; marking the storage state of the at least one first unconfigured scene as to be deleted; generating a second deleting instruction according to the storage state of the at least one first unconfigured scene; transmitting the second deleting instruction to the vehicle so that the vehicle deletes the at least one first unconfigured scene according to the second deleting instruction; marking a storage state of the at least one first unconfigured scene as deleted in response to the second feedback information; for any one of the plurality of second configurable scenes, acquiring second scene parameters corresponding to the second configurable scene; and determining the second configurable scene as the to-be-issued unconfigured scene under the condition that the second scene parameter is matched with the current scene parameter of the vehicle.
In the above technical solution, a method for specifically determining to-be-issued unconfigured scenes is provided. Firstly deleting a first unconfigured scene of the original vehicle end, and then carrying out scene parameter matching based on a second unconfigured scene corresponding to the current scene engine version to obtain an unconfigured scene to be issued. The method and the device avoid the conflict between the original unconfigured scenes in the vehicle and the current unconfigured scenes in the issuing process, and also consider the use range of each unconfigured scene in the issuing process, so that the accuracy of issuing the unconfigured scenes and the accurate application of the unconfigured scenes in the vehicle can be ensured.
With reference to the first aspect and the foregoing implementation manner, in some possible implementation manners, the determining, according to the first plurality of configurable scenes, the current scene engine version, and the target scene engine version, or according to the first plurality of configurable scenes and the second plurality of configurable scenes, or according to the first plurality of configurable scenes, the second plurality of configurable scenes, the current scene engine version, and the target scene engine version, a to-be-issued configurable scene corresponding to the current scene engine version further includes: determining at least one first configured scene from the plurality of first configurable scenes according to the scene configuration state; marking a synchronization status of the at least one first configured scene as not synchronized if the current scene engine version is higher than the target scene engine version; for any one of the at least one first configured scene, acquiring a third scene parameter corresponding to the first configured scene; and determining the first configured scene as the to-be-issued configured scene under the condition that the third scene parameter and the current scene parameter are matched.
In the above technical solution, a step of determining to issue a configured scene when the current scene engine version is higher than the target scene engine version is provided. The current scene engine version is higher than the target scene engine version, which indicates that the scene engine version performs upgrading operation, and the current scene engine version can support all original configured scenes. Therefore, under the condition, the method and the device only need to resynchronize the original first configured scene, so that the problem that vehicles are not synchronized in time after the original first configured scene is changed again by a user is avoided, and the real-time update of the first configured scene is ensured.
With reference to the first aspect and the foregoing implementation manner, in some possible implementation manners, the method further includes: under the condition that the current scene engine version is lower than the target scene engine version, for any one of the at least one first configured scene, acquiring a first scene signal corresponding to the first configured scene, wherein the first scene signal is used for representing the data transmission state of the first configured scene in the running process; acquiring a plurality of second scene signals corresponding to the plurality of second configurable scenes; determining whether the plurality of second scene signals includes the first scene signal; configuring a synchronization state of the first configured scene as unsynchronized in a case where the plurality of second scene signals includes the first scene signal; and determining the first configured scene as the to-be-issued configured scene.
In the above technical solution, a step of determining to issue a configured scene when the current scene engine version is higher than the target scene engine version is provided. The current scene engine version is lower than the target scene engine version, which indicates that the scene engine version performs degradation operation, and the current scene engine version does not necessarily completely support all the original configured scenes. In this case, therefore, the present application needs to match the first scene signal corresponding to the original first configured scene with the plurality of second scene signals corresponding to the plurality of second configurable scenes to determine whether the plurality of second scene signals include the first scene signal. When included, the representation of the current scene engine version is capable of supporting the operation of a first configured scene, which is determined to be the configured scene to be delivered. When the process determines the configured scene to be issued, the compatibility problem between versions is considered, so that the determination process of the configured scene to be issued is more accurate.
With reference to the first aspect and the foregoing implementation manner, in some possible implementation manners, the determining, in response to a scene synchronization request sent by a vehicle, whether a current scene engine version is the same as a target scene engine version includes: responding to the scene synchronization request, and determining a target vehicle type corresponding to the vehicle; determining a preset scene engine version corresponding to the target vehicle type; matching the preset scene engine version with the current scene engine version, and judging whether the current scene engine version is legal or not; and under the condition that the current scene engine version is legal, judging whether the current scene engine version is identical with the target scene engine version.
In the technical scheme, when judging whether the current scene engine version and the target scene engine version are the same, firstly, the legitimacy judgment is carried out on the current scene engine version, and on one hand, the identity verification equivalent to the scene engine version for the vehicle can ensure the safety of the vehicle and can be timely found when the scene engine version is illegal. On the other hand, for the cloud platform, the security of the cloud platform storage can be ensured. Therefore, the validity verification can ensure the safety problem in the interaction process of the vehicle and the cloud platform.
In a second aspect, there is provided an apparatus for updating a vehicle scene, the apparatus comprising: the judging module is used for responding to a scene synchronization request sent by a vehicle and judging whether the current scene engine version is the same as a target scene engine version or not, wherein the scene synchronization request comprises the current scene engine version and a vehicle identification code, and the target scene engine version is the scene engine version which is stored by a cloud platform and is sent by the vehicle in the last time; a determining module, configured to determine, when the current scene engine version is different from the target scene engine version, a target scene configuration file corresponding to the current scene engine version, where the target scene configuration file corresponds to a plurality of vehicle functions, and the target scene configuration file is configured to enable the vehicle to implement the plurality of vehicle functions based on the current scene engine version; and the sending module is used for sending the target scene configuration file to the vehicle.
With reference to the second aspect, in some possible implementations, the determining module is specifically configured to: determining a plurality of first scenes corresponding to the target scene engine version and a plurality of second scenes corresponding to the current scene engine version; determining a plurality of to-be-issued scenes corresponding to the current scene engine version according to the plurality of first scenes and the plurality of second scenes, or according to the plurality of first scenes, the current scene engine version and the target scene engine version, or according to the plurality of first scenes, the plurality of second scenes, the current scene engine version and the target scene engine version; and generating the target scene configuration file according to the multiple scenes to be issued.
With reference to the second aspect and the foregoing implementation manner, in some possible implementation manners, the scene types of the multiple to-be-issued scenes include a fixed scene and a configurable scene, where the to-be-issued scenes include a to-be-issued fixed scene and a to-be-issued configurable scene, the scene types are used to indicate whether the scene is configurable, the fixed scene is used to indicate that the scene is not configurable, the configurable scene is used to indicate that the scene is configurable, and the determining module is further configured to: dividing the plurality of first scenes into a plurality of first fixed scenes and a plurality of first configurable scenes according to the scene type, and dividing the plurality of second scenes into a plurality of second fixed scenes and a plurality of second configurable scenes; determining a to-be-issued fixed scene corresponding to the current scene engine version according to the plurality of first fixed scenes and the plurality of second fixed scenes, wherein the to-be-issued fixed scene is used for enabling the vehicle to realize a preset vehicle function corresponding to the current scene engine version; and determining a to-be-issued configurable scene corresponding to the current scene engine version according to the first configurable scenes, the current scene engine version and the target scene engine version, or according to the first configurable scenes and the second configurable scenes, or according to the first configurable scenes, the second configurable scenes, the current scene engine version and the target scene engine version, wherein the to-be-issued configurable scene is used for enabling the vehicle to realize a configurable vehicle function corresponding to the current scene engine version.
With reference to the second aspect and the foregoing implementation manner, in some possible implementation manners, the determining module is further configured to: marking the storage states of the plurality of first fixed scenes as to be deleted, and marking the synchronization states of the plurality of first fixed scenes as not synchronized, wherein the storage states are used for indicating whether the cloud platform stores the plurality of first fixed scenes or not, and the synchronization states are used for indicating whether the vehicle synchronizes the storage states of the first fixed scenes with the cloud platform or not; generating a first deleting instruction according to the storage states of the first fixed scenes; transmitting the first deleting instruction to the vehicle so that the vehicle deletes the plurality of first fixed scenes according to the first deleting instruction; marking the storage states of the plurality of first fixed scenes as deleted and marking the synchronization states of the plurality of first fixed scenes as synchronized in response to the first feedback information; marking the synchronous state of the plurality of second fixed scenes as unsynchronized, and marking the use state of the plurality of second fixed scenes as enabled, wherein the use state is used for indicating whether the vehicle runs the vehicle functions corresponding to the plurality of second fixed scenes; for any one of the plurality of second fixed scenes, acquiring a first scene parameter corresponding to the second fixed scene, wherein the first scene parameter is used for representing positioning information and user identification when the second fixed scene is used; and determining the second fixed scene as the fixed scene to be issued under the condition that the first scene parameter is matched with the current scene parameter of the vehicle.
With reference to the second aspect and the foregoing implementation manner, in some possible implementation manners, the determining module is specifically configured to: determining at least one first unconfigured scene from the plurality of first configurable scenes according to scene configuration states, wherein the scene configuration states are used for indicating whether the plurality of first configurable scenes are configured or not, and the scene configuration states of the plurality of second configurable scenes are all unconfigured scenes; marking the storage state of the at least one first unconfigured scene as to be deleted; generating a second deleting instruction according to the storage state of the at least one first unconfigured scene; transmitting the second deleting instruction to the vehicle so that the vehicle deletes the at least one first unconfigured scene according to the second deleting instruction; marking a storage state of the at least one first unconfigured scene as deleted in response to the second feedback information; for any one of the plurality of second configurable scenes, acquiring second scene parameters corresponding to the second configurable scene; and determining the second configurable scene as the to-be-issued unconfigured scene under the condition that the second scene parameter is matched with the current scene parameter of the vehicle.
With reference to the second aspect and the foregoing implementation manner, in some possible implementation manners, the determining module is further configured to: determining at least one first configured scene from the plurality of first configurable scenes according to the scene configuration state; marking a synchronization status of the at least one first configured scene as not synchronized if the current scene engine version is higher than the target scene engine version; for any one of the at least one first configured scene, acquiring a third scene parameter corresponding to the first configured scene; and determining the first configured scene as the to-be-issued configured scene under the condition that the third scene parameter and the current scene parameter are matched.
With reference to the second aspect and the foregoing implementation manner, in some possible implementation manners, the apparatus further includes: the first processing module is used for acquiring a first scene signal corresponding to any one of the at least one first configured scene under the condition that the current scene engine version is lower than the target scene engine version, wherein the first scene signal is used for representing the data transmission state of the first configured scene in the running process; acquiring a plurality of second scene signals corresponding to the plurality of second configurable scenes; determining whether the plurality of second scene signals includes the first scene signal; configuring a synchronization state of the first configured scene as unsynchronized in a case where the plurality of second scene signals includes the first scene signal; and determining the first configured scene as the to-be-issued configured scene.
With reference to the second aspect and the foregoing implementation manner, in some possible implementation manners, the determining module is specifically configured to: responding to the scene synchronization request, and determining a target vehicle type corresponding to the vehicle; determining a preset scene engine version corresponding to the target vehicle type; matching the preset scene engine version with the current scene engine version, and judging whether the current scene engine version is legal or not; and under the condition that the current scene engine version is legal, judging whether the current scene engine version is identical with the target scene engine version.
In a third aspect, a cloud platform is provided that includes a memory and a processor. The memory is for storing executable program code, and the processor is for calling and running the executable program code from the memory, so that the cloud platform performs the method of the first aspect or any of the possible implementation manners of the first aspect.
In a fourth aspect, there is provided a computer program product comprising: computer program code which, when run on a computer, causes the computer to perform the method of the first aspect or any one of the possible implementations of the first aspect.
In a fifth aspect, a computer readable storage medium is provided, the computer readable storage medium storing computer program code which, when run on a computer, causes the computer to perform the method of the first aspect or any one of the possible implementations of the first aspect.
Drawings
Fig. 1 is a schematic view of a scenario of interaction between a vehicle and a cloud platform according to an embodiment of the present application;
FIG. 2 is a schematic flow chart of a method of updating a vehicle scene provided by an embodiment of the present application;
fig. 3 is a schematic view of a first plurality of scenes provided in an embodiment of the present application;
FIG. 4 is a schematic flow chart of a method for scene update provided in an embodiment of the present application
Fig. 5 is a schematic view of a configuration scenario provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of an apparatus for updating a vehicle scene according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of a cloud platform according to an embodiment of the present application.
Detailed Description
The technical solutions in the present application will be clearly and thoroughly described below with reference to the accompanying drawings. Wherein, in the description of the embodiments of the present application, "/" means or is meant unless otherwise indicated, for example, a/B may represent a or B: the text "and/or" is merely an association relation describing the associated object, and indicates that three relations may exist, for example, a and/or B may indicate: the three cases where a exists alone, a and B exist together, and B exists alone, and in addition, in the description of the embodiments of the present application, "plural" means two or more than two.
The terms "first," "second," and the like, are used below for descriptive purposes only and are not to be construed as implying or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature.
Before describing the schemes of the embodiments of the present application, the terms related to the embodiments of the present application will be explained first.
An Engine (Engine) is a core component of a development program or system on an electronic platform, and in general, is a supporting part of a program or a suite of systems.
The scene engine is based on the deep fusion of vehicle data, user data, environment data, ecological data, traffic data and the like, and utilizes an artificial intelligence (Artificial Intelligence, AI) algorithm to pre-judge the next step requirement of a vehicle owner in the driving period to serve the required core component, which is a necessary premise for the intelligent cabin operating system to be applicable. The intelligent cabin operating system mainly provides a control platform for vehicle-mounted information entertainment service and in-vehicle man-machine interaction, and is an operating environment for realizing cabin intellectualization and multisource information fusion of vehicles.
For vehicles, a scene refers to a user usage scene, specifically, a comprehensive interaction process of the vehicle with the user, other traffic participants in a traffic environment, facilities, weather, illumination, roads, and the like. In popular terms, a scene is composed of three major classes of elements, human, vehicle and environment.
The scene engine version, also called as intelligent cabin scene engine version or cabin engine version, is a software version of the scene engine at the cabin end (or vehicle end), that is, identification information corresponding to the scene engine in the vehicle. Different scene engine versions can support vehicles to realize different scenes so as to achieve the effect of providing intelligent experience and service for users.
Currently, in the related art, when a user upgrades a scene engine version in a vehicle (for example, over the air upgrade (Over the Air Technology, OTA)) or replaces a car, a scene in the vehicle cannot be updated in real time following a change of the scene engine version, resulting in mismatching of the scene engine version and the scene.
Based on the above, the embodiment of the application provides a method for updating the vehicle scene, which can intelligently allocate the scene corresponding to the current scene engine version to the vehicle after the scene engine version in the vehicle is updated, so that the effect of intelligently synchronizing the scene engine version and the scene synchronization update is realized.
Fig. 1 is a schematic view of a scenario of interaction between a vehicle and a cloud platform according to an embodiment of the present application.
Illustratively, as shown in FIG. 1, cloud platform 101 and vehicle 102 may be communicatively coupled via a telecommunications module in vehicle 102, such as a Telematics Box (T-Box) in vehicle 102.
It should be appreciated that different vehicle models correspond to different versions of the scene engine. For the same vehicle model, different scene engine versions are corresponding with the continuous perfection and updating of the scene engine functions. For example, the scene engine version (or scene engine version identifier) corresponding to the vehicle type a is Ax, and the identifier of the scene engine version corresponding to the vehicle type b is Bx. x represents different levels of scene engine versions. Based on the above, the version of the scene engine corresponding to the vehicle model a can be A1, A2, A3 and the like; the version of the scene engine corresponding to the vehicle type B can be B1, B2, B3 and the like.
Based on the principle, the configurator can pre-configure the scene engine versions corresponding to different vehicle types.
In this embodiment of the present application, the cloud platform 101 is configured to store a plurality of scenario engine versions corresponding to each pre-configured vehicle type. In addition, based on the different scenes corresponding to the different scene engine versions, the cloud platform 101 also stores a plurality of scenes corresponding to each scene engine version.
Upon requesting an update or synchronization of the scene, the vehicle 102 is configured to send the current scene engine version of the vehicle 102 and a vehicle identification code (Vehicle Identification Number, VIN) corresponding to the vehicle 102 to the cloud platform 101.
The cloud platform 101 is configured to match a plurality of scenes corresponding to the current scene engine version for the vehicle 102 after receiving the current scene engine version and the VIN sent by the vehicle 102, and send the scenes to the vehicle 102, so that the vehicle 102 realizes a vehicle function under the corresponding scene based on the current scene engine version.
After the application scenario of the embodiment of the present application is introduced, a method for updating a vehicle scenario provided by the embodiment of the present application is initially described below.
Fig. 2 is a schematic flow chart of a method for updating a vehicle scene provided in an embodiment of the present application. It should be appreciated that the method may be applied to the scenario shown in fig. 1, and in particular to the cloud platform 101 in fig. 1.
Illustratively, as shown in FIG. 2, the method 200 includes:
201, in response to a scene synchronization request sent by a vehicle, judging whether a current scene engine version is the same as a target scene engine version, wherein the scene synchronization request comprises the current scene engine version and a vehicle identification code, and the target scene engine version is the scene engine version which is stored by a cloud platform and is sent by the vehicle in the last time.
It should be appreciated that to ensure that the scene engine version corresponds to the scene each time the vehicle is in use. In the embodiment of the application, after each time the vehicle is started, a scene synchronization request can be sent to the cloud platform through the T-Box in the vehicle, so that the cloud platform matches a corresponding scene for the vehicle based on the current scene engine version. Wherein the scene synchronization request includes a current scene engine version and a VIN code. In one aspect, the vehicle sends the current scene engine version to inform the cloud platform of the scene engine version of the current vehicle. On the other hand, the vehicle sends VIN code to inform the cloud platform of the identity information of the current vehicle. Because the VIN code of each vehicle is unique, the cloud platform can determine which vehicle is currently the vehicle based on the VIN code of the vehicle.
The cloud platform responds to the scene synchronization request, and firstly, a target scene engine version of the vehicle stored by the cloud platform is determined according to the VIN code, wherein the target scene engine version is the scene engine version (namely, the previous scene engine version) of the vehicle which is stored by the cloud platform and is sent (reported) in the previous time.
It should be appreciated that each time a vehicle is started, a cloud platform synchronization scenario is requested. Based on the above, each time the cloud platform receives a scene engine version, the stored target scene engine version can be updated, so that the target scene engine version updated each time is guaranteed to be the previous scene engine version.
After the cloud platform determines the target scene engine version corresponding to the vehicle, it may first compare whether the current scene engine version is the same as the target scene engine version to determine whether the scene engine version of the vehicle has been updated (e.g., upgraded and downgraded).
It should also be appreciated that in order to ensure the legitimacy of the current scene engine sent by the vehicle, the lawless persons are prevented from obtaining some illegal scene engines based on illegal means to steal the key information of the vehicle. When judging whether the two scene engine versions are identical, the cloud platform firstly judges the legitimacy of the current scene engine version, and when judging that the current scene engine version is legal, judges whether the two scene engine versions are identical.
In one possible implementation, in response to a scene synchronization request sent by a vehicle, determining whether a current scene engine version is the same as a target scene engine version includes:
responding to a scene synchronization request, and determining a target vehicle type corresponding to the vehicle;
determining a preset scene engine version corresponding to a target vehicle type;
matching the preset scene engine version with the current scene engine version, and judging whether the current scene engine version is legal or not;
and under the condition that the current scene engine version is legal, judging whether the current scene engine version is identical with the target scene engine version.
Specifically, all the scene engine versions of each vehicle corresponding to the vehicle type are stored in the cloud platform and are all legal scene engine versions. When judging whether the current scene engine version is legal or not, the cloud platform can firstly determine a target vehicle type corresponding to the vehicle to obtain all legal scene engine versions (namely preset scene engine versions) under the target vehicle type, and then judge whether the current scene engine version is legal or not through matching.
For example, under the assumption that the vehicle corresponds to the target vehicle type, the preset scene engine versions are A1, A2 and A3 respectively. The target scene engine version of the vehicle stored by the cloud platform is A2, and the current scene engine version is A1.1. And the cloud platform determines that the current scene engine version is illegal if the current scene engine version is not successfully matched with the preset scene engine version by matching the current scene engine version with the preset scene engine version. And under the condition that the current scene engine version is illegal, ending the scene synchronous updating flow.
And assuming that the current scene engine version is A3, the cloud platform matches the current scene engine version with the preset scene engine version, and if the matching is successful, the cloud platform determines that the current scene engine version is legal.
And when the cloud platform determines that the current scene engine version is legal, judging whether the current scene engine version is identical to the target scene engine version or not.
For example, under the assumption that the vehicle corresponds to the target vehicle type, the preset scene engine versions are A1, A2 and A3 respectively. And if the target scene engine version of the vehicle stored by the cloud platform is A2 and the current scene engine version is A1, the cloud platform determines that the current scene engine version is different from the target scene engine version.
In another example, assume that the preset scene engine versions are A1, A2, and A3, respectively, in the target vehicle model corresponding to the vehicle. And if the target scene engine version of the vehicle stored by the cloud platform is A2 and the current scene engine version is A2, the cloud platform determines that the current scene engine version is the same as the target scene engine version.
In the technical scheme, when judging whether the current scene engine version and the target scene engine version are the same, firstly, the legitimacy judgment is carried out on the current scene engine version, and on one hand, the identity verification equivalent to the scene engine version for the vehicle can ensure the safety of the vehicle and can be timely found when the scene engine version is illegal. On the other hand, for the cloud platform, the security of the cloud platform storage can be ensured. Therefore, the validity verification can ensure the safety problem in the interaction process of the vehicle and the cloud platform.
202, determining a target scene configuration file corresponding to the current scene engine version when the current scene engine version is different from the target scene engine version, wherein the target scene configuration file corresponds to a plurality of vehicle functions, and the target scene configuration file is used for enabling the vehicle to realize the plurality of vehicle functions based on the current scene engine version.
When the cloud platform determines that the current scene engine version is different from the target scene engine version through step 201, it is explained that the scene engine version is upgraded or downgraded. In this case, in order to match the scene in the vehicle with the current scene engine version, the cloud platform needs to determine the corresponding target scene configuration file based on the current scene engine version of the vehicle, so as to send the target scene configuration file to the vehicle to complete the scene synchronization update.
The target scene profile may be understood as a form in which the cloud platform sends a scene to the vehicle. After the vehicle receives the target scene configuration file, the target scene configuration file can be operated, so that the vehicle can realize a plurality of corresponding vehicle functions, such as starting an air conditioner at regular time, playing music at regular time and the like, according to the current scene engine version.
In a possible implementation manner, determining a target scene configuration file corresponding to a current scene engine version includes:
Determining a plurality of first scenes corresponding to the target scene engine version and a plurality of second scenes corresponding to the current scene engine version;
determining a plurality of to-be-issued scenes corresponding to the current scene engine version according to the plurality of first scenes and the plurality of second scenes, or according to the plurality of first scenes, the current scene engine version and the target scene engine version, or according to the plurality of first scenes, the plurality of second scenes, the current scene engine version and the target scene engine version;
and generating a target scene configuration file according to the multiple scenes to be issued.
When the target scene configuration file is issued, the cloud platform can determine the scenes corresponding to the two scene engine versions based on the two different scene engine versions and the VIN code of the vehicle. Further, the cloud platform obtains a plurality of scenes to be issued corresponding to the current scene engine version through the respective corresponding scenes, and generates a target configuration file.
It should be appreciated that the scene during operation in a vehicle mainly comprises two parts, respectively a condition and an execution action. The conditions indicate under what conditions the scene may be triggered, and the execution actions indicate how the vehicle should run when the scene is triggered. For example, a certain scene may specifically be: in the morning 10:00, air conditioning in the vehicle is turned on and the temperature is adjusted to 26 ℃ and the mode is a cooling mode. In the above example, 10:00 a.m. can be regarded as a condition of the scene, and the operation of the scene can be regarded as an execution operation of the scene by turning on the air conditioner in the vehicle and adjusting the temperature to 26 ℃ and the mode to the cooling mode.
Optionally, the scene types of the scene include a fixed scene and a configurable scene. The fixed scene indicates that the scene cannot be configured, and is a scene set in advance. The configurable scenario indicates that the user may change the scenario by himself, for example, modifying the execution conditions in the scenario.
A fixed scenario may be considered to be a vehicle-critical service that a vehicle manufacturer tends to offer to a user, so such a scenario may generally be understood as a generic scenario of vehicles and does not support the user to make changes. For example, when the temperature in the vehicle is lower than a preset temperature, an air conditioner in the vehicle is turned on. Or when the concentration of PM2.5 in the vehicle is greater than or equal to the preset concentration, the vehicle window is automatically closed. Or when the rainfall is larger than the preset rainfall, automatically starting the windshield wiper and the like.
The configurable scene is a scene which can be set by a user according to the requirement, and is not necessary for running of the vehicle, namely a custom scene. For example, music is turned on at a fixed time. Or reminding the user to slow down when the vehicle speed is greater than 150 km/h. The configurable scenario may be considered as some alternative service provided by the user for better service during the travel of the vehicle.
Since the target scene engine version and the current scene engine version are different, there is also a difference in the scene types that can be supported by the target scene engine version and the current scene engine version. Therefore, when determining a plurality of to-be-issued scenes corresponding to the current scene engine version, the cloud platform may first determine, according to the scene engine version, a plurality of first scenes corresponding to the target scene engine version and a plurality of second scenes corresponding to the current scene engine version, respectively.
It should be appreciated that for a plurality of first scenes, some are fixed scenes and some are configurable scenes. When a user is using a vehicle based on a target scene engine version, it is possible to configure and alter the configurable scene based on his driving habits and needs and synchronize to the cloud platform. Correspondingly, in the plurality of second scenes, a part of the second scenes is also a fixed scene, and a part of the second scenes is a configurable scene. However, since the present issuing process is not completed yet, the user cannot configure the configurable scene in the plurality of second scenes. In the issuing process, on one hand, for a fixed scene, the cloud platform needs to issue the fixed scene corresponding to the engine version of the current scene to the vehicle, and on the other hand, for a configurable scene, the cloud platform needs to combine the configuration of the users in a plurality of first scenes, so as to keep the driving habit of the users. Therefore, the essence of the present issuing process is to issue the fixed scenes in the second scenes to the vehicle, and issue the configurable scenes which are already configured by the user and can be supported by the current scene engine version in the first scenes to the vehicle by combining the version levels of the current scene engine version and the target scene engine version, wherein the two scenes form a plurality of to-be-issued scenes corresponding to the current scene engine version.
Illustratively, assume that the current scene engine version is A2 and the target scene engine version is A3. The cloud platform determines that the first scenes corresponding to the target scene engine version A3 are 60 and the second scenes corresponding to the current scene engine version are 50 through matching VIN codes, the cloud platform can determine that the scene types are part of fixed scenes from the 50 second scenes based on the 60 first scenes and the 50 second scenes, and determine that the scene types are configurable scenes from the 60 first scenes, the current scene engine version can support operation of the configurable scenes, the two part scenes form to-be-issued scenes corresponding to the current scene engine version A2, and then the target scene configuration file corresponding to the current scene engine version is generated based on a plurality of to-be-issued scenes.
In the above technical solution, a process how to obtain the target scene configuration file is provided, and particularly when two scene engine versions are different, firstly, the scenes corresponding to the two scene engine versions respectively can be determined, including a plurality of first scenes and a plurality of second scenes, so that the scope of scene synchronization can be rapidly positioned, and the efficiency of scene synchronization is improved. Further, through the plurality of first scenes and the plurality of second scenes, or according to the plurality of first scenes, the current scene engine version and the target scene engine version, or according to the plurality of first scenes, the plurality of second scenes, the current scene engine version and the target scene engine version, a plurality of to-be-issued scenes corresponding to the current scene engine version are determined, and corresponding target scene configuration files are generated, so that the determination of the target scene configuration files can be ensured, and the accuracy of issuing a vehicle scene is ensured by considering the difference between the current scene engine version and the target scene engine version.
Based on the difference of the scene types, when determining the to-be-issued scene, the to-be-issued fixed scene and the to-be-issued configurable scene can be separately determined according to different scene types, and the to-be-issued fixed scene and the to-be-issued configurable scene form the to-be-issued scene in the embodiment of the application.
In a possible implementation manner, determining, according to the first scenes and the second scenes, or according to the first scenes, the current scene engine version, and the target scene engine version, or according to the first scenes, the second scenes, the current scene engine version, and the target scene engine version, a plurality of to-be-issued scenes corresponding to the current scene engine version includes:
dividing the plurality of first scenes into a plurality of first fixed scenes and a plurality of first configurable scenes according to scene types, and dividing the plurality of second scenes into a plurality of second fixed scenes and a plurality of second configurable scenes;
determining a fixed scene to be issued corresponding to the current scene engine version according to the first fixed scenes and the second fixed scenes, wherein the fixed scene to be issued is used for enabling the vehicle to realize a preset vehicle function corresponding to the current scene engine version;
And determining a configurable scene to be issued corresponding to the current scene engine version according to the first configurable scenes, the current scene engine version and the target scene engine version, or determining a configurable scene to be issued corresponding to the current scene engine version according to the first configurable scenes and the second configurable scenes, or determining a configurable scene to be issued corresponding to the current scene engine version according to the first configurable scenes, the second configurable scenes, the current scene engine version and the target scene engine version, wherein the configurable scene to be issued is used for enabling the vehicle to realize a configurable vehicle function corresponding to the current scene engine version.
Based on the two different scene types, after obtaining the first scenes and the second scenes, the cloud platform may pre-classify the first scenes and the second scenes based on the scene types to obtain the first fixed scenes and the first configurable scenes, and the second fixed scenes and the second configurable scenes.
The classification of the plurality of first scenes will be described below taking the plurality of first scenes as an example.
Fig. 3 is a schematic view of a plurality of first scenes provided in an embodiment of the present application.
For example, as shown in fig. 3, assuming that the VIN code of the current vehicle is "xxxxx", the cloud platform determines, based on the VIN code of the vehicle, a target scene engine version of the vehicle, and a plurality of first scenes corresponding to the target scene current scene engine version, as shown in fig. 3, where the number of first scenes is 5. Each first scene corresponds to a scene identification number (Identity Document, ID), a scene name and a scene type, the scene name can be understood as a summary of functions that can be implemented by the scene, and the scene ID can be understood as an identification of the scene. The 5 first scenes are from top to bottom, and the scene types are as follows: a fixed scene, a configurable scene, and a configurable scene.
Based on the scene types of the 5 first scenes, the cloud platform may divide the 5 first scenes into 2 fixed scenes and 3 configurable scenes, that is, a plurality of first fixed scenes and a plurality of second configurable scenes in the embodiment of the present application.
Similarly, the cloud platform may also divide the plurality of second scenes corresponding to the current scene engine version into a plurality of second fixed scenes and a plurality of second configurable scenes based on the same manner.
Based on the obtained different scene types, the cloud platform can perform classified delivery, namely, a fixed scene to be delivered and a configurable scene to be delivered are respectively obtained.
In the issuing process, the fixed scene is a scene which can not be configured by the user, so that the problem of considering the use habit of the user is not involved. Therefore, when the fixed scene to be issued is determined, the fixed scene to be issued corresponding to the current scene engine version is matched for the vehicle only according to the current scene engine version and the target scene engine version.
In a possible implementation manner, in determining a to-be-issued fixed scene corresponding to a current scene engine version according to a plurality of first fixed scenes and a plurality of second fixed scenes, the method includes:
marking the storage states of the plurality of first fixed scenes as to-be-deleted, marking the synchronization states of the plurality of first fixed scenes as unsynchronized, wherein the storage states are used for indicating whether the cloud platform stores the plurality of first fixed scenes, and the synchronization states are used for indicating whether the vehicle synchronizes the storage states of the first fixed scenes with the cloud platform;
Generating a first deleting instruction according to the storage states of the plurality of first fixed scenes;
transmitting a first deleting instruction to the vehicle so that the vehicle deletes a plurality of first fixed scenes according to the first deleting instruction;
marking a storage state of the plurality of first fixed scenes as deleted and a synchronization state of the plurality of first fixed scenes as synchronized in response to the first feedback information;
marking the synchronous state of the plurality of second fixed scenes as unsynchronized, and marking the use state of the plurality of second fixed scenes as enabled, wherein the use state is used for indicating whether the vehicle runs the vehicle function corresponding to the plurality of second fixed scenes;
for any one of a plurality of second fixed scenes, acquiring first scene parameters corresponding to the second fixed scenes, wherein the first scene parameters are used for representing positioning information and user identification when the second fixed scenes are used;
and under the condition that the first scene parameter is matched with the current scene parameter of the vehicle, determining the second fixed scene as the fixed scene to be issued.
Before the vehicle is not issued, the fixed scene stored by the vehicle is still the fixed scene corresponding to the last scene engine version, namely a plurality of first fixed scenes. Therefore, when determining the fixed scene to be issued, in order to ensure that the fixed scene to be issued does not collide with the fixed scene corresponding to the previous scene engine version after being issued to the vehicle, the cloud platform can control the vehicle to delete the original multiple first fixed scenes first, and then determine the fixed scene to be issued corresponding to the vehicle based on the multiple second fixed scenes corresponding to the current scene engine version.
When the vehicle is controlled to delete the plurality of first fixed scenes, the cloud platform may configure the storage states of the plurality of first fixed scenes to be deleted first, so as to indicate that the plurality of first fixed scenes are fixed scenes that need to be deleted by the vehicle. Meanwhile, the cloud platform can configure the synchronous state of the plurality of first fixed scenes to be unsynchronized, and the purpose of marking the synchronous state is to enable the cloud platform to timely acquire the storage state of the plurality of first fixed scenes deleted by the vehicle, and after the plurality of first fixed scenes are deleted by the vehicle, the synchronous state can be correspondingly switched to synchronized.
After the marking is completed, the cloud platform generates a first deleting instruction according to the storage states of the plurality of first fixed scenes and sends the first deleting instruction to the vehicle. The vehicle deletes the plurality of first fixed scenes in response to the first deletion instruction. After the deletion, the vehicle may generate first feedback information to inform the cloud platform that the plurality of first fixed scenes have been deleted based on the storage state in which the plurality of first fixed scenes have been deleted. After the cloud platform receives the first feedback information, marking the storage states of the first fixed scenes as deleted, marking the synchronization states of the first fixed scenes as synchronized, and then physically deleting the first fixed scenes stored by the cloud platform, namely deleting the first fixed scenes from a scene database of the cloud platform.
By way of example, assume that the number of the current plurality of first fixed scenes is 5 and the number of the plurality of second fixed scenes is 7. The cloud platform can firstly mark the storage states of the 5 first fixed scenes as deleted at the local end, mark the synchronous states as unsynchronized, generate a first deleting instruction according to the storage states of the 5 first fixed scenes, and send the first deleting instruction to the vehicle through the T-Box. After the vehicle receives the first deleting instruction, deleting 5 first fixed scenes at the vehicle end, and then sending the deleted information of the 5 first fixed scenes to the cloud platform in the form of first feedback information. And the cloud platform responds to the first feedback information, marks the storage states of the 5 first fixed scenes of the local end of the cloud platform as deleted, and marks the synchronous states as synchronized.
After the deletion process is completed, the cloud platform may determine, based on the plurality of second fixed scenes, a fixed scene to be issued. The synchronization status of the plurality of second fixed scenes is first marked as unsynchronized and the usage status of the plurality of second fixed scenes is marked as enabled. The purpose of marking the synchronous state is to mark that a plurality of second fixed scenes are not issued to the vehicle at present, and the purpose of marking the using state is because in the embodiment of the application, the fixed scenes are required to be opened all by default, so that the vehicle can provide basic vehicle functions for a user conveniently.
It should be understood that in the configuration process, based on different usage conditions and application ranges of the scenes, a configuration personnel can preset the release (or applicable) range (mainly referring to positioning information when in use) and applicable user identification of each scene. For example, the a scene is: when the driver is female, the fragrance system is controlled to release the fragrance of the preset fragrance. The user identifier applicable to the scene A is the female driver. For another example, the scenario B may be used in beijing, and the positioning information applicable to the scenario B is beijing.
Therefore, when determining that the fixed scene is to be issued, after the synchronization state and the usage state of the plurality of second fixed scenes are marked, the cloud platform can be realized by the current scene parameters of the vehicle and the first scene parameters corresponding to the second fixed scenes for any one of the plurality of second fixed scenes.
Optionally, the scene parameters include at least one of location information when the scene is used, user identification, and the user identification includes age, gender, weight, facial status, and the like of the user. The user here mainly refers to the driver in the vehicle.
For example, for a first scene parameter corresponding to any second fixed scene, the cloud platform may obtain the first scene parameter by obtaining configuration parameter information of the second fixed scene.
For the current scene parameters, the cloud platform can acquire positioning information of the vehicle through a T-Box and a navigation positioning system controller in the vehicle, acquire a face image of the current driver through a camera in a driver state monitoring system (Driver Monitor System, DMS) in the vehicle, and acquire gender, age, weight and face state of the user through analysis of the face image.
Further, the cloud platform may match the first scene parameter with the current scene parameter, specifically, match positioning information of the first scene parameter with the current positioning information, and match a user identifier of the first scene parameter with the current user identifier.
Illustratively, the matching of the first scene parameter and the current scene parameter may obtain a matching result by calculating a similarity.
Optionally, the method for calculating the similarity includes cosine similarity, euclidean distance, manhattan distance, pearson correlation coefficient, spearman correlation coefficient, jeckid similarity coefficient, simHash, hamming distance, term frequency-inverse document frequency (TF-IDF), and the like, and the method for calculating the similarity is not limited in this embodiment.
For example, assuming that the preset similarity is 98%, if the similarity is 99% by the above method, the cloud platform determines that the first scene parameter is matched with the current scene parameter, and in this case, the cloud platform uses the second fixed scene as the fixed scene to be issued.
In contrast, when the similarity is 80%, the cloud platform determines that the first scene parameter and the current scene parameter do not match, and in this case, the cloud platform filters out the second fixed scene.
In the above technical solution, a specific manner of determining a fixed scene to be issued is provided. Firstly deleting a first fixed scene of the original vehicle end, and then carrying out scene parameter matching based on a second fixed scene corresponding to the current scene engine version to obtain a fixed scene to be issued. The above-mentioned process has avoided the conflict problem of issuing of original fixed scene and current fixed scene in the process of issuing on the one hand, on the other hand in the process of issuing, can also consider the application range of each kind of fixed scene, can guarantee the accuracy when issuing fixed scene and wait to issue the accurate application of fixed scene in the vehicle.
After the description of how to obtain the fixed scene to be issued corresponding to the vehicle is finished, the description of how to obtain the configurable scene to be issued of the vehicle is as follows.
The plurality of first scenes further includes a plurality of first configurable scenes corresponding to the plurality of first fixed scenes. Similarly, the plurality of second scenes further includes a plurality of second configurable scenes corresponding to the plurality of second fixed scenes. Since the plurality of first configurable scenes and the plurality of second configurable scenes are scenes that a user can configure by himself. In the issuing process, first, the plurality of first configurable scenes may be classified according to whether the user has configured the scene (i.e., the scene configuration state), to obtain at least one first unconfigured scene and at least one first configured scene. For the plurality of second configurable scenes, since the scenes are scenes that have not yet been issued to the vehicle, theoretically, the plurality of second configurable scenes are all unconfigured scenes. After the plurality of second configurable scenes are issued to the vehicle as the to-be-issued configurable scenes, the user obtains the configuration templates of the scenes to configure, and then the configuration templates can be updated into the configured scenes, and meanwhile, the cloud platform also distributes corresponding scene IDs for the configured scenes.
Based on the above further classification of the configurable scene, when determining the configurable scene to be issued, the method can be divided into two parts according to the scene configuration state of the configurable scene to be issued, namely determining the unconfigured scene to be issued and determining the configured scene to be issued.
It should be appreciated that for configurable scenarios where the user has configured, the user is typically configured based on his driving habits and driving needs. In the scene synchronization process, in order to follow and retain the habit of the user, it is necessary to consider whether a configurable scene can be issued. In particular, whether a configurable scene can be issued depends on whether the update operation of the current scene engine version is in particular an upgrade or downgrade operation. For example, assuming that the update operation of the current scene engine version is an upgrade operation, it is explained that the current scene engine version is higher than the target scene engine version, the current scene engine version is fully capable of supporting all scene operations under the target scene engine version, i.e., the previously configured scenes are all capable of operating under the current scene engine version. In contrast, assuming that the update operation of the current scene engine version is a downgrade operation, indicating that the current scene engine version is lower than the target scene engine version, the current scene engine version may not support the original configured scene operation.
Therefore, when determining to issue the configurable scene, the cloud platform needs to combine the current scene engine version and the target scene engine version in addition to the first configurable scenes and the second configurable scenes.
For the to-be-issued unconfigured scene, the scene is the scene which is not configured by the user, so that the use habit of the user is not required to be considered in the determining process.
Based on the above two cases, the process of determining the to-be-issued configurable scenario in the embodiment of the present application may be summarized as follows: and determining a configurable scene to be issued corresponding to the current scene engine version according to the first configurable scenes, the current scene engine version and the target scene engine version, or according to the first configurable scenes, the second configurable scenes, the current scene engine version and the target scene engine version.
In a possible implementation manner, according to the plurality of first configurable scenes, the current scene engine version and the target scene engine version, or according to the plurality of first configurable scenes and the plurality of second configurable scenes, or according to the plurality of first configurable scenes, the plurality of second configurable scenes, the current scene engine version and the target scene engine version, determining the to-be-issued configurable scene corresponding to the current scene engine version includes:
Determining at least one first unconfigured scene from the plurality of first configurable scenes according to scene configuration states, wherein the scene configuration states are used for indicating whether the plurality of first configurable scenes are configured or not, and the scene configuration states of the plurality of second configurable scenes are unconfigured scenes;
marking the storage state of at least one first unconfigured scene as to be deleted;
generating a second deleting instruction according to the storage state of at least one first unconfigured scene;
transmitting a second deleting instruction to the vehicle so that the vehicle deletes at least one first unconfigured scene according to the second deleting instruction;
marking a storage state of at least one first unconfigured scene as deleted in response to the second feedback information;
for any one of the plurality of second configurable scenes, acquiring second scene parameters corresponding to the second configurable scene;
and determining the second configurable scene as the to-be-issued unconfigured scene under the condition that the second scene parameter is matched with the current scene parameter of the vehicle.
It should be appreciated that after the unconfigured scene is issued to the vehicle, the main purpose is to provide the user with a display and preview, and the vehicle function cannot be realized. When the vehicle is required to be used, a user can perform function configuration based on selection of an unconfigured scene required to be configured, and the scene can realize corresponding vehicle functions after the configuration is completed. Therefore, only after the unconfigured scene is configured, the cloud platform can send the operation parameters of the scene to the vehicle, namely the synchronization process of the scene is completed. That is, the concept that the unconfigured scenario before the unconfigured scenario is not synchronous state exists.
As can be seen from the foregoing description, each unconfigured scene is free of scene IDs before being configured, and only after being configured, the cloud platform can assign the scene IDs to the scenes.
In an exemplary embodiment, when determining that an unconfigured scene is to be issued, at least one first unconfigured scene is first determined from a plurality of first configurable scenes. Assume that the number of the plurality of first configurable scenes is 10 in total, wherein at least one first unconfigured scene is 7. The number of the plurality of second configurable scenes is 15 in total, and all the second configurable scenes are unconfigured scenes.
The cloud platform can mark the storage states of the 7 first unconfigured scenes as to-be-deleted at the local end, and generates a second deleting instruction according to the storage states of the 7 first unconfigured scenes, so that the vehicle deletes the 7 first unconfigured scenes at the local end of the vehicle. After receiving the second feedback information sent by the vehicle, the cloud platform may correspondingly mark the storage states of the 7 first unconfigured scenes as deleted.
After the deletion, the cloud platform starts to determine to-be-issued unconfigured scenes based on the 15 second unconfigured scenes. The same as the above procedure of determining the fixed scene to be delivered, the determination may also be based on scene parameters. Specifically, for any one of the 15 second unconfigured scenes, the cloud platform may obtain a second scene parameter corresponding to the second unconfigured scene, and match the second scene parameter with the current scene parameter. Here, the matching may also be performed based on a manner of calculating the similarity to determine whether the second unconfigured scene can be used as the unconfigured scene to be issued, and specifically, the foregoing calculation process of the fixed scene to be issued may be referred to, which is not described herein again.
In the above technical solution, a method for specifically determining to-be-issued unconfigured scenes is provided. Firstly deleting a first unconfigured scene of the original vehicle end, and then carrying out scene parameter matching based on a second unconfigured scene corresponding to the current scene engine version to obtain an unconfigured scene to be issued. The method and the device avoid the conflict between the original unconfigured scenes in the vehicle and the current unconfigured scenes in the issuing process, and also consider the use range of each unconfigured scene in the issuing process, so that the accuracy of issuing the unconfigured scenes and the accurate application of the unconfigured scenes in the vehicle can be ensured.
In another possible implementation manner, the determining the to-be-issued configurable scene corresponding to the current scene engine version according to the first configurable scenes, the current scene engine version and the target scene engine version, or according to the first configurable scenes and the second configurable scenes, or according to the first configurable scenes, the second configurable scenes, the current scene engine version and the target scene engine version, further includes:
determining at least one first configured scene from the plurality of first configurable scenes according to the scene configuration state;
Marking the synchronization status of at least one first configured scene as unsynchronized if the current scene engine version is higher than the target scene engine version;
for any one of at least one first configured scene, acquiring a third scene parameter corresponding to the first configured scene;
and under the condition that the third scene parameter and the current scene parameter are matched, determining the first configured scene as the configured scene to be issued.
The above process is to determine one of the configured scenes to be issued, and specifically corresponds to a case that the current scene engine version is higher than the target scene engine version, that is, the scene engine version is updated.
For example, in the case that the current scene engine version is higher than the target scene engine version, the current updating process may all include the configured scene configured last time, without deleting, only with one time of issuing again. The purpose of the re-issuing is to ensure that if the user modifies the parameters in the configured scene again based on the vehicle application on the terminal device at the last to current time, the vehicle has not yet got the configured scene modified in synchronization with the cloud platform.
In a specific issuing process, the cloud platform marks the synchronization state of at least one first configured scene as not synchronized. For any one of the at least one first configured scene, the cloud platform may acquire a third scene parameter corresponding to the first configured scene, and match the third scene parameter with the current scene parameter. Here, the matching may also be performed based on a manner of calculating the similarity to determine whether the third unconfigured scene can be used as the configured scene to be issued, and specifically, the foregoing calculation process of the fixed scene to be issued may be referred to, which is not described herein again.
In the above technical solution, a step of determining to issue a configured scene when the current scene engine version is higher than the target scene engine version is provided. The current scene engine version is higher than the target scene engine version, which indicates that the scene engine version performs upgrading operation, and the current scene engine version can support all original configured scenes. Therefore, under the condition, the method and the device only need to resynchronize the original first configured scene, so that the problem that vehicles are not synchronized in time after the original first configured scene is changed again by a user is avoided, and the real-time update of the first configured scene is ensured.
In the above technical solution, in determining the to-be-issued scene, the present application may divide the to-be-issued scene into the to-be-issued fixed scene and the to-be-issued configurable scene according to different scene types. Based on the to-be-issued scenes under different scene types, the method and the device can divide a plurality of first scenes into a plurality of first fixed scenes and a plurality of first configurable scenes, and divide a plurality of second scenes into a plurality of second fixed scenes and a plurality of second configurable scenes. And further determining a fixed scene to be issued according to the plurality of first fixed scenes and the plurality of second fixed scenes. And determining the configurable scene to be issued by combining the first configurable scenes, the second configurable scenes, the current scene engine version and the target scene engine version. The scene to be issued is determined based on different scene types, so that the efficiency of issuing the scene is improved.
In another possible implementation manner, in the case that the current scene engine version is lower than the target scene engine version, the process of determining the to-be-issued configured scene is specifically:
under the condition that the current scene engine version is lower than the target scene engine version, for any one of at least one first configured scene, acquiring a first scene signal corresponding to the first configured scene, wherein the first scene signal is used for representing the data transmission state of the first configured scene in the running process;
Acquiring a plurality of second scene signals corresponding to a plurality of second configurable scenes;
judging whether the plurality of second scene signals comprise the first scene signal;
configuring a synchronization state of the first configured scene as unsynchronized in a case where the plurality of second scene signals includes the first scene signal;
the first configured scene is determined as the configured scene to be issued.
It should be appreciated that if the current scene engine version is lower than the target scene engine version, it indicates that the scene engine has performed a demotion operation. In this case, the original configured scenes are not necessarily all applicable to the current scene engine version, so the cloud platform needs to perform matching and judgment one by one to determine the configured scenes to be issued.
It should also be appreciated that for the plurality of second configurable scenarios, all are unconfigured scenarios that cannot be compared and matched with configured scenarios due to the absence of specific configuration parameters. In the embodiment of the present application, however, each scene, whether configured or not, corresponds to a scene signal, the scene being composed of scene signals, the scene signals representing the capability of the scene to perform a vehicle function. For example, in one scenario, all possible conditions of the configuration and corresponding signals corresponding to all possible execution actions may be supported as scenario signals for the scenario. In other words, in the embodiment of the present application, for the same vehicle function, the corresponding scene signal is the same, whether it is an unconfigured scene before configuration or a configured scene after configuration.
Therefore, particularly in the process of judging matching, the cloud platform can acquire a first scene signal corresponding to a first configured scene based on any one first configured scene, acquire a plurality of second scene signals corresponding to a plurality of second configurable scenes, judge whether the plurality of second scene signals comprise the first scene signals, if so, indicate that the current scene engine version can continuously support the operation of the first configured scene, and mark the synchronous state of the first configured scene as unsynchronized, so as to indicate that the first configured scene is a to-be-issued configured scene which needs to be issued to a vehicle.
For example, assuming that the scene signal corresponding to the first configured scene is signal 1, the plurality of second scene signals are signal 1, signal 2, signal 3 and signal 4, respectively, which constitute a second scene signal set may be represented as { signal 1, signal 2, signal 3, signal 4}, where the signal set includes signal 1, thus illustrating that the current scene engine version can support the operation of the first configured scene.
In another case, when the plurality of second scenario signals does not include the first scenario signal, it indicates that the current scenario engine version does not support the operation of the first configured scenario, in which case the first configured scenario cannot be regarded as the configured scenario to be issued, but the first configured scenario needs to be determined as the disabled scenario.
For example, if the second scene signal set composed of the plurality of second scene signals is { signal 2, signal 3, signal 4, signal 5}, excluding signal 1, it is indicated that the current scene engine version cannot support the operation of the first configured scene.
Upon determining the first configured scenario as a disabled scenario, the cloud platform needs to configure a usage status of the first configured scenario as unavailable, indicating that the first configured scenario cannot continue to be used in the vehicle. Meanwhile, the synchronization state of the first configured scene is configured to be unsynchronized. Further, the cloud platform can generate a synchronization instruction according to the use state of the first configured scene and send the synchronization instruction to the vehicle so that the vehicle can control the first configured scene to stop running on the vehicle based on the use state of the first configured scene.
In the above technical solution, a step of determining to issue a configured scene when the current scene engine version is higher than the target scene engine version is provided. The current scene engine version is lower than the target scene engine version, which indicates that the scene engine version performs degradation operation, and the current scene engine version does not necessarily completely support all the original configured scenes. In this case, therefore, the present application needs to match the first scene signal corresponding to the original first configured scene with the plurality of second scene signals corresponding to the current scene engine version to determine whether the plurality of second scene signals includes the first scene signal. When included, the representation of the current scene engine version is capable of supporting the operation of a first configured scene, which is determined to be the configured scene to be delivered. When the process determines the configured scene to be issued, the compatibility problem between versions is considered, so that the determination process of the configured scene to be issued is more accurate.
In another scenario, if the current scene engine version and the target scene engine version are the same, it indicates that the current scene engine version is not updated, so that in this case, reconfiguration may not be required, including the last scene in the vehicle.
In a possible implementation manner, in the case that the current scene engine version and the target scene engine version are the same, the method specifically includes:
under the condition that the current scene engine version is the same as the target scene engine version, the current scene engine version is not processed; or, transmitting third feedback information to the vehicle, wherein the third feedback information is used for indicating that the current scene engine version is the same as the target scene engine version.
For example, assuming that the target scene engine version is the same as the current scene engine version, after receiving a synchronization scene request sent by the vehicle, the cloud platform may not respond to the synchronization scene request, or the cloud platform may send third feedback information to the vehicle to inform that the vehicle does not currently need to perform the synchronization process.
According to the technical scheme, when the current scene engine version and the target scene engine version are the same, the scene synchronization request is not responded, or the third feedback information is sent to the vehicle, so that the problem of resource consumption caused by repeated updating when the two scene engine versions are the same is avoided.
After the updating, the vehicle can send a differential synchronization request to the cloud platform after the scenes in the vehicle are configured each time in the running process based on the current scene engine version, so that the cloud platform determines the updated scenes and synchronizes to the vehicle.
203, sending the target scene configuration file to the vehicle.
After determining the to-be-issued scene corresponding to the current scene engine version, the cloud platform can generate a corresponding target scene configuration file based on the to-be-issued scene and issue the target scene configuration file to the vehicle.
For easy understanding, the following describes the overall flow of configuration issuing in the embodiment of the present application.
Fig. 4 is a schematic flow chart of a method for updating a scene according to an embodiment of the present application.
Exemplary, as shown in fig. 4, the entire scene update flow is specifically described as follows: after the vehicle starts, a scene synchronization request is sent to the cloud platform, wherein the scene synchronization request comprises the current scene engine version of the vehicle and the VIN code of the vehicle. And the cloud platform responds to the scene synchronization request, judges the legitimacy of the current scene engine, and judges whether the versions of the two scene engines are the same under the condition that the current scene engine is legal.
In one case, when the two scene engine versions are the same, the cloud platform does not process or sends the first feedback information to the vehicle.
In another case, when the two scene engine versions are different and the current scene engine version is higher than the target scene engine version, the cloud platform obtains a scene to be issued based on the unconfigured scene in the current scene engine version and the configured scene in the target scene engine version, and generates a target scene configuration file.
When the two scene engine versions are different and the current scene engine version is lower than the target scene engine version, the cloud platform firstly determines an unconfigured scene corresponding to the current scene engine version, and then further judges whether scene signals of the configured scene are contained in scene signals corresponding to the current scene engine version, so that a final to-be-issued scene is obtained, and a target scene configuration file is generated.
The specific process may refer to step 202, and will not be described herein.
For ease of understanding, the following describes how the target configuration scenario file is used after it is delivered to the vehicle.
Fig. 5 is a schematic view of a configuration scenario provided in an embodiment of the present application.
Exemplary, as shown in (a) - (b) in fig. 5, a configuration procedure of a fixed scenario is provided in an embodiment of the present application. After the cloud platform transmits the scene to the vehicle, the user logs in through the account number in the scene configuration software of the terminal equipment, so that the scene of the vehicle end can be synchronized on the terminal equipment. When the user needs to view and configure the scene, based on the terminal device, the user can open the scene configuration software through clicking operation, and click to enter the scene configuration interface, as shown in (a) in fig. 5, wherein the scene configuration interface comprises a hot recommendation control and a my skill control. The scene under hot recommendation is a fixed scene in the embodiment of the application. The user clicks the hot recommendation control, and the terminal device displays a scene name list of the fixed scene in the display area, wherein the scene name list comprises an air conditioner starting mode, a smoke exhausting mode and a seat adjusting mode.
The user can select a fixed scene to be viewed through a clicking operation, as shown in (b) of fig. 5, and after the user clicks the "smoking mode" therein, the terminal device switches from the current scene configuration interface to the smoking mode configuration interface. The smoking mode configuration interface comprises a smoking mode function switch for switching the use state of the smoking mode and a scene application description of the smoking mode.
The smoke pattern serves as a fixed scenario, and the usage state is usually the enabled state by default. After the user adjusts the use state of the smoking mode to be deactivated through the clicking operation, the terminal device can respond to the clicking operation to generate a use state adjusting instruction and send the use state adjusting instruction to the cloud platform. And responding to the use state adjusting instruction by the cloud platform, correspondingly switching the use state of the vehicle stored in the cloud platform in the smoking mode, and issuing and updating to the vehicle.
Correspondingly, as shown in (c) - (d) in fig. 5, a configuration process of a configurable scenario is provided in an embodiment of the present application. As shown in fig. 5 (c), the scene configuration interface includes a "hot recommendation" control and a "my skills" control. The scene under my skill is a configurable scene in the embodiments of the present application. By clicking the "my skills" control, the terminal device displays a list of scene names of the configurable scene in the display area, including an alarm clock mode and a music mode.
The user can select a configurable scene which is desired to be viewed and configured through a clicking operation, as shown in (d) of fig. 5, and after the user clicks the "alarm mode" therein, the terminal device switches from the current scene configuration interface to the alarm mode configuration interface. The alarm clock mode configuration interface comprises a function switch of an alarm clock for switching the use state of the alarm clock mode and a configuration area of the alarm clock mode.
After the user selects the set alarm clock time through the clicking operation, the terminal equipment can respond to the clicking operation to generate an alarm clock adjusting instruction and send the alarm clock adjusting instruction to the cloud platform. And responding to the alarm clock adjusting instruction by the cloud platform, correspondingly switching the time of the vehicle stored in the cloud platform in the alarm clock mode, and issuing and updating to the vehicle.
In addition to the configuration in the terminal device, in the embodiment of the present application, after the scene is issued to the vehicle, the user may directly use the vehicle-mounted host in the vehicle to complete the scene configuration, where in this case, the vehicle and the cloud platform directly interact without an App.
Fig. 6 is a schematic structural diagram of an apparatus for updating a vehicle scene according to an embodiment of the present application.
Illustratively, as shown in FIG. 6, the apparatus 600 includes:
The judging module 601 is configured to respond to a scene synchronization request sent by a vehicle, and judge whether a current scene engine version is the same as a target scene engine version, where the scene synchronization request includes the current scene engine version and a vehicle identifier, and the target scene engine version is a scene engine version stored by a cloud platform and sent by the vehicle in the last time;
a determining module 602, configured to determine, if the current scene engine version is different from the target scene engine version, a target scene configuration file corresponding to the current scene engine version, where the target scene configuration file corresponds to a plurality of vehicle functions, and the target scene configuration file is configured to enable the vehicle to implement the plurality of vehicle functions based on the current scene engine version;
and a sending module 603, configured to send the target scene configuration file to the vehicle.
In a possible implementation manner, the determining module 602 is specifically configured to: determining a plurality of first scenes corresponding to the target scene engine version and a plurality of second scenes corresponding to the current scene engine version; determining a plurality of to-be-issued scenes corresponding to the current scene engine version according to the plurality of first scenes and the plurality of second scenes, or according to the plurality of first scenes, the current scene engine version and the target scene engine version, or according to the plurality of first scenes, the plurality of second scenes, the current scene engine version and the target scene engine version; and generating the target scene configuration file according to the multiple scenes to be issued.
In a possible implementation manner, the scene types of the plurality of to-be-issued scenes include a fixed scene and a configurable scene, the to-be-issued scenes include a to-be-issued fixed scene and a to-be-issued configurable scene, the scene types are used for indicating whether the scene is configurable, the fixed scene is used for indicating that the scene is not configurable, the configurable scene is used for indicating that the scene is configurable, and the determining module 602 is further configured to: dividing the plurality of first scenes into a plurality of first fixed scenes and a plurality of first configurable scenes according to the scene type, and dividing the plurality of second scenes into a plurality of second fixed scenes and a plurality of second configurable scenes; determining a to-be-issued fixed scene corresponding to the current scene engine version according to the plurality of first fixed scenes and the plurality of second fixed scenes, wherein the to-be-issued fixed scene is used for enabling the vehicle to realize a preset vehicle function corresponding to the current scene engine version; and determining a to-be-issued configurable scene corresponding to the current scene engine version according to the first configurable scenes, the current scene engine version and the target scene engine version, or according to the first configurable scenes and the second configurable scenes, or according to the first configurable scenes, the second configurable scenes, the current scene engine version and the target scene engine version, wherein the to-be-issued configurable scene is used for enabling the vehicle to realize a configurable vehicle function corresponding to the current scene engine version.
In a possible implementation, the determining module 602 is further configured to: marking the storage states of the plurality of first fixed scenes as to be deleted, and marking the synchronization states of the plurality of first fixed scenes as not synchronized, wherein the storage states are used for indicating whether the cloud platform stores the plurality of first fixed scenes or not, and the synchronization states are used for indicating whether the vehicle synchronizes the storage states of the first fixed scenes with the cloud platform or not; generating a first deleting instruction according to the storage states of the first fixed scenes; transmitting the first deleting instruction to the vehicle so that the vehicle deletes the plurality of first fixed scenes according to the first deleting instruction; marking the storage states of the plurality of first fixed scenes as deleted and marking the synchronization states of the plurality of first fixed scenes as synchronized in response to the first feedback information; marking the synchronous state of the plurality of second fixed scenes as unsynchronized, and marking the use state of the plurality of second fixed scenes as enabled, wherein the use state is used for indicating whether the vehicle runs the vehicle functions corresponding to the plurality of second fixed scenes; for any one of the plurality of second fixed scenes, acquiring a first scene parameter corresponding to the second fixed scene, wherein the first scene parameter is used for representing positioning information and user identification when the second fixed scene is used; and determining the second fixed scene as the fixed scene to be issued under the condition that the first scene parameter is matched with the current scene parameter of the vehicle.
In a possible implementation, the determining module 602 is further configured to: determining at least one first unconfigured scene from the plurality of first configurable scenes according to scene configuration states, wherein the scene configuration states are used for indicating whether the plurality of first configurable scenes are configured or not, and the scene configuration states of the plurality of second configurable scenes are all unconfigured scenes; marking the storage state of the at least one first unconfigured scene as to be deleted; generating a second deleting instruction according to the storage state of the at least one first unconfigured scene; transmitting the second deleting instruction to the vehicle so that the vehicle deletes the at least one first unconfigured scene according to the second deleting instruction; marking a storage state of the at least one first unconfigured scene as deleted in response to the second feedback information; for any one of the at least one second configurable scene, acquiring a second scene parameter corresponding to the second configurable scene; and determining the second configurable scene as the to-be-issued unconfigured scene under the condition that the second scene parameter is matched with the current scene parameter of the vehicle.
In a possible implementation, the determining module 602 is further configured to: determining at least one first configured scene from the plurality of first configurable scenes and at least one second configured scene from the plurality of second configurable scenes according to the scene configuration state; marking a synchronization status of the at least one first configured scene as not synchronized if the current scene engine version is higher than the target scene engine version; for any one of the at least one first configured scene, acquiring a third scene parameter corresponding to the first configured scene; and determining the first configured scene as the to-be-issued configured scene under the condition that the third scene parameter and the current scene parameter are matched.
Optionally, the apparatus further comprises: the first processing module is used for acquiring a first scene signal corresponding to any one of the at least one first configured scene under the condition that the current scene engine version is lower than the target scene engine version, wherein the first scene signal is used for representing the data transmission state of the first configured scene in the running process; acquiring a plurality of second scene signals corresponding to the plurality of second configurable scenes; determining whether the plurality of second scene signals includes the first scene signal; configuring a synchronization state of the first configured scene as unsynchronized in a case where the plurality of second scene signals includes the first scene signal; and determining the first configured scene as the to-be-issued configured scene.
In a possible implementation manner, the determining module 601 is specifically configured to: responding to the scene synchronization request, and determining a target vehicle type corresponding to the vehicle; determining a preset scene engine version corresponding to the target vehicle type; matching the preset scene engine version with the current scene engine version, and judging whether the current scene engine version is legal or not; and under the condition that the current scene engine version is legal, judging whether the current scene engine version is identical with the target scene engine version.
Fig. 7 is a schematic structural diagram of a cloud platform according to an embodiment of the present application.
Illustratively, as shown in fig. 7, the cloud platform 101 includes: the system comprises a memory 701 and a processor 702, wherein executable program code 7011 is stored in the memory 701, and the processor 702 is used for calling and executing the executable program code 7011 to execute a method for updating a vehicle scene.
In addition, the embodiment of the application also protects a device, which can comprise a memory and a processor, wherein executable program codes are stored in the memory, and the processor is used for calling and executing the executable program codes to execute the method for updating the vehicle scene provided by the embodiment of the application.
In this embodiment, the functional modules of the apparatus may be divided according to the above method example, for example, each functional module may be corresponding to one processing module, or two or more functions may be integrated into one processing module, where the integrated modules may be implemented in a hardware form. It should be noted that, in this embodiment, the division of the modules is schematic, only one logic function is divided, and another division manner may be implemented in actual implementation.
In the case of dividing each functional module by corresponding each function, the apparatus may further include a judging module, a determining module, a transmitting module, and the like. It should be noted that, all relevant contents of each step related to the above method embodiment may be cited to the functional description of the corresponding functional module, which is not described herein.
It should be understood that the apparatus provided in this embodiment is used to perform the above-described method for updating a vehicle scene, so that the same effects as those of the implementation method described above can be achieved.
In case of an integrated unit, the apparatus may comprise a processing module, a memory module. Wherein, when the device is applied to a vehicle, the processing module can be used for controlling and managing the action of the vehicle. The memory module may be used to support the vehicle in executing mutual program code, etc.
Wherein the processing module may be a processor or controller that may implement or execute the various illustrative logical blocks, modules, and circuits described in connection with the present disclosure. A processor may also be a combination of computing functions, e.g., including one or more microprocessors, digital signal processing (digital signal processing, DSP) and microprocessor combinations, etc., and a memory module may be a memory.
In addition, the apparatus provided by the embodiments of the present application may be a chip, a component, or a module, where the chip may include a processor and a memory connected to each other; the memory is used for storing instructions, and when the processor calls and executes the instructions, the chip can be caused to execute the method for updating the vehicle scene provided by the embodiment.
The present embodiment also provides a computer-readable storage medium having stored therein computer program code which, when run on a computer, causes the computer to perform the above-described related method steps to implement a method of updating a vehicle scene provided by the above-described embodiments.
The present embodiment also provides a computer program product which, when run on a computer, causes the computer to perform the above-mentioned related steps to implement a method of updating a vehicle scene provided by the above-mentioned embodiments.
The apparatus, the computer readable storage medium, the computer program product, or the chip provided in this embodiment are used to execute the corresponding method provided above, and therefore, the advantages achieved by the apparatus, the computer readable storage medium, the computer program product, or the chip can refer to the advantages of the corresponding method provided above, which are not described herein.
It will be appreciated by those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules or units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another apparatus, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The foregoing is merely specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think about changes or substitutions within the technical scope of the present application, and the changes and substitutions are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method of updating a vehicle scene, the method comprising:
Responding to a scene synchronization request sent by a vehicle, judging whether a current scene engine version is the same as a target scene engine version, wherein the scene synchronization request comprises the current scene engine version and a vehicle identification code, and the target scene engine version is a scene engine version which is stored by a cloud platform and is sent by the vehicle in the last time;
determining a target scene configuration file corresponding to the current scene engine version when the current scene engine version is different from the target scene engine version, wherein the target scene configuration file corresponds to a plurality of vehicle functions, and the target scene configuration file is used for enabling the vehicle to realize the plurality of vehicle functions based on the current scene engine version;
and sending the target scene configuration file to the vehicle.
2. The method of claim 1, wherein the determining the target scene profile corresponding to the current scene engine version comprises:
determining a plurality of first scenes corresponding to the target scene engine version and a plurality of second scenes corresponding to the current scene engine version;
determining a plurality of to-be-issued scenes corresponding to the current scene engine version according to the plurality of first scenes and the plurality of second scenes, or according to the plurality of first scenes, the current scene engine version and the target scene engine version, or according to the plurality of first scenes, the plurality of second scenes, the current scene engine version and the target scene engine version;
And generating the target scene configuration file according to the multiple scenes to be issued.
3. The method of claim 2, wherein the scene types of the plurality of scenes to be delivered include a fixed scene and a configurable scene, the scene types include a fixed scene to be delivered and a configurable scene to be delivered, the fixed scene is used to indicate whether a scene is configurable, the fixed scene is used to indicate that a scene is not configurable, the configurable scene is used to indicate that a scene is configurable, the determining the plurality of scenes to be delivered corresponding to the current scene engine version according to the plurality of first scenes and the plurality of second scenes, or according to the plurality of first scenes, the current scene engine version and the target scene engine version, or according to the plurality of first scenes, the plurality of second scenes, the current scene engine version and the target scene engine version, includes:
dividing the plurality of first scenes into a plurality of first fixed scenes and a plurality of first configurable scenes according to the scene types, and dividing the plurality of second scenes into a plurality of second fixed scenes and a plurality of second configurable scenes;
Determining a to-be-issued fixed scene corresponding to the current scene engine version according to the plurality of first fixed scenes and the plurality of second fixed scenes, wherein the to-be-issued fixed scene is used for enabling the vehicle to realize a preset vehicle function corresponding to the current scene engine version;
and determining a configurable scene to be issued corresponding to the current scene engine version according to the first configurable scenes, the current scene engine version and the target scene engine version or according to the first configurable scenes and the second configurable scenes, wherein the configurable scene to be issued is used for enabling the vehicle to realize a configurable vehicle function corresponding to the current scene engine version.
4. The method of claim 3, wherein the determining, according to the plurality of first fixed scenes and the plurality of second fixed scenes, a fixed scene to be delivered corresponding to the current scene engine version comprises:
marking the storage states of the plurality of first fixed scenes as to be deleted, and marking the synchronization states of the plurality of first fixed scenes as not synchronized, wherein the storage states are used for indicating whether the cloud platform stores the plurality of first fixed scenes or not, and the synchronization states are used for indicating whether the vehicle synchronizes the storage states of the first fixed scenes or not with the cloud platform or not;
Generating a first deleting instruction according to the storage states of the plurality of first fixed scenes;
transmitting the first deleting instruction to the vehicle so that the vehicle deletes the plurality of first fixed scenes according to the first deleting instruction;
marking a storage state of the plurality of first fixed scenes as deleted and a synchronization state of the plurality of first fixed scenes as synchronized in response to the first feedback information;
marking the synchronous state of the plurality of second fixed scenes as asynchronous, and marking the use state of the plurality of second fixed scenes as enabled, wherein the use state is used for indicating whether the vehicle runs the vehicle functions corresponding to the plurality of second fixed scenes;
for any one of the plurality of second fixed scenes, acquiring a first scene parameter corresponding to the second fixed scene, wherein the first scene parameter is used for representing positioning information and user identification when the second fixed scene is used;
and under the condition that the first scene parameter is matched with the current scene parameter of the vehicle, determining the second fixed scene as the fixed scene to be issued.
5. The method of claim 3, wherein the determining a configurable scene to be delivered corresponding to the current scene engine version according to the plurality of first configurable scenes, the current scene engine version, and the target scene engine version, or according to the plurality of first configurable scenes and the plurality of second configurable scenes, or according to the plurality of first configurable scenes, the plurality of second configurable scenes, the current scene engine version, and the target scene engine version, comprises:
determining at least one first unconfigured scene from the plurality of first configurable scenes according to scene configuration states, wherein the scene configuration states are used for representing whether the plurality of first configurable scenes are configured or not, and the scene configuration states of the plurality of second configurable scenes are unconfigured scenes;
marking the storage state of the at least one first unconfigured scene as to be deleted;
generating a second deleting instruction according to the storage state of the at least one first unconfigured scene;
transmitting the second deleting instruction to the vehicle so that the vehicle deletes the at least one first unconfigured scene according to the second deleting instruction;
Marking a storage state of the at least one first unconfigured scene as deleted in response to the second feedback information;
for any one of the plurality of second configurable scenes, acquiring second scene parameters corresponding to the second configurable scene;
and determining the second configurable scene as the to-be-issued unconfigured scene under the condition that the second scene parameter is matched with the current scene parameter of the vehicle.
6. The method of claim 5, wherein the determining the to-be-delivered configurable scene corresponding to the current scene engine version according to the plurality of first configurable scenes, the current scene engine version, and the target scene engine version, or according to the plurality of first configurable scenes and the plurality of second configurable scenes, or according to the plurality of first configurable scenes, the plurality of second configurable scenes, the current scene engine version, and the target scene engine version, further comprises:
determining at least one first configured scene from the plurality of first configurable scenes according to the scene configuration state;
marking a synchronization status of the at least one first configured scene as unsynchronized if the current scene engine version is higher than the target scene engine version;
For any one of the at least one first configured scene, acquiring a third scene parameter corresponding to the first configured scene;
and under the condition that the third scene parameter and the current scene parameter are matched, determining the first configured scene as the to-be-issued configured scene.
7. The method of claim 6, wherein the method further comprises:
under the condition that the current scene engine version is lower than the target scene engine version, for any one of the at least one first configured scene, acquiring a first scene signal corresponding to the first configured scene, wherein the first scene signal is used for representing the data transmission state of the first configured scene in the running process;
acquiring a plurality of second scene signals corresponding to the plurality of second configurable scenes;
determining whether the plurality of second scene signals includes the first scene signal;
configuring a synchronization state of the first configured scene as unsynchronized in a case where the plurality of second scene signals includes the first scene signal;
and determining the first configured scene as the to-be-issued configured scene.
8. The method of claim 1, wherein the determining whether the current scene engine version and the target scene engine version are the same in response to the scene synchronization request sent by the vehicle comprises:
responding to the scene synchronization request, and determining a target vehicle type corresponding to the vehicle;
determining a preset scene engine version corresponding to the target vehicle type;
matching the preset scene engine version with the current scene engine version, and judging whether the current scene engine version is legal or not;
and judging whether the current scene engine version is the same as the target scene engine version or not under the condition that the current scene engine version is legal.
9. An apparatus for updating a vehicle scene, the apparatus comprising:
the judging module is used for responding to a scene synchronization request sent by a vehicle and judging whether a current scene engine version is the same as a target scene engine version or not, wherein the scene synchronization request comprises the current scene engine version and a vehicle identification code, and the target scene engine version is the scene engine version which is stored by a cloud platform and is sent by the vehicle in the last time;
a determining module, configured to determine, when the current scene engine version is different from the target scene engine version, a target scene configuration file corresponding to the current scene engine version, where the target scene configuration file corresponds to a plurality of vehicle functions, and the target scene configuration file is configured to enable the vehicle to implement the plurality of vehicle functions based on the current scene engine version;
And the sending module is used for sending the target scene configuration file to the vehicle.
10. A cloud platform, the electronic device comprising:
a memory for storing executable program code;
a processor for invoking and running the executable program code from the memory to cause the cloud platform to perform the method of any of claims 1 to 8.
CN202311525180.0A 2023-11-15 2023-11-15 Method and device for updating vehicle scene and cloud platform Pending CN117555569A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311525180.0A CN117555569A (en) 2023-11-15 2023-11-15 Method and device for updating vehicle scene and cloud platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311525180.0A CN117555569A (en) 2023-11-15 2023-11-15 Method and device for updating vehicle scene and cloud platform

Publications (1)

Publication Number Publication Date
CN117555569A true CN117555569A (en) 2024-02-13

Family

ID=89814182

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311525180.0A Pending CN117555569A (en) 2023-11-15 2023-11-15 Method and device for updating vehicle scene and cloud platform

Country Status (1)

Country Link
CN (1) CN117555569A (en)

Similar Documents

Publication Publication Date Title
CN105373221B (en) Augmented reality information management
CN104978206A (en) Method, device and system for updating vehicle body control module of vehicle
CN107656752A (en) A kind of method, apparatus and vehicle of vehicle control device software upgrading
CN105431816A (en) Synchronizing device association data among computing devices
CN113949885B (en) Live broadcast processing method and device, electronic equipment and computer readable storage medium
JP2024510518A (en) Terminal upgrade method and device
CN106506228A (en) Method for sharing mobile network in multiple systems and terminal system
CN108694509A (en) Monitoring method, device, equipment and the computer readable storage medium of vehicle drive
CN113923245B (en) A self-defined scene control system for intelligent networking vehicle
CN117241446B (en) Vehicle atmosphere lamp control method, control device, electronic equipment and storage medium
CN117555569A (en) Method and device for updating vehicle scene and cloud platform
CN115134383B (en) Dynamic configuration method, system, equipment and medium for cloud task on Internet of vehicles data
CN106550274A (en) A kind of personalized customization method and system of intelligent television
CN115904447A (en) Version updating system, method, electronic equipment and storage medium
CN114721344A (en) Intelligent decision method and system based on digital twin DaaS platform
CN112532679A (en) Distributed vehicle authorization operations
CN114666094A (en) User authority management method of vehicle service platform and related equipment
JP2004078535A (en) Exclusive control device, method, and program
US20200226230A1 (en) Control unit system
CN117478664B (en) Information display method and device in vehicle control application, electronic equipment and storage medium
CN113268580B (en) Session subject migration path mining method and device, computer equipment and medium
CN107632857A (en) A kind of method of mobile Internet application configuration front end UI layouts
CN117774847A (en) Vehicle control architecture and vehicle
CN117061559A (en) Scene engine management method and device and electronic equipment
CN116629854A (en) Vehicle-end service selling method, device, cloud end and system

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