CN105159676B - The loading method of progress bar, device and system - Google Patents

The loading method of progress bar, device and system Download PDF

Info

Publication number
CN105159676B
CN105159676B CN201510549925.6A CN201510549925A CN105159676B CN 105159676 B CN105159676 B CN 105159676B CN 201510549925 A CN201510549925 A CN 201510549925A CN 105159676 B CN105159676 B CN 105159676B
Authority
CN
China
Prior art keywords
server
network
loaded
electronic equipment
data
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
Application number
CN201510549925.6A
Other languages
Chinese (zh)
Other versions
CN105159676A (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.)
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201510549925.6A priority Critical patent/CN105159676B/en
Publication of CN105159676A publication Critical patent/CN105159676A/en
Application granted granted Critical
Publication of CN105159676B publication Critical patent/CN105159676B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The disclosure is directed to a kind of loading method of progress bar, device and system, the loading method of the progress bar includes:Electronic equipment receives the network data of the first network status information and task to be loaded for the server that server is sent, progress percentage, and the network state of the first network status information display server according to server are shown on a progress bar according to the network data received.The method and shows network state by obtaining the first network status information of server so that user can not only awareness network data load progress, additionally it is possible to real-time awareness network state.

Description

The loading method of progress bar, device and system
Technical field
This disclosure relates to the communication technology more particularly to a kind of loading method of progress bar, device and system.
Background technology
Currently, many application programs are required for load networks data, in application program load networks data, can show simultaneously Show a progress bar, the percentage for the network data that progress bar is used to show that the network data loaded and needs load, with Prompt the load progress of user network data.
Invention content
To overcome the problems in correlation technique, the disclosure provides a kind of loading method of progress bar, device and system.
According to the first aspect of the embodiments of the present disclosure, a kind of loading method of progress bar is provided, the method is applied to electricity Sub- equipment, the electronic equipment are configured with display, the method includes:
Receive the network data of the first network status information and task to be loaded of the server that server is sent;
Progress percentage is shown on a progress bar according to the network data received, and according to the of the server One network state information shows the network state of the server, wherein the progress percentage is the network number loaded According to the percentage of the whole network data to be loaded with the task to be loaded.
The loading method for the progress bar that the first aspect of the embodiment of the present disclosure provides, electronic equipment receive what server was sent The network data of the first network status information and task to be loaded of server, on a progress bar according to the network data received Show progress percentage, and the network state of the first network status information display server according to server.The method is logical Cross the first network status information for obtaining server, and the network state of display server so that user can not only understand net The load progress of network data, additionally it is possible to real-time awareness network state.
In conjunction with the embodiment of the present disclosure in a first aspect, the first aspect of the embodiment of the present disclosure the first possible realization In mode, the method further includes:
Detect the sight of user;
If the position that the sight is persistently watched attentively in the given time falls into the display area of the display, and described The network state of server is congestion, then sends the instruction of server adjust request to the server, wherein the display area Show the progress bar;
The server adjustment response instruction that the server returns is received, the server adjustment response instruction includes adjusting The title of server after whole.
The loading method for the progress bar that the first possible realization method of the first aspect of the embodiment of the present disclosure provides, leads to The sight for crossing detection user, if the lasting position of sight falls into the display area of display, and server in the given time Network state be congestion, then to server send server adjust request instruction, request replace other servers set for electronics The adjustment of server is completed in standby offer service after the server adjustment response instruction for receiving server return.Due to adjustment Server afterwards is the normal or smooth server of network state, so as to accelerate the load progress of network data.
In conjunction with the first aspect of the embodiment of the present disclosure or the first possible realization method of first aspect, in disclosure reality In second of possible realization method for applying the first aspect of example, the method further includes:
Before the first network status information and network data for receiving the server that server is sent, to described Server transmission data load request, network data of the data load requests for task to be loaded described in request of loading;
Receive the title of the second network state information and the server of the server that the server is sent, institute It is the network state that the server does not load the network data foregoing description server to state the second network state information Information, the first network status information are the network that the server starts to load the server after the network data The information of state;
The network-like of the server is shown on the progress bar according to the second network state information of the server State, and show the title of the server.
The loading method for the progress bar that second of possible realization method of the first aspect of the embodiment of the present disclosure provides, Each stage of network data load, all can the title, network state of display server, progress percentage on a progress bar, with The network state of server can be understood in time convenient for user.
In conjunction with the first aspect of the embodiment of the present disclosure, first aspect the first in second of possible realization method Any one, in the third possible realization method of the first aspect of the embodiment of the present disclosure, the network state passes through institute The mark of the network state in the display area of display is stated to be identified.
The loading method for the progress bar that the third possible realization method of the first aspect of the embodiment of the present disclosure provides, leads to The network state for crossing the network state mark for marking server in the display area of the display, in order to user can and When understand server network state.
According to the second aspect of the embodiment of the present disclosure, a kind of loading method of progress bar is provided, including:
Obtain the network data of first network status information and task to be loaded;
The first network status information and the network data are sent to electronic equipment.
The loading method for the progress bar that the second aspect of the embodiment of the present disclosure provides, server obtain first network state letter The network data of breath and task to be loaded, electronic equipment is sent to by first network status information and network data.In order to electricity Sub- equipment can be according to the first network status information of server to the network state of user's display server so that user can Timely understand the network state of server.
In conjunction with the second aspect of the embodiment of the present disclosure, in the first possible realization of the second aspect of the embodiment of the present disclosure In mode, the method includes:
The data load requests that the electronic equipment is sent are received, the data load requests described in request of loading for waiting for The network data of loading tasks;
The title of second network state information and the server is sent to the electronic equipment, described second is network-like State information be the server do not load the network data foregoing description server network state information, described first Network state information is the information that the server starts to load the network state of the server after the network data, institute The network state for stating server changes over time.
The loading method for the progress bar that the first possible realization method of the second aspect of the embodiment of the present disclosure provides, Before data load, server receives the data load requests that the electronic equipment is sent, by the second network state information and institute The title for stating server is sent to the electronic equipment.In order to which electronic equipment can be believed according to the second network state of server Cease the network state to user's display server so that user can timely understand the network state of server.
In conjunction with the second aspect of the embodiment of the present disclosure or the first possible realization method of second aspect, in disclosure reality In second of possible realization method for applying the second aspect of example, the method further includes:
Receive the server adjust request instruction that the electronic equipment is sent;
According to server adjust request instruction select from least one backup server a backup server for The electronic equipment service, using the backup server selected as the server after adjustment;
Server adjustment response instruction is sent to the electronic equipment, the server adjustment response instruction includes described The title of server after adjustment.
The loading method for the progress bar that second of possible realization method of the second aspect of the embodiment of the present disclosure provides, clothes The server adjust request that device reception electronic equipment is sent of being engaged in instructs, and is instructed from least one backup according to server adjust request Select a backup server for electronic equipment service in server.Since the server after adjustment is network state normally or flows Smooth server, so as to accelerate the load progress of network data.
According to the third aspect of the embodiment of the present disclosure, a kind of loading device of progress bar is provided, including:
First receiving module is configured as receiving the first network status information for the server that server is sent and wait for The network data of loading tasks;
First display module, the network data for being configured as being received according to first receiving module is in progress bar Upper display progress percentage, and show according to the first network status information of the server network state of the server, Wherein, the progress percentage is the network data loaded and the whole network data to be loaded of the task to be loaded Percentage.
The loading device for the progress bar that the third aspect of the embodiment of the present disclosure provides, the first receiving module receive server hair The network data of the first network status information and task to be loaded of the server sent, the first display module is according to the net received Network data show progress percentage, and the network of the first network status information display server according to server on a progress bar State.The loading device of the progress bar, by obtaining the first network status information of server, and the network of display server State so that user can not only awareness network data load progress, additionally it is possible to real-time awareness network state.
In conjunction with the third aspect of the embodiment of the present disclosure, in the first possible realization of the third aspect of the embodiment of the present disclosure In mode, the loading device of the progress bar further includes:
Detection module is configured as the sight of detection user;
First sending module, the position for being configured as the sight in the given time fall into the viewing area of the display Domain, and the network state of the server be congestion when, to the server send server adjust request instruction, wherein institute It states display area and shows the progress bar;
Second receiving module is configured as receiving the server adjustment response instruction that the server returns, the service Device adjustment response instruction includes the title of the server after adjustment.
The loading device for the progress bar that the first possible realization method of the third aspect of the embodiment of the present disclosure provides, inspection Sight of the module by detection user is surveyed, if the position that sight is persistently watched attentively in the given time falls into the aobvious of the display Showing region, and the network state of server is congestion, then the first sending module sends the instruction of server adjust request to server, Request replaces other servers and provides service for electronic equipment, and the second receiving module is in the server tune for receiving server return The adjustment of server is completed after whole response instruction.Since the server after adjustment is the normal or smooth server of network state, So as to accelerate the load progress of network data.
In conjunction with the third aspect of the embodiment of the present disclosure or the first possible realization method of the third aspect, in disclosure reality In second of possible realization method for applying the third aspect of example, the loading device of the progress bar further includes:
Second sending module is configured as to the server transmission data load request, and the data load requests are used The network data of the task to be loaded described in request of loading;
Third receiving module is configured as receiving the second network state information of the server that the server is sent With the title of the server, second network state information does not load institute before the network data for the server The information of the network state of server is stated, the first network status information is that the server starts to load the network data The information of the network state of the server later;
Third display module is configured as being shown on the progress bar according to the second network state information of the server Show the network state of the server, and the title of the display server.
The loading device for the progress bar that second of possible realization method of the third aspect of the embodiment of the present disclosure provides, the Two sending modules are to the server transmission data load request;Third receiving module receives the clothes that the server is sent The title of the second network state information and the server of business device;Third display module is according to the second network of the server Status information shows the network state of the server, and the title of the display server on the progress bar.It is described It each stage that the loading device of progress bar is loaded in network data, all can the title of display server, network on a progress bar State, progress percentage, in order to which user can understand the network state of server in time.
In conjunction with the second aspect of the embodiment of the present disclosure, second aspect the first in second of possible realization method Any one, in the third possible realization method of the second aspect of the embodiment of the present disclosure, the network state passes through institute The mark of the network state in the display area of display is stated to be identified.
According to the fourth aspect of the embodiment of the present disclosure, a kind of loading device of progress bar is provided, including:
Acquisition module is configured as obtaining the network data of first network status information and task to be loaded;
First sending module is configured as setting the first network status information and network data transmission electron It is standby.
The loading device for the progress bar that the fourth aspect of the embodiment of the present disclosure provides, acquisition module obtain first network state First network status information and network data are sent electron by the network data of information and task to be loaded, the first sending module Equipment.In order to which electronic equipment can be according to the first network status information of server to the network-like of user's display server State so that user can timely understand the network state of server.
In conjunction with the fourth aspect of the embodiment of the present disclosure, in the first possible realization of the fourth aspect of the embodiment of the present disclosure In mode, the loading device of the progress bar further includes:
First receiving module is configured as receiving the data load requests that the electronic equipment is sent, the data load Network data of the request for task to be loaded described in request of loading;
Second sending module is configured as the title of the second network state information and the server being sent to the electricity Sub- equipment, second network state information are the net that the server does not load the network data foregoing description server The information of network state, the first network status information are that the server starts to load the service after the network data The network state of the information of the network state of device, the server changes over time.
The loading device for the progress bar that the first possible realization method of the fourth aspect of the embodiment of the present disclosure provides, the One receiving module receives the data load requests that the electronic equipment is sent;Second sending module by the second network state information and The title of the server is sent to the electronic equipment.In order to which electronic equipment can be according to the second network state of server Network state of the information to user's display server so that user can timely understand the network state of server.
In conjunction with the fourth aspect of the embodiment of the present disclosure or the first possible realization method of fourth aspect, in disclosure reality In second of possible realization method for applying the fourth aspect of example, the loading device of the progress bar further includes:
Second receiving module is configured as receiving the server adjust request instruction that the electronic equipment is sent;
Selecting module is selected with being configured to be instructed according to the server adjust request from least one backup server One backup server is the electronic equipment service, using the backup server selected as the server after adjustment;
Third sending module is configured as sending server adjustment response instruction, the server to the electronic equipment Adjustment response instruction includes the title of the server after the adjustment.
The loading device for the progress bar that second of possible realization method of the fourth aspect of the embodiment of the present disclosure provides, the One receiving module receives the server adjust request instruction that electronic equipment is sent, and selecting module is instructed according to server adjust request Select other servers for electronic equipment service, third sending module sends server adjustment response to the electronic equipment and refers to It enables.Since the server after adjustment is the normal or smooth server of network state, so as to accelerate the load of network data Progress.
According to a fifth aspect of the embodiments of the present disclosure, a kind of loading device of progress bar is provided, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Receive the network data of the first network status information and task to be loaded of the server that server is sent;
Progress percentage is shown on a progress bar according to the network data received, and according to the of the server One network state information shows the network state of the server, wherein the progress percentage is the network number loaded According to the percentage of the whole network data to be loaded with the task to be loaded.
The loading device for the progress bar that 5th aspect of the embodiment of the present disclosure provides, receives the server that server is sent The network data of first network status information and task to be loaded shows progress on a progress bar according to the network data received Percentage, and the network state of the first network status information display server according to server.By obtain server the One network state information, and the network state of display server so that user can not only awareness network data load progress, It can also real-time awareness network state.
According to the 6th of the embodiment of the present disclosure the aspect, a kind of loading device of progress bar is provided, including:
Processor;
Memory for storing processor-executable instruction;
Wherein, the processor is configured as:
Obtain the network data of first network status information and task to be loaded;
The first network status information and the network data are sent to electronic equipment.
The loading device for the progress bar that 6th aspect of the embodiment of the present disclosure provides, by obtaining first network status information With the network data of task to be loaded, first network status information and network data are sent to electronic equipment.In order to electronics Equipment can be according to the first network status information of server to the network state of user's display server so that user can and When understanding server network state.
According to the 7th of the embodiment of the present disclosure the aspect, a kind of loading system of progress bar is provided, including:Electronic equipment kimonos Business device;
The electronic equipment is configured as:
Receive the network data of the first network status information and task to be loaded of the server that server is sent;
Progress percentage is shown on a progress bar according to the network data received, and according to the of the server One network state information shows the network state of the server, wherein the progress percentage is the network number loaded According to the percentage of the whole network data to be loaded with the task to be loaded;
The server is configured as:
Obtain the network data of first network state and task to be loaded;
The first network status information and the network data are sent to electronic equipment.
The loading system for the progress bar that 6th aspect of the embodiment of the present disclosure provides, electronic equipment receive what server was sent The network data of first network status information and task to be loaded shows progress on a progress bar according to the network data received Percentage, and the network state of the first network status information display server according to server.By obtain server the One network state information, and show network state so that user can not only awareness network data load progress, additionally it is possible to it is real When awareness network state.
The technical scheme provided by this disclosed embodiment can include the following benefits:
Electronic equipment receives the network data of first network status information and task to be loaded that server is sent, according to connecing The network data received shows progress percentage on a progress bar, and according to the first current network state presentation of information of server The network state of server.The method shows network state by obtaining the first network status information of server so that User can not only awareness network data load progress, additionally it is possible to real-time awareness network state.
It should be understood that above general description and following detailed description is only exemplary and explanatory, not The disclosure can be limited.
Description of the drawings
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the present invention Example, and be used to explain the principle of the present invention together with specification.
Fig. 1 is a kind of one flow chart of embodiment of the loading method of progress bar shown according to an exemplary embodiment.
Fig. 2 is a kind of display schematic diagram of progress bar.
Fig. 3 is a kind of flow chart of the loading method embodiment two of progress bar shown according to an exemplary embodiment.
Fig. 4 is a kind of flow chart of the loading method embodiment three of progress bar shown according to an exemplary embodiment.
Fig. 5 is another display schematic diagram of progress bar.
Fig. 6 is a kind of flow chart of the loading method example IV of progress bar shown according to an exemplary embodiment.
Fig. 7 is a kind of flow chart of the loading method embodiment five of progress bar shown according to an exemplary embodiment.
Fig. 8 is a kind of flow chart of the loading method embodiment six of progress bar shown according to an exemplary embodiment.
Fig. 9 is a kind of block diagram of the loading device embodiment one of progress bar shown according to an exemplary embodiment.
Figure 10 is a kind of block diagram of the loading device embodiment two of progress bar shown according to an exemplary embodiment.
Figure 11 is a kind of block diagram of the loading device embodiment three of progress bar shown according to an exemplary embodiment.
Figure 12 is a kind of block diagram of the loading device example IV of progress bar shown according to an exemplary embodiment.
Figure 13 is a kind of block diagram of the loading device embodiment five of progress bar shown according to an exemplary embodiment.
Figure 14 is a kind of block diagram of the loading device embodiment six of progress bar shown according to an exemplary embodiment.
Figure 15 is a kind of block diagram of the loading device embodiment seven of progress bar shown according to an exemplary embodiment.
Figure 16 is a kind of entity block diagram of server shown according to an exemplary embodiment.
Figure 17 is a kind of schematic diagram of the loading system of progress bar shown according to an exemplary embodiment.
Figure 18 is a kind of block diagram for electronic equipment shown according to an exemplary embodiment.
Figure 19 is a kind of block diagram for server shown according to an exemplary embodiment.
Specific implementation mode
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent and the consistent all embodiments of the present invention.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects being described in detail in claims, of the invention.
Fig. 1 is a kind of one flow chart of embodiment of the loading method of progress bar shown according to an exemplary embodiment, such as Shown in Fig. 1, the loading method of progress bar is in electronic equipment, electronic equipment to be configured with display, the method packet of the present embodiment Include following steps.
In step S101, the first network status information for the server that server is sent and task to be loaded are received Network data.
In the present embodiment, the network data of to be loaded task of the server in addition to returning to request to electronic equipment, also to electricity Sub- equipment returns to the first network status information of server, and the first network status information of server is that server starts to load net The network state of the information of the network state of server after network data, server includes any one in following three kinds of states Kind:Smooth, normal and congestion, the present embodiment are merely illustrative the network state of server, and the network state of server is unlimited In above-mentioned three kinds of states.Server can detect the network state of oneself in real time, and first network status information is sent to electricity Sub- equipment.Since the network state information of server is dynamic change, server is returned in different time to electronic equipment The first network status information returned may be different.
In step s 102, progress percentage is shown according to the network data received on a progress bar, and according to service The network state of the first network status information display server of device, wherein progress percentage is the network data loaded With the percentage of the whole network data to be loaded of task to be loaded.
Electronic equipment can calculate a progress percentage with the network data for often receiving default size, alternatively, every pre- If the time calculates a progress percentage.When determining progress percentage, can be waited for according to the network data received and all Load networks data obtain the first percentage, and then, the progress percentage determined with last time obtains this plus the first percentage The progress percentage of calculating.For example, the progress percentage that last time determines is 20%, this first percentage calculated is 2%, that This progress percentage calculated is 22%.
The network state of server can be identified by the network state in the display area of display and is identified, network Status indicator can be word, color or figure.For example, the network state congestion of server is indicated with red, with yellow table Show that the network state of server is normal, indicates that the network state of server is smooth with green, text importing is used alternatively, directly displaying " congestion ", " normal " or " smoothness ", alternatively, with the different network state of different shape representations, for example, indicating to take with circle The network state of business device is smooth, and the network state congestion of server is indicated with triangle, the network-like of server is indicated with rectangle State is normal.If network state is identified as color, the position of network state mark is progress bar, if network state is identified as word Or shape, then the position of network state mark is the neighbouring region of progress bar.
Fig. 2 is a kind of display schematic diagram of progress bar, as shown in Fig. 2, the progress percentage shown on progress bar is 25%, The network state of server is busy, wherein the black region in progress bar indicates the network data loaded, white area Indicate the network data of load not yet.
The loading method of the progress bar of the present embodiment, electronic equipment receive the first network shape for the server that server is sent The network data of state information and task to be loaded shows progress percentage on a progress bar according to the network data received, and According to the network state of the first network status information display server of server.The method is by obtaining the first of server Network state information, and the network state of display server so that user can not only awareness network data load progress, also It being capable of real-time awareness network state.
User can arrange the work of oneself by awareness network state, if for example, network state congestion, then can be true Fixed complete load needs the time needed for the network data loaded may be longer in total, and user can carry out other work, and In running background program, the load of network data is completed.If desired the network data loaded is more urgent, is determining network state In the case of congestion, user can obtain by other means.
Fig. 3 is a kind of flow chart of the loading method embodiment two of progress bar shown according to an exemplary embodiment, should Method is applied in the electronic device, on the basis of the present embodiment embodiment shown in Fig. 1, additionally it is possible to be adjusted and be taken according to network state Business device.As shown in figure 3, the loading method of the progress bar of the present embodiment includes the following steps.
In step s 201, the net of the first network status information and task to be loaded of the server that server is sent is received Network data.
In step S202, progress percentage is shown according to the network data received on a progress bar, and according to service The network state of the first network status information display server of device, wherein progress percentage is the network data loaded With the percentage of the whole network data to be loaded of task to be loaded.
In step S203, the sight of user is detected.
Start the front camera on electronic equipment, the sight of user is detected using existing sight monitoring technology.
The direction of sight is that the direction at eyeball center and the through-hole line of centres first has to detect when detecting user's sight The position of iris determines radius and the center of circle of iris.Line-of-sight detection foundation carries out on the basis of iris detection, is justified using iris The movement characteristic of the heart and the relationship of iris radius and the relationship of eyeball determine direction of visual lines.
In step S204, if the position that sight is persistently watched attentively in the given time falls into the display area of display, And the network state of server is congestion, then sends the instruction of server adjust request to server, wherein display area is shown Progress bar.
According to the visual range of the sight of user and human eye, it may be determined that the range that sight is watched attentively, if the display of display Region is fallen in the range of sight is watched attentively, then being assured that position that sight is watched attentively falls into the display area of display, electricity Sub- equipment can persistently detect the sight of user in the given time, and the predetermined time can be 3 seconds or 5 seconds etc., as needed into Row setting.If the lasting position of sight falls into the display area of display in the given time, illustrate that user compares care and adds Degree of being loaded into.The network state of the network state of the reading service device of electronic equipment meeting at this time, the server that electronic equipment is read is clothes The current network state of business device, if the network state of server is congestion, then electronic equipment sends server tune to server Whole request instruction, the instruction of server adjust request are that electronic equipment replaces other servers for asking.Server is receiving all After the instruction of server adjust request, a backup server is selected to provide service for electronic equipment, and return and take to electronic equipment Be engaged in device adjustment response instruction, server adjustment response instruction in may include adjustment after server title, the clothes after adjustment Device be engaged in as the normal or smooth server of network state.
In step S205, electronic equipment receives the server adjustment response instruction that server is sent, and server adjustment is rung Should instruct include adjustment after server title.
Electronic equipment determines that server is adjusted, Subsequent electronic equipment after receiving server adjustment response instruction It will be from load networks data from the server after adjustment.Optionally, electronic equipment can also show the name of the server after adjustment Claim, so that user is capable of the source of awareness network data.
The loading method of the progress bar of the present embodiment, by detecting the sight of user, if sight is held in the given time The continuous position for watching progress bar attentively, and the network state of server is congestion, then sends the instruction of server adjust request to server, Request replaces other servers and provides service for electronic equipment, after receiving the server adjustment response instruction of server return Complete the adjustment of server.Since the server after adjustment is the normal or smooth server of network state, so as to accelerate The load progress of network data.
Fig. 4 is a kind of flow chart of the loading method embodiment three of progress bar shown according to an exemplary embodiment, should Method is applied in the electronic device, as shown in figure 4, the loading method of the progress bar of the present embodiment includes the following steps.
In step S301, progress bar is initialized, shows that waiting for server responds on a progress bar.
When user starts some task to be loaded on an electronic device, when needing load networks data, application program can be just One progress bar of beginningization, the return network data of waiting for server is to update progress bar.When initializing progress bar, on progress bar Show the word of equivalent servers response.
In step s 302, to server transmission data load request, data load requests are to be loaded for request of loading The network data of task.
Domain name system (the Domain Name System of server are carried in data load requests;Referred to as:DNS), with And the mark of task to be loaded.
In step S303, the title of the second network state information and server of the server that server is sent is received.
Server obtains the second network state letter of server after receiving the data load requests that electronic equipment is sent The title of breath and server, and electronic equipment is returned to, meanwhile, electronic equipment institute is prepared according to the mark of task to be loaded The network data of the task to be loaded of request.Wherein, the second network state information is before server does not have a load networks data The information of the network state of server.
In step s 304, according to the network-like of the second network state information of server display server on a progress bar The title of state and display server.
If network state is distinguished with different color, then electronic equipment is according to the second network state information, in progress bar It is upper to show color corresponding with network state, and responded in progress bar display server, so that user can timely understand To network state.
In step S305, the net of the first network status information and task to be loaded of the server that server is sent is received Network data.
After server is ready to complete the requested network data of electronic equipment, the current network state of reading service device will First network status information is sent to electronic equipment together together with network data, and first network status information is that server starts to add The information of the network state of server, the network state of server change over time after load network data.
In step S306, progress percentage is shown according to the network data received on a progress bar, and according to service The network state of the first network status information display server of device.
Wherein, progress percentage is the network data loaded and the whole network data to be loaded of task to be loaded Percentage.Electronic equipment receives the network data that server is sent, and according to the size of network data, shows progress percentage, together When according to the first network status information of server, update the color on progress bar, shown on progress bar " in data load ".
Fig. 5 is another display schematic diagram of progress bar, as shown in figure 5, showing that progress percentage is on a progress bar 25%, the network state of server is busy, is also shown on progress bar " in data load " and the title of server:Beijing Server.
The loading method of the progress bar of the present embodiment can all be shown on a progress bar in each stage of network data load The title, network state, progress percentage for showing server, in order to which user can understand the network state of server in time.
Fig. 6 is a kind of flow chart of the loading method example IV of progress bar shown according to an exemplary embodiment, should Method is applied in the server, as shown in fig. 6, the loading method of the progress bar of the present embodiment includes the following steps.
In step S401, the network data of first network status information and task to be loaded is obtained.
Server can be detected network state, to get first network status information, first network state letter Breath is the information that server starts to load the network state of server after the network data, and the network state of server is at any time Between change.
In step S402, first network status information and network data are sent to electronic equipment.
In the present embodiment, server by the network data of electronic equipment requests while being sent to electronic equipment also by One network state information has been sent to electronic equipment.
The loading method of the progress bar of the present embodiment, server obtain the net of first network status information and task to be loaded First network status information and network data are sent to electronic equipment by network data.In order to which electronic equipment can be according to service Network state of the first network status information of device to user's display server so that user can timely understand server Network state.
Fig. 7 is a kind of flow chart of the loading method embodiment five of progress bar shown according to an exemplary embodiment, should Method is applied in the server, as shown in fig. 7, the loading method of the progress bar of the present embodiment includes the following steps.
In step S501, the data load requests that electronic equipment is sent are received, data load requests are used for request of loading The network data of task to be loaded.
After user launches application, task to be loaded is if desired loaded, electronic equipment can send number to server According to load request, data load requests include the mark of the DNS and task to be loaded of server.
In step S502, the title of the second network state information and server is sent to electronic equipment.
Server is after receiving data load requests, the current network state of reading service device, according to server The title of second network state information and server is sent to electronic equipment by current network state, and the second network state information is Server does not have the information of the network state of server before load networks data, the network state of server to change over time. Server prepares the network data of task to be loaded also according to the mark of task to be loaded.
In step S503, the network data of first network status information and task to be loaded is sent to electronic equipment.
Server is after the network data for getting out task to be loaded, by first network status information and task to be loaded Network data sends jointly to electronic equipment.
In step S504, the server adjust request instruction that electronic equipment is sent is received.
Server adjust request instruction is that electronic equipment is busy in the network state for determining server, and user compares pass It is sent to server in the case of heart load progress, the instruction of server adjust request replaces server for asking.
In step S505, a backup is selected from least one backup server according to the instruction of server adjust request Server is electronic equipment service, using the backup server selected as the server after adjustment.
Server has at least one backup server as master server, and to be loaded is also stored on backup server The network data of business provides service by server for electronic equipment under normal circumstances, and backup server is waited for, Server network state is busy, or after failure, server can be switched to backup server, and clothes are provided by backup server Business.If only there are one backup servers for server, then server is using the backup server as the server after adjustment.If clothes Business device have multiple backup servers, then server can an optional backup server as adjust after backup server, Alternatively, server device selects in sequence, if some backup server failure, select it is next, if the server It can work normally, just select the server, select other servers backward without continuing, and do not needed when selection Consider the network state of backup server.This is because backup server is in most cases all in wait state, it is therefore, standby The network state of part server is all smooth or normal, selects backup server to provide service for electronic equipment, in order to electricity Network data can be loaded quickly and be completed by sub- equipment.
In step S506, server adjustment response instruction is sent to electronic equipment, is wrapped in server adjustment response instruction Include the title of the server after adjustment.
The loading method of the progress bar of the present embodiment, server receive the server adjust request that electronic equipment is sent and refer to It enables, selects a backup server to be taken for electronic equipment from least one backup server according to the instruction of server adjust request Business, using the backup server selected as the server after adjustment.Since the server after adjustment is network state normally or flows Smooth server, so as to accelerate the load progress of network data.
Fig. 8 is a kind of flow chart of the loading method embodiment six of progress bar shown according to an exemplary embodiment, this The method of embodiment is electronic equipment and server interaction embodiment, as shown in figure 8, the loading method of the progress bar of the present embodiment Include the following steps.
In step s 601, electronic equipment adds to server transmission data load request, data load requests for asking Carry the network data of task to be loaded.
In step S602, the title of the second network state information and server is sent to electronic equipment by server.
In step S603, electronic equipment receives the first network status information and server for the server that server is sent Title.
In step s 604, electronic equipment is according to the first network status information of server display server on a progress bar Network state and display server title.
In step s 605, the network data of first network status information and task to be loaded is sent electron by server Equipment.
In step S606, electronic equipment receives the first network status information and network number for the server that server is sent According to.
In step S607, electronic equipment shows progress percentage on a progress bar according to the network data received, and Network state is shown according to the first network status information of server.
In step S608, electronic equipment detects the sight of user.
In step S609, if the position that sight is persistently watched attentively in the given time falls into the display area of display, And the network state of server is congestion, then sends the instruction of server adjust request to server.
In step S610, server instructs according to server adjust request and selects one from least one backup server A backup server is electronic equipment service, using the backup server selected as the server after adjustment.
In step s 611, server sends server adjustment response instruction to electronic equipment, and server adjustment response refers to Order includes the title of the server after adjustment.
In step S612, electronic equipment receives the server adjustment response instruction that server is sent.
The loading method of the progress bar of the present embodiment, electronic equipment receive server send first network status information and The network data of task to be loaded shows progress percentage on a progress bar according to the network data received, and according to service The network state of the first network status information display server of device.The first network state that the method passes through acquisition server Information, and show network state so that user can not only awareness network data load progress, additionally it is possible to real-time awareness network State.And the sight by detecting user, if the lasting position of sight falls into the display area of display in the given time, And the current network state of server is congestion, then sends the instruction of server adjust request to server, other clothes are replaced in request Business device provides service for electronic equipment.Since the server after adjustment is the normal or smooth server of network state, so as to Enough accelerate the load progress of network data.
Fig. 9 is a kind of block diagram of the loading device embodiment one of progress bar shown according to an exemplary embodiment, the dress It sets and is applied to electronic equipment, which is configured with display, and with reference to Fig. 9, the loading device of the progress bar includes:First connects Receive module 11 and the first display module 12.
First receiving module 11, be configured as receive server send the server first network status information and The network data of task to be loaded;
First display module 12, be configured as the network data received according to first receiving module 11 into Progress percentage is shown on degree item, and the network-like of the server is shown according to the first network status information of the server State, wherein the progress percentage is the network data loaded and the whole network number to be loaded of the task to be loaded According to percentage.
Wherein, the network state may include any one in following three kinds of states:Smooth, normal and congestion.Net Network state mark in the display area that network state passes through display is identified.
On the basis of above-mentioned embodiment shown in Fig. 9, Figure 10 is a kind of progress shown according to an exemplary embodiment The block diagram of the loading device embodiment two of item, referring to Fig.1 0, the loading device of the progress bar further includes:Detection module 13, first Sending module 14 and the second receiving module 15.
Detection module 13 is configured as the sight of detection user;
First sending module 14 is configured as the position that the sight is persistently watched attentively in the given time and falls into the display The display area of device, and the network state of the server be congestion when, to the server send server adjust request refer to It enables, wherein the display area shows the progress bar;
Second receiving module 15 is configured as receiving the server adjustment response instruction that the server returns, the clothes Business device adjustment response instruction includes the title of the server after adjustment.
On the basis of above-mentioned embodiment shown in Fig. 9, Figure 11 is a kind of progress shown according to an exemplary embodiment The block diagram of the loading device embodiment three of item, referring to Fig.1 1, the loading device of the progress bar further includes:Second sending module 16, Third receiving module 17 and the second display module 18.
Second sending module 16 is configured as to the server transmission data load request, the data load requests Network data for task to be loaded described in request of loading;
Third receiving module 17 is configured as receiving the second network state letter for the server that the server is sent The title of breath and the server, second network state information are not loaded for the server before the network data The information of the network state of the server, the first network status information are that the server starts to load the network number According to the information of the network state of the server later;
Second display module 18 is configured as the second network state information according to the server on the progress bar Show the network state of the server, and the title of the display server.
About the electronic equipment in above-mentioned each embodiment, wherein modules execute the concrete mode and technology effect of operation Fruit is described in detail in Fig. 1 to the embodiment of method shown in fig. 5, and explanation will be not set forth in detail herein.
Figure 12 is a kind of block diagram of the loading device example IV of progress bar shown according to an exemplary embodiment, reference The loading device of Figure 12, the progress bar includes:Acquisition module 21 and the first sending module 22.
Acquisition module 21 is configured as obtaining the network data of first network status information and task to be loaded;
First sending module 22 is configured as the first network status information and the network data sending electron Equipment.
Shown in above-mentioned Figure 12 on the basis of embodiment, Figure 13 is a kind of progress shown according to an exemplary embodiment The block diagram of the loading device embodiment five of item, referring to Fig.1 3, the loading device of the progress bar further includes:First receiving module, 23 He Second sending module 24.
First receiving module 23 is configured as receiving the data load requests that the electronic equipment is sent, and the data add Carry network data of the request for task to be loaded described in request of loading;
Second sending module 24 is configured as the title of the second network state information and the server being sent to described Electronic equipment, second network state information are that the server does not load the network data foregoing description server The information of network state, the first network status information are that the server starts to load the clothes after the network data The information of the network state of business device, the network state of the server change over time.
Shown in above-mentioned Figure 12 on the basis of embodiment, Figure 14 is a kind of progress shown according to an exemplary embodiment The block diagram of the loading device embodiment six of item, referring to Fig.1 4, the loading device of the progress bar further includes:Second receiving module 25, Selecting module 26 and third sending module 27.
Second receiving module 25 is configured as receiving the server adjust request instruction that the electronic equipment is sent;
Selecting module 26 is selected with being configured to be instructed according to the server adjust request from least one backup server It is the electronic equipment service to select a backup server, using the backup server selected as the server after adjustment;
Third sending module 27 is configured as sending server adjustment response instruction, the service to the electronic equipment Device adjustment response instruction includes the title of the server after the adjustment.
About the server in above-mentioned each embodiment, wherein modules execute the concrete mode and technique effect of operation It is described in detail in the embodiment of Fig. 6 and method shown in Fig. 7, explanation will be not set forth in detail herein.
Figure 15 is the entity block diagram according to a kind of electronic equipment shown in an exemplary embodiment, referring to Fig.1 5, the electronics Equipment includes:Processor 31 and memory 32 for storing 31 executable instruction of processor.
Wherein, the processor 31 is configured as:
Receive the network data of the first network status information and task to be loaded of the server that server is sent;
Progress percentage is shown on a progress bar according to the network data received, and according to the of the server One network state information shows the network state of the server, wherein the progress percentage is the network number loaded According to the percentage of the whole network data to be loaded with the task to be loaded.
Figure 16 is a kind of entity block diagram of server shown according to an exemplary embodiment, referring to Fig.1 6, the server Including:Processor 41 and memory 42 for storing 41 executable instruction of processor.
Wherein, the processor 41 is configured as:
Obtain the network data of first network status information and task to be loaded;
The first network status information and the network data are sent to electronic equipment.
Above-mentioned server, electronic equipment physical embodiment in, it should be appreciated that processor can be central processing unit (English:Central Processing Unit, referred to as:CPU), it can also be other general processors, digital signal processor (English:Digital Signal Processor, referred to as:DSP), application-specific integrated circuit (English:Application Specific Integrated Circuit, referred to as:ASIC) etc..General processor can be microprocessor or the processor Can also be any conventional processor etc., and memory above-mentioned can be read-only memory (English:read-only Memory, abbreviation:ROM), random access memory (English:Random access memory, referred to as:RAM), flash Device, hard disk or solid state disk.The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in hardware handles Device executes completion, or in processor hardware and software module combination execute completion.
Figure 17 is a kind of schematic diagram of the loading system of progress bar shown according to an exemplary embodiment, referring to Fig.1 7, The loading system of the progress bar includes:Electronic equipment 51 and server 52;
The electronic equipment 51 is configured as:
Receive the network number of the first network status information and task to be loaded of the server 52 that server 52 is sent According to;
Progress percentage is shown on a progress bar according to the network data received, and according to the server 52 First network status information shows 52 network state of the server, wherein the progress percentage is the network loaded The percentage of data and the whole network data to be loaded of the task to be loaded;
The server 52 is configured as:
Obtain the network data of first network status information and task to be loaded;
The network state information and the network data are sent to electronic equipment 51.
Figure 18 is a kind of block diagram for electronic equipment 800 shown according to an exemplary embodiment.For example, electronic equipment 800 can be mobile phone, computer, digital broadcasting electronic equipment, messaging devices, game console, tablet device, doctor Treat equipment, body-building equipment, personal digital assistant etc..
Referring to Fig.1 8, electronic equipment 800 may include following one or more components:Processing component 802, memory 804, Electric power assembly 806, multimedia component 808, audio component 810, the interface 812 of input/output (I/O), sensor module 814, And communication component 816.
The integrated operation of 802 usual control electronics 800 of processing component, such as with display, call, data are logical Letter, camera operation and record operate associated operation.Processing component 802 may include one or more processors 820 to hold Row instruction, to perform all or part of the steps of the methods described above.In addition, processing component 802 may include one or more moulds Block, convenient for the interaction between processing component 802 and other assemblies.For example, processing component 802 may include multi-media module, with Facilitate the interaction between multimedia component 808 and processing component 802.
Memory 804 is configured as storing various types of data to support the operation in equipment 800.These data are shown Example includes the instruction for any application program or method that are operated on electronic equipment 800, contact data, telephone directory number According to, message, picture, video etc..Memory 804 can by any kind of volatibility or non-volatile memory device or they Combination realize, such as static RAM (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable Programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, quick flashing Memory, disk or CD.
Electric power assembly 806 provides electric power for the various assemblies of electronic equipment 800.Electric power assembly 806 may include power supply pipe Reason system, one or more power supplys and other generated with for electronic equipment 800, management and the associated component of distribution electric power.
Multimedia component 808 is included in the screen of one output interface of offer between the electronic equipment 800 and user. In some embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch surface Plate, screen may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touches Sensor is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding The boundary of action, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, Multimedia component 808 includes a front camera and/or rear camera.When equipment 800 is in operation mode, mould is such as shot When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 810 is configured as output and/or input audio signal.For example, audio component 810 includes a Mike Wind (MIC), when electronic equipment 800 is in operation mode, when such as call model, logging mode and speech recognition mode, microphone It is configured as receiving external audio signal.The received audio signal can be further stored in memory 804 or via logical Believe that component 816 is sent.In some embodiments, audio component 810 further includes a loud speaker, is used for exports audio signal.
I/O interfaces 812 provide interface between processing component 802 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock Determine button.
Sensor module 814 includes one or more sensors, the state for providing various aspects for electronic equipment 800 Assessment.For example, sensor module 814 can detect the state that opens/closes of equipment 800, the relative positioning of component, such as institute The display and keypad that component is electronic equipment 800 are stated, sensor module 814 can also detect electronic equipment 800 or electronics The position change of 800 1 components of equipment, the existence or non-existence that user contacts with electronic equipment 800,800 orientation of electronic equipment Or the temperature change of acceleration/deceleration and electronic equipment 800.Sensor module 814 may include proximity sensor, be configured to It detects the presence of nearby objects without any physical contact.Sensor module 814 can also include optical sensor, such as CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, which can be with Including acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 816 is configured to facilitate the communication of wired or wireless way between electronic equipment 800 and other equipment. Electronic equipment 800 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or combination thereof.Show at one In example property embodiment, communication component 816 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel Relevant information.In one exemplary embodiment, the communication component 816 further includes near-field communication (NFC) module, short to promote Cheng Tongxin.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, electronic equipment 800 can be by one or more application application-specific integrated circuit (ASIC), number Word signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing the above method.
In the exemplary embodiment, it includes the non-transitorycomputer readable storage medium instructed, example to additionally provide a kind of Such as include the memory 804 of instruction, above-metioned instruction can be executed by the processor 820 of electronic equipment 800 to complete the above method.Example Such as, the non-transitorycomputer readable storage medium can be ROM, it is random access memory (RAM), CD-ROM, tape, soft Disk and optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by mobile electronic device When processor executes so that mobile electronic device is able to carry out a kind of loading method of progress bar, the method includes:
Receive the network data of the first network status information and task to be loaded of the server that server is sent;
Progress percentage is shown on a progress bar according to the network data received, and according to the of the server One network state information shows the network state of the server, wherein the progress percentage is the network number loaded According to the percentage of the whole network data to be loaded with the task to be loaded.
Figure 19 is a kind of block diagram for server 900 shown according to an exemplary embodiment.For example, server 900 It may be provided as a server.Referring to Fig.1 9, server 900 includes processing component 922, further comprises one or more Processor, and by the memory resource representated by memory 932, for store can by the instruction of the execution of processing component 922, Such as application program.The application program stored in memory 932 may include it is one or more each correspond to one The module of group instruction.In addition, processing component 922 is configured as executing instruction, to execute the loading method of above method progress bar, The method includes:
Obtain the network data of first network state and task to be loaded;
The first network status information and the network data are sent to electronic equipment.
Server 900 can also include that a power supply module 1926 be configured as the power management of execute server 900, and one A wired or wireless network interface 950 is configured as server 900 being connected to network and input and output (I/O) interface 958.Server 900 can be operated based on the operating system for being stored in memory 932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the present invention Its embodiment.This application is intended to cover the present invention any variations, uses, or adaptations, these modifications, purposes or Person's adaptive change follows the general principle of the present invention and includes the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and true scope and spirit of the invention are by following Claim is pointed out.
It should be understood that the invention is not limited in the precision architectures for being described above and being shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (14)

1. a kind of loading method of progress bar, the method is applied to electronic equipment, and the electronic equipment is configured with display, It is characterized in that, the method includes:
To server transmission data load request, the data load requests are used for the network number of request of loading task to be loaded According to;
Receive the title of the second network state information and the server of the server that the server is sent, described the Two network state informations are the information for the network state that the server does not load the network data foregoing description server;
Show the network state of the server, Yi Jixian on a progress bar according to the second network state information of the server Show the title of the server;
Receive the network number of the first network status information and the task to be loaded of the server that the server is sent It is that the server starts to load the network-like of the server after the network data according to, the first network status information The information of state;
Progress percentage is shown on the progress bar according to the network data received, and according to the of the server One network state information shows the network state of the server, wherein the progress percentage is the network number loaded According to the percentage of the whole network data to be loaded with the task to be loaded.
2. the loading method of progress bar according to claim 1, which is characterized in that the network state passes through the display Network state mark in the display area of device is identified.
3. a kind of loading method of progress bar, the method is applied to electronic equipment, and the electronic equipment is configured with display, It is characterized in that, the method includes:
Receive the network data of the first network status information and task to be loaded of the server that server is sent, described the One network state information is the information that the server starts to load the network state of the server after the network data;
Progress percentage is shown on a progress bar according to the network data received, and according to the first net of the server Network status information shows the network state of the server, wherein the progress percentage be the network data that has loaded with The percentage of the whole network data to be loaded of the task to be loaded;
Detect the sight of user;
If the position that the sight is persistently watched attentively in the given time falls into the display area of the display, and the service The network state of device is congestion, then sends the instruction of server adjust request to the server, wherein the display area is shown There is the progress bar;
It receives the server adjustment that the server returns and responds instruction, the server adjustment response instruction includes after adjusting Server title.
4. the loading method of progress bar according to claim 3, which is characterized in that the network state passes through the display Network state mark in the display area of device is identified.
5. a kind of loading method of progress bar, the method is applied to server, which is characterized in that the method includes:
The data load requests that electronic equipment is sent are received, the data load requests are used for the net of request of loading task to be loaded Network data;
The title of second network state information and the server is sent to the electronic equipment, the second network state letter Breath is the information for the network state that the server does not load the network data foregoing description server;
The network data of first network status information and the task to be loaded is obtained, the first network status information is described Server starts to load the information of the network state of the server after the network data, the network state of the server It changes over time;
The first network status information and the network data are sent to the electronic equipment.
6. a kind of loading method of progress bar, the method is applied to server, which is characterized in that the method includes:
The network data of first network status information and task to be loaded is obtained, the first network status information is the service Device starts to load the information of the network state of the server after the network data, and the network state of the server is at any time Between change;
The first network status information and the network data are sent to electronic equipment;
Receive the server adjust request instruction that the electronic equipment is sent;
It is described that a backup server is selected from least one backup server according to server adjust request instruction Electronic equipment service, using the backup server selected as the server after adjustment;
Server adjustment response instruction is sent to the electronic equipment, the server adjustment response instruction includes the adjustment The title of server afterwards.
7. a kind of loading device of progress bar, described device is applied to electronic equipment, and the electronic equipment is configured with display, It is characterized in that, including:
Second sending module is configured as to server transmission data load request, and the data load requests add for asking Carry the network data of task to be loaded;
Third receiving module is configured as receiving the second network state information and the institute of the server that the server is sent The title of server is stated, second network state information is that the server does not load the network data foregoing description clothes The information of the network state of business device;
Second display module is configured as showing the clothes on a progress bar according to the second network state information of the server The network state of business device, and show the title of the server;
First receiving module is configured as receiving first network status information and the institute of the server that the server is sent State the network data of task to be loaded, the first network status information be the server start to load the network data it The information of the network state of the server afterwards;
First display module, the network data for being configured as being received according to first receiving module is in the progress bar Upper display progress percentage, and show according to the first network status information of the server network state of the server, Wherein, the progress percentage is the network data loaded and the whole network data to be loaded of the task to be loaded Percentage.
8. the loading device of progress bar according to claim 7, which is characterized in that the network state passes through the display Network state mark in the display area of device is identified.
9. a kind of loading device of progress bar, described device is applied to electronic equipment, and the electronic equipment is configured with display, It is characterized in that, including:
First receiving module is configured as receiving the first network status information of the server that server is sent and to be loaded The network data of task, the first network status information are that the server starts to load the clothes after the network data The information of the network state of business device;
First display module, the network data for being configured as being received according to first receiving module is in the progress bar Upper display progress percentage, and show according to the first network status information of the server network state of the server, Wherein, the progress percentage is the network data loaded and the whole network data to be loaded of the task to be loaded Percentage;
Detection module is configured as the sight of detection user;
First sending module is configured as the position that the sight is persistently watched attentively in the given time and falls into the aobvious of the display Show region, and when the network state of the server is congestion, the instruction of server adjust request sent to the server, In, the display area shows the progress bar;
Second receiving module is configured as receiving the server adjustment response instruction that the server returns, the server tune Whole response instruction includes the title of the server after adjustment.
10. the loading device of progress bar according to claim 9, which is characterized in that the network state passes through described aobvious Show that the mark of the network state in the display area of device is identified.
11. a kind of loading device of progress bar, described device is applied to server, which is characterized in that including:
First receiving module is configured as receiving the data load requests that electronic equipment is sent, and the data load requests are used for The network data of request of loading task to be loaded;
Second sending module, is configured as the title of the second network state information and the server being sent to the electronics and sets Standby, second network state information is that the server does not load the network-like of the network data foregoing description server The information of state;
Acquisition module, be configured as obtain first network status information and the task to be loaded network data, described first Network state information is the information that the server starts to load the network state of the server after the network data, institute The network state for stating server changes over time;
First sending module, is configured as the first network status information and the network data being sent to the electronics and sets It is standby.
12. a kind of loading device of progress bar, described device is applied to server, which is characterized in that including:
Acquisition module is configured as obtaining the network data of first network status information and task to be loaded, the first network Status information is the information that the server starts to load the network state of the server after the network data, the clothes The network state of business device changes over time;
First sending module is configured as the first network status information and the network data being sent to electronic equipment;
Second receiving module is configured as receiving the server adjust request instruction that the electronic equipment is sent;
Selecting module selects one with being configured to instruct according to the server adjust request from least one backup server Backup server is the electronic equipment service, using the backup server selected as the server after adjustment;
Third sending module is configured as sending server adjustment response instruction, the server adjustment to the electronic equipment Response instruction includes the title of the server after the adjustment.
13. a kind of loading system of progress bar, which is characterized in that including:Electronic equipment and server;
The electronic equipment is configured as:
To server transmission data load request, the data load requests are used for the network number of request of loading task to be loaded According to;
Receive the title of the second network state information and the server of the server that the server is sent, described the Two network state informations are the information for the network state that the server does not load the network data foregoing description server;
Show the network state of the server, Yi Jixian on a progress bar according to the second network state information of the server Show the title of the server;
Receive the network number of the first network status information and the task to be loaded of the server that the server is sent It is that the server starts to load the network-like of the server after the network data according to, the first network status information The information of state;
Progress percentage is shown on the progress bar according to the network data received, and according to the of the server One network state information shows the network state of the server, wherein the progress percentage is the network number loaded According to the percentage of the whole network data to be loaded with the task to be loaded;
The server is configured as:
The data load requests that the electronic equipment is sent are received, the data load requests are used for request of loading task to be loaded Network data;
The title of second network state information and the server is sent to the electronic equipment, described second is network-like State information is the information for the network state that the server does not load the network data foregoing description server;
The network data of the first network status information and the task to be loaded is obtained, the first network status information is The server starts to load the information of the network state of the server after the network data, the network of the server State changes over time;
The first network status information and the network data are sent to the electronic equipment.
14. a kind of loading system of progress bar, which is characterized in that including:Electronic equipment and server;
The electronic equipment is configured as:
Receive the network data of the first network status information and task to be loaded of the server that server is sent, first net Network status information is the information that the server starts to load the network state of the server after the network data;
Progress percentage is shown on a progress bar according to the network data received, and according to the first net of the server Network status information shows the network state of the server, wherein the progress percentage be the network data that has loaded with The percentage of the whole network data to be loaded of the task to be loaded;
Detect the sight of user;
If the position that the sight is persistently watched attentively in the given time falls into the display area of the display, and the service The network state of device is congestion, then sends the instruction of server adjust request to the server, wherein the display area is shown There is the progress bar;
It receives the server adjustment that the server returns and responds instruction, the server adjustment response instruction includes after adjusting Server title;
The server is configured as:
The network data of the first network status information and the task to be loaded is obtained, the first network status information is The server starts to load the information of the network state of the server after the network data, the network of the server State changes over time;
The first network status information and the network data are sent to the electronic equipment;
Receive the server adjust request instruction that the electronic equipment is sent;
It is described that a backup server is selected from least one backup server according to server adjust request instruction Electronic equipment service, using the backup server selected as the server after adjustment;
Server adjustment response instruction is sent to the electronic equipment, the server adjustment response instruction includes the adjustment The title of server afterwards.
CN201510549925.6A 2015-08-31 2015-08-31 The loading method of progress bar, device and system Active CN105159676B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510549925.6A CN105159676B (en) 2015-08-31 2015-08-31 The loading method of progress bar, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510549925.6A CN105159676B (en) 2015-08-31 2015-08-31 The loading method of progress bar, device and system

Publications (2)

Publication Number Publication Date
CN105159676A CN105159676A (en) 2015-12-16
CN105159676B true CN105159676B (en) 2018-10-26

Family

ID=54800543

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510549925.6A Active CN105159676B (en) 2015-08-31 2015-08-31 The loading method of progress bar, device and system

Country Status (1)

Country Link
CN (1) CN105159676B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106331140A (en) * 2016-08-31 2017-01-11 北京小米移动软件有限公司 Method and device for loading network data
CN107291852B (en) * 2017-06-07 2021-01-22 北京金山安全软件有限公司 Progress bar display optimization method and device and electronic equipment
CN107343099B (en) * 2017-07-03 2020-05-01 深圳先锋居善科技有限公司 Mobile terminal data loading method and device
CN107733744A (en) * 2017-11-30 2018-02-23 北京酷我科技有限公司 A kind of method of iOS network real-time monitorings
CN112486783B (en) * 2020-11-25 2022-09-27 建信金融科技有限责任公司 Progress bar display method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104778055B (en) * 2014-01-15 2020-11-06 腾讯科技(深圳)有限公司 Method and device for displaying progress bar
CN104199946B (en) * 2014-09-10 2018-11-06 北京金山安全软件有限公司 Method and device for displaying loading progress of webpage information
CN104735151A (en) * 2015-03-30 2015-06-24 努比亚技术有限公司 Process bar control method, device and system

Also Published As

Publication number Publication date
CN105159676A (en) 2015-12-16

Similar Documents

Publication Publication Date Title
US20170344192A1 (en) Method and device for playing live videos
US9667774B2 (en) Methods and devices for sending virtual information card
CN110868626B (en) Method and device for preloading content data
US20160352661A1 (en) Video communication method and apparatus
US10558511B2 (en) Method and device for evaluating system fluency, and UE
CN105159676B (en) The loading method of progress bar, device and system
RU2638154C2 (en) Methods and devices for number labeling
US10379602B2 (en) Method and device for switching environment picture
US10523494B2 (en) Method and apparatus for processing network failure
US20170171321A1 (en) Methods and devices for managing accounts
CN108833262B (en) Session processing method, device, terminal and storage medium
EP2988205A1 (en) Method and device for transmitting image
US20170249513A1 (en) Picture acquiring method, apparatus, and storage medium
RU2645282C2 (en) Method and device for calling via cloud-cards
US20180144546A1 (en) Method, device and terminal for processing live shows
CN107454204B (en) User information labeling method and device
EP3015965A1 (en) Method and apparatus for prompting device connection
KR20170012979A (en) Electronic device and method for sharing image content
CN110932963A (en) Multimedia resource sharing method, system, device, terminal, server and medium
US20220391446A1 (en) Method and device for data sharing
CN113490010A (en) Interaction method, device and equipment based on live video and storage medium
CN107272896B (en) Method and device for switching between VR mode and non-VR mode
CN109618192B (en) Method, device, system and storage medium for playing video
CN108629814B (en) Camera adjusting method and device
JP6279815B2 (en) Method and apparatus for reporting status

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant