Car model display method and device, electronic equipment, storage medium and program product

By using the common interface of the target plug-in and the target development framework in car model development to encapsulate the native car model codes of multiple operating systems, the problems of high development cost and poor reusability in the existing technology are solved, and cross-platform car model display is realized. .

CN119336323APending Publication Date: 2025-01-21XIAOMI EV TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411322669.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-20
Publication Date
2025-01-21

AI Technical Summary

Technical Problem

In the prior art, the development of 3D car models needs to be developed for Android and iOS platforms respectively, resulting in high development costs and difficult to reuse.

Method used

Through the common interface of the target plug-in, the display information of the car model is obtained, and the native car model code of multiple operating systems is encapsulated based on the target development framework to achieve cross-platform development.

Benefits of technology

It reduces the development cost of car models and improves the reusability of car models in different operating systems and applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119336323A_ABST
    Figure CN119336323A_ABST
Patent Text Reader

Abstract

The invention relates to a vehicle model display method and device, electronic equipment, a storage medium and a program product, and relates to the technical field of vehicles, in particular to the field of intelligent cabins of vehicles, and the method comprises the steps that display information of a vehicle model is acquired based on a universal interface of a target plug-in, the target plug-in is obtained by packaging native car model codes corresponding to a plurality of operating systems based on a target development framework, the target development framework is a cross-platform development framework, and then according to the display information, a target car model corresponding to the display information is obtained through rendering on the target display page. According to the method, the target plug-ins suitable for multiple different operating systems can be obtained through the target development framework, the target plug-ins can achieve external data exchange through a set of unified universal interfaces, and the situation that a set of corresponding interfaces need to be developed for each system platform is avoided. Therefore, the development cost of the car model can be reduced, and the reusability of the car model in different operating systems and different applications can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of vehicle technology, and in particular to a vehicle model display method, device, electronic device, storage medium and program product. Background Art

[0002] 3D (Three Dimensions) car models can completely simulate real vehicles. All state changes of real vehicles can be reflected in the 3D car model, which provides a better experience for users.

[0003] In the related technology, considering that user terminals can be divided into multiple system platforms, such as Android and iOS platforms, the developed 3D car models can be integrated into the Android and iOS versions of the car App (Application) respectively. However, this requires double development and maintenance work for car App developers, and two sets of Android and iOS interfaces need to be designed separately for external use, which is not conducive to the reuse of 3D car models. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present disclosure provides a car model display method, device, electronic device, storage medium and program product to reduce the cost of car model development and improve the reusability of car models.

[0005] According to a first aspect of an embodiment of the present disclosure, a method for displaying a vehicle model is provided, comprising: Based on the universal interface of the target plug-in, the display information of the car model is obtained, wherein the target plug-in is obtained by encapsulating the native car model codes corresponding to multiple operating systems based on the target development framework, and the target development framework is a cross-platform development framework; According to the display information, a target car model corresponding to the display information is rendered on a target display page.

[0006] Optionally, the target plug-in is obtained by the following steps: Under the target development framework, the vehicle model is developed through the target development engine to obtain the original vehicle model code, and the target development engine is a cross-platform development engine; Converting the original car model codes into native car model codes corresponding to the multiple operating systems respectively; Based on the target development framework, the native car model codes corresponding to the multiple operating systems are encapsulated to obtain the target plug-in.

[0007] Optionally, the universal interface includes a display interface; The universal interface based on the target plug-in obtains the display information of the car model, including: The display information of the car model is obtained from the car application through the target development framework based on the display interface of the target plug-in.

[0008] Optionally, rendering a target car model corresponding to the display information on a target display page according to the display information includes: The display information is transmitted to the target development engine through the target development framework and the target operating system, and the target development framework is integrated on the target operating system; Obtaining, by the target development engine, target rendering content corresponding to the target operating system according to the display information; The target rendering content is synchronized through the target development framework to render the target car model on the target display page.

[0009] Optionally, obtaining, by the target development engine, target rendering content corresponding to the target operating system according to the display information includes: Determining, by the target development engine, the target vehicle model code corresponding to the target operating system from the native vehicle model codes corresponding to the multiple operating systems in the target plug-in according to the display information; The target vehicle model code is rendered through the target development engine to obtain target rendering content corresponding to the target operating system.

[0010] Optionally, the general interface includes a rendering status interface, and the method further includes: Based on the rendering status interface of the target plug-in, obtaining rendering status information of the car model, wherein the rendering status information includes one of pausing rendering and resuming rendering; According to the rendering status information, the real-time rendering status of the car model is controlled.

[0011] Optionally, the universal interface includes a display angle interface, and the method further includes: Based on the display angle interface of the target plug-in, obtain the display angle information of the car model; The target car model is updated according to the display angle information, so as to render a first updated car model corresponding to the display angle information on the target display page.

[0012] Optionally, the general interface includes a component status interface, and the method further includes: Based on the component status interface of the target plug-in, obtaining component status information of the car model; The target vehicle model is updated according to the component status information, so as to render a second updated vehicle model corresponding to the component status information on the target display page.

[0013] According to a second aspect of an embodiment of the present disclosure, a vehicle model display device is provided, comprising: A first acquisition module is configured to acquire display information of a car model based on a universal interface of a target plug-in, wherein the target plug-in is obtained by encapsulating native car model codes corresponding to multiple operating systems based on a target development framework, and the target development framework is a cross-platform development framework; The obtaining module is configured to render a target vehicle model corresponding to the display information on a target display page according to the display information.

[0014] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including: processor; a memory for storing processor-executable instructions; Among them, the processor is configured to implement the steps of the car model display method provided in the first aspect of the present disclosure when executed.

[0015] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the steps of the vehicle model display method provided in the first aspect of the present disclosure are implemented.

[0016] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program, which, when executed by a processor, implements the steps of the vehicle model display method provided in the first aspect of the present disclosure.

[0017] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects: Based on the universal interface of the target plug-in, the display information of the car model is obtained. The target plug-in encapsulates the native car model code corresponding to multiple operating systems based on the target development framework. The target development framework is a cross-platform development framework. Then, according to the display information, the target car model corresponding to the display information is rendered on the target display page. In the process of displaying the car model, the display information of the car model can be obtained through the universal interface of the target plug-in, and the corresponding target car model can be displayed on the target display page. Among them, the target plug-in encapsulates the native car model code corresponding to multiple operating systems based on the target development framework, and the target development framework is a cross-platform development framework, so that the target plug-in suitable for multiple different operating systems can be obtained through the target development framework, and through the encapsulation of the target development framework, the target plug-in can realize external data exchange through a set of unified universal interfaces, avoiding the need to develop a set of corresponding interfaces for each system platform. Thereby, the cost of car model development can be reduced and the reusability of car models in different operating systems and different applications can be improved.

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

[0019] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0020] Figure 1 The figure is a flow chart of a method for displaying a vehicle model according to an exemplary embodiment.

[0021] Figure 2 The diagram is a schematic diagram of generating a target plug-in according to an exemplary embodiment.

[0022] Figure 3 The figure is a block diagram of a vehicle model display device according to an exemplary embodiment.

[0023] Figure 4 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0024] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0025] The embodiments described in some embodiments of the present disclosure below do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0026] It should be noted that all actions of acquiring signals, information or data in the present disclosure are carried out in compliance with the relevant data protection laws and policies of the country where the device is located and with the authorization given by the owner of the corresponding device.

[0027] The 3D car model can completely simulate the real vehicle, and all state changes of the real vehicle can be reflected in the 3D car model, which provides a better experience for users.

[0028] In the related technology, considering that user terminals can be divided into multiple system platforms, such as Android and iOS platforms, the developed 3D car models can be integrated into the Android and iOS versions of the car App respectively. However, this requires double development and maintenance work for car App developers, and two sets of Android and iOS interfaces need to be designed separately for external use, which is not conducive to the reuse of 3D car models.

[0029] In response to the above technical problems, the embodiments of the present disclosure provide a method, device, electronic device, storage medium and program product for displaying a car model. Based on the universal interface of a target plug-in, the display information of the car model is obtained. The target plug-in encapsulates the native car model codes corresponding to multiple operating systems based on a target development framework. The target development framework is a cross-platform development framework. Then, according to the display information, the target car model corresponding to the display information is rendered on the target display page. Among them, the target plug-in encapsulates the native car model codes corresponding to multiple operating systems based on the target development framework, and the target development framework is a cross-platform development framework, so that a target plug-in suitable for multiple different operating systems can be obtained through the target development framework, and through the encapsulation of the target development framework, the target plug-in can realize external data exchange through a set of unified universal interfaces, avoiding the need to develop a set of corresponding interfaces for each system platform. Thereby, the cost of car model development can be reduced and the reusability of car models in different operating systems and different applications can be improved.

[0030] Figure 1 is a flow chart of a method for displaying a vehicle model according to an exemplary embodiment. Figure 1 As shown, the following steps may be included.

[0031] In step S101, based on the universal interface of the target plug-in, the display information of the car model is obtained. The target plug-in encapsulates the native car model codes corresponding to multiple operating systems based on the target development framework. The target development framework is a cross-platform development framework.

[0032] In this embodiment, the target plug-in can be obtained by encapsulating the native car model code corresponding to multiple operating systems based on the target development framework. The target development framework is a cross-platform development framework, and the multiple operating systems may include at least two of the operating systems such as Android, iOS and HyperOS. The target development framework may be a cross-system platform development framework, such as Flutter. The target plug-in applicable to multiple different operating systems can be obtained through the target development framework, and through the encapsulation of the target development framework, the target plug-in can realize external data exchange through a set of unified general interfaces, avoiding the need to develop a set of corresponding interfaces for each system platform. Thereby, the cost of car model development can be reduced and the reusability of car models in different operating systems and different applications can be improved. During use, the target development framework can be integrated into the target operating system corresponding to the target terminal. The target operating system can be any one of the operating systems such as Android, iOS and HyperOS. The target operating system is installed with a car application and has a car model display function, so as to call the target plug-in for car model display. Specifically, the display information of the car model can be obtained based on the unified general interface of the target plug-in. For different operating systems, the target plug-in can use a set of unified general interfaces for data exchange. The displayed information may be the calling information of the car model in the target plug-in.

[0033] In step S102, according to the display information, a target car model corresponding to the display information is rendered on the target display page.

[0034] In this embodiment, after the display information is obtained, the content to be rendered can be obtained according to the display information, so as to render the target car model corresponding to the display information on the target display page.

[0035] In this embodiment, during the process of displaying the car model, the display information of the car model can be obtained through the universal interface of the target plug-in, and the corresponding target car model can be displayed on the target display page. Among them, the target plug-in is obtained by encapsulating the native car model code corresponding to multiple operating systems based on the target development framework, and the target development framework is a cross-platform development framework, so that the target plug-in suitable for multiple different operating systems can be obtained through the target development framework. And through the encapsulation of the target development framework, the target plug-in can realize external data exchange through a set of unified universal interfaces, avoiding the need to develop a set of corresponding interfaces for each system platform. Thereby, the cost of car model development can be reduced and the reusability of car models in different operating systems and different applications can be improved.

[0036] Figure 2 is a schematic diagram of generating a target plug-in according to an exemplary embodiment. Figure 2 As shown, in a possible implementation, the target plug-in can be obtained by the following steps: Under the target development framework, the car model is developed through the target development engine to obtain the original car model code, and the target development engine is a cross-platform development engine; the original car model code is converted into native car model codes corresponding to multiple operating systems respectively; based on the target development framework, the native car model codes corresponding to multiple operating systems are encapsulated to obtain the target plug-in.

[0037] In this embodiment, the development of the car model can be carried out based on the target development framework. Specifically, the car model can be developed based on the target development framework and the target development engine. The target development engine is a cross-platform development engine, that is, the developed car model can be applicable to the platforms corresponding to different operating systems. The developed car model can be a 3D car model, and the target development engine can be a Unity engine. Since the project developed by the Unity engine does not support direct integration under the Flutter framework, after the car model is developed through the target development engine and the original car model code is obtained, the original car model code can be integrated into the native code corresponding to multiple operating systems. That is, the original car model code is converted into the native car model code corresponding to multiple operating systems respectively. After the conversion, one operating system obtains a corresponding native car model code.

[0038] Then, an original plug-in can be created through the target development framework, and then the native car model codes corresponding to multiple operating systems can be encapsulated through the original plug-in to obtain a target plug-in that can communicate with the outside world through a universal interface, that is, a reusable 3D car model SDK. The obtained target plug-in is integrated into the car application on the target operating system to realize the calling function of the target plug-in to display the car model.

[0039] Among them, the target plug-in is obtained by encapsulating the native car model code corresponding to multiple operating systems based on the target development framework, and the target development framework is a cross-platform development framework, so that the target plug-in suitable for multiple different operating systems can be obtained through the target development framework. And through the encapsulation of the target development framework, the target plug-in can realize external data exchange through a set of unified universal interfaces, avoiding the need to develop a set of corresponding interfaces for each system platform. Thereby, the cost of car model development can be reduced and the reusability of car models in different operating systems and different applications can be improved. Among them, the target plug-in may include encapsulated car models and universal interfaces. The encapsulated car model includes native car model codes corresponding to multiple operating systems. Among them, the encapsulated car model may be a UnityWidget.

[0040] In a possible implementation, the universal interface includes a display interface; based on the universal interface of the target plug-in, a method for obtaining display information of the car model may be: Through the target development framework, based on the display interface of the target plug-in, the display information of the car model is obtained from the car application.

[0041] In this embodiment, the display information of the car model can be obtained based on the user's operation on the car application in the target terminal. For example, when the user opens the car application, the car model needs to be displayed on the interface of the car application, and the car application can generate display information of the car model, that is, the call information of the car model. The display information is sent to the corresponding display interface, and the target development framework can obtain the display information through the display interface of the target plug-in to call the corresponding car model.

[0042] In a possible implementation, according to the display information, rendering a target car model corresponding to the display information on a target display page includes: Through the target development framework, the display information is transmitted to the target development engine via the target operating system, and the target development framework is integrated on the target operating system; through the target development engine, the target rendering content corresponding to the target operating system is obtained according to the display information; the target rendering content is synchronized through the target development framework to render the target car model on the target display page.

[0043] In this embodiment, after the display information is obtained through the target development framework, the display information can be transmitted to the target operating system through the target development framework, so that the target operating terminal transmits the display information to the target development engine, so that the target development engine can call and render the corresponding car model to obtain the target rendering content suitable for the target operating system. Since the target development engine is also integrated in the target development framework, the target development framework can monitor the target development engine in real time to achieve synchronization with the content of the target development engine. The target rendering content of the target development engine is synchronized through the target development framework, so that the target car model can be rendered on the target display page to display the target car model to the user.

[0044] In a possible implementation, obtaining target rendering content corresponding to the target operating system according to display information through the target development engine includes: Through the target development engine, according to the display information, the target car model code corresponding to the target operating system is determined from the native car model codes corresponding to multiple operating systems in the target plug-in; the target car model code is rendered through the target development engine to obtain the target rendering content corresponding to the target operating system.

[0045] In this embodiment, the target development engine can retrieve the corresponding car model from the target plug-in based on the display information. Specifically, in order to achieve matching with the target operating system, the target car model code corresponding to the target operating system can be determined from the native car model codes corresponding to multiple operating systems in the target plug-in. The target development engine also has a rendering function, which can render the target car model code to obtain the target rendering content suitable for the target operating system.

[0046] In a possible implementation, the general interface includes a rendering state interface, and the vehicle model display method further includes: Based on the rendering status interface of the target plug-in, the rendering status information of the car model is obtained, and the rendering status information includes one of pausing rendering and resuming rendering; according to the rendering status information, the real-time rendering status of the car model is controlled.

[0047] In this embodiment, during the display process of the car model, the car model is rendered in real time, for example, real-time rendering is performed at a frequency of 60 frames, that is, 60 times per second. In this case, the CPU and GPU of the target terminal are greatly consumed. In order to reduce the data processing pressure of the target terminal, a rendering status interface can be set in the target plug-in, and the rendering status interface can include a pause rendering interface Pause and a resume rendering interface Resume. The display status of the target page can be monitored in real time, and based on the display status of the target page, rendering status information is generated, and the rendering status information can be pause rendering or resume rendering, and the rendering status interface in the corresponding target plug-in is triggered, so that the target development framework can obtain the rendering status information, and based on the rendering status information, the corresponding rendering control is executed. For example, when the rendering status information is pause rendering, the real-time rendering of the car model can be stopped; when the rendering status information is resume rendering, the real-time rendering of the car model can be resumed. Specifically, when the target page is covered by other pages, or the target car model is covered by other content, the rendering status information may be suspending rendering; when the target page is the topmost page, or the target car model is not covered by other content, the rendering status information may be resuming rendering. The target car model may be partially covered or completely covered by other content. Through this method, when the car model is not visible to the user, the real-time rendering of the car model can be suspended to reduce the data processing pressure of the target terminal.

[0048] In a possible implementation, the universal interface includes a display angle interface, and the vehicle model display method further includes: Based on the display angle interface of the target plug-in, the display angle information of the car model is obtained; according to the display angle information, the target car model is updated to render a first updated car model corresponding to the display angle information on the target display page.

[0049] In this embodiment, the target plug-in may be provided with a display angle interface, and the display angle interface may be used to obtain the display angle information indicated by the user through the automobile application. Among them, the display angle information may be any one of a plurality of display angles, so as to enable the display of the car model at different angles. Specifically, the automobile application may generate corresponding display angle information based on the user's operation, and send it to the display angle interface. The target development framework obtains the display angle information of the car model through the display angle interface in the target plug-in, and sends the display angle information to the target operating system. The target operating system may then send the display angle information to the target development engine, so that the target development engine adjusts the car model based on the display angle information, and renders the adjusted car model. The target development framework synchronizes the adjusted car model, so as to display the first updated car model corresponding to the display angle information on the target page. For example, the display angle interface may be ChangeCamera.

[0050] In a possible implementation, the general interface includes a component status interface, and the vehicle model display method further includes: Based on the component status interface of the target plug-in, the component status information of the car model is obtained; according to the component status information, the target car model is updated to render a second updated car model corresponding to the component status information on the target display page.

[0051] In this embodiment, the target plug-in may be provided with a component status interface, which may be used to obtain component status information indicated by the user through the automobile application, or may be component status information obtained by the automobile application and synchronized with the vehicle. The component status information may be at least one of a plurality of component statuses, so as to realize remote control of the components of the vehicle, or to realize synchronization of the displayed vehicle model with the component status of the vehicle. Specifically, the automobile application may generate corresponding component status information based on the user's operation; or, for the vehicle, the status of each component of the vehicle is reported to the cloud server in real time; for the automobile application, the vehicle status stored in the cloud server may be pulled in real time through the network, thereby generating corresponding component status information. Then, the automobile application may send the component status information to the corresponding component status interface, and the target development framework may obtain the component status information of the vehicle model through the corresponding component status interface in the target plug-in, and send the component status information to the target operating system. The target operating system may then send the component status information to the target development engine, so that the target development engine adjusts the vehicle model based on the component status information, and renders the adjusted vehicle model. The target development framework synchronizes the adjusted vehicle model, so as to display the second updated vehicle model corresponding to the component status information on the target page. Among them, the component status interface may include the front cover switch interface ControlTrunkFront, the trunk switch interface ControlTrunkRear, the main driving window opening percentage interface ControlWindowLeftFront, etc.

[0052] Figure 3 is a block diagram of a vehicle model display device according to an exemplary embodiment. Figure 3 The vehicle model display device 300 includes a first acquisition module 301 and an acquisition module 302 .

[0053] The first acquisition module 301 is configured to acquire display information of the car model based on a universal interface of a target plug-in, wherein the target plug-in is obtained by encapsulating native car model codes corresponding to multiple operating systems based on a target development framework, and the target development framework is a cross-platform development framework; The obtaining module 302 is configured to render a target vehicle model corresponding to the display information on a target display page according to the display information.

[0054] Optionally, the vehicle model display device 300 further includes: A development module is configured to develop a vehicle model through a target development engine under the target development framework to obtain an original vehicle model code, wherein the target development engine is a cross-platform development engine; A conversion module, configured to convert the original car model codes into native car model codes corresponding to the multiple operating systems respectively; The encapsulation module is configured to encapsulate the native car model codes corresponding to the multiple operating systems based on the target development framework to obtain the target plug-in.

[0055] Optionally, the universal interface includes a display interface; The first acquisition module 301 includes: The acquisition submodule is configured to acquire the display information of the car model from the car application through the target development framework based on the display interface of the target plug-in.

[0056] Optionally, the obtaining module 302 includes: a transmission submodule configured to transmit the display information to the target development engine through the target development framework and the target operating system, the target development framework being integrated on the target operating system; An obtaining submodule is configured to obtain target rendering content corresponding to the target operating system according to the display information through the target development engine; The synchronization submodule is configured to synchronize the target rendering content through the target development framework to render the target car model on the target display page.

[0057] Optionally, the obtaining submodule includes: a determination unit configured to determine, through the target development engine and according to the display information, a target vehicle model code corresponding to the target operating system from native vehicle model codes corresponding to multiple operating systems in the target plug-in; The obtaining unit is configured to render the target vehicle model code through the target development engine to obtain the target rendering content corresponding to the target operating system.

[0058] Optionally, the universal interface includes a rendering state interface, and the vehicle model display device 300 further includes: A second acquisition module is configured to acquire rendering status information of the car model based on the rendering status interface of the target plug-in, wherein the rendering status information includes one of pausing rendering and resuming rendering; The control module is configured to control the real-time rendering state of the car model according to the rendering state information.

[0059] Optionally, the universal interface includes a display angle interface, and the car model display device 300 further includes: A third acquisition module is configured to acquire display angle information of the car model based on the display angle interface of the target plug-in; The first updating module is configured to update the target car model according to the display angle information, so as to render a first updated car model corresponding to the display angle information on the target display page.

[0060] Optionally, the universal interface includes a component status interface, and the vehicle model display device 300 further includes: A fourth acquisition module is configured to acquire component status information of the vehicle model based on the component status interface of the target plug-in; The second updating module is configured to update the target vehicle model according to the component status information, so as to render a second updated vehicle model corresponding to the component status information on the target display page.

[0061] Regarding the car model display device 300 in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0062] The present disclosure also provides a computer-readable storage medium having computer program instructions stored thereon, and the program instructions, when executed by a processor, implement the steps of the vehicle model display method provided by the present disclosure.

[0063] Figure 4 4 is a block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 400 may be the target terminal mentioned above, which may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a tablet device, a personal digital assistant, etc.

[0064] Reference Figure 4 , the electronic device 400 may include one or more of the following components: a processing component 402 , a first memory 404 , a power component 406 , a multimedia component 408 , an audio component 410 , an input / output interface 412 , a sensor component 414 , and a communication component 416 .

[0065] The processing component 402 generally controls the overall operation of the electronic device 400, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 402 may include one or more first processors 420 to execute instructions to complete all or part of the steps of the above-mentioned car model display method. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402.

[0066] The first memory 404 is configured to store various types of data to support operations on the electronic device 400. Examples of such data include instructions for any application or method operating on the electronic device 400, contact data, phone book data, messages, pictures, videos, etc. The first memory 404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, 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 disk or optical disk.

[0067] The power supply component 406 provides power to the various components of the electronic device 400. The power supply component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 400.

[0068] The multimedia component 408 includes a screen that provides an output interface between the electronic device 400 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 408 includes a front camera and / or a rear camera. When the electronic device 400 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0069] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC), and when the electronic device 400 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the first memory 404 or sent via the communication component 416. In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.

[0070] The input / output interface 412 provides an interface between the processing component 402 and the peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0071] The sensor assembly 414 includes one or more sensors for providing various aspects of status assessment for the electronic device 400. For example, the sensor assembly 414 can detect the open / closed state of the electronic device 400, the relative positioning of the components, such as the display and keypad of the electronic device 400, and the sensor assembly 414 can also detect the position change of the electronic device 400 or a component of the electronic device 400, the presence or absence of contact between the user and the electronic device 400, the orientation or acceleration / deceleration of the electronic device 400, and the temperature change of the electronic device 400. The sensor assembly 414 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 414 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 414 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0072] The communication component 416 is configured to facilitate wired or wireless communication between the electronic device 400 and other devices. The electronic device 400 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 416 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 416 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0073] In an exemplary embodiment, the electronic device 400 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute the above-mentioned vehicle model display method.

[0074] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a first memory 404 including instructions, and the instructions can be executed by a first processor 420 of an electronic device 400 to complete the above-mentioned vehicle model display method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0075] In another exemplary embodiment, a computer program product is also provided. The computer program product includes a computer program that can be executed by a programmable device. The computer program has a code portion for executing the above-mentioned vehicle model display method when executed by the programmable device.

[0076] Those skilled in the art may also understand that the various illustrative logical blocks and steps listed in the embodiments of the present application may be implemented by electronic hardware, computer software, or a combination of the two. Whether such functions are implemented by hardware or software depends on the specific application and the design requirements of the entire system. Those skilled in the art may use various methods to implement the functions described for each specific application, but such implementation should not be understood as exceeding the scope of protection of the embodiments of the present application.

[0077] It should be understood that the features of some embodiments of the various present disclosures described herein may be combined with each other, unless specifically stated otherwise.

[0078] Although terms such as "first", "second" and "third" can be used herein to describe various components, parts, regions, layers or sections, these components, parts, regions, layers or sections are not limited to these terms. On the contrary, these terms are only used to distinguish one component, component, region, layer or section from another component, component, region, layer or section. Therefore, without departing from the teachings of each example, the first component, component, region, layer or section mentioned in the examples described herein may also be referred to as the second component, component, region, layer or section. In addition, the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Thus, the features defined as "first" and "second" may expressly or implicitly include at least one of the features. In the description herein, the meaning of "multiple" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0079] In addition, the word "exemplary" is used herein to indicate serving as an example, instance, or diagram. Any aspect or design described as "exemplary" in this article is not necessarily understood to be advantageous compared to other aspects or designs. On the contrary, the use of the word exemplary is intended to present concepts in a specific way. As used herein, the term "or" is intended to represent an inclusive "or" rather than an exclusive "or". That is, unless otherwise specified or clear from the context, "X applies A or B" is intended to represent any one of the natural inclusive arrangements. That is, if X applies A; X applies B; or X applies both A and B, "X applies A or B" is satisfied under any of the aforementioned examples. In addition, unless otherwise specified or clearly pointed to a singular form from the context, the articles "one" and "an" as used in this application and the appended claims are generally understood to mean "one or more".

[0080] Likewise, although the present disclosure has been shown and described with respect to one or more implementations, equivalent variations and modifications will occur to those skilled in the art after reading and understanding the specification and drawings. The present disclosure includes all such modifications and variations and is limited only by the scope of the claims. In particular, with respect to the various functions performed by the components (e.g., elements, resources, etc.) described above, unless otherwise indicated, the terms used to describe such components are intended to correspond to any component (functionally equivalent) that performs the specific functions of the described components, even if the structure is not equivalent to the disclosed structure. In addition, although specific features of the present disclosure may have been disclosed with respect to only one of several implementations, such features may be combined with one or more other features of other implementations as may be desired and beneficial to any given or specific application. In addition, with respect to "including", "having", "having", "having", or variations thereof used in a specific embodiment or claim, such terms are intended to be inclusive in a manner similar to the term "comprising".

[0081] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.

[0082] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for displaying a car model, characterized in that: include: Based on the universal interface of the target plug-in, the display information of the car model is obtained, wherein the target plug-in is obtained by encapsulating the native car model codes corresponding to multiple operating systems based on the target development framework, and the target development framework is a cross-platform development framework; According to the display information, a target car model corresponding to the display information is rendered on a target display page.

2. The vehicle model display method according to claim 1, characterized in that: The target plug-in is obtained by the following steps: Under the target development framework, the vehicle model is developed through the target development engine to obtain the original vehicle model code, and the target development engine is a cross-platform development engine; Converting the original car model codes into native car model codes corresponding to the multiple operating systems respectively; Based on the target development framework, the native car model codes corresponding to the multiple operating systems are encapsulated to obtain the target plug-in.

3. The vehicle model display method according to claim 1, characterized in that: The universal interface includes a display interface; The universal interface based on the target plug-in obtains the display information of the car model, including: The display information of the car model is obtained from the car application through the target development framework based on the display interface of the target plug-in.

4. The vehicle model display method according to claim 2, characterized in that: The step of rendering a target vehicle model corresponding to the display information on a target display page according to the display information includes: The display information is transmitted to the target development engine through the target development framework and the target operating system, and the target development framework is integrated on the target operating system; Obtaining, by the target development engine, target rendering content corresponding to the target operating system according to the display information; The target rendering content is synchronized through the target development framework to render the target car model on the target display page.

5. The vehicle model display method according to claim 4, characterized in that: The step of obtaining target rendering content corresponding to the target operating system through the target development engine according to the display information includes: Determining, by the target development engine, the target vehicle model code corresponding to the target operating system from the native vehicle model codes corresponding to the multiple operating systems in the target plug-in according to the display information; The target vehicle model code is rendered through the target development engine to obtain target rendering content corresponding to the target operating system.

6. The vehicle model display method according to any one of claims 1 to 5, characterized in that: The general interface includes a rendering state interface, and the method further includes: Based on the rendering status interface of the target plug-in, obtaining rendering status information of the car model, wherein the rendering status information includes one of pausing rendering and resuming rendering; According to the rendering status information, the real-time rendering status of the car model is controlled.

7. The vehicle model display method according to any one of claims 1 to 5, characterized in that: The universal interface includes a display angle interface, and the method further includes: Based on the display angle interface of the target plug-in, obtain the display angle information of the car model; The target car model is updated according to the display angle information, so as to render a first updated car model corresponding to the display angle information on the target display page.

8. The vehicle model display method according to any one of claims 1 to 5, characterized in that: The general interface includes a component status interface, and the method further includes: Based on the component status interface of the target plug-in, obtaining component status information of the car model; The target vehicle model is updated according to the component status information, so as to render a second updated vehicle model corresponding to the component status information on the target display page.

9. A car model display device, characterized in that: include: A first acquisition module is configured to acquire display information of a car model based on a universal interface of a target plug-in, wherein the target plug-in is obtained by encapsulating native car model codes corresponding to multiple operating systems based on a target development framework, and the target development framework is a cross-platform development framework; The obtaining module is configured to render a target vehicle model corresponding to the display information on a target display page according to the display information.

10. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; Wherein, the processor is configured to implement the steps of the vehicle model display method described in any one of claims 1 to 8 when executed.

11. A computer-readable storage medium having computer program instructions stored thereon, characterized in that: When the computer program instructions are executed by a processor, the steps of the vehicle model display method described in any one of claims 1 to 8 are implemented.

12. A computer program product, characterized in that It includes a computer program, which, when executed by a processor, implements the steps of the vehicle model display method described in any one of claims 1 to 8.