CN103634323B - Data processing implementation method, system and device based on long connection - Google Patents

Data processing implementation method, system and device based on long connection Download PDF

Info

Publication number
CN103634323B
CN103634323B CN201310659008.4A CN201310659008A CN103634323B CN 103634323 B CN103634323 B CN 103634323B CN 201310659008 A CN201310659008 A CN 201310659008A CN 103634323 B CN103634323 B CN 103634323B
Authority
CN
China
Prior art keywords
data packet
server
long connection
mobile client
pending
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
CN201310659008.4A
Other languages
Chinese (zh)
Other versions
CN103634323A (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
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 CN201310659008.4A priority Critical patent/CN103634323B/en
Publication of CN103634323A publication Critical patent/CN103634323A/en
Application granted granted Critical
Publication of CN103634323B publication Critical patent/CN103634323B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Mobile Radio Communication Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a kind of data processing implementation method, system and devices based on long connection, this method comprises: personal computer PC server receives the pending data packet that mobile client is sent;PC server handles the pending data for including in the pending data packet, obtains reduced data packet according to the data processing instructions for including in the pending data packet;PC server obtains the account information for including in the pending data packet, and the reduced data packet is fed back to mobile client by the account information corresponding long connection server.The invention also discloses the device and system for realizing the above method.

Description

Data processing implementation method, system and device based on long connection
Technical field
The present invention relates to technical field of data processing more particularly to a kind of data processing implementation method based on long connection, System and device.
Background technique
With the development of wireless communication technique, the various application programs on mobile terminal are also more and more, and user is in movement The various data processing operations carried out in terminal are also more and more, such as picture processing, image merging, portfolio operations etc..
Due to the influence of the factors such as mobile terminal own hardware configuration, mobile client (such as cell phone client) is being carried out When above-mentioned data processing operation, if the data of processing are more complicated or bigger, processing speed can be slow, efficiency ratio It is lower, it is provided further, since handling the more complicated or bigger hardware such as more memory headroom or spatial cache that may occupy Source leads to the speed for other operations for influencing mobile terminal.
Summary of the invention
In view of the above problems, it proposes on the present invention overcomes the above problem or at least be partially solved in order to provide one kind Data processing implementation method, system and the device based on long connection for stating problem realize complicated data processing by long connect Operation, mitigates the data processing pressure of mobile terminal, improves the speed and efficiency of data processing.
According to one aspect of the present invention, a kind of data processing implementation method based on long connection is provided, comprising:
Personal computer PC server receives the pending data packet that mobile client is sent;
PC server is according to the data processing instructions for including in the pending data packet, in the pending data packet Including pending data handled, obtain reduced data packet;
PC server obtains the account information for including in the pending data packet, and corresponding by the account information The reduced data packet is fed back to mobile client by long connection server.
Optionally, the reduced data packet is fed back to by movement by the corresponding long connection server of the account information Client specifically includes:
PC server determines corresponding long connection server according to the account information, and the reduced data packet is sent To the long connection server determined;
The long connection server is sent out the reduced data packet by the long connection established between mobile client Give mobile client.
Optionally, the PC server receives the process of pending data packet, specifically includes:
The PC server receive the mobile client to data packet to be processed carry out encryption transmission it is encrypted to Handle data packet;Correspondingly,
When PC server receives encrypted pending data packet, further includes: to encrypted pending data packet into Row decryption.
Optionally, the PC server receives the pending data packet that mobile client is sent, and specifically includes: PC server The pending data packet that mobile client is sent by long connection server is received, wherein the long connection server and the PC There is long connection between server.
Optionally, the above method further include:
After mobile client receives the reduced data packet, the reduced data packet is parsed, obtains packet The reduced data included;
Mobile client is according to the data processing instructions for including in the reduced data packet, to the processed number got According to progress corresponding operation processing.
According to another aspect of the invention, a kind of PC server is provided, comprising:
Data reception module, for receiving the pending data packet of mobile client transmission;
Data processing module, for according to the data processing instructions for including in the pending data packet, to described wait locate The pending data for including in reason data packet is handled, and reduced data packet is obtained;
Data transmission blocks for obtaining the account information for including in the pending data packet, and pass through the account The reduced data packet is fed back to mobile client by the corresponding long connection server of information.
Optionally, the data transmission blocks, are specifically used for:
Corresponding long connection server is determined according to the account information, and the reduced data packet is sent to and is determined The long connection server, the reduced data packet is sent with will pass through the long connection established between mobile client To mobile client.
Optionally, the data reception module, is specifically used for:
Receive the encrypted pending data packet that the mobile client carries out encryption transmission to data packet to be processed;Phase It answers,
The data processing module is also used to receive encrypted pending data packet in the data reception module When, encrypted pending data packet is decrypted.
According to another aspect of the invention, a kind of long connection server is provided, comprising:
Connection establishment module establishes long connection for realizing with mobile client;
Data transmit-receive module, for PC server to be transmitted across according to the account information for including in the pending data packet The reduced data packet come feeds back to mobile client, and the reduced data packet is PC server according to the pending data The data processing instructions for including in packet handle the pending data for including in the pending data packet, obtain Handle data packet.
Optionally, the data transmit-receive module, is specifically used for:
Receive after pc client determines corresponding long connection server according to the account information, send over it is described Handle data packet;
The reduced data packet is sent to mobile client by the long connection established between mobile client.
According to another aspect of the invention, a kind of data processing realization system based on long connection is provided, comprising:
Mobile client, above-mentioned PC server, above-mentioned long connection server;The mobile client and pc client Between long connection established by the long connection server;
The mobile client sends pending data packet to PC server, and receives PC server and pass through long connection clothes The reduced data packet for device feedback of being engaged in.
Optionally, the mobile client, is also used to:
After receiving the reduced data packet, the reduced data packet is parsed, obtains include processed Data;
According to the data processing instructions for including in the reduced data packet, the reduced data got is carried out corresponding Operation processing.
The embodiment of the present invention provides a kind of data processing implementation method, system and device based on long connection, movement visitor On the end of family when data to be handled, PC server is sent by pending data packet, pending data is completed by PC server Mobile client is returned to after processing, to alleviate the data processing pressure on mobile terminal belonging to mobile client, is mentioned The high speed and efficiency of data processing, reduces the hardware resource cost on mobile terminal, reduces interior on mobile terminal Deposit the consumption of space and spatial cache, thus will not because of big data or complex data processing and influence on mobile terminal it The processing speed and efficiency that he operates.
The above description is only an overview of the technical scheme of the present invention, in order to better understand the technical means of the present invention, And it can be implemented in accordance with the contents of the specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, the followings are specific embodiments of the present invention.
Detailed description of the invention
By reading the following detailed description of the preferred embodiment, various other advantages and benefits are common for this field Technical staff will become clear.The drawings are only for the purpose of illustrating a preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 is the data processing implementation method flow chart based on long connection in the embodiment of the present invention;
Fig. 2 is the data processing implementation method flow chart based on long connection in the embodiment of the present invention one;
Fig. 3 is the data processing implementation method flow chart based on long connection in the embodiment of the present invention two;
Fig. 4 is the structural schematic diagram of the data processing realization system in the embodiment of the present invention based on long connection;
Fig. 5 is the structural schematic diagram of PC server in the embodiment of the present invention;
Fig. 6 is the structural schematic diagram of long connection server in the embodiment of the present invention.
Specific embodiment
Exemplary embodiments of the present disclosure are described in more detail below with reference to accompanying drawings.Although showing the disclosure in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure It is fully disclosed to those skilled in the art.
When in order to solve to handle complex data on mobile terminal in the prior art, processing speed is slow, inefficiency, and influences The problem of process performance of mobile terminal, the embodiment of the present invention provide a kind of data processing implementation method based on long connection.It should Method flow is as shown in Figure 1, include the following steps:
Step S110: mobile client sends pending data packet and gives personal computer (Personal Computer, PC) Server.
When mobile client data to be handled, pending data is packaged into pending data packet, is sent to PC clothes Business device.Pending data can be picture, file or other data contents.
It can also include data processing instructions and account information etc. in addition to including pending data in pending data packet.
Pending data packet can be directly sent to PC server by mobile client.In addition, mobile client can pass through Pending data packet is sent PC server by long connection server, wherein has between length connection server and PC server Long connection.
It optionally, can be to data packet to be processed before pending data packet is sent to PC server by mobile client It is encrypted, encrypted pending data packet is then sent to PC server to guarantee that the data of data packet pass again Defeated safety.
Step S120:PC server receives the pending data packet that mobile client is sent.
When PC server receives pending data packet, data packet to be processed is parsed, parse including Account information, pending data and data processing instructions.
If having carried out encryption to data packet to be processed in above-mentioned steps S110, PC server is received in the step To be mobile client carry out data packet to be processed encryption transmission encrypted pending data packet;Correspondingly, PC is serviced When device receives encrypted pending data packet, encrypted pending data packet is decrypted.
Step S130:PC server is according to the data processing instructions for including in pending data packet, to data packet to be processed In include pending data handled, obtain reduced data packet.
PC server performs corresponding processing the pending data parsed, after processing according to data processing instructions Data be packaged into reduced data packet.Such as pending data is picture, when instruction to be processed is merges, to figure to be processed Piece merges processing, and the picture after merging is bundled in reduced data packet.
Step S140:PC server obtains the account information for including in pending data packet, and PC server is believed by account It ceases corresponding long connection server and reduced data packet is fed back into mobile client.
In the step, PC server determines corresponding long connection clothes according to the account information for including in pending data packet Reduced data packet is sent to the long connection server determined by business device;Long connection server sends reduced data packet To mobile client.Wherein, after long connection server receives reduced data packet, by reduced data packet be sent to and itself Establish the mobile client of long connection.
Preferably, long connection server is sent reduced data packet by the long connection established between mobile client To mobile client.
Optionally, the above method further include:
Step S150: after mobile client receives reduced data packet, parsing reduced data packet, obtains packet The reduced data included.
Step S160: mobile client is according to the data processing instructions for including in reduced data packet, to getting It handles data and carries out corresponding operation processing.
Preferably, the result after operation processing can be showed user by mobile client.Such as by the picture after merging Show user.
The specific implementation of the above-mentioned data processing implementation method based on long connection is described in detail below by specific example Journey.
Embodiment one
The data processing implementation method based on long connection that the embodiment of the present invention one provides, by taking picture merging treatment as an example, Its process is as shown in Fig. 2, include the following steps:
Step S210: mobile client sends pending data packet to PC server.
It wherein, include at least two pictures to be processed, picture process instruction and account information in pending data packet.Example Such as: each special data processing instructions is controlled by action, for example action=1 represents picture splicing, Action=2 represent network profile merging etc..
When needing to carry out picture and merging splicing, mobile client by two or plurality of pictures, corresponding action= 1 data processing instructions and account information are packaged into pending data packet, by pending data packet be encrypted after to Processing data packet is sent to PC server.Wherein the pending data packet of encryption can be directly sent to PC service by mobile client Device.It is, moreover, an optional that mobile client can send PC service for the pending data packet of encryption by long connection server Device wherein has long connection between length connection server and PC server.
Step S220:PC server receives the pending data packet that mobile client is sent.
When PC server receives pending data packet, two or multiple figures for including are gone out from pending data Packet analyzing Piece, corresponding action=1 data processing instructions and account information.If what is received is encrypted pending data packet, First it is decrypted.
Step S230:PC server carries out two that include or plurality of pictures according to the picture process instruction parsed Merge splicing, obtain include merging after picture reduced data packet.
That is received two or plurality of pictures are carried out picture splicing according to picture process instruction action=1 by PC server The picture spliced is obtained afterwards, and will merge spliced picture and picture process instruction (action=1) is bundled to and has located It manages in data packet.
Step S240:PC server determines corresponding long connection server according to the account information got.
PC server determines the mobile terminal institute that user uses according to the account information got from pending data packet The long connection server of connection.
Step S250: long company will be sent to including the reduced data packet for merging spliced picture and picture process instruction Connect server.
Step S260: after long connection server receives reduced data packet, reduced data packet is sent to and is connected Mobile client, wherein can determine targeted mobile client according to account information.
Step S270: after mobile client receives reduced data packet, parse including merging it is spliced Picture and picture process instruction.
Step S280: mobile client will merge spliced picture and be supplied to user.
Mobile client is according to picture process instruction action=1, you can learn that is returned is the spliced processing knot of picture Fruit, therefore the picture spliced is presented to user.
Embodiment two
The data processing implementation method based on long connection that the embodiment of the present invention one provides is with favorites data processing Example, process is as shown in figure 3, include the following steps:
Step S310: mobile client sends pending data packet to PC server.
It wherein, include favorites data library, collection process instruction and account information in pending data packet.Such as: Action=2 represent network profile merging etc..
When needing to carry out collection merging treatment, mobile client is by favorites data library, the and of corresponding action=2 Account information is packaged into pending data packet, and pending data packet is sent to PC after pending data packet is encrypted Server.Wherein the pending data packet of encryption can be directly sent to PC server by mobile client.It is, moreover, an optional that mobile Client can send PC server for the pending data packet of encryption by long connection server, wherein length connection service There is long connection between device and PC server.
Step S320:PC server receives the pending data packet that mobile client is sent.
When PC server receives pending data packet, from pending data Packet analyzing go out include favorites data library, The data processing instructions and account information of corresponding action=2.If what is received is encrypted pending data packet, first It is decrypted.
Step S330:PC server carries out the favorites data library for including according to the collection process instruction parsed Merge, obtain include merging after favorites data library reduced data packet.
I.e. PC server is according to collection process instruction action=2, the network collection in received favorites data library Folder data merge after is merged after favorites data library, and by after merging favorites data library and collection processing Instruction (action=2) is bundled in reduced data packet.
PC server can also obtain favorites data library in advance from pc client, the collection that mobile client is sent The favorites data library obtained on database and pc client merges, the new favorites data library after being merged.
Step S340:PC server determines corresponding long connection server according to the account information got.
PC server determines the mobile terminal institute that user uses according to the account information got from pending data packet The long connection server of connection.
Step S350: the reduced data packet including favorites data library and collection process instruction after merging is sent Server is connected to long.
Step S360: after long connection server receives reduced data packet, reduced data packet is sent to and is connected Mobile client, wherein can determine targeted mobile client according to account information.
Step S370: after mobile client receives reduced data packet, parse including merging after collection Press from both sides database and collection process instruction.
Step S380: the favorites data library after merging is supplied to user by mobile client.
Mobile client is according to collection process instruction action=2, you can learn that is returned is that favorites data library merges Processing result afterwards, therefore the collection process instruction according to its action=2, corresponding favorites data library is replaced with The new database received, and corresponding data is supplied to user depending on the user's operation.
It should be known that above-mentioned process instruction is two specific examples, the present invention is not limited thereto, but can be suitable In any suitable command function that computer executes.Those skilled in the art can set such processing according to actual needs Instruction.
System is realized in a kind of data processing based on long connection provided in an embodiment of the present invention, and structure is as shown in figure 4, packet It includes: PC server 410, long connection server 420 and mobile client 430;Optionally, above system further includes pc client 440;Wherein, long connection is established by long connection server 420 between mobile client 430 and PC server 410.
Mobile client 430, it is logical to PC server 410, and reception PC server 410 for sending pending data packet The reduced data packet that too long connection server 420 is fed back.
PC server 410, for receiving the pending data packet of the transmission of mobile client 430;According to pending data packet In include data processing instructions, the pending data for including in data packet to be processed is handled, reduced data is obtained Packet;The account information for including in pending data packet is obtained, and will have been located by the corresponding long connection server 420 of account information Reason data packet feeds back to mobile client 430.
Long connection server 420 establishes long connection for realizing with mobile client 430;By PC server 410 according to The reduced data packet that the account information for including in processing data packet sends over feeds back to mobile client, reduced data packet It is PC server 410 according to the data processing instructions for including in pending data packet, to including wait locate in data packet to be processed Reason data are handled, obtained reduced data packet.In addition, in a preferred embodiment, which connects server 420 also Long connection can be established between PC server, to send out the pending data packet of mobile client 430 by length connection It send to PC server.
Preferably, above-mentioned mobile client after being also used to receive reduced data packet, solves reduced data packet Analysis, obtains the reduced data for including;It is processed to what is got according to the data processing instructions for including in reduced data packet Data carry out corresponding operation processing.
The structure of above-mentioned PC server is as shown in Figure 5, comprising: data reception module 510,520 sum number of data processing module According to sending module 530.
Data reception module 510, for receiving the pending data packet of mobile client transmission.
Data processing module 520, for according to the data processing instructions for including in pending data packet, to pending data The pending data for including in packet is handled, and reduced data packet is obtained.
Data transmission blocks 530 for obtaining the account information for including in pending data packet, and pass through account information pair Reduced data packet is fed back to mobile client by the long connection server answered.
Preferably, above-mentioned data transmission blocks 530, specifically for determining corresponding long connection service according to account information Reduced data packet is sent to the long connection server determined, will pass through the length established between mobile client by device Reduced data packet is sent to mobile client by connection.
Preferably, above-mentioned data reception module 510, be specifically used for receiving above-mentioned mobile client to data packet to be processed into The encrypted pending data packet that row encryption is sent;Correspondingly, data processing module 520, is also used in data reception module 510 when receiving encrypted pending data packet, and encrypted pending data packet is decrypted.
The structure of above-mentioned long connection server is as shown in Figure 6, comprising: connection establishment module 610 and data transmit-receive module 620。
Connection establishment module 610 establishes long connection for realizing with mobile client.In addition, in a preferred embodiment In, which is also used to establish long connection between PC server.
Data transmit-receive module 620, for PC server to be transmitted across according to the account information for including in pending data packet The reduced data packet come feeds back to mobile client, wherein reduced data packet is PC server according to pending data packet In include data processing instructions, the pending data for including in data packet to be processed is handled, obtained processed number According to packet.
Preferably, above-mentioned data transmit-receive module 620, specifically for receive pc client determined according to account information it is corresponding It grows after connecting server, the reduced data packet sended over;It will be located by the long connection established between mobile client Reason data packet is sent to mobile client.
The embodiment of the present invention provides a kind of data processing implementation method, system and device based on long connection, as mobile visitor When the data to be handled of family end, mobile client sends PC server for pending data and handles, PC server processing After by the way that long connection will treated that data return to mobile client, mitigate mobile client processing complex data or compared with Brought processing load, reduces the hardware resource cost on mobile terminal, reduces memory headroom and caching when big data The occupancy in space, improves the processing speed and efficiency of mobile terminal, to not influence other operations in mobile client Speed and efficiency.
Algorithm and display are not inherently related to any particular computer, virtual system, or other device provided herein. Various general-purpose systems can also be used together with teachings based herein.As described above, it constructs required by this kind of system Structure be obvious.In addition, the present invention is also not directed to any particular programming language.It should be understood that can use various Programming language realizes summary of the invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the instructions provided here, numerous specific details are set forth.It is to be appreciated, however, that implementation of the invention Example can be practiced without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this specification.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of the various inventive aspects, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the disclosed method should not be interpreted as reflecting the following intention: i.e. required to protect Shield the present invention claims features more more than feature expressly recited in each claim.More precisely, as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as a separate embodiment of the present invention.
Those skilled in the art will understand that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more devices different from this embodiment.It can be the module or list in embodiment Member or component are combined into a module or unit or component, and furthermore they can be divided into multiple submodule or subelement or Sub-component.Other than such feature and/or at least some of process or unit exclude each other, it can use any Combination is to all features disclosed in this specification (including adjoint claim, abstract and attached drawing) and so disclosed All process or units of what method or apparatus are combined.Unless expressly stated otherwise, this specification is (including adjoint power Benefit require, abstract and attached drawing) disclosed in each feature can carry out generation with an alternative feature that provides the same, equivalent, or similar purpose It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included certain features rather than other feature, but the combination of the feature of different embodiments mean it is of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed Meaning one of can in any combination mode come using.
Various component embodiments of the invention can be implemented in hardware, or to run on one or more processors Software module realize, or be implemented in a combination thereof.It will be understood by those of skill in the art that can be used in practice Microprocessor or digital signal processor (DSP) come realize some in device or system according to an embodiment of the present invention or The some or all functions of whole components.The present invention is also implemented as a part for executing method as described herein Or whole device or device program (for example, computer program and computer program product).Such realization present invention Program can store on a computer-readable medium, or may be in the form of one or more signals.Such letter It number can be downloaded from an internet website to obtain, be perhaps provided on the carrier signal or be provided in any other form.
It should be noted that the above-mentioned embodiments illustrate rather than limit the invention, and ability Field technique personnel can be designed alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between parentheses should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" located in front of the element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.In the unit claims listing several devices, several in these devices can be through the same hardware branch To embody.The use of word first, second, and third does not indicate any sequence.These words can be explained and be run after fame Claim.

Claims (12)

1. a kind of data processing implementation method based on long connection characterized by comprising
Personal computer PC server receives the pending data packet that mobile client is sent;
PC server is according to the data processing instructions for including in the pending data packet, to including in the pending data packet Pending data handled, obtain reduced data packet, wherein in the pending data packet include at least two wait locate It manages picture and/or favorites data library, the data processing instructions includes picture process instruction and/or collection process instruction;
PC server obtains the account information for including in the pending data packet, and even by the corresponding length of the account information It connects server and the reduced data packet is fed back into mobile client;
The long connection server passes through long connection interaction data between mobile client and PC server respectively.
2. the method as described in claim 1, which is characterized in that described to pass through the corresponding long connection server of the account information The reduced data packet is fed back into mobile client, is specifically included:
PC server determines corresponding long connection server according to the account information, and the reduced data packet is sent to really The long connection server made;
The reduced data packet is sent to by the long connection server by the long connection established between mobile client Mobile client.
3. the method as described in claim 1, which is characterized in that the PC server receives the process of pending data packet, tool Body includes:
The PC server receives the mobile client and carries out the encrypted to be processed of encryption transmission to data packet to be processed Data packet;Correspondingly,
When PC server receives encrypted pending data packet, further includes: solved to encrypted pending data packet It is close.
4. the method as described in claim 1, which is characterized in that the PC server receives the to be processed of mobile client transmission Data packet specifically includes: PC server receives the pending data packet that mobile client is sent by long connection server, wherein There is long connection between the long connection server and the PC server.
5. the method as described in claim 1-4 is any, which is characterized in that further include:
After mobile client receives the reduced data packet, the reduced data packet is parsed, obtains and includes Reduced data;
Mobile client according to the data processing instructions for including in the reduced data packet, to the reduced data got into The processing of row corresponding operation.
6. a kind of personal computer PC server characterized by comprising
Data reception module, for receiving the pending data packet of mobile client transmission;
Data processing module, for according to the data processing instructions for including in the pending data packet, to the number to be processed It is handled according to the pending data for including in packet, obtains reduced data packet, wherein include extremely in the pending data packet Few two pictures to be processed and/or favorites data library, the data processing instructions include picture process instruction and/or collection Process instruction;
Data transmission blocks for obtaining the account information for including in the pending data packet, and pass through the account information The reduced data packet is fed back to mobile client by corresponding long connection server;
The long connection server passes through long connection interaction data between mobile client and PC server respectively.
7. PC server as claimed in claim 6, which is characterized in that the data transmission blocks are specifically used for:
Corresponding long connection server is determined according to the account information, and the reduced data packet is sent to the institute determined Long connection server is stated, the reduced data packet is sent to shifting will pass through the long connection established between mobile client Dynamic client.
8. PC server as claimed in claims 6 or 7, which is characterized in that the data reception module is specifically used for:
Receive the encrypted pending data packet that the mobile client carries out encryption transmission to data packet to be processed;Accordingly ,
The data processing module is also used to when the data reception module receives encrypted pending data packet, right Encrypted pending data packet is decrypted.
9. a kind of long connection server characterized by comprising
Connection establishment module, for realizing long connection is established with mobile client and PC server respectively;
Data transmit-receive module, the account for including in the pending data packet for sending PC server according to the mobile client The reduced data packet that family information sends over feeds back to mobile client, and the reduced data packet is PC server according to institute The data processing instructions for including in pending data packet are stated, at the pending data for including in the pending data packet Reason, obtained reduced data packet, wherein include at least two pictures to be processed and/or collection in the pending data packet Database is pressed from both sides, the data processing instructions include picture process instruction and/or collection process instruction.
10. long connection server as claimed in claim 9, which is characterized in that the data transmit-receive module is specifically used for:
After reception pc client determines corresponding long connection server according to the account information, what is sended over is described processed Data packet;
The reduced data packet is sent to mobile client by the long connection established between mobile client.
11. system is realized in a kind of data processing based on long connection characterized by comprising mobile client, such as claim Any PC server of 6-8, the long connection server as described in claim 9-10 is any;The mobile client and PC Long connection is established by the long connection server between client;
The mobile client sends pending data packet to PC server, and receives PC server and pass through long connection server The reduced data packet of feedback.
12. system as claimed in claim 11, which is characterized in that the mobile client is also used to:
After receiving the reduced data packet, the reduced data packet is parsed, the reduced data for including is obtained;
According to the data processing instructions for including in the reduced data packet, the reduced data got is grasped accordingly It deals with.
CN201310659008.4A 2013-12-06 2013-12-06 Data processing implementation method, system and device based on long connection Active CN103634323B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310659008.4A CN103634323B (en) 2013-12-06 2013-12-06 Data processing implementation method, system and device based on long connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310659008.4A CN103634323B (en) 2013-12-06 2013-12-06 Data processing implementation method, system and device based on long connection

Publications (2)

Publication Number Publication Date
CN103634323A CN103634323A (en) 2014-03-12
CN103634323B true CN103634323B (en) 2019-02-22

Family

ID=50214950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310659008.4A Active CN103634323B (en) 2013-12-06 2013-12-06 Data processing implementation method, system and device based on long connection

Country Status (1)

Country Link
CN (1) CN103634323B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105490985B (en) * 2014-09-15 2019-12-13 腾讯科技(深圳)有限公司 Method and device for realizing TCP long connection based on signaling transmission
CN108965413B (en) * 2018-07-03 2021-08-03 北京小米移动软件有限公司 Information interaction method and device and storage medium
CN110377356B (en) * 2019-06-14 2022-09-20 北京奇艺世纪科技有限公司 Task processing method, device and system and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102202102A (en) * 2011-07-05 2011-09-28 施昊 Network service polymerization system and polymerization method thereof based on cloud computing configuration
CN102480473A (en) * 2010-11-26 2012-05-30 中国银联股份有限公司 Security information interaction system and method based on frequency shift keying (FSK)
CN102571868A (en) * 2010-12-31 2012-07-11 北京新媒传信科技有限公司 Instant messaging method, device and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101521680A (en) * 2009-03-20 2009-09-02 华南理工大学 Dual-mode wireless thin terminal device and method for utilizing external computing resources

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102480473A (en) * 2010-11-26 2012-05-30 中国银联股份有限公司 Security information interaction system and method based on frequency shift keying (FSK)
CN102571868A (en) * 2010-12-31 2012-07-11 北京新媒传信科技有限公司 Instant messaging method, device and system
CN102202102A (en) * 2011-07-05 2011-09-28 施昊 Network service polymerization system and polymerization method thereof based on cloud computing configuration

Also Published As

Publication number Publication date
CN103634323A (en) 2014-03-12

Similar Documents

Publication Publication Date Title
CN104468629B (en) A kind of method and apparatus of Batch sending message
US10417066B2 (en) Adapting legacy endpoints to modern APIs
CN105554094B (en) Data interactive method and device
CN110290186A (en) A kind of system and method suitable for the transmission of more Supercomputer Center's files
CN106411778B (en) The method and device of data forwarding
CN103634323B (en) Data processing implementation method, system and device based on long connection
CN105554085B (en) A kind of dynamic timeout treatment method and apparatus based on server connection
US8930632B2 (en) Methods and systems for application controlled pre-fetch
CN106131175A (en) A kind of acquisition of information, information-pushing method and equipment
CN109801210A (en) Image processing method, device, electronic equipment and computer readable storage medium
CN105635613B (en) A kind of record screen method and apparatus of mobile device
CN112434620B (en) Scene text recognition method, device, equipment and computer readable medium
CN109947911A (en) A kind of man-machine interaction method, calculates equipment and computer storage medium at device
CN108924183B (en) Method and device for processing information
CN103905484B (en) Handle the method and device of hypertext transfer protocol requests
CN111600920B (en) JS-based data request proxy method, device, equipment and readable storage medium
CN105681336B (en) Picture provides system
US20190370293A1 (en) Method and apparatus for processing information
CN104813610A (en) Providing multiple content items for display on multiple devices
CN103905496A (en) Picture downloading method and device
CN109783201A (en) Method for interchanging data and its system
US20170339201A1 (en) Streaming data on data processes
CN104994088B (en) Data verification method, client, server-side based on WiFi connections and system
CN105354269B (en) Web applicational language Localization methodologies and system based on reverse proxy and information filtering
CN103491393A (en) Video service processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220728

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.