Display control method, cloud service method, device, electronic device, and storage medium

By acquiring and executing drawing script files and utilizing interface elements to dynamically draw components and rendering engines, the problem of diversity and flexibility of display interfaces of embedded devices is solved, dynamic display control is realized, and differences in hardware and service requirements are adapted.

CN113590238BActive Publication Date: 2025-10-10ALIBABA GROUP HOLDING LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202010368264.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-04-30
Publication Date
2025-10-10
Estimated Expiration
2040-04-30

AI Technical Summary

Technical Problem

The graphical user interface of embedded devices cannot meet users' higher requirements for display, and due to differences in hardware characteristics and service requirements, existing technologies find it difficult to achieve dynamic and diversified display control.

Method used

By obtaining the drawing script file, using the interface element dynamic drawing components and multiple interface rendering engines, the target scene interface is dynamically displayed, and the drawing script file is generated and stored in combination with the cloud service method to achieve dynamic display.

Benefits of technology

It improves the display interface diversity and display control flexibility of embedded devices, adapts to the differences in hardware and service requirements, and realizes dynamic and efficient display control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113590238B_ABST
    Figure CN113590238B_ABST
Patent Text Reader

Abstract

Embodiments of the present application provide a display control method, a cloud service method, an apparatus, an electronic device and a storage medium. The display control method comprises: in response to a target scene triggering event, obtaining a drawing script file for a target scene display interface; executing the drawing script file to dynamically draw a component via at least one interface element, and dynamically displaying the target scene display interface. Since different drawing script files can realize dynamic drawing of a corresponding target scene display interface, the display diversity of the scene display interface is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present invention relate to the field of computer technology, and in particular to a display control method, a cloud service method, a device, an electronic device, and a storage medium. Background Art

[0002] Embedded device systems are typically custom-built, and different types of embedded devices have vastly different hardware characteristics, including CPU (central processing unit) computing power, storage space, and memory size. Furthermore, due to varying service requirements, embedded devices also have varying requirements for graphical user interfaces (GUIs).

[0003] Generally speaking, the graphical user interface of embedded devices cannot meet the higher display requirements put forward by users. Summary of the Invention

[0004] In view of this, embodiments of the present invention provide a display control method, a cloud service method, an apparatus, an electronic device, and a storage medium to solve or alleviate the above-mentioned problems.

[0005] According to a first aspect of an embodiment of the present invention, a display control method is provided, comprising: responding to a target scene trigger event, obtaining a drawing script file for a target scene display interface; executing the drawing script file, and dynamically displaying the target scene display interface via the at least one interface element dynamic drawing component.

[0006] According to a second aspect of an embodiment of the present invention, a display control method is provided, comprising: responding to a target scene trigger event, obtaining a drawing script file for a target scene display interface; executing the drawing script file, and displaying the target scene display interface via a target interface rendering engine among the multiple interface rendering engines.

[0007] According to a third aspect of an embodiment of the present invention, a display control method is provided, comprising: responding to a target scene trigger event, determining an access path to drawing data of a target scene display interface; and obtaining the drawing data based on the access path to dynamically display the target scene display interface.

[0008] According to the fourth aspect of an embodiment of the present invention, a cloud service method is provided, including: responding to a target scene service request, determining a drawing script file for a target scene display interface; returning the drawing script file so as to dynamically display the target scene display interface by executing the drawing script file.

[0009] According to a fifth aspect of an embodiment of the present invention, a cloud service method is provided, including: receiving target scene display effect data uploaded based on a scene display effect template; generating a drawing script file for dynamically displaying a target scene display interface based on the target scene display effect data; and storing the drawing script file.

[0010] According to the sixth aspect of an embodiment of the present invention, a display control device is provided, including: a determination module, which responds to a target scene trigger event and determines an access path to the drawing data of the target scene display interface; and an acquisition module, which acquires the drawing data based on the access path to dynamically display the target scene display interface.

[0011] According to the seventh aspect of an embodiment of the present invention, a cloud service device is provided, including: a determination module, which responds to a target scene service request and determines a drawing script file for a target scene display interface; and a return module, which returns the drawing script file so that the target scene display interface can be dynamically displayed by executing the drawing script file.

[0012] According to the eighth aspect of an embodiment of the present invention, a cloud service device is provided, including: a receiving module, receiving target scene display effect data uploaded based on a scene display effect template; a generating module, generating a drawing script file for dynamically displaying a target scene display interface based on the target scene display effect data; and a storage module, storing the drawing script file.

[0013] According to the ninth aspect of an embodiment of the present invention, a display control device is provided, comprising: an acquisition module, which responds to a target scene trigger event to acquire a drawing script file for a target scene display interface; an execution module, which executes the drawing script file to dynamically display the target scene display interface via the at least one interface element dynamic drawing component.

[0014] According to the tenth aspect of an embodiment of the present invention, a display control device is provided, including: an acquisition module, which responds to a target scene trigger event to acquire a drawing script file for a target scene display interface; an execution module, which executes the drawing script file to display the target scene display interface via a target interface rendering engine among the multiple interface rendering engines.

[0015] According to the eleventh aspect of an embodiment of the present invention, an electronic device is provided, comprising: one or more processors; and a computer-readable medium configured to store one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in the first aspect or the second aspect.

[0016] According to a twelfth aspect of an embodiment of the present invention, a computer-readable medium is provided, on which a computer program is stored. When the program is executed by a processor, the method according to the first aspect or the second aspect is implemented.

[0017] The solution of the embodiment of the present invention can respond to a target scene trigger event, obtain a drawing script file for the target scene display interface, execute the drawing script file, and dynamically display the target scene display interface via the at least one interface element dynamic drawing component. Because different drawing script files can realize the dynamic drawing of corresponding target scene display interfaces, the display diversity of the scene display interface is improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.

[0019] Figure 1 A schematic diagram of a network architecture applicable to a display control method according to an embodiment of the present invention;

[0020] Figure 2A is a schematic flow chart of a display control method according to another embodiment of the present invention;

[0021] Figure 2B is a schematic block diagram of a display control method according to another embodiment of the present invention;

[0022] Figure 3A is a schematic block diagram of a display control method according to another embodiment of the present invention;

[0023] Figure 3B is a schematic block diagram of a display control method according to another embodiment of the present invention;

[0024] Figure 4A is a schematic flow chart of a display control method according to another embodiment of the present invention;

[0025] Figure 4B is a schematic flow chart of a display control method according to another embodiment of the present invention;

[0026] Figure 5 is a schematic block diagram of a display control device according to another embodiment of the present invention;

[0027] Figure 6A is a schematic block diagram of a display control device according to another embodiment of the present invention;

[0028] Figure 6B is a schematic block diagram of a display control device according to another embodiment of the present invention;

[0029] Figure 7A is a schematic flow chart of a cloud service method according to another embodiment of the present invention;

[0030] Figure 7B is a schematic flow chart of a cloud service method according to another embodiment of the present invention;

[0031] Figure 8A is a schematic block diagram of a cloud service device according to another embodiment of the present invention;

[0032] Figure 8B is a schematic block diagram of a cloud service device according to another embodiment of the present invention;

[0033] Figure 9 is a schematic structural diagram of an electronic device according to another embodiment of the present invention;

[0034] Figure 10 This is a hardware structure of an electronic device according to another embodiment of the present invention. DETAILED DESCRIPTION

[0035] In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. All other embodiments obtained by those skilled in the art based on the embodiments in the embodiments of the present invention should fall within the scope of protection of the embodiments of the present invention.

[0036] The specific implementation of the embodiment of the present invention is further described below with reference to the accompanying drawings of the embodiment of the present invention.

[0037] Figure 1This is a schematic diagram of a network architecture applicable to a display control method according to an embodiment of the present invention. As shown, user 20 controls electronic device 10 via human-computer interaction interface 11. Electronic device 10 may be an embedded device or an IoT device. Electronic device 10 includes a display module 13, a rendering module 12, and a network interface 14. It should be understood that network interface 14 can transmit user 20's voice control information for electronic device 10 to server 60 for voice recognition. The aforementioned voice information is merely exemplary; user 20's operating instructions for electronic device 10 may also be messages in other forms, such as biometric information instructions such as fingerprint or facial recognition. The aforementioned voice recognition functionality of server 60 is merely exemplary; for example, server 60 may also include a recognition server for recognizing the aforementioned biometric information. Accordingly, server 60 also includes storage device 61. Storage device 61 can store information such as voice recognition samples and biometric information recognition samples. It should also be understood that operating instructions input by user 20 via the human-computer interaction interface can also be recognized locally by electronic device 10 and responded to. For example, the above-mentioned operation instructions may include but are not limited to gesture instructions, touch instructions, streaming device input instructions, posture instructions, remote control instructions, etc.

[0038] The above-mentioned server 60 can communicate with the electronic device 10 through a network 30 such as the Internet to transmit control messages or data. In addition, the server 50 is a drawing script file server, which includes a drawing script file storage device 51. The storage device 51 stores drawing script files such as various scenes. It should be understood that the script files stored in the storage device 51 can be updated on the server 50 side, or can be updated by sending messages through the electronic device 10. Optionally, the above-mentioned script files can be updated through the network 30 by a third-party device. The embodiment of the present invention is not limited to this. The above-mentioned network 30 is only exemplary. Alternatively, the network 30 can also be a mobile network or other heterogeneous network to replace the above-mentioned Internet. In some embodiments, the server 50 and the server 60 can bypass the above-mentioned network 30 to communicate end-to-end with the electronic device, or communicate with the electronic device via other networks.

[0039] The network interface 14 can be an integrated network interface for communicating with the server 50 and the server 60. The network interface 14 can also be configured as a separate interface, that is, the network interface 14 is configured as two network interface modules, wherein the first network interface module communicates with the server 50. For example, the second network interface module communicates with the server 60. The display module 13 may include a rendering engine. The display module 13 may also include a graphics engine, etc. The drawing module 12 may include a script engine and a drawing component, etc. It should be understood that the above configuration is merely exemplary. For example, a display management module may be configured to implement part of the functions of at least one of the network interface 14, the display module 13 or the drawing module 12. The embodiment of the present invention is not limited to this. Various implementation methods of the embodiment of the present invention will be specifically illustrated and described below. It should be understood that the display control method of the embodiment of the present invention can be applied to the above-mentioned network architecture as well as to other network architectures.

[0040] Figure 2A FIG. 4 is a schematic flowchart of a display control method according to another embodiment of the present invention. Figure 2A The display control methods include:

[0041] 210: Responding to the target scene triggering event, obtaining a drawing script file for the target scene display interface.

[0042] It should be understood that the display control method of the embodiments of the present invention can be applied to any electronic device. For example, the display control method can be applied to embedded devices. For example, the electronic devices include, but are not limited to, network devices with communication functions such as IoT devices and Internet devices, stand-alone devices not connected to the network, and the like. For example, the display control method can be applied to IoT devices such as smart devices. For example, the smart devices include, but are not limited to, smart cameras, smart doors and windows, smart doorbells, smart speakers, smart security devices, smart media devices, smart displays, and the like.

[0043] For example, the aforementioned IoT device or embedded device may be installed with an embedded operating system such as the LINUX operating system, or a real-time operating system (RTOS) such as uc / OS, FreeRTOS, TI DSP / BIOS, or RT-Thread. Alternatively, the aforementioned device may be applied to a single-chip microcomputer. It should be understood that the display control method of the embodiments of the present invention may be applied to networks such as the IoT and the Internet. The Internet includes, but is not limited to, local area networks, metropolitan area networks, and wide area networks. The display control method of the embodiments of the present invention may also be applied to local electronic devices, replacing the aforementioned networks. In other words, the display control method may be executed offline or off-line. The electronic device executing the display control method may include a display component such as a display module, a network component such as a network module, and the like. The aforementioned display component may include any pixel-based or non-pixel-based LCD screen, LED screen, or low-cost dot matrix screen. For example, each pixel in the dot matrix screen or a pixel in the dot matrix may have two modes: on and off. For example, each pixel or pixel may have two modes: bright and dark. For example, each pixel or pixel may have multiple different brightness levels.

[0044] It should also be understood that the target scenario can be a usage scenario or an application scenario. The target scenario can also be any part of a usage scenario or any part of an application scenario. For example, a voice recognition scenario, a device wake-up scenario, a music playback scenario, etc. For example, any part of the above scenarios. For example, a scenario triggered by a hit event of any voice information in voice recognition, a rhythmic segment of a paragraph in music playback, etc.

[0045] Furthermore, the drawing script file may include a call command for at least one interface element dynamic drawing component. For example, the at least one interface element dynamic drawing component may include at least one of a point dynamic drawing component, a line dynamic drawing component, and a polygon dynamic drawing component. For example, there may be one or more of each type of dynamic drawing component. For example, the call command for at least one interface element dynamic drawing component may be a direct call command for the at least one interface element dynamic drawing component, or a direct call command for the at least one interface element dynamic drawing component. For example, the drawing script file may include a call command for an adapter interface configured for multiple interface rendering engines, thereby achieving decoupling between each interface element dynamic drawing component and the drawing script file. For example, the interface rendering engine is configured to run the at least one interface element dynamic drawing component. For example, the at least one interface element dynamic drawing component may include multiple interface element dynamic drawing components, each of which includes multiple interface element dynamic drawing components. It should be understood that the multiple interface element dynamic drawing components described above are for multiple interface elements, such as basic interface elements such as points, lines, and surfaces, or graphical interface elements such as circles, rectangles, and polygons. For example, the electronic device includes multiple interface element rendering engines corresponding to the multiple interface element dynamic drawing components. For example, the drawing script file includes call commands for calling the multiple interface element rendering engines. For example, each interface element rendering engine is used to run at least one interface element belonging to the same type of interface element. For example, each interface element rendering engine can be configured to have a call interface for at least one interface element belonging to that type of interface element, thereby achieving decoupling between each interface element dynamic drawing component and the drawing script file for the same type of interface element.

[0046] It should also be understood that, in response to a target scene trigger event, obtaining a drawing script file for a target scene display interface includes: in response to a trigger event for a first scene, obtaining a drawing script file for a second scene display interface. For example, the first scene and the second scene may be the same or different.

[0047] 220: Execute the drawing script file, and dynamically display the target scene display interface via the at least one interface element dynamic drawing component.

[0048] For example, the at least one interface element dynamic rendering component dynamically displays the target scene display interface by controlling the brightness level. For example, the brightness level can be two levels (eg, a switch) or multiple different levels.

[0049] Since different drawing script files can realize the dynamic drawing of corresponding target scene display interfaces, the display diversity of the scene display interface is improved.

[0050] Figure 2B This is a schematic block diagram of a display control method according to another embodiment of the present invention. As shown in the figure, an electronic device receives a drawing script file from a network interface. A script engine is used to execute the received drawing script file. Dynamic drawing component 1, dynamic drawing component 2, and dynamic drawing component 3 can be independent components. In other words, there is no calling relationship between the aforementioned dynamic drawing components, thereby improving the operating efficiency of the display control program. Each of the aforementioned dynamic drawing components can have basic drawing functions, thereby achieving decoupling of the dynamic drawing components from the script engine. It should be understood that the script engine may not directly call the dynamic drawing components or the UI engine, thereby achieving deep decoupling. Alternatively, the script engine may also call the UI engine to improve script drawing efficiency. It should also be understood that the script engine can execute and parse the drawing script file. The drawing script file may directly call the UI engine and the dynamic drawing component. Alternatively, the drawing script file may only call the dynamic drawing component, with each dynamic drawing component configured with a call function for the UI engine.

[0051] In another implementation of the present invention, the drawing script file for the target scene display interface can be obtained from a local storage space. The drawing script file can also be received from another device. For example, it can be imported into the electronic device from another device via wired transmission. For example, the drawing script file can be obtained by communicating with a secondary storage medium such as a flash memory or a hard disk to a local storage medium. For example, the drawing script file is stored in a local storage medium. For example, the drawing script file is loaded from the local storage medium into a script engine running in memory. For example, the script engine runs directly in the operating system of the electronic device (for example, an embedded system such as a real-time operating system or other embedded system). For example, the script engine runs directly in the underlying operating environment of the electronic device, for example, installed in the memory of the electronic device and directly adapted to the underlying hardware device. For example, the script engine calls a driver abstract interface of a display component. For example, the driver interface is used for rendering and display. For example, the script engine calls an interface rendering engine, which calls a driver abstract interface, and the driver abstract interface can be used for display. For example, the script engine can be configured as a portable script engine.

[0052] It should also be understood that the interface rendering engine can be used to build an embedded graphical user interface. The interface rendering engine can be configured to be decoupled from the underlying operating environment such as the operating system or hardware, or it can be configured as a portable interface rendering engine. The interface rendering engine may include a variety of different basic graphic elements that can be used for calling, including but not limited to buttons, charts, images, lists, sliders, switches, keyboards, etc. It should also be understood that the interface rendering engine can be used to implement a variety of different basic graphic effects. The graphic effects include but are not limited to animation, anti-aliasing, opacity, smooth scrolling, and other effects.

[0053] It should also be understood that the interface rendering engine can have interfaces for communicating with a variety of different I / O devices. The I / O devices include, but are not limited to, touchpads, mice, keyboards, encoders, etc. The interface rendering engine can be used to display displays in multiple languages. The interface rendering engine can include adapter interfaces configured for a variety of processors, microcontrollers, displays, etc. The interface rendering engine can support single-frame buffering and multi-frame buffering.

[0054] It should also be understood that for obtaining the drawing script file for the target scene display interface, the drawing script file can be obtained from the server. For example, the drawing script file can be obtained based on the resource location of the drawing script file. The resource location can be the same resource locator (URL) based on the Internet, or other positioning methods can be used, for example, in the network, access is performed based on a positioning identifier defined in at least one layer of the network layer, transport layer, session layer, or application layer. For example, the above-mentioned positioning method can add a prefix or suffix based on the network address field in the data packet, so that the current network transmission protocol can achieve better compatibility. For example, the above-mentioned resource location identifier can be encrypted using a symmetric key or an asymmetric key, thereby achieving secure transmission of data and further achieving secure access to resources. For example, a hash function and a generated random number are used to generate ciphertext.

[0055] It should also be understood that, with respect to obtaining the drawing script file from the server, the drawing script file can be obtained directly by sending a request to the server. Alternatively, a request can be sent to the server to obtain the resource location of the drawing script file. For example, a resource location request is sent to the first server, and the resource location information of the target resource (e.g., drawing script file) sent by the first server in the second server is received. For example, a resource request is sent to the second server, and the drawing script file sent by the second server is received. For example, the first server and the second server are the same server. For example, the first server and the second server are different servers. For example, a first resource request is sent to the first server, and the first server responds to the resource request and sends a second resource request to the second server, wherein the first server stores the resource location information of the target resource in the second server. For example, based on the resource location information in the second server, the first server sends a resource request to the second server, and receives the target resource sent by the second server.

[0056] It should also be understood that if the drawing script file or the resource location of the drawing script file cannot be obtained after sending a resource request in response to the target scene triggering event, a local static display file can be obtained. For example, the static display file can be rendered using the above-mentioned interface rendering engine.

[0057] As an example, responding to a target scene trigger event and obtaining a drawing script file for a target scene display interface includes: responding to a target scene trigger event and determining whether there is information indicating the resource location of the drawing script file on the resource server; if there is information indicating the resource location of the drawing script file on the resource server, accessing the resource location of the drawing script file on the resource server to obtain the drawing script file from the resource server.

[0058] In another implementation of the present invention, for example, if there is no information indicating the resource location of the drawing script file on the resource server, a resource request may be sent to the resource server, and the drawing script file returned by the resource server may be directly received.

[0059] As an example, responding to a target scene trigger event, obtaining a drawing script file for a target scene display interface also includes: if there is no information indicating the resource location of the drawing script file on the resource server, sending a resource acquisition request to the resource server to obtain information.

[0060] In another implementation of the present invention, the electronic device may include at least a preset display area (e.g., a subwindow). For example, different preset display areas may display different content in parallel, for example, different scene display interfaces. In other words, content belonging to different scenes may be displayed in parallel. Optionally, different scene display interfaces may display different parts of the same scene display interface. For example, the scene display interface may be divided into a plurality of scene display interface parts. For example, a plurality of display areas respectively display the plurality of scene display interface parts. For example, the scene display interface may be presented as a scene display interface unit. For example, a plurality of display areas display a portion of all scene display interface units, so that the plurality of display areas are merged to present the scene display interface.

[0061] For example, different display areas can be displayed independently. For example, multiple display areas may correspond to multiple scene display interface queues. For example, each display interface queue may include its own timer logic. For example, the multiple display areas may include a first display area and a second display area. For example, the first display area sequentially displays the first scene interface display queue. The second display area sequentially displays the second scene interface display queue. The multiple scene display interface queues may be controlled by a scene display interface queue control module. For example, the first scene display queue is used to display multiple first scene display interfaces in the first scene interface display queue. For example, the second scene display queue is used to display multiple second scene display interfaces in the second scene interface display queue. Different first scene display interfaces have a first switching timing. For example, different second scene display interfaces have a second switching timing. The first switching timing may be the same as or different from the second switching timing. For example, when the first switching timing is the same as the second switching timing, the first and second scene display interfaces switched to may be merged into the same scene display interface. Alternatively, the first and second scene display interfaces may be part of the same scene display interface.

[0062] For example, multiple scenes can have their own priorities. For example, these priorities can be set by the user. For example, each priority can be determined by the amount of information in the display interface. Alternatively, each priority can be determined by the complexity of the display interface. For example, scenes with greater information content have a higher priority; in other words, they are displayed using a larger display area. For example, scene interfaces with higher presentation clarity requirements have a higher priority; in other words, they are displayed using a larger display area. For example, a news playback scene includes text information. For example, a music playback scene presents rhythmic information. For example, an average user can set the music playback scene to a lower priority and the news playback scene to a higher priority. For example, a professional musician can set the music playback scene to a higher priority. For example, when switching to a scene with a higher priority, the multiple display areas switch to simultaneously display the scene display interface of that priority. Optionally, two or more display areas are used to display the scene display interface, thereby utilizing the display space of the electronic device to present more detailed information to the user. For example, each display area can serve as a display unit. For example, each display unit can include multiple pixels or dots. For example, multiple display areas can be used to display different scene display interfaces based on the same switching timing. For example, multiple display areas can be used to display different scene display interfaces based on different switching timings, thereby presenting multiple scenes using the same electronic device.

[0063] For example, the same display area can be used to sequentially display the scene display interfaces in a scene display interface queue based on pre-arranged switching timings. In other words, different switching timings can be managed in a queue. For example, when a next scene trigger event is detected during the display process of the current scene, the display interface of the next scene can be immediately switched to the display interface of the next scene. For example, when a next scene trigger event is detected during the display process of the current scene, a switching timing can be set for the display process of the next scene. When the switching timing arrives, the interface switches from the current scene display interface to the next scene display interface. For example, when a next scene trigger event is detected during the display process of the current scene, a split-screen display can be triggered, where the current scene display interface continues to be displayed in one split-screen after the split-screen display processing, and the next scene display interface is displayed in another split-screen. For example, the above-mentioned split-screen display processing includes but is not limited to even-numbered split-screen, odd-numbered split-screen, irregular split-screen display, etc., such as two-screen split and four-screen split. For example, the display control module determines the priority of the triggering event in response to the triggering event. For example, the display control module determines at least one of the number of display areas and the position of the display areas based on the priority of the triggering event.

[0064] As an example, responding to a target scene trigger event, obtaining a drawing script file for the target scene display interface includes: responding to a current scene trigger event, switching from the previous scene display interface to the current scene display interface, and obtaining a drawing script file for the current scene display interface, wherein the target scene display interface is dynamically displayed, including: dynamically displaying the current scene display interface.

[0065] For example, the process of switching from the previous scene display interface to the current scene display interface and the process of obtaining the drawing script file for the current scene display interface can be executed in parallel or in series.

[0066] As an example, responding to the current scene trigger event, switching from the previous scene display interface to the current scene display interface, and obtaining the drawing script file for the current scene display interface, includes: responding to the current scene trigger event, adding the current scene display interface to the scene display interface queue, and obtaining the drawing script file for the current scene display interface; when the drawing script file of the current scene display interface is obtained, updating the scene display interface queue to switch from the previous scene display interface to the current scene display interface.

[0067] For example, the process of adding the current scene display interface to the scene display interface queue and the process of obtaining the drawing script file for the current scene display interface can be executed in parallel or in series.

[0068] As an example, in response to the current scene trigger event, switching from the previous scene display interface to the current scene display interface, and obtaining the drawing script file for the current scene display interface, includes: responding to the current scene trigger event, adding the current scene display interface to the scene display interface queue; switching from the previous scene display interface to the current scene display interface by updating the scene display interface queue to trigger a request to obtain the drawing script file for the current scene display interface; responding to the acquisition request, obtaining the drawing script file.

[0069] As an example, updating a scene display interface queue and switching from a previous scene display interface to a current scene display interface includes: obtaining a priority of the current scene display interface; and updating the scene display interface queue based on the priority. The previous scene display interface includes a first display interface and a second display interface, the first display interface corresponding to a first display interface queue, and the second display interface corresponding to a second display interface queue. The method further includes: responding to a current scene trigger operation, switching the first display interface to the current display interface, or switching the second display interface to the current display interface, or switching both the first display interface and the second display interface to the current display interface.

[0070] In another implementation of the present invention, a user can send any instruction to the electronic device. For example, the user sends a touch instruction to the electronic device. For example, the user inputs a gesture instruction, voice instruction, posture instruction, etc. to the electronic device. For example, the electronic device may include a human-computer interaction interface. For example, the electronic device may include any sensor selected from the group consisting of a light sensor, an acoustic sensor, a gas sensor, and a chemical sensor. For example, the electronic device may include at least one of a position sensor, a proximity sensor, a pressure sensor, an optical sensor, a capacitive sensor, and an electromagnetic sensor. For example, the user can input any instruction such as facial expression, voice, posture, or biometric information such as fingerprints or faces to the electronic device. In the electronic device, an analog / digital converter may be connected to any of the above sensors. For example, the above sensors may have the functions of an analog / digital converter or a digital / analog converter, or the function of converting analog signals into digital signals. For example, the analog / digital converter or the digital / analog converter is connected to a microprocessor (DSP) or a microcontroller (MCU). For example, the microprocessor is connected to a processor (for example, a CPU (central processing unit) such as ARM or X86). For example, the processor is connected to a network module of the electronic device. The network module can be used to communicate with the server for user information identification, so as to send the information identified by the above-mentioned sensor or the information processed by the microprocessor to the server, and obtain the identification result from the server. It should be understood that the DSP (microprocessor, or digital signal processor) can also be connected to the above-mentioned network module (for example, network unit or network interface) separately. The above-mentioned microprocessor can send the sensing information or the sensing information after processing (for example, noise reduction processing, compression processing) to the above-mentioned network module via the processor (for example, CPU). Alternatively, the above-mentioned microprocessor can directly send the above-mentioned sensing information or the processed sensing information to the network module. For example, the microprocessor can directly receive the identification result from the network module. For example, the microprocessor can receive the identification result from the processor.

[0071] It should also be understood that the aforementioned server can be configured with different computing resources or interfaces for different recognition types. For example, multiple servers can be configured to recognize different types of sensory information. For example, the network interface transmits the corresponding sensory information to the corresponding server. For example, the server stores a neural network recognition model. For example, the server can also update the neural network model based on the sensory information transmitted from the network interface. In one example, a user inputs a voice command. For example, the server recognizes text based on the voice command and returns the recognized text to the electronic device. For example, the electronic device locally stores a mapping between text information or keyword information and scenes. For example, if the recognized text includes a target keyword, the target keyword is determined as a scene trigger event. For example, if the recognized text includes a first keyword and a second keyword, both the first keyword and the second keyword are determined as target scene trigger events. For example, the two events can be added to two scene display interface queues. For example, the first keyword can be determined to have a higher priority than the second keyword. Accordingly, the first keyword can be determined as the target scene trigger event. For example, the second keyword can be determined as the next scene trigger event. For example, the second keyword can be ignored. In another example, the server can extract keywords based on the recognition file. For example, the extracted keywords are returned to the electronic device. For example, information indicating the keywords, such as keyword identifiers, is returned. For example, the server can return scene information, such as scene identifiers, to the electronic device. For example, the server can also store a correspondence between keyword information and scene information. For example, the electronic device can send a feedback message to the server based on the user's usage results (for example, whether to change or repeat the input instruction, or the number of times the input instruction is changed or repeated). For example, the feedback message includes information about changing the input instruction or repeating the input instruction. For example, the server updates the mapping relationship or neural network model based on the feedback message. For example, a lower weight or priority is assigned to parameters related to changing the input instruction or repeating the input instruction. Alternatively, a higher weight or priority is assigned to parameters related to not changing the input instruction or not repeating the input instruction. The server can update the correspondence based on the information in the feedback message. For example, the local electronic device can update the correspondence between the keyword information and scene information based on the information related to changing the input instruction or repeating the input instruction.

[0072] As an example, the method also includes: responding to the target voice instruction, sending the voice segment in the target voice instruction to the voice recognition server, so that the voice recognition server returns a target scene trigger event, and the target scene trigger event is used to trigger the target scene indicated by the recognition result of the voice segment.

[0073] For example, the speech recognition server can be the same server as the resource server, or they can be different servers. For example, the speech recognition server can be the same server as the resource server. The speech recognition server recognizes the recognition result of the speech segment and returns the resource location information of the drawing script file in the speech recognition server or the drawing script file to the electronic device. For example, the speech recognition server and the resource server are different servers. When the speech recognition server recognizes the recognition result, the speech recognition server responds to the recognition result, sends resource location information to the resource server, and forwards the resource location information to the electronic device. The electronic device obtains the drawing script file by sending a drawing script file request to the resource server. For example, the resource location information is sent to the resource server, and the resource location information is forwarded to the electronic device.

[0074] In another implementation of the present invention, a drawing script file may include a call command for at least one interface display graphics component. For example, a drawing script file may include a call command for at least one interface element dynamic drawing component to call at least one interface display graphics component, thereby improving the rendering processing efficiency of the target scene display interface. For example, a drawing script file may include a call command for at least one interface display graphics component to call at least one interface element dynamic drawing component, thereby improving the dynamic rendering processing efficiency of the target scene display interface.

[0075] It should also be understood that the at least one interface element dynamic rendering component may be configured with an interface element dynamic rendering component interface. For example, the rendering script file may include a call command for the interface element dynamic rendering component interface. For example, at least one interface display graphics component may be configured with an interface display graphics component interface. The aforementioned rendering script file may include a call command for the interface display graphics component interface.

[0076] For example, the drawing script file may include a call command from at least one interface element dynamic drawing component to the interface display graphic component interface. For example, the drawing script file may include a call command from the interface display graphic component interface to at least one interface element dynamic drawing component.

[0077] It should also be understood that the above-mentioned at least one interface element dynamic drawing component or interface element dynamic drawing component interface can be executed by a script engine. The above-mentioned at least one interface display graphic component or the interface display graphic component interface can be executed by an interface rendering engine. The above-mentioned at least one interface element dynamic drawing component and at least one interface display graphic component can be included in a drawing script file so as to be executed using the corresponding script engine and interface rendering engine. In addition, the call to at least one interface display graphic component can be implemented by the interface display graphic component interface, and accordingly, the drawing script text can only include a call command for the interface display graphic component interface.

[0078] For example, the aforementioned multiple interface element dynamic rendering components are respectively for multiple interface elements, such as basic interface elements such as points, lines, and planes, or graphical interface elements such as circles, rectangles, and polygons. For example, the graphical elements include but are not limited to buttons, charts, images, lists, sliders, switches, keyboards, etc.

[0079] In other words, when executing a drawing script file, an interface element can be dynamically drawn based on a graphic element (for example, an interface element is a portion of an image element). For example, when executing a drawing script file, an image is determined, and then dynamic drawing is performed based on points or lines in the image. For example, dynamic drawing can also be performed directly based on at least one interface element.

[0080] As an example, executing a drawing script file to dynamically display a target scene display interface via at least one interface element dynamic drawing component includes: executing a drawing script file to call at least one interface display graphic component via at least one interface element dynamic drawing component; executing at least one interface display graphic component to dynamically display a target scene display interface.

[0081] In another implementation of the present invention, after the current execution of a drawing script file completes, it can be determined whether the next scene display interface is the same as the current scene display interface. If they are, the drawing script file is executed again. For example, the current scene display interface is implemented by cyclically executing the same target drawing script file. For example, after the current execution of the drawing script file completes, the next execution of the drawing script file begins. For example, after the current execution of the drawing script file completes, a static display interface is displayed. For example, when a next scene trigger event is detected, the current drawing script file is deleted. For example, when switching from the current scene display interface to the next scene display interface, the current drawing script file is deleted. For example, the scene display interface queue and the drawing script file queue are managed uniformly. For example, a first pointer variable and a second pointer variable are defined. For example, the first pointer variable and the second pointer variable have the same movement direction. In the target task queue, the queue items on one side of the first pointer variable's movement direction serve as the scene display interface queue. The queue items on the other side of the second pointer variable's movement direction serve as the drawing script file queue. Optionally, the first pointer variable and the second pointer variable have opposite movement directions. In the target task queue, the queue items on one side of the first pointer variable's movement direction serve as the scene display interface queue. The queue items on the same side of the movement direction of the second pointer variable serve as the drawing script file queue. For example, there is a gap of N queue items between the first pointer variable and the second pointer variable. For example, a queue item gap means that after updating to the next scene display interface, the drawing script file for the scene display interface is deleted. Because the task queue is used to uniformly manage the two queues, the computing overhead of the electronic device is reduced.

[0082] As an example, the method further includes: after completing the dynamic display of the target scene display interface, deleting the drawing script file.

[0083] In another implementation of the present invention, the method may further include determining brightness information of the ambient light. For example, the display brightness of the target scene display interface is adjusted based on the brightness information of the ambient light. For example, the electronic device is equipped with at least one photosensitive component. For example, the electronic device is equipped with multiple photosensitive components at multiple locations. For example, the brightness information includes brightness distribution information. For example, the brightness distribution of the ambient light is determined based on the sensed values ​​of the multiple photosensitive components. For example, the display component of the electronic device is equipped with an array of photosensitive devices. The photosensitive device array may be a one-dimensional array or a multi-dimensional array. Each photosensitive device senses the brightness information of the ambient light. For example, the display component includes multiple display brightness control units corresponding to the multiple photosensitive components, such as a one-to-one correspondence between the photosensitive components and the display brightness control units. For example, the multiple display brightness control units are used to control the backlight display of the display component, or to control the brightness of pixels or image points. For example, different photosensitive arrays in the photosensitive device array may exhibit different brightness distributions in a target dimension. For example, based on the brightness distribution of the ambient light, the brightness of multiple photosensitive devices gradually becomes brighter, darker, first becomes brighter and then darker, first becomes darker and then becomes brighter, etc.

[0084] For example, a first photosensitive component on one side of the electronic device measures a first sensing value. For example, a second photosensitive component located on the other side of the electronic device measures a second sensing value. For example, based on the first sensing value and the second sensing value, the target scene display interface is dynamically displayed. For example, on the display component, a first area that is closer to the first photosensitive component is displayed based on the brightness of the first sensing value, and correspondingly, a second area that is closer to the second photosensitive component is displayed based on the brightness of the second sensing value. For example, the first sensing value is greater than the second sensing value, and correspondingly, the brightness of the first area is greater than the brightness of the second area. Due to the above-mentioned display brightness control method, the target scene display interface in the electronic device is consistent with the brightness of the ambient light, thereby making the target scene display interface and the ambient light integrated.

[0085] It should also be understood that the brightness sensing described above can be performed periodically or aperiodically. For example, different brightness sensing cycles can be determined based on different environments. For example, different cycles can be set for different photosensitive devices.

[0086] As an example, the method also includes: determining a mapping relationship between the ambient light brightness and the display brightness of the target scene display interface; based on the mapping relationship, determining the current display brightness corresponding to the detected current ambient light brightness, wherein the target scene display interface is dynamically displayed, including: dynamically displaying the target scene display interface with the current display brightness.

[0087] For example, the mapping relationship can be stored in a local storage space. It can also be obtained from a server. For example, mapping relationships based on different scenario themes can be stored on the server. For example, different mapping relationships correspond to different scenario themes, such as party, work, and study. The mapping relationship can also be updated. For example, the user can set it up on a mobile phone terminal. Alternatively, the user can update the mapping relationship locally in the settings component of the electronic device, or update it from the server.

[0088] In another implementation of the present invention, the interface rendering engine and script engine described above can be one or more, or multiple, and this is not limited in the present embodiment. For example, the first adaptation framework can be configured for multiple script engines. For example, the second adaptation framework can be configured for multiple interface rendering engines. For example, at least one of the first and second adaptation frameworks can be configured. Thus, the commands in the drawing script file can be different regardless of the type of interface rendering engine and script engine. In other words, because the first adaptation framework is compatible with multiple script engines and the second adaptation framework is compatible with multiple interface rendering engines, compatibility with different script engines or different interface rendering engines can be achieved without reconfiguring the drawing script file. For example, the existing drawing script file code or drawing script library functions can be preserved on the server side, while the script engine or interface rendering engine is replaced on the electronic device side. For example, the script engine before or after the replacement includes but is not limited to the JS engine, QuickJS engine, V8 engine, JerryScript engine, etc. The interface rendering engine before or after the replacement includes but is not limited to the UI engine, UI rendering engine, LittlevGL engine, etc.

[0089] As an example, executing a drawing script file and dynamically displaying a target scene display interface via at least one interface element dynamic drawing component includes: calling a target script engine among multiple script engines via an adaptation framework configured for multiple script engines; interpreting and executing the drawing script file through the target script engine, calling an interface rendering engine to dynamically display the target scene display interface, wherein the interface rendering engine is used to execute at least one interface element dynamic drawing component.

[0090] In another implementation of the present invention, the initialization of the interface rendering engine, the initialization of the script engine, the driving of the photosensitive component, the driving of the display component, etc. can be performed separately. Alternatively, the initialization can be performed uniformly by the operating system or the underlying operating environment. For example, a power-on self-test can be performed after booting to initialize the hardware and start the operating system.

[0091] As an example, the method further includes: responding to a power-on trigger event, performing a power-on self-test to start a target script engine and an interface rendering engine.

[0092] In another implementation of the present invention, the above-mentioned interface rendering engine can also be used for static display. For example, a display file such as a startup display screen can be pre-configured in a local storage medium (for example, ROM). The display file can also be implemented as a script file and stored in a local storage medium, or the script file can be obtained from the server. For example, the startup display file can also be a dynamic file stored in a local storage medium. For example, the interface rendering engine can be used to directly render the above-mentioned startup display screen, or the above-mentioned interface element drawing component can be called for rendering.

[0093] As an example, the method further includes: responding to a power-on trigger event, determining a power-on display screen script file; and executing drawing of the power-on display screen file through an interface rendering engine.

[0094] Figure 3A Schematic block diagram of a display control method according to another embodiment of the present invention. As shown in the figure, the rendering engine can be an adapter interface configured for multiple script engines. In addition, the rendering engine adaptation layer can also be an adapter interface configured for multiple UI (user interface) engines. In addition, the extension module can include components configured for dynamic drawing so that the drawing script file calls it. In addition, the UI engine can be used for static display. For example, the rendering engine adaptation can transfer the drawing script file to the script engine. The rendering engine adaptation layer can also transfer the display file to the UI engine. In addition, the UI engine can also be called by methods or functions (e.g., dynamic drawing components) in the extension module.

[0095] Figure 3B This is a schematic block diagram of a display control method according to another embodiment of the present invention. As shown in the figure, the rendering engine adaptation layer can be connected to the display management layer. The display management layer may include a network interface for receiving drawing script files and window management functions. For example, the correspondence between the drawing script file and the window can be one-to-one, one-to-many, many-to-one, or many-to-many. For example, window management includes the management of the scene display interface queue and / or the management of the interface display area. For example, the extension component may include an interface element component and may also include a graphic component. It should also be understood that, although not shown, in this example, the display management layer may also include other functions. In other examples, the above-mentioned network interface and window management functions may also be configured separately, that is, they may not be configured in the display management layer.

[0096] Figure 4A FIG. 4 is a schematic flowchart of a display control method according to another embodiment of the present invention. Figure 4AThe display control method can be applied to any appropriate electronic device with data processing capabilities, including but not limited to: Internet of Things devices, embedded devices, smart devices, servers, mobile terminals (such as mobile phones, PADs, etc.) and PCs. Smart devices include but are not limited to smart transportation equipment, smart home devices, public safety equipment, etc. The above-mentioned smart home devices include but are not limited to smart air conditioners, smart light bulbs, smart tables and chairs, smart TVs, smart speakers, smart instruments, smart cameras, smart window sensors, smart doorbells, smart detectors, and other smart security devices. The embodiments of the present invention are not limited to this.

[0097] The method includes:

[0098] 410: Responding to a target scene triggering event, obtaining a drawing script file for the target scene display interface;

[0099] 420: Execute the drawing script file, and display the target scene display interface via a target interface rendering engine among the multiple interface rendering engines.

[0100] Since the drawing script file includes calling commands of the adaptation interface configured for multiple interface rendering engines, on the one hand, the display diversity of the drawing script file is achieved; on the other hand, the decoupling between the drawing script file and the interface rendering engine is achieved.

[0101] In another implementation of the present invention, executing a drawing script file to display a target scene display interface via a target interface rendering engine among multiple interface rendering engines includes: executing the drawing script file to call the target interface rendering engine among the multiple interface rendering engines; and executing at least one interface element dynamic rendering component via the target interface rendering engine to dynamically display the target scene display interface. Furthermore, the drawing script file may include a call command for an adapter interface configured for the multiple interface rendering engines.

[0102] Figure 4B FIG. 4 is a schematic flowchart of a display control method according to another embodiment of the present invention. Figure 4B The display control method can be applied to any appropriate electronic device with data processing capabilities, including but not limited to: Internet of Things devices, embedded devices, smart devices, servers, mobile terminals (such as mobile phones, PADs, etc.) and PCs. Smart devices include but are not limited to smart transportation equipment, smart home devices, public safety equipment, etc. The above-mentioned smart home devices include but are not limited to smart air conditioners, smart light bulbs, smart tables and chairs, smart TVs, smart speakers, smart instruments, smart cameras, smart window sensors, smart doorbells, smart detectors, other smart security devices, etc. The embodiment of the present invention does not limit this. The method includes:

[0103] 430: responding to the target scene triggering event and determining an access path to the drawing data of the target scene display interface;

[0104] 440: Based on the access path, obtain drawing data to dynamically display the target scene display interface.

[0105] In one example, the access path may indicate accessing the resource server to obtain the drawing data. The resource server may be a cloud server such as a public cloud, a private cloud, a proprietary cloud, or a hybrid cloud. In another example, the access path may indicate accessing a local storage space to obtain the drawing data.

[0106] Since the access path to the drawing data of the target scene display interface is determined in response to the target scene triggering event, flexible access and acquisition of the drawing data is achieved. Further, it is beneficial to dynamically display the target scene display interface.

[0107] In the time display scene, weather display scene, ambient temperature display scene, alarm clock display scene, and music rhythm display scene, the local storage space can be accessed to obtain drawing data; the resource server can also be accessed to obtain drawing data.

[0108] Furthermore, in response to a target scene trigger event, determining an access path for the drawing data of the target scene display interface may include determining the access path for the drawing data of the target scene display interface based on the type of the target scene trigger event. For example, in the aforementioned scenario, which may include a first scene and a second scene, a trigger event for the first scene may access local storage to obtain the drawing data. For a trigger event for the second scene, the drawing data may be accessed from the resource server to obtain the drawing data. For example, the size of the drawing file required for the second scene may be larger than the size of the drawing file for the second scene. Alternatively, the drawing data may be obtained from both the local storage and the resource server. For example, scenarios such as weather display or ambient temperature display require high real-time information. Therefore, the resource server may be accessed to obtain partial drawing data indicating real-time information. Furthermore, scenarios such as weather display or ambient temperature display have specific modes for dynamically drawn interface elements, so local data indicating the interface elements may be obtained. Furthermore, the local data indicating the interface elements may be updated from a cloud server, based on an external device, or coupled to the interface drawing module.

[0109] In addition, the drawing files for music rhythm display scenes are large, and the drawing data can be obtained by accessing the resource server. In one example, for music rhythm display scenes, the drawing data can also be obtained from the local storage space. In another example, the drawing data can be obtained by accessing the resource server first. If the drawing data cannot be obtained within the preset time due to factors such as network delays, the drawing data can be obtained from the local storage space. In another example, the drawing data can be obtained from the local storage space first. If the local storage space already stores the drawing data, the drawing data can be obtained by accessing the resource server.

[0110] In addition, the drawing files for scenes such as alarm clocks are relatively small, so the drawing data can be obtained from local storage. In another example, accessing the resource server to obtain the drawing data can be prioritized. If the drawing data cannot be obtained within a preset time due to factors such as network latency, the drawing data can be obtained from the local storage. In another example, accessing the resource server to obtain the drawing data can be prioritized. If the local storage already stores the drawing data, the resource server can be accessed to obtain the drawing data.

[0111] Furthermore, when accessing the resource server to obtain drawing data, the drawing data obtained each time for the same scene trigger event can be the same or different. For example, in a music rhythm display scene, different drawing data can be displayed for multiple scene trigger events.

[0112] In addition, triggering the same scene at different times may correspond to different triggering events. Triggering the same scene at different locations may correspond to different triggering events. Different triggering conditions for the same scene may correspond to different triggering events. For example, the first voice trigger and the second voice trigger for a music scene may correspond to different triggering events. The first voice trigger and the second voice trigger may indicate the same content, for example, playing a target track. The first voice trigger and the second voice trigger may have different durations, for example, indicating different user emotional information. Different user emotional information may correspond to different triggering events. Different triggering events may correspond to different rhythm drawing files.

[0113] In addition, responding to the target scene triggering event and determining the access path to the drawing data of the target scene display interface may include: determining the access path to the drawing data of the target scene display interface according to the timing of the target scene triggering event.

[0114] In addition, responding to the target scene triggering event and determining the access path to the drawing data of the target scene display interface may include: determining the access path to the drawing data of the target scene display interface according to the recognition result of the target scene triggering event.

[0115] In another implementation of the present invention, the drawing data is obtained based on the access path to dynamically display the target scene display interface, including: obtaining a drawing script file including the data from the resource server based on the access path; and executing the drawing script file through a script engine to dynamically display the target scene display interface.

[0116] In another implementation of the present invention, the obtaining of the drawing data based on the access path to dynamically display the target scene display interface includes: obtaining the drawing data from a local storage space; and dynamically displaying the target scene display interface based on the drawing data through a user interface engine.

[0117] Figure 5 FIG. 4 is a schematic block diagram of a display control device according to another embodiment of the present invention. Figure 5 The display control device can be any appropriate electronic device with data processing capabilities, including but not limited to: Internet of Things devices, embedded devices, smart devices, servers, mobile terminals (such as mobile phones, PADs, etc.) and PCs. Smart devices include but are not limited to smart transportation equipment, smart home devices, public safety equipment, etc. The above-mentioned smart home devices include but are not limited to smart air conditioners, smart light bulbs, smart tables and chairs, smart TVs, smart speakers, smart instruments, smart cameras, smart window sensors, smart doorbells, smart detectors, other smart security devices, etc. The embodiment of the present invention does not limit this. The device includes:

[0118] Acquisition module 510, responds to the target scene trigger event and acquires the drawing script file for the target scene display interface

[0119] The execution module 520 executes the drawing script file and dynamically displays the target scene display interface via at least one interface element dynamic drawing component.

[0120] Since different drawing script files can realize the dynamic drawing of corresponding target scene display interfaces, the display diversity of the scene display interface is improved.

[0121] In another implementation of the present invention, the acquisition module is specifically used to: respond to a target scene trigger event, and determine whether there is information indicating the resource location of the drawing script file on the resource server; if there is information indicating the resource location of the drawing script file on the resource server, then access the resource location of the drawing script file on the resource server to obtain the drawing script file from the resource server.

[0122] In another implementation of the present invention, the acquisition module is further configured to: if there is no information indicating the resource location of the drawing script file on the resource server, send a resource acquisition request to the resource server to acquire the information.

[0123] In another implementation of the present invention, the acquisition module is specifically used to: respond to the current scene trigger event, switch from the previous scene display interface to the current scene display interface, and obtain the drawing script file for the current scene display interface, wherein the execution module is specifically used to: dynamically display the current scene display interface.

[0124] In another implementation of the present invention, the acquisition module is specifically used to: respond to the current scene trigger event, add the current scene display interface to the scene display interface queue, and obtain the drawing script file for the current scene display interface; when the drawing script file of the current scene display interface is obtained, update the scene display interface queue to switch from the previous scene display interface to the current scene display interface.

[0125] In another implementation of the present invention, the acquisition module is specifically used to: respond to the current scene trigger event, add the current scene display interface to the scene display interface queue; switch from the previous scene display interface to the current scene display interface by updating the scene display interface queue to trigger an acquisition request for the drawing script file of the current scene display interface; respond to the acquisition request to acquire the drawing script file.

[0126] In another implementation of the present invention, the device also includes a transceiver module: in response to the target voice instruction, the voice segment in the target voice instruction is sent to the voice recognition server, so that the voice recognition server returns a target scene trigger event, and the target scene trigger event is used to trigger the target scene indicated by the recognition result of the voice segment.

[0127] In another implementation of the present invention, the execution module is specifically used to: execute the drawing script file to call at least one interface display graphic component through at least one interface element dynamic drawing component; execute at least one interface display graphic component to dynamically display the target scene display interface.

[0128] In another implementation of the present invention, the execution module is further configured to: delete the drawing script file after completing the dynamic display of the target scene display interface.

[0129] In another implementation of the present invention, the device also includes a determination module: determining the mapping relationship between the ambient light brightness and the display brightness of the target scene display interface; based on the mapping relationship, determining the current display brightness corresponding to the detected current ambient light brightness, wherein the execution module is specifically used to: dynamically display the target scene display interface with the current display brightness.

[0130] In another implementation of the present invention, the execution module is specifically used to: call a target script engine among multiple script engines via an adaptation framework configured for multiple script engines; interpret and execute the drawing script file through the target script engine, and call the interface rendering engine to dynamically display the target scene display interface, wherein the interface rendering engine is used to execute at least one interface element dynamic drawing component.

[0131] In another implementation of the present invention, the device further includes a startup module: in response to a power-on trigger event, executing a power-on self-test to start a target script engine and an interface rendering engine.

[0132] In another implementation of the present invention, the acquisition module is further used to: respond to a power-on trigger event and determine a power-on display screen script file; the execution module is further used to: execute drawing of the power-on display screen file through an interface rendering engine.

[0133] In another implementation of the present invention, at least one interface element dynamic drawing component includes at least one of a point dynamic drawing component, a line dynamic drawing component, and a polygon dynamic drawing component.

[0134] The method of this embodiment can be executed by any appropriate electronic device with data processing capabilities, including but not limited to: a server, a mobile terminal (such as a mobile phone, a PAD, etc.) and a PC.

[0135] The device of this embodiment is used to implement the corresponding methods in the aforementioned multiple method embodiments and has the beneficial effects of the corresponding method embodiments, which will not be described in detail here. In addition, the functional implementation of each module in the device of this embodiment can refer to the description of the corresponding parts in the aforementioned method embodiments, which will not be described in detail here.

[0136] Figure 6A FIG. 4 is a schematic block diagram of a display control device according to another embodiment of the present invention. Figure 6A The display control device can be any appropriate electronic device with data processing capabilities, including but not limited to: Internet of Things devices, embedded devices, smart devices, servers, mobile terminals (such as mobile phones, PADs, etc.) and PCs. Smart devices include but are not limited to smart transportation equipment, smart home devices, public safety equipment, etc. The above-mentioned smart home devices include but are not limited to smart air conditioners, smart light bulbs, smart tables and chairs, smart TVs, smart speakers, smart instruments, smart cameras, smart window sensors, smart doorbells, smart detectors, other smart security devices, etc. The embodiment of the present invention does not limit this. The device includes:

[0137] An acquisition module 610, in response to a target scene triggering event, acquires a drawing script file for a target scene display interface;

[0138] The execution module 620 executes the drawing script file and displays the target scene display interface via a target interface rendering engine among the multiple interface rendering engines.

[0139] It should be understood that a drawing script file can include call commands for adapter interfaces configured for various interface rendering engines. This inclusion of call commands for adapter interfaces configured for various interface rendering engines not only achieves display diversity in the drawing script file but also decouples the drawing script file from the interface rendering engine.

[0140] In another implementation of the present invention, the execution module is specifically used to: execute the drawing script file, call the target interface rendering engine among multiple interface rendering engines; execute at least one interface element dynamic drawing component through the target interface rendering engine to dynamically display the target scene display interface.

[0141] The device of this embodiment is used to implement the corresponding methods in the aforementioned multiple method embodiments and has the beneficial effects of the corresponding method embodiments, which will not be described in detail here. In addition, the functional implementation of each module in the device of this embodiment can refer to the description of the corresponding parts in the aforementioned method embodiments, which will not be described in detail here.

[0142] Figure 6B FIG. 4 is a schematic block diagram of a display control device according to another embodiment of the present invention. Figure 6B The display control device can be any appropriate electronic device with data processing capabilities, including but not limited to: Internet of Things devices, embedded devices, smart devices, servers, mobile terminals (such as mobile phones, PADs, etc.) and PCs. Smart devices include but are not limited to smart transportation equipment, smart home devices, public safety equipment, etc. The above-mentioned smart home devices include but are not limited to smart air conditioners, smart light bulbs, smart tables and chairs, smart TVs, smart speakers, smart instruments, smart cameras, smart window sensors, smart doorbells, smart detectors, other smart security devices, etc. The embodiment of the present invention does not limit this. The device includes:

[0143] Determining module 630, in response to the target scene triggering event, determines an access path to the drawing data of the target scene display interface;

[0144] The acquisition module 640 acquires rendering data based on the access path to dynamically display the target scene display interface.

[0145] In another implementation of the present invention, the acquisition module is specifically used to: acquire a drawing script file including the data from the resource server based on the access path; execute the drawing script file through a script engine to dynamically display the target scene display interface.

[0146] In another implementation of the present invention, the acquisition module is specifically configured to: acquire the drawing data from a local storage space; and dynamically display the target scene display interface based on the drawing data through a user interface engine.

[0147] The device of this embodiment is used to implement the corresponding methods in the aforementioned multiple method embodiments and has the beneficial effects of the corresponding method embodiments, which will not be described in detail here. In addition, the functional implementation of each module in the device of this embodiment can refer to the description of the corresponding parts in the aforementioned method embodiments, which will not be described in detail here.

[0148] Figure 7A A schematic flowchart of a cloud service method according to another embodiment of the present invention. Figure 7A The cloud service method can be applied to cloud service terminals such as public clouds, private clouds, proprietary clouds, or hybrid clouds, and can also be applied to other terminal devices. The method includes:

[0149] 710: Respond to the target scene service request and determine a drawing script file for the target scene display interface.

[0150] 720: Return the drawing script file so that the target scene display interface can be dynamically displayed by executing the drawing script file.

[0151] In the solution of the embodiment of the present invention, since a drawing script file for a target scene display interface can be determined in response to a target scene service request, and the drawing script file is used to dynamically display the target scene display interface, flexibility in obtaining the drawing script file is achieved, and client storage space is saved.

[0152] The embodiments of the present invention can be applied to time display scenes, weather display scenes, ambient temperature display scenes, alarm clock display scenes, and music rhythm display scenes.

[0153] In a music rhythm display scenario, the cloud server may store at least one rhythm drawing script file for a target track. Users can browse the cloud server's display of at least one drawing script file effect for the target track. Users can select the drawing script file effect they're interested in and download the corresponding drawing script file locally, associating it with the target track. Alternatively, users can select the drawing script file effect so that it can be downloaded from the server when the corresponding rhythm scene is triggered.

[0154] In another music rhythm display scenario, the cloud server can store at least one drawing script file for a music type. The user can browse the cloud server for at least one drawing script file effect display for the music type. The user can select a drawing script file effect of interest as a drawing effect for the music type. Alternatively, the user selects the drawing script file effect for downloading from the server when the corresponding rhythm scenario is triggered.

[0155] In a weather display scenario, the cloud server can store at least one drawing script file for a weather type. The user can browse the cloud server for at least one drawing script file effect display for the weather type. The user can select a weather type display effect of interest. Alternatively, the second user selects the drawing script file effect for downloading from the server when the corresponding weather scenario is triggered.

[0156] It should also be understood that the description of the features and steps of other embodiments (for example, embodiments corresponding to any other figure) in the text is applicable to the solution of the present embodiment.

[0157] Figure 7B Schematic flowchart of the cloud service method of another embodiment of the application. Figure 7B The cloud service method of the application can be applied to a cloud server such as a public cloud, a private cloud, a dedicated cloud or a hybrid cloud, and can also be applied to other terminal devices. The method comprises:

[0158] 730: receiving target scenario display effect data uploaded based on the scenario display effect template.

[0159] 740: generating a drawing script file for dynamically displaying a target scenario display interface based on the target scenario display effect data.

[0160] 750: storing the drawing script file.

[0161] In the embodiments of the application, the display effect template is convenient for the user to edit and create, and the server (a device serving as a server terminal) is beneficial for the user to download at the client, or the client to download when the scenario is triggered.

[0162] It should be understood that in the first example, the scenario display effect template can be configured at the first client, and the user can select target scenario display effect data based on the scenario display effect template. When the triggering event of the target scenario is triggered at the first client, a drawing script service request is sent to the server. The server can return the drawing script file to the first client so as to trigger the target scenario display effect at the first client. Thus, the customized drawing script file is realized in a simple way.

[0163] In another example, a scene display effect template can be configured on the first client, and the user can develop the target scene display effect data based on the scene display effect template and upload it to the server. When the trigger event of the target scene is triggered on the second client, a drawing script service request is sent to the server. The server can return the drawing script file to the second client so as to trigger the target scene display effect on the first client. Thus, the target user can flexibly edit the drawing script file through the editing of the client, and the user can download the drawing script file stored by the server. This realizes the production and consumption ecology of the drawing script file.

[0164] The embodiments of the present invention can be applied to time display scenes, weather display scenes, ambient temperature display scenes, alarm clock display scenes, and music rhythm display scenes.

[0165] In a music rhythm display scene, the first user can edit the rhythm effect of the target track of interest and publish it to the cloud server for sharing. The cloud server can store at least one rhythm drawing script file for the target track. For example, the second user can browse the cloud server's at least one drawing script file effect display for the target track. The second user can select the drawing script file effect of interest and download the corresponding drawing script file locally and associate it with the target track. Alternatively, the second user selects the drawing script file effect so that it can be downloaded from the server when the corresponding rhythm scene is triggered.

[0166] In another music rhythm display scenario, a first user can edit a rhythm effect for a music genre of interest and publish it to a cloud server for sharing. The cloud server may store at least one rhythm drawing script file for that music genre. A second user can select the drawing script file effect of interest as the drawing effect for that music genre. Alternatively, the second user can select the drawing script file effect so that it can be downloaded from the server when the corresponding rhythm scene is triggered.

[0167] In the weather display scenario, a first user can edit the display effect of the weather type they are interested in and publish it to the cloud server for sharing. The cloud server may store at least one rendering script file for the display effect of this weather type. A second user can select the display effect of the weather type they are interested in. Alternatively, the second user can select the rendering script file effect so that it can be downloaded from the server when the corresponding weather scenario is triggered.

[0168] It should also be understood that the descriptions of features and steps of other embodiments herein (for example, embodiments corresponding to any other figures) are applicable to the solutions of this embodiment.

[0169] Figure 8AThis is a schematic block diagram of a cloud service device according to another embodiment of the present invention. Figure 8A The cloud service device can be a cloud service end such as a public cloud, private cloud, proprietary cloud or hybrid cloud, and can also be applied to other terminal devices. The device includes:

[0170] The determination module 810 responds to the target scene service request and determines a drawing script file for the target scene display interface;

[0171] Returning to module 820, returning the drawing script file, so as to dynamically display the target scene display interface by executing the drawing script file.

[0172] In the solution of the embodiment of the present invention, since a drawing script file for a target scene display interface can be determined in response to a target scene service request, and the drawing script file is used to dynamically display the target scene display interface, flexibility in obtaining the drawing script file is achieved, and client storage space is saved.

[0173] The device of this embodiment is used to implement the corresponding methods in the aforementioned multiple method embodiments and has the beneficial effects of the corresponding method embodiments, which will not be described in detail here. In addition, the functional implementation of each module in the device of this embodiment can refer to the description of the corresponding parts in the aforementioned method embodiments, which will not be described in detail here.

[0174] It should also be understood that the descriptions of features and steps of other embodiments herein (for example, embodiments corresponding to any other figures) are applicable to the solutions of this embodiment.

[0175] Figure 8B This is a schematic block diagram of a cloud service device according to another embodiment of the present invention. Figure 8B The cloud service device can be a cloud service end such as a public cloud, private cloud, proprietary cloud or hybrid cloud, and can also be applied to other terminal devices. The device includes:

[0176] A receiving module 830 receives target scene display effect data uploaded based on a scene display effect template;

[0177] A generating module 840 generates a drawing script file for dynamically displaying the target scene display interface based on the target scene display effect data;

[0178] The storage module 850 stores the drawing script file.

[0179] In the embodiment of the present invention, since the display effect template is convenient for users to edit and create, the server side (the server side device as the service terminal) is convenient for users to download on the client side, or the client side downloads when the scene is triggered.

[0180] The device of the embodiment is used to implement the corresponding method in the plurality of method embodiments described above, and has the beneficial effects of the corresponding method embodiments, which will not be described here again. In addition, the function implementation of each module in the device of the embodiment can be referred to the description of the corresponding part in the method embodiments described above, which will not be described here again.

[0181] It should also be understood that the description of the features and steps of other embodiments (for example, embodiments corresponding to any other figure) in the present embodiment are applicable to the solutions of the present embodiment.

[0182] Figure 9 A structural schematic diagram of an electronic device of another embodiment of the present application; the electronic device can include:

[0183] One or more processors 901;

[0184] A computer readable medium 902, which can be configured to store one or more programs,

[0185] When the one or more programs are executed by the one or more processors, the one or more processors implement the method described in the above embodiments.

[0186] Figure 10 A hardware structure of an electronic device of another embodiment of the present application; as shown in the figure, the hardware structure of the electronic device can include: a processor 1001, a communication interface 1002, a computer readable medium 1003 and a communication bus 1004; Figure 10

[0187] Wherein the processor 1001, the communication interface 1002, the computer readable medium 1003 complete the communication among each other through the communication bus 804;

[0188] Optionally, the communication interface 1002 can be the interface of the communication module;

[0189] Wherein, the processor 1001 can be specifically configured to: in response to a target scene trigger event, obtain a drawing script file for a target scene display interface; execute the drawing script file, and dynamically draw the target scene display interface via the at least one interface element dynamic drawing component, or,

[0190] In response to a target scene trigger event, obtain a drawing script file for a target scene display interface; execute the drawing script file, and display the target scene display interface via the target interface rendering engine in the plurality of interface rendering engines, or,

[0191] ​In response to a target scene triggering event, determine an access path to the drawing data of the target scene display interface; based on the access path, obtain the drawing data to dynamically display the target scene display interface, or,

[0192] In response to the target scene service request, determine the drawing script file for the target scene display interface; return the drawing script file so that the target scene display interface is dynamically displayed by executing the drawing script file, or,

[0193] Receive target scene display effect data uploaded based on a scene display effect template; generate a drawing script file for dynamically displaying a target scene display interface based on the target scene display effect data; and store the drawing script file.

[0194] Processor 1001 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present invention. The general-purpose processor can be a microprocessor or any conventional processor.

[0195] The computer-readable medium 1003 may be, but is not limited to, a random access memory (RAM), a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), etc.

[0196] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code configured to execute the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part, and / or installed from a removable medium. When the computer program is executed by a central processing unit (CPU), the above-mentioned functions defined in the method of the present invention are executed. It should be noted that the computer-readable medium described in the present invention can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage medium, a magnetic storage medium, or any suitable combination thereof. In the present invention, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, apparatus, or device. In the present invention, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including, but not limited to, an electromagnetic signal, an optical signal, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transfer a program configured for use by or in conjunction with an instruction execution system, apparatus, or device. Program code embodied on a computer-readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.

[0197] Computer program code configured to perform the operations of the present invention may be written in one or more programming languages, or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).

[0198] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architectures, functions, and operations of the systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or portion of code, which contains one or more executable instructions configured to implement the specified logical function. The above-mentioned specific embodiments have specific sequential relationships, but these sequential relationships are merely exemplary. During the specific implementation, these steps may be fewer, more, or the execution order may be adjusted. In other words, in some alternative implementations, the functions marked in the boxes may also occur in an order different from that marked in the accompanying drawings. For example, two boxes shown in succession can actually be executed substantially in parallel, or they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, as well as combinations of boxes in the block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or can be implemented using a combination of dedicated hardware and computer instructions.

[0199] The modules involved in the embodiments of the present invention may be implemented in software or hardware, and the names of these modules do not necessarily limit the modules themselves.

[0200] As another aspect, the present invention further provides a computer-readable medium having a computer program stored thereon, which implements the method described in the above embodiment when the program is executed by a processor.

[0201] As another aspect, the present invention further provides a computer-readable medium, which may be included in the device described in the above embodiment; or may exist independently without being assembled into the device. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed by the device, the device: responds to a target scene trigger event, obtains a drawing script file for a target scene display interface; executes the drawing script file, and dynamically displays the target scene display interface via the at least one interface element dynamic drawing component, or,

[0202] In response to a target scene triggering event, obtaining a drawing script file for a target scene display interface; executing the drawing script file, and displaying the target scene display interface via a target interface rendering engine among the multiple interface rendering engines, or,

[0203] In response to a target scene triggering event, determine an access path to the drawing data of the target scene display interface; based on the access path, obtain the drawing data to dynamically display the target scene display interface, or,

[0204] In response to the target scene service request, determine the drawing script file for the target scene display interface; return the drawing script file so that the target scene display interface is dynamically displayed by executing the drawing script file, or,

[0205] Receive target scene display effect data uploaded based on a scene display effect template; generate a drawing script file for dynamically displaying a target scene display interface based on the target scene display effect data; and store the drawing script file.

[0206] The terms "first," "second," "the first," or "the second" used in various embodiments of the present disclosure may modify various components regardless of order and / or importance, but these terms do not limit the corresponding components. The above terms are configured solely for the purpose of distinguishing an element from other elements. For example, a first user device and a second user device represent different user devices, even though both are user devices. For example, a first element may be referred to as a second element, and similarly, a second element may be referred to as a first element without departing from the scope of the present disclosure.

[0207] When one element (for example, a first element) is referred to as being “(operably or communicably) coupled” or “(operably or communicably) coupled to” or “connected to” another element (for example, a second element), it should be understood that the one element is directly connected to the other element or that the one element is indirectly connected to the other element via yet another element (for example, a third element). Conversely, it should be understood that when an element (for example, a first element) is referred to as being “directly connected” or “directly coupled” to another element (the second element), there is no element (for example, a third element) interposed therebetween.

[0208] The above description is merely an illustration of the preferred embodiments of the present invention and the technical principles employed. Those skilled in the art should understand that the scope of the invention is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also encompasses other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned inventive concept. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in the present invention.

Claims

1. A display control method, comprising: Responding to the target scene trigger event, obtaining the drawing script file for the target scene display interface; Executing the drawing script file to dynamically display the target scene display interface via at least one interface element dynamic drawing component; The executing the drawing script file and dynamically displaying the target scene display interface via at least one interface element dynamic drawing component includes: calling a target script engine among the plurality of script engines via a first adaptation framework configured for the plurality of script engines; The drawing script file is interpreted and executed through the target script engine, and the interface rendering engine is called via the second adaptation framework configured for multiple interface rendering engines to dynamically display the target scene display interface, wherein the interface rendering engine is used to execute the at least one interface element dynamic drawing component, and the drawing script file includes calling commands for adaptation interfaces configured for multiple interface rendering engines, and the first adaptation framework and the second adaptation framework are used to achieve compatibility with different script engines and different interface rendering engines.

2. The method according to claim 1, wherein The step of responding to a target scene triggering event and obtaining a drawing script file for a target scene display interface includes: In response to a target scene triggering event, determining whether there is information indicating a resource location of the drawing script file on a resource server; If there is information indicating the resource location of the drawing script file on the resource server, the resource location of the drawing script file on the resource server is accessed to obtain the drawing script file from the resource server.

3. The method according to claim 2, wherein: The step of responding to a target scene triggering event and obtaining a drawing script file for a target scene display interface further includes: If there is no information indicating the resource location of the drawing script file on the resource server, a resource acquisition request is sent to the resource server to acquire the information.

4. The method according to claim 1, wherein The step of responding to a target scene triggering event and obtaining a drawing script file for a target scene display interface includes: In response to a current scene trigger event, switching from a previous scene display interface to a current scene display interface, and obtaining a drawing script file for the current scene display interface, wherein the dynamically displaying the target scene display interface includes: The current scene display interface is dynamically displayed.

5. The method according to claim 4, wherein The step of responding to the current scene triggering event, switching from the previous scene display interface to the current scene display interface, and obtaining a drawing script file for the current scene display interface includes: In response to a current scene trigger event, the current scene display interface is added to a scene display interface queue, and a drawing script file for the current scene display interface is obtained; When the drawing script file of the current scene display interface is obtained, the scene display interface queue is updated to switch from the previous scene display interface to the current scene display interface.

6. The method according to claim 4, wherein: The step of responding to the current scene triggering event, switching from the previous scene display interface to the current scene display interface, and obtaining a drawing script file for the current scene display interface includes: In response to the current scene trigger event, the current scene display interface is added to the scene display interface queue; By updating the scene display interface queue, switching from the previous scene display interface to the current scene display interface, so as to trigger an acquisition request for the drawing script file of the current scene display interface; In response to the acquisition request, the drawing script file is acquired.

7. The method according to claim 1, wherein The method further comprises: In response to the target voice instruction, the voice segment in the target voice instruction is sent to the voice recognition server so that the voice recognition server returns the target scene trigger event, and the target scene trigger event is used to trigger the target scene indicated by the recognition result of the voice segment.

8. The method according to claim 1, wherein The executing the drawing script file and dynamically displaying the target scene display interface via at least one interface element dynamic drawing component includes: Executing the drawing script file to call at least one interface display graphic component through the at least one interface element dynamic drawing component; Execute the at least one interface display graphic component to dynamically display the target scene display interface.

9. The method according to claim 1, wherein The method further comprises: After the dynamic display of the target scene display interface is completed, the drawing script file is deleted.

10. The method according to claim 1, wherein The method further comprises: Determining a mapping relationship between ambient light brightness and display brightness of the target scene display interface; Based on the mapping relationship, the current display brightness corresponding to the detected current ambient light brightness is determined, wherein: The dynamically displaying the target scene display interface includes: The target scene display interface is dynamically displayed with the current display brightness.

11. The method according to claim 10, wherein: The method further comprises: In response to a power-on trigger event, a power-on self-test is performed to start the target script engine and the interface rendering engine.

12. The method according to claim 1, wherein The method further comprises: Respond to the power-on trigger event and determine the power-on display screen script file; The startup display screen file is drawn by the interface rendering engine.

13. The method according to claim 1, wherein The at least one interface element dynamic drawing component includes at least one of a point dynamic drawing component, a line dynamic drawing component, and a polygon dynamic drawing component.

14. A display control method, comprising: Responding to the target scene trigger event, obtaining the drawing script file for the target scene display interface; Executing the drawing script file to display the target scene display interface via a target interface rendering engine among the multiple interface rendering engines, wherein the interface rendering engine is used to execute at least one interface element dynamic drawing component in the drawing script file, and the drawing script file includes a call command of an adaptation interface configured for the multiple interface rendering engines; The executing the drawing script file and displaying the target scene display interface via a target interface rendering engine among the multiple interface rendering engines includes: calling a target script engine among the plurality of script engines via a first adaptation framework configured for the plurality of script engines; The drawing script file is interpreted and executed through the target script engine, and the target interface rendering engine is called via the second adaptation framework configured for multiple interface rendering engines to dynamically display the target scene display interface. The first adaptation framework and the second adaptation framework are used to achieve compatibility with different script engines and different interface rendering engines.

15. The method according to claim 14, wherein The executing the drawing script file and displaying the target scene display interface via a target interface rendering engine among the multiple interface rendering engines further includes: Executing the drawing script file and calling a target interface rendering engine among the multiple interface rendering engines; At least one interface element dynamic drawing component is executed through the target interface rendering engine to dynamically display the target scene display interface.

16. A display control method, comprising: In response to the target scene trigger event, determine the access path to the drawing data of the target scene display interface; Based on the access path, the drawing data is acquired to dynamically display the target scene display interface; The acquiring of the drawing data and dynamically displaying the target scene display interface includes: Get the drawing script file for the target scene display interface; calling a target script engine among the plurality of script engines via a first adaptation framework configured for the plurality of script engines; The drawing script file is interpreted and executed through the target script engine, and the interface rendering engine is called via the second adaptation framework configured for multiple interface rendering engines to dynamically display the target scene display interface, wherein the interface rendering engine is used to execute at least one interface element dynamic drawing component in the drawing script file, and the drawing script file includes calling commands for adaptation interfaces configured for multiple interface rendering engines, and the first adaptation framework and the second adaptation framework are used to achieve compatibility with different script engines and different interface rendering engines.

17. The method according to claim 16, wherein The acquiring of the drawing data based on the access path to dynamically display the target scene display interface includes: Based on the access path, obtaining a drawing script file including the data from a resource server; The drawing script file is executed by a script engine to dynamically display the target scene display interface.

18. The method according to claim 16, wherein The acquiring of the drawing data based on the access path to dynamically display the target scene display interface includes: Obtaining the drawing data from the local storage space; The target scene display interface is dynamically displayed based on the drawing data through a user interface engine.

19. A cloud service method, comprising: Responding to the target scene service request, determining the drawing script file for the target scene display interface; Returning the drawing script file so as to dynamically display the target scene display interface by executing the drawing script file; The returning the drawing script file so as to dynamically display the target scene display interface by executing the drawing script file includes: calling a target script engine among the plurality of script engines via a first adaptation framework configured for the plurality of script engines; The drawing script file is interpreted and executed through the target script engine, and the interface rendering engine is called via the second adaptation framework configured for multiple interface rendering engines to dynamically display the target scene display interface, wherein the interface rendering engine is used to execute at least one interface element dynamic drawing component in the drawing script file, and the drawing script file includes calling commands for adaptation interfaces configured for multiple interface rendering engines, and the first adaptation framework and the second adaptation framework are used to achieve compatibility with different script engines and different interface rendering engines.

20. A cloud service method, comprising: Receive target scene display effect data uploaded based on the scene display effect template; Based on the target scene display effect data, generating a drawing script file for dynamically displaying the target scene display interface; The drawing script file is used to interpret and execute a target script engine among the multiple script engines by calling the target script engine through a first adaptation framework configured for the multiple script engines, and to call the interface rendering engine through a second adaptation framework configured for the multiple interface rendering engines, so as to dynamically display the target scene display interface, wherein the interface rendering engine is used to execute at least one interface element dynamic drawing component in the drawing script file, and the drawing script file includes a calling command of an adaptation interface configured for the multiple interface rendering engines, and the first adaptation framework and the second adaptation framework are used to achieve compatibility with different script engines and different interface rendering engines; The drawing script file is stored.

21. A display control device, comprising: A determination module responds to a target scene trigger event and determines an access path to the drawing data of the target scene display interface; an acquisition module, which acquires the drawing data based on the access path to dynamically display the target scene display interface; The acquisition module acquires the drawing data to dynamically display the target scene display interface, including: acquiring a drawing script file for the target scene display interface; calling a target script engine among the multiple script engines via a first adaptation framework configured for multiple script engines; interpreting and executing the drawing script file through the target script engine, and calling an interface rendering engine via a second adaptation framework configured for multiple interface rendering engines to dynamically display the target scene display interface, wherein the interface rendering engine is used to execute at least one interface element dynamic drawing component in the drawing script file, and the drawing script file includes a calling command of an adaptation interface configured for multiple interface rendering engines, and the first adaptation framework and the second adaptation framework are used to achieve compatibility with different script engines and different interface rendering engines.

22. A cloud service device, comprising: A determination module responds to a target scene service request and determines a drawing script file for a target scene display interface; A return module returns the drawing script file so as to dynamically display the target scene display interface by executing the drawing script file; The return module returns the drawing script file so as to dynamically display the target scene display interface by executing the drawing script file, including: calling a target script engine among the multiple script engines via a first adaptation framework configured for multiple script engines; interpreting and executing the drawing script file through the target script engine, and calling an interface rendering engine via a second adaptation framework configured for multiple interface rendering engines to dynamically display the target scene display interface, wherein the interface rendering engine is used to execute at least one interface element dynamic drawing component in the drawing script file, and the drawing script file includes a calling command of an adaptation interface configured for multiple interface rendering engines, and the first adaptation framework and the second adaptation framework are used to achieve compatibility with different script engines and different interface rendering engines.

23. A cloud service device, comprising: A receiving module receives target scene display effect data uploaded based on a scene display effect template; A generating module, based on the target scene display effect data, generates a drawing script file for dynamically displaying the target scene display interface; The drawing script file is used to interpret and execute a target script engine among the multiple script engines by calling the target script engine through a first adaptation framework configured for the multiple script engines, and to call the interface rendering engine through a second adaptation framework configured for the multiple interface rendering engines, so as to dynamically display the target scene display interface, wherein the interface rendering engine is used to execute at least one interface element dynamic drawing component in the drawing script file, and the drawing script file includes a calling command of an adaptation interface configured for the multiple interface rendering engines, and the first adaptation framework and the second adaptation framework are used to achieve compatibility with different script engines and different interface rendering engines; A storage module stores the drawing script file.

24. A display control device, comprising: The acquisition module responds to the target scene trigger event and obtains the drawing script file for the target scene display interface; An execution module executes the drawing script file and dynamically displays the target scene display interface via at least one interface element dynamic drawing component; The execution module executes the drawing script file and dynamically displays the target scene display interface via at least one interface element dynamic drawing component, including: calling a target script engine among the multiple script engines via a first adaptation framework configured for multiple script engines; interpreting and executing the drawing script file through the target script engine, and calling an interface rendering engine via a second adaptation framework configured for multiple interface rendering engines to dynamically display the target scene display interface, wherein the interface rendering engine is used to execute the at least one interface element dynamic drawing component, the drawing script file includes a calling command of an adaptation interface configured for multiple interface rendering engines, and the first adaptation framework and the second adaptation framework are used to achieve compatibility with different script engines and different interface rendering engines.

25. A display control device, comprising: The acquisition module responds to the target scene trigger event and obtains the drawing script file for the target scene display interface; an execution module, executing the drawing script file, and displaying the target scene display interface via a target interface rendering engine among multiple interface rendering engines, wherein the interface rendering engine is used to execute at least one interface element dynamic drawing component in the drawing script file, and the drawing script file includes a call command of an adaptation interface configured for multiple interface rendering engines; The execution module executes the drawing script file and displays the target scene display interface via a target interface rendering engine among multiple interface rendering engines, including: calling a target script engine among the multiple script engines via a first adaptation framework configured for the multiple script engines; interpreting and executing the drawing script file through the target script engine, and calling the target interface rendering engine via a second adaptation framework configured for the multiple interface rendering engines to dynamically display the target scene display interface. The first adaptation framework and the second adaptation framework are used to achieve compatibility with different script engines and different interface rendering engines.

26. An electronic device, comprising: one or more processors; A computer readable medium configured to store one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 20.

27. A computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method according to any one of claims 1 to 20 is implemented.

Citation Information

Patent Citations

  • Experimental simulation method and device, electronic equipment and computer readable storage medium

    CN110032361A