The display methods of data and device in a kind of terminal applies
Technical field
The present invention relates to communication technical field is and in particular to the display methods of data and device in a kind of terminal applies.
Background technology
With the development of the communication technology, the species of data service also increasingly various and exuberant the life of people, such as,
People can directly browse webpage by terminal, or accesses some applications by the client being arranged in terminal, such as rich
Visitor or microblogging, etc..
In the prior art, terminal, typically all can be suitable according to the priority of service data request for the process of business datum
Sequence is interacted with the webserver, the business datum that preferential display is first asked, the business datum of request, example after then just showing
As taking content of microblog displayed on the terminals as a example, if there is currently microblogging A, microblogging B, microblogging C and microblogging D, it is sequentially A → B
→ C → D, then terminal can first download microblogging A according to sequencing, then just can download microblogging B, by that analogy, even if user exists
When terminal not yet shows microblogging B and microblogging C, user drags the page again and wants to browse microblogging D, and terminal also can continue according to set order
Continuous first download microblogging B and microblogging C, then just can download microblogging D, substantially prolongs under user " microblogging D " really interested
The load time, therefore, in the research and practice process to prior art, it was found by the inventors of the present invention that prior art is this
The scheme underaction of display business datum.
Content of the invention
The embodiment of the present invention provides the display methods of data and device in a kind of terminal applies, can be according to the demand of user
Neatly business datum is shown, the preferential information providing required for user.
The display methods of data in a kind of terminal applies, including:
Receive the request showing the first business datum in terminal applies;
First business datum is obtained to network equipment according to the request of described display the first business datum;
During obtaining the first business datum, receive the request showing the second business datum in terminal applies;
Second business datum is obtained to network equipment according to the request of described display the second business datum, and should in terminal
With in preferential display the second business datum.
Optionally, wherein, the second business number is obtained to network equipment according to the request of described display the second business datum
According to, and preferential display the second business datum in terminal applies, it is specifically as follows any one following mode:
(1)Stop obtaining the first business datum to network side, the request according to described display the second business datum is to network
Side apparatus obtain the second business datum, and show the second business datum in terminal applies.Or,
(2)After the first business datum obtains and finishes, set to network side according to the request of described display the second business datum
Standby acquisition the second business datum, first shows the second business datum in terminal applies, shows the first business datum afterwards.Or,
(3)Stop obtaining the pictorial information in the first business datum to network equipment, obtaining the to network equipment
Word message in one business datum after showing Word message, the request according to described display the second business datum is to network side
Equipment obtains the second business datum, and shows the second business datum in terminal applies.Wherein, described first business datum includes
Word message and pictorial information.
Optionally, wherein, the described request according to described display the first business datum obtains the first industry to network equipment
Business data, can include:
Download request is sent to network equipment according to the request of described display the first business datum;Receive network equipment
The first business datum being returned according to described download request.
Optionally, wherein, the described request according to described display the second business datum obtains the second industry to network equipment
Business data, can include:
Download request is sent to network equipment according to the request of described display the second business datum;Preferential receipt network side
The second business datum that equipment returns according to described download request.
Additionally, in the request according to described display the second business datum to network equipment acquisition the second business datum, and
Before preferential display the second business datum in terminal applies, the method can also include:
Determine whether described first business datum and the second business datum are same type of service;
Then now, the described request according to described display the second business datum preferentially obtains the second business to network equipment
Data, and preferential display the second business datum is specifically as follows in terminal applies:Determine described first business datum and second
When business datum is same type of service, preferentially obtain the to network equipment according to the request of described display the second business datum
Two business datums, and preferential display the second business datum in terminal applies.
The display device of data in a kind of terminal applies, single including the first receiving unit, first processing units, the second reception
Unit and second processing unit;
First receiving unit, for receiving the request showing the first business datum in terminal applies;
First processing units, for obtaining the first industry according to the request of described display the first business datum to network equipment
Business data;
Second receiving unit, shows second for, during obtaining the first business datum, receiving in terminal applies
The request of business datum;
Second processing unit, for obtaining the second industry according to the request of described display the second business datum to network equipment
Business data, and preferential display the second business datum in terminal applies.
Optionally, wherein, second processing unit, stops obtaining first to network side specifically for triggering first processing units
Business datum, obtains the second business datum according to the request of described display the second business datum to network equipment, and in terminal
The second business datum is shown in application.
Or, described second processing unit, specifically for obtaining after the first business datum finishes in first processing units, root
Request according to described display the second business datum obtains the second business datum to network equipment, first shows the in terminal applies
Two business datums, trigger first processing units afterwards and show the first business datum.
Or, described second processing unit, stop obtaining the to network equipment specifically for triggering first processing units
Pictorial information in one business datum, obtains the Word message in the first business datum in first processing units to network equipment
And after showing Word message, the second business datum is obtained to network equipment according to the request of described display the second business datum,
And show the second business datum in terminal applies.Wherein, described first business datum includes Word message and pictorial information.
Or, described second processing unit, specifically for according to described display the second business datum request to network side
Equipment sends download request;The second business datum that preferential receipt network equipment returns according to described download request.
Additionally, the display device of data can also include judging unit in this terminal applies;
Judging unit, for determining whether described first business datum and the second business datum are same type of service;
Then now, described second processing unit, is specifically determined for described first business datum and the second business number
According to during for same type of service, the second business is preferentially obtained to network equipment according to the request of described display the second business datum
Data, and preferential display the second business datum in terminal applies.
The embodiment of the present invention is during obtaining the first business datum, if receive showing second in terminal applies
The request of business datum, then obtain the second business datum according to the request of described display the second business datum to network equipment,
And preferentially show the second business datum in terminal applies, such that it is able to preferentially be supplied to the business datum of user's request in time
User, neatly can be processed to business datum according to the demand of user using the program, needed for preferential offer user
The information wanted.
Brief description
For the technical scheme being illustrated more clearly that in the embodiment of the present invention, below will be to required in the description of embodiment art
Use accompanying drawing be briefly described it should be apparent that, drawings in the following description are only some embodiments of the present invention, right
For those skilled in the art, on the premise of not paying creative work, can also be obtained other according to these accompanying drawings
Accompanying drawing.
Fig. 1 is the flow chart of the display methods of data in terminal applies provided in an embodiment of the present invention;
Fig. 2 is another flow chart of the display methods of data in terminal applies provided in an embodiment of the present invention;
Fig. 3 is the structural representation of the display device of data in terminal applies provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Site preparation description is it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments.It is based on
Embodiment in the present invention, the every other enforcement that those skilled in the art are obtained under the premise of not making creative work
Example, broadly falls into the scope of protection of the invention.
The embodiment of the present invention provides the display methods of data and device in a kind of terminal applies.Carry out individually below specifically
Bright.
Embodiment one,
The angle of the display device of data from terminal applies is described by the embodiment of the present invention, number in this terminal applies
According to display device specifically can integrated in the terminal, this terminal is specifically as follows mobile phone, panel computer or home computer etc.
Equipment.
The display methods of data in a kind of terminal applies, including:Receive and show the first business datum in terminal applies
Request, the request according to this display first business datum obtains the first business datum to network equipment, in first business of acquisition
During data, receive the request showing the second business datum in terminal applies, according to this display second business datum
Ask to obtain the second business datum to network equipment, and preferential display the second business datum in terminal applies.
As shown in figure 1, idiographic flow can be as follows:
101st, in terminal applies, the display device of data receives the request showing the first business datum in terminal applies;
Wherein, terminal applies are specifically as follows the application such as web browser, microblogging client or blog client.
For example, specifically, the request of display first business that the processing meanss of business datum can be triggered with receive user, than
As, then the processing meanss of business datum can be with the display a certain bar microblogging of receive user triggering taking microblogging as a example(As microblogging A)'s
Request.
Wherein, user triggering method can have multiple, than as by clicking on or slip over.First business datum can be wrapped
Include Word message and/or pictorial information, because the data volume of Word message is generally less than the data volume of pictorial information, so, one
As first can download Word message, then download pictures information.
102nd, in terminal applies the display device of data according to the request of display first business datum receiving to network
Side apparatus obtain the first business datum;For example, specifically can be as follows:
Request according to display first business datum receiving in step 101 sends download request to network equipment,
Receive the first business datum that network equipment returns according to this download request.
Such as, taking microblogging as a example, in terminal applies the display device of data receive user triggering a certain bar of display micro-
Rich(As microblogging A)Request after, according to this display a certain bar microblogging(As microblogging A)Request to network equipment send download please
Ask, and receive this microblogging that network equipment returns according to this download request(As microblogging A)Content.
103rd, in terminal applies, the display device of data, during obtaining the first business datum, receives in terminal applies
The request of middle display the second business datum;
For example, the processing meanss of business datum are downloading a certain bar microblogging taking microblogging as a example(As microblogging A)When, Yong Huyou
Triggering(As clicked on or slipping over)Another microblogging of display(As microblogging B), then now, the processing meanss of business datum will receive
The request of display microblogging B.
104th, in terminal applies the display device of data according to the request of display second business datum receiving to network
Side apparatus obtain the second business datum, and preferential display the second business datum in terminal applies.For example, specifically can be using such as
Any one mode lower:
(1)Stop(Can be such as to suspend or terminate)Obtain the first business datum to network side, according to step
The request of display second business datum receiving in 103 obtains the second business datum to network equipment, and in terminal applies
Middle display the second business datum.Or,
(2)After the first business datum obtains and finishes, asking according to display second business datum receiving in step 103
Ask and obtain the second business datum to network equipment, terminal applies first show the second business datum, shows the first business afterwards
Data.Or,
(3)Stop(Can be specifically such as to suspend or terminate)Obtain the first business datum to network equipment
In pictorial information, in the Word message obtaining to network equipment in the first business datum and after showing Word message, according to
The request of display second business datum receiving in step 103 obtains the second business datum to network equipment, and in terminal
The second business datum is shown in application;Wherein, the first business datum can include Word message and pictorial information.
Wherein, if using terminating obtaining the first business datum to network equipment or terminate obtaining the to network equipment
If the mode of the pictorial information in one business datum, can be with saving network flow.
Wherein, the request according to display second business datum receiving obtains the second business datum tool to network equipment
Body can be as follows:
Request according to showing the second business datum sends download request, preferential receipt network equipment to network equipment
The second business datum being returned according to described download request.
Additionally, according to showing that the request of the second business datum preferentially obtains the second business datum to network equipment, and
Preferential display the second business datum in terminal applies(I.e. step 104)Before, can also be to the service class of the first business datum
The type of service of type and the second business datum is judged, if same type of service, ability execution step 104 is otherwise, permissible
Not execution step 104, but operated according to existing execution flow process.That is, before step 104, the method can also be wrapped
Include:
Determine whether the first business datum and the second business datum are same type of service;
Then now, step 104 is specifically as follows:Determine that described first business datum and the second business datum are same business
During type, the second business datum is preferentially obtained to network equipment according to the request of described display the second business datum, and at end
Preferential display the second business datum in the application of end.
It should be noted that, the business in the embodiment of the present invention is specifically as follows the data industry such as advertising listing, microblogging or blog
Business, that is, the first business datum and the second business datum are specifically as follows the data service data such as advertising listing, microblogging or blog, its
In, the first business datum and the second business datum may each comprise Word message and/or pictorial information.
From the foregoing, it will be observed that the present embodiment is during obtaining the first business datum, if receiving aobvious in terminal applies
Show the request of the second business datum, then the second business is obtained to network equipment according to the request of described display the second business datum
Data, and preferential display the second business datum in terminal applies, such that it is able in time will be preferential for the business datum of user's request
It is supplied to user, neatly business datum can be processed according to the demand of user using the program, preferential offer is used
Information required for family.
Embodiment two,
Citing is elaborated by method according to described by embodiment one below.
In the present embodiment, specifically will be integrated in mobile phone with the display device of data in terminal applies, terminal applies have
Body is microblogging client, and business is specially microblogging, and the first business datum is specially microblogging A, and the second business datum is specially micro-
Illustrate as a example rich B.
As shown in Fig. 2 idiographic flow can be as follows:
201st, the request of the display microblogging A of mobile phone receive user triggering;
Such as, user clicks on the trigger action of the link of microblogging A, or, user's finger slips over the triggering of the position of microblogging A
Operation, etc..Wherein, microblogging A can include Word message and/or pictorial information, because the data volume of Word message is typically little
In the data volume of pictorial information, so, typically first can download Word message, then download pictures information.
202nd, mobile phone sends with regard to microblogging A to network equipment according to the request of the display microblogging A receiving in step 201
Download request, to obtain microblogging A.
203rd, after network equipment receives the download request with regard to microblogging A of mobile phone transmission, return microblogging A to mobile phone.
204th, mobile phone receives the microblogging A that network equipment returns, and shows microblogging A.
If 205 in the acquisition process of microblogging A(I.e. step 203 and 204 implementation procedure in), mobile phone receives use again
The request of the display microblogging B of family triggering, such as user have the trigger action of the link clicking on microblogging B again, or, user's finger is slided
Cross the trigger action of the position of microblogging B, etc., then mobile phone stops obtaining microblogging A to network side, but sends with regard to microblogging B's
Download request to network side, to obtain microblogging B.
It should be noted that, in embodiments of the present invention, only by stop obtain microblogging A as a example illustrate it should be understood that
, now can continue to obtain microblogging A, after microblogging A obtains and finishes, do not show microblogging A, or, can also first obtain
And show the Word message of microblogging A, and stop obtaining the pictorial information of microblogging A, etc., will not be described here.
206th, after network equipment receives the download request with regard to microblogging B of mobile phone transmission, return microblogging B to mobile phone.
207th, mobile phone receives the microblogging B that network equipment returns, and shows microblogging B.
In the same manner, if during obtaining microblogging B, mobile phone receives the request of the display microblogging C of user's triggering again, then
Mobile phone suspend to network side obtain microblogging B, but send with regard to microblogging C download request to network side, to obtain microblogging C, and
In the microblogging C receiving network side return, and show microblogging C, by that analogy.
From the foregoing, it will be observed that the present embodiment is during obtaining microblogging A, if receiving the request of display microblogging B, basis
The request of this display microblogging B obtains microblogging B to network equipment, and preferentially shows microblogging B, such that it is able in time by user's request
Business datum be preferentially supplied to user, neatly business datum not only can be entered according to the demand of user using the program
Row is processed, the preferential information providing required for user, but also can be with saving network flow.
Embodiment three,
Accordingly, in order to more preferably implement above method, the embodiment of the present invention also provides a kind of the aobvious of data in terminal applies
Showing device, as shown in figure 3, the display device of data includes the first receiving unit 301, first processing units in this terminal applies
302nd, the second receiving unit 303 and second processing unit 304;
First receiving unit 301, for receiving the request showing the first business datum in terminal applies;
For example, specifically, the request of display first business that the first receiving unit 301 can be triggered with receive user, such as,
, then the processing meanss of business datum can be with the display a certain bar microblogging of receive user triggering taking microblogging as a example(As microblogging A)Please
Ask.
Wherein, user triggering method can have multiple, than as by clicking on or slip over.First business datum can be wrapped
Include Word message and/or pictorial information, because the data volume of Word message is generally less than the data volume of pictorial information, so, one
As first can download Word message, then download pictures information.
First processing units 302, the request of display first business datum for being received according to the first receiving unit 301
Obtain the first business datum to network equipment;
Such as, first processing units 302, specifically can be used for according to the request of display first business datum receiving to
Network equipment sends download request, receives the first business datum that network equipment returns according to this download request.
Second receiving unit 303, for during obtaining the first business datum, receiving display the in terminal applies
The request of two business datums;
Second processing unit 304, for obtaining the according to the request of described display the second business datum to network equipment
Two business datums, and preferential display the second business datum in terminal applies.
Wherein, optionally, second processing unit 304, have can be used for trigger first processing units 302 stop(Permissible
It is to suspend or terminate)Obtain the first business datum to network side, set to network side according to the request of this display second business datum
Standby acquisition the second business datum, and show the second business datum in terminal applies.Or,
Second processing unit 304, has and can be used for after first processing units 302 acquisition the first business datum finishes,
Request according to this display second business datum obtains the second business datum to network equipment, first shows the in terminal applies
Two business datums, trigger first processing units 302 afterwards and show the first business datum in terminal applies.Or,
Second processing unit 304, have can be used for trigger first processing units 302 stop(Can be to suspend or terminate)
Obtain the pictorial information in the first business datum to network equipment, obtain the in first processing units 302 to network equipment
Word message in one business datum after showing Word message in terminal applies, according to this display second business datum please
Ask and obtain the second business datum to network equipment, and show the second business datum in terminal applies.
Wherein, second processing unit 304 obtains to network equipment according to the request of display second business datum receiving
The second business datum is taken to be specifically as follows:
Second processing unit 304 sends download request according to the request showing the second business datum to network equipment, excellent
First receive the second business datum that network equipment returns according to described download request.
Additionally, for the flexibility increasing process, different places can also be adopted to the business datum of different service types
Reason mode, such as, according to showing that the request of the second business datum preferentially obtains the second business datum to network equipment, and
Before preferential display the second business datum in terminal applies, can also be to the type of service of the first business datum and the second business number
According to type of service judged, if same type of service, just triggering second processing unit 304 execution aforesaid operations(I.e.:
Request according to showing the second business datum preferentially obtains the second business datum to network equipment, and preferential in terminal applies
Show the second business datum), otherwise, second processing unit 304 can not execute aforesaid operations(I.e.:According to showing the second business
The request of data preferentially obtains the second business datum to network equipment, and preferential display the second business number in terminal applies
According to), but operated according to existing execution flow process.That is, optional, the processing meanss of this business datum are acceptable
Including judging unit, as follows:
Judging unit, for determining whether the first business datum and the second business datum are same type of service;
Then now, second processing unit 304, specifically can be used for determining the first business datum and the second industry in judging unit
When business data is same type of service, the request according to showing the second business datum preferentially obtains the second business to network equipment
Data, and preferential display the second business datum in terminal applies.
The processing meanss of this business datum specifically can show as browser, specifically can integrated in the terminal, wherein, should
Terminal is specifically as follows mobile phone, panel computer or personal computer etc..
When being embodied as, above unit can be realized as independent entity it is also possible to be combined, and makees
To realize for same or several entities, being embodied as of above unit can be found in embodiment above, and here is no longer superfluous
State.
From the foregoing, it will be observed that the first processing units 302 of the display device of data are obtaining the in the terminal applies of the present embodiment
During one business datum, if the second receiving unit 303 receives shows asking of the second business datum in terminal applies
Ask, then second processing unit 304 obtains the second business datum according to the request of this display second business datum to network equipment,
And preferentially show the second business datum in terminal applies, such that it is able to preferentially be supplied to the business datum of user's request in time
User, neatly can be processed to business datum according to the demand of user using the program, needed for preferential offer user
The information wanted.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can
Completed with the hardware instructing correlation by program, this program can be stored in a computer-readable recording medium, storage
Medium can include:Read-only storage(ROM, Read Only Memory), random access memory(RAM, Random
Access Memory), disk or CD etc..
In a kind of the terminal applies above embodiment of the present invention being provided, the display methods of data and device have been carried out in detail
Thin introduce, specific case used herein is set forth to the principle of the present invention and embodiment, the saying of above example
Bright it is only intended to help and understands the method for the present invention and its core concept;Simultaneously for those skilled in the art, according to this
Bright thought, all will change in specific embodiments and applications, and in sum, this specification content should not be managed
Solve as limitation of the present invention.