CN111273947A - Method and electronic device for optimizing user interface waiting time - Google Patents

Method and electronic device for optimizing user interface waiting time Download PDF

Info

Publication number
CN111273947A
CN111273947A CN201811482121.9A CN201811482121A CN111273947A CN 111273947 A CN111273947 A CN 111273947A CN 201811482121 A CN201811482121 A CN 201811482121A CN 111273947 A CN111273947 A CN 111273947A
Authority
CN
China
Prior art keywords
module
page
setup
restart
current
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.)
Granted
Application number
CN201811482121.9A
Other languages
Chinese (zh)
Other versions
CN111273947B (en
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.)
Ambit Microsystems Shanghai Ltd
Original Assignee
Ambit Microsystems Shanghai 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 Ambit Microsystems Shanghai Ltd filed Critical Ambit Microsystems Shanghai Ltd
Priority to CN201811482121.9A priority Critical patent/CN111273947B/en
Publication of CN111273947A publication Critical patent/CN111273947A/en
Application granted granted Critical
Publication of CN111273947B publication Critical patent/CN111273947B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/4401Bootstrapping
    • G06F9/4406Loading of operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/14Error detection or correction of the data by redundancy in operation
    • G06F11/1402Saving, restoring, recovering or retrying
    • G06F11/1415Saving, restoring, recovering or retrying at system level
    • G06F11/1438Restarting or rejuvenating
    • 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
    • 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)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

A method for optimizing the waiting time of user interface features that the software module is restarted in the time set by user. The procedure for processing the UI is extracted to be an independent software module, and the software module is subdivided into a plurality of sub-modules. After each page is modified and set, the software submodules to be restarted are divided into two groups, one group is required to be finished before resetting, and the other group can be finished before the next resetting and restarting. The invention also provides an electronic device, which can effectively shorten the waiting time of the user for operating the UI without shortening the time required by restarting the software module.

Description

Method and electronic device for optimizing user interface waiting time
Technical Field
The present invention relates to the field of user interface technologies, and in particular, to a method for optimizing user interface latency and an electronic device using the same.
Background
Some settings of existing products such as Wi-Fi routers and Customer Premise Equipment (CPE) require a related software module to be restarted to be effective. However, when the User finishes a certain setting and starts (Apply), a progress bar appears on a User Interface (UI), and the UI can be operated again to perform the next setting after the setting value becomes effective and the system is stable, which often takes tens of seconds to complete the process. If multiple settings need to be modified, a lot of time is required, the user hardly receives a long wait and complains about poor product design.
Disclosure of Invention
In view of the foregoing, there is a need for a method for optimizing the waiting time of a user interface and an electronic device using the same, which can effectively reduce the waiting time of a user to solve the problem of long waiting time of the user complaints.
The embodiment of the invention provides a method for optimizing user interface waiting time, which is applied to an electronic device and is characterized by comprising the following steps: performing a preprocessing operation to divide at least one processing module into a processing module, at least a first master module M1 and a second master module M2, and at least a first secondary module S1 and a second secondary module S2, wherein the first master module M1 and the first secondary module S1 correspond to a previous set page, and the second master module M2 and the second secondary module S2 correspond to a current set page; modifying the second user setting of the second main module M2 and the second sub-module S2 on the current setting page; judging whether the second user setting is correct or not; if the second user setting is correct, determining whether the first secondary module S1 of the previous setting page is restarted; if the restart process of the first secondary module S1 of the previous set page is completed, sending a second progress bar indicating that the waiting time for the restart of the primary module of the current set page is m (i); if the restart process of the first secondary module S1 of the previous set page is not completed, sending out the second progress bar, where the second progress bar displays that the required waiting time is R + m (i); after waiting for the time R, the first module S1 of the previous setup page is restarted and then the second master module M2 of the current setup page is restarted; after waiting for the time M (i), determining whether the second master module M2 of the current setup page is restarted without errors; and if the second master module M2 of the current setup page is not restarted incorrectly, storing the second user setup, modifying the user setup for a next setup page, and executing the second module S2 of the current setup page to restart.
Further, the module restart time is t (i) ═ u (i) + m (i) + s (i), where i denotes an ith setting page, u (i) denotes a time required for checking the setting value, storing the setting value, and processing the UI for the module of the ith setting page, m (i) denotes a time required for the ith master module to complete the restart, and s (i) denotes a time required for the ith slave module to complete the restart.
Further, r (i) -S (i-1) -d (i), S (i-1) represents a remaining time required for the sub-module restart of the previous setting page, d (i) represents an operation time set by the user for modifying the current setting page, and m (i) represents a waiting time for the main module restart of the current setting page.
Further, if r (i) is negative, r (i) is 0.
Further, if the second master module M2 of the current setup page fails to restart, the second user setup is modified again.
The embodiment of the invention also provides an electronic device which comprises a preprocessing module and a UI processing module. The preprocessing module performs a preprocessing operation to divide at least one processing module into at least one first main module M1, at least one second main module M2, at least one first sub module S1 and at least one second sub module S2, wherein the first main module M1 and the first sub module S1 correspond to a previous set page, and the second main module M2 and the second sub module S2 correspond to a current set page.
The UI processing module modifies the second user setting of the second main module M2 and the second sub-module S2 on the current setting page; judging whether the second user setting is correct or not; if the second user setting is correct, determining whether the first secondary module S1 of the previous setting page is restarted; if the restart process of the first secondary module S1 of the previous set page is completed, sending a second progress bar indicating that the waiting time for the restart of the primary module of the current set page is m (i); if the restart process of the first secondary module S1 of the previous set page is not completed, sending out the second progress bar, where the second progress bar displays that the required waiting time is R + m (i); after waiting for the time R, the first module S1 of the previous setup page is restarted and then the second master module M2 of the current setup page is restarted; after waiting for the time M (i), determining whether the second master module M2 of the current setup page is restarted without errors; and if the second master module M2 of the current setup page is not restarted incorrectly, storing the second user setup, modifying the user setup for a next setup page, and executing the second module S2 of the current setup page to restart.
Further, the module restart time is t (i) ═ u (i) + m (i) + s (i), where i denotes an ith setting page, u (i) denotes a time required for checking the setting value, storing the setting value, and processing the UI for the module of the ith setting page, m (i) denotes a time required for the ith master module to complete the restart, and s (i) denotes a time required for the ith slave module to complete the restart.
Further, r (i) -S (i-1) -d (i), S (i-1) represents a remaining time required for the sub-module restart of the previous setting page, d (i) represents an operation time set by the user for modifying the current setting page, and m (i) represents a waiting time for the main module restart of the current setting page.
Further, if r (i) is negative, r (i) is 0.
Further, if the second master module M2 of the current setup page fails to restart, the second user setup is modified again.
The method for optimizing the user interface waiting time and the electronic device using the method do not need to shorten the time required by restarting the software module, and can effectively shorten the waiting time of the user for operating the UI.
Drawings
FIG. 1 is a diagram illustrating an application for optimizing user interface latency according to an embodiment of the present invention.
FIG. 2 is a diagram of a hardware architecture of an electronic device according to an embodiment of the invention.
Fig. 3 is a schematic diagram of a program module of an electronic device according to an embodiment of the invention.
FIG. 4 is a flowchart illustrating the steps of a method for optimizing user interface latency according to an embodiment of the present invention.
FIG. 5 is a diagram illustrating the latency required before and after the method for optimizing the latency of the user interface according to the embodiment of the present invention.
Description of the main Components
Electronic device 20
Memory device 21
Processor with a memory having a plurality of memory cells 22
System for optimizing user interface latency 23
Pretreatment module 31
UI processing module 32
The following detailed description will further illustrate the invention in conjunction with the above-described figures.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the description relating to "first", "second", etc. in the present invention is for descriptive purposes only and is not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In addition, technical solutions between various embodiments may be combined with each other, but must be realized by a person skilled in the art, and when the technical solutions are contradictory or cannot be realized, such a combination should not be considered to exist, and is not within the protection scope of the present invention.
FIG. 1 is a diagram illustrating an application for optimizing user interface latency according to an embodiment of the present invention.
For example, conventionally, a user executes related settings on three software modules on the same user setting Page (Page), and after the setting is applied, the three software modules check whether the user setting is correct, and after the setting is correct, the three software modules are applied and restarted, so that the user setting can be valid, and the whole process execution consumes a lot of time.
After the present invention is used, the three software modules are re-divided into a plurality of independent modules, such as a processing UI module U and a plurality of sub-modules, for example, into 10 sub-modules, which include three main (Master) modules M1-M3 and 7 sub (Slave) modules S4-S7. The processing UI module U is used for checking whether the user setting is correct and storing the user setting. The main module is also called a real-time module and needs to be restarted and completed before entering the next set page setting. The secondary module can be restarted before entering the next setting page and setting is completed.
In addition, the 10 sub-modules are respectively set by different setting pages. For example, the original first module is divided into the main module M1 and the sub-modules S1 to S3, and is set by the first setting page P1; the original second module is divided into a main module M2 and sub-modules S4 and S5, and is set by a second setting page P2; the original third module is divided into a main module M3 and sub modules S6 and S7, and is set by the third setting page P3.
Fig. 2 is a schematic diagram of a hardware architecture of an electronic device 20 according to an embodiment of the invention. The electronic device 20 includes, but is not limited to, a system 23 that communicatively couples the memory 21, the process 22, and the optimized user interface latency to each other via a system bus, and FIG. 2 illustrates only the electronic device 20 with components 21-23, but it is to be understood that not all of the illustrated components are required and that more or fewer components may alternatively be implemented.
The memory 21 includes at least one type of readable storage medium including a flash memory, a hard disk, a multimedia card, a card type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a Read Only Memory (ROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a Programmable Read Only Memory (PROM), a magnetic memory, a magnetic disk, an optical disk, etc. In some embodiments, the storage 21 may be an internal storage unit of the electronic device 20, such as a hard disk or a memory of the electronic device 20. In other embodiments, the memory may also be an external storage device of the electronic apparatus 20, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), or the like, provided on the electronic apparatus 20. Of course, the memory 21 may also include both an internal storage unit and an external storage device of the electronic apparatus 20. In this embodiment, the memory 21 is generally used for storing an operating system and various application software installed in the electronic device 20, such as program codes of the system 23. Further, the memory 21 may also be used to temporarily store various types of data that have been output or are to be output.
The processor 22 may be a Central Processing Unit (CPU), controller, microcontroller, microprocessor, or other data Processing chip in some embodiments. The processor 22 is generally used to control the overall operation of the electronic device 20. In this embodiment, the processor 22 is configured to execute the program codes stored in the memory 21 or process data, such as operating the system 23.
The hardware structure and functions of the related devices of the present invention have been described in detail so far. Various embodiments of the present invention will be presented based on the above description.
Fig. 3 is a schematic diagram of a program module of an electronic device according to an embodiment of the invention.
In this embodiment, the electronic device 20 includes a series of computer program instructions stored on the memory 21, which when executed by the processor 22, implement the operations for optimizing user interface latency of the various embodiments of the present invention. In some embodiments, the electronic device 20 may be divided into one or more modules based on the particular operations implemented by the portions of the computer program instructions. For example, in fig. 3, the electronic device 20 may be divided into a preprocessing module 31 and a UI processing module 32.
In the pre-processing operation, the pre-processing module 31 divides at least one processing module into a processing module and at least one first master module M1 and a second master module M2, and at least one first sub-module S1 and a second sub-module S2. The first master module M1 and the first sub-module S1 correspond to a first setting page, and the second master module M2 and the second sub-module S2 correspond to a second setting page.
The UI processing module 32 performs the following operations:
the second user settings of the second main module M2 and the second sub-module S2 are modified on the current setting page (e.g., the second setting page). Step S403, determining whether the second user setting is correct. If not, go back to step S401 to modify the second user setting again.
If the second user setting is correct, whether the secondary module restarting of the previous setting page (for example, the first setting page) is finished is judged. The module restart time t (i) ═ u (i) + m (i) + s (i) required after the user setting is completed, where i denotes an ith setting page, u (i) denotes a time required for the processing module to check the setting value, store the setting value, and process the UI for the modules of the ith setting page, m (i) denotes a time required for the ith master module to complete the restart, and s (i) denotes a time required for the ith sub-module to complete the restart.
If the secondary module restarting process of the previous set page (e.g., the first set page) is completed, sending a second progress bar, and starting to execute the restart of the master module of the current set page (e.g., the second set page), wherein the progress bar shows that the waiting time of the restart of the master module of the current set page is m (i).
If the secondary module restarting process of the previous set page (for example, the first set page) is not completed, sending the second progress bar, wherein the second progress bar displays that the required waiting time is R + m (i), where R (i) is S (i-1) -d (i), S (i-1) represents the remaining time required by the secondary module restarting of the previous set page, d (i) represents the operation time set by the user modified on the current set page, and m (i) represents the waiting time for the main module restarting of the current set page. If r (i) is negative, r (i) is 0.
After waiting for the time R, the sub-module restart of the previous setup page (e.g., the first setup page) is completed, and then the main module restart of the current setup page (e.g., the second setup page) is performed, and the second progress bar shows that the waiting time for the main module restart of the current setup page (e.g., the second setup page) is m (i).
After waiting for the time M (i), it is checked whether the master module of the current setup page (e.g., the second setup page) is restarted without errors. If the main module of the current setup page (e.g., the second setup page) is restarted and has an error, the process returns to step S401 to modify the second user setup again.
If the main module of the current setup page (e.g., the second setup page) is not restarted incorrectly, and the second user setup is stored, the process returns to step S401, and the user can modify the user setup of the next setup page and execute the sub-module restart of the current setup page (e.g., the second setup page).
FIG. 4 is a flowchart illustrating a method for optimizing user interface latency according to the present invention. The method for optimizing the user interface latency is applied to the electronic device 20. In this embodiment, the execution order of the steps in the flowchart shown in fig. 4 may be changed and some steps may be omitted according to different requirements.
In the pre-processing operation, at least one processing module is divided into at least one first master module M1 and at least one second master module M2, and at least one first secondary module S1 and a second secondary module S2 in step S401. The first master module M1 and the first sub-module S1 correspond to a first setting page, and the second master module M2 and the second sub-module S2 correspond to a second setting page.
In step S402, the second user settings of the second main module M2 and the second sub-module S2 are modified on the current setting page (e.g., the second setting page).
Step S403, determining whether the second user setting is correct. If not, go back to step S401 to modify the second user setting again.
In step S404, if the second user setting is correct, it is determined whether the second module restart of the previous setting page (e.g., the first setting page) is completed. The module restart time t (i) ═ u (i) + m (i) + s (i) required after the user setting is completed, where i denotes an ith setting page, u (i) denotes a time required for the processing module to check the setting value, store the setting value, and process the UI for the modules of the ith setting page, m (i) denotes a time required for the ith master module to complete the restart, and s (i) denotes a time required for the ith sub-module to complete the restart.
In step S405, if the secondary module restart process of the previous setup page (e.g., the first setup page) is completed, a second progress bar is sent out, where the second progress bar shows that the waiting time for the master module to restart on the current setup page is m (i).
Step S406, if the secondary module restarting process of the previous setup page (e.g., the first setup page) is not completed, sending out the second progress bar, where the second progress bar displays that the required waiting time is R + m (i), where R (i) ═ S (i-1) -d (i), S (i-1) represents the remaining time required for the secondary module restarting of the previous setup page, d (i) represents the operation time set by the user on the current setup page, and m (i) represents the waiting time for the main module restarting of the current setup page. If r (i) is negative, r (i) is 0.
In step S407, after waiting for the time R, the sub-module restart of the previous setup page (e.g., the first setup page) is completed, then the main module restart of the current setup page (e.g., the second setup page) is executed, and the second progress bar shows that the waiting time for the main module restart of the current setup page (e.g., the second setup page) is m (i).
Step S408, after waiting for the time m (i), determines whether the master module of the current setup page (e.g., the second setup page) is restarted without error. If the main module of the current setup page (e.g., the second setup page) is restarted and has an error, the process returns to step S401 to modify the second user setup again.
In step S409, if the main module of the current setup page (e.g., the second setup page) is not restarted incorrectly, the user can modify the user settings for the next setup page and execute the sub-module restart of the current setup page (e.g., the second setup page) after storing the second user settings and returning to step S401.
Referring to fig. 5, the user sets two setting pages, which originally needs to wait for U1+ M1+ S1+ U2+ M2+ S2, and after using the method of the present invention, only needs to wait for U1+ M1+ U2+ M2.
The present invention also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack server, a blade server, a tower server or a rack server (including an independent server or a server cluster composed of a plurality of servers) capable of executing programs, and the like. The computer device of the embodiment at least includes but is not limited to: memory, processor, etc. communicatively coupled to each other via a system bus.
The present embodiment also provides a computer-readable storage medium, such as a flash memory, a hard disk, a multimedia card, a card-type memory (e.g., SD or DX memory, etc.), a Random Access Memory (RAM), a Static Random Access Memory (SRAM), a read-only memory (ROM), an electrically erasable programmable read-only memory (EEPROM), a programmable read-only memory (PROM), a magnetic memory, a magnetic disk, an optical disk, a server, an App application mall, etc., on which a computer program is stored, which when executed by a processor implements corresponding functions. The computer readable storage medium of the present embodiment is used for storing an electronic device 20, and when executed by a processor, implements the method for optimizing user interface latency of the present invention.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (10)

1. A method for optimizing user interface latency in an electronic device, comprising:
performing a preprocessing operation to divide at least one processing module into a processing module, at least a first master module M1 and a second master module M2, and at least a first secondary module S1 and a second secondary module S2, wherein the first master module M1 and the first secondary module S1 correspond to a previous set page, and the second master module M2 and the second secondary module S2 correspond to a current set page;
modifying the second user setting of the second main module M2 and the second sub-module S2 on the current setting page;
judging whether the second user setting is correct or not;
if the second user setting is correct, determining whether the first secondary module S1 of the previous setting page is restarted;
if the restart process of the first secondary module S1 of the previous set page is completed, sending a second progress bar indicating that the waiting time for the restart of the primary module of the current set page is m (i);
if the restart process of the first secondary module S1 of the previous set page is not completed, sending out the second progress bar, where the second progress bar displays that the required waiting time is R + m (i);
after waiting for the time R, the first module S1 of the previous setup page is restarted and then the second master module M2 of the current setup page is restarted;
after waiting for the time M (i), determining whether the second master module M2 of the current setup page is restarted without errors; and
if the second master module M2 of the current setup page is not restarted incorrectly, the second user setup is stored, the user setup is modified for a next setup page, and the second module S2 of the current setup page is restarted.
2. The method for optimizing user interface latency of claim 1, wherein the module restart time is t (i) ═ u (i) + m (i) + s (i), wherein i represents the ith setup page, u (i) represents the time required for the module of the ith setup page to check the setup values, store the setup values, and process the UIs, m (i) represents the time required for the ith master module to complete the restart, and s (i) represents the time required for the ith slave module to complete the restart.
3. The method according to claim 1, wherein r (i) is S (i-1) -d (i), S (i-1) represents a remaining time required for the sub-module restart of the previous setup page, d (i) represents an operation time set by the current setup page modification user, and m (i) represents a waiting time for the main module restart of the current setup page.
4. The method of optimizing user interface latency of claim 3, wherein if R (i) is negative, then R (i) is 0.
5. The method for optimizing user interface latency of claim 1, further comprising:
if the second master module M2 of the current setup page is restarted and has an error, the second user setup is revised again.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program when executed by the processor performs the steps of:
performing a preprocessing operation to divide at least one processing module into a processing module, at least a first master module M1 and a second master module M2, and at least a first secondary module S1 and a second secondary module S2, wherein the first master module M1 and the first secondary module S1 correspond to a previous set page, and the second master module M2 and the second secondary module S2 correspond to a current set page;
modifying the second user setting of the second main module M2 and the second sub-module S2 on the current setting page;
judging whether the second user setting is correct or not;
if the second user setting is correct, determining whether the first secondary module S1 of the previous setting page is restarted;
if the restart process of the first secondary module S1 of the previous set page is completed, sending a second progress bar indicating that the waiting time for the restart of the primary module of the current set page is m (i);
if the restart process of the first secondary module S1 of the previous set page is not completed, sending out the second progress bar, where the second progress bar displays that the required waiting time is R + m (i);
after waiting for the time R, the first module S1 of the previous setup page is restarted and then the second master module M2 of the current setup page is restarted;
after waiting for the time M (i), determining whether the second master module M2 of the current setup page is restarted without errors; and
if the second master module M2 of the current setup page is not restarted incorrectly, the second user setup is stored, the user setup is modified for a next setup page, and the second module S2 of the current setup page is restarted.
7. The electronic device according to claim 6, wherein the module restart time is t (i) ═ u (i) + m (i) + s (i), where i represents the ith setting page, u (i) represents the time required for the module in the ith setting page to check the setting value, store the setting value, and process the UI, m (i) represents the time required for the ith master module to complete the restart, and s (i) represents the time required for the ith sub-module to complete the restart.
8. The electronic device according to claim 6, wherein r (i) -S (i-1) -d (i), S (i-1) represents a remaining time required for the sub-module of the previous setup page to restart, d (i) represents an operation time set by the current setup page modification user, and m (i) represents a waiting time for the main module of the current setup page to restart.
9. The electronic device of claim 8, wherein if r (i) is negative, then r (i) is 0.
10. The method of optimizing user interface latency of claim 6, wherein the computer program when executed by the processor further performs the steps of:
if the second master module M2 of the current setup page is restarted and has an error, the second user setup is revised again.
CN201811482121.9A 2018-12-05 2018-12-05 Method for optimizing waiting time of user interface and electronic device Active CN111273947B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811482121.9A CN111273947B (en) 2018-12-05 2018-12-05 Method for optimizing waiting time of user interface and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811482121.9A CN111273947B (en) 2018-12-05 2018-12-05 Method for optimizing waiting time of user interface and electronic device

Publications (2)

Publication Number Publication Date
CN111273947A true CN111273947A (en) 2020-06-12
CN111273947B CN111273947B (en) 2023-06-06

Family

ID=70998531

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811482121.9A Active CN111273947B (en) 2018-12-05 2018-12-05 Method for optimizing waiting time of user interface and electronic device

Country Status (1)

Country Link
CN (1) CN111273947B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102427491A (en) * 2011-10-08 2012-04-25 捷开通讯科技(上海)有限公司 Device and method for automatically reminding user to restart electronic device
US20160216877A1 (en) * 2015-01-23 2016-07-28 Simon Ekstrand Method and device for visually presenting data preloading
CN105824900A (en) * 2016-03-14 2016-08-03 传线网络科技(上海)有限公司 Page display system based on react-native
CN107168963A (en) * 2016-03-07 2017-09-15 阿里巴巴集团控股有限公司 The page loading of client and caching method, system and the client of the page
CN107506483A (en) * 2017-09-15 2017-12-22 广州优视网络科技有限公司 Page loading method, device, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102427491A (en) * 2011-10-08 2012-04-25 捷开通讯科技(上海)有限公司 Device and method for automatically reminding user to restart electronic device
US20160216877A1 (en) * 2015-01-23 2016-07-28 Simon Ekstrand Method and device for visually presenting data preloading
CN107168963A (en) * 2016-03-07 2017-09-15 阿里巴巴集团控股有限公司 The page loading of client and caching method, system and the client of the page
CN105824900A (en) * 2016-03-14 2016-08-03 传线网络科技(上海)有限公司 Page display system based on react-native
CN107506483A (en) * 2017-09-15 2017-12-22 广州优视网络科技有限公司 Page loading method, device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111273947B (en) 2023-06-06

Similar Documents

Publication Publication Date Title
CN109474578B (en) Message checking method, device, computer equipment and storage medium
CN108388515B (en) Test data generation method, device, equipment and computer readable storage medium
CN114048701B (en) Netlist ECO method, device, equipment and readable storage medium
CN107908553B (en) Association testing method, application server and computer readable storage medium
US11301237B2 (en) Upgrading method and apparatus
CN110162344B (en) Isolation current limiting method and device, computer equipment and readable storage medium
CN110928802A (en) Test method, device, equipment and storage medium based on automatic generation of case
CN110633130B (en) Virtual memory management method and device based on memory hot plug technology
CN111414391A (en) Method and system for accessing multiple data sources
CN109885612B (en) Synchronous validation method and device for intelligent contracts of block chains
US9396060B2 (en) Information processing method, information processing device and recording medium
CN111475494A (en) Mass data processing method, system, terminal and storage medium
CN113886590A (en) Data summarizing method and device, computer equipment and storage medium
CN114510536A (en) Data verification method and device, computer equipment and storage medium
CN109657317B (en) CPLD pin allocation method, system and equipment
CN111273947A (en) Method and electronic device for optimizing user interface waiting time
CN116450165A (en) Method, system, terminal and storage medium for quickly building environment and deploying program
CN115934129A (en) Software project updating method and device, computer equipment and storage medium
CN111427582A (en) Management method, device and equipment of RT L code and computer readable storage medium
EP4293603A1 (en) Fixed execution sequence transaction method, and apparatus
CN113342647A (en) Test data generation method and device
CN111736869A (en) Version updating method of server-side interface and calling method of server-side interface
CN111538672A (en) Test case layered test method, computer device and computer-readable storage medium
CN110609988A (en) Form verification method and equipment
CN111651362A (en) Test case generation method and device, storage medium and computer equipment

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
CB02 Change of applicant information

Address after: 201613 No. 1925, Nanle Road, Songjiang Industrial Zone, Songjiang District, Shanghai

Applicant after: Fulian Guoji (Shanghai) Electronics Co.,Ltd.

Address before: 201613 Shanghai Songjiang District Songjiang Export Processing Zone South Le road 1925

Applicant before: Ambit Microsystems (Shanghai) Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant