CN116467021A - User interface operation method, device, equipment and storage medium - Google Patents

User interface operation method, device, equipment and storage medium Download PDF

Info

Publication number
CN116467021A
CN116467021A CN202310250385.6A CN202310250385A CN116467021A CN 116467021 A CN116467021 A CN 116467021A CN 202310250385 A CN202310250385 A CN 202310250385A CN 116467021 A CN116467021 A CN 116467021A
Authority
CN
China
Prior art keywords
interface
firmware
partition
storage
program
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310250385.6A
Other languages
Chinese (zh)
Inventor
陈智红
叶瑞章
严建雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Ligong Science And Technology Co ltd
Original Assignee
Guangzhou Ligong Science And Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Ligong Science And Technology Co ltd filed Critical Guangzhou Ligong Science And Technology Co ltd
Priority to CN202310250385.6A priority Critical patent/CN116467021A/en
Publication of CN116467021A publication Critical patent/CN116467021A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates
    • G06F8/654Updates using techniques specially adapted for alterable solid state memories, e.g. for EEPROM or flash memories
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the application discloses a user interface operation method, a device, equipment and a storage medium, which are used for display equipment, wherein the display equipment comprises a memory and a display screen, the memory comprises a first storage partition and a second storage partition, the first storage partition is used for storing program firmware, the second storage partition is used for storing interface materials, and the program firmware and the interface materials are respectively and independently stored in the first storage partition and the second storage partition; according to the technical scheme provided by the embodiment of the application, program firmware is loaded from the first memory partition according to the starting instruction, and the program firmware is operated; loading corresponding interface materials from the second storage partition according to the running of the program firmware; according to the running of the program firmware, the loaded interface materials are placed at the corresponding positions of the display screen to generate the user interface, so that the problem that the speed of generating the user interface is low can be solved, the speed of generating the user interface is improved, and the user experience is improved.

Description

User interface operation method, device, equipment and storage medium
Technical Field
The embodiment of the application relates to the technical field of man-machine interaction, in particular to a user interface operation method, a device, equipment and a storage medium.
Background
The user interface refers to the overall design of man-machine interaction, operation logic and attractive interface of software. The user interface is a medium for interaction and exchange of information between the system and the user, and is a medium for conversion between an internal form of information and a human acceptable form. The operation of the user interface can be realized by loading and operating the interface firmware and the interface material together.
In the existing operation mode of the user interface, the interface material and the program are compiled together to generate an interface firmware, and the interface firmware is burnt into a memory of the corresponding display device. After the display device is powered on, the interface firmware is loaded into the synchronous dynamic random access memory in the microprocessor, and the interface firmware is operated, so that a corresponding user interface is generated.
The method for compiling the interface materials and the programs together is based on more interface materials, so that the interface firmware generated by compiling is larger, the loading time of the interface firmware is longer, the speed of generating a user interface is slower, and the use experience of a user is affected.
Disclosure of Invention
The embodiment of the application provides a user interface running method, device, equipment and storage medium, which can solve the problem of slower speed of generating a user interface, improve the speed of generating the user interface and improve the user experience.
In a first aspect, an embodiment of the present application provides a user interface operation method, configured to be used in a display device, where the display device includes a memory and a display screen, the memory includes a first storage partition and a second storage partition, the first storage partition is used to store program firmware, the second storage partition is used to store interface materials, and the program firmware and the interface materials are respectively and independently stored in the first storage partition and the second storage partition, where the user interface operation method includes:
loading program firmware from the first storage partition according to a starting instruction, and running the program firmware;
loading corresponding interface materials from the second storage partition according to the running of the program firmware;
and according to the running of the program firmware, placing the loaded interface material at a position corresponding to the display screen, and generating a user interface.
Further, the first storage partition comprises a first storage sub-partition and a second storage sub-partition;
the loading the program firmware from the first storage partition according to the starting instruction and running the program firmware comprises the following steps:
loading basic firmware from the first storage sub-partition according to the starting instruction, and running the basic firmware;
And loading interface firmware from the second storage sub-partition according to the operation of the basic firmware, and operating the interface firmware.
Further, according to the running of the basic firmware, loading interface firmware from the second storage sub-partition, and running the interface firmware, including:
detecting whether interface firmware exists in the second storage sub-partition according to the operation of the basic firmware;
if the interface firmware exists in the second storage sub-partition, loading the interface firmware from the second storage sub-partition, and running the interface firmware;
and if the fact that the interface firmware does not exist in the second storage sub-partition is detected, generating and displaying first prompt information, wherein the first prompt information is used for reminding that the interface firmware does not exist in the current display device.
Further, if it is detected that the interface firmware does not exist in the second storage sub-partition, generating and displaying the first hint information includes:
detecting whether an external storage device is inserted;
if the external storage device is detected to be inserted, detecting whether interface firmware exists in the external storage device or not;
if the interface firmware in the external storage device is detected to exist, updating the interface firmware in the external storage device to the second storage sub-partition;
And if the fact that the interface firmware does not exist in the external storage device is detected, generating and displaying second prompt information, wherein the second prompt information is used for prompting that the interface firmware does not exist in the current external storage device.
Further, if it is detected that the interface firmware exists in the second storage sub-partition, loading the interface firmware from the second storage sub-partition, and after running the interface firmware, the method includes:
detecting whether an external storage device is inserted;
if the external storage device is detected to be inserted, detecting whether the external storage device has interface firmware or not;
and if the interface firmware exists in the external storage device, updating and replacing the interface firmware in the second storage sub-partition with the interface firmware in the external storage device.
Further, the loading the corresponding interface material from the second memory partition according to the running of the program firmware includes:
detecting whether interface materials exist in the second storage partition according to the running of the program firmware;
if the interface material exists in the second storage partition, loading the interface firmware from the second storage partition;
If the fact that the interface material does not exist in the second storage partition is detected, third prompt information is generated and displayed, and the third prompt information is used for reminding that the interface material does not exist in the current display device.
Further, after loading the corresponding interface material from the second memory partition according to the running of the program firmware, the method includes:
detecting whether an external storage device is inserted;
if the insertion of the external storage device is detected, detecting whether an interface material exists in the external storage device;
and if the interface materials in the external storage device are detected to exist, updating and replacing the interface materials in the second storage partition with the interface materials in the external storage device.
In a second aspect, an embodiment of the present application provides a user interface running apparatus for a display device, where the display device includes a memory and a display screen, the memory includes a first storage partition and a second storage partition, the first storage partition is used to store program firmware, the second storage partition is used to store interface materials, and the program firmware and the interface materials are separately stored in the first storage partition and the second storage partition, and the user interface running apparatus includes:
The first loading unit is used for loading program firmware from the first storage partition according to a starting instruction and running the program firmware;
the second loading unit is used for loading corresponding interface materials from the second storage partition according to the running of the program firmware;
and the interface generating unit is used for placing the loaded interface materials at the corresponding positions of the display screen according to the running of the program firmware to generate a user interface.
Further, the first storage partition comprises a first storage sub-partition and a second storage sub-partition;
the first loading unit is further configured to load basic firmware from the first storage sub-partition according to the start instruction, and operate the basic firmware;
and loading interface firmware from the second storage sub-partition according to the operation of the basic firmware, and operating the interface firmware.
Further, the first loading unit is further configured to detect, according to the operation of the base firmware, whether an interface firmware exists in the second storage sub-partition;
if the interface firmware exists in the second storage sub-partition, loading the interface firmware from the second storage sub-partition, and running the interface firmware;
And if the fact that the interface firmware does not exist in the second storage sub-partition is detected, generating and displaying first prompt information, wherein the first prompt information is used for reminding that the interface firmware does not exist in the current display device.
Further, the device also comprises a device access detection unit;
the device access detection unit is used for detecting whether an external storage device is inserted;
if the external storage device is detected to be inserted, detecting whether interface firmware exists in the external storage device or not;
if the interface firmware in the external storage device is detected to exist, updating the interface firmware in the external storage device to the second storage sub-partition;
and if the fact that the interface firmware does not exist in the external storage device is detected, generating and displaying second prompt information, wherein the second prompt information is used for prompting that the interface firmware does not exist in the current external storage device.
Further, the device access detection unit is further configured to detect whether an external storage device is inserted;
if the external storage device is detected to be inserted, detecting whether the external storage device has interface firmware or not;
and if the interface firmware exists in the external storage device, updating and replacing the interface firmware in the second storage sub-partition with the interface firmware in the external storage device.
Further, the second loading unit is further configured to detect whether an interface material exists in the second storage partition according to the running of the program firmware;
if the interface material exists in the second storage partition, loading the interface firmware from the second storage partition;
if the fact that the interface material does not exist in the second storage partition is detected, third prompt information is generated and displayed, and the third prompt information is used for reminding that the interface material does not exist in the current display device.
Further, the device access detection unit is further configured to detect whether an external storage device is inserted;
if the insertion of the external storage device is detected, detecting whether an interface material exists in the external storage device;
and if the interface materials in the external storage device are detected to exist, updating and replacing the interface materials in the second storage partition with the interface materials in the external storage device.
In a third aspect, an embodiment of the present application provides a user interface running device, including:
a memory and one or more processors;
the memory is used for storing one or more programs;
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the user interface operation method as described in the first aspect.
In a fourth aspect, embodiments of the present application provide a storage medium storing computer executable instructions which, when executed by a computer processor, are for performing the user interface operation method of the first aspect.
According to the method, the program firmware and the interface materials are respectively and independently stored in the first storage partition and the second storage partition, the program firmware is loaded from the first storage partition according to the starting instruction and is operated, the corresponding interface materials are loaded from the second storage partition according to the operation of the program firmware, and the loaded interface materials are placed at the corresponding positions of the display screen, so that a user interface is generated. By adopting the technical means, the program firmware and the interface materials can be stored in the independent partition, so that when the system is started, the corresponding program firmware and the corresponding material interfaces can be loaded independently, the loading speed is increased, the problem of slower speed of generating the user interface can be avoided, the speed of generating the user interface can be increased, the speed of generating the user interface is increased based on the speed of the user interface, the time for waiting for the user interface to generate the user interface can be reduced, and the use experience of the user is further improved.
Drawings
FIG. 1 is a flowchart of a method for operating a user interface provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of a memory partition according to an embodiment of the present application;
FIG. 3 is a schematic diagram of a user interface provided by an embodiment of the present application;
FIG. 4 is a flow chart of another method of user interface operation provided by an embodiment of the present application;
FIG. 5 is a schematic structural diagram of a user interface running device according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a user interface running device according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present application more apparent, the following detailed description of specific embodiments thereof is given with reference to the accompanying drawings. It is to be understood that the specific embodiments described herein are merely illustrative of the application and not limiting thereof. It should be further noted that, for convenience of description, only some, but not all of the matters related to the present application are shown in the accompanying drawings. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart depicts operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently, or at the same time. Furthermore, the order of the operations may be rearranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figures. The processes may correspond to methods, functions, procedures, subroutines, and the like.
In the existing operation mode of the user interface, the interface material and the program are compiled together to generate an interface firmware, and the interface firmware is burnt into a memory of the corresponding display device. After the display device is powered on, the interface firmware is loaded into the synchronous dynamic random access memory in the microprocessor, and the interface firmware is operated, so that a corresponding user interface is generated. The method for compiling the interface materials and the programs together is based on more interface materials, so that the interface firmware generated by compiling is larger, the loading time of the interface firmware is longer, the speed of generating a user interface is slower, and the use experience of a user is affected. And when the program needs to be updated, the whole interface firmware needs to be updated, the update package is large, the update time is long, and the product update efficiency is low. In addition, when the interface material needs to be changed, the interface material and the program must be recompiled to generate the interface firmware, so that the time consumption is long, and the product upgrading efficiency is low.
The user interface operation method and the device provided by the application aim at generating the user interface, and the program firmware and the interface material are stored in the independent partition mode, so that the corresponding program firmware and the material interface can be loaded independently respectively during starting, the loading speed is increased, the problem that the user interface is slower to generate is avoided, the loading speed is increased, the user interface generating speed is increased based on the user interface speed, the time for waiting for the user interface to generate is shortened, and the user experience is improved. Compared with the traditional method for generating the user interface, the method for compiling the interface materials and the programs together is generally based on more interface materials, so that the interface firmware generated by compiling is larger, the loading time of the interface firmware is longer, the speed of generating the user interface is slower, and the user experience is affected. And when the program needs to be updated, the whole interface firmware needs to be updated, the update package is large, the update time is long, and the product update efficiency is low. In addition, when the interface material needs to be changed, the interface material and the program must be recompiled to generate the interface firmware, so that the time consumption is long, and the product upgrading efficiency is low. Based on the above, the user interface operation method of the embodiment of the application is provided to solve the problems of low speed of generating the user interface and long time consumption of firmware upgrading in the prior art.
Fig. 1 shows a flowchart of a user interface operation method provided in the embodiment of the present application, where the user interface operation method provided in the embodiment may be performed by a user interface operation device, and the user interface operation device may be implemented by using software and/or hardware, and the user interface operation device may be configured by using two or more physical entities or one physical entity. In general, the user interface running device may be a terminal device, such as a computer device or the like.
The following description will take a computer device as an example of a main body for executing the user interface operation method. The user interface operation method is used for a display device, and the display device can be understood as a device for displaying a human-computer interaction user interface. The display device may be coupled to a computer device that may display a display screen, such as a serial display screen, presented for viewing by a user. The display device comprises a memory and a display screen, and the display device should further comprise a memory (internal memory), wherein the memory is arranged in a chip of the display device, and the memory is an external memory. The memory is different from the memory, and the memory is arranged outside the chip of the display device. The memory may be an optical disc or a flash memory, etc. If the program firmware and the interface material are placed in the memory, the operation load of the display device is increased, and in order to reduce the operation load of the display device and increase the operation speed, the program firmware and the interface material are stored in the (external) memory. In order to further reduce the operation burden and improve the loading speed of the user interface during operation, the memory is partitioned, and different contents are stored independently for different partitions. Fig. 2 is a schematic diagram of a memory partition provided in an embodiment of the present application, and referring to fig. 2, the memory includes a first memory partition and a second memory partition, where the first memory partition and the second memory partition are independent from each other, and content upgrades and writing/writing operations of the first memory partition and the second memory partition are independent from each other. The first storage partition is used for storing program firmware, and the second storage partition is used for storing interface materials. The program firmware and the interface material are respectively and independently stored in the first storage partition and the second storage partition, and are mutually independent based on the first storage partition and the second storage partition, so that the upgrading or writing and writing out processing of the program firmware arranged in the first storage partition is completely independent of the upgrading or writing and writing out processing of the interface material arranged in the second storage partition, and the upgrading or writing and writing out processing of the program firmware arranged in the first storage partition is not mutually influenced.
Program firmware may be understood as a driver written in memory, then both base firmware and interface firmware are needed at the time of starting the user interface. The base firmware may be other program firmware besides the boot user interface, such as factory firmware, including a boot loader, a device tree, environment variables, a kernel, and the like. The interface firmware is a driver that initiates the user interface. Referring to fig. 2, a first memory partition 10 in a memory 1 includes a first memory sub-partition 101 and a second memory sub-partition 102. The first storage sub-partition 101 and the second storage sub-partition 102 are mutually independent, and the content upgrading and writing of the first storage sub-partition 101 and the second storage sub-partition 102 are mutually independent. The first storage sub-partition 101 is used to store the base firmware and the second storage sub-partition 102 is used to store the interface firmware. The base firmware and the interface firmware are respectively and independently stored in the first storage sub-partition 101 and the second storage sub-partition 102, and are based on mutual independence between the first storage sub-partition 101 and the second storage sub-partition 102, so that the upgrading or writing and writing out processing of the base firmware placed in the first storage sub-partition 101 is completely independent from the upgrading or writing and writing out processing of the interface firmware placed in the second storage sub-partition 102, and the upgrading or writing and writing out processing of the interface firmware placed in the second storage sub-partition 102 is not mutually influenced.
Referring to fig. 1 and 2, the user interface operation method specifically includes:
s101, loading program firmware from the first storage partition according to a starting instruction, and running the program firmware.
The starting instruction is an instruction for triggering the program firmware to start, and can be generated according to a control signal input by a user or automatically generated after power-on. And loading the basic firmware into the synchronous dynamic random access memory from the first storage sub-partition 101 according to control information input by a user or a starting instruction generated by automatic triggering after power-on so as to run the basic firmware.
It should be noted that, if the first storage sub-partition 101 does not have the corresponding basic firmware, the power-on operation cannot be performed, and the corresponding prompt information is popped up to remind the user to write in the basic firmware.
After the basic firmware is run, the running step of starting the user interface is automatically entered. Based on the running of the base firmware, it is detected whether the interface firmware is present in the second storage sub-partition 102. If it is detected that the interface firmware exists in the second storage sub-partition 102, the interface firmware is loaded into the synchronous dynamic random access memory from the second storage sub-partition 102, and the interface firmware is operated. If it is detected that the interface firmware does not exist in the second storage sub-partition 102, generating and displaying first prompt information, where the first prompt information is used to remind that the interface firmware does not exist in the current display device. For example, the first prompt message is "no query interface program" to remind the user to perform the corresponding query or write operation.
The display device is provided with an external storage device interface, and the external storage device comprises a USB flash disk or an SD card and the like, and the display device is provided with the USB flash disk interface and the SD card interface. When the USB flash disk or the SD card is inserted into the corresponding USB flash disk interface or the corresponding SD card interface, the display device can read the content information stored in the USB flash disk or the corresponding SD card through the USB flash disk interface or the corresponding SD card interface. When it is detected that no interface firmware is present in the second storage sub-partition 102, the display device will always detect whether an external storage device is inserted. And detecting whether interface firmware exists in the external storage device or not until the display device detects that the external storage device is inserted. If the interface firmware exists in the external storage device, updating the interface firmware in the external storage device to the second storage sub-partition 102 to realize replacement updating. After the updating is completed, the corresponding flag bit is set for the interface firmware in the corresponding second storage sub-partition 102. After the display device detects the flag bit in the second storage sub-partition 102, the display device loads interface firmware from the second storage sub-partition 102 into the synchronous dynamic random access memory, and operates the interface firmware. If the fact that the interface firmware does not exist in the external storage device is detected, generating and displaying second prompt information, wherein the second prompt information is used for prompting that the interface firmware does not exist in the current external storage device. For example, the second hint information may be expressed as "no interface firmware is identified in the usb disk".
When the USB flash disk or the SD card is inserted into the corresponding USB flash disk interface or the SD card interface, the display device detects whether the interface firmware exists in the inserted USB flash disk or SD card, and can judge whether the interface firmware exists by identifying whether the interface firmware exists corresponding to the specific identification code. If the display device detects that the interface firmware exists in the inserted USB flash disk or the SD card, the interface firmware in the inserted USB flash disk or the SD card is copied to the second storage sub-partition 102. After the copying is completed, the corresponding flag bit is set for the interface firmware in the corresponding second storage sub-partition 102. After the display device detects the flag bit in the second storage sub-partition 102, the interface firmware is loaded from the second storage sub-partition 102 into the synchronous dynamic random access memory, and the interface firmware is operated.
After running the base firmware, the display device will always detect if an external storage device is inserted. If the external storage device is detected to be inserted, whether basic firmware or interface firmware exists in the external storage device is detected, if the basic firmware or the interface firmware exists, based on the fact that the basic firmware and the interface firmware in the external storage device are both the latest firmware, the basic firmware in the external storage device is copied to the first storage sub-partition 101 to replace the original basic firmware, or the interface firmware in the external storage device is copied to the second storage sub-partition 102 to replace the original interface firmware. It should be noted that, when the interface firmware is not present in the second storage sub-partition 102, and when the interface firmware is detected in the external storage device, the interface firmware in the external storage device is copied to the second storage sub-partition 102. By independently storing the basic firmware and the interface firmware in the first storage sub-partition 101 and the second storage sub-partition 102, when the basic firmware or the interface firmware is upgraded by the external storage device, the basic firmware stored in the first storage sub-partition 101 or the interface firmware stored in the second storage sub-partition 102 can be upgraded independently, so that the upgrade operation efficiency can be improved, the upgrade time can be saved, and the user experience can be improved.
In addition, by separately storing the base firmware and the interface firmware in the first storage sub-partition 101 and the second storage sub-partition 102, and subdividing the program firmware into the base firmware and the interface firmware, when the operation is started later, the base firmware can be loaded from the corresponding first storage sub-partition 101 and the interface firmware can be loaded from the second storage sub-partition 102, compared with the existing mode of storing the program firmware in a centralized manner, the partition storage and the independent loading mode provided by the embodiment are based on the independent loading firmware which is smaller, so that the loading speed is faster, the overall operation speed is improved, and the operation work efficiency is improved.
S102, loading corresponding interface materials from the second storage partition according to the running of the program firmware.
The interface material is the material needed for generating the user interface, such as pictures, icons, audio and video, and the like. The material can be compiled and stored in the program firmware together with the program firmware, and can also be stored in the form of files. The scheme provided in this embodiment is that the interface material exists in the form of a file in the second storage partition 11. The interface firmware is loaded from the second storage sub-partition 102 into the synchronous dynamic random access memory, and after the interface firmware is operated, the display requirement can be obtained according to the operation of the interface firmware, and the corresponding interface material is loaded from the second storage partition 11 according to the display requirement. Each interface material is provided with a corresponding address identifier or ID identifier, and the interface material corresponding to the address identifier or ID identifier is loaded according to the rule compiled by the program of the interface firmware.
In an embodiment, after the interface firmware is executed from the loading interface firmware in the second storage sub-partition 102 to the synchronous dynamic random access memory, the corresponding interface material is loaded from the second storage partition 11 according to the display requirement according to the execution of the interface firmware, so that it is necessary to detect whether the interface material exists in the second storage partition 11. If it is detected that the interface material exists in the second storage partition 11, the interface material with the corresponding address identifier or ID identifier is loaded from the second storage partition 11. If the interface material exists in the second storage partition 11, the interface material is defaulted to be the latest interface material. If no interface material exists in the second storage partition 11, third prompt information is generated and displayed, wherein the third prompt information is used for reminding that no interface material exists in the current display device. The third hint information is, for example, "no interface material currently exists".
In an embodiment, when it is detected that no interface material is present in the second memory partition 11, the display device always detects whether an external memory device is inserted. And detecting whether the interface material exists in the external storage device or not until the display device detects that the external storage device is inserted. If the interface materials exist in the external storage device, the interface materials in the external storage device are updated to the second storage partition 11, and replacement updating is achieved. For example, when a usb disk or an SD card is inserted into a corresponding usb disk interface or SD card interface, the display device detects whether an interface material exists in the inserted usb disk or SD card, and may determine whether an interface material (file) exists by identifying whether an identification code specific to the interface material exists. If the display device detects that the interface material exists in the inserted USB flash disk or SD card, the interface material (file) in the inserted USB flash disk or SD card is copied into the second storage partition 11.
By independently storing the interface materials in the second storage partition 11 in the form of files, only the program firmware needs to be compiled when the program is compiled, so that the generated program firmware is relatively smaller, the speed is higher when the program firmware or the interface materials are loaded, the speed of generating a user interface is improved, and the user experience is improved. In addition, the interface materials are independently stored in a file form, so that when the interface materials are changed, a firmware program is not required to be compiled again, only the interface materials in the second independently stored storage partition 11 are required to be changed, and the efficiency of developing and debugging the user interface is improved.
S103, according to the running of the program firmware, the loaded interface materials are placed at the corresponding positions of the display screen, and a user interface is generated.
The user interface is the medium for interaction and exchange of information between the system and the user, which enables conversion between the internal form of the information and the human acceptable form. A user interface may be understood as an interface that is displayed for viewing by a user. After loading the corresponding interface material from the second memory partition 11 according to the operation of the interface program, a step of generating a user interface is entered. When the interface firmware operates, the loaded interface materials are placed at the corresponding positions of the display screen for display according to the rule compiled by the program of the interface firmware, and a user interface is generated.
Fig. 3 is a schematic diagram of a user interface provided in the embodiment of the present application, referring to fig. 3, according to rules compiled by a program of interface firmware, a loaded interface material is placed at a position corresponding to a display screen for display, for example, interface material a is placed at position a, interface material B is placed at position B, interface material C is placed at position C, and so on.
Fig. 4 is a flowchart of another user interface operation method provided in an embodiment of the present application, and referring to fig. 4, the user interface operation method specifically includes: s201, powering up. After the display device is powered on, operation of the user interface is started. S202, loading basic firmware. The display device loads the base firmware from the first memory sub-partition 101 in the first memory partition 10 into the synchronous dynamic random access memory for operation. S203, whether interface firmware exists. Based on the running of the base firmware, it is determined whether the interface firmware is present in the second storage sub-partition 102 in the first storage partition 10. If there is interface firmware in the second storage sub-partition 102, step S204 is performed. If the second storage sub-partition 102 does not have the interface firmware, the user interface cannot be generated, and the subsequent step S205 needs to be performed after waiting until the second storage sub-partition 102 has the interface firmware. If the interface firmware does not exist in the second storage sub-partition 102, step S204 is performed to update the interface firmware into the second storage sub-partition 102. S204, updating interface firmware. The display device generates and displays a prompt message to alert the user to the absence of interface firmware in the second storage sub-partition 102 and the display device will always detect whether an external storage device is accessed. When the display device detects that the external storage device is accessed, for example, a usb disk or an SD card is accessed, the display device copies and updates the interface firmware stored in the external storage device into the second storage sub-partition 102. S205, loading interface firmware. According to the operation of the basic firmware, and when the existence of the interface firmware in the second storage sub-partition 102 is detected, the interface firmware is loaded from the second storage sub-partition 102 to the synchronous dynamic random access memory for operation. S206, loading interface materials. According to the operation of the interface firmware, corresponding interface materials are loaded from the first memory partition 10 according to the program compiling rule of the interface firmware. S207, generating a user interface. When the interface firmware operates, the loaded interface materials are placed at the corresponding positions of the display screen for display according to the rule compiled by the program of the interface firmware, and a user interface is generated. S208, whether the interface operation is finished. If the interface operation has not ended, the operation of steps S206-S207 is continued. If the interface operation is ended, step S209 is executed. S209, ending the operation.
In one embodiment, after the base firmware is run, the display device always detects whether an external storage device is inserted after the base firmware is run. If the external storage device is detected to be inserted, whether basic firmware, interface firmware or interface materials exist in the external storage device is detected, if the basic firmware or the interface firmware exists in the external storage device, based on the fact that the basic firmware and the interface firmware in the external storage device are the latest firmware, the basic firmware in the external storage device is copied to the first storage sub-partition 101 to replace the original basic firmware, or the interface firmware in the external storage device is copied to the second storage sub-partition 102 to replace the original interface firmware. It should be noted that, when the interface firmware is not present in the second storage sub-partition 102, and when the interface firmware is detected in the external storage device, the interface firmware in the external storage device is copied to the second storage sub-partition 102. If the external memory 1 has the interface material, based on the default that the interface material in the external memory device is the latest interface material, the interface material in the external memory device is copied to the second memory partition 11 to replace the original interface material. When the interface material does not exist in the second storage partition 11 and the interface material is detected in the external storage device, the interface material in the external storage device is copied to the second storage partition 11. By independently storing the basic firmware and the interface firmware in the first storage sub-partition 101 and the second storage sub-partition 102, when the basic firmware or the interface firmware is upgraded by the external storage device, the basic firmware stored in the first storage sub-partition 101 or the interface firmware stored in the second storage sub-partition 102 can be upgraded independently, so that the upgrade operation efficiency can be improved, the upgrade time can be saved, and the user experience can be improved. By independently storing the interface materials in the second storage partition 11, when the interface materials are changed through the external storage device, the interface materials stored in the second storage partition 11 can be independently changed without recompiling program firmware, so that the upgrade operation efficiency is improved, the upgrade time is saved, and the development and debugging efficiency is further improved.
By storing the interface firmware and the interface materials in an independent partition mode and storing the interface materials in a file mode, the interface firmware is compiled without adding the interface materials for compiling together, the generated interface firmware is relatively small, and therefore when the interface firmware is compiled, the program loading time is shortened, the starting-up speed is improved, and the user experience is improved. In addition, when upgrading, the program firmware can be independently upgraded or the interface material can be independently changed, so that the upgrading efficiency is improved, and only the program firmware can be updated or only the interface material can be changed according to the requirement, so that unnecessary upgrading is reduced, the resource consumption is reduced, and the energy efficiency is improved.
And loading the corresponding interface materials from the second storage partition according to the operation of the program firmware, and placing the loaded interface materials at the corresponding positions of the display screen to generate the user interface. By adopting the technical means, the program firmware and the interface materials can be stored in the independent partition, so that when the system is started, the corresponding program firmware and the corresponding material interfaces can be loaded independently, the loading speed is increased, the speed of generating the user interface can be increased based on the increase of the loading speed, and the generation speed is increased based on the speed of the user interface, thereby reducing the time for a user to wait for the generation of the user interface and further improving the use experience of the user.
On the basis of the above embodiments, fig. 5 is a schematic structural diagram of a user interface operation device according to an embodiment of the present application. Referring to fig. 5, the user interface running apparatus provided in this embodiment is used for a display device, where the display device includes a memory and a display screen, the memory includes a first storage partition and a second storage partition, the first storage partition is used for storing program firmware, the second storage partition is used for storing interface materials, and the program firmware and the interface materials are respectively and independently stored in the first storage partition and the second storage partition, and the user interface running apparatus specifically includes: a first loading unit 21, a second loading unit 22 and an interface generating unit 23.
Wherein, the first loading unit 21 is configured to load program firmware from the first memory partition according to a start instruction, and run the program firmware;
a second loading unit 22, configured to load corresponding interface materials from the second memory partition according to the running of the program firmware;
and the interface generating unit 23 is configured to place the loaded interface material at a position corresponding to the display screen according to the running of the program firmware, and generate a user interface.
Further, the first storage partition comprises a first storage sub-partition and a second storage sub-partition;
the first loading unit 21 is further configured to load basic firmware from the first storage sub-partition according to the start instruction, and run the basic firmware;
and loading interface firmware from the second storage sub-partition according to the operation of the basic firmware, and operating the interface firmware.
Further, the first loading unit 21 is further configured to detect whether an interface firmware exists in the second storage sub-partition according to the running of the base firmware;
if the interface firmware exists in the second storage sub-partition, loading the interface firmware from the second storage sub-partition, and running the interface firmware;
and if the fact that the interface firmware does not exist in the second storage sub-partition is detected, generating and displaying first prompt information, wherein the first prompt information is used for reminding that the interface firmware does not exist in the current display device.
Further, the device also comprises a device access detection unit;
the device access detection unit is used for detecting whether an external storage device is inserted;
if the external storage device is detected to be inserted, detecting whether interface firmware exists in the external storage device or not;
If the interface firmware in the external storage device is detected to exist, updating the interface firmware in the external storage device to the second storage sub-partition;
and if the fact that the interface firmware does not exist in the external storage device is detected, generating and displaying second prompt information, wherein the second prompt information is used for prompting that the interface firmware does not exist in the current external storage device.
Further, the device access detection unit is further configured to detect whether an external storage device is inserted;
if the external storage device is detected to be inserted, detecting whether the external storage device has interface firmware or not;
and if the interface firmware exists in the external storage device, updating and replacing the interface firmware in the second storage sub-partition with the interface firmware in the external storage device.
Further, the second loading unit 22 is further configured to detect whether an interface material exists in the second storage partition according to the running of the program firmware;
if the interface material exists in the second storage partition, loading the interface firmware from the second storage partition;
if the fact that the interface material does not exist in the second storage partition is detected, third prompt information is generated and displayed, and the third prompt information is used for reminding that the interface material does not exist in the current display device.
Further, the device access detection unit is further configured to detect whether an external storage device is inserted;
if the insertion of the external storage device is detected, detecting whether an interface material exists in the external storage device;
and if the interface materials in the external storage device are detected to exist, updating and replacing the interface materials in the second storage partition with the interface materials in the external storage device.
And loading the corresponding interface materials from the second storage partition according to the operation of the program firmware, and placing the loaded interface materials at the corresponding positions of the display screen to generate the user interface. By adopting the technical means, the program firmware and the interface materials can be stored in the independent partition, so that when the system is started, the corresponding program firmware and the corresponding material interfaces can be loaded independently, the loading speed is increased, the speed of generating the user interface can be increased based on the increase of the loading speed, and the generation speed is increased based on the speed of the user interface, thereby reducing the time for a user to wait for the generation of the user interface and further improving the use experience of the user.
The user interface operation device provided by the embodiment of the application can be used for executing the user interface operation method provided by the embodiment, and has corresponding functions and beneficial effects.
An embodiment of the present application provides a user interface operation device, referring to fig. 6, including: processor 31, memory 32, communication module 33, input device 34 and output device 35. The number of processors in the user interface running device may be one or more and the number of memories in the user interface running device may be one or more. The processor, memory, communication module, input device, and output device of the user interface running device may be connected by a bus or other means.
The memory 32 is used as a computer readable storage medium for storing a software program, a computer executable program, and modules, and is used for storing program instructions/modules (e.g., a first loading unit, a second loading unit, and an interface generating unit in a user interface running device) corresponding to the user interface running method according to any embodiment of the present application. The memory may mainly include a memory program area and a memory data area, wherein the memory program area may store an operating system, at least one application program required for a function; the storage data area may store data created according to the use of the device, etc. In addition, the memory may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid-state storage device. In some examples, the memory may further include memory remotely located with respect to the processor, the remote memory being connectable to the device through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The communication module 33 is used for data transmission.
The processor 31 executes various functional applications of the device and data processing by executing software programs, instructions and modules stored in the memory, i.e., implements the user interface operation method described above.
The input means 34 may be used to receive entered numeric or character information and to generate key signal inputs related to user settings and function control of the device. The output means 35 may comprise a display device such as a display screen.
The user interface operation device provided by the embodiment can be used for executing the user interface operation method provided by the embodiment, and has corresponding functions and beneficial effects.
The present embodiments also provide a storage medium storing computer-executable instructions that when executed by a computer processor are for performing a user interface operation method comprising: loading program firmware from the first storage partition according to a starting instruction, and running the program firmware; loading corresponding interface materials from the second storage partition according to the running of the program firmware; and according to the running of the program firmware, placing the loaded interface material at a position corresponding to the display screen, and generating a user interface.
Storage media-any of various types of memory devices or storage devices. The term "storage medium" is intended to include: mounting media such as CD-ROM, floppy disk or tape devices; computer system memory or random access memory such as DRAM, DDR RAM, SRAM, EDO RAM, lanbas (Rambus) RAM, etc.; nonvolatile memory such as flash memory, magnetic media (e.g., hard disk or optical storage); registers or other similar types of memory elements, etc. The storage medium may also include other types of memory or combinations thereof. In addition, the storage medium may be located in a first computer system in which the program is executed, or may be located in a second, different computer system connected to the first computer system through a network such as the internet. The second computer system may provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media residing in different locations (e.g., in different computer systems connected by a network). The storage medium may store program instructions (e.g., embodied as a computer program) executable by one or more processors.
Of course, the storage medium storing the computer executable instructions provided in the embodiments of the present application is not limited to the user interface operation method described above, and may also perform the relevant operations in the user interface operation method provided in any embodiment of the present application.
The user interface operation device, the storage medium and the user interface operation equipment provided in the foregoing embodiments may perform the user interface operation method provided in any embodiment of the present application, and technical details not described in detail in the foregoing embodiments may be referred to the user interface operation method provided in any embodiment of the present application.
The foregoing description is only of the preferred embodiments of the present application and the technical principles employed. The present application is not limited to the specific embodiments described herein, but is capable of numerous obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the present application. Therefore, while the present application has been described in connection with the above embodiments, the present application is not limited to the above embodiments, but may include many other equivalent embodiments without departing from the spirit of the present application, and the scope of the present application is determined by the scope of the claims.

Claims (10)

1. A user interface operation method for a display device, wherein the display device includes a memory and a display screen, the memory includes a first storage partition and a second storage partition, the first storage partition is used for storing program firmware, the second storage partition is used for storing interface materials, the program firmware and the interface materials are respectively and independently stored in the first storage partition and the second storage partition, the user interface operation method includes:
loading program firmware from the first storage partition according to a starting instruction, and running the program firmware;
loading corresponding interface materials from the second storage partition according to the running of the program firmware;
and according to the running of the program firmware, placing the loaded interface material at a position corresponding to the display screen, and generating a user interface.
2. The method of claim 1, wherein the first storage partition comprises a first storage sub-partition and a second storage sub-partition;
the loading the program firmware from the first storage partition according to the starting instruction and running the program firmware comprises the following steps:
loading basic firmware from the first storage sub-partition according to the starting instruction, and running the basic firmware;
And loading interface firmware from the second storage sub-partition according to the operation of the basic firmware, and operating the interface firmware.
3. The method of claim 2, wherein said loading interface firmware from said second storage sub-partition and running said interface firmware according to said running of said base firmware comprises:
detecting whether interface firmware exists in the second storage sub-partition according to the operation of the basic firmware;
if the interface firmware exists in the second storage sub-partition, loading the interface firmware from the second storage sub-partition, and running the interface firmware;
and if the fact that the interface firmware does not exist in the second storage sub-partition is detected, generating and displaying first prompt information, wherein the first prompt information is used for reminding that the interface firmware does not exist in the current display device.
4. The method of claim 3, wherein after generating and displaying the first hint information if it is detected that the interface firmware is not present in the second storage sub-partition, comprising:
detecting whether an external storage device is inserted;
if the external storage device is detected to be inserted, detecting whether interface firmware exists in the external storage device or not;
If the interface firmware in the external storage device is detected to exist, updating the interface firmware in the external storage device to the second storage sub-partition;
and if the fact that the interface firmware does not exist in the external storage device is detected, generating and displaying second prompt information, wherein the second prompt information is used for prompting that the interface firmware does not exist in the current external storage device.
5. The method of claim 3, wherein, if the presence of the interface firmware in the second storage sub-partition is detected, loading the interface firmware from the second storage sub-partition and running the interface firmware comprises:
detecting whether an external storage device is inserted;
if the external storage device is detected to be inserted, detecting whether the external storage device has interface firmware or not;
and if the interface firmware exists in the external storage device, updating and replacing the interface firmware in the second storage sub-partition with the interface firmware in the external storage device.
6. The method of claim 1, wherein loading the corresponding interface material from the second memory partition according to the execution of the program firmware comprises:
Detecting whether interface materials exist in the second storage partition according to the running of the program firmware;
if the interface material exists in the second storage partition, loading the interface firmware from the second storage partition;
if the fact that the interface material does not exist in the second storage partition is detected, third prompt information is generated and displayed, and the third prompt information is used for reminding that the interface material does not exist in the current display device.
7. The method of claim 1, wherein after loading the corresponding interface material from the second memory partition according to the running of the program firmware, comprising:
detecting whether an external storage device is inserted;
if the insertion of the external storage device is detected, detecting whether an interface material exists in the external storage device;
and if the interface materials in the external storage device are detected to exist, updating and replacing the interface materials in the second storage partition with the interface materials in the external storage device.
8. A user interface running apparatus for a display device, wherein the display device includes a memory and a display screen, the memory includes a first memory partition and a second memory partition, the first memory partition is used for storing program firmware, the second memory partition is used for storing interface materials, the program firmware and the interface materials are respectively and independently stored in the first memory partition and the second memory partition, the user interface running apparatus includes:
The first loading unit is used for loading program firmware from the first storage partition according to a starting instruction and running the program firmware;
the second loading unit is used for loading corresponding interface materials from the second storage partition according to the running of the program firmware;
and the interface generating unit is used for placing the loaded interface materials at the corresponding positions of the display screen according to the running of the program firmware to generate a user interface.
9. A user interface running apparatus, comprising:
a memory and one or more processors;
the memory is used for storing one or more programs;
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-7.
10. A storage medium storing computer executable instructions which, when executed by a processor, are adapted to carry out the method of any one of claims 1 to 7.
CN202310250385.6A 2023-03-14 2023-03-14 User interface operation method, device, equipment and storage medium Pending CN116467021A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310250385.6A CN116467021A (en) 2023-03-14 2023-03-14 User interface operation method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310250385.6A CN116467021A (en) 2023-03-14 2023-03-14 User interface operation method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116467021A true CN116467021A (en) 2023-07-21

Family

ID=87183264

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310250385.6A Pending CN116467021A (en) 2023-03-14 2023-03-14 User interface operation method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116467021A (en)

Similar Documents

Publication Publication Date Title
US11803451B2 (en) Application exception recovery
CN101770384B (en) Car audio system software upgrading method
TWI581188B (en) The way to load the driver and the embedded device
CN110032403B (en) Memory device and start program loading method of electronic device
US7246346B2 (en) System and method for persisting dynamically generated code in a directly addressable and executable storage medium
US20150186161A1 (en) Platform system, method for changing support hardware configuration of universal extensible firmware interface basic input output system and computer program product
TW201502764A (en) Specialized boot path for speeding up resume from sleep state
KR101555210B1 (en) Apparatus and method for downloadin contents using movinand in portable terminal
US20080114923A1 (en) Apparatus and method for controlling operation processing in nonvolatile memory
EP4345611A1 (en) Bootloader loading method, apparatus and system, electronic device and medium
CN111989656A (en) Configurable recovery state
CN110874237A (en) Software upgrading method, device, terminal and readable storage medium
CN101872306B (en) Embedded system for realizing software updating and software backup and implementation method thereof
CN116737244A (en) Method and device for starting multiple hardware domains of chip
CN109426511B (en) Soft core updating method and system
US6925522B2 (en) Device and method capable of changing codes of micro-controller
US9223697B2 (en) Computer reprogramming method, data storage medium and motor vehicle computer
CN116467021A (en) User interface operation method, device, equipment and storage medium
CN110515665B (en) Starting method, system and device of processor system
KR20100050098A (en) Image processing apparatus and control method thereof
CN111868698A (en) Free space direct connection
JP4735765B2 (en) Linux program startup system
KR101420026B1 (en) A method, apparatus and computer program for loading files during a boot-up process
CN113590224B (en) Method and device for detecting server, electronic equipment and storage medium
CN114020340B (en) Server system and data processing method thereof

Legal Events

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