CN109104450A - File sending, receiving method and its device, computer readable storage medium - Google Patents

File sending, receiving method and its device, computer readable storage medium Download PDF

Info

Publication number
CN109104450A
CN109104450A CN201710473729.4A CN201710473729A CN109104450A CN 109104450 A CN109104450 A CN 109104450A CN 201710473729 A CN201710473729 A CN 201710473729A CN 109104450 A CN109104450 A CN 109104450A
Authority
CN
China
Prior art keywords
file
sent
difference
document
old edition
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710473729.4A
Other languages
Chinese (zh)
Other versions
CN109104450B (en
Inventor
卫超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Beijing Co Ltd
Original Assignee
Tencent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Beijing Co Ltd filed Critical Tencent Technology Beijing Co Ltd
Priority to CN201710473729.4A priority Critical patent/CN109104450B/en
Publication of CN109104450A publication Critical patent/CN109104450A/en
Application granted granted Critical
Publication of CN109104450B publication Critical patent/CN109104450B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/565Conversion or adaptation of application format or content
    • H04L67/5651Reducing the amount or size of exchanged application data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The disclosure discloses a kind of file sending, receiving method and its device, computer readable storage medium, this method comprises: receiving the transmission instruction for transmitting file to be sent to file reception end, old edition this document of file to be sent is determined according to transmission instruction;The difference calculated between file and old edition this document to be sent generates differential file;If the volume of differential file is less than the volume of file to be sent, differential file is sent to file reception end, the synthetic operation of differential file and old edition this document is executed by the transmission triggering file reception end of differential file.Technical solution provided by the present disclosure is by calculating the difference between file and old edition this document to be sent, when differential file volume is less than file size to be sent, by transmitting differential file, differential file and legacy version are subjected to synthetic operation by file reception end, compared with directly transmitting file to be sent, transmission differential file can shorten transmission time, bandwidth needed for reducing transmission file.

Description

File sending, receiving method and its device, computer readable storage medium
Technical field
This disclosure relates to Internet technical field, in particular to a kind of file sending, receiving method and its device, computer Readable storage medium storing program for executing.
Background technique
IM software (Instant Messaging, instant communication software) plays heavy to closing in our daily exchange The role wanted, other than live chat, IM software is also usually utilized to transmission file, such as we can use IM software by photo File is sent to one or more people (group or discussion group), and the appearance of file transmitting function greatly improves our routine works The efficiency of file is intercoursed in life.
Existing document transmission method, in file transmission, sender is by file from the 1st byte to last 1 byte All completely it is sent to recipient.This is in most cases all necessary, and otherwise will lead to recipient due to the text that receives Part is imperfect and file of not opening.
It should be noted that under certain special screnes, it is not necessary that file is completely sent to recipient.Such as: student The error in data for there are a few place's keys is found soon after paper is issued tutor, and paper is issued again after correcting mistake and led by student Teacher.The difference modified between the paper of front and back is minimum, and usual 99% or more the content transmitted is already present on the machine of recipient On, completely being sent again using currently existing scheme once will cause the increase of transmission time and the waste of bandwidth.
Summary of the invention
In order to solve the problems, such as the increase of file transmission time present in the relevant technologies and bandwidth waste, present disclose provides A kind of document sending method.
Present disclose provides a kind of document sending methods, which comprises
The transmission instruction that file to be sent is transmitted to file reception end is received, it is described pending according to transmission instruction determination Send old edition this document of file;
The difference calculated between the file to be sent and described old edition this document generates differential file;
If the volume of the differential file is less than the volume of the file to be sent, the differential file is sent to described File reception end triggers the file reception end by the transmission of the differential file and executes the differential file and the old edition The synthetic operation of this document.
Present disclose provides a kind of document receiving methods, which comprises
Reception is used to indicate all transmission the file informations for having sent file of file transmitting terminal;
Each difference for having sent file relative file transmitting terminal file to be sent indicated by the file information has been sent according to described Heteroplasia is at old edition file search result;
The legacy version file search result is returned for the received information that sent;
The differential file returned by legacy version file search result triggering is received, the differential file is described in calculating Difference between file and old edition this document to be sent and generate;
Execute the synthetic operation of the differential file Yu described old edition this document.
Present disclose provides a kind of file sending device, described device includes:
Legacy version determining module, for receiving the transmission instruction for transmitting file to be sent to file reception end, according to described Transmission instruction determines old edition this document of the file to be sent;
Difference computation module generates difference for calculating the difference between the file to be sent and described old edition this document File;
Difference sending module, when being less than the volume of the file to be sent for the volume in the differential file, by institute It states differential file and is sent to the file reception end, the file reception end is triggered by the transmission of the differential file and executes institute State the synthetic operation of differential file Yu described old edition this document.
Present disclose provides a kind of file reception device, described device includes:
Information receiving module is used to indicate all file of transmission letters for having sent file of file transmitting terminal for receiving Breath;
Result-generation module, for respectively having sent the transmission of file relative file indicated by the file information according to described sent The difference of file to be sent is held to generate old edition file search result;
Result return module, for returning to the legacy version file search result for the received information that sent;
Difference receiving module, it is described for receiving the differential file returned by legacy version file search result triggering Differential file calculates difference between the file to be sent and old edition this document and generates;
Synthetic operation module, for executing the synthetic operation of the differential file Yu described old edition this document.
Present disclose provides a kind of computer readable storage medium, the computer-readable recording medium storage has computer Program, the computer program can be executed by processor and complete above-mentioned document sending method.
Present disclose provides a kind of computer readable storage mediums, which is characterized in that the computer readable storage medium It is stored with computer program, the computer program can be executed by processor and complete above-mentioned document receiving method.
The technical scheme provided by this disclosed embodiment can include the following benefits:
By calculating the differential file between file and old edition this document to be sent, it is less than in differential file volume to be sent When file size, by transmitting differential file, differential file and legacy version are subjected to synthetic operation by file reception end, and it is direct It transmits file to be sent to compare, transmission differential file can shorten transmission time, bandwidth needed for reducing transmission file.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited It is open.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows and meets implementation of the invention Example, and in specification together principle for explaining the present invention.
Fig. 1 is the schematic diagram of the implementation environment according to involved in the disclosure;
Fig. 2 is a kind of block diagram of device shown according to an exemplary embodiment;
Fig. 3 is a kind of flow chart of document sending method shown according to an exemplary embodiment;
Fig. 4 is the flow diagram of the details of the step S310 in Fig. 3 corresponding embodiment;
Fig. 5 is the flow diagram of the details of the step S311 in Fig. 4 corresponding embodiment;
Fig. 6 is a kind of detail flowchart of document sending method shown according to an exemplary embodiment;
Fig. 7 is a kind of flow chart of the document sending method shown according to another exemplary embodiment;
Fig. 8 is a kind of flow chart of document receiving method shown according to an exemplary embodiment;
Fig. 9 is the flow diagram of the details of the step S830 in Fig. 8 corresponding embodiment;
Figure 10 is a kind of detail flowchart of document receiving method shown according to an exemplary embodiment;
Figure 11 is a kind of block diagram of file sending device shown according to an exemplary embodiment;
Figure 12 is the details block diagram of the legacy version determining module in Figure 11 corresponding embodiment;
Figure 13 is a kind of block diagram of file reception device shown according to an exemplary embodiment;
Figure 14 is the details block diagram of the result-generation module in Figure 13 corresponding embodiment.
Specific embodiment
Here will the description is performed on the exemplary embodiment in detail, the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all embodiments consistented with the present invention.On the contrary, they be only with it is such as appended The example of device and method being described in detail in claims, some aspects of the invention are consistent.
Fig. 1 is the schematic diagram of the implementation environment according to involved in the disclosure.The implementation environment includes: 110 He of mobile terminal Server 120.
Interrelational form between mobile terminal 110 and server 120, network associate mode and/or agreement including hardware, And the data correlation mode come and gone therebetween.Mobile terminal 110 can be used as file transmitting terminal, mention by using the disclosure The document sending method of confession sends file to other mobile terminals 110, and mobile terminal 110 can also be used as file reception end, The file of other mobile terminals 110 transmission is received by using the document receiving method that the disclosure provides or is downloaded from server The file of storage.Wherein, file can also be sent to mobile whole by server 120 using the document sending method that the disclosure provides End 110.
Fig. 2 is a kind of block diagram of device 200 shown according to an exemplary embodiment.For example, device 200 can be Fig. 1 Mobile terminal in shown implementation environment.Mobile terminal such as can be smart phone, tablet computer.
Referring to Fig. 2, device 200 may include following one or more components: processing component 202, memory 204, power supply Component 206, multimedia component 208, audio component 210, sensor module 214 and communication component 216.
The integrated operation of the usual control device 200 of processing component 202, such as with display, telephone call, data communication, phase Machine operation and the associated operation of record operation etc..Processing component 202 may include one or more processors 218 to execute Instruction, to complete all or part of the steps of following methods.In addition, processing component 202 may include one or more modules, Convenient for the interaction between processing component 202 and other assemblies.For example, processing component 202 may include multi-media module, with convenient Interaction between multimedia component 208 and processing component 202.
Memory 204 is configured as storing various types of data to support the operation in device 200.These data are shown Example includes the instruction of any application or method for operating on the device 200.Memory 204 can be by any kind of Volatibility or non-volatile memory device or their combination are realized, such as static random access memory (Static Random Access Memory, abbreviation SRAM), electrically erasable programmable read-only memory (Electrically Erasable Programmable Read-Only Memory, abbreviation EEPROM), Erasable Programmable Read Only Memory EPROM (Erasable Programmable Read Only Memory, abbreviation EPROM), programmable read only memory (Programmable Red- Only Memory, abbreviation PROM), read-only memory (Read-Only Memory, abbreviation ROM), magnetic memory, flash Device, disk or CD.One or more modules are also stored in memory 204, which is configured to by this One or more processors 218 execute, to complete all or part of step in any shown method of following Fig. 3-Figure 10.
Power supply module 206 provides electric power for the various assemblies of device 200.Power supply module 206 may include power management system System, one or more power supplys and other with for device 200 generate, manage, and distribute the associated component of electric power.
Multimedia component 208 includes the screen of one output interface of offer between described device 200 and user.One In a little embodiments, screen may include liquid crystal display (Liquid Crystal Display, abbreviation LCD) and touch panel. If screen includes touch panel, screen may be implemented as touch screen, to receive input signal from the user.Touch panel Including one or more touch sensors to sense the gesture on touch, slide, and touch panel.The touch sensor can be with The boundary of a touch or slide action is not only sensed, but also detects duration associated with the touch or slide operation and pressure Power.Screen can also include display of organic electroluminescence (Organic Light Emitting Display, abbreviation OLED).
Audio component 210 is configured as output and/or input audio signal.For example, audio component 210 includes a Mike Wind (Microphone, abbreviation MIC), when device 200 is in operation mode, such as call model, logging mode and speech recognition mould When formula, microphone is configured as receiving external audio signal.The received audio signal can be further stored in memory 204 or via communication component 216 send.In some embodiments, audio component 210 further includes a loudspeaker, for exporting Audio signal.
Sensor module 214 includes one or more sensors, and the state for providing various aspects for device 200 is commented Estimate.For example, sensor module 214 can detecte the state that opens/closes of device 200, the relative positioning of component, sensor group Part 214 can be with the position change of 200 1 components of detection device 200 or device and the temperature change of device 200.Some In embodiment, which can also include Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 216 is configured to facilitate the communication of wired or wireless way between device 200 and other equipment.Device 200 can access the wireless network based on communication standard, such as WiFi (WIreless-Fidelity, Wireless Fidelity).Show at one In example property embodiment, communication component 216 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel Relevant information.In one exemplary embodiment, the communication component 216 further includes near-field communication (Near Field Communication, abbreviation NFC) module, to promote short range communication.For example, radio frequency identification (Radio can be based in NFC module Frequency Identification, abbreviation RFID) technology, Infrared Data Association (Infrared Data Association, abbreviation IrDA) technology, ultra wide band (Ultra Wideband, abbreviation UWB) technology, Bluetooth technology and other skills Art is realized.
In the exemplary embodiment, device 200 can be by one or more application specific integrated circuit (Application Specific Integrated Circuit, abbreviation ASIC), it is digital signal processor, digital signal processing appts, programmable Logical device, field programmable gate array, controller, microcontroller, microprocessor or other electronic components are realized, for executing Following methods.
Fig. 3 is a kind of flow chart of document sending method shown according to an exemplary embodiment.This document sending method The scope of application and executing subject, for example, mobile terminal 110 or server 120 of this method for implementation environment shown in Fig. 1. Document sending method as shown in Figure 3 can be executed by mobile terminal 110 or server 120, be may comprise steps of:
In step s310, the transmission instruction for transmitting file to be sent to file reception end is received, is referred to according to the transmission Enable the old edition this document for determining the file to be sent.
Mobile terminal 110 is used as file transmitting terminal, triggers specifically, file transmitting terminal receives user to file reception end biography The transmission of defeated file to be sent instructs, and determines that file transmitting terminal and file reception end whether there is the old edition of file to be sent later This document.The determination of old edition this document, which can be, instructs directly instruction by transmission, can also be by file transmitting terminal and file Receiving end, which is searched, to be determined, needs to guarantee, the old edition this document searched is phase in file transmitting terminal and file reception end With.Old edition this document refer to file to be sent by the file before updating, it is similar to file to be sent, in other words, There are a part of identical data between file to be sent.
It should be noted that work as old edition this document that file to be sent is not present in file transmitting terminal, and server and file When receiving end has old edition this document of file to be sent, the file of step S310- step S350 can be executed by server Sending method.File to be sent is transmitted to server by file transmitting terminal, and server receives the transmission comprising file to be sent After instruction, according to the file to be sent of transmission instruction instruction, file to be sent is searched in server local and file reception end Old edition this document.
In step S330, calculates the difference between the file to be sent and described old edition this document and generate difference text Part.
Specifically, calculating file and old edition to be sent after file transmitting terminal has determined old edition this document of file to be sent The calculating of difference between this document, difference can be calculated using bsdiff algorithm (difference update algorithm), pass through character The mode of String matching extracts common portion, then remainder in file to be sent is formed differential file.It is poor in order to improve calculating Different efficiency can also use different algorithms, such as pure text other than using binary system difference algorithm for files in different types The relevant difference algorithm such as this document, zip compressed file, JPG picture file.
It should be noted that there are the old editions of file to be sent for server when old edition this document is not present in file transmitting terminal When this document, the difference that can also be calculated by server between file and old edition this document to be sent generates differential file.
In step S350, if the volume of the differential file is less than the volume of the file to be sent, by the difference Different article part is sent to the file reception end, triggers the file reception end by the transmission of the differential file and executes the difference The synthetic operation of different article part and described old edition this document.
It should be noted that can be directly transmitted to be sent when the volume of differential file is more than or equal to file to be sent File;When the volume of differential file is less than the volume of file to be sent, it is believed that it is more to be sent than sending to send differential file Bandwidth and required time occupied by file are less, thus send differential file to file reception end.File reception end is receiving After differential file, synthesized by the old edition this document for storing differential file with itself, so that it may obtain file transmitting terminal The complete file for needing to send.Wherein, the synthesis of differential file and old edition this document can (increment be more using bspatch algorithm New algorithm).
File reception termination receives differential file, after synthesis obtains complete file, complete file can be replicated a standby Part is into disk, and subsequent when the complete file is modified, the complete file of backup can be used as modified new file Old edition this document.File transmitting terminal and server can also store the file to be sent of transmission, after subsequent modification New file old edition this document.It should be noted that the file sent every time is stored as the old edition of new file in the future This document can additionally occupy user disk space, it is possible thereby to which eliminative mechanism is arranged, preferential deletion file size is larger or saves Time longer file.
It should be noted that file transmitting terminal directly transmits complete text to be sent to file reception end in the prior art Part, since file transmitting terminal and file reception end have old edition this document similar with file to be sent most of the time, thus originally The open document sending method provided, by calculating the differential file between file and old edition this document to be sent, in difference text When part volume is less than file size to be sent, by transmitting differential file, by file reception end by differential file and legacy version into Row synthetic operation, compared with directly transmitting file to be sent, transmission differential file can shorten transmission time, reduce transmission file Required bandwidth.
Specifically, transmitting a new file FnewBefore, if file transmitting terminal and file reception end all have one Identical file F to be sentnewLegacy version FoldIf FnewAnd FoldBetween differential file FδCompare FnewFile size it is small, It only need to be by FδIt is sent to file reception end, file reception end is receiving FδAfterwards, then by FδWith legacy version FoldMerging can be obtained new File Fnew.Intuitively, this method can be F newer than directly transmitting filenewSave byte number Fnew-Fδ, i.e., new file size is bigger, Difference between new ancient deed is bigger, and the effect for accelerating file transmission is more obvious.
Fig. 4 is the flow diagram of the details of the step S310 in Fig. 3 corresponding embodiment.As shown in figure 4, step S310 has Body includes:
In step S311, the transmission instruction for transmitting file to be sent to file reception end is received, is referred to by the transmission Triggering is enabled to send the transmission the file information itself stored to the file reception end, it is described to have sent the file information instruction respectively Send the difference of the relatively described file to be sent of file;
Specifically, file transmitting terminal, which receives user, triggers the transmission instruction for transmitting file to be sent, sent out to file reception end The transmission the file information for giving itself to store.Sent the file information contain file transmitting terminal it is all sent file with it is pending Send the difference size of file.Wherein, respectively sent the difference size between file and file to be sent can use it is above-mentioned Bsdiff algorithm is calculated, and is determined according to the volume size of the differential file of generation and has respectively been sent file and file to be sent Difference size.
It should be noted that if file transmitting terminal, which does not store, has sent file, and server is stored with file transmission The all of end have sent file, then can send the transmission the file information itself stored from server to file reception end.
Fig. 5 is the flow diagram of the details of the step S311 in Fig. 4 corresponding embodiment.As shown in figure 5, step S311 has Body includes:
In step S3111, the transmission instruction for transmitting file to be sent to file reception end is received, is referred to by the transmission Triggering is enabled to calculate the difference respectively sent between file relative to the file to be sent;
It is to be understood that old edition this document is all not present in file transmitting terminal and file reception end when sending file for the first time, As long as there is file to send successfully, file can be replicated a preservation by file transmitting terminal and file reception end, as file is sent out The increase with receive number is sent, file transmitting terminal gradually has " having sent listed files ", and file reception end, which gradually has, " have been connect Receive listed files ".When starting to send a new file, file transmitting terminal can calculate new file and " having sent listed files " In each file difference.
In step S3112, by the informative abstract value for respectively having sent file according to it is described respectively sent file relative to The difference formation for sending file has sent the file information, and the file information that sent includes respectively having sent the informative abstract of file Value, and be the corresponding difference for having sent file file relatively to be sent of each informative abstract value mark;
For example, file transmitting terminal is by the cryptographic Hash for respectively having sent file according to respectively having sent file and file to be sent Difference arrange from small to large, i.e., with file difference to be sent it is small sent file cryptographic Hash row before, with file to be sent After the big cryptographic Hash row for having sent file of difference, " the Hash value list " after sequence is used as and has sent the file information.
In step S3113, the file information that sent is sent to the file reception end.
It should be noted that file transmitting terminal walks step S3111- if file Sender side Storage, which has, has sent file The file information of transmission that rapid S3112 is generated is sent to file reception end end.If file transmitting terminal, which does not store, has sent text Part, and server stores and has sent file, then can also be generated by server using above-mentioned steps S3111- step S3112 The file information is sent, and the information is transmitted to file transmitting terminal.
In step S312, the legacy version file search that the file reception end returns is received as a result, old edition this paper Part lookup result is the file reception end according to the difference for respectively having sent the relatively described file to be sent of file, from it is described it is each Send that file is corresponding respectively have been received to choose in file and received file, received described in the instruction of generation file be old edition herein The legacy version file search result of part;
Wherein, file transmitting terminal or server will have been sent after the file information is sent to file reception end, are received file and connect Receiving end is according to the legacy version file search result for having sent the file information return.File reception end receive sent file letter After breath, respectively sent the difference of file file relatively to be sent according to sent the file information instruction, can from it is all Send file cryptographic Hash it is identical it is all received in file, filter out one and received file, make to have received file Kazakhstan with this The uncommon identical difference for having sent file and file to be sent of value is smaller, then using the file of reception filtered out as legacy version File generates legacy version file search result.
Specifically, file reception end calculates the cryptographic Hash of each file in " having received listed files ", if some is literary The cryptographic Hash of part is identical as the cryptographic Hash in " the Hash value list " that receives, shows that file transmitting terminal and file reception end all exist One Geju City version file of file to be sent, which, which is exactly that the cryptographic Hash is corresponding, has sent file and has received text Part.
Due to " Hash value list " be according to having sent file and difference to be sent arranges from small to large, it is possible thereby to According to the sequence for having sent file cryptographic Hash in " Hash value list ", selected and sorted it is forward (i.e. with file difference phase to be sent To lesser) and cryptographic Hash identical with some the file cryptographic Hash received in listed files, the cryptographic Hash is corresponding Receive old edition this document as file to be sent at file reception end of file, using the cryptographic Hash it is corresponding sent file as The old edition this document of file to be sent in file transmitting terminal.
In step S313, the old edition of the file to be sent is determined herein according to the legacy version file search result Part.
It is to be understood that the legacy version file search result that file reception end returns indicates whether file reception end deposits In old edition this document that old edition this document identical with file transmitting terminal or server and which file are files to be sent.Text Part transmitting terminal or server are after the legacy version file search result for receiving the return of file reception end, so that it may determine to be sent Old edition this document of file.
It should be noted that as shown in fig. 6, if legacy version file search result instruction there are old edition this document, can To execute step S330-S350, calculates difference and generates differential file, judge whether differential file volume is less than file to be sent, When being less than, differential file is sent.Then the old edition this document of file to be sent as subsequent new file is saved.If legacy version Old edition this document of file to be sent is not present in the instruction of file search result, and file transmitting terminal sends out the cryptographic Hash of file to be sent Send to server, judge to whether there is the file to be sent of the cryptographic Hash in server, if server there are file to be sent, The cryptographic Hash of file to be sent is then sent to file reception end, file to be sent is downloaded from server in circular document receiving end.Such as There is no files to be sent can then use existing file sending method for fruit server, from file transmitting terminal to file reception end Send complete file.
Further, as shown in fig. 7, being calculated between the file to be sent and described old edition this document in step S330 After difference generates differential file, the method also includes:
In step S351, if the volume of the differential file is not less than the volume of the file to be sent, into one Step judges whether to store the file to be sent in server;
Specifically, if the differential file volume of file to be sent and old edition this document is not less than the body of file to be sent Product, file transmitting terminal calculate the cryptographic Hash of file to be sent, the cryptographic Hash of file to be sent are sent to server, judges to service Whether device is stored with the file to be sent of identical cryptographic Hash.Cryptographic Hash ensure that file even if one byte of modification from principle It will lead to cryptographic Hash to change, so being assured that server with the presence or absence of file to be sent by the judgement of cryptographic Hash.
In step S352, if storing the file to be sent in the server, sent out to the file reception end The informative abstract value for sending the file to be sent triggers the file reception end from the clothes by sending the informative abstract value The file to be sent of business device downloading file transmitting terminal.
If server, which is stored with file to be sent, file transmitting terminal or server, sends text to be sent to file reception end File to be sent is downloaded from server in the informative abstract value of part, such as cryptographic Hash, circular document receiving end, and file reception termination receives After cryptographic Hash, from the corresponding file to be sent of server downloading cryptographic Hash.This mode file transmitting terminal can skip transmission text The step of part, directly downloads from a server file by file reception end, effectively accelerates transmission speed and save Bandwidth.If server there is no existing file sending method can be used if file to be sent, from file transmitting terminal to text Part receiving end sends complete file.
Explanation is needed further exist for, since large volume file progress difference calculating ratio is relatively time-consuming, it is possible thereby to set one A threshold value just calculates file and legacy version to be sent when the volume of file to be sent and old edition this document is respectively less than the threshold value The difference of file generates differential file, replaces transmitting file to be sent by transmission differential file.
Fig. 8 is a kind of flow chart of document receiving method shown according to an exemplary embodiment.This document method of reseptance It is corresponding with document sending method described in above-described embodiment, the scope of application and executing subject of this document method of reseptance, for example, Mobile terminal 110 of this method for implementation environment shown in Fig. 1.Document receiving method as shown in Figure 8, can be by mobile terminal 110 execute, and may comprise steps of:
In step S810, reception is used to indicate all transmission the file informations for having sent file of file transmitting terminal;
Specifically, can be used as file reception end by mobile terminal 110, file reception end can be above-mentioned file sender File reception end in method embodiment.When file transmitting terminal needs to send new file, need first to determine whether there is text to be sent Old edition this document of part, file transmitting terminal send the transmission the file information itself stored to file reception end, this has sent text Part information can be file transmitting terminal and be sent using the step S3111- step S3113 in above-described embodiment to file reception end 's.This has sent the file information and has indicated that file transmitting terminal has respectively sent the difference between file and file to be sent, file reception Terminate the transmission the file information that message in-coming part transmitting terminal is sent.
In step S830, respectively file relative file transmitting terminal is sent according to described sent indicated by the file information and has waited for The difference for sending file generates old edition file search result;
Wherein, legacy version file search result instruction file transmitting terminal and file reception end are with the presence or absence of file to be sent Old edition this document.File reception end receives and has sent the file information, has sent file according to each of the file information instruction has been sent The difference of relative file transmitting terminal file to be sent, can search to obtain and suitably received file, so that this has been received file and deposit Sent file accordingly and this sent file compared with the difference of file to be sent other sent file with it is to be sent The difference of file is relatively small.
Fig. 9 is the flow diagram of the details of the step S830 of Fig. 8 corresponding embodiment, as shown in figure 9, step S830 is specific Include:
In step S831, respectively file relative file transmitting terminal is sent according to described sent indicated by the file information and has waited for The difference for sending file has respectively sent that file is corresponding respectively have been received to choose in file and received file from described;
In step S832, the instruction legacy version lookup result for having received file as old edition this document is generated.
Wherein, file reception end has respectively sent the difference between file and file to be sent according to file transmitting terminal, from certainly Filtered out in the file of reception of body storage it is corresponding with file has been sent received file, and it is corresponding so that this has been received file The difference for having sent file and file to be sent is relatively small.File has been received as the old edition of file to be sent using what is filtered out This document generates legacy version lookup result.
Further, step S831 is specifically included: file has respectively been sent included by the file information according to described sent Informative abstract value, the corresponding difference for having sent file file relatively to be sent of each informative abstract value mark, from it is described each The informative abstract value for having sent file identical respectively received to choose in file and has received file.
It should be noted that old edition this document is all not present in file transmitting terminal and file reception end when sending file for the first time, As long as there is file to send successfully, file can be replicated a preservation by file transmitting terminal and file reception end, as file is sent out The increase with receive number is sent, file transmitting terminal gradually has " having sent listed files ", and file reception end, which gradually has, " have been connect Receive listed files ".When starting to send a new file, file transmitting terminal can calculate new file and " having sent listed files " In each file difference.
File transmitting terminal by the informative abstract value (such as cryptographic Hash) for respectively having sent file according to respectively sent file with it is pending Send the difference of file to arrange from small to large, i.e., it is and pending before the cryptographic Hash row for having sent file small with file difference to be sent After the cryptographic Hash row for having sent file for sending file difference big, " the Hash value list " after sequence is used as and has sent the file information It is sent to file reception end;
File reception end calculates the cryptographic Hash of each file in " having received listed files ", if the cryptographic Hash of some file It is identical as the cryptographic Hash in " the Hash value list " received, show that file transmitting terminal and file reception end all have file to be sent Geju City version file, which, which is exactly that the cryptographic Hash is corresponding, has sent file and has received file.
Due to " Hash value list " be according to having sent file and difference to be sent arranges from small to large, it is possible thereby to According to the sequence for having sent file cryptographic Hash in " Hash value list ", selected and sorted it is forward (i.e. with file difference phase to be sent To lesser) and cryptographic Hash identical with some the file cryptographic Hash received in listed files, the cryptographic Hash is corresponding Receive old edition this document as file to be sent at file reception end of file, using the cryptographic Hash it is corresponding sent file as File to be sent generates legacy version lookup result in old edition this document of file transmitting terminal.
In step S850, the legacy version file search result is returned for the received information that sent;
Specifically, the legacy version lookup result that step S830 is generated is sent to file transmitting terminal by file reception end.
In step S870, the differential file returned by legacy version file search result triggering, the difference are received File calculates difference between the file to be sent and old edition this document and generates;
Specifically, after file transmitting terminal receives legacy version file search result, it can be according to legacy version file search result Determine whether old edition this document that file to be sent is existed simultaneously with file reception end.When there are files to be sent for file transmitting terminal Old edition this document when, file transmitting terminal calculate old edition this document and file to be sent difference, generation differential file.File hair Differential file is sent to file reception end by sending end.File reception terminates the differential file that message in-coming part transmitting terminal is sent.
It, can also be with it should be noted that when identical old edition this document is not present in file transmitting terminal and file reception end The file information has been sent from server to file reception end, the legacy version that file reception end returns is received by server and is searched As a result, the difference of file to be sent Yu old edition this document is calculated according to legacy version lookup result by server, and to file reception End returns to differential file, and it is complete by differential file and legacy version file synthesis to be that file transmitting terminal need to transmit by file reception end File.
In step S890, the synthetic operation of the differential file Yu described old edition this document is executed.
Specifically, file reception termination message in-coming part transmitting terminal or server send differential file after, by differential file with Old edition this document is synthesized, and the file to be sent of file transmitting terminal is obtained.
Above-mentioned document receiving method, by receiving the differential file of file to be sent, by differential file and file to be sent Old edition this document carry out synthetic operation, obtain complete file to be sent, without transmitting complete file, pass through transmission Differential file can be obtained by complete file, shortens the file output time, reduces occupied bandwidth.
Further, step S850 be it is received it is described sent information return the legacy version file search result it Afterwards, the document receiving method that the disclosure provides further include:
If receiving the informative abstract value of the file to be sent returned by legacy version file search result triggering, from Server downloads the file to be sent.
It should be noted that after file reception end returns to legacy version lookup result to file transmitting terminal, file transmitting terminal root It may determine whether old edition this document of file to be sent according to legacy version lookup result, if there is old edition this document, just The differential file for calculating file to be sent Yu old edition this document sends differential file to file reception end.If there is no old edition This document is judged as server with the presence or absence of file to be sent, if there are files to be sent for server, just to file reception end The cryptographic Hash of file to be sent is sent, if legacy version is both not present, file to be sent is also not present in server, so that it may use Conventional mode directly sends file to be sent to file reception end.
As shown in Figure 10, after file reception termination receives new file, can be judged to receive new file according to file identification Differential file and old edition this document are carried out synthetic operation and obtain file hair by type if received new file is differential file The file to be sent of sending end.Then the file after synthesis is saved, old edition this document as file after subsequent modification.Such as The received new file of fruit is cryptographic Hash, indicate there is no old edition this document and server there are files to be sent, then directly from clothes The file to be sent of business device downloading file transmitting terminal.If received new file neither cryptographic Hash is also not differential file, Using existing file reception mode, the complete file to be sent of file transmitting terminal transmission is received.
Following is embodiment of the present disclosure, can be used for executing the file hair that the above-mentioned mobile terminal 110 of the disclosure executes Delivery method embodiment.For those undisclosed details in the apparatus embodiments, the implementation of present disclosure sending method is please referred to Example.
Figure 11 is a kind of block diagram of file sending device shown according to an exemplary embodiment, and this document sending device can With in the mobile terminal 110 for implementation environment shown in Fig. 1, execute Fig. 3-7 it is any shown in document sending method whole or Person's part steps.As shown in figure 11, this document sending device includes but is not limited to: legacy version determining module 1110, difference calculate Module 1130 and difference sending module 1150.
Wherein, legacy version determining module 1110, for receiving the transmission instruction for transmitting file to be sent to file reception end, Old edition this document of the file to be sent is determined according to the transmission instruction;
Difference computation module 1130 is generated for calculating the difference between the file to be sent and described old edition this document Differential file;
Difference sending module 1150, when being less than the volume of the file to be sent for the volume in the differential file, The differential file is sent to the file reception end, the file reception end is triggered by the transmission of the differential file and is held The synthetic operation of the row differential file and described old edition this document.
The function of modules and the realization process of effect are specifically detailed in right in above-mentioned document sending method in above-mentioned apparatus The realization process of step is answered, details are not described herein.
Legacy version determining module 1110 such as can be some physical structure communication component 216 in Fig. 2.
Difference computation module 1130 and difference sending module 1150 are also possible to functional module, for executing above-mentioned file Correspondence step in sending method.It is appreciated that these modules can by hardware, software, or a combination of both realize.When with When hardware mode is realized, these modules may be embodied as one or more hardware modules, such as one or more dedicated integrated electricity Road.When being realized with software mode, these modules may be embodied as the one or more executed on the one or more processors Computer program, such as the program of storage in memory 204 performed by the processor 218 of Fig. 2.
Figure 12 is the details block diagram of the legacy version determining module 1110 of Figure 11 corresponding embodiment, as shown in figure 12, described old Version determining module 1110 can include but is not limited to:
Information transmitting unit 1111 passes through institute for receiving the transmission instruction for transmitting file to be sent to file reception end It states transmission instruction triggers and sends the transmission the file information itself stored to the file reception end, it is described to have sent the file information Indicate the difference for respectively having sent the relatively described file to be sent of file;
As a result receiving unit 1112, for receiving the legacy version file search of the file reception end return as a result, described Legacy version file search the result is that the file reception end according to respectively having sent the difference of the relatively described file to be sent of file, from Described respectively to have sent that file is corresponding respectively have been received to choose in file and received file, having received file described in the instruction of generation is The legacy version file search result of old edition this document;
Version determining unit 1113, for determining the old of the file to be sent according to the legacy version file search result Version file.
Further, the information transmitting unit 1111 can include but is not limited to:
Difference computation subunit, for receiving the transmission instruction for transmitting file to be sent to file reception end, by described Transmission instruction triggers calculate the difference respectively sent between file relative to the file to be sent;
Information forms subelement, and for will respectively send the informative abstract value of file, respectively to have sent file opposite according to described The file information is sent in the difference formation of file to be sent, the file information that sent includes respectively having sent the information of file Digest value, and be the corresponding difference for having sent file file relatively to be sent of each informative abstract value mark;
Information transmission sub-unit, for the file information that sent to be sent to the file reception end.
Figure 13 is a kind of block diagram of the file reception device shown according to another exemplary embodiment, this document reception device Can be used in the mobile terminal 110 of implementation environment shown in Fig. 1, execute Fig. 8-Figure 10 it is any shown in document receiving method it is complete Portion or part steps.As shown in figure 13, this document reception device includes but is not limited to: information receiving module 1310, result are raw At module 1330, result return module 1350, difference receiving module 1370 and synthetic operation module 1390;
Wherein, information receiving module 1310 are used to indicate all hairs for having sent file of file transmitting terminal for receiving Send the file information;
Result-generation module 1330, for respectively having sent file relative file indicated by the file information according to described sent The difference of transmitting terminal file to be sent generates old edition file search result;
Result return module 1350, for returning to the legacy version file search knot for the received information that sent Fruit;
Difference receiving module 1370, for receiving the differential file returned by legacy version file search result triggering, The differential file calculates difference between the file to be sent and old edition this document and generates;
Synthetic operation module 1390, for executing the synthetic operation of the differential file Yu described old edition this document.
The function of modules and the realization process of effect are specifically detailed in right in above-mentioned document receiving method in above-mentioned apparatus The realization process of step is answered, details are not described herein.
Optionally, as shown in figure 14, the result-generation module 1330 can include but is not limited to:
Version selection unit 1331, for respectively having sent file relative file indicated by the file information according to described sent The difference of transmitting terminal file to be sent has respectively sent that file is corresponding respectively have been received to choose in file and received file from described;
As a result generation unit 1332, for generating, instruction is described to have received the legacy version lookup knot that file is old edition this document Fruit.
Optionally, the disclosure also provides another file sending device, and this document sending device can be used for real shown in Fig. 1 Apply in the mobile terminal 110 of environment, execute Fig. 3-7 it is any shown in document sending method all or part of step.It is described Device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to executing the document sending method in above-described embodiment.
The processor of device in the embodiment executes the concrete mode of operation in related this document sending method Detailed description is performed in embodiment, no detailed explanation will be given here.
In the exemplary embodiment, a kind of storage medium is additionally provided, which is computer readable storage medium, It such as can be the provisional and non-transitorycomputer readable storage medium for including instruction.The storage medium is stored with computer Program, the computer program can be executed as the processor 218 of device 200 to complete file sender described in above-described embodiment Method.
Optionally, the disclosure also provides another file reception device, and this document reception device can be used for real shown in Fig. 1 Apply in the mobile terminal 110 of environment, execute Fig. 8-10 it is any shown in document receiving method all or part of step.It is described Device includes:
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to executing the document receiving method in above-described embodiment.
The processor of device in the embodiment executes the concrete mode of operation in related this document method of reseptance Detailed description is performed in embodiment, no detailed explanation will be given here.
In the exemplary embodiment, a kind of storage medium is additionally provided, which is computer readable storage medium, It such as can be the provisional and non-transitorycomputer readable storage medium for including instruction.The storage medium is stored with computer Program, the computer program can be executed as the processor 218 of device 200 to complete file reception side described in above-described embodiment Method.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and change can executed without departing from the scope.The scope of the present invention is limited only by the attached claims.

Claims (15)

1. a kind of document sending method, which is characterized in that the described method includes:
The transmission instruction for transmitting file to be sent to file reception end is received, the text to be sent is determined according to transmission instruction Old edition this document of part;
The difference calculated between the file to be sent and described old edition this document generates differential file;
If the volume of the differential file is less than the volume of the file to be sent, the differential file is sent to the file Receiving end triggers the file reception end by the transmission of the differential file and executes the differential file and the old edition herein The synthetic operation of part.
2. the method according to claim 1, wherein receiving the transmission for transmitting file to be sent to file reception end Instruction determines old edition this document of the file to be sent according to the transmission instruction, comprising:
The transmission instruction for transmitting file to be sent to file reception end is received, is connect by the transmission instruction triggers to the file Receiving end sends the transmission the file information of itself storage, it is described sent the file information instruction respectively sent file it is relatively described to Send the difference of file;
The legacy version file search that the file reception end returns is received as a result, the legacy version file search is the result is that the text Part receiving end according to respectively having sent the difference of the relatively described file to be sent of file, from it is described respectively sent file it is corresponding it is each It receives to choose in file and has received file, the legacy version file search that file is old edition this document has been received described in the instruction of generation As a result;
Old edition this document of the file to be sent is determined according to the legacy version file search result.
3. according to the method described in claim 2, it is characterized in that, described receive to file reception end transmits file to be sent Transmission instruction sends the transmission the file information itself stored, packet to the file reception end by the transmission instruction triggers It includes:
The transmission instruction for transmitting file to be sent to file reception end is received, has respectively been sent by transmission instruction triggers calculating Difference between file relative to the file to be sent;
The informative abstract value for respectively having sent file respectively file has been sent and has been formed relative to the difference of file to be sent according to described The file information is sent, the file information that sent includes respectively having sent the informative abstract value of file, and pluck for each information It is worth the corresponding difference for having sent file file relatively to be sent of mark;
The file information that sent is sent to the file reception end.
4. method according to claim 1 to 3, which is characterized in that calculate the file to be sent with it is described After difference between old edition this document generates differential file, the method also includes:
If the volume of the differential file is not less than the volume of the file to be sent, further determine whether to deposit in server Store up the file to be sent;
If storing the file to be sent in the server, the file to be sent is sent to the file reception end Informative abstract value triggers the file reception end from server downloading file transmitting terminal by sending the informative abstract value File to be sent.
5. a kind of document receiving method, which is characterized in that the described method includes:
Reception is used to indicate all transmission the file informations for having sent file of file transmitting terminal;
Each difference life for having sent file relative file transmitting terminal file to be sent indicated by the file information has been sent according to described At old edition file search result;
The legacy version file search result is returned for the received information that sent;
The differential file returned by legacy version file search result triggering is received, the differential file is that calculating is described pending It send difference between file and old edition this document and generates;
Execute the synthetic operation of the differential file Yu described old edition this document.
6. according to the method described in claim 5, it is characterized in that, it is described sent according to indicated by the file information it is each The difference for sending file relative file transmitting terminal file to be sent generates old edition file search result, comprising:
Each difference for having sent file relative file transmitting terminal file to be sent indicated by the file information has been sent according to described, from It is described respectively to have sent that file is corresponding respectively have been received to choose in file and received file;
Generate the instruction legacy version lookup result for having received file as old edition this document.
7. according to the method described in claim 6, it is characterized in that, it is described sent according to indicated by the file information it is each The difference for sending file relative file transmitting terminal file to be sent has respectively sent that file is corresponding respectively have been received in file from described Selection has received file, comprising:
Each informative abstract value for having sent file included by the file information, each informative abstract value mark institute have been sent according to described The corresponding difference for having sent file file relatively to be sent has respectively been received from identical with the informative abstract value that has respectively sent file It is chosen in file and has received file.
8. according to the method described in claim 5, it is characterized in that, returning to the old edition for the received information that sent After this document lookup result, the method also includes:
If the informative abstract value of the file to be sent returned by legacy version file search result triggering is received, from service Device downloads the file to be sent.
9. a kind of file sending device, which is characterized in that described device includes:
Legacy version determining module, for receiving the transmission instruction for transmitting file to be sent to file reception end, according to the transmission Instruction determines old edition this document of the file to be sent;
Difference computation module generates difference text for calculating the difference between the file to be sent and described old edition this document Part;
Difference sending module, when being less than the volume of the file to be sent for the volume in the differential file, by the difference Different article part is sent to the file reception end, triggers the file reception end by the transmission of the differential file and executes the difference The synthetic operation of different article part and described old edition this document.
10. device according to claim 9, which is characterized in that the legacy version determining module includes:
Information transmitting unit is referred to for receiving the transmission instruction for transmitting file to be sent to file reception end by the transmission Triggering is enabled to send the transmission the file information itself stored to the file reception end, it is described to have sent the file information instruction respectively Send the difference of the relatively described file to be sent of file;
As a result receiving unit, for receiving the legacy version file search of the file reception end return as a result, old edition this paper Part lookup result is the file reception end according to the difference for respectively having sent the relatively described file to be sent of file, from it is described it is each Send that file is corresponding respectively have been received to choose in file and received file, received described in the instruction of generation file be old edition herein The legacy version file search result of part;
Version determining unit, for determining the old edition of the file to be sent according to the legacy version file search result herein Part.
11. device according to claim 10, which is characterized in that the information transmitting unit includes:
Difference computation subunit passes through the transmission for receiving the transmission instruction for transmitting file to be sent to file reception end Instruction triggers calculate the difference respectively sent between file relative to the file to be sent;
Information forms subelement, for will respectively send the informative abstract value of file according to it is described respectively sent file relative to The difference formation for sending file has sent the file information, and the file information that sent includes respectively having sent the informative abstract of file Value, and be the corresponding difference for having sent file file relatively to be sent of each informative abstract value mark;
Information transmission sub-unit, for the file information that sent to be sent to the file reception end.
12. a kind of file reception device, which is characterized in that described device includes:
Information receiving module is used to indicate all transmission the file informations for having sent file of file transmitting terminal for receiving;
Result-generation module, for respectively having sent file relative file transmitting terminal according to described sent indicated by the file information and waiting for The difference for sending file generates old edition file search result;
Result return module, for returning to the legacy version file search result for the received information that sent;
Difference receiving module, for receiving the differential file returned by legacy version file search result triggering, the difference File calculates difference between the file to be sent and old edition this document and generates;
Synthetic operation module, for executing the synthetic operation of the differential file Yu described old edition this document.
13. device according to claim 12, which is characterized in that the result-generation module includes:
Version selection unit, for respectively having sent file relative file transmitting terminal according to described sent indicated by the file information and waiting for The difference for sending file has respectively sent that file is corresponding respectively have been received to choose in file and received file from described;
As a result generation unit, for generating, instruction is described to have received the legacy version lookup result that file is old edition this document.
14. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence, the computer program can be executed as processor and complete document sending method described in claim 1-4 any one.
15. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has computer journey Sequence, the computer program can be executed as processor and complete document receiving method described in claim 5-8 any one.
CN201710473729.4A 2017-06-21 2017-06-21 File transmitting and receiving method and device and computer readable storage medium Active CN109104450B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710473729.4A CN109104450B (en) 2017-06-21 2017-06-21 File transmitting and receiving method and device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710473729.4A CN109104450B (en) 2017-06-21 2017-06-21 File transmitting and receiving method and device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109104450A true CN109104450A (en) 2018-12-28
CN109104450B CN109104450B (en) 2022-05-24

Family

ID=64795989

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710473729.4A Active CN109104450B (en) 2017-06-21 2017-06-21 File transmitting and receiving method and device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN109104450B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020113435A1 (en) * 2018-12-04 2020-06-11 比特大陆科技有限公司 Record transmitting method and device
CN114564446A (en) * 2022-03-01 2022-05-31 清华大学 File storage method, device, system and storage medium
CN115941674A (en) * 2023-02-21 2023-04-07 荣耀终端有限公司 Multi-device application connection method, device and storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090013009A1 (en) * 2007-07-02 2009-01-08 Kiyotaka Nakayama Using differential file representing differences of second version of a file compared to first version of the file
CN105335196A (en) * 2015-11-02 2016-02-17 深圳市新国都支付技术有限公司 POS (Point Of Sale) terminal program incremental download method
CN106612327A (en) * 2016-12-19 2017-05-03 巴士在线科技有限公司 Bus television system file content distribution system and bus television system file content distribution method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090013009A1 (en) * 2007-07-02 2009-01-08 Kiyotaka Nakayama Using differential file representing differences of second version of a file compared to first version of the file
CN105335196A (en) * 2015-11-02 2016-02-17 深圳市新国都支付技术有限公司 POS (Point Of Sale) terminal program incremental download method
CN106612327A (en) * 2016-12-19 2017-05-03 巴士在线科技有限公司 Bus television system file content distribution system and bus television system file content distribution method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020113435A1 (en) * 2018-12-04 2020-06-11 比特大陆科技有限公司 Record transmitting method and device
CN114564446A (en) * 2022-03-01 2022-05-31 清华大学 File storage method, device, system and storage medium
CN114564446B (en) * 2022-03-01 2022-12-27 清华大学 File storage method, device, system and storage medium
CN115941674A (en) * 2023-02-21 2023-04-07 荣耀终端有限公司 Multi-device application connection method, device and storage medium
CN115941674B (en) * 2023-02-21 2023-07-14 荣耀终端有限公司 Multi-device application connection method, device and storage medium

Also Published As

Publication number Publication date
CN109104450B (en) 2022-05-24

Similar Documents

Publication Publication Date Title
CN105654950B (en) Adaptive voice feedback method and device
CN104378441B (en) schedule creation method and device
CN105488112B (en) Information-pushing method and device
CN109309751B (en) Voice recording method, electronic device and storage medium
US20190026274A1 (en) Adversarial method and system for generating user preferred contents
WO2016165325A1 (en) Audio information recognition method and apparatus
US20170249934A1 (en) Electronic device and method for operating the same
US11182565B2 (en) Method to learn personalized intents
US10929606B2 (en) Method for follow-up expression for intelligent assistance
CN109104450A (en) File sending, receiving method and its device, computer readable storage medium
CN104079964B (en) The method and device of transmission of video information
CN105117207A (en) Album creating method and apparatus
CN107423386A (en) Generate the method and device of electronic card
CN103634461B (en) Mobile terminal and its control method
CN105100199A (en) Method and device for transmitting cloud card
CN103685742A (en) Method and system for automatically setting schedule through short message by mobile terminal
CN101897170A (en) Share web feeds through messaging
CN109246299A (en) Rapid Speech recording method, device, mobile terminal and computer storage medium
CN111209381A (en) Time management method and device in conversation scene
WO2016058385A1 (en) Information storage method and device, and terminal
CN107733674A (en) Component upgrade method and terminal
CN114465975B (en) Content pushing method, device, storage medium and chip system
CN113923517B (en) Background music generation method and device and electronic equipment
CN109522286A (en) The treating method and apparatus of file system
CN112017640B (en) Wake-up decision method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant