CN102801605B - Method and device for displaying information - Google Patents

Method and device for displaying information Download PDF

Info

Publication number
CN102801605B
CN102801605B CN201210031649.0A CN201210031649A CN102801605B CN 102801605 B CN102801605 B CN 102801605B CN 201210031649 A CN201210031649 A CN 201210031649A CN 102801605 B CN102801605 B CN 102801605B
Authority
CN
China
Prior art keywords
information
total number
less
system internal
last bar
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
CN201210031649.0A
Other languages
Chinese (zh)
Other versions
CN102801605A (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.)
Beijing Star Net Ruijie Networks Co Ltd
Original Assignee
Beijing Star Net Ruijie Networks Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Star Net Ruijie Networks Co Ltd filed Critical Beijing Star Net Ruijie Networks Co Ltd
Priority to CN201210031649.0A priority Critical patent/CN102801605B/en
Publication of CN102801605A publication Critical patent/CN102801605A/en
Application granted granted Critical
Publication of CN102801605B publication Critical patent/CN102801605B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention relates to the technical field of computer application, and especially relates to a method and a device for displaying information, wherein the method and the device are used for solving the problem of failure in displaying the obtained information in real time in the prior art. The method comprises the following steps of: orderly obtaining each piece of to-be-displayed information, when obtaining the current piece of information, executing the following process of: judging whether the total quantity of the currently obtained information is not more than a preset total amount, moreover, judging whether the total number of the obtained information is not more than the total number of information in the system; if so, displaying the obtained current piece of information; if not, judging whether to continue to obtain the current piece of information; or, if so, storing the current piece of information in the buffer memory; when all the information which is not displayed in the buffer memory meets a predetermined condition, displaying all the information which is not displayed in the buffer memory; and if not, ending the operation. So, the method can display the obtained information in real time.

Description

A kind of method and apparatus showing information
Technical field
The present invention relates to Computer Applied Technology field, particularly relate to a kind of method and apparatus showing information.
Background technology
Switch is the aggregate of traffic bogey, switching stage, control and signaling equipment and other functional units on network node.Exchange function the request of subscriber's line, telecommunication circuit and/or other functional unit unique users that will interconnect is coupled together.Usually need before use to configure or initial work switch according to practical application scene, and these are all come based on its operating system (Internetwork Operation System, IOS) to the operation of switch;
Router is the equipment connecting each local area network (LAN), wide area network in internet, and it can automatically be selected according to the situation of channel and set route, with optimal path, the equipment sending signal by tandem.Router is hinge, " traffic-police " of internet; Current router is widely used in all trades and professions, and the product of various different class has become and realizes that various backbone network inside connects, the main force of key internetworking and backbone network and internet interconnection business.Identical with switch, need before using necessarily to configure or initial work it based on IOS;
When switch or router device break down, usually need collection information, such as, in IOS existing configuration, packet sending and receiving situation etc., and information is outputted to can be shown on the interface of user, help user's failure judgement reason; The method of output information is as follows:
When getting an information, this information is outputted in buffer memory, until by need export information all put into this buffer memory after, by all information by interface display to user;
The present inventor finds, prior art exists following defect:
The first, prior art can not in real time to user's output information; When there is bulk information, after must waiting until that all information is all stored into buffer memory, can successively by information displaying to user, now, user need wait for for a long time;
The second, CPU usage is high.Put into buffering because all information first all travels through out by needs, must consume cpu resource, what the task that particularly priority is higher was particularly evident takies CPU;
3rd, take a large amount of internal memory.All put into buffer memory due to all information and do not export, must cause taking a large amount of internal memories;
4th, when the memory headroom needed for information is greater than the memory headroom shared by buffer memory, just there will be the phenomenon of drop-out.
Summary of the invention
The embodiment of the present invention provides a kind of method of obtaining information, for solving the problem that cannot show the information got in prior art in real time.
Show a method for information, described method comprises:
Obtain each information to be shown successively, and when getting when last bar information, perform:
Judge whether the current informational capacity got is less than or equal to the total amount pre-set, and whether all information total numbers got are less than or equal to system internal information total number;
If be less than or equal to, what display obtained works as last bar information; If be greater than, judge whether to continue to obtain when last bar information; Or,
If be less than or equal to, by described when last bar information is stored in buffer memory; When the information do not shown all in buffer memory meets pre-conditioned, all information do not shown in buffer memory are shown; If be greater than, end operation.
Show a method for information, described method comprises:
Obtain each information to be shown successively, and when getting when last bar information, by described when last bar information is stored in buffer memory;
Judge whether the current informational capacity got is less than or equal to the total amount pre-set, and whether all information total numbers got are less than or equal to system internal information total number;
If be less than or equal to, using described next information when last bar information as working as last bar information;
If be greater than, will the described all information displaying got before last bar information obtained to user.
Show an equipment for information, described equipment comprises:
Acquiring unit, for obtaining each information to be shown successively;
First judging unit, for getting when last bar information at described acquiring unit, perform: judge whether the current informational capacity got is less than or equal to the total amount pre-set, and whether all information total numbers got are less than or equal to system internal information total number;
First performance element, for determining that the current informational capacity got is less than or equal to the total amount pre-set when described performance element, further, when all information total numbers got are less than or equal to system internal information total number, perform: what display obtained works as last bar information; Or, by described when last bar information is stored in buffer memory, when the information do not shown all in buffer memory meets pre-conditioned, all information do not shown in buffer memory are shown;
Second performance element, for determining that the current informational capacity got is greater than the total amount pre-set when described performance element, further, when all information total numbers got are greater than system internal information total number, perform: judge whether to continue to obtain when last bar information; Or, end operation.
Show an equipment for information, described equipment comprises:
Obtain storage unit, for obtaining each information to be shown successively, and when getting when last bar information, by described when last bar information is stored in buffer memory;
Second judging unit, for judging whether the current informational capacity got is less than or equal to the total amount pre-set, and whether all information total numbers got are less than or equal to system internal information total number;
3rd performance element, for determining that the current informational capacity got is less than or equal to the total amount pre-set when described judging unit, and, when all information total numbers got are less than or equal to system internal information total number, using described next information when last bar information as working as last bar information;
4th performance element, for determining that the current informational capacity got is greater than the total amount pre-set when described judging unit, and, when all information total numbers got are greater than system internal information total number, will the described all information displaying got before last bar information obtained to user.
Visible, adopt the method that the embodiment of the present invention provides, when getting when last bar information, determining that the current informational capacity got is less than or equal to the total amount pre-set, and, when all information total numbers got are less than or equal to system internal information total number, what display obtained works as last bar information; By described when last bar information is stored in buffer memory; When the information do not shown all in buffer memory meets pre-conditioned, all information do not shown in buffer memory are shown; Visible, the method does not need all information all to get after in buffer memory, just can show, but when getting the information of specified quantity, just can show, and therefore, can realize the scheme showing obtaining information in real time.
Accompanying drawing explanation
A kind of method flow schematic diagram showing information that Fig. 1 provides for the embodiment of the present invention;
The method flow schematic diagram of the first the display information that Fig. 2 provides for the embodiment of the present invention one;
The method flow schematic diagram of the second display information that Fig. 3 A provides for the embodiment of the present invention two;
The method flow schematic diagram of the third display information that Fig. 3 B provides for the embodiment of the present invention three;
The structural representation of the first display device that Fig. 4 provides for the embodiment of the present invention;
The structural representation of the second display device that Fig. 5 provides for the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of method showing information, the method is when getting when last bar information, determining that the current informational capacity got is less than or equal to the total amount pre-set, and, when all information total numbers got are less than or equal to system internal information total number, what display obtained works as last bar information; By described when last bar information is stored in buffer memory; When the information do not shown all in buffer memory meets pre-conditioned, all information do not shown in buffer memory are shown; Visible, the method does not need all information all to get after in buffer memory, just can show, but when getting the information of specified quantity, just can show.As shown in Figure 1, the detailed process of the method for the first display information is as follows:
Step 11, obtains each information to be shown successively, and when getting when last bar information, performs:
Step 12, judges whether the current informational capacity got is less than or equal to the total amount pre-set, and whether all information total numbers got are less than or equal to system internal information total number;
Step 13, if be less than or equal to, what display obtained works as last bar information; If be greater than, judge whether to continue to obtain when last bar information; Or, if be less than or equal to, by described when last bar information is stored in buffer memory; When the information do not shown all in buffer memory meets pre-conditioned, all information do not shown in buffer memory are shown; If be greater than, end operation.
Concrete, described in judge whether to continue to obtain when last bar information comprises:
Judge whether all information total numbers got are less than or equal to system internal information total number;
If be less than or equal to system internal information total number, whether prompting user continues obtaining information; After the confirmation receiving user's transmission, using the Article 1 information do not shown as working as last bar information; If be greater than system internal information total number, the display of prompting user profile is complete.
Concrete, described when the information do not shown all in buffer memory meets pre-conditioned, the information do not shown all in buffer memory is carried out display and comprises:
Judge whether the total amount of the information do not shown in buffer memory equals the total amount pre-set, or whether all information total numbers got equal system internal information total number;
If YES, all information do not shown in buffer memory are shown;
If NO, using described next information when last bar information as when last bar information.
Concrete, by described all information displaying to user after, comprise further:
Judge whether all information total numbers got are less than system internal information total number;
If be less than system internal information total number, whether prompting user continues obtaining information; After the confirmation receiving user's transmission, using the Article 1 information do not shown as working as last bar information;
If be more than or equal to system internal information total number, the display of prompting user profile is complete.
The detailed process of the method for the second display information is as follows:
Steps A, obtains each information to be shown successively, and when getting when last bar information, by described when last bar information is stored in buffer memory;
Step B, judges whether the current informational capacity got is less than or equal to the total amount pre-set, and whether all information total numbers got are less than or equal to system internal information total number;
Step C, if be less than or equal to, using described next information when last bar information as working as last bar information; If be greater than, will the described all information displaying got before last bar information obtained to user.
Concrete, by described all information displaying to user after, comprise further:
Judge whether all information total numbers got are less than system internal information total number;
If be less than system internal information total number, whether prompting user continues obtaining information; After the confirmation receiving user's transmission, using the Article 1 information do not shown as working as last bar information;
If be more than or equal to system internal information total number, the display of prompting user profile is complete.
Concrete, by all information displaying to user after and before judging whether all information total numbers got are less than system internal information total number, comprise further: by the information deletion in buffer memory.
Be introduced with specific embodiment below:
Embodiment one:
The embodiment of the present invention one provides the method for the first display information, and the method can when often obtaining an information, just by the information displaying that gets to user, and point out user whether to continue acquisition follow-up, as shown in Figure 2, detailed process is as follows:
Step 21, user inputs by the interface of operating system the total amount pre-set, such as, the information total number shown, conveniently introduces herein, and the total amount pre-set is set to total number, and be 3, namely user wishes to show 3 information on screen at every turn; And system internal information total number is 5;
Step 22, judges whether the current information total number got is less than or equal to the total number pre-set, and whether all information total numbers got are less than or equal to system internal information total number; If be less than or equal to, perform step 23; If be greater than, perform step 24;
The current information total number got is in the operating process of epicycle obtaining information, the total number of the current information got;
All information total numbers got are the operating process of epicycle obtaining information, and all total numbers of taking turns all information got in operating process before epicycle operating process;
Conveniently introduce, be introduced with first, second point below:
First point, when user's first time, to arrange total number be 3 by interface, now, can be described as first round operation, will carry out 3 cyclings in the acquisition process that this first round operates by the process obtaining these 3 information, such as:
In first time cycling, first time gets an information, then the current information total number got is 1; Now, all information total numbers got are 1;
In second time cycling, second time gets an information, then the current information total number got is 2; Now, all information total numbers got are 2;
In third time cycling, third time gets an information, then the current information total number got is 3; Now, all information total numbers got are 3;
Second point, when to arrange total number be 3 to user's second time by interface, now, can be described as second by the process obtaining these 3 information and takes turns operation, second takes turns in the acquisition process of operation at this and will carry out 3 cyclings, such as:
In first time cycling, first time gets an information, then the current information total number got is 1; Now, all information total numbers got are 4;
In second time cycling, second time gets an information, then the current information total number got is 2; Now, all information total numbers got are 5;
In third time cycling, third time gets an information, then the current information total number got is 3; Now, all information total numbers got are 6; Due to now, all information total numbers got are greater than system internal information total number, then do not had information to show in illustrative system, therefore, need perform step 24;
Step 23, by the current information got by interface display to user; And continue step 22;
When user arranges total number by interface first time, after having carried out three cyclings to step 22 to step 23, on interface, first time has shown 3 information to user;
Step 24, judges whether all information total numbers got are less than or equal to system internal information total number; Point out user whether to continue obtaining information when determining to be less than; If be not less than, the display of prompting user profile is complete;
In this step, in first time after user's display information, also remaining 2 information in system can show, and therefore whether first time prompting user continues obtaining information;
Step 25, after the confirmation receiving user's input, obtains the current information got as when last bar information, and the Article 1 information being about to the information do not shown, as when last bar information, continues to perform step 22 to step 25; Otherwise, end operation.
In this step, after whether first time prompting user continues obtaining information, after receiving the confirmation of user's input, acquiescence is taken turns in operation second also needs acquisition 3 information, now, using intrasystem 4th article of information as second taking turns in operation, first time cycling when last article of information, namely need the information obtained in step 22;
The available following endless form explanation of the present embodiment one, this cycling is used for realizing often obtaining an information, a display information, when the total amount of the information shown reaches the total number that user pre-sets, and when system inner information can show, whether prompting user continues obtaining information, conveniently introducing the following total number arranged is 3, and system internal information total number is 5; A is the total number of the current information got; B is the total number of all information got;
Steps A, obtains a article of information, and namely the initial value of a is the initial value of 1, b is 1, and performs step B; If there is no, then point out user profile display complete;
Step B, judges whether a≤3, and, b≤5; When being judged as YES, showing a article of information and performing step e; When being judged as NO, perform step C;
Step C, judges whether b≤5, if so, performs step D; If not, point out user profile display complete;
Step D, whether prompting user continues display information, after receiving the confirmation information, obtains a article of information, performs step F;
Step e, a=a+1, b=b+1 also perform steps A;
Step F, a=1, and perform step B;
The specific embodiments of the present embodiment is as follows:
When only having 5 information in system, and be respectively A, B, C, D, E, when the total number pre-set of user's input is 3, after receiving acquisition order, obtain Article 1 information A, now, a=1, b=1, be then shown to user by Article 1 information A, now step C is no, then a=2, b=2 obtain Article 2 information B, and Article 2 information B is shown to user, now step C is no, then a=3, b=3 obtain Article 3 information C, and Article 3 information C is shown to user, now step C is yes, and whether prompting user continues obtaining information; After receiving the confirmation of user, a=4, b=1 also perform the operations such as follow-up acquisition;
Embodiment two:
The embodiment of the present invention two provides the second to show the method for information, the method is used for the information got to put into buffer memory successively, until the information in buffer memory reaches the total amount pre-set, or when not having information to obtain, by the information displaying in buffer memory to user, the method, relative to embodiment one, all shows owing to not needing the information to obtaining at every turn, therefore, the workload of CPU can be reduced; In the method, the current information total number that got and all information total numbers got can reference examples one, and as shown in Figure 3A, the method detailed process is as follows:
Step 31, user inputs the total amount pre-set in interface;
Such as, the information total number that show, conveniently introduces herein, the total amount pre-set is set to the total number pre-set, and is 3, and system internal information total number is 5, specifically see embodiment one;
Step 32, judges whether the current information total number got is less than or equal to the total number pre-set, and whether all information total numbers got are less than or equal to system internal information total number; When determining to be less than or equal to, perform step 33; Otherwise, end operation;
This step can see the step 23 in embodiment one;
Step 33, will work as last bar information and put into buffer memory;
The method that embodiment one provides is acquisition information displaying information, and this will increase the workload of CPU greatly; The method that the present embodiment provides works as last bar information by what get, after carrying out judgement operation, if meet Rule of judgment, will put into when last bar information cache, when the number in buffer memory reaches the total number 3 of user's setting, these 3 information are shown to user simultaneously;
Step 34, judges whether the information total number do not shown in buffer memory equals the total number pre-set, or whether all information total numbers got equal system internal information total number; If equaled, then all information do not shown in buffer memory are all shown to user, and perform step 35; Otherwise, using get when next information of last bar information is as current information, perform step 32;
When user's first time, to arrange total number be 3 by interface, 3 cyclings will be carried out in the acquisition process that this first round operates, such as:
In first time cycling, first time gets an information, and the information total number do not shown in buffer memory is 1; Now, all information total numbers got are 1; The information total number now do not shown in buffer memory is less than the total number pre-set, and all information total numbers got are less than system internal information total number, therefore, continues to obtain next information, and the information got is put into buffer memory;
In second time cycling, second time gets an information, then the information total number do not shown in buffer memory is 2; Now, all information total numbers got are 2; The information total number now do not shown in buffer memory is less than the total number pre-set, and all information total numbers got are less than system internal information total number, therefore, continues to obtain next information, and the information got is put into buffer memory;
In third time cycling, third time gets an information, then the information total number do not shown in buffer memory is 3; Now, all information total numbers got are 3, and the information got is put into buffer memory;
After third time, cycling completed, the information total number do not shown in buffer memory equals the total number pre-set, and is namely all 3, therefore, all information do not shown in buffer memory is all shown to user, and performs step 35;
Step 35, when determining that all information total numbers got are less than system internal information total number, whether prompting user continues obtaining information; When all information total numbers got are more than or equal to system internal information total number, prompting user profile obtains complete; After receiving the confirmation information, using the Article 1 information do not shown as working as last bar information, continue to perform step 32 to step 35;
Preferably, can by information displaying to user after, before judging whether all information total numbers got are less than or equal to system internal information total number, the information in buffer memory is all deleted to discharge spatial cache;
Now, show 3 information to user when completing steps 34, now all information total numbers got 3 are less than system internal information total number 5, and namely also surplus 2 information do not show, and therefore, whether prompting user continues obtaining information; After receiving the confirmation information, using the 4th article of information as working as last article of information, and step 32 needs the information of acquisition;
The available following endless form of the present embodiment two illustrates, a is the total number of the current information got; B is the total number of all information got; Conveniently introducing the following total number arranged is 3, and system internal information total number is 5;
1. step, obtains a article of information, and namely the initial value of a is the initial value of 1, b is 1; Otherwise the display of prompting user profile is complete;
2. step, judges whether a≤3, and, whether b≤5; When being judged as YES, perform step 3.; When being judged as NO, end operation;
3. a article of information got, is put into buffer memory by step, and now the total number of buffer memory internal information is a;
4. step, judges whether a=3 or b=5, when being judged as YES, a bar information got all being shown to user, and emptying buffer memory, performs step 5.; When being judged as NO, perform step 6.;
5. step, is determining a=3, but during b < 5, then point out user whether continue obtaining information, after receiving confirmation, a=1, b=b+1 continue perform step 1. to step 5.; Otherwise end operation;
6., 1. a=a+1, b=b+1 also perform step to step;
The specific embodiments of the present embodiment is as follows:
5 information are had in system, and be respectively A, B, C, D, E, the total number pre-set of now user's input is 3, after receiving acquisition order, obtain Article 1 information A, and by Article 1 information A stored in buffer memory, now a=1, b=1, perform a=a+1, b=b+1, now, a=2, obtain Article 2 information B, and by Article 2 information B stored in buffer memory, now a=2, b=2, perform a=a+1, b=b+1, now, a=3, b=3, obtain Article 3 information C, and by Article 3 information C stored in buffer memory, now b equals 3, therefore, by front 3 information, i.e. A, B, C is shown to user, all information in buffer memory are all deleted simultaneously, now determine a=3, but b < 5, then point out user whether to continue obtaining information, after receiving confirmation, a=1, b=b+1, namely obtain from Article 4 information,
Embodiment three:
The embodiment of the present invention three provides the method for the third display information, and the difference of the method that the method and embodiment two provide is:
In embodiment two after getting information, first judge, after meeting Rule of judgment, just put into buffer memory, therefore, the information can directly do not shown in display buffer during display; In embodiment three after getting information, first information is put into buffer memory, and then judge, therefore, when showing, display is the information got;
As shown in Figure 3 B, embodiment three provide method in the current information total number that got and all information total numbers got can reference example one, detailed process is as follows:
Step 301, user inputs the total amount pre-set in interface;
Such as, the information total number that show, conveniently introduces herein, the total amount pre-set is set to the total number pre-set, and is 3, and system internal information total number is 5;
Step 302, obtains when last bar information in the information be never acquired according to the order of sequence, and works as last bar information stored in buffer memory by what get, and performs step 303;
This step is with the difference of step 32 in embodiment one, after getting information, the information of acquisition is put into buffer memory, then just performs the judgement operation of subsequent step;
Step 303, judges whether the current information total number got is less than or equal to the total number pre-set, and whether all information total numbers got are less than or equal to system internal information total number, when determining to be less than or equal to, performs step 304; Otherwise perform step 305;
Step 304, using next information working as last bar information got as working as last bar information, performs step 303;
The all information got before last bar information in acquisition are all shown to user by step 305; Then step 306 is performed;
Because the present embodiment first deposits as buffer memory just judges, therefore, when the information in buffer memory after last bar information is stored in buffer memory will likely be greater than default total number, be therefore that all information got before last bar information in acquisition are all shown to user;
Step 306, when determining that all information total numbers got are less than system internal information total number, whether prompting user continues obtaining information, after receiving the confirmation information, using the Article 1 information do not shown as working as last bar information, continue to perform step 302 to step 306; When determining that all information total numbers got are more than or equal to system internal information total number, prompting user profile obtains complete;
Preferably, by information displaying to user after, and before judging whether all information total numbers got are less than or equal to system internal information total number, also comprise and the information in buffer memory all deleted to discharge spatial cache;
Because the information in buffer memory may be greater than default total number in this step, therefore, need to use all information total numbers of having got and system internal information total number to compare, instead of the information do not shown in use buffer memory and system internal information total number compare.
In the present embodiment two and embodiment three, the total amount pre-set can also be the size of information shared memory headroom in the buffer, the memory size namely pre-set, and now, describedly judges whether the informational capacity in buffer memory is less than the total amount pre-set, comprising:
Judge whether the current information total number got is less than or equal to the number pre-set; Or, judge whether the shared in the buffer memory size of the information that ought get is less than or equal to the memory size pre-set.
Preferably, in above-described embodiment, when user checks information in first time, if when not inputting the total amount pre-set, the total amount pre-set can be the default value that operating personnel are arranged; When not being when first time checking information, when user does not input the total amount pre-set, using the total amount pre-set of user's last time input as current check information time the total amount pre-set.
As shown in Figure 4, the embodiment of the present invention provides the equipment of the first display information, and described equipment comprises:
Acquiring unit 41, for obtaining each information to be shown successively;
First judging unit 42, for when described acquiring unit 41 gets when last bar information, perform: judge whether the current informational capacity got is less than or equal to the total amount pre-set, and whether all information total numbers got are less than or equal to system internal information total number;
First performance element 43, for determining that the current informational capacity got is less than or equal to the total amount pre-set when described performance element, further, when all information total numbers got are less than or equal to system internal information total number, perform: what display obtained works as last bar information; Or, by described when last bar information is stored in buffer memory, when the information do not shown all in buffer memory meets pre-conditioned, all information do not shown in buffer memory are shown;
Second performance element 44, for determining that the current informational capacity got is greater than the total amount pre-set when described performance element, further, when all information total numbers got are greater than system internal information total number, perform: judge whether to continue to obtain when last bar information; Or, end operation.
Second performance element 44 specifically for:
Judge whether all information total numbers got are less than or equal to system internal information total number;
If be less than or equal to system internal information total number, whether prompting user continues obtaining information; After the confirmation receiving user's transmission, using the Article 1 information do not shown as working as last bar information;
If be greater than system internal information total number, the display of prompting user profile is complete.
First performance element 43 specifically for:
Judge whether the total amount of the information do not shown in buffer memory equals the total amount pre-set, or whether all information total numbers got equal system internal information total number;
If YES, all information do not shown in buffer memory are shown;
If NO, using described next information when last bar information as when last bar information.
Described equipment also comprises:
First Tip element 45, for judging whether all information total numbers got are less than system internal information total number; If be less than system internal information total number, whether prompting user continues obtaining information; After the confirmation receiving user's transmission, using the Article 1 information do not shown as working as last bar information; If be more than or equal to system internal information total number, the display of prompting user profile is complete.
As shown in Figure 5, the embodiment of the present invention provides the second to show the equipment of information, and described equipment comprises:
Obtain storage unit 51, for obtaining each information to be shown successively, and when getting when last bar information, by described when last bar information is stored in buffer memory;
Second judging unit 52, for judging whether the current informational capacity got is less than or equal to the total amount pre-set, and whether all information total numbers got are less than or equal to system internal information total number;
3rd performance element 53, for determining that the current informational capacity got is less than or equal to the total amount pre-set when described judging unit, and, when all information total numbers got are less than or equal to system internal information total number, using described next information when last bar information as working as last bar information;
4th performance element 54, for determining that the current informational capacity got is greater than the total amount pre-set when described judging unit, and, when all information total numbers got are greater than system internal information total number, will the described all information displaying got before last bar information obtained to user.
Described equipment also comprises:
Second Tip element 55, for judging whether all information total numbers got are less than system internal information total number; If be less than system internal information total number, whether prompting user continues obtaining information; After the confirmation receiving user's transmission, using the Article 1 information do not shown as working as last bar information; If be more than or equal to system internal information total number, the display of prompting user profile is complete.
Described equipment also comprises:
Delete cells 56, for by the information deletion in buffer memory.
In sum, beneficial effect:
Visible, adopt the method that the embodiment of the present invention provides, when getting when last bar information, determining that the current informational capacity got is less than or equal to the total amount pre-set, and, when all information total numbers got are less than or equal to system internal information total number, what display obtained works as last bar information; By described when last bar information is stored in buffer memory; When the information do not shown all in buffer memory meets pre-conditioned, all information do not shown in buffer memory are shown; Visible, the method does not need all information all to get after in buffer memory, just can show, but when getting the information of specified quantity, just can show, and therefore, can realize the scheme showing obtaining information in real time;
Preferably, by information displaying to user after, the information in buffer memory is all deleted to discharge spatial cache, can taking spatial cache be greatly reduced.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store, CD-ROM, optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Although describe the preferred embodiments of the present invention, those skilled in the art once obtain the basic creative concept of cicada, then can make other change and amendment to these embodiments.So claims are intended to be interpreted as comprising preferred embodiment and falling into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (14)

1. show a method for information, it is characterized in that, described method comprises:
Obtain each information to be shown successively, and when getting when last bar information, perform:
Judge whether that the current informational capacity got is less than or equal to the total amount pre-set, and all information total numbers got are less than or equal to system internal information total number; Afterwards, any one scheme in following scheme is performed:
Scheme one: what if so, show acquisition works as last bar information; If not, judge whether to continue to obtain when last bar information;
Scheme two: if so, work as last bar information stored in buffer memory by described; When the information do not shown all in buffer memory meets pre-conditioned, all information do not shown in buffer memory are shown; If not, end operation.
2. the method for claim 1, is characterized in that, described in judge whether to continue to obtain to comprise when last bar information:
Judge whether all information total numbers got are less than or equal to system internal information total number;
If be less than or equal to system internal information total number, whether prompting user continues obtaining information; After the confirmation receiving user's transmission, using the Article 1 information do not shown as working as last bar information;
If be greater than system internal information total number, the display of prompting user profile is complete.
3. the method for claim 1, is characterized in that, described when the information do not shown all in buffer memory meets pre-conditioned, the information do not shown all in buffer memory is carried out display and comprises:
Judge whether the total amount of the information do not shown in buffer memory equals the total amount pre-set, or whether all information total numbers got equal system internal information total number;
If YES, all information do not shown in buffer memory are shown;
If NO, using described next information when last bar information as when last bar information.
4. the method for claim 1, is characterized in that, by described all information displaying to user after, comprise further:
Judge whether all information total numbers got are less than system internal information total number;
If be less than system internal information total number, whether prompting user continues obtaining information; After the confirmation receiving user's transmission, using the Article 1 information do not shown as working as last bar information;
If be more than or equal to system internal information total number, the display of prompting user profile is complete.
5. show a method for information, it is characterized in that, described method comprises:
Obtain each information to be shown successively, and when getting when last bar information, by described when last bar information is stored in buffer memory;
Judge whether the current informational capacity got is less than or equal to the total amount pre-set, and whether all information total numbers got are less than or equal to system internal information total number; The total amount pre-set is set to total number, and the current information total number got is in the operating process of epicycle obtaining information, the total number of the current information got; All information total numbers got are the operating process of epicycle obtaining information, and all total numbers of taking turns all information got in operating process before epicycle operating process;
If be less than or equal to, using described next information when last bar information as working as last bar information;
If be greater than, will the described all information displaying got before last bar information obtained to user.
6. method as claimed in claim 5, is characterized in that, by described all information displaying to user after, comprise further:
Judge whether all information total numbers got are less than system internal information total number;
If be less than system internal information total number, whether prompting user continues obtaining information; After the confirmation receiving user's transmission, using the Article 1 information do not shown as working as last bar information;
If be more than or equal to system internal information total number, the display of prompting user profile is complete.
7. method as claimed in claim 6, is characterized in that, by all information displaying to user after and before judging whether all information total numbers got are less than system internal information total number, comprise further:
By the information deletion in buffer memory.
8. show an equipment for information, it is characterized in that, described equipment comprises:
Acquiring unit, for obtaining each information to be shown successively;
First judging unit, for getting when last bar information at described acquiring unit, perform: judge whether the current informational capacity got is less than or equal to the total amount pre-set, and whether all information total numbers got are less than or equal to system internal information total number;
First performance element, for determining that the current informational capacity got is less than or equal to the total amount pre-set when described first judging unit, and, when all information total numbers got are less than or equal to system internal information total number, perform any one in following two kinds of operations: display obtain when last bar information; Or, by described when last bar information is stored in buffer memory, when the information do not shown all in buffer memory meets pre-conditioned, all information do not shown in buffer memory are shown;
Second performance element, for determining that the current informational capacity got is greater than the total amount pre-set when described first judging unit, and, when all information total numbers got are greater than system internal information total number, perform any one in following two kinds of operations: judge whether to continue to obtain when last bar information; Or, end operation.
9. equipment as claimed in claim 8, is characterized in that, the second performance element specifically for:
Judge whether all information total numbers got are less than or equal to system internal information total number;
If be less than or equal to system internal information total number, whether prompting user continues obtaining information; After the confirmation receiving user's transmission, using the Article 1 information do not shown as working as last bar information;
If be greater than system internal information total number, the display of prompting user profile is complete.
10. equipment as claimed in claim 8, is characterized in that, the first performance element specifically for:
Judge whether the total amount of the information do not shown in buffer memory equals the total amount pre-set, or, all letters got
Whether breath total number equals system internal information total number;
If YES, all information do not shown in buffer memory are shown;
If NO, using described next information when last bar information as when last bar information.
11. equipment as claimed in claim 8, it is characterized in that, described equipment also comprises:
First Tip element, for judging whether all information total numbers got are less than system internal information total number; If be less than system internal information total number, whether prompting user continues obtaining information; After the confirmation receiving user's transmission, using the Article 1 information do not shown as working as last bar information; If be more than or equal to system internal information total number, the display of prompting user profile is complete.
12. 1 kinds of equipment showing information, it is characterized in that, described equipment comprises:
Obtain storage unit, for obtaining each information to be shown successively, and when getting when last bar information, by described when last bar information is stored in buffer memory;
Second judging unit, for judging whether the current informational capacity got is less than or equal to the total amount pre-set, and whether all information total numbers got are less than or equal to system internal information total number; The total amount pre-set is set to total number, and the current information total number got is in the operating process of epicycle obtaining information, the total number of the current information got; All information total numbers got are the operating process of epicycle obtaining information, and all total numbers of taking turns all information got in operating process before epicycle operating process;
3rd performance element, for determining that the current informational capacity got is less than or equal to the total amount pre-set when described judging unit, and, when all information total numbers got are less than or equal to system internal information total number, using described next information when last bar information as working as last bar information;
4th performance element, for determining that the current informational capacity got is greater than the total amount pre-set when described judging unit, and, when all information total numbers got are greater than system internal information total number, will the described all information displaying got before last bar information obtained to user.
13. equipment as claimed in claim 12, it is characterized in that, described equipment also comprises:
Second Tip element, for judging whether all information total numbers got are less than system internal information total number; If be less than system internal information total number, whether prompting user continues obtaining information; After the confirmation receiving user's transmission, using the Article 1 information do not shown as working as last bar information; If be more than or equal to system internal information total number, the display of prompting user profile is complete.
14. equipment as claimed in claim 12, it is characterized in that, described equipment also comprises:
Delete cells, for by the information deletion in buffer memory.
CN201210031649.0A 2012-02-13 2012-02-13 Method and device for displaying information Active CN102801605B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210031649.0A CN102801605B (en) 2012-02-13 2012-02-13 Method and device for displaying information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210031649.0A CN102801605B (en) 2012-02-13 2012-02-13 Method and device for displaying information

Publications (2)

Publication Number Publication Date
CN102801605A CN102801605A (en) 2012-11-28
CN102801605B true CN102801605B (en) 2015-05-20

Family

ID=47200576

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210031649.0A Active CN102801605B (en) 2012-02-13 2012-02-13 Method and device for displaying information

Country Status (1)

Country Link
CN (1) CN102801605B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106919447A (en) * 2017-02-16 2017-07-04 杭州迪普科技股份有限公司 The acquisition methods and device of a kind of configuration information

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1497912A (en) * 2002-10-16 2004-05-19 �ձ�������ʽ���� Data transfer rate regulating system, monitoring control device and regulating method
CN101024124A (en) * 2007-03-30 2007-08-29 北京金山软件有限公司 Method and apparatus for displaying game role state

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101430663B (en) * 2007-11-09 2011-11-16 上海奇码数字信息有限公司 Caching management unit and caching management method
CN101399777A (en) * 2008-10-28 2009-04-01 北京世纪高通科技有限公司 Method, apparatus and system for broadcast data flow control
CN101876971A (en) * 2010-06-22 2010-11-03 北京伟库电子商务科技有限公司 Report form showing method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1497912A (en) * 2002-10-16 2004-05-19 �ձ�������ʽ���� Data transfer rate regulating system, monitoring control device and regulating method
CN101024124A (en) * 2007-03-30 2007-08-29 北京金山软件有限公司 Method and apparatus for displaying game role state

Also Published As

Publication number Publication date
CN102801605A (en) 2012-11-28

Similar Documents

Publication Publication Date Title
CN102137248B (en) Video resolution switching method and device, terminal and switching system
CN104598107A (en) Generating method and system of interface control
CN104424333A (en) Method and system for loading table data
CN106649639A (en) Page display method and device
CN107153620A (en) A kind of data processing method and device
CN105183585A (en) Data backup method and device
CN112822060A (en) Host network construction method, device, system, medium and host
CN105843576B (en) A kind of combination windows switching method and device
CN102801605B (en) Method and device for displaying information
CN105528261A (en) Method and system for intelligently outputting debugging information for embedded device
CN107181689B (en) Message interaction method and device between routers
CN104572223A (en) Method and device for arranging desktop icons
CN106527979B (en) Data migration method and device
CN106161276A (en) A kind of method and apparatus adjusting network traffics
CN106020642A (en) Method for starting association application and terminal
CN104144212B (en) A kind of virtual desktop image transfer method, apparatus and system
CN105578073B (en) A kind of video monitoring picture display process and device
CN107193651B (en) Dual system internal memory sharing method and device
CN116048371A (en) Page component switching method, device, equipment, medium and product in application program
CN106657097B (en) A kind of data transmission method for uplink and device
CN105447114A (en) Display method and apparatus for form field
CN111552705B (en) Data processing method and device based on chart, electronic equipment and medium
CN104991781A (en) Application software internal function recommendation method and device
CN108427544B (en) single-screen and double-screen application switching method and interface
CN112905072B (en) Application processing method and device and electronic equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant