CN111273947B - Method for optimizing waiting time of user interface and electronic device - Google Patents
Method for optimizing waiting time of user interface and electronic device Download PDFInfo
- Publication number
- CN111273947B CN111273947B CN201811482121.9A CN201811482121A CN111273947B CN 111273947 B CN111273947 B CN 111273947B CN 201811482121 A CN201811482121 A CN 201811482121A CN 111273947 B CN111273947 B CN 111273947B
- Authority
- CN
- China
- Prior art keywords
- module
- page
- setting
- sub
- restart
- 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.)
- Active
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4406—Loading of operating system
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1415—Saving, restoring, recovering or retrying at system level
- G06F11/1438—Restarting or rejuvenating
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Energy 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 user interface waiting time uses user to make set time to execute software module restarting. The procedure of processing the UI is drawn off as an independent software module and the component module is subdivided into several sub-modules. After each page is modified and set, software sub-modules needing to be restarted are divided into two groups, wherein one group is required to be completed before the setting is performed again, and the other group is required to be completed before the next setting is performed again. The invention also provides an electronic device, which can effectively reduce the waiting time of a user operating the UI without reducing the time required for restarting the software module.
Description
Technical Field
The present invention relates to the field of user interfaces, and in particular, to a method for optimizing a waiting time of a user interface and an electronic device using the method.
Background
Some of today's Wi-Fi router, customer premise equipment (Customer Premise Equipment, CPE) and other products settings require restarting the associated software modules to be effective. However, when the User completes a certain setting and activates (Apply), a progress bar appears on the User Interface (UI), and after the setting is validated and the system is stable, the UI can be operated again to perform the next setting, and the process can be completed in tens of seconds. If multiple settings need to be modified, a lot of time is required, the user has difficulty accepting long waiting and complains of bad product design.
Disclosure of Invention
In view of the foregoing, there is a need for a method for optimizing user interface latency and an electronic device using the same that can effectively reduce user latency to address user complaints that are too long.
An embodiment of the present invention provides a method for optimizing a waiting time of a user interface, which is applied to an electronic device, and is characterized by comprising: executing preprocessing operation, dividing at least one processing module into a processing module, 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; modifying a 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; if the second user setting is correct, judging whether the restarting of the first module S1 of the previous setting page is finished; if the restart process of the first sub module S1 of the previous set page is completed, a first progress bar is sent out, and the first progress bar displays that the waiting time of the restart of the main module of the current set page is M (i); if the restarting process of the first module S1 of the previous set page is not completed, a second progress bar is sent out, and the waiting time required for displaying the second progress bar is r+m (i); after waiting for the time R, the first module S1 of the previous set page is restarted, and then the second master module M2 of the current set page is restarted; after waiting for the time M (i), determining whether the second master module M2 of the currently set page is restarted without error; and if the second main module M2 of the current setting page is restarted without error, storing the second user setting, modifying the user setting for a next setting page, and simultaneously executing the restart of the second sub module S2 of the current setting page.
Further, the module restart time is T (i) =u (i) +m (i) +s (i), where i represents an i-th set page, U (i) represents a time required for checking a set value, storing the set value, and processing the UI for a module of which i-th set page, M (i) represents a time required for the i-th main module to complete restarting, and S (i) represents a time required for the i-th sub-module to complete restarting.
Further, R (i) =s (i-1) -D (i), S (i-1) represents the remaining time required for restarting the secondary module of the previous set page, D (i) represents the operation time set by the current set page modification user, and M (i) represents the waiting time for restarting the primary module of the current set page.
Further, if R (i) is negative, R (i) =0.
Further, if the second master module M2 of the current setting page restarts generating an error, the second user setting is revised.
The embodiment of the invention also provides an electronic device which comprises a preprocessing module and a UI processing module. The preprocessing module performs preprocessing operation, and divides at least one processing module into a processing module, 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 corresponds to a previous set page with the first sub module S1, and the second main module M2 corresponds to a current set page with the second sub module S2.
The UI processing module modifies the second user settings 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; if the second user setting is correct, judging whether the restarting of the first module S1 of the previous setting page is finished; if the restart process of the first sub module S1 of the previous set page is completed, a first progress bar is sent out, and the first progress bar displays that the waiting time of the restart of the main module of the current set page is M (i); if the restarting process of the first module S1 of the previous set page is not completed, a second progress bar is sent out, and the waiting time required for displaying the second progress bar is r+m (i); after waiting for the time R, the first module S1 of the previous set page is restarted, and then the second master module M2 of the current set page is restarted; after waiting for the time M (i), determining whether the second master module M2 of the currently set page is restarted without error; and if the second main module M2 of the current setting page is restarted without error, storing the second user setting, modifying the user setting for a next setting page, and simultaneously executing the restart of the second sub module S2 of the current setting page.
Further, the module restart time is T (i) =u (i) +m (i) +s (i), where i represents an i-th set page, U (i) represents a time required for checking a set value, storing the set value, and processing the UI for a module of which i-th set page, M (i) represents a time required for the i-th main module to complete restarting, and S (i) represents a time required for the i-th sub-module to complete restarting.
Further, R (i) =s (i-1) -D (i), S (i-1) represents the remaining time required for restarting the secondary module of the previous set page, D (i) represents the operation time set by the current set page modification user, and M (i) represents the waiting time for restarting the primary module of the current set page.
Further, if R (i) is negative, R (i) =0.
Further, if the second master module M2 of the current setting page restarts generating an error, the second user setting is revised.
The method for optimizing the waiting time of the user interface and the electronic device using the method can effectively reduce the waiting time of a user operating the UI without reducing the time required by restarting a software module.
Drawings
FIG. 1 is a schematic diagram of an application for optimizing user interface latency in accordance with an embodiment of the present invention.
FIG. 2 is a schematic 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 of the steps of a method of optimizing user interface latency in accordance with an embodiment of the present invention.
FIG. 5 is a schematic diagram of the latency required before and after using a method of optimizing user interface latency according to an embodiment of the present invention.
Description of the main reference numerals
|
20 |
|
21 |
Processor and method for controlling the same | 22 |
System for optimizing user interface latency | 23 |
|
31 |
|
32 |
The invention will be further described in the following detailed description in conjunction with the above-described figures.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
It should be noted that the description of "first", "second", etc. in this disclosure is for descriptive purposes only and is not to be construed as indicating or implying a relative importance or implying an indication of the number of technical features being indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include at least one such feature. In addition, the technical solutions of the embodiments may be combined with each other, but it is necessary to base that the technical solutions can be realized by those skilled in the art, and when the technical solutions are contradictory or cannot be realized, the combination of the technical solutions should be considered to be absent and not within the scope of protection claimed in the present invention.
FIG. 1 is a schematic diagram of an application for optimizing user interface latency in accordance with an embodiment of the present invention.
For example, conventionally, a user performs related settings on three software modules on the same user setting Page (Page), after the settings are applied, the three software modules check whether the user settings are error-free, and after the settings are error-free, the three software modules are applied again, so that the user settings can be validated, and a lot of time is required for the whole process to be performed.
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, 10 sub-modules, including three main (Master) modules M1 to M3 and 7 sub (Slave) modules S4 to S7. The processing UI module U is used to check whether the user setting is correct or not and store the user setting. The master module, also called a real-time module, must be restarted before entering the next set page setting. The secondary module can be restarted before entering the next setting page and finishing setting.
In addition, the 10 sub-modules are respectively set by different setting pages. For example, the original first module is divided into a main module M1 and sub-modules S1 to S3, and is set by a first setting page P1; the original second module is divided into a main module M2 and secondary 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 a third setting page P3.
Fig. 2 is a schematic 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 connects the memory 21, the process 22, and optimizes user interface latency with each other via a system bus, fig. 2 only shows the electronic device 20 with components 21-23, but it should be understood that not all of the illustrated components are required to be implemented, and that more or fewer components may alternatively be implemented.
The memory 21 includes at least one type of readable storage medium including flash memory, hard disk, multimedia card, card memory (e.g., SD or DX memory, etc.), random Access Memory (RAM), static Random Access Memory (SRAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), programmable Read Only Memory (PROM), magnetic memory, magnetic disk, 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, which are provided on the electronic apparatus 20. Of course, the memory 21 may also include both an internal memory unit and an external memory device of the electronic apparatus 20. In this embodiment, the memory 21 is typically used for storing an operating system and various application software installed on the electronic device 20, such as program codes of the system 23. Further, the memory 21 may 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 (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 code or process data stored in the memory 21, for example, to execute the system 23 or the like.
So far, the hardware structure and function of the related device of the present invention have been described in detail. In the following, 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, enable the user interface latency optimization operations of 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 portions of the computer program instructions. For example, in fig. 3, the electronic device 20 may be divided into a pre-processing module 31 and a UI processing module 32.
In the preprocessing operation, the preprocessing module 31 divides at least one processing module into one processing module and at least one first main module M1 and one second main module M2, and at least one first sub module S1 and one second sub module S2. The first main module M1 and the first sub module S1 correspond to a first setting page, and the second main 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 (for example, the second setting page). Step S403, determining whether the second user setting is correct. If not, the process returns to step S401 to re-modify the second user setting.
If the second user setting is correct, it is determined whether the sub-module restart of the previous setting page (e.g., the first setting page) is completed. The module restarting time T (i) =u (i) +m (i) +s (i) required after the user finishes setting, where i represents the i-th setting page, U (i) represents the time required by the processing module to check the setting value, store the setting value and process the UI for the i-th setting page module, M (i) represents the time required by the i-th main module to finish restarting, and S (i) represents the time required by the i-th sub module to finish restarting.
If the restart process of the secondary module of the previous setting page (for example, the first setting page) is completed, a first progress bar is sent out, and at the same time, the restart of the primary module of the current setting page (for example, the second setting page) is started, and the first progress bar displays that the waiting time of the restart of the primary module of the current setting page is M (i).
If the restarting process of the secondary module of the previous set page (for example, the first set page) is not completed, a second progress bar is sent out, and the second progress bar displays a required waiting time as r+m (i), where R (i) =s (i-1) -D (i), S (i-1) represents the remaining time required for restarting the secondary module of the previous set page, D (i) represents the operation time set by the user when the user modifies the currently set page, and M (i) represents the waiting time for restarting the primary module of the currently set page. If R (i) is negative, R (i) =0.
After waiting for the time R, the restart of the secondary module of the previous setting page (for example, the first setting page) is completed, and then the restart of the primary module of the current setting page (for example, the second setting page) is executed, and the second progress bar displays that the waiting time of the restart of the primary module of the current setting page (for example, the second setting page) is M (i).
After waiting for the time M (i), it is checked whether the master module of the current set page (e.g., the second set page) is restarted without error. If the master module of the current setting page (e.g., the second setting page) restarts generating an error, the process returns to step S401 to revise the second user setting.
If the main module of the current setting page (e.g., the second setting page) is restarted, after storing the second user setting, the process returns to step S401, and the user can modify the user setting for a next setting page and execute the sub-module restart of the current setting page (e.g., the second setting page).
FIG. 4 is a flow chart of a method of optimizing user interface latency of the present invention. The method of optimizing user interface latency is applied in the electronic device 20. In this embodiment, the execution sequence of the steps in the flowchart shown in fig. 4 may be changed, and some steps may be omitted according to different requirements.
In step S401, in the preprocessing operation, at least one processing module is divided into a processing module and at least one first main module M1 and one second main module M2, and at least one first sub-module S1 and one second sub-module S2. The first main module M1 and the first sub module S1 correspond to a first setting page, and the second main 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, the process returns to step S401 to re-modify the second user setting.
In step S404, if the second user setting is correct, it is determined whether the restarting of the secondary module of the previous setting page (for example, the first setting page) is completed. The module restarting time T (i) =u (i) +m (i) +s (i) required after the user finishes setting, where i represents the i-th setting page, U (i) represents the time required by the processing module to check the setting value, store the setting value and process the UI for the i-th setting page module, M (i) represents the time required by the i-th main module to finish restarting, and S (i) represents the time required by the i-th sub module to finish restarting.
In step S405, if the restart process of the secondary module of the previous set page (for example, the first set page) is completed, a first progress bar is sent, and the first progress bar displays that the waiting time of the restart of the primary module of the current set page is M (i).
In step S406, if the restarting procedure of the sub-module of the previous set page (e.g., the first set page) is not completed, a second progress bar is sent, and the second progress bar displays a required waiting time as r+m (i), where R (i) =s (i-1) -D (i), S (i-1) represents a remaining time required for restarting the sub-module of the previous set page, D (i) represents an operation time for the user to modify the user set at the current set page, and M (i) represents a waiting time for restarting the main module of the current set page. If R (i) is negative, R (i) =0.
In step S407, after waiting for the time R, the restart of the secondary module of the previous setting page (for example, the first setting page) is completed, and then the restart of the primary module of the current setting page (for example, the second setting page) is executed, where the second progress bar displays that the waiting time of the restart of the primary module of the current setting page (for example, the second setting page) is M (i).
In step S408, after waiting the time M (i), it is determined whether the main module of the current set page (e.g., the second set page) is restarted without any error. If the master module of the current setting page (e.g., the second setting page) restarts generating an error, the process returns to step S401 to revise the second user setting.
In step S409, if the main module of the current setting page (e.g., the second setting page) is restarted, after storing the second user setting, the user returns to step S401, and the user can modify the user setting for a next setting page and execute the sub-module restart of the current setting page (e.g., the second setting page).
Referring to fig. 5, the user sets two setting pages, and needs to wait for the time of u1+m1+s1+u2+m2+s2, and only needs to wait for the time of u1+m1+u2+m2 after using the method of the present invention.
The invention also provides a computer device, such as a smart phone, a tablet computer, a notebook computer, a desktop computer, a rack-mounted server, a blade server, a tower server or a cabinet server (comprising independent servers or a server cluster formed by a plurality of servers) and the like which can execute programs. The computer device of the present embodiment includes at least, but is not limited to: memory, processors, etc. that may be 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 store, etc., on which a computer program is stored, which when executed by a processor, performs the corresponding functions. The computer readable storage medium of the present embodiment is used for storing the electronic device 20, which when executed by a processor implements the method of optimizing user interface latency of the present invention.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.
Claims (10)
1. A method for optimizing user interface latency for use in an electronic device, comprising:
executing preprocessing operation, dividing at least one processing module into a processing module, 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;
modifying a 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;
if the second user setting is correct, judging whether the restarting of the first module S1 of the previous setting page is finished;
if the restart process of the first sub module S1 of the previous set page is completed, a first progress bar is sent out, and the first progress bar displays that the waiting time of the restart of the main module of the current set page is M (i);
if the restarting process of the first module S1 of the previous set page is not completed, a second progress bar is sent out, and the waiting time required for displaying the second progress bar is r+m (i);
after waiting for the time R, the first module S1 of the previous set page is restarted, and then the second master module M2 of the current set page is restarted;
after waiting for the time M (i), determining whether the second master module M2 of the currently set page is restarted without error; a kind of electronic device with high-pressure air-conditioning system
If the second master module M2 of the current setting page is restarted without error, storing the second user setting, modifying the user setting for a next setting page, and simultaneously executing the restart of the second slave module S2 of the current setting page.
2. The method for optimizing user interface latency according to claim 1, wherein the module restart time is T (i) = U (i) +m (i) +s (i), wherein i represents an i-th set page, U (i) represents a time required for checking a set value, storing the set value, and processing the UI for a module of the i-th set page, M (i) represents a time required for the i-th main module to complete restart, and S (i) represents a time required for the i-th sub-module to complete restart.
3. The method of optimizing user interface latency of claim 1, wherein R (i) = S (i-1) -D (i), wherein i represents an i-th set page, S (i-1) represents a remaining time required for a secondary module of the previous set page to restart, D (i) represents an operation time set by a user for modifying the current set page, and M (i) represents a latency for a primary module of the current set page to restart.
4. The method of optimizing user interface latency of claim 3, wherein if R (i) is negative, then R (i) =0.
5. The method of optimizing user interface latency of claim 1, further comprising:
if the second master module M2 of the current setting page restarts generating an error, the second user setting is revised.
6. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the computer program when executed by the processor performs the steps of:
executing preprocessing operation, dividing at least one processing module into a processing module, 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;
modifying a 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;
if the second user setting is correct, judging whether the restarting of the first module S1 of the previous setting page is finished;
if the restart process of the first sub-module S1 of the previous set page is completed, sending a first progress bar, where the first progress bar displays that the waiting time of restarting the main module of the current set page is M (i);
if the restarting process of the first module S1 of the previous set page is not completed, a second progress bar is sent out, and the waiting time required for displaying the second progress bar is r+m (i);
after waiting for the time R, the first module S1 of the previous set page is restarted, and then the second master module M2 of the current set page is restarted;
after waiting for the time M (i), determining whether the second master module M2 of the currently set page is restarted without error; a kind of electronic device with high-pressure air-conditioning system
If the second master module M2 of the current setting page is restarted without error, storing the second user setting, modifying the user setting for a next setting page, and simultaneously executing the restart of the second slave module S2 of the current setting page.
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 an i-th set page, U (i) represents a module check set value for which i-th set page, a stored set value, and a time required for processing UI, M (i) represents a time required for the i-th main module to complete the restart, and S (i) represents a time required for the i-th sub-module to complete the restart.
8. The electronic device of claim 6, wherein R (i) = S (i-1) -D (i), wherein i represents an i-th set page, S (i-1) represents a remaining time required for the secondary module of the previous set page to restart, D (i) represents an operation time set by the current set page modification user, and M (i) represents a waiting time for the primary module of the current set page to restart.
9. The electronic device of claim 8, wherein if R (i) is negative, R (i) =0.
10. The electronic device 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 setting page restarts generating an error, the second user setting is revised.
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 CN111273947A (en) | 2020-06-12 |
CN111273947B true 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 (4)
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 |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104683857B (en) * | 2015-01-23 | 2018-05-29 | 华为技术有限公司 | The method and apparatus presented for the visualization that data preload |
-
2018
- 2018-12-05 CN CN201811482121.9A patent/CN111273947B/en active Active
Patent Citations (4)
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 |
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 |
---|---|
CN111273947A (en) | 2020-06-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108427705B (en) | Electronic device, distributed system log query method and storage medium | |
CN108462760B (en) | Electronic device, automatic cluster access domain name generation method and storage medium | |
CN109474578B (en) | Message checking method, device, computer equipment and storage medium | |
US11301237B2 (en) | Upgrading method and apparatus | |
CN108388515B (en) | Test data generation method, device, equipment and computer readable storage medium | |
CN109471857B (en) | SQL statement-based data modification method, device and storage medium | |
CN110928802A (en) | Test method, device, equipment and storage medium based on automatic generation of case | |
CN107908553B (en) | Association testing method, application server and computer readable storage medium | |
CN110765001B (en) | Modularized automatic test method and device for application system | |
CN108449313B (en) | Electronic device, Internet service system risk early warning method and storage medium | |
CN111309593A (en) | JSON interface verification method, device and equipment and computer readable storage medium | |
CN113448862B (en) | Software version testing method and device and computer equipment | |
CN108170551B (en) | Crawler system based front-end and back-end error processing method, server and storage medium | |
CN108776631B (en) | Server, method for acquiring compatibility test equipment and storage medium | |
CN108243254B (en) | Electronic device, method for releasing application upgrading version and storage medium | |
CN113128168A (en) | Pad parameter checking and correcting method and device, computer equipment and storage medium | |
CN111273947B (en) | Method for optimizing waiting time of user interface and electronic device | |
CN111538672A (en) | Test case layered test method, computer device and computer-readable storage medium | |
CN115934129A (en) | Software project updating method and device, computer equipment and storage medium | |
CN111367725A (en) | Asynchronous task online monitoring method, front-end control system and service response platform | |
CN111026613A (en) | Log processing method and device | |
CN111736869A (en) | Version updating method of server-side interface and calling method of server-side interface | |
CN112783866A (en) | Data reading method and device, computer equipment and storage medium | |
CN110609988A (en) | Form verification method and equipment | |
CN112445829B (en) | Data checking method, device, equipment and storage medium |
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 |