CN103473376A - Data processing method and client ends - Google Patents

Data processing method and client ends Download PDF

Info

Publication number
CN103473376A
CN103473376A CN2013104564723A CN201310456472A CN103473376A CN 103473376 A CN103473376 A CN 103473376A CN 2013104564723 A CN2013104564723 A CN 2013104564723A CN 201310456472 A CN201310456472 A CN 201310456472A CN 103473376 A CN103473376 A CN 103473376A
Authority
CN
China
Prior art keywords
link
client
picture
network address
address table
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2013104564723A
Other languages
Chinese (zh)
Other versions
CN103473376B (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 Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310456472.3A priority Critical patent/CN103473376B/en
Publication of CN103473376A publication Critical patent/CN103473376A/en
Application granted granted Critical
Publication of CN103473376B publication Critical patent/CN103473376B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a data processing method and client ends. The data processing method is used for processing data of a first client end operating in the first client end in a second client end. The data processing method comprises the following steps of receiving a data packet transmitted by the first client end, wherein the data packet comprises data in the first client end; analyzing the data packet and obtaining a link contained in the data packet; inquiring whether the link is in a link website table operating in the second client end; and executing operation corresponding to the link according to an inquired result. The data processing method and the client ends disclosed by the invention have the advantages that by application of the technical scheme, the problem of flow and resource waste caused by repeated operation is avoided, the operating efficiency of the client ends is improved and the user experience is improved.

Description

Data processing method and client
Technical field
The present invention relates to internet, be specifically related to a kind of data processing method and client.
Background technology
Along with the development of mobile Internet, the user uses the terminal kind more and more.Except traditional PC, the use of mobile phone, panel computer and other intelligent terminal increases gradually.
The user uses in some situation of many station terminals, need in the client of current terminal operating, continue the task in the client of another terminal operating before this, or different user need to be exchanged the data of the client moved in terminal while using terminal.Yet the data sharing degree of different clients is inadequate in the prior art.For example, open webpage or the picture browsed before this in the client that the user wants to move in mobile phone in the client of PC, need to re-enter the download address of network address or picture, bring very large inconvenience to the user like this.
Therefore, in prior art, the data of different clients can't carry out alternately, causing the data sharing deficiency, have had a strong impact on user's experience.
Summary of the invention
In view of the above problems, the present invention has been proposed in order to provide a kind of client that overcomes the problems referred to above or address the above problem at least in part and corresponding data processing method.
According to one aspect of the present invention, provide a kind of data processing method.This data processing method, in the second client, processing the data in the first client, comprises the following steps: receive the packet that the first client is transmitted, comprise the data in the first client in this packet; The resolution data bag, the link that obtains comprising in packet; Whether query link is present in the link network address table of the second client; Carry out with above-mentioned and link corresponding operation according to Query Result.
Alternatively, carry out and link corresponding operation and comprise according to Query Result: if Query Result links in the network address table for link not to be present in, will link insertion and link in the network address table, and move and link corresponding operation according to the type linked; If Query Result is present in link network address table for link, more in new url network address table with link the corresponding time, and move and link corresponding operation according to the state be linked in link network address table.
Alternatively, link comprises the picture link, and this picture links corresponding operation and comprises that download pictures links corresponding picture file.
Alternatively, the above-mentioned type operation according to link with link corresponding operation and comprise: judge that whether comprising picture in the picture download list of the second client links corresponding downloading task, if not, starting execution links corresponding downloading task and open corresponding picture after download completes with picture; If continue picture and link corresponding downloading task and open corresponding picture after download completes.
Alternatively, according to being linked at state operation in link network address table and linking corresponding operation and comprise: obtain the download path that picture links; Judge whether to preserve the picture that download path is corresponding; If not, download corresponding picture and open corresponding picture after download completes according to download path; If open this corresponding picture.
Alternatively, link comprises that website links, operation corresponding to this website links are included in the second client and opens webpage corresponding to website links.
Alternatively, the type operation according to link links the step of corresponding operation or comprises with the step that links corresponding operation according to the state operation be linked in link network address table: travel through webpage opened in the second client; Judge whether to exist the network address of opened webpage corresponding with website links; If, by the windows exchange of the second client to the webpage corresponding with website links; If do not exist, new window in the second client, and open the webpage corresponding with website links in new window.
According to a further aspect in the invention, provide a kind of client.This client is for the treatment of the data in another client, and described client comprises: receiver, and the packet transmitted for receiving another client, include the data in another client in this packet; Resolver, for the resolution data bag, the link that obtains comprising in packet; Whether enquiry module, be present in the link network address table of client for query link; Actuator, for carrying out according to Query Result and linking corresponding operation.
Further, above-mentioned actuator also is configured to: if Query Result is not present in link network address table for linking, will links and insert in link network address table, and move and link corresponding operation according to the type of link; If Query Result is present in link network address table for link, more in new url network address table with link the corresponding time, and move and link corresponding operation according to the state be linked in link network address table.
Further, the link comprised in packet comprises picture link or website links, and picture links corresponding operation and comprises that download pictures links corresponding picture file, and operation corresponding to website links is included in client opens webpage corresponding to website links.
According to technical solution of the present invention, client is when processing the data of other client transmissions, by the link comprised in the data query bag, whether be present in the link network address table of this client, this client is carried out operation corresponding to link according to Query Result, thereby can, by inquiry, draw the service data that client is current, the flow of having avoided repetitive operation to cause and wasting of resources problem, improve the operational efficiency of client, and promoted user's experience.
Above-mentioned explanation is only the general introduction of technical solution of the present invention, in order to better understand technological means of the present invention, and can be implemented according to the content of instructions, and for above and other objects of the present invention, feature and advantage can be become apparent, below especially exemplified by the specific embodiment of the present invention.
The accompanying drawing explanation
By reading hereinafter detailed description of the preferred embodiment, various other advantage and benefits will become cheer and bright for those of ordinary skills.Accompanying drawing is only for the purpose of preferred implementation is shown, and do not think limitation of the present invention.And, in whole accompanying drawing, by identical reference symbol, mean identical parts.In the accompanying drawings:
Fig. 1 transmits the system schematic of data according to an embodiment of the invention between client;
Fig. 2 is the block diagram of client according to an embodiment of the invention;
Fig. 3 is the schematic diagram of data processing method according to an embodiment of the invention; And
Fig. 4 is the preferred flow charts that client data is processed according to an embodiment of the invention.
Embodiment
The algorithm provided at this is intrinsic not relevant to any certain computer, virtual system or miscellaneous equipment with demonstration.Various general-purpose systems also can with based on using together with this teaching.According to top description, it is apparent constructing the desired structure of this type systematic.In addition, the present invention is not also for any certain programmed language.It should be understood that and can utilize various programming languages to realize content of the present invention described here, and the top description that language-specific is done is in order to disclose preferred forms of the present invention.
Fig. 1 shows the system that is connected to according to an embodiment of the invention transmission data between client by length, in Fig. 1, in first terminal 11, operation has the first client, in the second terminal 12, operation has the second client, first terminal 11 is set up the long client data that is connected to transmit mutually with the second terminal 12 by long connection server 13, concrete data transfer direction can be: first terminal 11 sends the data of the first client to the second terminal 12 by long connection server 13, in the second client, to carry out corresponding operating; Perhaps the second terminal 12 sends the data of the second client to first terminal 11 by long connection server 13, in the first client, to carry out corresponding operating.Above first terminal 11 and the second terminal 12 can be any one internet terminal, such as mobile phone, panel computer, personal computer etc., and the type of first terminal 11 and the second terminal 12 can be the same or different, for example can send data to mobile phone for personal computer, also can, for mobile phone sends data to personal computer, also be not limited to mobile phone and send data to another mobile phone transmission data or a personal computer to another personal computer.Generally speaking, first terminal 11 and the second terminal 12 are respectively as sending data side and receiving data side.
Above client can be browser, namely the first client is the first browser, the second client is the second browser, thereby above transmission data comprise the browser data of moving in terminal, for example first terminal 11 sends the data of the first browser to the second terminal 12, in the second browser, to carry out corresponding operating, for example the second terminal 12 sends the data of the second browser to first terminal 11, in the first browser, to carry out corresponding operating.By mutual transmission browser data, the browser data that realizes different terminals is mutual, for example, the user uses mobile phone and PC respectively with after long connection server is set up long the connection, and the browser moved in mobile phone is connected the mutual packet that transmits with the browser moved in PC equipment by length.
The long communication protocol that is connected based on cell-phone customer terminal with pc client, after receiving packet, can just can draw data type according to the specific fields in packet, then according to data type, directly carry out the corresponding operating of client, such as opening network address, download pictures etc.
In above system, can also comprise the equipment such as PC server, long connection distribution server, the PC server is as the node of network, data and information on storage, processing network, for receiving the request of access of the first client and the second client, and respective service is provided, the long distribution server that connects is used to long connection server to distribute the long connection request connected of different clients.
In the present embodiment, with the data of second client the first client, and situation about being processed is that example is introduced.
Based on predefined long connection protocol, the data packet format of transmission can be selected the JSON form, and the JSON form is a kind of data interchange format of lightweight.Its subset based on JavaScript, adopt the text formatting that is totally independent of language, but also used the custom that is similar to the C family of language.These characteristics make JSON become desirable exchanges data language, are easy to the people and read and write, and also are easy to machine simultaneously and resolve and generate.JSON can be converted to character string by the one group of data meaned in the JavaScript object, then just can between function, transmit like a cork this character string.Thereby just can know the link type comprised in packet by predetermined the type field.Link type commonly used comprises: website links, picture link etc.The second client, after the data that receive above the first client, is carried out corresponding operation through processing in conjunction with the current running status of the second client.
Fig. 2 is the block diagram of client according to an embodiment of the invention, as shown in the figure, this client is for the treatment of the data in another client, for the ease of distinguishing, the transmit leg client that below will transmit data is called Terminal Server Client, and take over party's client is local client.Above local client specifically comprises: receiver 121, for receiving the packet transmitted, comprises the data in Terminal Server Client in packet; Resolver 122, for the resolution data bag, the link that obtains comprising in packet; Whether enquiry module 123, be present in the link network address table of local client for query link; Actuator 124, for carrying out operation corresponding to link according to Query Result.
Above-mentioned local client is equivalent to the data receiver in above long connection data transmission system, and Terminal Server Client is equivalent to the transmit leg in above long connection data transmission system.Below still with the data of second client the first client, and the situation of carrying out the data processing in the second client is that example is introduced.The second client is set up long the connection with long connection server 13, and receives the data of the first client by long connection server 13.
The concrete function of actuator 124 in the second client can be configured to: if Query Result is not present in the link network address table of the second client for link, to link and insert in this link network address table, and move in the second client and link corresponding operation according to the type of link; If Query Result is present in link network address table for link, more in new url network address table with link the corresponding time, and move in the second client and link corresponding operation according to being linked at the state linked in the network address table.Actuator 124 operates according to corresponding control the second client executing of the output of enquiry module 123 according to the analysis result of resolver 122.
The link type comprised in the packet that resolver 122 parses can comprise: picture link or website links, wherein, picture links corresponding operation and comprises that download pictures links corresponding picture file, and operation corresponding to website links is included in the client (the second client) of local runtime and opens webpage corresponding to website links.
For picture, link, the Query Result of enquiry module 123 is that the picture link does not exist in the chained list of the second client, actuator 124 is carried out following steps: judge that whether comprising picture in the picture download list of the second client links corresponding downloading task, if not, starting to carry out picture links corresponding downloading task and open corresponding picture after download completes; If continue picture and link corresponding downloading task and open corresponding picture after download completes.
In addition, the Query Result at enquiry module 123 is that during the picture link is present in the chained list of the second client, actuator 124 is carried out following steps: the download path that obtains the picture link; Judge whether to preserve the picture that download path is corresponding; If not, download corresponding picture according to download path and open corresponding picture after download completes in the second client; If directly open this corresponding picture in the second client.
For website links, Query Result at enquiry module 123 is during website links is not present in the website links network address table of the second client, actuator 124 is carried out following steps: travel through the opened webpage of the second client, judge whether to exist the network address of opened webpage corresponding with described website links; If, by the windows exchange of the second client to the webpage corresponding with website links; If not, new window in the second client, and open the webpage corresponding with website links in new window.Two kinds of situations of above network address existence corresponding to described website links, the network address of the webpage that the first is opened is consistent with the website links parsed in packet, and it two is that the original link address of opened webpage is consistent with the website links parsed in packet.The second situation is because there is redirect in the sign difference of different clients while opening link.
In addition, in the situation that being website links, the Query Result of enquiry module 123 is present in the website links network address table of the second client, actuator 124 is carried out following steps: travel through the opened webpage of the second client, judge whether to exist the network address of opened webpage corresponding with described website links; If, by the windows exchange of the second client to the webpage corresponding with website links; If not, new window in the second client, and open the webpage corresponding with website links in new window.Thereby, for website links, the second client is after being processed link network address table, the step of opening webpage is identical.
The client that the user uses above embodiment to introduce, during the client data sended in other clients of processing, can avoid repeating operation, improved experience, and client has also been saved flow on the other hand, has reduced the use of system resource.
Client in above embodiment can be specially the client browser of Web service, i.e. browser program.
Below the data processing method of the embodiment of the present invention is introduced, the client executing that this data processing method can be introduced in above embodiment, be applied to connect under the data that receive other clients situation the about correspondingly data that receive being operated by length.Below still with the data of second client the first client, and the data processing method of the present embodiment that these data are operated is that example is introduced.
Fig. 3 is the schematic diagram of data processing method according to an embodiment of the invention, and as shown in the figure, this data processing method comprises:
Step S31, receive the packet that the first client is transmitted, and this packet is that the first client sends by long connection server, and includes the data of the first client.
Step S33, resolution data bag, the link that obtains comprising in packet; Resolving communication protocol and data layout according to a preconcerted arrangement completes.
Step S35, whether query link is present in the link network address table of the second client;
Step S37, carry out operation corresponding to link according to Query Result.
The data that above the first client sends can be preferably the various link datas of this first client.
Wherein the concrete flow process of step S37 can comprise: be not present in the link network address table of the second client if Query Result is link, will link and insert in link network address table, and move and link corresponding operation according to the type of link; If Query Result is present in link network address table for link, more in new url network address table with link the corresponding time, and move and link corresponding operation according to the state be linked in link network address table.
For different link types, the idiographic flow of above step S37 slightly has difference.Wherein the type of link comprises picture link or website links, and this picture links corresponding operation and comprises that download pictures links corresponding picture file, and operation corresponding to website links is included in the second client opens webpage corresponding to website links.
For picture, link, when the picture link is not present in the second client picture chained list, in step S37 according to the type operation of link with link corresponding operation and specifically can comprise: judge that whether comprising picture in the picture download list of the second client links corresponding downloading task, if not, starting execution links corresponding downloading task and open corresponding picture after download completes with picture; If continue picture and link corresponding downloading task and open corresponding picture after download completes.
When the picture link is present in the second client picture chained list, in step S37, according to operation corresponding to state operation link be linked in link network address table, specifically can comprise: the download path that obtains the picture link; Judge whether to preserve the picture that download path is corresponding; If not, download corresponding picture and open corresponding picture after download completes according to download path; If open this corresponding picture.
For website links, when website links is not present in the link network address table of the second client, in step S37 according to the type operation of link with link corresponding operation and specifically can comprise: travel through the opened webpage of the second client, judge whether to exist the network address of opened webpage corresponding with described website links; If, by the windows exchange of the second client to the webpage corresponding with website links; If not, new window in the second client, and open the webpage corresponding with website links in new window.Above network address and described website links be corresponding refers to two kinds of situations: the website links parsed in the network address of the webpage that the first is opened and packet is consistent, and it two is that the original link address of opened webpage is consistent with the website links parsed in packet.The second situation is because may there be redirect in the sign difference of different clients while opening link.
When website links is present in the link network address table of the second client, in step S37 according to being linked at state operation in link network address table and linking corresponding operation and comprise: travel through the opened webpage of the second client, judge whether to exist the network address of opened webpage corresponding with described website links; If, by the windows exchange of the second client to the webpage corresponding with website links; If not, new window in the second client, and open the webpage corresponding with website links in new window.
Fig. 4 is the preferred flow charts of processing according to the second client data of the embodiment of the present invention, in conjunction with below Fig. 4 to the second client after the packet that comprises the first client data, a series of processes of being resolved, judge, inquire about, calculate, carrying out are elaborated.The second client is carried out following flow process to the packet that comprises the first client data:
At first perform step S401, the second client is resolved the packet received, and then the link that obtains comprising in packet performs step S403;
Step S403, judge whether the picture link is present in the link network address table of the second client, if the determination result is NO, and execution step S405; If judgment result is that to be, execution step S407;
Step S405, insert the link parsed the chained list of the second client, then performs step S411;
Step S407, upgrade the modification time in the link network address table that is linked at the second client, then performs step S431;
Step S411, comprise picture link or website links in the judgement link; If comprise the picture link, execution step S413, if comprise website links, execution step S421;
Step S413, judge that whether comprising picture in the picture download list of the second client links corresponding downloading task, if judgment result is that and be, and execution step S415; If the determination result is NO, execution step S417;
Step S415, continue picture and link corresponding downloading task, and open the picture of having downloaded in the second client after download completes;
Step S417, start to carry out picture and link corresponding downloading task, and open the picture of having downloaded in the second client after download completes;
Step S421, travel through the opened webpage of the second client, then performs step S423;
Step S423, judge whether to exist the network address of opened webpage corresponding with described website links, judging whether to exist the network address of opened webpage or the original link address situation identical with website links of network address, is to perform step S425 if judgment result is that; If the determination result is NO, execution step S427;
Step S425, by the windows exchange of the second client to corresponding webpage;
Step S427, new window in the second client, and open webpage corresponding to above-mentioned website links in new window;
Step S431, comprise picture link or website links in the judgement link; If comprise the picture link, execution step S433, if comprise website links, execution step S421;
Step S433, obtain the picture download path in the picture link, then performs step S425;
Step S435, judge in the second client whether preserved the picture that download path is corresponding, if judgment result is that, is to perform step S437; If the determination result is NO, execution step S439;
Step S437, download corresponding picture according to download path, and open this picture after download completes;
Step S439, finish the downloading task of picture link, and open the picture of having preserved.
Need to judge the former of two kinds of situations of network address or network address original link address in above step S423 because: due to browser sign (UA sign) difference of dissimilar client, therefore when opening link, the situation that there will be redirect, need to record original website links in the time of the link of therefore opening each network address, for example by original website links, all be buffered in internal memory, otherwise opened identical network address before and can not find identical link when redirect has occurred, and can repeat to open this link, cause waste.
Client in above embodiment can be specially the client browser of Web service, i.e. browser program.Below proposed the example of the browser data of a concrete mobile phone browser reception PC, above data are processed and further described.
PC is used the JSON form to send long connection packet to mobile phone: data link network address database field and implication thereof after parsing are as follows:
Title representative picture (webpage) title.
Url representative picture (webpage) link.
Type represents link type, and wherein type=1 represents that implication is web page interlinkage; Type=2 represents that implication is the picture link.
Date represents last modification time.
In the link network address table of the browser of the current operation of cell-phone customer terminal, existed two data and this browser to open www.ccc.com and two webpages of www.ddd.com, table 1 shows original link network address table.
Table 1
title url type date
AA www.aaa.com 1 2013-8-12
BB www.bbb.com 2 2013-8-12
Suppose on August 16th, 2013, four packets that mobile phone browser receives successively, it is followed successively by json packet A, json packet B, json packet C, json packet D, and wherein, the data content of above four packets is as follows respectively:
A={"title":"AA","url":"www.aaa.com","type":1}
B={"title":"BB","url":"www.bbb.com","type":2}
C={"title":"CC","url":"www.ccc.com","type":1}
D={"title":"DD","url":"www.ddd.com","type":2}
Following content shows the update status that at every turn receives the link network address table after packet, and is the operation that mobile phone browser is corresponding.
At first, the data that mobile phone browser receives are json data A, resolve json data A, obtaining title is AA, and url is www.aaa.com, type is 1, query link network address table, find to have had the webpage that url is www.aaa.com, obtains the current time in system, upgrade the date field of this record, after upgrading, link network address table is as shown in table 2:
Table 2
Title url type date
AA www.aaa.com 1 2013-8-16
BB www.bbb.com 2 2013-8-12
In this case, according to type=1, determine that this is linked as type of webpage, travel through the opened webpage of mobile phone browser, find that the webpage of www.aaa.com now do not open, allow the mobile phone browser new window, and open the webpage of www.aaa.com in new window.
Then, the data that mobile phone browser receives again are json data B, resolve json data B, obtaining title is BB, and url is www.bbb.com, type is 2, query link network address table, find to have had the picture network address that url is www.bbb.com, obtains the current time in system, upgrade the date field of this record, after upgrading, link network address table is as shown in table 3:
Table 3
title url type date
AA www.aaa.com 1 2013-8-16
BB www.bbb.com 2 2013-8-16
According to type=2, determine that this is recorded as picture/mb-type, obtain the acquiescence download path/mnt/sdcard/browser/ of picture, check under this path and whether have this pictures of BB, if existing, abandon downloading, otherwise, download this picture and open this picture.
Subsequently, the data that mobile phone browser receives again are json data C, resolve json data C, obtaining title is CC, and url is www.ccc.com, and type is 1, query link network address table, there is not the network address that url is www.ccc.com in it, inserts this and is recorded to link network address table, and the link network address table after insertion is as shown in table 4:
Table 4
title url type date
AA www.aaa.com 1 2013-8-16
BB www.bbb.com 2 2013-8-16
CC www.ccc.com 1 2013-8-16
According to type=1, determine that this is recorded as type of webpage, then travel through the opened webpage of browser, find that the www.ccc.com browser is now opened, allow mobile phone browser be switched to the page of www.ccc.com.
Then, the data that mobile phone browser receives again are json data D, resolve json data D, obtaining title is DD, and url is www.ddd.com, type is 2, query link network address table, there is not the picture network address that url is www.ddd.com in it, obtains the current time in system, upgrade the date field of this record, the link network address table after renewal is as shown in table 5:
Table 5
title url type date
AA www.aaa.com 1 2013-8-16
BB www.bbb.com 2 2013-8-16
CC www.ccc.com 1 2013-8-16
DD www.ddd.com 2 2013-8-16
According to type=2, determine that this is recorded as picture/mb-type, obtain the acquiescence download path/mnt/sdcard/browser/ of picture, check under this path and whether have this pictures of DD, if existing, abandon downloading, otherwise, download this picture.
Client and the data processing method thereof of using above embodiment to introduce, solved preferably in long connection and had the message replication problem, saved flow, and promoted user's experience.It may occur to persons skilled in the art that, client mentioned above is not limited to browser, can be applied to any need to be between client the suitable client of interaction data.
In the instructions that provided herein, a large amount of details have been described.Yet, can understand, embodiments of the invention can be in the situation that do not have these details to put into practice.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
Similarly, be to be understood that, in order to simplify the disclosure and to help to understand one or more in each inventive aspect, in the description to exemplary embodiment of the present invention, each feature of the present invention is grouped together in single embodiment, figure or the description to it sometimes in the above.Yet the method for the disclosure should be construed to the following intention of reflection: the present invention for required protection requires the more feature of feature than institute clearly puts down in writing in each claim.Or rather, as following claims are reflected, inventive aspect is to be less than all features of the disclosed single embodiment in front.Therefore, claims of following embodiment are incorporated to this embodiment thus clearly, and wherein each claim itself is as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can adaptively change and they are arranged in one or more equipment different from this embodiment the module in the equipment in embodiment.Can be combined into a module or unit or assembly to the module in embodiment or unit or assembly, and can put them into a plurality of submodules or subelement or sub-component in addition.At least some in such feature and/or process or unit are mutually repelling, and can adopt any combination to disclosed all features in this instructions (comprising claim, summary and the accompanying drawing followed) and so all processes or the unit of disclosed any method or equipment are combined.Unless clearly statement in addition, in this instructions (comprising claim, summary and the accompanying drawing followed) disclosed each feature can be by providing identical, be equal to or the alternative features of similar purpose replaces.
In addition, those skilled in the art can understand, although embodiment more described herein comprise some feature rather than further feature included in other embodiment, the combination of the feature of different embodiment means within scope of the present invention and forms different embodiment.For example, in the following claims, the one of any of embodiment required for protection can be used with array mode arbitrarily.
All parts embodiment of the present invention can realize with hardware, or realizes with the software module of moving on one or more processor, or realizes with their combination.The present invention for example can also be embodied as, for carrying out part or all equipment or device program (, computer program and computer program) of method as described herein.The program of the present invention that realizes like this can be stored on computer-readable medium, or can have the form of one or more signal.Such signal can be downloaded and obtain from internet website, or provides on carrier signal, or provides with any other form.
It should be noted above-described embodiment the present invention will be described rather than limit the invention, and those skilled in the art can design alternative embodiment in the situation that do not break away from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and is not listed in element or the step in claim.Being positioned at word " " before element or " one " does not get rid of and has a plurality of such elements.The present invention can realize by means of the hardware that includes some different elements and by means of the computing machine of suitably programming.In having enumerated the unit claim of some devices, several in these devices can be to carry out imbody by same hardware branch.The use of word first, second and C grade does not mean any order.Can be title by these word explanations.

Claims (10)

1. a data processing method, in the second client, processing the data in the first client, comprising:
Receive the packet that described the first client is transmitted, comprise the data in described the first client in described packet;
Resolve described packet, obtain the link comprised in described packet;
Inquire about in the link network address table whether described link be present in described the second client;
Carry out with described and link corresponding operation according to Query Result.
2. method according to claim 1, wherein, according to Query Result, carry out with described and link corresponding operation and comprise:
Be not present in described link network address table if described Query Result is described link, described link is inserted in described link network address table, and link corresponding operation according to the operation of the type of described link with described;
Be present in described link network address table if described Query Result is described link, upgrade in described link network address table with described and link the corresponding time, and be linked at state operation in described link network address table and link corresponding operation with described according to described.
3. method according to claim 2, wherein, described link comprises the picture link, described picture links corresponding operation and comprises that downloading described picture links corresponding picture file.
4. method according to claim 3 links corresponding operation and comprises with described according to the type operation of described link:
Judge that whether comprising described picture in the picture download list of described the second client links corresponding downloading task,
If not, starting execution links corresponding downloading task and open corresponding picture after download completes with described picture;
If continue described picture and link corresponding downloading task and open corresponding picture after download completes.
5. according to the described method of claim 3 or 4, wherein, according to described, be linked at state operation in described link network address table and link corresponding operation and comprise with described:
Obtain the download path of described picture link;
Judge whether to preserve the picture that described download path is corresponding;
If not, download corresponding picture and open corresponding picture after download completes according to described download path;
If open this corresponding picture.
6. according to arbitrary described method in claim 2 to 5, wherein, described link comprises website links, and operation corresponding to described website links is included in described the second client opens webpage corresponding to described website links.
7. method according to claim 6 is linked at the described state linked in the network address table and moves and comprise with the described step that links corresponding operation according to the type operation of described link and the described step that links corresponding operation or according to described:
Travel through opened webpage in described the second client;
Judge whether to exist the network address of opened webpage corresponding with described website links;
If, by the windows exchange of described the second client to the webpage corresponding with described website links;
If not, new window in described the second client, and open the webpage corresponding with described website links in new window.
8. a client, for the treatment of the data in another client, described client comprises:
Receiver, the packet transmitted for receiving described another client, comprise the data in described another client in described packet;
Resolver, for resolving described packet, obtain the link comprised in described packet;
Whether enquiry module, be present in the link network address table of described client for inquiring about described link;
Actuator, link corresponding operation for carrying out according to Query Result with described.
9. client according to claim 8, wherein, described actuator also is configured to:
Be not present in the situation in described link network address table if described Query Result is described link, described link is inserted in described link network address table, and link corresponding operation according to the operation of the type of described link with described;
If being described link, described Query Result is present in the situation in described link network address table, upgrade in described link network address table with described and link the corresponding time, and be linked at state operation in described link network address table and link corresponding operation with described according to described.
10. client according to claim 8 or claim 9, wherein, the link comprised in described packet comprises picture link or website links, described picture links corresponding operation and comprises that downloading described picture links corresponding picture file, and operation corresponding to described website links is included in described client opens the webpage corresponding with described website links.
CN201310456472.3A 2013-09-29 2013-09-29 Data processing method and client Expired - Fee Related CN103473376B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310456472.3A CN103473376B (en) 2013-09-29 2013-09-29 Data processing method and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310456472.3A CN103473376B (en) 2013-09-29 2013-09-29 Data processing method and client

Publications (2)

Publication Number Publication Date
CN103473376A true CN103473376A (en) 2013-12-25
CN103473376B CN103473376B (en) 2017-12-29

Family

ID=49798224

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310456472.3A Expired - Fee Related CN103473376B (en) 2013-09-29 2013-09-29 Data processing method and client

Country Status (1)

Country Link
CN (1) CN103473376B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105634925A (en) * 2016-01-20 2016-06-01 北京乐动卓越科技有限公司 Extensible communication method and system between users
CN105933780A (en) * 2016-04-14 2016-09-07 乐视控股(北京)有限公司 Focus picture processing method and device
WO2018045487A1 (en) * 2016-09-06 2018-03-15 华为技术有限公司 Data sharing method and terminal

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040049673A1 (en) * 2002-09-05 2004-03-11 Docomo Communications Laboratories Usa, Inc. Apparatus and method for a personal cookie repository service for cookie management among multiple devices
CN101847150A (en) * 2009-03-26 2010-09-29 北京搜狗科技发展有限公司 Browser status synchronization method and device
CN102413436A (en) * 2011-09-14 2012-04-11 华为技术有限公司 Method and system for transmitting information, and browser on mobile terminal
CN103024062A (en) * 2012-12-24 2013-04-03 腾讯科技(深圳)有限公司 Data sharing method, clients and data sharing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040049673A1 (en) * 2002-09-05 2004-03-11 Docomo Communications Laboratories Usa, Inc. Apparatus and method for a personal cookie repository service for cookie management among multiple devices
CN101847150A (en) * 2009-03-26 2010-09-29 北京搜狗科技发展有限公司 Browser status synchronization method and device
CN102413436A (en) * 2011-09-14 2012-04-11 华为技术有限公司 Method and system for transmitting information, and browser on mobile terminal
CN103024062A (en) * 2012-12-24 2013-04-03 腾讯科技(深圳)有限公司 Data sharing method, clients and data sharing system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
INNOVATION: "如何高效使用和管理Bitmap--图片缓存管理模块的设计与实现", 《HTTP://BLOG.CSDN.NET/CREATIVEMOBILE/ARTICLE/DETAILS/9361383》, 17 July 2013 (2013-07-17) *
UXYHEAVEN: "SDWebImage 笔记", 《HTTP://BLOG.CSDN.NET/UXYHEAVEN/ARTICLE/DETAILS/7909373》, 26 August 2012 (2012-08-26) *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105634925A (en) * 2016-01-20 2016-06-01 北京乐动卓越科技有限公司 Extensible communication method and system between users
CN105634925B (en) * 2016-01-20 2018-11-09 北京乐动卓越科技有限公司 Expansible communication means and system between a kind of user
CN105933780A (en) * 2016-04-14 2016-09-07 乐视控股(北京)有限公司 Focus picture processing method and device
WO2018045487A1 (en) * 2016-09-06 2018-03-15 华为技术有限公司 Data sharing method and terminal
US11184754B2 (en) 2016-09-06 2021-11-23 Huawei Technologies Co., Ltd. Data sharing method and terminal

Also Published As

Publication number Publication date
CN103473376B (en) 2017-12-29

Similar Documents

Publication Publication Date Title
CN101263471B (en) Initial server-side content rendering for client-script web pages
CN100535900C (en) Method and system for rendering asynchronous portal page
CN101546309B (en) Method and equipment for constructing indexes to resource content in computer network
CN110347942A (en) Method for page jump, device, storage medium and computer equipment
CN101232468A (en) Request-answering system and method
CN102929985A (en) Method and system for displaying collected webpage
KR970702523A (en) INTERFACE DEVICE AND METHOD
CN103383687A (en) Page processing method and device
CN103475744A (en) Resource downloading method, device and system on basis of Web application
CN102937981A (en) Webpage representing system and method
CN101355565A (en) Method and server for providing page service for various browsers
CN101853152A (en) Method and system for generating graphical user interface
CN105939313A (en) State code redirecting method and device
CN108932238A (en) A kind of cross-domain communication method and device
CN102982117A (en) Information search method and device
CN105897888A (en) Client connection method and system
CN102970348A (en) Method and system for network application propelling and network application server
CN102982118A (en) Searching method and device based on favorites
CN103533080A (en) Dispatching method and device for LVS (Linux virtual server)
CN109144619A (en) Icon font information processing method, apparatus and system
CN109561167A (en) A kind of domain name analytic method and device
CN103473376A (en) Data processing method and client ends
CN104065736A (en) URL redirection method, device, and system
CN105468776A (en) Method, device and system for operating database
CN105094787B (en) Method and device for processing enterprise internet application

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20171229

Termination date: 20210929

CF01 Termination of patent right due to non-payment of annual fee