CN103227816A - Data transmission method, data processing method, device and system - Google Patents

Data transmission method, data processing method, device and system Download PDF

Info

Publication number
CN103227816A
CN103227816A CN2013100976531A CN201310097653A CN103227816A CN 103227816 A CN103227816 A CN 103227816A CN 2013100976531 A CN2013100976531 A CN 2013100976531A CN 201310097653 A CN201310097653 A CN 201310097653A CN 103227816 A CN103227816 A CN 103227816A
Authority
CN
China
Prior art keywords
data
electronic equipment
tentation
sent
request instruction
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.)
Pending
Application number
CN2013100976531A
Other languages
Chinese (zh)
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 Xiaomi Technology Co Ltd
Original Assignee
Beijing Xiaomi Technology 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 Xiaomi Technology Co Ltd filed Critical Beijing Xiaomi Technology Co Ltd
Priority to CN2013100976531A priority Critical patent/CN103227816A/en
Publication of CN103227816A publication Critical patent/CN103227816A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a data transmission method, a data processing method, a device and a system, and belongs to the technical field of mobile communication. The methods include the following steps: sending subscribed data, associated data of the subscribed data, and a first request instruction for processing the subscribed data to second electronic equipment so as to bring convenience to the second electronic equipment to receive and cache the subscribed data and the associated data, and to process the subscribed data according to the first request instruction; and sending all or part of a second request instruction for processing the associated data to the second electronic equipment so as to bring convenience to the second electronic equipment to read all or part of the cached associated data, and to process the read data according to the second request instruction. According to the invention, the second electronic equipment can directly process the request data from local cached data, so that data processing efficiency is improved.

Description

Data transmission method for uplink, data processing method, device and system
Technical field
The present invention relates to the mobile communication technology field, particularly a kind of data transmission method for uplink, data processing method, device and system.
Background technology
Picture-storage is one of commonly used and important function in the electronic equipment such as mobile phone, IPAD or electronic reader.
Since varying in size of the display screen of distinct electronic apparatuses, and the user prefers checking picture on the bigger electronic equipment of screen.When wishing the pictorial information of storing in first electronic equipment that screen is less, the user is sent to when showing in second electronic equipment bigger such as screens such as TV, notebook computers, common a kind of image display method, comprise: when the user wished a certain picture in first electronic equipment shown in second electronic equipment, the user selected this picture earlier on first electronic equipment; First electronic equipment is sent to second electronic equipment with this picture then; At last, second electronic equipment shows this picture after receiving this picture.
The inventor finds that there is following problem at least in such scheme in realizing process of the present invention:
The user need send to a pictures second electronic equipment when showing at every turn, all need three steps of experience " select picture, send picture and Show Picture ", and it is longer to send the time that picture spent, thereby makes the user wish that the picture that shows can not be presented on second electronic equipment at once.This that is to say, when the user constantly selected different pictures to show, the user sent the shared time of every pictures and can cause the low of picture display efficiency in second electronic equipment.
Summary of the invention
In order to solve the low problem of picture display efficiency of second electronic equipment in the background technology, the embodiment of the invention provides a kind of data transmission method for uplink, data processing method, device and system.Described technical scheme is as follows:
First aspect provides a kind of data transmission method for uplink, and described data transmission method for uplink comprises:
Send the associated data of tentation data, described tentation data and handle first request instruction to the second electronic equipment of described tentation data, so that described second electronic equipment receives and described tentation data of buffer memory and described associated data, and handle described tentation data according to described first request instruction; The second all or part of request instruction that send to handle described associated data is to described second electronic equipment, so that described second electronic equipment reads described associated data all or part of of buffer memory and handle the data that read according to described second request instruction.
Second aspect provides a kind of data processing method, and described data processing method comprises:
Receive the associated data of the tentation data that first electronic equipment sends, described tentation data and handle first request instruction of described tentation data, and handle described tentation data according to described first request instruction; Described tentation data of buffer memory and described associated data; Receive the second all or part of request instruction of the described associated data of processing of described first electronic equipment transmission; Read described associated data all or part of of buffer memory, and handle the data that read according to described second request instruction.
The third aspect provides a kind of data sending device, and described data sending device comprises:
First sending module, be used to send the associated data of tentation data, described tentation data and handle first request instruction to the second electronic equipment of described tentation data, so that described second electronic equipment receives and described tentation data of buffer memory and described associated data, and handle described tentation data according to described first request instruction; Second sending module, be used to send handle described associated data the second all or part of request instruction to described second electronic equipment, so that described second electronic equipment reads described associated data all or part of of buffer memory and handle the data that read according to described second request instruction.
Fourth aspect provides a kind of data processing equipment, and described data processing equipment comprises:
First receiver module is used to receive the associated data of the tentation data that first electronic equipment sends, described tentation data and handles first request instruction of described tentation data, and handles described tentation data according to described first request instruction; Data cache module is used for described tentation data of buffer memory and described associated data; Second receiver module is used to receive the second all or part of request instruction of the described associated data of processing that described first electronic equipment sends; Data read module is used to read described associated data all or part of of buffer memory; Data processing module is used for handling the data that read according to described second request instruction.
The 5th aspect provides a kind of data handling system, and described system comprises above-mentioned described data sending device and data processing equipment.
The beneficial effect of the technical scheme that the embodiment of the invention provides is:
By associated data that sends tentation data, tentation data and first request instruction to the second electronic equipment of handling tentation data, make second electronic equipment receive and buffer memory tentation data and associated data, and handle tentation data according to first request instruction; And, make second electronic equipment read the data all or part of and that processing reads according to second request instruction of the associated data of buffer memory by sending second all or part of request instruction to the second electronic equipment of handling associated data.Solved when the user constantly selects different pictures to show, sent the low problem of picture display efficiency in second electronic equipment that the shared time of every pictures causes owing to the user; Reach second electronic equipment and can directly from the data of local cache, directly handle request msg, thereby improved the effect of data-handling efficiency.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the invention, the accompanying drawing of required use is done to introduce simply in will describing embodiment below, apparently, accompanying drawing in describing below only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain other accompanying drawing according to these accompanying drawings.
Fig. 1 is the structural representation of enforcement environment involved in the present invention;
Fig. 2 is the method flow diagram of the data processing method that provides of the embodiment of the invention one;
Fig. 3 is the method flow diagram of the data processing method that provides of the embodiment of the invention two;
Fig. 4 is the schematic diagram that first electronic equipment that the embodiment of the invention two provides sends picture to the second electronic equipment in the picture tabulation to be sent;
Fig. 5 is the method flow diagram of the data processing method that provides of the embodiment of the invention three;
Fig. 6 is the block diagram of the data sending device that provides of the embodiment of the invention four;
Fig. 7 is the block diagram of the data sending device that provides of the embodiment of the invention five;
Fig. 8 is the block diagram of first transmitting element that provides of the embodiment of the invention five;
Fig. 9 is another block diagram of first transmitting element that provides of the embodiment of the invention five;
Figure 10 is the block diagram of the tabulation generation unit that provides of the embodiment of the invention five;
Figure 11 is the block diagram of the data processing equipment that provides of the embodiment of the invention six;
Figure 12 is the block diagram of the data processing equipment that provides of the embodiment of the invention seven;
Figure 13 is the block diagram of first receiving element that provides of the embodiment of the invention seven;
Figure 14 is another block diagram of first receiving element that provides of the embodiment of the invention seven;
Figure 15 is the block diagram of the data handling system that provides of the embodiment of the invention eight.
Embodiment
In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in further detail below in conjunction with accompanying drawing, and obviously, described embodiment only is a part of embodiment of the present invention, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making all other embodiment that obtained under the creative work prerequisite.
Please refer to Fig. 1, it shows the related a kind of structural representation of implementing environment of the embodiment of the invention.This enforcement environment is a data treatment system, and this data handling system comprises first electronic equipment 010 and second electronic equipment 020.
First electronic equipment 010 can be the electronic equipment such as mobile phone, panel computer or E-book reader, first electronic equipment 010 can be connected with second electronic equipment 020 by cable network or wireless network, thereby realizes that first electronic equipment 010 sends the purpose of data and request to second electronic equipment 020;
Second electronic equipment 020 is can be electronic equipment such as TV, desktop computer and notebook, second electronic equipment 020 can be connected with first electronic equipment 010 by cable network or wireless network, thereby realize to receive data and request that first electronic equipment 010 sends, and the purpose of data being handled according to the request that receives.
Embodiment one
Please refer to Fig. 2, it shows the method flow diagram of the data processing method that the embodiment of the invention one provides.Present embodiment mainly is applied to enforcement environment shown in Figure 1 with this data processing method and illustrates.This data processing method comprises:
Step 101, first electronic equipment send the associated data of tentation data, tentation data and handle first request instruction to the second electronic equipment of tentation data;
When the user wants the data in first electronic equipment are sent to second electronic equipment when handling, the user can send the associated data of tentation data, tentation data and handle first request instruction to the second electronic equipment of tentation data by first electronic equipment.
Step 102, second electronic equipment receives and buffer memory tentation data and associated data, and handles tentation data according to first request instruction;
Step 103, first electronic equipment sends second all or part of request instruction to the second electronic equipment of handling associated data;
When the user wants the associated data of tentation data all or part of is sent to second electronic equipment when handling, first electronic equipment can send second all or part of request instruction to the second electronic equipment of handling associated data to second electronic equipment.
Step 104, second electronic equipment receive the second all or part of request instruction of the processing associated data of first electronic equipment transmission;
Step 105, second electronic equipment read associated data all or part of of buffer memory, and handle the data that read according to second request instruction.
After second electronic equipment receives the data cached second all or part of request instruction of processing, second electronic equipment can read associated data all or part of of buffer memory, and directly handles this data according to second request instruction after reading data.
In sum, the data processing method that present embodiment provides, by associated data that sends tentation data, tentation data and first request instruction to the second electronic equipment of handling tentation data, make second electronic equipment receive and buffer memory tentation data and associated data, and handle tentation data according to first request instruction; And, make second electronic equipment read the data all or part of and that processing reads according to second request instruction of the associated data of buffer memory by sending second all or part of request instruction to the second electronic equipment of handling associated data; Solved when the user constantly selects different pictures to show, sent the low problem of picture display efficiency in second electronic equipment that the shared time of every pictures causes owing to the user; Reach second electronic equipment and can directly from the data of local cache, directly handle request msg, thereby improved the effect of data-handling efficiency.
Embodiment two
Please refer to Fig. 3, it shows the method flow diagram of the data processing method that the embodiment of the invention two provides.Present embodiment mainly is applied to enforcement environment shown in Figure 1 with this data processing method and illustrates.This data processing method comprises:
Step 201 sends first request instruction to the second electronic equipment of handling tentation data;
Present embodiment is pictures with data, also promptly is sent in second electronic equipment with the picture that will store in first electronic equipment and is shown as example.Because first electronic equipment can be stored at least one pictures, every pictures has a unique filename in the picture tabulation, and the picture in the picture tabulation all can be according to a definite sequence such as time sequencing, modes such as picture size sort, so when first electronic equipment is stored picture, first electronic equipment can distribute a serial number ID for every pictures according to ordering, also be that each filename all can corresponding unique serial number ID, so when the user wants the predetermined pictures in the picture tabulation is sent to second electronic equipment when showing, first electronic equipment can receive the demonstration request that comprises the predetermined pictures filename of user's input, and after receiving the demonstration request, send first request instruction to the second electronic equipment that comprises the predetermined pictures filename.
Step 202, second electronic equipment detect whether to comprise tentation data in data cached, and feed back NACK messages to the first electronic equipment for after not comprising tentation data when testing result;
After the request of receiving of second electronic equipment showed first request instruction of predetermined pictures, second electronic equipment can detect whether comprise predetermined pictures in the buffer memory picture.Because when comprising predetermined pictures in the buffer memory picture of second electronic equipment, second electronic equipment can directly show this predetermined pictures; And when not comprising predetermined pictures in the buffer memory picture of second electronic equipment, second electronic equipment need ask first electronic equipment to send predetermined pictures, so when second electronic equipment detects when not comprising predetermined pictures in the buffer memory picture, second electronic equipment can feed back NACK messages.When reality realizes, second electronic equipment can detect whether comprise in the buffer memory picture tabulation with first request instruction in the corresponding ID of filename, if testing result, then illustrates the buffer memory picture of second electronic equipment for comprising and comprises predetermined pictures in tabulating, otherwise then do not comprise.
Step 203, first electronic equipment receive the NACK messages of second electronic equipment feedback, thereby send tentation data to the second electronic equipment;
First electronic equipment receives the NACK messages of second electronic equipment feedback, the predetermined pictures that does not exist request to show in the buffer memory picture in second electronic equipment is described, so first electronic equipment can send predetermined pictures to the second electronic equipment.When reality realizes, because it is corresponding one by one to comprise the filename of every pictures and ID and filename and ID in the picture of storing in first electronic equipment tabulation, so first electronic equipment can be sent to second electronic equipment by wired or wireless network with the serial number ID and the image content of predetermined pictures.
What need supplementary notes is, when reality realizes, first electronic equipment can send predetermined pictures to the second electronic equipment earlier, and then transmission shows first request instruction to the second electronic equipment of predetermined pictures, accordingly, second electronic equipment can receive predetermined pictures earlier, and then receives first request instruction that shows predetermined pictures, and after receiving first request instruction, showing predetermined pictures according to first request instruction, present embodiment does not repeat them here.
Step 204, first electronic equipment generates data list to be sent;
When first electronic equipment sent predetermined pictures to the second electronic equipment, first electronic equipment can generate a picture tabulation to be sent simultaneously.Wherein, picture tabulation to be sent comprises before the predetermined pictures and common n pictures afterwards or n pictures before the predetermined pictures or the n pictures after the predetermined pictures; And the picture in predetermined pictures and the picture to be sent tabulation all is contained in the picture-storage tabulation of arranging in order.
When reality realized, first electronic equipment generated the mode of picture tabulation to be sent, can comprise:
The first, judge whether current existing picture number i equals n in the picture tabulation to be sent;
The second, when judged result is i when being not equal to n, generate picture tabulation to be sent according to preordering method.
When first electronic equipment judges that when obtaining that current existing picture number is not equal to n in the picture tabulation to be sent, first electronic equipment can generate picture tabulation to be sent according to preordering method.
When reality realized, first electronic equipment generated the method that picture to be sent is tabulated according to preordering method, can comprise:
A, if i is when having non-selected picture before odd number and the predetermined pictures, select to be arranged in the picture-storage tabulation before the predetermined pictures, a nearest i+1 picture of tabulating of non-selected picture middle distance predetermined pictures also as picture to be sent;
It is example as first pictures in the picture tabulation to be sent that present embodiment is selected predetermined pictures picture afterwards with first electronic equipment, when first electronic equipment detects that existing picture number is odd number in the picture to be sent tabulation, illustrate that this moment, first electronic equipment can select a pictures as the picture in the picture tabulation to be sent in the non-selected picture before predetermined pictures, so whether first electronic equipment exists non-selected picture before can detecting predetermined pictures, thereby when having not selected picture, select to be positioned in the picture-storage tabulation before the predetermined pictures, next pictures during the nearest pictures of also non-selected picture middle distance predetermined pictures is tabulated as picture to be sent.
B, if i is when not having non-selected picture before odd number and the predetermined pictures, select i+1 picture after the predetermined pictures, during also nearest one of non-selected picture middle distance predetermined pictures tabulates as picture to be sent;
Existing picture number is an odd number in the picture tabulation to be sent when first electronic equipment detects, and when not having non-selected picture before the predetermined pictures, first electronic equipment can select to be arranged in the picture-storage tabulation after the predetermined pictures, the nearest pictures of non-selected picture middle distance predetermined pictures next pictures of tabulating also as picture to be sent.
C, if i is when having non-selected picture after even number and the predetermined pictures, select i+1 picture after the predetermined pictures, during also nearest one of non-selected picture middle distance predetermined pictures tabulates as picture to be sent;
Yet, when first electronic equipment detects that existing picture number is even number in the picture to be sent tabulation, illustrate that this moment, first electronic equipment can select a pictures as the picture in the picture tabulation to be sent in the non-selected picture after predetermined pictures, so whether first electronic equipment exists non-selected picture after can detecting predetermined pictures, thereby when having not selected picture, select to be positioned in the picture-storage tabulation after the predetermined pictures, next pictures during the nearest pictures of also non-selected picture middle distance predetermined pictures is tabulated as picture to be sent.
D, if i is when not having non-selected picture after even number and the predetermined pictures, select i+1 picture before the predetermined pictures, during also nearest one of non-selected picture middle distance predetermined pictures tabulates as picture to be sent;
Existing picture number is an even number in the picture tabulation to be sent when first electronic equipment detects, and when not having non-selected picture before the predetermined pictures, first electronic equipment can select to be arranged in the picture-storage tabulation before the predetermined pictures, the nearest pictures of non-selected picture middle distance predetermined pictures next pictures of tabulating also as picture to be sent.
Through after the above-mentioned selection, when the picture number i in the picture tabulation to be sent reaches n, the picture first electronic equipment can be tabulated the picture of having selected as picture to be sent in, thus generate picture tabulation to be sent.
What need supplementary notes is, when reality realized, first electronic equipment can also be selected first pictures of the picture before the predetermined pictures in tabulating as picture to be sent, and its implementation and above-mentioned implementation are similar, do not repeat them here.
Step 205, second electronic equipment receives and the buffer memory tentation data, and is receiving tentation data feedback acknowledgment information to the first electronic equipment afterwards;
Step 206, the first electronic equipment confirmation of receipt information, and send first request instruction to the second electronic equipment once more;
After first electronic equipment receives first confirmation, first electronic equipment illustrates that this moment, second electronic equipment successfully received predetermined pictures, so can send first request instruction to the second electronic equipment that request second electronic equipment shows predetermined pictures once more.
Step 207, second electronic equipment is handled tentation data according to first request instruction that receives;
Owing to be cached with predetermined pictures in second electronic equipment, so after second electronic equipment received first request instruction, second electronic equipment can be according to the predetermined pictures in the first request instruction display buffer.
When reality realizes, after second electronic equipment receives first request instruction, second electronic equipment can read the image content of the ID corresponding with filename according to the filename in first request instruction from the tabulation of buffer memory picture, thereby shows this predetermined pictures after reading the image content of predetermined pictures.
What need supplementary notes is, when reality realizes, second electronic equipment has successfully shown predetermined pictures in order to inform first electronic equipment, after second electronic equipment shows predetermined pictures according to first request instruction, second electronic equipment can send confirmation to the first electronic equipment, and present embodiment is not done qualification to this.
Step 208, first electronic equipment send data to the second electronic equipment in the data list to be sent;
Send first request instruction to the second electronic equipment that shows predetermined pictures at first electronic equipment, thereby make second electronic equipment according to after first request instruction demonstration predetermined pictures, first electronic equipment can be sent to second electronic equipment with the picture in the picture tabulation to be sent.
Wherein, related picture comprises before the predetermined pictures and common n pictures afterwards or common n pictures before the predetermined pictures or the common n pictures after the predetermined pictures.Simultaneously, because first electronic equipment has generated a picture tabulation to be sent, and picture tabulation to be sent comprises before the predetermined pictures and common n pictures afterwards or common n pictures before the predetermined pictures or the common n pictures after the predetermined pictures, so first electronic equipment sends related picture to the second electronic equipment, also promptly send picture to the second electronic equipment in the picture tabulation to be sent.
When reality realized, first electronic equipment can be sent to second electronic equipment with the j pictures in the picture tabulation to be sent one by one according to the sequencing between each picture in the picture tabulation to be sent.Wherein, j is the positive integer more than or equal to 1.
Such as, when n is 6, the serial number ID of the predetermined pictures that the first electronic equipment current request shows is q, and the serial number of the picture tabulation to be sent that first electronic equipment generates is respectively q+1, q-1, q+2, q-2, q+3, and q-3, then first electronic equipment can be successively be sent to second electronic equipment with the image content of said sequence correspondence, sends schematic diagram and please refer to Fig. 4.
Need to prove, after second electronic equipment successfully shows predetermined pictures and sends confirmation to the first electronic equipment, first electronic equipment can send picture to the second electronic equipment in the picture tabulation to be sent after receiving the confirmation information, present embodiment does not repeat them here.
Step 209, the data in the data list to be sent that second electronic equipment receives and buffer memory first electronic equipment sends;
After first electronic equipment sent picture to the second electronic equipment in the picture to be sent tabulation, second electronic equipment can receive the picture in the picture tabulation to be sent accordingly; And owing to user this moment do not want these pictures are shown in second electronic equipment, so the picture in the picture tabulation to be sent that second electronic equipment can buffer memory receives.
Wherein, the picture that second electronic equipment can come buffer memory to receive by the mode of creating a cache list for the picture that receives, the serial number ID of the every pictures of storage and corresponding image content in the cache list, thereby make second electronic equipment to call corresponding image content, and image content is shown according to serial number ID.Certainly, can also come buffer memory by other modes when reality realizes, present embodiment is not done qualification to this.
Step 210, first electronic equipment sends second all or part of request instruction to the second electronic equipment of handling associated data;
After second electronic equipment successfully shows predetermined pictures, the related picture of predetermined pictures all or part of is sent to second electronic equipment when showing in the user wants first electronic equipment, and first electronic equipment can send second all or part of request instruction to the second electronic equipment that shows related picture.
Such as, the user want with before the predetermined pictures in first electronic equipment and common k pictures afterwards be sent to second electronic equipment when showing, first electronic equipment can send and comprise before the predetermined pictures and second request instruction to the second electronic equipment of the filename of common k pictures afterwards.Certainly, when reality realized, first electronic equipment can also send second request instruction to the second electronic equipment that shows the pictures in the related picture, and present embodiment does not repeat them here.
Step 211, second electronic equipment receives the second all or part of request instruction of handling associated data;
Step 212, second electronic equipment read associated data all or part of of buffer memory, and handle the data that read according to second request instruction after reading data.
Because before second electronic equipment receives second request instruction, picture in the picture tabulation to be sent that second electronic equipment has received and buffer memory first electronic equipment sends, so in order to prevent that first electronic equipment from repeating to send same pictures to the second electronic equipment, thereby improve the efficient that second electronic equipment Shows Picture, after second electronic equipment receives the second all or part of request instruction that shows related picture, second electronic equipment can read related picture all or part of of buffer memory, and directly shows related picture after reading related picture all or part of.
Yet, when second electronic equipment reads the picture that shows less than the second request instruction request, second electronic equipment can send feedback information to the first electronic equipment that does not comprise the picture of second request instruction request demonstration in the expression buffer memory picture, show that again present embodiment does not repeat them here after asking first electronic equipment to send corresponding picture to the second electronic equipment.
In sum, the data processing method that present embodiment provides, by associated data that sends tentation data, tentation data and first request instruction to the second electronic equipment of handling tentation data, make second electronic equipment receive and buffer memory tentation data and associated data, and handle tentation data according to first request instruction; And, make second electronic equipment read the data all or part of and that processing reads according to second request instruction of the associated data of buffer memory by sending second all or part of request instruction to the second electronic equipment of handling associated data.Solved when the user constantly selects different pictures to show, sent the low problem of picture display efficiency in second electronic equipment that the shared time of every pictures causes owing to the user; Reach second electronic equipment and can directly from the data of local cache, directly handle request msg, thereby improved the effect of data-handling efficiency.Simultaneously, in the present embodiment, utilize second electronic equipment to handle between the data of two request processing, receive and the buffer memory data relevant with tentation data, reached when second electronic equipment and received when handling associated data all or part of, second electronic equipment can directly call data from data cached, thereby improves the effect of data-handling efficiency.
Embodiment three
Please refer to Fig. 5, it shows the method flow diagram of the data processing method that the embodiment of the invention three provides.Present embodiment mainly is applied to enforcement environment shown in Figure 1 with this data processing method and illustrates.Present embodiment is with the different of the foregoing description, before this enforcement sends data to second electronic equipment, first electronic equipment all can be sent out a query requests earlier, thereby just sends when only not comprising these data in second electronic equipment, has improved data processing efficiency.This data processing method can comprise:
Step 301 sends first request instruction to the second electronic equipment of handling described tentation data;
Present embodiment is pictures with data still, also promptly is sent in second electronic equipment with the picture that will store in first electronic equipment and is shown as example.When the user wants the predetermined pictures in the tabulation of the picture of first electronic equipment is sent to second electronic equipment when showing, first electronic equipment can receive the demonstration request that comprises the predetermined pictures filename of user's input, and after receiving the demonstration request, send first request instruction to the second electronic equipment that comprises the predetermined pictures filename.
Step 302, second electronic equipment detect whether to comprise tentation data in data cached, and feed back NACK messages to the first electronic equipment for after not comprising tentation data when testing result;
After the request of receiving of second electronic equipment shows first request instruction of predetermined pictures, second electronic equipment can detect whether comprise predetermined pictures in the buffer memory picture, and is time feedback NACK messages to the first electronic equipment that do not comprise predetermined pictures when testing result.When reality realizes, second electronic equipment can detect whether comprise in the buffer memory picture tabulation with first request instruction in the corresponding ID of filename, if testing result, then illustrates the buffer memory picture of second electronic equipment for comprising and comprises predetermined pictures in tabulating, otherwise then do not comprise.
Step 303, first electronic equipment receive the NACK messages of second electronic equipment feedback, thereby send tentation data to the second electronic equipment;
First electronic equipment receives the NACK messages of second electronic equipment feedback, the predetermined pictures that does not exist request to show in the buffer memory picture in second electronic equipment is described, so first electronic equipment can send predetermined pictures to the second electronic equipment.
What need supplementary notes is, when reality realizes, first electronic equipment can send predetermined pictures to the second electronic equipment earlier, and then transmission shows first request instruction to the second electronic equipment of predetermined pictures, accordingly, second electronic equipment can receive predetermined pictures earlier, and then receives first request instruction that shows predetermined pictures, and after receiving first request instruction, showing predetermined pictures according to first request instruction, present embodiment does not repeat them here.
Step 304, first electronic equipment generates data list to be sent;
When first electronic equipment sent predetermined pictures to the second electronic equipment, first electronic equipment can generate a picture tabulation to be sent simultaneously.Wherein, picture tabulation to be sent comprises before the predetermined pictures and common n pictures afterwards or n pictures before the predetermined pictures or the n pictures after the predetermined pictures; And the picture in predetermined pictures and the picture to be sent tabulation all is contained in the picture-storage tabulation of arranging in order.
When reality realized, first electronic equipment generated the mode of picture tabulation to be sent, can comprise:
The first, judge whether current existing picture number i equals n in the picture tabulation to be sent;
The second, when judged result is i when being not equal to n, generate picture tabulation to be sent according to preordering method.
When first electronic equipment judges that when obtaining that current existing picture number is not equal to n in the picture tabulation to be sent, first electronic equipment can generate picture tabulation to be sent according to preordering method.
When reality realized, first electronic equipment generated the method that picture to be sent is tabulated according to preordering method, can comprise:
A, if i is when having non-selected picture before odd number and the predetermined pictures, select to be arranged in the picture-storage tabulation before the predetermined pictures, a nearest i+1 picture of tabulating of non-selected picture middle distance predetermined pictures also as picture to be sent;
B, if i is when not having non-selected picture before odd number and the predetermined pictures, select i+1 picture after the predetermined pictures, during also nearest one of non-selected picture middle distance predetermined pictures tabulates as picture to be sent;
C, if i is when having non-selected picture after even number and the predetermined pictures, select i+1 picture after the predetermined pictures, during also nearest one of non-selected picture middle distance predetermined pictures tabulates as picture to be sent;
D, if i is when not having non-selected picture after even number and the predetermined pictures, select i+1 picture before the predetermined pictures, during also nearest one of non-selected picture middle distance predetermined pictures tabulates as picture to be sent;
Through after the above-mentioned selection, when the picture number i in the picture tabulation to be sent reaches n, the picture first electronic equipment can be tabulated the picture of having selected as picture to be sent in, thus generate picture tabulation to be sent.
What need supplementary notes is, when reality realized, first electronic equipment can also be selected first pictures of the picture before the predetermined pictures in tabulating as picture to be sent, and its implementation and above-mentioned implementation are similar, do not repeat them here.
Step 305, second electronic equipment receives and the buffer memory tentation data, and is receiving tentation data feedback acknowledgment information to the first electronic equipment afterwards;
Step 306, the first electronic equipment confirmation of receipt information, and send first request instruction to the second electronic equipment once more;
After first electronic equipment receives first confirmation, first electronic equipment illustrates that this moment, second electronic equipment successfully received predetermined pictures, so can send first request instruction to the second electronic equipment that request second electronic equipment shows predetermined pictures once more.
Step 307, second electronic equipment is handled tentation data according to first request instruction that receives;
Owing to be cached with predetermined pictures in second electronic equipment, so after second electronic equipment received first request instruction, second electronic equipment can be according to the predetermined pictures in the first request instruction display buffer.
What need supplementary notes is, for when reality realizes, second electronic equipment has successfully shown predetermined pictures in order to inform first electronic equipment, after second electronic equipment shows predetermined pictures according to first request instruction, second electronic equipment can send confirmation to the first electronic equipment, and present embodiment is not done qualification to this.
Step 308, first electronic equipment send data query request to the second electronic equipment;
Send first request instruction to the second electronic equipment that shows predetermined pictures at first electronic equipment, thereby make second electronic equipment according to after first request instruction demonstration predetermined pictures, first electronic equipment can be sent to second electronic equipment with the picture in the picture tabulation to be sent.
Wherein, related picture comprises before the predetermined pictures and common n pictures afterwards or common n pictures before the predetermined pictures or the common n pictures after the predetermined pictures.Simultaneously, because first electronic equipment has generated a picture tabulation to be sent, and picture tabulation to be sent comprises before the predetermined pictures and common n pictures afterwards or common n pictures before the predetermined pictures or the common n pictures after the predetermined pictures, so first electronic equipment sends related picture to the second electronic equipment, also promptly send picture to the second electronic equipment in the picture tabulation to be sent.
Yet, for fear of first electronic equipment with in second electronic equipment the picture of buffer memory be sent to second electronic equipment once more, before first electronic equipment sent picture to the second electronic equipment in the picture to be sent tabulation, first electronic equipment can send query requests to the second the electronic equipment whether picture that is used for inquiring about the second electronic equipment buffer memory comprises the picture in the picture tabulation to be sent.
When reality realizes, before first electronic equipment sent j pictures to the second electronic equipment in the picture to be sent tabulation, first electronic equipment can send query requests to the second electronic equipment whether the buffer memory picture tabulation that is used for inquiring about second electronic equipment comprises the j pictures in the picture tabulation to be sent earlier.
Need to prove, after second electronic equipment successfully shows predetermined pictures and sends confirmation to the first electronic equipment, first electronic equipment can send data query request to the second electronic equipment after receiving the confirmation information, present embodiment does not repeat them here.
Step 309, second electronic equipment be according to the data that whether comprise in the data query request query caching data in the data list to be sent, and send first feedback information or second feedback information according to Query Result;
Because it is identical with common n pictures afterwards or the common n pictures before the predetermined pictures or the common n pictures after the predetermined pictures before the predetermined pictures with picture during picture to be sent is tabulated, so after second electronic equipment receives the data query request, can be according to the picture that whether comprises in the data query request query caching picture in the picture to be sent tabulation, and send first feedback information or second feedback information according to Query Result.
This that is to say, before first electronic equipment sends j pictures to the second electronic equipment in the picture to be sent tabulation, first electronic equipment can send and be used for picture query request to the second electronic equipment whether the query caching picture comprises the j pictures in the picture tabulation to be sent, make second electronic equipment according to the j pictures that whether comprises in the picture query request query caching picture in the tabulation to be sent, j is the positive integer more than or equal to 1.
Wherein, first feedback information represents not comprise in the buffer memory picture of second electronic equipment j pictures in the picture tabulation to be sent, and second feedback information represents to comprise in the buffer memory picture of second electronic equipment j pictures in the picture tabulation to be sent.
Step 310 when first electronic equipment receives first feedback information, sends data to the second electronic equipment in the data list to be sent;
When first electronic equipment receives first feedback information, first electronic equipment j pictures that does not comprise in the buffer memory picture of second electronic equipment in the picture tabulation to be sent is described, so this moment, can send j pictures to the second electronic equipment in the picture tabulation to be sent.
Need to prove, when first electronic equipment receives second feedback information, the j pictures that has comprised in the buffer memory picture of second electronic equipment in the picture tabulation to be sent is described, so in order to save the spatial cache of second electronic equipment, and improve the picture display speed of second electronic equipment, first electronic equipment can send j+1 pictures to the second electronic equipment in the picture tabulation to be sent, will repeat no more this present embodiment.
Step 311, second electronic equipment receive the data in the also buffer memory data list to be sent;
After first electronic equipment sends picture to the second electronic equipment in the picture to be sent tabulation, second electronic equipment can receive the picture in the picture tabulation to be sent accordingly, yet, owing to do not want user at this moment the picture in the picture tabulation to be sent is shown in second electronic equipment, so the picture that buffer memory is received at second electronic equipment.
Step 312, first electronic equipment sends second all or part of request instruction to the second electronic equipment of handling associated data;
After second electronic equipment successfully shows predetermined pictures, the related picture of predetermined pictures all or part of is sent to second electronic equipment when showing in the user wants first electronic equipment, and first electronic equipment can send second all or part of request instruction to the second electronic equipment that shows related picture.
Step 313, second electronic equipment receives the second all or part of request instruction of handling associated data;
Step 314, second electronic equipment read associated data all or part of of buffer memory, and handle the data that read according to second request instruction after reading data.
Because before second electronic equipment receives second request instruction, picture in the picture tabulation to be sent that second electronic equipment has received and buffer memory first electronic equipment sends, so in order to prevent that first electronic equipment from repeating to send same pictures to the second electronic equipment, thereby improve the efficient that second electronic equipment Shows Picture, after second electronic equipment receives the second all or part of request instruction that shows related picture, second electronic equipment can read related picture all or part of of buffer memory, and directly shows related picture after reading related picture all or part of.
Yet, when second electronic equipment reads the picture that shows less than the second request instruction request, second electronic equipment can send feedback information to the first electronic equipment that does not comprise the picture of second request instruction request demonstration in the expression buffer memory picture, show that again present embodiment does not repeat them here after asking first electronic equipment to send corresponding picture to the second electronic equipment.
In sum, the data processing method that present embodiment provides, by associated data that sends tentation data, tentation data and first request instruction to the second electronic equipment of handling tentation data, make second electronic equipment receive and buffer memory tentation data and associated data, and handle tentation data according to first request instruction; And, make second electronic equipment read the data all or part of and that processing reads according to second request instruction of the associated data of buffer memory by sending second all or part of request instruction to the second electronic equipment of handling associated data.Solved when the user constantly selects different pictures to show, sent the low problem of picture display efficiency in second electronic equipment that the shared time of every pictures causes owing to the user; Reach second electronic equipment and can directly from the data of local cache, directly handle request msg, thereby improved the effect of data-handling efficiency.Simultaneously, before sending data to second electronic equipment at first electronic equipment, send query requests to the second electronic equipment earlier, inquire when not comprising these data in data cached thereby have only when second electronic equipment, first electronic equipment just can send this data to the second electronic equipment, reached the spatial cache of saving second electronic equipment, and the effect of data-handling efficiency is provided.
Embodiment four
Please refer to Fig. 6, it shows the block diagram of the data sending device that the embodiment of the invention four provides, and this data sending device can realize becoming the part in the electronic equipment such as mobile phone, panel computer or E-book reader.This data sending device can comprise: first sending module 410 and second sending module 420;
First sending module 410, be used to send the associated data of tentation data, described tentation data and handle first request instruction to the second electronic equipment of described tentation data, so that described second electronic equipment receives and described tentation data of buffer memory and described associated data, and handle described tentation data according to described first request instruction;
Second sending module 420, be used to send handle described associated data the second all or part of request instruction to described second electronic equipment, so that described second electronic equipment reads described associated data all or part of of buffer memory and handle the data that read according to described second request instruction.
In sum, the data sending device that present embodiment provides, by associated data that sends tentation data, tentation data and first request instruction to the second electronic equipment of handling tentation data, make second electronic equipment receive and buffer memory tentation data and associated data, and handle tentation data according to first request instruction; And, make second electronic equipment read the data all or part of and that processing reads according to second request instruction of the associated data of buffer memory by sending second all or part of request instruction to the second electronic equipment of handling associated data.Solved when the user constantly selects different pictures to show, sent the low problem of picture display efficiency in second electronic equipment that the shared time of every pictures causes owing to the user; Reach second electronic equipment and can directly from the data of local cache, directly handle request msg, thereby improved the effect of data-handling efficiency.
Embodiment five
Please refer to Fig. 7, it shows the block diagram of the data sending device that the embodiment of the invention five provides, and this data sending device can realize becoming the part in the electronic equipment such as mobile phone, panel computer or E-book reader.As the more preferred embodiment that provides based on the foregoing description, in the present embodiment,
First sending module 410 can comprise: first transmitting element 411, tabulation generation unit 412 and second transmitting element 413;
First transmitting element 411, first request instruction that sends described tentation data and handle described tentation data is to described second electronic equipment, so that described second electronic equipment is handled described tentation data according to described first request instruction;
Tabulation generation unit 412 is used to generate data list to be sent, and described data list to be sent comprises before the described tentation data and/or common n data afterwards;
Second transmitting element 413, the data that are used for sending described data list to be sent are to described second electronic equipment, so that described second electronic equipment receives the data in the also described data list to be sent of buffer memory;
Wherein, described n is the integer more than or equal to 1.
Preferably, please refer to Fig. 8, described first transmitting element 411 comprises: first sends subelement 510, message pick-up subelement 520, the second transmission subelement 530 and the 3rd transmission subelement 540;
First sends subelement 510, be used to send handle described tentation data first request instruction to described second electronic equipment, so that described second electronic equipment feeds back NACK messages after not comprising described tentation data in data cached detecting;
Message pick-up subelement 520 is used to receive the described NACK messages that described second electronic equipment feeds back;
Second sends subelement 530, is used to send described tentation data to described second electronic equipment, so that described second electronic equipment receives and the described tentation data of buffer memory, and is receiving described tentation data feedback acknowledgment information afterwards;
The 3rd sends subelement 540, is used for sending once more described first request instruction to described second electronic equipment, so that described second electronic equipment is handled described tentation data according to described first request instruction after receiving described confirmation.
Preferably, please refer to Fig. 9, described first transmitting element comprises that the 4th sends subelement 550 and the 5th transmission subelement 560;
The 4th sends subelement 550, is used to send described tentation data to described second electronic equipment, so that described second electronic equipment receives and the described tentation data of buffer memory;
The 5th sends subelement 560, is used to send first request instruction of the described tentation data of processing to described second electronic equipment, so that described second electronic equipment is handled described tentation data according to described first request instruction.
Preferably, please refer to Figure 10, described tabulation generation unit 412 comprises: data judgment sub-unit 610, first unit 630 that bears fruit, unit 620 and second that bears fruit;
Described data judgment sub-unit 610 is used for judging whether the current existing data number i of described data list to be sent equals n;
Described first unit 620 that bears fruit, the judged result that is used for when described data judgment sub-unit 610 is that described i is not equal to n, and described i is when having non-selected data before the odd number, described tentation data, select before the described tentation data, also nearest one of the described tentation data of non-selected data middle distance is as i+1 data in the described data list to be sent;
Described first unit 620 that bears fruit, the judged result that also is used for when described data judgment sub-unit 610 is that described i is not equal to n, and described i is when not having non-selected data before the odd number, described tentation data, select after the described tentation data, also nearest one of the described tentation data of non-selected data middle distance is as i+1 data in the described data list to be sent;
Described first unit 620 that bears fruit, the judged result that also is used for when described data judgment sub-unit 610 is that described i is not equal to n, and described i is when having non-selected data after the even number, described tentation data, select after the described tentation data, also nearest one of the described tentation data of non-selected data middle distance is as i+1 data in the described data list to be sent;
Described first unit 620 that bears fruit, the judged result that also is used for when described data judgment sub-unit 610 is that described i is not equal to n, and described i is when not having non-selected data after the even number, described tentation data, select before the described tentation data, also nearest one of the described tentation data of non-selected data middle distance is as i+1 data in the described data list to be sent;
Described second unit 630 that bears fruit, the judged result that is used for when described data judgment sub-unit 610 is that described i equals n, common n data then will having selected are as the data in the described data list to be sent, thereby generate described data list to be sent.
Preferably, described first sending module 410 also comprises: the 3rd transmitting element 414,
The 3rd transmitting element 414, be used to send the data query request to described second electronic equipment, described data query request is used for inquiring about described data cached j the data that whether comprise in the described data list to be sent of described second electronic equipment, so that described second electronic equipment is inquired about described j data that whether comprise in data cached in the described data list to be sent after receiving described data query request, and send first feedback information or second feedback information according to Query Result, described first feedback information represents not comprise in described second electronic equipment data cached j data in the described data list to be sent, and described second feedback information represents to comprise in described second electronic equipment data cached j data in the described data list to be sent;
Described second transmitting element 413 also is used for if receive described first feedback information, then sends j data described second electronic equipment extremely in the described data list to be sent;
Described second transmitting element 413 also is used for if receive described second feedback information, then sends j+1 data described second electronic equipment extremely in the described data list to be sent; Wherein, described j is the positive integer smaller or equal to n.
In sum, the data sending device that present embodiment provides, by associated data that sends tentation data, tentation data and first request instruction to the second electronic equipment of handling tentation data, make second electronic equipment receive and buffer memory tentation data and associated data, and handle tentation data according to first request instruction; And, make second electronic equipment read the data all or part of and that processing reads according to second request instruction of the associated data of buffer memory by sending second all or part of request instruction to the second electronic equipment of handling associated data.Solved when the user constantly selects different pictures to show, sent the low problem of picture display efficiency in second electronic equipment that the shared time of every pictures causes owing to the user; Reach second electronic equipment and can directly from the data of local cache, directly handle request msg, thereby improved the effect of data-handling efficiency.Simultaneously, in the present embodiment, utilize second electronic equipment to handle between the data of two request processing, receive and the buffer memory data relevant with tentation data, reached when second electronic equipment and received when handling associated data all or part of, second electronic equipment can directly call data from data cached, thereby improves the effect of data-handling efficiency.
Embodiment six
Please refer to Figure 11, it shows the block diagram of the data processing equipment that the embodiment of the invention six provides, and this data processing equipment can realize becoming the part in the electronic equipment of the electronic equipment such as TV, desktop computer and notebook.This data processing equipment can comprise: first receiver module 710, data cache module 720, second receiver module 730, data read module 740 and data processing module 750;
First receiver module 710 is used to receive the associated data of the tentation data that first electronic equipment sends, described tentation data and handles first request instruction of described tentation data, and handles described tentation data according to described first request instruction;
Data cache module 720 is used for described tentation data and described associated data that described first receiver module 710 of buffer memory receives;
Second receiver module 730 is used to receive the second all or part of request instruction of the described associated data of processing that described first electronic equipment sends;
Data read module 740 is used to read described associated data all or part of of buffer memory;
Data processing module 750 is used for handling the data that read according to described second request instruction.
In sum, the data processing equipment that present embodiment provides, by associated data that sends tentation data, tentation data and first request instruction to the second electronic equipment of handling tentation data, make second electronic equipment receive and buffer memory tentation data and associated data, and handle tentation data according to first request instruction; And, make second electronic equipment read the data all or part of and that processing reads according to second request instruction of the associated data of buffer memory by sending second all or part of request instruction to the second electronic equipment of handling associated data.Solved when the user constantly selects different pictures to show, sent the low problem of picture display efficiency in second electronic equipment that the shared time of every pictures causes owing to the user; Reach second electronic equipment and can directly from the data of local cache, directly handle request msg, thereby improved the effect of data-handling efficiency.
Embodiment seven
Please refer to Figure 12, it shows the block diagram of the data processing equipment that the embodiment of the invention seven provides, and this data processing equipment can realize becoming the part in the electronic equipment of the electronic equipment such as TV, desktop computer and notebook.As the more preferred embodiment that provides based on the foregoing description, in the present embodiment,
Described associated data comprises before the described tentation data and/or common n data afterwards, and described first receiver module 710 comprises: first receiving element 711, data processing unit 712, second receiving element 713;
First receiving element 711 is used to receive described first electronic equipment described tentation data that sends and first request instruction of handling described tentation data;
Data processing unit 712 is used for handling described tentation data according to described first request instruction;
Second receiving element 713, be used for receiving the data of the data list to be sent that described first electronic equipment sends, the data in the described data list to be sent comprise before the described tentation data of arranging in order that described first electronic equipment generates and/or common n data afterwards;
Wherein, described n is the integer more than or equal to 1.
Preferably, please refer to Figure 13, described first receiving element 711 can comprise: first receives subelement 810, Data Detection subelement 820, the second reception subelement 830 and the 3rd reception subelement 840;
First receives subelement 810, is used to receive first request instruction of the described tentation data of processing that described first electronic equipment sends;
Data Detection subelement 820, be used for detecting the data cached described tentation data that whether comprises, and when testing result be described feedback NACK messages when not comprising described tentation data in data cached so that described first electronic equipment sends described tentation data after receiving described NACK messages;
Second receives subelement 830, be used to receive the described tentation data that described first electronic equipment sends, and receiving after the described tentation data feedback acknowledgment information to described first electronic equipment, so that described first electronic equipment sends described first request instruction once more after receiving described confirmation;
The 3rd receives subelement 840, is used to receive described first request instruction that described first electronic equipment sends once more.
Preferably, please refer to Figure 14, described first receiving element 711 can comprise: the 4th receives subelement 850 and the 5th receives subelement 860;
The 4th receives subelement 850, is used to receive the described tentation data that described first electronic equipment sends;
The 5th receives subelement 860, is used to receive first request instruction of the described tentation data of processing that described first electronic equipment sends.
Preferably, described first receiver module 710 also comprises: request receiving element 714, data query unit 715, first feedback unit 716 and second feedback unit 717;
Request receiving element 714 is used to receive the data query request that described first electronic equipment sends, and described data query request is used for inquiring about described data cached j data that whether comprise in the described data list to be sent;
Data query unit 715 is used for inquiring about described data cached j data that whether comprise in the described data list to be sent according to the described data query request that described request receiving element 714 receives;
First feedback unit 716, be used for if the Query Result of described data query unit 715 is described data cached j data that do not comprise in the described data list to be sent, then send first feedback information to described first electronic equipment, so that described first electronic equipment sends j data in the described data list to be sent after receiving described first feedback information;
Second feedback unit 717, be used for if the Query Result of described data query unit 715 is described data cached j data that comprise in the described data list to be sent, then send second feedback information to described first electronic equipment, so that described first electronic equipment sends j+1 data in the described data list to be sent after receiving described second feedback information; Wherein, described j is the positive integer smaller or equal to n.
In sum, the data processing equipment that present embodiment provides, by associated data that sends tentation data, tentation data and first request instruction to the second electronic equipment of handling tentation data, make second electronic equipment receive and buffer memory tentation data and associated data, and handle tentation data according to first request instruction; And, make second electronic equipment read the data all or part of and that processing reads according to second request instruction of the associated data of buffer memory by sending second all or part of request instruction to the second electronic equipment of handling associated data.Solved when the user constantly selects different pictures to show, sent the low problem of picture display efficiency in second electronic equipment that the shared time of every pictures causes owing to the user; Reach second electronic equipment and can directly from the data of local cache, directly handle request msg, thereby improved the effect of data-handling efficiency.Simultaneously, in the present embodiment, utilize second electronic equipment to handle between the data of two request processing, receive and the buffer memory data relevant with tentation data, reached when second electronic equipment and received when handling associated data all or part of, second electronic equipment can directly call data from data cached, thereby improves the effect of data-handling efficiency.
Embodiment eight
Please refer to Figure 15, it shows the structural representation of the data handling system that the embodiment of the invention eight provides, and this system can comprise first electronic equipment 910 and second electronic equipment 920.Wherein, please refer to embodiment four and embodiment five, please refer to embodiment six and embodiment seven, do not repeat them here about the detailed description of second electronic equipment 920 about the detailed description of first electronic equipment 910.
In sum, the data handling system that present embodiment provides, by associated data that sends tentation data, tentation data and first request instruction to the second electronic equipment of handling tentation data, make second electronic equipment receive and buffer memory tentation data and associated data, and handle tentation data according to first request instruction; And, make second electronic equipment read the data all or part of and that processing reads according to second request instruction of the associated data of buffer memory by sending second all or part of request instruction to the second electronic equipment of handling associated data.Solved when the user constantly selects different pictures to show, sent the low problem of picture display efficiency in second electronic equipment that the shared time of every pictures causes owing to the user; Reach second electronic equipment and can directly from the data of local cache, directly handle request msg, thereby improved the effect of data-handling efficiency.Simultaneously, in the present embodiment, utilize second electronic equipment to handle between the data of two request processing, receive and the buffer memory data relevant with tentation data, reached when second electronic equipment and received when handling associated data all or part of, second electronic equipment can directly call data from data cached, thereby improves the effect of data-handling efficiency.
Need to prove: the data handling system that the foregoing description provides is when deal with data, only the division with above-mentioned each functional module is illustrated, in the practical application, can as required the above-mentioned functions distribution be finished by different functional modules, the internal structure of the equipment of being about to is divided into different functional modules, to finish all or part of function described above.In addition, the data handling system that the foregoing description provides and the method embodiment of data processing method belong to same design, and its specific implementation process sees method embodiment for details, repeats no more here.
The invention described above embodiment sequence number is not represented the quality of embodiment just to description.
The all or part of step that one of ordinary skill in the art will appreciate that realization the foregoing description can be finished by hardware, also can instruct relevant hardware to finish by program, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium of mentioning can be a read-only memory, disk or CD etc.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (23)

1. a data transmission method for uplink is used for first electronic equipment, it is characterized in that, described method comprises:
Send the associated data of tentation data, described tentation data and handle first request instruction to the second electronic equipment of described tentation data, so that described second electronic equipment receives and described tentation data of buffer memory and described associated data, and handle described tentation data according to described first request instruction;
The second all or part of request instruction that send to handle described associated data is to described second electronic equipment, so that described second electronic equipment reads described associated data all or part of of buffer memory and handle the data that read according to described second request instruction.
2. data data transmission method for uplink according to claim 1, it is characterized in that, described associated data comprises before the described tentation data and/or common n data afterwards, the associated data of described transmission tentation data, described tentation data and handle first request instruction to the second electronic equipment of described tentation data comprises:
First request instruction that sends described tentation data and handle described tentation data is to described second electronic equipment, so that described second electronic equipment is handled described tentation data according to described first request instruction;
Generate data list to be sent, described data list to be sent comprises before the described tentation data and/or common n data afterwards;
Send data in the described data list to be sent to described second electronic equipment, so as described second electronic equipment to receive and the described data list to be sent of buffer memory in data;
Wherein, described n is the integer more than or equal to 1.
3. data transmission method for uplink according to claim 2 is characterized in that, the described tentation data of described transmission and first request instruction of handling described tentation data comprise to described second electronic equipment:
First request instruction that send to handle described tentation data is to described second electronic equipment, so that described second electronic equipment feeds back NACK messages after not comprising described tentation data in data cached detecting;
Receive the described NACK messages of described second electronic equipment feedback;
Send described tentation data to described second electronic equipment,, and receiving described tentation data feedback acknowledgment information afterwards so that described second electronic equipment receives and the described tentation data of buffer memory;
After receiving described confirmation, send described first request instruction once more to described second electronic equipment, so that described second electronic equipment is handled described tentation data according to described first request instruction.
4. data transmission method for uplink according to claim 2 is characterized in that, the associated data of described transmission tentation data, described tentation data and handle first request instruction to the second electronic equipment of described tentation data comprises:
Send described tentation data to described second electronic equipment, so that described second electronic equipment receives and the described tentation data of buffer memory;
First request instruction that sends the described tentation data of processing is to described second electronic equipment, so that described second electronic equipment is handled described tentation data according to described first request instruction.
5. according to the arbitrary described data transmission method for uplink of claim 2 to 4, it is characterized in that, data in described tentation data and the described data list to be sent all are stored in the storage tabulation of arranging in order, and described generation data list to be sent comprises:
Judge whether current existing data number i equals n in the described data list to be sent;
When judged result is that described i is when being not equal to n, then
If described i is when having non-selected data before odd number and the described tentation data, select to be arranged in the described storage tabulation before the described tentation data, nearest i+1 data of the described tentation data of non-selected data middle distance also as described data list to be sent;
If described i is when not having non-selected data before odd number and the described tentation data, select to be arranged in the described storage tabulation after the described tentation data, nearest i+1 data of the described tentation data of non-selected data middle distance also as described data list to be sent;
If described i is when having non-selected data after even number and the described tentation data, select to be arranged in the described storage tabulation after the described tentation data, nearest i+1 data of the described tentation data of non-selected data middle distance also as described data list to be sent;
If described i is when not having non-selected data after even number and the described tentation data, select to be arranged in the described storage tabulation before the described tentation data, nearest i+1 data of the described tentation data of non-selected data middle distance also as described data list to be sent;
When judged result is that described i equals described n, common n data then will having selected are as the data in the described data list to be sent, thereby generate described data list to be sent.
6. data transmission method for uplink according to claim 5 is characterized in that, the data in the described data list to be sent of described transmission also comprise to described second electronic equipment:
Send the data query request to described second electronic equipment, described data query request is used for inquiring about described data cached j the data that whether comprise in the described data list to be sent of described second electronic equipment, so that described second electronic equipment is inquired about described j data that whether comprise in data cached in the described data list to be sent after receiving described data query request, and send first feedback information or second feedback information according to Query Result, described first feedback information represents not comprise in described second electronic equipment data cached j data in the described data list to be sent, and described second feedback information represents to comprise in described second electronic equipment data cached j data in the described data list to be sent;
If receive described first feedback information, then send j data described second electronic equipment extremely in the described data list to be sent;
If receive described second feedback information, then send j+1 data described second electronic equipment extremely in the described data list to be sent;
Wherein, described j is the positive integer smaller or equal to n.
7. a data processing method is used for second electronic equipment, it is characterized in that, described method comprises:
Receive the associated data of the tentation data that first electronic equipment sends, described tentation data and handle first request instruction of described tentation data, and handle described tentation data according to described first request instruction;
Described tentation data of buffer memory and described associated data;
Receive the second all or part of request instruction of the described associated data of processing of described first electronic equipment transmission;
Read described associated data all or part of of buffer memory, and handle the data that read according to described second request instruction.
8. data processing method according to claim 7, it is characterized in that, described associated data comprises before the described tentation data and/or common n data afterwards, the tentation data that described reception first electronic equipment sends, the associated data of described tentation data and handle first request instruction of described tentation data, and handle described tentation data according to described first request instruction, comprising:
Receive described first electronic equipment described tentation data that sends and first request instruction of handling described tentation data;
Handle described tentation data according to described first request instruction;
Receive the data in the data list to be sent that described first electronic equipment sends, the data in the described data list to be sent comprise before the described tentation data of arranging in order that described first electronic equipment generates and/or common n data afterwards;
Wherein, described n is the integer more than or equal to 1.
9. data processing method according to claim 8 is characterized in that, described tentation data that described first electronic equipment of described reception sends and first request instruction of handling described tentation data comprise:
Receive first request instruction of the described tentation data of processing of described first electronic equipment transmission;
Detect whether comprise described tentation data in data cached, and when testing result be described feedback NACK messages when not comprising described tentation data in data cached so that described first electronic equipment sends described tentation data after receiving described NACK messages;
Receive the described tentation data that described first electronic equipment sends, and receiving after the described tentation data feedback acknowledgment information to described first electronic equipment, so that described first electronic equipment sends described first request instruction once more after receiving described confirmation;
Receive described first request instruction that described first electronic equipment sends once more.
10. data processing method according to claim 8 is characterized in that, described tentation data that described first electronic equipment of described reception sends and first request instruction of handling described tentation data comprise:
Receive the described tentation data that described first electronic equipment sends;
Receive first request instruction of the described tentation data of processing of described first electronic equipment transmission.
11. to 10 arbitrary described data processing methods, it is characterized in that according to Claim 8, before the data in the data list to be sent that described first electronic equipment of described reception sends, also comprise:
Receive the data query request that described first electronic equipment sends, described data query request is used for inquiring about described data cached j data that whether comprise in the described data list to be sent;
Inquire about described j data that whether comprise in data cached in the described data list to be sent according to described data query request;
If Query Result is described j data that do not comprise in data cached in the described data list to be sent, then send first feedback information to described first electronic equipment, so that described first electronic equipment sends j data in the described data list to be sent after receiving described first feedback information;
If Query Result is described j data that comprise in data cached in the described data list to be sent, then send second feedback information to described first electronic equipment, so that described first electronic equipment sends j+1 data in the described data list to be sent after receiving described second feedback information;
Wherein, described j is the positive integer smaller or equal to n.
12. a data sending device is used for first electronic equipment, it is characterized in that, described device comprises:
First sending module, be used to send the associated data of tentation data, described tentation data and handle first request instruction to the second electronic equipment of described tentation data, so that described second electronic equipment receives and described tentation data of buffer memory and described associated data, and handle described tentation data according to described first request instruction;
Second sending module, be used to send handle described associated data the second all or part of request instruction to described second electronic equipment, so that described second electronic equipment reads described associated data all or part of of buffer memory and handle the data that read according to described second request instruction.
13. data processing equipment according to claim 12 is characterized in that, described associated data comprises before the described tentation data and/or common n data afterwards, and described first sending module comprises:
First transmitting element, first request instruction that sends described tentation data and handle described tentation data is to described second electronic equipment, so that described second electronic equipment is handled described tentation data according to described first request instruction;
The tabulation generation unit is used to generate data list to be sent, and described data list to be sent comprises before the described tentation data and/or common n data afterwards;
Second transmitting element, the data that are used for sending described data list to be sent are to described second electronic equipment, so that described second electronic equipment receives the data in the also described data list to be sent of buffer memory;
Wherein, described n is the integer more than or equal to 1.
14. data sending device according to claim 12 is characterized in that, described first transmitting element comprises:
First sends subelement, be used to send handle described tentation data first request instruction to described second electronic equipment, so that described second electronic equipment feeds back NACK messages after not comprising described tentation data in data cached detecting;
The message pick-up subelement is used to receive the described NACK messages that described second electronic equipment feeds back;
Second sends subelement, is used to send described tentation data to described second electronic equipment, so that described second electronic equipment receives and the described tentation data of buffer memory, and is receiving described tentation data feedback acknowledgment information afterwards;
The 3rd sends subelement, is used for sending once more described first request instruction to described second electronic equipment, so that described second electronic equipment is handled described tentation data according to described first request instruction after receiving described confirmation.
15. data sending device according to claim 12 is characterized in that, described first transmitting element comprises:
The 4th sends subelement, is used to send described tentation data to described second electronic equipment, so that described second electronic equipment receives and the described tentation data of buffer memory;
The 5th sends subelement, is used to send first request instruction of the described tentation data of processing to described second electronic equipment, so that described second electronic equipment is handled described tentation data according to described first request instruction.
16., it is characterized in that the data in described tentation data and the described data list to be sent all are stored in the storage tabulation of arranging in order according to the arbitrary described data sending device of claim 12 to 15, described tabulation generation unit comprises:
The data judgment sub-unit is used for judging whether the current existing data number i of described data list to be sent equals n;
First unit that bears fruit, the judged result that is used for when described data judgment sub-unit is that described i is not equal to n, and described i is when having non-selected data before the odd number, described tentation data, select to be arranged in the described storage tabulation before the described tentation data, nearest i+1 data of the described tentation data of non-selected data middle distance also as described data list to be sent;
Described first unit that bears fruit, the judged result that also is used for when described data judgment sub-unit is that described i is not equal to n, and described i is when not having non-selected data before the odd number, described tentation data, select to be arranged in the described storage tabulation after the described tentation data, nearest i+1 data of the described tentation data of non-selected data middle distance also as described data list to be sent;
Described first unit that bears fruit, the judged result that also is used for when described data judgment sub-unit is that described i is not equal to n, and described i is when having non-selected data after the even number, described tentation data, select to be arranged in the described storage tabulation after the described tentation data, nearest i+1 data of the described tentation data of non-selected data middle distance also as described data list to be sent;
Described first unit that bears fruit, the judged result that also is used for when described data judgment sub-unit is that described i is not equal to n, and described i is when not having non-selected data after the even number, described tentation data, select to be arranged in the described storage tabulation before the described tentation data, nearest i+1 data of the described tentation data of non-selected data middle distance also as described data list to be sent;
Second unit that bears fruit, the judged result that is used for when described data judgment sub-unit is that described i equals n, common n data then will having selected are as the data in the described data list to be sent, thereby generate described data list to be sent.
17. data sending device according to claim 16 is characterized in that, described first sending module also comprises:
The 3rd transmitting element, be used to send the data query request to described second electronic equipment, described data query request is used for inquiring about described data cached j the data that whether comprise in the described data list to be sent of described second electronic equipment, so that described second electronic equipment is inquired about described j data that whether comprise in data cached in the described data list to be sent after receiving described data query request, and send first feedback information or second feedback information according to Query Result, described first feedback information represents not comprise in described second electronic equipment data cached j data in the described data list to be sent, and described second feedback information represents to comprise in described second electronic equipment data cached j data in the described data list to be sent;
Described second transmitting element also is used for if receive described first feedback information, then sends j data described second electronic equipment extremely in the described data list to be sent;
Described second transmitting element also is used for if receive described second feedback information, then sends j+1 data described second electronic equipment extremely in the described data list to be sent;
Wherein, described j is the positive integer smaller or equal to n.
18. a data processing equipment is used for second electronic equipment, it is characterized in that, described device comprises:
First receiver module is used to receive the associated data of the tentation data that first electronic equipment sends, described tentation data and handles first request instruction of described tentation data, and handles described tentation data according to described first request instruction;
Data cache module is used for described tentation data of buffer memory and described associated data;
Second receiver module is used to receive the second all or part of request instruction of the described associated data of processing that described first electronic equipment sends;
Data read module is used to read described associated data all or part of of buffer memory;
Data processing module is used for handling the data that read according to described second request instruction.
19. data processing equipment according to claim 18 is characterized in that, described associated data comprises before the described tentation data and/or common n data afterwards, and described first receiver module comprises:
First receiving element is used to receive described first electronic equipment described tentation data that sends and first request instruction of handling described tentation data;
Data processing unit is used for handling described tentation data according to described first request instruction;
Second receiving element, be used for receiving the data of the data list to be sent that described first electronic equipment sends, the data in the described data list to be sent comprise before the described tentation data of arranging in order that described first electronic equipment generates and/or common n data afterwards;
Wherein, described n is the integer more than or equal to 1.
20. data processing equipment according to claim 19 is characterized in that, described first receiving element comprises:
First receives subelement, is used to receive first request instruction of the described tentation data of processing that described first electronic equipment sends;
The Data Detection subelement, be used for detecting the data cached described tentation data that whether comprises, and when testing result be described feedback NACK messages when not comprising described tentation data in data cached so that described first electronic equipment sends described tentation data after receiving described NACK messages;
Second receives subelement, be used to receive the described tentation data that described first electronic equipment sends, and receiving after the described tentation data feedback acknowledgment information to described first electronic equipment, so that described first electronic equipment sends described first request instruction once more after receiving described confirmation;
The 3rd receives subelement, is used to receive described first request instruction that described first electronic equipment sends once more.
21. data processing equipment according to claim 19 is characterized in that, described first receiving element comprises:
The 4th receives subelement, is used to receive the described tentation data that described first electronic equipment sends;
The 5th receives subelement, is used to receive first request instruction of the described tentation data of processing that described first electronic equipment sends.
22. data processing equipment according to claim 17 is characterized in that, described first receiver module also comprises:
The request receiving element is used to receive the data query request that described first electronic equipment sends, and described data query request is used for inquiring about described data cached j data that whether comprise in the described data list to be sent;
The data query unit is used for inquiring about described data cached j data that whether comprise in the described data list to be sent according to the described data query request that the described request receiving element receives;
First feedback unit, be used for if the Query Result of described data query unit is described data cached j data that do not comprise in the described data list to be sent, then send first feedback information to described first electronic equipment, so that described first electronic equipment sends j data in the described data list to be sent after receiving described first feedback information;
Second feedback unit, be used for if the Query Result of described data query unit is described data cached j data that comprise in the described data list to be sent, then send second feedback information to described first electronic equipment, so that described first electronic equipment sends j+1 data in the described data list to be sent after receiving described second feedback information;
Wherein, described j is the positive integer smaller or equal to n.
23. a data handling system is characterized in that, described system comprises as the arbitrary described data sending device of claim 12 to 17 with as the arbitrary described data processing equipment of claim 18 to 22.
CN2013100976531A 2013-03-25 2013-03-25 Data transmission method, data processing method, device and system Pending CN103227816A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013100976531A CN103227816A (en) 2013-03-25 2013-03-25 Data transmission method, data processing method, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013100976531A CN103227816A (en) 2013-03-25 2013-03-25 Data transmission method, data processing method, device and system

Publications (1)

Publication Number Publication Date
CN103227816A true CN103227816A (en) 2013-07-31

Family

ID=48838072

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013100976531A Pending CN103227816A (en) 2013-03-25 2013-03-25 Data transmission method, data processing method, device and system

Country Status (1)

Country Link
CN (1) CN103227816A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458295A (en) * 2013-08-28 2013-12-18 小米科技有限责任公司 Method, terminal, set top box and system for image data transmission
WO2018024250A1 (en) * 2016-08-05 2018-02-08 李明 Data communication method and data communication system
CN107688760A (en) * 2016-08-05 2018-02-13 李明 A kind of data communication method and data communication system
CN107689946A (en) * 2016-08-05 2018-02-13 李明 A kind of data communication method and data communication system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102165412A (en) * 2008-09-30 2011-08-24 Nec显示器解决方案株式会社 Transmission terminal, display, image display transmission system having them, and data transfer method performed by the system
CN102624873A (en) * 2012-02-16 2012-08-01 上海华勤通讯技术有限公司 Image sharing method, image sharing system and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102165412A (en) * 2008-09-30 2011-08-24 Nec显示器解决方案株式会社 Transmission terminal, display, image display transmission system having them, and data transfer method performed by the system
CN102624873A (en) * 2012-02-16 2012-08-01 上海华勤通讯技术有限公司 Image sharing method, image sharing system and electronic equipment

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103458295A (en) * 2013-08-28 2013-12-18 小米科技有限责任公司 Method, terminal, set top box and system for image data transmission
CN103458295B (en) * 2013-08-28 2016-08-31 小米科技有限责任公司 The transmission method of image data, terminal, Set Top Box and system
WO2018024250A1 (en) * 2016-08-05 2018-02-08 李明 Data communication method and data communication system
CN107688760A (en) * 2016-08-05 2018-02-13 李明 A kind of data communication method and data communication system
CN107689946A (en) * 2016-08-05 2018-02-13 李明 A kind of data communication method and data communication system
US10609552B2 (en) 2016-08-05 2020-03-31 Tendyron Corporation System and method for data communication protection

Similar Documents

Publication Publication Date Title
CN102946418A (en) Terminal equipment, picture providing system and picture transmission method
CN104424496B (en) Two-dimensional code generation method, recognition methods, information providing method, device and system
CN103944864A (en) Information transmission method, information sending device, receiving device and system
CN104954428B (en) A kind of information issuing method calculates equipment and system
US20060174307A1 (en) Broadcast terminal and method for multi-tasking
US20130166785A1 (en) Controlling multiple external device coupled to user equipment
CN103227816A (en) Data transmission method, data processing method, device and system
CN103390034A (en) Image display method, device, terminal and server
CN113628304B (en) Image processing method, image processing device, electronic equipment and storage medium
US20220174659A1 (en) Feedback method for semi-persistent scheduling physical downlink shared channel and terminal device
CN105208065A (en) File transmitting method and device
CN111949239A (en) Screen sharing method and device, storage medium and terminal
CN105681336A (en) Image providing system
CN106209584A (en) User profile processing method based on the Internet, client and server
CN110838969B (en) Picture transmission method, device, equipment and medium
WO2018090511A1 (en) Method and system for accessing file in process of transmitting multiple files
CN104079368B (en) A kind of the test data transmission method and server of application software
CN105721604A (en) Data sending method and device based on downloading request of user
CN116647967A (en) Networking control method, device, terminal and medium for spliced light effect
CN113766304B (en) Screen projection method and device, electronic equipment and storage medium
CN109947380A (en) Display methods, display equipment, server, mobile terminal and display system
CN104507058A (en) Information transmission method, information transmission system and mobile terminal based on two-dimension code
CN202615375U (en) Picture sharing system and electronic equipment
CN104079474A (en) Information transmission method, system and mobile terminal based on image identification
CN105554112B (en) The transmission method and system of chatting facial expression

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Beijing Xiaomi Technology Co., Ltd.

C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 13

Applicant after: Xiaomi Technology Co., Ltd.

Address before: 100102 Beijing Wangjing West Road, a volume of stone world building, A, block, floor 12

Applicant before: Xiaomi Technology Co., Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20130731