CN114302191A - Color egg display method and device and electronic equipment - Google Patents

Color egg display method and device and electronic equipment Download PDF

Info

Publication number
CN114302191A
CN114302191A CN202111519945.0A CN202111519945A CN114302191A CN 114302191 A CN114302191 A CN 114302191A CN 202111519945 A CN202111519945 A CN 202111519945A CN 114302191 A CN114302191 A CN 114302191A
Authority
CN
China
Prior art keywords
scene
egg
colored
eggs
script
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
CN202111519945.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.)
Ecarx Hubei Tech Co Ltd
Original Assignee
Ecarx Hubei Tech 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 Ecarx Hubei Tech Co Ltd filed Critical Ecarx Hubei Tech Co Ltd
Priority to CN202111519945.0A priority Critical patent/CN114302191A/en
Publication of CN114302191A publication Critical patent/CN114302191A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application provides a colored egg display method, a colored egg display device and electronic equipment, wherein the colored egg display method comprises the steps of obtaining a current scene where a vehicle-mounted machine system is located, determining whether the current scene is a target scene or not, and displaying colored eggs corresponding to colored egg information when the current scene is the target scene; the egg information is acquired from the first cloud server according to the scene identification of the target scene when the current time meets the effective time, the target scene, the scene identification and the effective time are contained in the scene script, and the scene script comes from the second cloud server. According to the embodiment of the application, the colored eggs are displayed through the current scene, and the user does not need to be subjected to complicated operation, so that the user experience is improved. And the colored eggs are issued by the first cloud server and have effective time, so that the colored eggs can be operated conveniently.

Description

Color egg display method and device and electronic equipment
Technical Field
The application relates to the technical field of vehicle systems, in particular to a colored egg display method and device and electronic equipment.
Background
In on-vehicle infotainment system, this application is car machine system for short, possess the function of broadcast colored egg, the use that can very big reinforcing user is experienced. The egg painting means that some animation or video and the like are displayed on a display interface of the vehicle-mounted infotainment system.
However, in the current mode, some long-existing colored eggs are preset in the vehicle-mounted infotainment system, and when a user manually inputs and triggers related operations of displaying the colored eggs, the colored eggs corresponding to the operations are displayed. The colored egg display mode is limited by the familiarity of the user with the related operation, and the operation is complicated, so that the experience of the user is influenced.
Disclosure of Invention
The application provides a colored egg display method and device and electronic equipment. The method is used for solving the problems that the egg-colored display mode in the vehicle-mounted information entertainment system is limited by the familiarity of the user with the relevant operation, the operation is complicated, and the experience of the user is influenced.
In a first aspect, an embodiment of the present application provides a color egg display method, which is applied to a vehicle machine system, and the color egg display method includes:
acquiring a current scene where a vehicle-mounted machine system is located;
determining whether the current scene is a target scene;
when the current scene is a target scene, displaying the colored eggs corresponding to the colored egg information;
the egg information is acquired from the first cloud server according to the scene identification of the target scene when the current time meets the effective time, the target scene, the scene identification and the effective time are contained in the scene script, and the scene script comes from the second cloud server.
In an embodiment of the present application, when the current scene is the target scene, before displaying a painted egg corresponding to the painted egg information, the method further includes:
acquiring corresponding egg attribute data from the first cloud server according to the scene identifier, wherein the egg attribute data comprises: downloading addresses of the colored eggs;
downloading the corresponding preserved eggs from the first cloud server according to the preserved egg downloading addresses;
storing the colored eggs and generating storage data of the colored eggs;
and integrating the attribute data and the storage data of the colored eggs to obtain the colored egg information.
In one embodiment of the present application, the egg attribute data includes: the painted egg type, the painted egg that the display painted egg information corresponds includes:
determining a corresponding player according to the type of the colored eggs;
and displaying the colored eggs corresponding to the colored egg information by adopting a player.
In one embodiment of the present application, the painted egg type is a live action type, and the painted egg information includes: the json file path and the sequence frame file path adopt a player to display the preserved eggs corresponding to the preserved egg information, and the method comprises the following steps:
and displaying the colored eggs by adopting a player according to the json file path and the sequence frame file path.
In one embodiment of the present application, the scenario further includes: the scene script downloading address and the color egg display method further comprise the following steps:
downloading the scene script from the second cloud server according to the scene script downloading address;
and when the current time meets the effective time, running a scene script, wherein the scene script is used for determining whether the current scene is a target scene.
In one embodiment of the present application, the method for displaying a color egg further includes: after receiving the scene script sent by the second cloud server, analyzing the scene script to obtain the version number of the scene script;
and if the version number is the updated version number of the scene script, saving the scene script.
In one embodiment of the present application, the scenario further includes: the failure time, the colored egg display method also includes:
and if the current time meets the failure time, deleting the egg-preserved information.
In a second aspect, an embodiment of the present application provides a color egg obtaining device, which is applied to a vehicle machine system, and a color egg display method includes:
the acquisition module is used for acquiring the current scene of the vehicle-mounted machine system;
the determining module is used for determining whether the current scene is a target scene;
the display module is used for displaying the colored eggs corresponding to the colored egg information when the current scene is the target scene;
the egg information is acquired from the first cloud server according to the scene identification of the target scene when the current time meets the effective time, the target scene, the scene identification and the effective time are contained in the scene script, and the scene script comes from the second cloud server.
In one embodiment of the present application, the egg display device further comprises:
the acquisition module is used for acquiring corresponding egg attribute data from the first cloud server according to the scene identifier, wherein the egg attribute data comprises: downloading addresses of the colored eggs;
the first downloading module is used for downloading the corresponding preserved eggs from the first cloud server according to the preserved egg downloading addresses;
the first storage module is used for storing the colored eggs and generating storage data of the colored eggs;
and the integration module is used for integrating the attribute data and the storage data of the preserved eggs to obtain the preserved egg information.
In one embodiment of the present application, the egg attribute data includes: a painted egg type, the display module comprising:
the determining unit is used for determining a corresponding player according to the type of the colored eggs;
and the display unit is used for displaying the colored eggs corresponding to the colored egg information by adopting a player.
In one embodiment of the present application, the painted egg type is a live action type, and the painted egg information includes: a json file path and a sequence frame file path, the display unit being specifically configured to: and displaying the colored eggs by adopting a player according to the json file path and the sequence frame file path.
In one embodiment of the present application, the scenario further includes: the scene script downloads the address, and painted eggshell display device still includes:
the second downloading module is used for downloading the scene script from the second cloud server according to the scene script downloading address;
and the operation module is used for operating the scene script when the current time meets the effective time, and the scene script is used for determining whether the current scene is the target scene.
In one embodiment of the present application, the egg display device further comprises:
the analysis module is used for analyzing the scene script after receiving the scene script sent by the second cloud server to obtain the version number of the scene script;
and the second saving module is used for saving the scene script if the version number is the updated version number of the scene script.
In one embodiment of the present application, the scenario further includes: the failure time, the colored egg display device still includes:
and the deleting module is used for deleting the preserved egg information if the current time meets the failure time.
In a third aspect, an embodiment of the present application provides an electronic device, including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the electronic device to perform the method of displaying a scrambled egg according to any of the first aspect of the present application.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the color egg display method according to any one of the first aspect of the present application.
The embodiment of the application provides a method and a device for displaying colored eggs and electronic equipment, wherein the method for displaying the colored eggs is applied to a vehicle-mounted device system and comprises the steps of obtaining a current scene where the vehicle-mounted device system is located; determining whether the current scene is a target scene or not, and displaying the colored eggs corresponding to the colored egg information when the current scene is the target scene; the egg information is acquired from the first cloud server according to the scene identification of the target scene when the current time meets the effective time, the target scene, the scene identification and the effective time are contained in the scene script, and the scene script comes from the second cloud server. According to the embodiment of the application, the colored eggs are displayed through the current scene, and the user does not need to be subjected to complicated operation, so that the user experience is improved. And the colored eggs are issued by the first cloud server and have effective time, so that the colored eggs can be operated conveniently.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is a scene schematic diagram of a color egg display method according to an embodiment of the present application;
fig. 2 is a flowchart illustrating steps of a method for displaying a colored egg according to an embodiment of the present disclosure;
fig. 3 is a block diagram illustrating a color egg service system according to an embodiment of the present disclosure;
fig. 4 is a flowchart illustrating steps of another method for displaying a colored egg according to an embodiment of the present disclosure;
fig. 5 is a block diagram of a color egg display device according to an embodiment of the present disclosure;
fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. These drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the inventive concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The terms "first," "second," "third," and the like in the description and in the claims of the present application and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the application described herein are capable of operation in sequences other than those illustrated or described herein.
Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the related art, if a display device displays a colored egg, a user needs to go through some tedious steps, for example, the user needs to input the title "christmas" of the colored egg, and the colored egg corresponding to "christmas" appears on the display screen of the display device. This requires the user to learn in advance that "christmas" has a corresponding colored egg, and also requires the user to enter a corresponding title. Therefore, there are problems that the operation is troublesome and the learning cost is high. In addition, the existing colored eggs are all preset in electronic equipment and can be displayed only by active triggering of a user, so that the colored eggs cannot be operated by a writer for writing the colored eggs.
Based on the above problems, the embodiment of the application provides a colored egg display method, which can determine whether to display a colored egg based on a current scene, and does not need active triggering or learning by a user. In addition, the colored eggs have effective time, and the colored eggs can be operated conveniently by a writer of the colored eggs.
Fig. 1 is a schematic view of a scene of a color egg display method according to an embodiment of the present application, and as shown In fig. 1, a Vehicle is provided with an In-Vehicle Infotainment system (hereinafter referred to as a Vehicle system), and the Vehicle system is a Vehicle-mounted integrated information processing system formed by using a Vehicle-mounted dedicated central processing unit and based on a Vehicle body bus system and internet services. The vehicle-mounted system can realize a series of applications including three-dimensional navigation, real-time road conditions, interactive network television, auxiliary driving, fault detection, vehicle information, vehicle body control, mobile office, wireless communication, online-based entertainment functions, TSP (short distance service) services (automobile remote service) and the like. Based on the method, the vehicle-mounted device system acquires the current scene where the vehicle is located, and when the current scene is determined to belong to the target scene, the corresponding colored eggs can be displayed, so that the experience of a user is improved.
The technical solution of the present application will be described in detail below with reference to specific examples. It should be noted that the following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
Fig. 2 is a flowchart of a color egg display method according to an embodiment of the present application. The embodiment of the application provides a colored egg display method, which is applied to a vehicle machine system and specifically comprises the following steps:
s201, acquiring a current scene where the vehicle-mounted device system is located.
In the embodiment of the present application, the current scene may be a state of the car machine system at the current time (holiday, time when the car owner goes to work or gets off work, time such as birthday of the car owner, important commemorative day, and the like, a start state of the car machine system, and a state of the vehicle in which the car machine system is located (whether oil is absent, whether oil is leaked, and the like).
In addition, the current scene may be any of the current time, the current environment, the current state, and the like of the vehicle.
S202, determining whether the current scene is a target scene.
Wherein the target scene is contained in a scene scenario written by a scene developer. And if the target scene is 'Christmas first vehicle-mounted system starting', determining whether the current scene is Christmas first vehicle-mounted system starting by the vehicle owner. And if the target scene is 'vehicle oil leakage', determining whether the current scene is the vehicle oil leakage.
And S203, displaying the colored eggs corresponding to the colored egg information when the current scene is the target scene.
The egg information is acquired from the first cloud server according to the scene identification of the target scene when the current time meets the effective time, the target scene, the scene identification and the effective time are contained in the scene script, and the scene script is acquired from the second cloud server.
Specifically, referring to fig. 3, a block diagram of a color egg service system according to an embodiment of the present disclosure is provided, where the color egg service system includes: a first cloud server 31, a second cloud server 32 and a car machine system 33. The first cloud server 31 stores egg attribute data, and the second cloud server 32 stores a scene scenario. The second cloud server 32 issues the scene scenario to the in-vehicle system 33, and the in-vehicle system 33 obtains the painted egg attribute information in the first cloud server 31 according to the scene identifier in the scene scenario, and then obtains the painted egg information according to the painted egg attribute information, wherein the painted egg information includes painted eggs. The colored eggs can be videos, dynamic effects and the like.
In addition, the scene script writer uploads the edited scene script to the second cloud server for storage, the painted eggs corresponding to the scene script and the painted egg attribute data corresponding to the painted eggs are developed by the painted egg developer, and the scene identification, the painted egg attribute data and the painted eggs corresponding to the scene script are stored in the first cloud server after corresponding to each other.
And the scene script has effective time, wherein after the second cloud server issues the scene script to the vehicle-mounted device system, the vehicle-mounted device system only stores the scene script, and when the current time reaches the effective time of the scene script, the vehicle-mounted device system can go to the first cloud server to acquire the egg-colored information corresponding to the scene script.
For example, referring to fig. 3, the second cloud server 32 issues a scene scenario to the car machine system 33 in 20 days in 12 months, the effective time of the scene scenario is 12 months and 25 days, the target scene corresponding to the scene scenario is that the car machine system is opened in 25 days in 12 months, then when the current time is in 25 days in 12 months, the car machine system 33 obtains the painted egg information from the first cloud server 31, stores the painted egg information, and when the current scene is in the target scene of "the car machine system is opened in 25 days in 12 months", the painted eggs corresponding to the painted egg information are displayed. Therefore, in the embodiment of the application, the writer of the scene script can conveniently operate the color eggs through the effective time and the target scene of the written scene script. And the colored eggs are displayed without complicated operation of a user, so that the user experience is improved.
The embodiment of the application provides a color egg display method, which comprises the following steps: acquiring a current scene where a vehicle-mounted machine system is located; determining whether the current scene is a target scene or not, and displaying the colored eggs corresponding to the colored egg information when the current scene is the target scene; the egg information is acquired from the first cloud server according to the scene identification of the target scene when the current time meets the effective time, the target scene, the scene identification and the effective time are contained in the scene script, and the scene script comes from the second cloud server. According to the embodiment of the application, the colored eggs are displayed through the current scene, and the user does not need to be subjected to complicated operation, so that the user experience is improved. And the colored eggs are issued by the first cloud server and have effective time, so that the colored eggs can be operated conveniently.
Referring to fig. 4, a flowchart of steps of a color egg display method according to another embodiment of the present application is provided, where the color egg display method specifically includes the following steps:
s401, receiving the scene scenario sent by the second cloud server.
Referring to fig. 3, after the scene script writer edits the scene script and the scene script corresponding to the scene script, the scene script and the scene script are uploaded to the second cloud server 32, then the scene Identifier (ID) of the scene script is synchronized to the first cloud server 31, and the first cloud server 31 configures the corresponding painted eggs for the scene script according to the scene identifier, generates corresponding painted egg attribute data, and stores the corresponding painted egg attribute data.
The scene scenario specifically comprises the following contents: version number, scene identification, target scene, effective time, ineffective time and scene script download address. In addition, the scenario further includes: script profiles, scene script Identification (ID), and the like.
In the embodiment of the application, the second cloud server is responsible for issuing the scene scenario to the car machine system through MQTT (message queue).
And S402, after receiving the scene script sent by the second cloud server, analyzing the scene script to obtain the version number of the scene script.
Referring to fig. 3, the second cloud server 32 issues the scene scenario to the in-vehicle system 33, and after the in-vehicle system 33 is started, the issued scene scenario is received by the scenario analysis module of the scene engine. First, the scenario analysis module analyzes the scenario to obtain a version number of the scenario.
And S403, if the version number is the updated version number of the scene script, saving the scene script.
Specifically, the analyzed version number is compared with the version number of the same local scene script stored locally, and if the version number is the updated version number, the received scene script is stored, so that the local scene script is updated.
S404, downloading the scene script from the second cloud server according to the scene script downloading address.
Referring to fig. 3, the scene scenario further includes a scene script download address, and after the scenario parsing module parses the scene script download address in the scene scenario, the scene script download address is transmitted to the script execution module, the script execution module downloads the scene script corresponding to the scene scenario from the second cloud server according to the scene script download address, and the in-vehicle system executes the scene script and then hangs up the scene script. And after the current time meets the effective time, running the scene script.
And S405, when the current time meets the effective time, running the scene script.
The scene script is used for determining whether the current scene is the target scene.
Specifically, in the running process of the scene script, whether the current scene is the target scene or not can be judged. After the scene script is operated, whether the current scene is a target scene is determined.
And S406, acquiring the current scene of the vehicle-mounted device system.
The specific implementation process of this step refers to S201, and is not described herein again.
And S407, when the current scene is determined to be the target scene, acquiring corresponding attribute data of the colored eggs from the first cloud server according to the scene identification.
Referring to fig. 3, when it is determined that the current scene is the target scene, the script execution module transmits the scene identifier to the eggbeater acquisition module through an eggbeater service SDK (software package).
In addition, the data sent by the scene engine to the egg service further comprises: the triggering time and triggering type of the current scene triggered by the user, the package name of the color egg service software package, the opening mode of the color egg service and the like can also be used.
For example, if the car machine system is turned on 30 minutes at 09 time of 12 months and 25 days in 2021, the triggering time is 30 minutes at 09 time of 12 months and 25 days in 2021, and the triggering type is turning on the car machine system.
Further, the painted egg acquisition module transmits the scene identifier to the first cloud server 31 through an http interface of the first cloud server, and the first cloud server 31 queries the painted egg attribute data corresponding to the scene identifier according to the acquired scene identifier and sends the queried painted egg attribute data to the painted egg acquisition module.
Wherein, the attribute data of the colored eggs comprises: and (5) downloading the address of the colored eggs. The egg attribute data may further include: egg Identification (ID), egg name, start time, end time, file size, egg type (video or animation), and scene identification.
And S408, downloading the corresponding preserved eggs from the first cloud server according to the preserved egg downloading addresses.
After the corresponding eggs are downloaded by the in-vehicle system 33, the eggs may be videos or live effects. And analyzing the colored eggs and storing the colored eggs to the local.
And S409, storing the colored eggs and generating storage data of the colored eggs.
In the embodiment of the application, the downloaded color eggs are analyzed and stored locally to generate the storage data of the color eggs. Wherein, if the painted egg is a video, the storage data of the painted egg includes: video file storage paths, for example: mp 4/storage/expanded/0/video/christmas. If the painted egg is a live effect, the stored data of the painted egg comprises: a dynamic effect sequence frame file path, a dynamic effect json (JavaScript Object Notation, which is a lightweight data exchange format) file path, and the like.
Illustratively, the dynamic sequence frame file path is as follows: json, dynamic json file path is as follows: storage/expanded/0/anim/images/.
Further, storing the data further comprises: the downloading task ID of the preserved egg, the downloading state of the preserved egg, the size of the file currently downloaded by the preserved egg and the total size of the preserved egg file.
And S410, integrating the attribute data and the storage data of the colored eggs to obtain the colored egg information.
The step of integrating the attribute data and the storage data of the colored eggs refers to combining part of data in the attribute data of the colored eggs and part of data in the storage data to obtain the colored egg information.
In an embodiment of the present application, the egg information may include: the system comprises a color egg ID, a color egg name, a color egg start time, a color egg end time, a color egg type, a color egg storage path (a video storage path or a color egg motion effect sequence frame file path, a color egg motion effect json file path), a color egg downloading task ID, a color egg downloading state, a currently downloaded color egg file size, a total color egg file size and the like.
And S411, determining a corresponding player according to the type of the colored eggs.
Wherein, the attribute data of the colored eggs comprises: egg type, such as video or action.
Specifically, referring to fig. 3, the egg information integrating module sends the integrated egg information to an egg UI (interactive interface), the egg display module first determines whether the egg is downloaded according to the egg downloading status in the egg information, and if so, determines the corresponding player according to the egg type.
Illustratively, if the type of egg is determined to be a video egg, the Player is determined to be a Media Player (multimedia) Player. And if the type of the colored eggs is determined to be the live-action colored eggs, determining that the player is a Lottie Animation View (Animation effect) player.
And S412, displaying the colored eggs corresponding to the colored egg information by adopting a player.
Wherein, the painted eggshell type is the dynamic effect type, and painted eggshell information includes: a json file path and a sequence frame file path. Adopt the player, show the colored egg that colored egg information corresponds, include: and displaying the colored eggs by adopting a player according to the json file path and the sequence frame file path.
For example, if the egg is a live-action type egg, a Lottie (an open source tool capable of adding Animation effects to the native application) technology is used to transfer the egg live-action json file path and the egg live-action sequence frame file path in the egg information to a Lottie Animation View player for playing. The json is combined with the sequence frame technology to reduce consumption of vehicle machine system performance, specifically, json can reduce consumption of a vehicle machine system CPU, and the sequence frame can reduce consumption of a vehicle machine system memory, so that use experience of a user is improved.
In addition, if the video eggs are video eggs, the video file storage path is transmitted to a Media Player with Android, and the video eggs are played in cooperation with Surface View (which is responsible for correctly placing image frames on a display interface).
And S413, if the current time meets the failure time, deleting the egg-preserved information.
In an embodiment of the present application, the scenario further includes: time to failure. When the current time meets the failure time, the memory of the car machine system can be released by deleting the colored egg information, and the color egg information is convenient for a writer of the scene script to operate. In addition, when the current time meets the failure time, the scene script and the scene script in the vehicle-mounted machine system can be deleted.
For example, if the expiration time of the scene scenario is 12 months and 26 days, and the egg information, the scene scenario and the scene scenario are deleted when the current time is 12 months and 26 days, the egg corresponding to "christmas" will not be displayed when the car machine system is started by the user 12 months and 26 days.
In the embodiment of the application, the editor of the scene scenario can conveniently operate the color eggs by setting the effective time and the ineffective time. And by compiling the target scene and the scene script, the user can display the colored eggs on the display interface without complicated operation, so that the user experience is improved.
Fig. 5 is a block diagram of a colored egg obtaining apparatus 50 according to an embodiment of the present disclosure. As shown in fig. 5, the present application provides a colored egg obtaining apparatus 50, which includes: an acquisition module 51, a determination module 52 and a display module 53, wherein:
the obtaining module 51 is configured to obtain a current scene where the car machine system is located;
a determining module 52, configured to determine whether the current scene is a target scene;
the display module 53 is configured to display a painted egg corresponding to the painted egg information when the current scene is the target scene;
the egg information is acquired from the first cloud server according to the scene identification of the target scene when the current time meets the effective time, the target scene, the scene identification and the effective time are contained in the scene script, and the scene script is acquired from the second cloud server.
In one embodiment of the present application, the egg display device 50 further comprises:
an obtaining module (not shown) configured to obtain corresponding egg attribute data from the first cloud server according to the scene identifier, where the egg attribute data includes: downloading addresses of the colored eggs;
a first downloading module (not shown) for downloading the corresponding eggs from the first cloud server according to the egg downloading addresses;
a first saving module (not shown) for saving the colored eggs and generating the stored data of the colored eggs;
and the integration module (not shown) is used for integrating the attribute data of the preserved eggs and the storage data to obtain the preserved egg information.
In one embodiment of the present application, the egg attribute data includes: egg type, the display module 52 includes:
the determining unit is used for determining a corresponding player according to the type of the colored eggs;
and the display unit is used for displaying the colored eggs corresponding to the colored egg information by adopting a player.
In one embodiment of the present application, the painted egg type is a live action type, and the painted egg information includes: a json file path and a sequence frame file path, the display unit being specifically configured to: and displaying the colored eggs by adopting a player according to the json file path and the sequence frame file path.
In one embodiment of the present application, the scenario further includes: the scene script download address, the color egg display device 50 further includes:
a second download module (not shown) for downloading the scene script from the second cloud server according to the scene script download address;
and the operation module is used for operating the scene script when the current time meets the effective time, and the scene script is used for determining whether the current scene is the target scene.
In one embodiment of the present application, the egg display device 50 further comprises:
the analysis module (not shown) is used for analyzing the scene script after receiving the scene script sent by the second cloud server, so as to obtain the version number of the scene script;
and a second saving module (not shown) configured to save the scene scenario if the version number is the updated version number of the scene scenario.
In one embodiment of the present application, the scenario further includes: the failure time, the colored egg display device still includes:
and a deleting module (not shown) for deleting the preserved egg information if the current time meets the expiration time.
The color egg display device provided in the embodiment of the application is used for executing the technical scheme in the method embodiment corresponding to fig. 2 or fig. 4, and the implementation principle and the technical effect are similar, and are not described again here.
Fig. 6 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application. As shown in fig. 6, the electronic device 60 of the embodiment of the present application may include: at least one processor 61 (only one processor is shown in FIG. 6); and a memory 62 communicatively coupled to the at least one processor. The memory 62 stores instructions executable by the at least one processor 61, and the instructions are executed by the at least one processor 61, so that the electronic device 60 can execute the technical solution in any one of the foregoing method embodiments.
Alternatively, the memory 62 may be separate or integrated with the processor 61.
When the memory 62 is a device separate from the processor 61, the electronic device 60 further includes: a bus 63 for connecting the memory 62 and the processor 61.
The electronic device provided in the embodiment of the present application may execute the technical solution of any one of the foregoing method embodiments, and the implementation principle and the technical effect are similar, which are not described herein again.
The embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program is executed by a processor, the computer program is used to implement the technical solution in any of the foregoing method embodiments.
The present application provides a computer program product, including a computer program, which, when executed by a processor, implements the technical solutions in any of the foregoing method embodiments.
An embodiment of the present application further provides a chip, including: a processing module and a communication interface, wherein the processing module can execute the technical scheme in the method embodiment.
Further, the chip further includes a storage module (e.g., a memory), where the storage module is configured to store instructions, and the processing module is configured to execute the instructions stored in the storage module, and the execution of the instructions stored in the storage module causes the processing module to execute the technical solution in the foregoing method embodiment.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
The memory may comprise a high-speed RAM memory, and may further comprise a non-volatile storage NVM, such as at least one disk memory, and may also be a usb disk, a removable hard disk, a read-only memory, a magnetic or optical disk, etc.
The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, the buses in the figures of the present application are not limited to only one bus or one type of bus.
The storage medium may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuits (ASIC). Of course, the processor and the storage medium may reside as discrete components in an electronic device.
Finally, it should be noted that: the above embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. The colored egg display method is applied to a vehicle machine system and comprises the following steps:
acquiring a current scene where the vehicle-mounted machine system is located;
determining whether the current scene is a target scene;
when the current scene is the target scene, displaying the colored eggs corresponding to the colored egg information;
the egg information is obtained from a first cloud server according to a scene identifier of the target scene when the current time meets the effective time, the target scene, the scene identifier and the effective time are contained in a scene script, and the scene script is obtained from a second cloud server.
2. The method according to claim 1, wherein before displaying the eggs corresponding to the egg information when the current scene is the target scene, the method further comprises:
acquiring corresponding egg attribute data from the first cloud server according to the scene identifier, wherein the egg attribute data comprises: downloading addresses of the colored eggs;
downloading the corresponding preserved eggs from the first cloud server according to the preserved egg downloading addresses;
saving the colored eggs and generating storage data of the colored eggs;
and integrating the attribute data of the preserved eggs and the stored data to obtain the preserved egg information.
3. A method for displaying a colored egg according to claim 2, wherein the colored egg attribute data comprises: the type of the preserved egg, the displaying the preserved egg corresponding to the preserved egg information comprises:
determining a corresponding player according to the type of the colored eggs;
and displaying the colored eggs corresponding to the colored egg information by adopting the player.
4. A method as claimed in claim 3, wherein the type of egg is a live type, and the egg information includes: a json file path and a sequence frame file path, wherein the displaying of the painted eggs corresponding to the painted egg information by using the player includes:
and displaying the colored eggs by adopting the player according to the json file path and the sequence frame file path.
5. The method for displaying colored eggs according to any one of claims 1 to 4, wherein the scenario further comprises: the scene script download address, the color egg display method further comprises:
downloading the scene script from the second cloud server according to the scene script downloading address;
and when the current time meets the effective time, running the scene script, wherein the scene script is used for determining whether the current scene is the target scene.
6. The method for displaying colored eggs according to any one of claims 1 to 4, further comprising:
after receiving a scene script sent by a second cloud server, analyzing the scene script to obtain a version number of the scene script;
and if the version number is the updated version number of the scene script, saving the scene script.
7. The method for displaying colored eggs according to any one of claims 1 to 4, wherein the scenario further comprises: the display method of the colored eggs further comprises the following steps:
and if the current time meets the failure time, deleting the egg-preserved information.
8. The utility model provides a colored egg acquisition device which characterized in that is applied to car machine system, colored egg display method includes:
the acquisition module is used for acquiring a current scene where the vehicle-mounted machine system is located;
the determining module is used for determining whether the current scene is a target scene;
the display module is used for displaying the colored eggs corresponding to the colored egg information when the current scene is the target scene;
the egg information is acquired from a first cloud server according to a scene identifier of the target scene when the current time meets the effective time, the target scene, the scene identifier and the effective time are contained in a scene script, and the scene script is from a second cloud server.
9. An electronic device, comprising:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the electronic device to perform the method of displaying a colored egg of any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the colored egg display method according to any one of claims 1 to 7.
CN202111519945.0A 2021-12-13 2021-12-13 Color egg display method and device and electronic equipment Pending CN114302191A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111519945.0A CN114302191A (en) 2021-12-13 2021-12-13 Color egg display method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111519945.0A CN114302191A (en) 2021-12-13 2021-12-13 Color egg display method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114302191A true CN114302191A (en) 2022-04-08

Family

ID=80967323

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111519945.0A Pending CN114302191A (en) 2021-12-13 2021-12-13 Color egg display method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114302191A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024051569A1 (en) * 2022-09-05 2024-03-14 华为技术有限公司 Scene display method and electronic device

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182125A (en) * 2014-08-25 2014-12-03 腾讯科技(深圳)有限公司 Method and device for triggering and operating suspension windows
CN106406924A (en) * 2015-07-31 2017-02-15 深圳创锐思科技有限公司 Application startup and exiting image control method and apparatus, and mobile terminal
CN108810132A (en) * 2018-06-07 2018-11-13 腾讯科技(深圳)有限公司 Cartoon display method, device, terminal, server and storage medium
US20200349753A1 (en) * 2019-07-22 2020-11-05 Beijing Dajia Internet Information Technology Co., Ltd. Method, device and storage medium for generating animation
CN112874455A (en) * 2021-02-26 2021-06-01 恒大新能源汽车投资控股集团有限公司 Control method and device of vehicle-mounted system and electronic equipment
CN112887342A (en) * 2021-04-29 2021-06-01 湖北亿咖通科技有限公司 Service scheduling method, vehicle-mounted service processing system, electronic device and storage medium
US20210374328A1 (en) * 2020-05-27 2021-12-02 Bank Of America Corporation Video buffering for interactive videos using a markup language

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104182125A (en) * 2014-08-25 2014-12-03 腾讯科技(深圳)有限公司 Method and device for triggering and operating suspension windows
CN106406924A (en) * 2015-07-31 2017-02-15 深圳创锐思科技有限公司 Application startup and exiting image control method and apparatus, and mobile terminal
CN108810132A (en) * 2018-06-07 2018-11-13 腾讯科技(深圳)有限公司 Cartoon display method, device, terminal, server and storage medium
US20200349753A1 (en) * 2019-07-22 2020-11-05 Beijing Dajia Internet Information Technology Co., Ltd. Method, device and storage medium for generating animation
US20210374328A1 (en) * 2020-05-27 2021-12-02 Bank Of America Corporation Video buffering for interactive videos using a markup language
CN112874455A (en) * 2021-02-26 2021-06-01 恒大新能源汽车投资控股集团有限公司 Control method and device of vehicle-mounted system and electronic equipment
CN112887342A (en) * 2021-04-29 2021-06-01 湖北亿咖通科技有限公司 Service scheduling method, vehicle-mounted service processing system, electronic device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024051569A1 (en) * 2022-09-05 2024-03-14 华为技术有限公司 Scene display method and electronic device

Similar Documents

Publication Publication Date Title
CN108153551B (en) Method and device for displaying business process page
CN106375696B (en) A kind of film recording method and device
CN108228293B (en) Interface skin switching method and device
CN111367518B (en) Page layout method, page layout device, computing equipment and computer storage medium
CN109347898B (en) Scene information sending method, scene information display method, server and mobile terminal
CN109858962B (en) Advertisement display method based on electronic book and electronic equipment
CN110166810A (en) Video rendering engine switching method, device, equipment and readable storage medium storing program for executing
CN110717536A (en) Method and device for generating training sample
CN114302191A (en) Color egg display method and device and electronic equipment
CN110704059A (en) Image processing method, image processing device, electronic equipment and storage medium
CN111290951A (en) Test method, terminal, server, system and storage medium
CN110134410B (en) Personalized information association method and device for cold-start user and storage medium
CN113485548B (en) Model loading method and device of head-mounted display equipment and head-mounted display equipment
CN110366025B (en) Configuration method of display content, intelligent terminal and computer readable storage medium
CN108009226B (en) Promotion content display implementation method based on intelligent terminal application and intelligent terminal
CN111445274A (en) Configurable packaging method and device based on advertisement platform and computing equipment
US20160132424A1 (en) Simulating sensors
CN112954444B (en) Method and device for loading signaling file, storage medium and electronic equipment
CN111475589B (en) Image data rendering method and device
US10607391B2 (en) Automated virtual artifact generation through natural language processing
CN111427645A (en) H5-based cross-terminal adaptive display method and device
CN110968312A (en) Method and device for changing interface layout of application program
CN110175044A (en) The method that vehicle mounted guidance host automatically updates start up graphic
CN110069233B (en) Method and device for controlling display of application notification adaptive to vehicle-mounted system and vehicle
AU2024200289A1 (en) Skin changing method and apparatus for display interface, vehicle and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination