Instrument and intelligent cabin boot animation linkage method, device, equipment and medium
By establishing communication between the instrument and the smart cockpit and determining keyframes, and using software to realize synchronous playback of the boot animation, the problem of displaying the boot animation of the instrument and the smart cockpit is solved, improving the user experience and system stability.
Patent Information
- Application Number
- CN202510422032.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-07
- Publication Date
- 2025-07-11
AI Technical Summary
In the prior art, the on-the-show animations of the instrument and the smart cockpit are still displayed separately, lacking linkage effects and affecting the user experience.
By establishing communication between the instrument and the smart cockpit, determining the keyframes of the startup linkage animation, and synchronizing the playback in real time during playback, the linkage is achieved using software to avoid hardware resource occupation.
It realizes synchronous playback of instruments and smart cockpits, improves user experience, avoids the phenomenon of multiple screen black screens caused by single system failure, and makes debugging and positioning problems more convenient.
Smart Images

Figure CN120295596A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of automobiles, and particularly to a method, device, equipment and medium for the linkage of the instrument and the startup animation of the intelligent cockpit. Background Art
[0002] With the development of technology, the in-vehicle cockpit control system has evolved into an intelligent cockpit domain controller, which incorporates the previous independent instrument controller and intelligent cockpit controller. However, the current startup animations are still displayed separately. Summary of the Invention
[0003] The purpose of the present invention is to provide a method, device, equipment and medium for the linkage of the instrument and the startup animation of the intelligent cockpit, so as to achieve a linkage effect between the instrument and the startup animation of the intelligent cockpit and improve the user experience.
[0004] Next, in the first aspect of the present invention, a method for the linkage of the instrument and the startup animation of the intelligent cockpit is provided. The method includes:
[0005] Obtain the startup linkage animation of the instrument and the intelligent cockpit, and determine all the segments in the startup linkage animation with interactive picture content. Set the starting frames of these segments as key frames;
[0006] The instrument and the intelligent cockpit are started and communication is established.
[0007] When a play instruction is received, the instrument and the intelligent cockpit start playing the startup linkage animation simultaneously.
[0008] During the playing process, when at least one of the instrument and the intelligent cockpit plays to a certain key frame, send the key frame signal to the other one of the instrument and the intelligent cockpit through communication.
[0009] When the other one of the instrument and the intelligent cockpit receives the key frame signal, determine whether to play the key frame synchronously at present; if so, continue playing; if not, jump to play the key frame.
[0010] In some embodiments, the communication methods between the instrument and the intelligent cockpit include socket connection, serial port and spi.
[0011] In some embodiments, after the instrument and the intelligent cockpit are started, one of the instrument and the intelligent cockpit instantiates the bootanim process through the surfaceflinger service, the bootanim process starts, and the initialization thread signalThread is used for communication to establish communication with the other one of the instrument and the intelligent cockpit.
[0012] In some embodiments, the instrument and the intelligent cockpit play the startup linkage animation at the same frame rate.
[0013] In some of these embodiments, one of the instrument and the intelligent cockpit sends a play instruction through communication to notify the other to start playing the startup linkage animation simultaneously, or the instrument and the intelligent cockpit receive play instructions sent simultaneously by a specific device to start playing the startup linkage animation simultaneously;
[0014] After the instrument and the intelligent cockpit finish playing, they send a notification to each other. The one that finishes playing first maintains the last frame and waits for the other to finish playing, and then they exit the play together.
[0015] In some of these embodiments, if a specific situation occurs in the instrument or the intelligent cockpit, the startup linkage animation is directly started; wherein, the specific situation includes failure to start in time, inability to establish communication, occurrence of a fault, and failure to receive a play instruction within a certain period of time after startup.
[0016] In some of these embodiments, the number of key frames is 1 to 2.
[0017] In a second aspect, the present invention provides an instrument and intelligent cockpit startup animation linkage device for implementing the instrument and intelligent cockpit startup animation linkage method described in any one of the first aspects. The device includes:
[0018] An instrument, provided with at least one display screen for playing the startup linkage animation;
[0019] An intelligent cockpit, provided with at least one display screen for playing the startup linkage animation;
[0020] The instrument and the intelligent cockpit are provided with a communication link to establish communication.
[0021] According to a third aspect of the present invention, there is provided a computer device, including: a processor and a memory. The memory stores a program or instruction that can run on the processor. When the program or instruction is executed by the processor, the steps of the instrument and intelligent cockpit startup animation linkage method described in any one of the first aspects are implemented.
[0022] According to a fourth aspect of the present invention, there is provided a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by the processor, the steps of the instrument and intelligent cockpit startup animation linkage method described in any one of the first aspects are implemented.
[0023] Generally speaking, compared with the prior art through the above technical solutions conceived by the present invention, the following beneficial effects can be achieved:
[0024] The present invention enables the instrument to establish communication with the intelligent cockpit in a software manner, eliminating the need to occupy valuable hardware resources for synchronization signals, facilitating debugging and problem location. By setting the starting frames of all segments with interactions in the startup linkage animation as key frames, the instrument and the intelligent cockpit play the startup linkage animation synchronously, thus achieving a linkage effect between the instrument and the intelligent cockpit startup animations and enhancing the user experience.
[0025] Furthermore, when specific situations such as one of the instrument and the intelligent cockpit not starting in time, being unable to establish communication, malfunctioning, or not receiving a play instruction within a certain time after startup occur, it will not cause a black screen phenomenon on several screens simultaneously, and the normally started system can play its own startup animation.
[0026] Furthermore, the number of key frames is 1 to 2, avoiding video stuttering caused by an excessive number of key frames. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 is a schematic flowchart of a method for linking the startup animations of an instrument and an intelligent cockpit provided by an embodiment of the present application;
[0028] Figure 2 is a schematic diagram of a sequence frame form provided by an embodiment of the present application;
[0029] Figure 3 is a key frame judgment logic diagram provided by an embodiment of the present application;
[0030] Figure 4 is a software timing schematic diagram between an instrument and an intelligent cockpit provided by an embodiment of the present application;
[0031] Figure 5 is a schematic structural diagram of a device for linking the startup animations of an instrument and an intelligent cockpit provided by an embodiment of the present application;
[0032] Figure 6 is a schematic hardware structure diagram of a computer device provided by an embodiment of the present application. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0033] In order to make the objectives, technical solutions, and advantages of the present invention clearer, the present invention will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention. All other embodiments obtained by those of ordinary skill in the art based on the embodiments provided in the present application without creative efforts fall within the scope of protection of the present invention.
[0034] Obviously, the accompanying drawings in the following description are only some examples or embodiments of the present application. For those of ordinary skill in the art, without creative efforts, the present application can also be applied to other similar scenarios based on these drawings. In addition, it can also be understood that although the efforts made in such a development process may be complex and lengthy, for those of ordinary skill in the art related to the content disclosed in the present application, some design, manufacturing, or production changes based on the technical content disclosed in the present application are only conventional technical means and should not be understood as the content disclosed in the present application being insufficient.
[0035] In the present application, the mention of "embodiment" means that the specific features, structures, or characteristics described in connection with the embodiment can be included in at least one embodiment of the present application. The appearance of this phrase at various positions in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those of ordinary skill in the art explicitly and implicitly understand that the embodiments described in the present application can be combined with other embodiments without conflict.
[0036] Unless otherwise defined, the technical terms or scientific terms involved in the present application should have the ordinary meaning understood by those of ordinary skill in the technical field to which the present application belongs. The words such as "a", "an", "one", "the", etc. involved in the present application do not indicate a quantity limitation and can represent a singular or plural number. The terms "including", "comprising", "having" and any variations thereof involved in the present application are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that includes a series of steps or modules (units) is not limited to the listed steps or units, but may further include unlisted steps or units, or may further include other steps or units inherent to these processes, methods, products, or devices. The terms "connected", "coupled", etc. involved in the present application are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect. The term "plurality" involved in the present application refers to two or more. "And / or" describes the association relationship of associated objects and indicates that three relationships may exist. For example, "A and / or B" may represent: A exists alone, A and B exist simultaneously, and B exists alone. The character " / " generally represents an "or" relationship between the associated objects before and after. The terms "first", "second", "third", etc. involved in the present application are only used to distinguish similar objects and do not represent a specific order for the objects.
[0037] The present application provides a method, device, equipment, and medium for the linkage of the instrument and the intelligent cockpit startup animation, which can enable the startup animations of the two systems to achieve a linkage effect, thereby improving the user experience.
[0038] The embodiments of the present application provide a method, device, equipment and medium for the linkage of the instrument and the intelligent cockpit startup animation, which are applicable to automobiles equipped with an instrument and an intelligent cockpit. Figure 1 It is a schematic flowchart of a method for the linkage of the instrument and the intelligent cockpit startup animation provided by the embodiments of the present application. As Figure 1 shown, the method includes the following steps:
[0039] S101. Obtain the startup linkage animation of the instrument and the intelligent cockpit, and determine all the segments in the startup linkage animation with interactive screen content. Set the starting frames of these segments as key frames.
[0040] In some embodiments, the startup linkage animation of the instrument and the intelligent cockpit needs to have a linkage effect. Therefore, when making the startup animation, an animation effect with linkage is made, and then the two screens of the instrument and the intelligent cockpit are played simultaneously at the same frame rate.
[0041] Exemplarily, an item moves from the left screen to the right for a total of 10 unit lengths. The animation played on the left screen is to move 1 - 5 unit lengths (at this time, it plays to the 30th frame), and the content played on the right starts exactly from the 31st frame and the content is to move 6 - 10 unit lengths. The interactive screen content is placed in frames with the same order, and the linkage is achieved through the animation itself. In this way, as long as both sides play together, the linkage effect can be achieved.
[0042] Another example is that the instrument and the intelligent cockpit start playing a certain screen content at the same time, which can also be classified as a situation where the screen content has interaction.
[0043] The startup animation playing resources are sequence frames parsed from video resources, and the form of the sequence frames is as Figure 2 shown. Both sides agree that the starting frame involving content interaction is the key frame. When one side plays to the key frame, it notifies the other side, and the other side directly jumps to the key frame to start playing, so as to ensure that both sides play the screen with interactive content at the same time.
[0044] In addition, the number of key frames should not be too many, preferably 1 - 2. Too many will cause video stuttering. Therefore, selection can be made among the key frames, and only one of the key frames with a relatively close distance can be retained.
[0045] S102. The instrument and the intelligent cockpit are started and communication is established.
[0046] In some embodiments, in order to synchronize the playback of the startup linkage animation, the instrument and the intelligent cockpit need to support communication and perform synchronization in the following way through software communication.
[0047] As Figure 5As shown in the figure, after the instrument and cockpit system are started, their own startup animation resource files are read, and decompression and parsing operations are completed. In this embodiment, the communication method between the instrument and the cockpit is a socket connection. In addition to the socket connection, communication methods such as serial ports and SPIs can also be used for connection. This embodiment only uses the socket as an example.
[0048] When the system is started, the surfaceflinger service instantiates bootanim, and the startup animation bootanim process of the cockpit is started. The initialization thread signalThread is used for communication. It establishes communication with the instrument through the socket, and then turns on the backlight to prepare to play the animation. The socket node is: / data / df_bootanim / bootanimsync.
[0049] S103. When a play instruction is received, the instrument and the intelligent cockpit start playing the startup linkage animation simultaneously.
[0050] In some embodiments, the instrument sends a message to start playing (the data segment is 0x01) to notify the cockpit to start playing the animation. Both sides play together with the same video frame rate. Of course, it can also be the cockpit that notifies the instrument to start playing the animation. If neither side receives the message to start playing within 2 seconds, it will automatically start playing.
[0051] The content of the message sent is assembled into data according to a certain format.
[0052] S104. During the playback process, when at least one of the instrument and the intelligent cockpit plays to a certain key frame, the key frame signal is sent to the other through communication.
[0053] In some embodiments, both sides agree that the starting frame involving content interaction is the key frame. When one side plays to the key frame, it notifies the other side, and the other side directly jumps to the key frame to start playing, ensuring that the pictures with interactive content are played simultaneously on both sides.
[0054] S105. When the other of the instrument and the intelligent cockpit receives the key frame signal, it judges whether to play the key frame synchronously currently; if so, continue to play; if not, jump to the key frame to play.
[0055] In some embodiments, after the bootanim process of the startup animation service reads the animation resource file, it parses it, and then sends the content to the screen driver for display in sequence. As Figure 3 and Figure 4 shown, when the key frame signal is received, the following logical judgment is made:
[0056] When the key frame has not been played before and the key frame signal is received, jump to the key frame to play;
[0057] It has been synchronized to the key frame and continues to play.
[0058] In this way, synchronous playback is achieved. After playback is completed, a notification is sent to the other party; the card that finishes playing first stays on the last frame of the screen, waiting for the other party to finish playing simultaneously. After both parties finish playing together, they exit the boot animation screen together.
[0059] Specifically, if one of the systems fails to start in time during startup and cannot establish a communication connection, this unit continues to play without synchronizing the playback with the other system. There is no need to wait after the final playback is completed, and it can exit directly.
[0060] As described above, the method for linking the instrument and the intelligent cockpit boot animation of this application realizes the synchronization of the boot animation through software. The synchronization method is to notify the other party when one party takes the lead in playing to the key frame, so that the playback progress of both parties is the same. It is decoupled from the hardware facilities and does not require precious hardware resources for synchronization signals, and can be transplanted on multiple platforms. When a system fails, it will not cause the black screen phenomenon to occur on several screens at the same time, and the normally started system can play its own boot animation.
[0061] The embodiment of this application also provides another method for linking the instrument and the intelligent cockpit boot animation. The principle and idea of this embodiment are basically the same as those of the previous embodiment. The difference is that: the instrument and the intelligent cockpit are jointly connected to a third device, and the third device sends a playback instruction to the instrument and the intelligent cockpit at the same time to notify the instrument and the intelligent cockpit to start playing the boot linkage animation at the same time. The third device can be a controller. In addition, the instrument and the intelligent cockpit can also communicate through the third device.
[0062] It should be noted that the steps shown in the above process or the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. And although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here. For example, step S101 can also be after step S102.
[0063] The embodiment of this application also provides a device for linking the instrument and the intelligent cockpit boot animation. These devices are used to implement the above-mentioned embodiments and preferred implementation manners, and those that have been described will not be repeated. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.
[0064] Figure 5 is a schematic structural diagram of the device for linking the instrument and the intelligent cockpit boot animation of the embodiment of this application, as Figure 5 shown, the device includes an instrument and an intelligent cockpit; wherein:
[0065] An instrument is provided with at least one display screen to play a startup linkage animation;
[0066] An intelligent cockpit is provided with at least one display screen to play a startup linkage animation;
[0067] The instrument and the intelligent cockpit are provided with a communication link to establish communication, such as Figure 2 the socket in
[0068] The startup animation can be placed in the instrument, or in the cockpit, or stored in a third device and then transmitted to the instrument and the intelligent cockpit when needed. Of course, the instrument and the intelligent cockpit can also each store a copy of the startup animation to prevent the inability to play due to the failure of the other device.
[0069] In addition, the instrument and intelligent cockpit startup animation linkage method according to the embodiments of the present application described in Figure 1 can be implemented by a computer device. Figure 6 It is a schematic diagram of the hardware structure of the computer device according to the embodiments of the present application. As Figure 6 shown, the device may include a processor 301 and a memory 302 storing computer program instructions.
[0070] Specifically, the above-mentioned processor 301 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.
[0071] Among them, the memory 302 may include a mass storage for data or instructions. By way of example and not limitation, the memory 302 may include a hard disk drive (HDD), a floppy disk drive, a solid state drive (SSD), a flash memory, an optical disc, a magneto-optical disc, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. In appropriate cases, the memory 302 may include removable or non-removable (or fixed) media. In appropriate cases, the memory 302 may be internal or external to the data processing device. In a particular embodiment, the memory 302 is a non-volatile memory. In a particular embodiment, the memory 302 includes a read-only memory (ROM) and a random access memory (RAM). In appropriate cases, the ROM may be a mask-programmed ROM, a programmable ROM (PROM), an erasable PROM (EPROM), an electrically erasable PROM (EEPROM), an electrically alterable ROM (EAROM), or a flash memory, or a combination of two or more of these. In appropriate cases, the RAM may be a static random access memory (SRAM) or a dynamic random access memory (DRAM), where the DRAM may be a fast page mode dynamic random access memory (FPMDRAM), an extended date out dynamic random access memory (EDODRAM), a synchronous dynamic random access memory (SDRAM), etc.
[0072] The memory 302 can be used to store or cache various data files required for processing and / or communication, as well as possible computer program instructions executed by the processor 301.
[0073] By reading and executing the computer program instructions stored in the memory 302, the processor 301 implements any one of the instrument and intelligent cockpit startup animation linkage methods in the above embodiments.
[0074] In some embodiments, the point cloud generation device may further include a communication interface 303 and a bus 300. Among them, as Figure 6 shown, the processor 301, the memory 302, and the communication interface 303 are connected through the bus 300 and complete communication with each other.
[0075] The communication interface 303 is used to implement communication between the various modules, devices, units, and / or devices in the embodiments of the present application. The communication interface 303 can also implement data communication with other components, such as external devices, image / data acquisition devices, databases, external storage, and image / data processing workstations.
[0076] Bus 300 includes hardware, software, or both, and couples components of the point cloud generation device to each other. Bus 300 includes, but is not limited to, at least one of the following: Data Bus, Address Bus, Control Bus, Expansion Bus, Local Bus. By way of example and not limitation, Bus 300 may include an Accelerated Graphics Port (AGP) or other graphics bus, an Extended Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hyper Transport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an InfiniBand interconnect, a Low Pin Count (LPC) bus, a memory bus, a MicroChannel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a Video Electronics Standards Association Local Bus (VLB) bus, or other suitable buses or a combination of two or more of these. In a suitable case, Bus 300 may include one or more buses. Although the embodiments of the present application describe and illustrate specific buses, the present application contemplates any suitable bus or interconnect.
[0077] The computer device may execute the instrument and intelligent cockpit startup animation linkage method in the embodiments of the present application based on the rendering device, so as to implement the combination Figure 1 of the described instrument and intelligent cockpit startup animation linkage method.
[0078] In addition, in combination with the instrument and intelligent cockpit startup animation linkage method in the above embodiments, the embodiments of the present application may provide a computer-readable storage medium to implement. Computer program instructions are stored on the computer-readable storage medium; when the computer program instructions are executed by a processor, any one of the instrument and intelligent cockpit startup animation linkage methods in the above embodiments is implemented.
[0079] In summary, the present application provides a method, device, equipment and medium for the instrument to be linked with the intelligent cockpit startup animation. It can avoid using hardware for notification and adopt software coding to make the instrument and the intelligent cockpit play the startup linked animation synchronously, and also avoid the situation where other screens go black when a single system fails.
[0080] It should be noted that the technical features of the above-described embodiments can be combined arbitrarily. For the sake of brevity of description, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope described in this specification. In addition, according to the needs of implementation, the various steps / components described in the present application can be split into more steps / components, or two or more steps / components or partial operations of the steps / components can be combined into new steps / components to achieve the purpose of the present invention.
[0081] Those skilled in the art can easily understand that the above-described embodiments only represent several implementation manners of the present application. The description is relatively specific and detailed, but it cannot be construed as a limitation on the scope of the invention patent. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all belong to the protection scope of the present application. Therefore, the protection scope of the patent of the present application shall be subject to the appended claims.
Claims
1. A method for the linkage between an instrument and the startup animation of an intelligent cockpit, characterized in that, The method includes: Obtain the startup linkage animation between the instrument and the intelligent cockpit, and determine all the segments in the startup linkage animation with interactive screen content. Set the starting frames of these segments as key frames. The instrument and the intelligent cockpit are started and communication is established. When a play instruction is received, the instrument and the intelligent cockpit start playing the startup linkage animation simultaneously. During the playing process, when at least one of the instrument and the intelligent cockpit plays to a certain key frame, send the key frame signal to the other one of the instrument and the intelligent cockpit through communication. When the other one of the instrument and the intelligent cockpit receives the key frame signal, determine whether to play this key frame synchronously currently; if so, continue playing; if not, jump to play this key frame.
2. The method for the instrument to be linked with the intelligent cockpit startup animation according to claim 1, wherein The communication methods between the instrument and the intelligent cockpit include socket connection, serial port, and spi.
3. The instrument and intelligent cockpit startup animation linkage method according to claim 1, wherein After the instrument and the intelligent cockpit are started, one of the instrument and the intelligent cockpit instantiates the bootanim process through the surfaceflinger service. The bootanim process is started, and the initialization thread signalThread is used for communication to establish communication with the other one of the instrument and the intelligent cockpit.
4. The method for the instrument to be linked with the smart cockpit startup animation according to claim 1, characterized in that, The instrument and the intelligent cockpit play the startup linkage animation at the same frame rate.
5. The method for the instrument to be linked with the intelligent cockpit startup animation according to claim 1, wherein, One of the instrument and the intelligent cockpit sends a play instruction through communication to notify the other one to start playing the startup linkage animation simultaneously, or the instrument and the intelligent cockpit receive play instructions sent by a specific device simultaneously to start playing the startup linkage animation simultaneously. After the instrument and the intelligent cockpit finish playing, send a notification to each other. The one that finishes playing first maintains the last frame of the picture, waits for the other one to finish playing, and then exits the play together.
6. The method for the instrument to be linked with the intelligent cockpit startup animation according to claim 1, wherein, If a specific situation occurs in the instrument or the intelligent cockpit, directly start playing the startup linkage animation; wherein, the specific situation includes not starting in time, being unable to establish communication, having a fault, and not receiving a play instruction within a certain time after startup.
7. The method for the instrument to be linked with the intelligent cockpit startup animation according to claim 1, wherein The number of key frames is 1 to 2.
8. An instrument and intelligent cockpit startup animation linkage device for implementing the instrument and intelligent cockpit startup animation linkage method according to any one of claims 1 to 7, characterized in that, The device includes: An instrument, provided with at least one display screen to play the startup linkage animation. An intelligent cockpit, provided with at least one display screen to play the startup linkage animation. The instrument and the intelligent cockpit are provided with a communication link to establish communication.
9. A computer device, characterized in that, Including: A processor and a memory. The memory stores a program or instruction that can run on the processor. When the program or instruction is executed by the processor, the steps of the method for the startup animation linkage of the instrument and the intelligent cockpit described in any one of claims 1 to 7 are implemented.
10. A readable storage medium, characterized in that, A program or instruction is stored thereon. When the program or instruction is executed by the processor, the steps of the method for the startup animation linkage of the instrument and the intelligent cockpit described in any one of claims 1 to 7 are implemented.