CN110381120A - Data sending, receiving method, the first and second terminal and computer storage medium - Google Patents

Data sending, receiving method, the first and second terminal and computer storage medium Download PDF

Info

Publication number
CN110381120A
CN110381120A CN201910545171.5A CN201910545171A CN110381120A CN 110381120 A CN110381120 A CN 110381120A CN 201910545171 A CN201910545171 A CN 201910545171A CN 110381120 A CN110381120 A CN 110381120A
Authority
CN
China
Prior art keywords
data file
terminal
done
data
downloading
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
CN201910545171.5A
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.)
Nubia Technology Co Ltd
Original Assignee
Nubia 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 Nubia Technology Co Ltd filed Critical Nubia Technology Co Ltd
Priority to CN201910545171.5A priority Critical patent/CN110381120A/en
Publication of CN110381120A publication Critical patent/CN110381120A/en
Pending legal-status Critical Current

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/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. SMS or e-mail

Abstract

The invention discloses a kind of transmissions of data, method of reseptance, first, two terminals and computer storage medium, by establishing communication connection in first terminal and second terminal, and detect that there is currently when the data file downloaded in first terminal, the data file is marked, and the download information of the data file is sent to second terminal, and then second terminal can carry out again the data file downloaded according to the download information or continue to download, it solves in the prior art and is not implemented and transmission control is carried out to the data file downloaded, inconvenience is brought to user, cause the problem of user experience difference.The invention also discloses the first and second terminal and computer storage mediums to realize the control of the transmission to the data file downloaded, bring many conveniences to user by implementation above scheme, more humanized, intelligent.

Description

Data sending, receiving method, the first and second terminal and computer storage medium
Technical field
The present invention relates to data interaction field, more specifically to a kind of data sending, receiving method, first terminal, Second terminal and computer storage medium.
Background technique
With the development of terminal technology, the popularity rate of the intelligent terminals such as smart phone, tablet computer is higher and higher, people couple The requirement of intelligent terminal is also higher and higher.For convenience of description, above-mentioned intelligent terminal is taken the mobile phone as an example, currently, between different mobile phones Data interaction also become more and more popular, such as by transmitting data file to mobile phone 2 existing on mobile phone 1, or by mobile phone 2 It, can not be right on some transmitting data files to mobile phone 1, but when the data file on mobile phone 1 is currently in downloading That answers is transferred on mobile phone 2, if user needs have the data file on mobile phone 2 at this time, the application having to manually on mobile phone 2 Download center carries out corresponding downloading, it is seen then that in the prior art and is not implemented and carries out transmission control to the data file downloaded System, brings inconvenience to user, greatly reduces the experience satisfaction of user.
Summary of the invention
The technical problem to be solved in the present invention is that in the prior art and be not implemented to the data file downloaded into Row transmission control, brings inconvenience to user, causes the problem of user experience difference.For the technical problem, one kind is provided Data sending, receiving method, first terminal, second terminal and computer storage medium.
In order to solve the above technical problems, the present invention provides a kind of data transmission method for uplink, it is applied to first terminal, the data Sending method includes:
When establishing communication connection with second terminal, detection is currently with the presence or absence of the data file downloaded;
If so, being data file to be done by the mark data files downloaded;
The download information of the data file to be done is sent to second terminal, the download information is whole for described second End the data file to be done is downloaded according to the download information.
Optionally, before the identification information to second terminal for sending the data file to be done, comprising:
Obtain the data file that part downloading is just completed in downloading data file;
The download information for sending the data file to be done is to second terminal, comprising:
It sends the data file to be done and the data file of part downloading is completed to second terminal.
Optionally, the download information for sending the data file to be done is to second terminal, comprising:
Identification information that the data file to be done need to be re-downloaded is sent to second terminal.
Further, the present invention also provides a kind of data receiver methods, are applied to second terminal, the data receiver Method includes:
When establishing communication connection with first terminal, the lower information carrying of the data file to be done from first terminal is received Breath, the download information download the data file to be done according to download information for the second terminal;
The data file to be done is downloaded according to the download information.
Optionally, when the download information received includes the data text that part downloading is completed in the data file to be done It is described that the data file to be done is downloaded according to the download information when part, comprising:
Load the data file that part downloading is completed in the data file to be done;
Continue to download the data file that the data file to be done does not complete downloading.
Optionally, when the download information received includes the mark letter that the data file to be done need to be re-downloaded It is described that the data file to be done is downloaded according to the download information when breath, comprising:
The data file to be done is determined according to the identification information;
Re-download the complete data file of the data file to be done.
Optionally, when the data file to be done according to download information downloading, further includes:
Show the corresponding application icon of the data file to be done.
Further, the present invention also provides a kind of first terminals, which is characterized in that the first terminal includes at first Manage device, first memory and the first communication bus;
First communication bus is for realizing the connection communication between the first processor and the first memory;
The first processor is for executing one or more first program stored in the first memory, with reality The step of existing data as described above are sent.
Further, the present invention also provides a kind of second terminals, which is characterized in that the second terminal includes at second Manage device, second memory and the second communication bus;
Second communication bus is for realizing the connection communication between the second processor and the second memory;
The second processor is for executing one or more second program stored in the second memory, with reality The step of showing data receiver method as described above.
Further, the present invention also provides a kind of computer storage mediums, which is characterized in that the computer storage is situated between Matter is stored with one or more the first program, and one or more of first programs can be held by one or more processor Row, the step of to realize data transmission method for uplink as described above;
Or,
The computer storage medium is stored with one or more the second program, one or more of second programs It can be executed by one or more processor, the step of to realize data receiver method as described above.
Beneficial effect
Data sending, receiving method, first terminal, second terminal and computer storage medium proposed by the present invention, the number Pass through according to sending method and second terminal is established when communicating to connect, detects currently with the presence or absence of the data file downloaded, if Being is data file to be done by the mark data files downloaded, and then send the download information of data file to be done To second terminal, wherein download information downloads data file to be done according to download information for second terminal;The data receiver Method passes through the download information for receiving the data file to be done from first terminal, and then to be done according to download information downloading Data file.Solve in the prior art and be not implemented transmission control is carried out to the data file downloaded, to user with Carry out inconvenience, causes the problem of user experience difference.Namely in the present invention, communication is established in first terminal and second terminal Connection, and detect in first terminal there is currently when the data file downloaded, which is marked, and will The download information of the data file is sent to second terminal, and then second terminal can be according to the download information to the number downloaded Carry out again or continuing to download according to file, avoid it is existing transmission control is not carried out to the data file downloaded so that The phenomenon that user need to be downloaded manually reduces the puzzlement of user, brings many conveniences to user, greatly improves use The experience satisfaction at family.
Detailed description of the invention
Present invention will be further explained below with reference to the attached drawings and examples, in attached drawing:
The hardware structural diagram of Fig. 1 each embodiment one optional mobile terminal to realize the present invention;
Fig. 2 is the wireless communication system schematic diagram of mobile terminal as shown in Figure 1;
Fig. 3 is the basic procedure schematic diagram for the data transmission method for uplink that first embodiment of the invention provides;
Fig. 4 is the basic procedure schematic diagram for the data receiver method that first embodiment of the invention provides;
Fig. 5 is that the download information that first embodiment of the invention provides includes that data file to be done is completed what part was downloaded When data file, the basic procedure schematic diagram of data file to be done is downloaded according to download information;
Fig. 6 is that the download information that first embodiment of the invention provides includes that data file to be done need to be re-downloaded When identification information, the basic procedure schematic diagram of data file to be done is downloaded according to download information;
Fig. 7 is a kind of basic procedure signal for specific data sending, receiving method that second embodiment of the invention provides Figure;
Fig. 8 is the structural schematic diagram for the first terminal that third embodiment of the invention provides;
Fig. 9 is the structural schematic diagram for the second terminal that third embodiment of the invention provides;
Figure 10 is a kind of structural schematic diagram for wearable device that third embodiment of the invention provides;
Figure 11 is the structural schematic diagram for another wearable device that third embodiment of the invention provides.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of element Be conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mix Ground uses.
Terminal can be implemented in a variety of manners.For example, terminal described in the present invention may include such as mobile phone, plate Computer, laptop, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable Media player (Portable Media Player, PMP), navigation device, wearable device, Intelligent bracelet, pedometer etc. move The fixed terminals such as dynamic terminal, and number TV, desktop computer.
It will be illustrated by taking mobile terminal as an example in subsequent descriptions, it will be appreciated by those skilled in the art that in addition to special Except element for moving purpose, the construction of embodiment according to the present invention can also apply to the terminal of fixed type.
Referring to Fig. 1, a kind of hardware structural diagram of its mobile terminal of each embodiment to realize the present invention, the shifting Dynamic terminal 100 may include: RF (Radio Frequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, the components such as memory 109, processor 110 and power supply 111.It will be understood by those skilled in the art that shown in Fig. 1 Mobile terminal structure does not constitute the restriction to mobile terminal, and mobile terminal may include components more more or fewer than diagram, Perhaps certain components or different component layouts are combined.
It is specifically introduced below with reference to all parts of the Fig. 1 to mobile terminal:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, radio frequency list Uplink information can be sent to base station by member 101, after the downlink information that in addition can also be sent base station receives, be sent to movement The processor 110 of terminal is handled, and base station can be to the downlink information that radio frequency unit 101 is sent and be sent according to radio frequency unit 101 Uplink information generate, be also possible to after the information update for detecting mobile terminal actively to push to radio frequency unit 101, For example, base station can be to the radio frequency unit 101 of mobile terminal after detecting that geographical location locating for mobile terminal changes The message informing of geographical location variation is sent, radio frequency unit 101 can send out the message informing after receiving the message informing The processor 110 for giving mobile terminal is handled, and the processor 110 of mobile terminal can control the message informing and be shown in movement eventually On the display panel 1061 at end;In general, radio frequency unit 101 include but is not limited to antenna, at least one amplifier, transceiver, Coupler, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also by wireless communication with network and other set Standby communication, specifically may include: by wireless communication with the server communication in network system, for example, mobile terminal can be with File resource is downloaded from server by wireless communication, for example application program can be downloaded from server, in mobile terminal After the downloading of a certain application program is completed, if the corresponding file resource of the application program updates in server, the server It can be by wireless communication to the message informing of mobile terminal push resource updates, to remind user to carry out more the application program Newly.Any communication standard or agreement, including but not limited to GSM (Global System of can be used in above-mentioned wireless communication Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, it is general Be grouped wireless service), CDMA2000 (Code Division Multiple Access 2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, wideband code division multiple access), TD-SCDMA (Time Division- Synchronous Code Division Multiple Access, TD SDMA), FDD-LTE (Frequency Division Duplexing-Long Term Evolution, frequency division duplex long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex long term evolution) etc..
WiFi belongs to short range wireless transmission technology, and mobile terminal can help user to receive and dispatch electricity by WiFi module 102 Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1 shows Go out WiFi module 102, but it is understood that, and it is not belonging to must be configured into for mobile terminal, it completely can be according to need It to omit within the scope of not changing the essence of the invention.
Audio output unit 103 can be in call signal reception pattern, call mode, record mould in mobile terminal 100 When under the isotypes such as formula, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received or The audio data stored in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit 103 Audio output relevant to the specific function that mobile terminal 100 executes can also be provided (for example, call signal receives sound, disappears Breath receives sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor (Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition mode Or the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries out Reason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be deposited Storage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.Mike Wind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042 Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data can To be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model. Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition) The noise generated during frequency signal or interference.
Mobile terminal 100 further includes at least one sensor 105, such as optical sensor, motion sensor and other biographies Sensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to environment The light and shade of light adjusts the brightness of display panel 1061, and proximity sensor can close when mobile terminal 100 is moved in one's ear Display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (general For three axis) size of acceleration, it can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.; The fingerprint sensor that can also configure as mobile phone, pressure sensor, iris sensor, molecule sensor, gyroscope, barometer, The other sensors such as hygrometer, thermometer, infrared sensor, details are not described herein.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrap Display panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be used Forms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
User input unit 107 can be used for receiving the number or character information of input, and generate the use with mobile terminal Family setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071 with And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch operation of user on it or nearby (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panel 1071 Neighbouring operation), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touch detection Two parts of device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation band The signal come, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and by it It is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.In addition, can To realize touch panel 1071 using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 1071, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072 can wrap It includes but is not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. It is one or more, specifically herein without limitation.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it or After neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thing The type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel 1061 be the function that outputs and inputs of realizing mobile terminal as two independent components, but in certain embodiments, it can The function that outputs and inputs of mobile terminal is realized so that touch panel 1071 and display panel 1061 is integrated, is not done herein specifically It limits.For example, when by radio frequency unit 101 receive the message informing of a certain application program when, processor 110 can control by The message informing is shown in a certain predeterminable area of display panel 1061, a certain area of the predeterminable area and touch panel 1071 Domain is corresponding, can be in corresponding region on display panel 1061 by carrying out touch control operation to a certain region of touch panel 1071 The message informing of display is controlled.
Interface unit 108 be used as at least one external device (ED) connect with mobile terminal 100 can by interface.For example, External device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, wired or nothing Line data port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) end Mouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, number It is believed that breath, electric power etc.) and the input received is transferred to one or more elements in mobile terminal 100 or can be with For transmitting data between mobile terminal 100 and external device (ED).
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program area The storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one function Sound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such as Audio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easy The property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of mobile terminal, utilizes each of various interfaces and the entire mobile terminal of connection A part by running or execute the software program and/or module that are stored in memory 109, and calls and is stored in storage Data in device 109 execute the various functions and processing data of mobile terminal, to carry out integral monitoring to mobile terminal.Place Managing device 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulatedemodulate is mediated Manage device, wherein the main processing operation system of application processor, user interface and application program etc., modem processor is main Processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Mobile terminal 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply 111 Can be logically contiguous by power-supply management system and processor 110, to realize management charging by power-supply management system, put The functions such as electricity and power managed.
Although Fig. 1 is not shown, mobile terminal 100 can also be including bluetooth module etc., and details are not described herein.
Embodiment to facilitate the understanding of the present invention, the communications network system that mobile terminal of the invention is based below into Row description.
Referring to Fig. 2, Fig. 2 is a kind of communications network system architecture diagram provided in an embodiment of the present invention, the communication network system System is the LTE system of universal mobile communications technology, which includes UE (User Equipment, the use of successively communication connection Family equipment) (the land Evolved UMTS Terrestrial Radio Access Network, evolved UMTS 201, E-UTRAN Ground wireless access network) 202, EPC (Evolved Packet Core, evolved packet-based core networks) 203 and operator IP operation 204。
Specifically, UE201 can be above-mentioned terminal 100, and details are not described herein again.
E-UTRAN202 includes eNodeB2021 and other eNodeB2022 etc..Wherein, eNodeB2021 can be by returning Journey (backhaul) (such as X2 interface) is connect with other eNodeB2022, after UE201 is connect with eNodeB2021, can receive To the notification message notice sent by eNodeB2021, eNodeB2021 may be coupled to EPC203, and eNodeB2021 can be mentioned For the access of UE201 to EPC203.
EPC203 may include MME (Mobility Management Entity, mobility management entity) 2031, HSS (Home Subscriber Server, home subscriber server) 2032, other MME2033, SGW (Serving Gate Way, Gateway) 2034, PGW (PDN Gate Way, grouped data network gateway) 2035 and PCRF (Policy and Charging Rules Function, policy and rate functional entity) 2036 etc..Wherein, MME2031 be processing UE201 and The control node of signaling, provides carrying and connection management between EPC203.HSS2032 is all to manage for providing some registers Such as the function of home location register (not shown) etc, and preserves some related service features, data rates etc. and use The dedicated information in family.All customer data can be sent by SGW2034, and PGW2035 can provide the IP of UE 201 Address distribution and other functions, PCRF2036 are strategy and the charging control strategic decision-making of business data flow and IP bearing resource Point, it selects and provides available strategy and charging control decision with charge execution function unit (not shown) for strategy.
IP operation 204 may include internet, Intranet, IMS (IP Multimedia Subsystem, IP multimedia System) or other IP operations etc..
Although above-mentioned be described by taking LTE system as an example, those skilled in the art should know the present invention is not only Suitable for LTE system, be readily applicable to other wireless communication systems, such as GSM, CDMA2000, WCDMA, TD-SCDMA with And the following new network system etc., herein without limitation.
Based on above-mentioned mobile terminal hardware configuration and communications network system, each embodiment of the present invention is proposed.
First embodiment
In order to solve in the prior art and be not implemented transmission control is carried out to the data file downloaded, to user with Carry out inconvenience, causes the problem of user experience difference.The present embodiment provides a kind of data transmission method for uplink, the data transmission method for uplink When being communicated to connect by being established with second terminal, detection currently with the presence or absence of the data file downloaded, if so, will under The mark data files of load are data file to be done, and then send the download information of data file to be done to second terminal, Wherein, download information downloads data file to be done according to download information for second terminal;Specifically it may refer to shown in Fig. 3, Fig. 3 is a kind of basic flow chart of data transmission method for uplink provided in this embodiment, which includes:
S301: when establishing communication connection with second terminal, detection is currently with the presence or absence of the data file downloaded;
If so, S302 is executed, if it is not, continuing to execute S301.
It is understood that the communication link with second terminal can be established in the present embodiment by bluetooth or WIFI or USB line It connects, it is notable that recited herein is that three kinds of common achievable first terminals and second terminal establish communication link The mode connect, the invention is not limited to these three cited modes, as long as in fact, being able to achieve first terminal and second eventually The mode of communication connection is established in protection category of the invention in end, and to this, the present invention is not specifically limited.
In some examples of the present embodiment, in order to save the power consumption of first terminal, the work pressure of first terminal is reduced Power, first terminal can be detected with every preset time period currently whether there is the data file downloaded, such as examine every 30s It surveys primary, it is notable that in practical applications, preset time period is flexibly set by developer according to experiment or experience It sets.
In other examples of the present embodiment, in order to enable detection is more accurate, first terminal can also be detected constantly It is current whether currently to whether there is the data file downloaded.It, can be according to specifically answering it is worth noting that, in practical applications It is adjusted flexibly with scene.
Currently it can be special use with the presence or absence of the data file downloaded it will be clear that detecting in the present embodiment The a certain downloading using data file is carried out in the application of application data-downloading file, such as " applying download center ", or The a certain downloading using data file is carried out at " software store ".It is worth noting that, recited herein is two kinds common Application data-downloading file proprietary application, the invention is not limited to both proprietary applications, as long as in fact, belonging to energy It is enough to realize using the proprietary application of data file downloading in protection category of the invention, specific limit is not done to this present invention It is fixed.
Also currently it is also possible to answer with the presence or absence of the data file downloaded it will be clear that detecting in the present embodiment Contact person A in the data file that a certain contact person transmits in, such as Tencent qq has sent data file a to user, User clicks the downloading of data file a at this time, i.e., the data file downloaded at this time is a.It is worth noting that, here A cited only specific example need to be adjusted flexibly in practical applications according to concrete application scene.
S302: being data file to be done by the mark data files downloaded.
In the present embodiment, when detecting first terminal, there is currently when the data file downloaded, need at this time to will just It is marked in the data file of downloading, because the data file downloaded does not download completion, therefore, is marked as to complete At data file.For a better understanding, be illustrated here with a specific example, for example, setting first terminal currently The corresponding data file of downloading application " king's honor " then at this time marks the corresponding data file of application " king's honor " Note, is marked as data file to be done.
S303: sending the download information of data file to be done to second terminal, download information for second terminal according to Download information downloads data file to be done.
In the present embodiment, there is at least following two situation in download information:
Situation one, download information include the data file that part downloading is completed of data file to be done.
It is understood that when download information includes the data file that part downloading is completed of data file to be done When, before the identification information to second terminal for sending data file to be done, including obtain just complete in downloading data file At the data file of part downloading, specifically, download information to the second terminal for sending data file to be done is transmission to complete The data file of part downloading is completed to second terminal at data file.
It is illustrated for a better understanding, accepting above-mentioned example here, such as sets the corresponding number of application " king's honor " Downloading 60% is completed according to file, obtains 60% data file that downloading is completed, 60% number which is completed at this time Second terminal is sent to according to file.
It will be clear that communication connection can be established when first terminal and second terminal in some examples of the present embodiment, Detect that first terminal just suspends its downloading there is currently when application " king's honor " the corresponding data file downloaded, The data file 60% that part downloading is completed is obtained, after sending it to second terminal, second terminal starts downloading and do not complete When the data file 40% of part downloading, first terminal just restores the downloading of the data file 40% of unfinished portion downloading, i.e., First terminal carries out the synchronous downloading of the data file 40% using " king's honor " unfinished portion with second terminal.In this reality It applies in other examples of example, first terminal directly can also detect that there is currently what is downloaded to answer without suspending downloading When with " king's honor " corresponding data file, the data file 60% that part downloading is completed in acquisition sends it to second eventually End, while carrying out the downloading of the data file 40% of unfinished portion downloading.
Situation two, download information include the identification information that data file to be done need to be re-downloaded.
It is understood that when download information includes the identification information that data file to be done need to be re-downloaded, Specifically, under the download information for sending data file to be done need to carry out again to second terminal for transmission data file to be done The identification information of load is to second terminal.
It is illustrated for a better understanding, equally accepting above-mentioned example here, such as sets application " king's honor " and correspond to Data file downloading 60% is completed, will using " king's honor " corresponding mark data files be data file to be done, Identifying application " king's honor " simultaneously is that the data file downloaded need to re-download, and the identification information is sent out It send to second terminal.
It will be clear that situation one and situation two may also be combined with execution, for example, get just downloading data file When completing the data file of part downloading, it can determine whether to be completed whether the data file of part downloading is more than preset threshold, when When completing the data file of part downloading more than preset threshold, portion is completed comprising data file to be done in download information at this time The data file for dividing downloading avoids second terminal from re-downloading the complete data file of data file to be done, reduces by second eventually The operating pressure at end;When the data file that part downloading is completed is less than preset threshold, download information includes to complete at this time The identification information that need to be re-downloaded at data file.It is worth noting that, in practical applications, preset threshold is by exploit person Member carries out flexible setting according to experiment or experience.
It is further noted that the specific example that only two kinds of download informations include recited herein, the present invention is not It is confined to both of these case, as long as may be notified that second terminal downloads data file to be done according to download information in fact, belonging to Any download information in protection category of the invention, to this, the present invention is not specifically limited, in practical applications, needs root It is adjusted flexibly according to concrete application scene.
In order to solve in the prior art and be not implemented transmission control is carried out to the data file downloaded, to user with Carry out inconvenience, causes the problem of user experience difference.The present embodiment provides a kind of data receiver method, the data receiver methods Pass through receive the data file to be done from first terminal download information, wherein download information for second terminal according to Download information downloads data file to be done, and then downloads data file to be done according to download information;It specifically may refer to Fig. 4 Shown, Fig. 4 is a kind of basic flow chart of data receiver method provided in this embodiment, which includes:
S401: it when establishing communication connection with first terminal, receives under the data file to be done from first terminal Information carrying breath, download information download data file to be done according to download information for second terminal.
In order to better understand the present invention, still above give an account of is illustrated for the two kinds of situations to continue here.
For situation one: when the download information received includes the data text that part downloading is completed in data file to be done When part, data file to be done, including at least following steps are downloaded according to download information, referring specifically to shown in Fig. 5:
S501: the data file that part downloading is completed in data file to be done is loaded.
Here it still accepts one example of above situation to be illustrated, if getting application " king's honor " is completed part downloading Data file 60%, at this time to be completed part downloading data file 60% load.
S502: continue to download the data file that data file to be done does not complete downloading.
Example in undertaking, further, by continuing under downloading application " king's honor " unfinished portion using download center The data file 40% of load is downloaded to 100% from data file 60%, to realize all data texts of application " king's honor " The downloading of part.
For situation two: when the download information received includes the mark letter that data file to be done need to be re-downloaded When breath, data file to be done, including at least following steps are downloaded according to download information, shown referring specifically to fig. 6:
S601: data file to be done is determined according to identification information.
Here it still accepts two example of above situation to be illustrated, if the identification information got is that application " king's honor " needs It re-downloads, then learns the data file that need to be re-downloaded using download center at this time to apply " king's honor ".
S602: the complete data file of data file to be done is re-downloaded.
Example in undertaking further downloads the complete data file of application " king's honor " using download center, i.e., automatically It is downloaded to 100% from data file 0%, to realize the downloading of application " king's honor " all data files.
S402: data file to be done is downloaded according to download information.
It in the present embodiment, further include showing data to be done when downloading data file to be done according to download information The corresponding application icon of file.It is understood that showing that the data file downloaded is (i.e. to be done in second terminal Data file) corresponding application icon, it can just be shown when second terminal downloads data file to be done at the beginning, it can also It is shown after all data files that second terminal has downloaded data file to be done.
Data sending, receiving method provided in this embodiment, which passes through and second terminal establishes communication When connection, detection is currently with the presence or absence of the data file downloaded, if so, being to complete by the mark data files downloaded At data file, and then send the download information of data file to be done to second terminal, wherein download information for second eventually End data file to be done is downloaded according to download information;The data receiver method is by receiving the number to be done from first terminal Data file to be done is downloaded according to the download information of file, and then according to download information.It solves in the prior art and is not implemented Transmission control is carried out to the data file downloaded, brings inconvenience to user, causes the problem of user experience difference. Namely in the present embodiment, establish communication connection in first terminal and second terminal, and first terminal detect there is currently When the data file downloaded, which is marked, and the download information of the data file is sent to second Terminal, and then second terminal can carry out again the data file downloaded according to the download information or continue to download, and avoid It is existing that transmission control is not carried out to the data file downloaded, so that the phenomenon that user need to be downloaded manually, The puzzlement for reducing user brings many conveniences to user, greatly improves the experience satisfaction of user.
Also, in the present embodiment, realize that the data file downloaded on first terminal is same in second terminal While step downloading, also correspondence shows the corresponding application icon of data file downloaded, so that user can be intuitive Solution is also synchronizing the data file downloaded on downloading first terminal to current in second terminal, further improves The experience satisfaction of user.
Second embodiment
The present embodiment is on the basis of first embodiment, to this by taking a kind of specific data sending, receiving method as an example Invention is made further to illustrate, and specifically may refer to shown in Fig. 7.
S701: the communication connection of second terminal is established.
If first terminal establishes the communication connection with second terminal by bluetooth.
S702: detect that there is currently the data files downloaded.
Example in undertaking further detects just to download in software store on current first terminal and applies " Tencent's video ".
It is to be appreciated that S702 is substantially and detects currently with the presence or absence of the data file downloaded, there are two kinds of situations, Situation one detects that there is currently the data file downloaded, situation two detects the current data text for not existing and downloading Part is only illustrated here with situation one.
S703: being data file to be done by the mark data files downloaded.
Example in undertaking, further, first terminal will be to be done using " Tencent's video " corresponding mark data files Data file.
S704: it obtains and the data file of part downloading just is completed in downloading data file.
Example in undertaking, further, if downloading 80% is completed using " Tencent's video " corresponding data file, at this time One terminal obtains 80% data file that application " Tencent's video " downloading is completed.
S705: it sends data file to be done and the data file of part downloading is completed to second terminal.
Example in undertaking, further, first terminal will be using the 80% data file hairs that " Tencent's video " downloading is completed It send to second terminal.
S706: the data file that part downloading is completed in the data file to be done from first terminal is received.
Example in undertaking, further, second terminal receive the 80% data text that application " Tencent's video " downloading is completed Part.
S707: the data file that part downloading is completed in data file to be done is loaded.
Example in undertaking, further, the application " Tencent's video " that second terminal load receives download 80% completed Data file.
S708: the corresponding application icon of data file to be done is shown.
Example in undertaking further shows the icon using " Tencent's video " on the desktop of second terminal.
S709: continue to download the data file that data file to be done does not complete downloading.
Example in undertaking, further, the software store of second terminal automatically continue downloading application " Tencent's video " and do not complete The data file 20% of part downloading, i.e., be downloaded to 100% from data file 80%, to realize that application " Tencent's video " is all The downloading of data file.
It is worth noting that, S708 can be before S707 or synchronization executes, after S709 or execution can also be synchronized, had no Timing limits.
Data sending, receiving method provided in this embodiment by establishing the communication connection with second terminal, and is detecting To there is currently when the data file downloaded, the data file of part downloading is just being completed in acquisition in downloading data file, And then second terminal is sent it to, second terminal, which receives, is just completed the data file of part downloading in downloading data file When, continue downloading just in the data file of downloading data file unfinished portion downloading, to realize just in downloading data file All data files downloading, solve in the prior art and be not implemented transmission control is carried out to the data file downloaded System, brings inconvenience to user, causes the problem of user experience difference.
3rd embodiment
Shown in Figure 8 the present embodiment provides a kind of first terminal, first terminal provided in this embodiment includes first Processor 801, first memory 802 and the first communication bus 803.
Wherein, the first communication bus 803 in the present embodiment is for realizing first processor 801 and first memory 802 Between connection communication, first processor 801 is then for executing one or more first journey stored in first memory 802 Sequence, to perform the steps of
When establishing communication connection with second terminal, detection is currently with the presence or absence of the data file downloaded;
If so, being data file to be done by the mark data files downloaded;
The download information of the data file to be done is sent to second terminal, the download information is whole for described second End the data file to be done is downloaded according to the download information.
In the present embodiment, there is at least following two situation in download information:
Situation one, download information include the data file that part downloading is completed of data file to be done.
It is understood that when download information includes the data file that part downloading is completed of data file to be done When, before the identification information to second terminal for sending data file to be done, including obtain just complete in downloading data file At the data file of part downloading, specifically, first processor 801 sends the download information of data file to be done to second eventually The data file of part downloading is completed to second terminal to send data file to be done in end.
Situation two, download information include the identification information that data file to be done need to be re-downloaded.
It is understood that when download information includes the identification information that data file to be done need to be re-downloaded, Specifically, the download information that first processor 801 sends data file to be done is literary to send data to be done to second terminal The identification information that part need to be re-downloaded is to second terminal.
The present embodiment also provides a kind of second terminal, shown in Figure 9, and terminal provided in this embodiment includes at second Manage device 901, second memory 902 and the second communication bus 903.
Wherein, the second communication bus 903 in the present embodiment is for realizing second processor 901 and second memory 902 Between connection communication, second processor 901 is then for executing one or more second journey stored in second memory 902 Sequence, to perform the steps of
When establishing communication connection with first terminal, the lower information carrying of the data file to be done from first terminal is received Breath, the download information download the data file to be done according to download information for the second terminal;
The data file to be done is downloaded according to the download information.
For situation one: when the download information received includes the data text that part downloading is completed in data file to be done When part, data file to be done is downloaded according to download information, second processor 901 executes at least following steps:
Load the data file that part downloading is completed in data file to be done;
Continue to download the data file that the data file to be done does not complete downloading.
For situation two: when the download information received includes the mark letter that data file to be done need to be re-downloaded When breath, data file to be done is downloaded according to download information, second processor 901 executes at least following steps:
Data file to be done is determined according to identification information;
Re-download the complete data file of the data file to be done.
In the present embodiment, when downloading data file to be done according to download information, second processor 901 also show to Complete the corresponding application icon of data file.
It is understood that the first terminal and second terminal in the present embodiment can be smart phone, be also can Perhaps first terminal is that smart phone second terminal is wearable device or first terminal is wearable device to wearable device Second terminal is smart phone, and wherein wearable device includes Intelligent bracelet, smartwatch etc., for example, see Figure 10, Tu11Suo Show, is the structural schematic diagram of two kinds of feasible wearable devices.
It is worth noting that, not fully expounding the institute in embodiment one, two in the present embodiment in order not to burden explanation There is example, it is understood that, all examples in embodiment one, two are suitable for the present embodiment.
The present embodiment also provides a kind of computer storage medium, computer storage medium be stored with one or more first Program, one or more first program can be executed by one or more processor, to realize such as above-mentioned data sender The step of method;Or, computer storage medium is stored with one or more the second program, one or more second program can quilt One or more processor executes, to realize such as the step of above-mentioned data receiver method.
First terminal, second terminal and computer storage medium provided in this embodiment, by first terminal and second Terminal establishes communication connection, and detects in first terminal there is currently when the data file downloaded, to the data file It is marked, and the download information of the data file is sent to second terminal, and then second terminal can be according to the download information The data file downloaded is carried out again or continues to download, solve in the prior art and is not implemented to downloading Data file carries out transmission control, brings inconvenience to user, causes the problem of user experience difference.So and the prior art It compares, first terminal, second terminal and computer storage medium provided in this embodiment are realized to the data downloaded The transmission of file controls, and brings many conveniences to user, more humanized, intelligent.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in a storage medium In (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, service Device, air conditioner or network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specific Embodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the art Under the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very much Form, all of these belong to the protection of the present invention.

Claims (10)

1. a kind of data transmission method for uplink, which is characterized in that be applied to first terminal, the data transmission method for uplink includes:
When establishing communication connection with second terminal, detection is currently with the presence or absence of the data file downloaded;
If so, being data file to be done by the mark data files downloaded;
The download information of the data file to be done is sent to second terminal, the download information is used for the second terminal root The data file to be done is downloaded according to the download information.
2. data transmission method for uplink as described in claim 1, which is characterized in that the mark for sending the data file to be done Before knowledge information to second terminal, comprising:
Obtain the data file that part downloading is just completed in downloading data file;
The download information for sending the data file to be done is to second terminal, comprising:
It sends the data file to be done and the data file of part downloading is completed to second terminal.
3. data transmission method for uplink as described in claim 1, which is characterized in that described to send under the data file to be done Information carrying is ceased to second terminal, comprising:
Identification information that the data file to be done need to be re-downloaded is sent to second terminal.
4. a kind of data receiver method, which is characterized in that be applied to second terminal, the data receiver method includes:
When establishing communication connection with first terminal, the download information of the data file to be done from first terminal, institute are received It states download information and the data file to be done is downloaded according to download information for the second terminal;
The data file to be done is downloaded according to the download information.
5. data receiver method as claimed in claim 4, which is characterized in that when the download information received includes described to complete It is described according to the download information downloading data text to be done when the data file of part downloading is completed at data file Part, comprising:
Load the data file that part downloading is completed in the data file to be done;
Continue to download the data file that the data file to be done does not complete downloading.
6. data receiver method as claimed in claim 4, which is characterized in that when the download information received includes described to complete It is described according to the download information downloading data text to be done when the identification information that need to be re-downloaded at data file Part, comprising:
The data file to be done is determined according to the identification information;
Re-download the complete data file of the data file to be done.
7. such as the described in any item data receiver methods of claim 4-6, which is characterized in that described according under the download information When carrying the data file to be done, further includes:
Show the corresponding application icon of the data file to be done.
8. a kind of first terminal, which is characterized in that the first terminal includes first processor, first memory and the first communication Bus;
First communication bus is for realizing the connection communication between the first processor and the first memory;
The first processor is for executing one or more first program stored in the first memory, to realize such as The step of claim 1-3 described in any item data transmission method for uplink.
9. a kind of second terminal, which is characterized in that the second terminal includes second processor, second memory and the second communication Bus;
Second communication bus is for realizing the connection communication between the second processor and the second memory;
The second processor is for executing one or more second program stored in the second memory, to realize such as The step of claim 4-7 described in any item data receiver methods.
10. a kind of computer storage medium, which is characterized in that the computer storage medium be stored with one or more first Program, one or more of first programs can be executed by one or more processor, to realize that claim 1-3 such as appoints The step of data transmission method for uplink described in one;
Or,
The computer storage medium is stored with one or more the second program, and one or more of second programs can quilt The step of one or more processor executes, data receiver methods described in any item with realization such as claim 4-7.
CN201910545171.5A 2019-06-21 2019-06-21 Data sending, receiving method, the first and second terminal and computer storage medium Pending CN110381120A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910545171.5A CN110381120A (en) 2019-06-21 2019-06-21 Data sending, receiving method, the first and second terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910545171.5A CN110381120A (en) 2019-06-21 2019-06-21 Data sending, receiving method, the first and second terminal and computer storage medium

Publications (1)

Publication Number Publication Date
CN110381120A true CN110381120A (en) 2019-10-25

Family

ID=68250542

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910545171.5A Pending CN110381120A (en) 2019-06-21 2019-06-21 Data sending, receiving method, the first and second terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN110381120A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080276279A1 (en) * 2007-03-30 2008-11-06 Gossweiler Richard C Interactive Media Display Across Devices
CN101778134A (en) * 2010-01-11 2010-07-14 青岛海信移动通信技术股份有限公司 Data synchronization method and mobile communication terminal
CN102546768A (en) * 2011-12-23 2012-07-04 深圳市同洲电子股份有限公司 Content sharing method, device and system
CN103384275A (en) * 2013-07-19 2013-11-06 贝壳网际(北京)安全技术有限公司 Cross-terminal downloading method, system cloud server and terminal
US20130332621A1 (en) * 2012-06-08 2013-12-12 Ecole Polytechnique Federale De Lausanne (Epfl) System and method for cooperative data streaming
CN103902688A (en) * 2014-03-26 2014-07-02 小米科技有限责任公司 File operation synchronizing method and device
CN105991818A (en) * 2015-01-30 2016-10-05 深圳酷派技术有限公司 File downloading method and terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080276279A1 (en) * 2007-03-30 2008-11-06 Gossweiler Richard C Interactive Media Display Across Devices
CN101778134A (en) * 2010-01-11 2010-07-14 青岛海信移动通信技术股份有限公司 Data synchronization method and mobile communication terminal
CN102546768A (en) * 2011-12-23 2012-07-04 深圳市同洲电子股份有限公司 Content sharing method, device and system
US20130332621A1 (en) * 2012-06-08 2013-12-12 Ecole Polytechnique Federale De Lausanne (Epfl) System and method for cooperative data streaming
CN103384275A (en) * 2013-07-19 2013-11-06 贝壳网际(北京)安全技术有限公司 Cross-terminal downloading method, system cloud server and terminal
CN103902688A (en) * 2014-03-26 2014-07-02 小米科技有限责任公司 File operation synchronizing method and device
CN105991818A (en) * 2015-01-30 2016-10-05 深圳酷派技术有限公司 File downloading method and terminal

Similar Documents

Publication Publication Date Title
CN109982402A (en) Terminal voice call method, mobile terminal and computer readable storage medium
CN109525713A (en) A kind of application control method, wearable device and mobile terminal
CN109660973A (en) Bluetooth control method, mobile terminal and storage medium
CN109819096A (en) Push display control method, terminal and the computer storage medium of notification message
CN109462700A (en) A kind of call method, mobile terminal and computer readable storage medium
CN110020386A (en) Application page sharing method, mobile terminal and computer readable storage medium
CN108494943A (en) Message sink sends processing method, terminal and computer readable storage medium
CN109068084A (en) Video calling picture display process, mobile terminal and computer readable storage medium
CN109062678A (en) A kind of Working mode switching method, wearable device and computer storage medium
CN108900503A (en) Data communications method, communication processing equipment, terminal and readable storage medium storing program for executing
CN109032711A (en) A kind of screenshot method, terminal and computer readable storage medium
CN107608629A (en) A kind of data migration method, terminal and computer-readable recording medium
CN110351423A (en) A kind of unread message process control method, terminal and computer readable storage medium
CN110191477A (en) A kind of web search control method, terminal and computer readable storage medium
CN109918101A (en) Terminal and its application component management method, computer readable storage medium
CN109656649A (en) A kind of desktop application control method, terminal and computer readable storage medium
CN109151163A (en) A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN109089258A (en) ESIM card operating method, mobile terminal and eSIM card apparatus
CN109151184A (en) A kind of method for controlling mobile terminal, mobile terminal and computer readable storage medium
CN109067976A (en) desktop automatic switching method, mobile terminal and computer readable storage medium
CN110177169A (en) Data interactive method, first terminal, second terminal and computer storage medium
CN110381120A (en) Data sending, receiving method, the first and second terminal and computer storage medium
CN110069291A (en) A kind of display control method, mobile terminal and computer readable storage medium
CN109474733A (en) Calling number display method, called/calling terminal and computer storage medium
CN109739569A (en) Method for starting up mobile terminal, mobile terminal and computer readable 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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191025