CN106453845B - A kind of data transmission method and equipment - Google Patents

A kind of data transmission method and equipment Download PDF

Info

Publication number
CN106453845B
CN106453845B CN201610826000.6A CN201610826000A CN106453845B CN 106453845 B CN106453845 B CN 106453845B CN 201610826000 A CN201610826000 A CN 201610826000A CN 106453845 B CN106453845 B CN 106453845B
Authority
CN
China
Prior art keywords
data
transmission
data transmission
terminal
transmitted
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201610826000.6A
Other languages
Chinese (zh)
Other versions
CN106453845A (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610826000.6A priority Critical patent/CN106453845B/en
Publication of CN106453845A publication Critical patent/CN106453845A/en
Priority to PCT/CN2017/092656 priority patent/WO2018049896A1/en
Application granted granted Critical
Publication of CN106453845B publication Critical patent/CN106453845B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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
    • 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/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72454User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions

Abstract

The present embodiments relate to field of terminal technology, a kind of data transmission method and equipment are disclosed.Wherein, this method comprises: first terminal receives the operational order of log-on data transmission;Whether the first data transmission carried out before judging the first terminal is completed;Wherein, the first data transmission is that the first terminal sends preset data to second terminal;If the first data transmission is not completed, the data for not having transmission in the preset data are obtained;Sending does not have the data of transmission to the second terminal in the preset data.It can be seen that implementing the embodiment of the present invention, terminal device data unfinished before can continuing are transmitted without retransmitting all data that need to be transmitted, and save the time, improve data transfer efficiency.

Description

A kind of data transmission method and equipment
Technical field
The present invention relates to field of terminal technology more particularly to a kind of data transmission method and equipment.
Background technique
With the development of terminal technology, the model of terminal device alternates frequently, in order to obtain better usage experience, people Often after 1 year, 2 years even shorter use time, it is changed to the terminal device for updating model.
However, be often stored with a large number of users data in terminal device, in order to which user when using new terminal equipment can be with Directly using the data in old terminal device, these data is needed to move in new terminal equipment by certain mode.Base In the function that this demand, the key that has been born are changed planes, the operation changed planes by a key can be the case where only carrying out once-through operation Under just by old terminal device select data move in new equipment entirely.However, this data migration method there are the problem of It is if encounter the reasons such as network interruption, program error, memory space inadequate in transmission process and be unable to complete transmission, to need Primary transmission is restarted, data transmission efficiency is low, and consuming time is long.
Summary of the invention
The embodiment of the invention provides a kind of data transmission method and equipment, do not completed before terminal device can be made to continue Data transmit without all data that need to be transmitted are retransmitted, save the time, improve data transfer efficiency.
First aspect of the embodiment of the present invention discloses a kind of data transmission method, comprising:
First terminal receives the operational order of log-on data transmission;
Whether the first data transmission carried out before judging the first terminal is completed;Wherein, the first data transmission Preset data are sent to second terminal for the first terminal;
If the first data transmission is not completed, the data for not having transmission in the preset data are obtained;
Sending does not have the data of transmission to the second terminal in the preset data.
As an alternative embodiment, the method also includes:
Before first data transmission progress, the first terminal is that the first data transmission distributes First ray Number;If the first data transmission is not completed, by the First ray number record to unfinished data transmission list;
Whether the first data transmission for judging that the first terminal carries out before is completed, comprising:
Obtain the First ray number of the first data transmission;
The First ray number is inquired in the unfinished data transmission list, if inquiring the First ray number Determine that the first data transmission does not complete.
As an alternative embodiment, the method also includes:
During the first data transmission, adds and transmitted in the data transmitted in the preset data Label;Wherein, the label that transmitted is generated according to the First ray number;
It is described to obtain the data for not having transmission in the preset data, comprising:
Obtaining does not have the data for having transmitted label as the data that do not transmit in the preset data.
As an alternative embodiment, the method is also wrapped after determining that the first data transmission is not completed It includes:
Output prompting message prompts the user whether to send the data for not having transmission in the preset data;
After receiving the instruction for continuing transmission, executing described send in the preset data does not have the data of transmission extremely The second terminal.
As an alternative embodiment, the prompting message includes:
The time that the ratio data and the first data transmission that the first data transmission has transmitted have been spent.
As an alternative embodiment, the output prompting message prompts the user whether to send the preset data In do not have transmission data after, the method also includes:
If receiving the instruction for not going on the first data transmission, cancels and having been transmitted in the preset data Data the label of transmission, and start the transmission of the second data, match the second sequence number for second sub-data transmission, and it is described First ray number is different from second sequence number.
Second aspect of the embodiment of the present invention discloses a kind of data transmission set, comprising:
Receiving unit, for receiving the operational order of log-on data transmission;
Whether judging unit, the first data transmission for carrying out before judging the first terminal are completed;Wherein, described First data transmission is that the first terminal sends preset data to second terminal;
Acquiring unit, for obtaining and not passed in the preset data when the first data transmission is not completed Defeated data;
Transmission unit does not have the data of transmission to the second terminal for sending in the preset data.
As an alternative embodiment, the equipment further include:
Allocation unit, for distributing the first sequence for the first data transmission before first data transmission progress Row number;
Recording unit, for when the first data transmission is not completed, the First ray number to be recorded to not complete At data transmission list;
The judging unit, comprising:
Subelement is obtained, for obtaining the First ray number of the first data transmission;
Subelement is inquired, for inquiring the First ray number in the unfinished data transmission list, if inquiring The First ray number then determines that the first data transmission does not complete.
As an alternative embodiment, the equipment further include:
Marking unit, the number for having been transmitted in the preset data during first data transmission Label has been transmitted according to middle addition;Wherein, the label that transmitted is generated according to the First ray number;
The acquiring unit does not have to have transmitted in the preset data described in the data conduct of label specifically for obtaining The data that do not transmit.
As an alternative embodiment, the equipment further include:
Output unit prompts the user whether to send the number for not having transmission in the preset data for exporting prompting message According to;
Execution unit does not have for after receiving the instruction for continuing transmission, executing described send in the preset data There are the data of transmission to the second terminal.
As an alternative embodiment, the prompting message includes:
The time that the ratio data and the first data transmission that the first data transmission has transmitted have been spent.
As an alternative embodiment, the equipment further include:
Restart unit, it is described pre- for after receiving the instruction for not going on the first data transmission, then cancelling If data in the label of transmission of data that has transmitted, and start the transmission of the second data, match for second sub-data transmission Second sequence number, and the First ray number is different from second sequence number.
The third aspect of the embodiment of the present invention discloses a kind of terminal device, comprising: processor and memory, the processor For executing method disclosed in above-mentioned first aspect.
As can be seen from the above technical solutions, the embodiment of the present invention has the advantage that
In the embodiment of the present invention, first terminal receives the operational order of log-on data transmission;Judge the first terminal it Whether the first data transmission of preceding progress is completed;Wherein, the first data transmission is that the first terminal sends preset number According to second terminal;If the first data transmission is not completed, the data for not having transmission in the preset data are obtained; Sending does not have the data of transmission to the second terminal in the preset data.It can be seen that implementing the embodiment of the present invention, eventually End equipment data unfinished before can continuing are transmitted without retransmitting all data that need to be transmitted, when saving Between, improve data transfer efficiency.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is a kind of flow diagram of data transmission method disclosed by the embodiments of the present invention;
Fig. 2 is the flow diagram of another data transmission method disclosed by the embodiments of the present invention;
Fig. 3 is a kind of structural schematic diagram of data transmission set disclosed by the embodiments of the present invention;
Fig. 4 is the structural schematic diagram of another data transmission set disclosed by the embodiments of the present invention;
Fig. 5 is a kind of structural schematic diagram of terminal device disclosed by the embodiments of the present invention;
Fig. 6 is the structural schematic diagram of another terminal device disclosed by the embodiments of the present invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, is not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, meaning Figure, which is to cover, non-exclusive includes.Such as contain the process, method, system, product or equipment of a series of steps or units It is not limited to listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also Including other step or units intrinsic for these process, methods or equipment.
The embodiment of the invention provides a kind of data transmission method and equipment, do not completed before terminal device can be made to continue Data transmit without all data that need to be transmitted are retransmitted, save the time, improve data transfer efficiency.Divide below It is not described in detail.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of data transmission method disclosed by the embodiments of the present invention.Wherein, scheme Method shown in 1 may comprise steps of:
101, first terminal receives the operational order of log-on data transmission.
In the embodiment of the present invention, terminal device can be smart phone, smartwatch, palm PC, tablet computer, a number Word assistant (Personal Digital Assistant, PDA), point-of-sale terminal (Point of Sales, POS) etc., the present invention Embodiment is subsequent not to be repeated.
As an alternative embodiment, the sliding rail of the input of first terminal monitoring user's finger on the touchscreen Mark verifies whether above-mentioned sliding trace is the corresponding sliding trace of log-on data transmission, if so, log-on data transmits function Energy.
102, whether the first data transmission carried out before judging first terminal is completed;Wherein, above-mentioned first data transmission Preset data are sent to second terminal for first terminal.
In the embodiment of the present invention, before the progress of above-mentioned first data transmission, first terminal is above-mentioned first data transmission Distribute First ray number;If above-mentioned first data transmission is not completed, by above-mentioned First ray number record to unfinished data Transmission list.
Therefore, as an alternative embodiment, first terminal can judge that above-mentioned first data pass in the following way It is defeated whether to complete:
Obtain the above-mentioned First ray number of above-mentioned first data transmission;
Above-mentioned First ray number is inquired in above-mentioned unfinished data transmission list, if inquiring above-mentioned First ray number Determine that above-mentioned first data transmission does not complete.
If 103, above-mentioned first data transmission is not completed, the data for not having transmission in above-mentioned preset data are obtained.
In the embodiment of the present invention, during above-mentioned first data transmission, transmitted in above-mentioned preset data It is added in data and has transmitted label;Wherein, the above-mentioned label that transmitted is generated according to above-mentioned First ray number;Therefore, can pass through Obtaining does not have the data for having transmitted label as the above-mentioned data that do not transmit in above-mentioned preset data.
104, sending in above-mentioned preset data does not have the data of transmission to second terminal.
It, can be by obtaining first data transmission mistake if above-mentioned first data transmission is not completed in the embodiment of the present invention The data that do not transmit in journey are transmitted, to avoid entirely re-starting first data transmission process, are saved the time, are mentioned High data transmission efficiency.
It can be seen that using method described in Fig. 1, unfinished data transmission before terminal device can be made to continue and It does not need to retransmit all data that need to be transmitted, saves the time, improve data transfer efficiency.
Referring to Fig. 2, Fig. 2 is the flow diagram of another data transmission method disclosed by the embodiments of the present invention.Such as Fig. 2 Shown, this method may comprise steps of:
201, first terminal receives the operational order of log-on data transmission.
As an alternative embodiment, the sliding rail of the input of first terminal monitoring user's finger on the touchscreen Mark verifies whether above-mentioned sliding trace is the corresponding sliding trace of log-on data transmission, if so, log-on data transmits function Energy.
202, whether the first data transmission carried out before judging first terminal is completed;Wherein, above-mentioned first data transmission Preset data are sent to second terminal for first terminal.
In the embodiment of the present invention, before the progress of above-mentioned first data transmission, first terminal is above-mentioned first data transmission Distribute First ray number;If above-mentioned first data transmission is not completed, by above-mentioned First ray number record to unfinished data Transmission list.
Therefore, as an alternative embodiment, first terminal can judge that above-mentioned first data pass in the following way It is defeated whether to complete:
Obtain the above-mentioned First ray number of above-mentioned first data transmission;
Above-mentioned First ray number is inquired in above-mentioned unfinished data transmission list, if inquiring above-mentioned First ray number Determine that above-mentioned first data transmission does not complete.
If 203, above-mentioned first data transmission is not completed, exports prompting message and prompt the user whether to send above-mentioned preset Data in do not have transmission data.
As an alternative embodiment, above-mentioned prompting message may include the number that above-mentioned first data transmission has transmitted The time spent according to ratio and above-mentioned first data transmission.User can understand the complete of first data transmission according to these information At situation, if the performance of first data transmission is less, it can choose and re-start data transmission;If first data transmission Performance is larger, has expended more time, then can choose and continue to transmit the data that do not transmit in first data transmission, to save Save total data transmission period.
204, after receiving the instruction for continuing transmission, the data for not having transmission in above-mentioned preset data are obtained.
In the embodiment of the present invention, during above-mentioned first data transmission, transmitted in above-mentioned preset data It is added in data and has transmitted label;Wherein, the above-mentioned label that transmitted is generated according to above-mentioned First ray number;Therefore, can pass through Obtaining does not have the data for having transmitted label as the above-mentioned data that do not transmit in above-mentioned preset data.
205, sending in above-mentioned preset data does not have the data of transmission to second terminal.
It, can be by obtaining first data transmission mistake if above-mentioned first data transmission is not completed in the embodiment of the present invention The data that do not transmit in journey are transmitted, to avoid entirely re-starting first data transmission process, are saved the time, are mentioned High data transmission efficiency.
In addition to this, if first terminal receives the instruction for not going on above-mentioned first data transmission, cancel above-mentioned The transmission for the data transmitted in preset data marks, and starts the transmission of the second data, is above-mentioned second sub-data transmission With the second sequence number, and above-mentioned First ray number is different from above-mentioned second sequence number.In this way, the first data biography is abandoned Defeated record and establish new data transmission procedure.
It can be seen that using method described in Fig. 2, unfinished data transmission before terminal device can be made to continue and It does not need to retransmit all data that need to be transmitted, saves the time, improve data transfer efficiency.In addition to this, terminal device The ratio data and above-mentioned first data transmission that user's understanding first data transmission can be made to have transmitted by notification message have been spent Whether the time taken facilitates user to continuing to complete first data transmission and select.
Referring to Fig. 3, Fig. 3 is a kind of structural schematic diagram of data transmission set disclosed by the embodiments of the present invention.Such as Fig. 3 institute Show, which may include:
Receiving unit 301, for receiving the operational order of log-on data transmission.
As an alternative embodiment, receiving unit 301 monitors the sliding of the input of user's finger on the touchscreen Track verifies whether above-mentioned sliding trace is the corresponding sliding trace of log-on data transmission, if so, log-on data transmits function Energy.
Whether judging unit 302, the first data transmission for carrying out before judging first terminal are completed;Wherein, above-mentioned First data transmission is that first terminal sends preset data to second terminal.
In the embodiment of the present invention, before the progress of above-mentioned first data transmission, first terminal is above-mentioned first data transmission Distribute First ray number;If above-mentioned first data transmission is not completed, by above-mentioned First ray number record to unfinished data Transmission list.
Therefore, as an alternative embodiment, judging unit 302 can judge above-mentioned first data in the following way Whether transmission is completed:
Obtain the above-mentioned First ray number of above-mentioned first data transmission;
Above-mentioned First ray number is inquired in above-mentioned unfinished data transmission list, if inquiring above-mentioned First ray number Determine that above-mentioned first data transmission does not complete.
Acquiring unit 303, for when above-mentioned first data transmission is not completed, obtaining not to have in above-mentioned preset data The data of transmission.
In the embodiment of the present invention, during above-mentioned first data transmission, transmitted in above-mentioned preset data It is added in data and has transmitted label;Wherein, the above-mentioned label that transmitted is generated according to above-mentioned First ray number;Therefore, acquiring unit 303 can not have the data for having transmitted label as the above-mentioned data that do not transmit by obtaining in above-mentioned preset data.
Transmission unit 304 does not have the data of transmission to second terminal for sending in above-mentioned preset data.
It, can be by obtaining first data transmission mistake if above-mentioned first data transmission is not completed in the embodiment of the present invention The data that do not transmit in journey are transmitted, to avoid entirely re-starting first data transmission process, are saved the time, are mentioned High data transmission efficiency.
It can be seen that using equipment described in Fig. 3, unfinished data transmission before terminal device can be made to continue and It does not need to retransmit all data that need to be transmitted, saves the time, improve data transfer efficiency.
Referring to Figure 4 together, Fig. 4 is the structural schematic diagram of another data transmission set disclosed by the embodiments of the present invention. Wherein, data transmission set shown in Fig. 4 is that equipment as shown in Figure 3 optimizes, with equipment phase shown in Fig. 3 Than equipment shown in Fig. 4 further include:
Output unit 305 is prompted the user whether to send in above-mentioned preset data for exporting prompting message and not transmitted Data.
As an alternative embodiment, above-mentioned prompting message may include the number that above-mentioned first data transmission has transmitted The time spent according to ratio and above-mentioned first data transmission.User can understand the complete of first data transmission according to these information At situation, if the performance of first data transmission is less, it can choose and re-start data transmission;If first data transmission Performance is larger, has expended more time, then can choose and continue to transmit the data that do not transmit in first data transmission, to save Save total data transmission period.
Execution unit 306, for executing in the above-mentioned preset data of above-mentioned transmission after receiving the instruction for continuing transmission The data that do not transmit are to second terminal.
Unit 307 is restarted, for after receiving the instruction for not going on above-mentioned first data transmission, then cancelling above-mentioned The transmission for the data transmitted in preset data marks, and starts the transmission of the second data, is above-mentioned second sub-data transmission With the second sequence number, and above-mentioned First ray number is different from above-mentioned second sequence number.
It can be seen that using equipment described in Fig. 4, unfinished data transmission before terminal device can be made to continue and It does not need to retransmit all data that need to be transmitted, saves the time, improve data transfer efficiency.In addition to this, terminal device The ratio data and above-mentioned first data transmission that user's understanding first data transmission can be made to have transmitted by notification message have been spent Whether the time taken facilitates user to continuing to complete first data transmission and select.
Referring to Fig. 5, Fig. 5 is a kind of structural schematic diagram of terminal device disclosed by the embodiments of the present invention.As shown in figure 5, The terminal device includes: processor 501 and memory 502;Wherein memory 502 can be used for the execution data of processor 501 Caching required for processing can be also used for providing the result that processor 501 executes data and acquisition that data processing is called The memory space of data.
In embodiments of the present invention, processor 501 is by calling the program code being stored in memory 502, for holding The following operation of row:
First terminal receives the operational order of log-on data transmission;
Whether the first data transmission carried out before judging first terminal is completed;Wherein, above-mentioned first data transmission is the One terminal sends preset data to second terminal;
If above-mentioned first data transmission is not completed, the data for not having transmission in above-mentioned preset data are obtained;
Sending does not have the data of transmission to second terminal in above-mentioned preset data.
It can be seen that unfinished data pass before terminal device can be made to continue using terminal device described in Fig. 5 It is defeated without all data that need to be transmitted are retransmitted, save the time, improve data transfer efficiency.
Referring to Fig. 6, Fig. 6 is the structural schematic diagram of another terminal device disclosed by the embodiments of the present invention.Such as Fig. 6 institute Show, for ease of description, only parts related to embodiments of the present invention are shown, and it is disclosed by specific technical details, it please refers to Present invention method part.The terminal can be include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), any terminal device such as vehicle-mounted computer, Taking the terminal as an example:
Fig. 6 shows the block diagram of the part-structure of mobile phone relevant to terminal provided in an embodiment of the present invention.With reference to figure 6, mobile phone include: radio frequency (Radio Frequency, RF) circuit 601, memory 602, input unit 603, display unit 604, Sensor 605, voicefrequency circuit 606, Wireless Fidelity (wireless fidelity, WiFi) module 607, processor 608 and The components such as power supply 609.It will be understood by those skilled in the art that handset structure shown in Fig. 6 does not constitute the restriction to mobile phone, It may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to each component parts of the Fig. 6 to mobile phone:
RF circuit 601 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station After downlink information receives, handled to processor 608;In addition, the data for designing uplink are sent to base station.In general, RF circuit 601 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 601 can also be communicated with network and other equipment by wireless communication. Any communication standard or agreement, including but not limited to global system for mobile communications (Global can be used in above-mentioned wireless communication System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 602 can be used for storing software program and module, and processor 608 is stored in memory 602 by operation Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 602 can mainly include Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored to be created according to using for mobile phone Data (such as audio data, phone directory etc.) etc..It, can be in addition, memory 602 may include high-speed random access memory Including nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-states Part.
Input unit 603 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 603 may include that touch panel 6031 and other inputs are set Standby 6032.Touch panel 6031, also referred to as touch screen, collecting the touch operation of user on it or nearby, (for example user makes With the operation of any suitable object or attachment such as finger, stylus on touch panel 6031 or near touch panel 6031), And corresponding attachment device is driven according to preset formula.Optionally, touch panel 6031 may include touch detecting apparatus With two parts of touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch operation bring Signal transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and it is converted At contact coordinate, then processor 608 is given, and order that processor 608 is sent can be received and executed.Furthermore, it is possible to adopt Touch panel 6031 is realized with multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touch panel 6031, input unit 603 can also include other input equipments 6032.Specifically, other input equipments 6032 may include but One be not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. Kind is a variety of.
Display unit 604 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 604 may include display panel 6041, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 6041.Further, touch panel 6031 can cover display panel 6041, when touch panel 6031 detects on it Or after neighbouring touch operation, processor 608 is sent to determine the type of touch event, is followed by subsequent processing device 608 according to touch The type of event provides corresponding visual output on display panel 6041.Although in Fig. 6, touch panel 6031 and display surface Plate 6041 is the input and input function for realizing mobile phone as two independent components, but in some embodiments it is possible to It is touch panel 6031 and display panel 6041 is integrated and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 605, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient light Light and shade adjust the brightness of display panel 6041, proximity sensor can close display panel when mobile phone is moved in one's ear 6041 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directions (generally three axis) and add The size of speed can detect that size and the direction of gravity when static, can be used to identify application (such as the horizontal/vertical screen of mobile phone posture Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Also as mobile phone The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared sensor, details are not described herein.
Voicefrequency circuit 606, loudspeaker 6061, microphone 6062 can provide the audio interface between user and mobile phone.Audio Electric signal after the audio data received conversion can be transferred to loudspeaker 6061, be converted to by loudspeaker 6061 by circuit 606 Voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 6062, is connect by voicefrequency circuit 606 Audio data is converted to after receipts, then by after the processing of audio data output processor 608, is sent to through RF circuit 601 such as another One mobile phone, or audio data is exported to memory 602 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 607 Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 6 is shown WiFi module 607, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need do not changing completely Become in the range of the essence of invention and omits.
Processor 608 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to It crosses operation or executes the software program and/or module being stored in memory 602, and call and be stored in memory 602 Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 608 can wrap Include one or more processing units;Preferably, processor 608 can integrate application processor and modem processor, wherein answer With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication. It is understood that above-mentioned modem processor can not also be integrated into processor 608.
Mobile phone further includes the power supply 609 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system and processor 608 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system Etc. functions.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
In previous embodiment, each step method process can be realized based on the structure of the terminal device.Wherein application layer and Operating system nucleus can be considered the component part of the abstract structure of processor 608.
In embodiments of the present invention, processor 608 is by calling the program code being stored in memory 602, for holding The following operation of row:
First terminal receives the operational order of log-on data transmission;
Whether the first data transmission carried out before judging first terminal is completed;Wherein, above-mentioned first data transmission is the One terminal sends preset data to second terminal;
If above-mentioned first data transmission is not completed, the data for not having transmission in above-mentioned preset data are obtained;
Sending does not have the data of transmission to second terminal in above-mentioned preset data.
It can be seen that unfinished data pass before terminal device can be made to continue using terminal device described in Fig. 6 It is defeated without all data that need to be transmitted are retransmitted, save the time, improve data transfer efficiency.
It is worth noting that, in above-mentioned data transmission set and terminal device embodiment, included each unit is It is divided according to the functional logic, but is not limited to the above division, as long as corresponding functions can be realized;Separately Outside, the specific name of each functional unit is also only for convenience of distinguishing each other, the protection scope being not intended to restrict the invention.
In addition, those of ordinary skill in the art will appreciate that realizing all or part of the steps in above-mentioned each method embodiment It is that relevant hardware can be instructed to complete by program, corresponding program can store in a kind of computer readable storage medium In, storage medium mentioned above can be read-only memory, disk or CD etc..
The above is only the preferable specific embodiments of the present invention, but scope of protection of the present invention is not limited thereto, any Those familiar with the art the variation that can readily occur in or replaces in the technical scope that the embodiment of the present invention discloses It changes, should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of claim Subject to enclosing.

Claims (9)

1. a kind of data transmission method characterized by comprising
Before first data transmission progress, first terminal is that the first data transmission distributes First ray number;If described One data are transmitted without completion, then record the First ray number to unfinished data transmission list;Wherein, first number Preset data are sent to second terminal according to the first terminal is transmitted as;
During the first data transmission, is added in the data transmitted in the preset data and transmitted mark Note;Wherein, the label that transmitted is generated according to the First ray number;
First terminal receives the operational order of log-on data transmission, comprising: it is defeated on the touchscreen that first terminal monitors user's finger The sliding trace entered verifies whether above-mentioned sliding trace is the corresponding sliding trace of log-on data transmission, if so, starting number According to transfer function;
Whether the first data transmission carried out before judging the first terminal is completed;
If it is determined that the first data transmission is not completed, output prompting message prompts the user whether to send the preset data In there is no the data of transmission, wherein the prompting message includes: the ratio data that the first data transmission has transmitted and described The time that first data transmission has been spent;After receiving the instruction for continuing transmission, then obtaining does not have in the preset data The data of transmission;
Sending does not have the data of transmission to the second terminal in the preset data.
2. method according to claim 1, which is characterized in that the first data carried out before the judgement first terminal Whether transmission is completed, comprising:
Obtain the First ray number of the first data transmission;
The First ray number is inquired in the unfinished data transmission list, is determined if inquiring the First ray number The first data transmission does not complete.
3. method according to claim 2, which is characterized in that described to obtain the number for not having transmission in the preset data According to, comprising:
Obtaining does not have the data for having transmitted label as the data that do not transmit in the preset data.
4. method according to claim 1, which is characterized in that the output prompting message prompts the user whether to send described pre- If data in do not have transmission data after, the method also includes:
If receiving the instruction for not going on the first data transmission, cancel the number transmitted in the preset data According to the label of transmission, and start the transmission of the second data, match the second sequence number for second sub-data transmission, and described first Sequence number is different from second sequence number.
5. a kind of data transmission set characterized by comprising
Allocation unit, for distributing First ray number for the first data transmission before first data transmission progress;Its In, the first data transmission is that first terminal sends preset data to second terminal;
Recording unit, for when the first data transmission is not completed, the First ray number to be recorded to unfinished number According to transmission list;
Marking unit is used for during the first data transmission, in the data transmitted in the preset data Label has been transmitted in addition;Wherein, the label that transmitted is generated according to the First ray number;
Receiving unit, for receiving the operational order of log-on data transmission;
Whether judging unit, the first data transmission for carrying out before judging the first terminal are completed;
Output unit, for when the first data transmission is not completed, output prompting message to prompt the user whether to send institute The data for not having transmission in preset data are stated, the prompting message includes: the data ratio that the first data transmission has transmitted The time that example and the first data transmission have been spent;
Acquiring unit, for obtaining the data for not having transmission in the preset data after receiving the instruction for continuing transmission;
Transmission unit does not have the data of transmission to the second terminal for sending in the preset data.
6. equipment according to claim 5, which is characterized in that the judging unit, comprising:
Subelement is obtained, for obtaining the First ray number of the first data transmission;
Subelement is inquired, for inquiring the First ray number in the unfinished data transmission list, if inquiring described First ray number then determines that the first data transmission does not complete.
7. equipment according to claim 6, which is characterized in that the acquiring unit is specifically used for obtaining described preset There is no the data for having transmitted label as the data that do not transmit in data.
8. equipment according to claim 5, which is characterized in that the equipment further include:
Restart unit, it is described preset for after receiving the instruction for not going on the first data transmission, then cancelling The transmission for the data transmitted in data marks, and starts the transmission of the second data, matches second for second sub-data transmission Sequence number, and the First ray number is different from second sequence number.
9. a kind of terminal device, comprising: processor and memory, which is characterized in that the processor requires 1 for perform claim Method described in any one of~4.
CN201610826000.6A 2016-09-14 2016-09-14 A kind of data transmission method and equipment Active CN106453845B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610826000.6A CN106453845B (en) 2016-09-14 2016-09-14 A kind of data transmission method and equipment
PCT/CN2017/092656 WO2018049896A1 (en) 2016-09-14 2017-07-12 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610826000.6A CN106453845B (en) 2016-09-14 2016-09-14 A kind of data transmission method and equipment

Publications (2)

Publication Number Publication Date
CN106453845A CN106453845A (en) 2017-02-22
CN106453845B true CN106453845B (en) 2019-08-20

Family

ID=58169114

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610826000.6A Active CN106453845B (en) 2016-09-14 2016-09-14 A kind of data transmission method and equipment

Country Status (2)

Country Link
CN (1) CN106453845B (en)
WO (1) WO2018049896A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453845B (en) * 2016-09-14 2019-08-20 广东欧珀移动通信有限公司 A kind of data transmission method and equipment
CN109634509B (en) * 2018-12-13 2022-04-22 联想(北京)有限公司 Processing method, plug-in and first electronic device

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007004642A (en) * 2005-06-24 2007-01-11 Matsushita Electric Ind Co Ltd Client server system and service method using the system
CN101267454A (en) * 2008-04-30 2008-09-17 中兴通讯股份有限公司 A prompt method and system for file transmission information
CN102063399B (en) * 2011-01-10 2014-02-19 深圳市润天智数字设备股份有限公司 Multichannel data transmission method, system and equipment
CN103176715A (en) * 2011-12-26 2013-06-26 北京华旗随身数码股份有限公司 File transferring method of electronic equipment
CN102790771B (en) * 2012-07-25 2016-12-21 山东中创软件商用中间件股份有限公司 A kind of document transmission method and system
CN103856990A (en) * 2012-11-28 2014-06-11 中国电信股份有限公司 Method, system and server for data transmission
CN103973421A (en) * 2013-02-06 2014-08-06 腾讯科技(深圳)有限公司 File transmitting method and device
CN105094650B (en) * 2014-04-25 2019-07-26 联想(北京)有限公司 A kind of data transmission method, device and electronic equipment
CN104202185B (en) * 2014-08-25 2015-10-28 腾讯科技(深圳)有限公司 A kind of communication data backup method and device
CN105430600B (en) * 2015-11-05 2019-03-01 魅族科技(中国)有限公司 A kind of data transmission method and the terminal of data transmission
CN105871423A (en) * 2016-03-28 2016-08-17 乐视控股(北京)有限公司 Data processing method and device
CN106453845B (en) * 2016-09-14 2019-08-20 广东欧珀移动通信有限公司 A kind of data transmission method and equipment

Also Published As

Publication number Publication date
CN106453845A (en) 2017-02-22
WO2018049896A1 (en) 2018-03-22

Similar Documents

Publication Publication Date Title
CN106484562B (en) A kind of data transmission processing method and terminal device
CN106453511B (en) A kind of data back up method and equipment
CN104093123B (en) The information-pushing method of application program, device and system, mobile terminal
CN106658354B (en) A kind of data transmission method and equipment
CN104598262A (en) Method and device for updating mobile application
CN105788612A (en) Method and device for testing tone quality
CN106341809B (en) A kind of data transmission method and equipment
CN103561400B (en) Method for initiating communication, device thereof and mobile terminal
CN104636047A (en) Method and device for operating objects in list and touch screen terminal
CN106330211B (en) LTE Frequency Band Selection method and apparatus
CN108572908B (en) Information feedback method and device
CN103631625B (en) A kind of method of data acquisition, user terminal, server and system
CN103489303A (en) Remote control method and device
CN103458124A (en) Shutdown processing method, device and terminal equipment for terminal
CN105760203A (en) Software upgrading method and terminal equipment
CN106131930A (en) A kind of WiFi network connection control method, device and terminal
CN106982459B (en) Network scanning method and terminal device
CN106911848A (en) Export the method and terminal device of prompting message
CN106250122A (en) A kind of information cuing method and device
CN107977261A (en) Method, equipment, mobile terminal and the computer-readable storage medium of limiting process
CN107122036A (en) CPU frequency adjusting method and device
CN106453845B (en) A kind of data transmission method and equipment
CN106502827A (en) A kind of data back up method and equipment
CN103561155A (en) Method for sending message, device thereof and terminal
CN103501373A (en) Method, device and terminal for making call

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.