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

A kind of data transmission method and equipment Download PDF

Info

Publication number
CN106506623B
CN106506623B CN201610948904.6A CN201610948904A CN106506623B CN 106506623 B CN106506623 B CN 106506623B CN 201610948904 A CN201610948904 A CN 201610948904A CN 106506623 B CN106506623 B CN 106506623B
Authority
CN
China
Prior art keywords
terminal
target data
data
file
target
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
CN201610948904.6A
Other languages
Chinese (zh)
Other versions
CN106506623A (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 CN201610948904.6A priority Critical patent/CN106506623B/en
Publication of CN106506623A publication Critical patent/CN106506623A/en
Application granted granted Critical
Publication of CN106506623B publication Critical patent/CN106506623B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Mobile Radio Communication Systems (AREA)

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 carried out data transmission;Obtain the target data for needing to transmit in the first terminal;It establishes and is connected to the network with the second terminal for receiving the target data;The target data is sent to the second terminal;Wherein, the file that priority is high in the target data is first sent, the file that priority is low in the target data is retransmited.It can be seen that implementing the embodiment of the present invention, new terminal device can be enable more advantageously to obtain the user data stored in old terminal device when the terminal device that user more renews.

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.
In use, terminal device often stores a large amount of user data, as address list, short message, memorandum, Photo, video and application program internal data etc..However, as the demand of the frequent replacement terminal equipment of user constantly rises, but Without advantageously method, it is transferred to the user data in old terminal device more quickly in new terminal equipment Come.
Therefore, new terminal device how is enable more advantageously to obtain the user data stored in old terminal device, As a urgent problem to be solved.
Summary of the invention
The embodiment of the invention provides a kind of data transmission method and equipment, can be when the terminal device that user more renews When, so that new terminal device is more advantageously obtained the user data stored in old terminal device.
First aspect of the embodiment of the present invention discloses a kind of data transmission method, comprising:
First terminal receives the operational order carried out data transmission;
Obtain the target data for needing to transmit in the first terminal;
It establishes and is connected to the network with the second terminal for receiving the target data;
The target data is sent to the second terminal;Wherein, it is high first to send priority in the target data File retransmits the file that priority is low in the target data.
As an alternative embodiment, after the target data for needing to transmit in the acquisition first terminal, The method also includes:
Count the frequency of use of file in the target data;
According to the file division priority that the frequency of use is in the target data;Wherein, the frequency of use of file Higher, priority is higher.
As an alternative embodiment, the priority according to file in the target data is by the number of targets According to before being sent to the second terminal, the method also includes:
Count the total amount of data of the target data;
Obtain the storage size that can be used for storing the target data in the second terminal;
Judge whether the storage size stores the total amount of data of the target data enough;
If the storage size is not enough to store the total amount of data of the target data, described according to the target The target data is sent to the second terminal by the priority of file in data, comprising:
The file that priority is high in the target data is selected to be sent to described second eventually according to the storage size End.
As an alternative embodiment, described select in the target data preferentially according to the storage size The high file of grade is sent to after the second terminal, the method also includes:
Obtain the file for not being sent to the second terminal in the target data;
Identifier is added for the file for not being sent to the second terminal, in order to carry out according to the identifier Breakpoint transmission.
As an alternative embodiment, described establish with second terminal that is receiving the target data is connected to the network, Include:
It is established and is connected to the network by access Target Wireless fidelity WIFI network and the second terminal;
It is described the target data is sent to the second terminal before, the method also includes:
Obtain the account information of the target WIFI network;
Determine in preset safe WIFI list whether include the target WIFI network account information, described in judgement Whether target WIFI network is trusted network.
Second aspect of the embodiment of the present invention discloses a kind of data transmission set, comprising:
Receiving unit, for receiving the operational order carried out data transmission;
First acquisition unit, for obtaining the target data for needing to transmit in the first terminal;
Connection unit is connected to the network for establishing with the second terminal for receiving the target data;
Transmission unit, for the target data to be sent to the second terminal;Wherein, the target data is first sent The high file of middle priority, retransmits the file that priority is low in the target data.
As an alternative embodiment, the equipment further include:
First statistic unit, for counting the frequency of use of file in the target data;
Stage unit, for being that the file in the target data divides priority according to the frequency of use;Wherein, literary The frequency of use of part is higher, and priority is higher.
As an alternative embodiment, the equipment further include:
Second statistic unit, for counting the total amount of data of the target data;
Second acquisition unit, for obtain can be used for storing in the second terminal target data memory space it is big It is small;
Judging unit, for judging whether the storage size stores the total amount of data of the target data enough;
If the storage size is not enough to store the total amount of data of the target data, the transmission unit, tool Body is used to select the file that priority is high in the target data to be sent to the second terminal according to the storage size.
As an alternative embodiment, the equipment further include:
Third acquiring unit, for obtaining the file for not being sent to the second terminal in the target data;
Marking unit, for adding identifier for the file for not being sent to the second terminal, in order to basis The identifier carries out breakpoint transmission.
As an alternative embodiment, the connection unit, is specifically used for through access Target Wireless fidelity WIFI Network and the second terminal, which are established, to be connected to the network;
The equipment further include:
4th acquiring unit, for obtaining the account information of the target WIFI network;
Determination unit, for determining, whether the account comprising the target WIFI network is believed in preset safe WIFI list Breath, to judge whether the target WIFI network is trusted network.
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.
In the embodiment of the present invention, first terminal receives the operational order carried out data transmission;It obtains in the first terminal The target data for needing to transmit;It establishes and is connected to the network with the second terminal for receiving the target data;The target data is sent out It send to the second terminal;Wherein, the file that priority is high in the target data is first sent, is retransmited in the target data The low file of priority.It can be seen that implementing the embodiment of the present invention, can make new when the terminal device that user more renews Terminal device more can advantageously obtain the user data stored in old terminal device.
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, can be when the terminal device that user more renews When, so that new terminal device is more advantageously obtained the user data stored in old terminal device.It carries out individually below detailed It describes in detail bright.
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 Data transmission method shown in 1 may comprise steps of:
101, first terminal receives the operational order carried out data transmission.
Terminal device involved in the embodiment of the present invention can be smart phone, smartwatch, palm PC, plate electricity Brain, personal digital assistant (Personal Digital Assistant, PDA), point-of-sale terminal (Point of Sales, POS) Deng the embodiment of the present invention is subsequent not to be repeated.
As an alternative embodiment, first terminal monitors input of the user's finger on the touch screen of first terminal Sliding trace, verify whether above-mentioned sliding trace is the corresponding sliding trace of log-on data transmission, if so, log-on data Transfer function.
102, the target data for needing to transmit in first terminal is obtained.
When the terminal device that user more renews, it may be desirable to set the migration of subscriber data in old terminal device to new terminal Standby, in this case, the data volume that need to be migrated is often larger;However, the significance level of these data is divided into height, The significance level of common file is higher.For example, address list, the user data in instant message applications are more common, Significance level is higher;And the notification message applied, since it is with timeliness, a possibility that being checked again, is lower, because And its significance level is lower.
In the embodiment of the present invention, first terminal can be used as the old terminal device in above-mentioned Data Migration scene, and be used for The second terminal for receiving the data of first terminal transmission can be the new terminal equipment in above-mentioned Data Migration scene.
As an alternative embodiment, being obtained before carrying out the data transmission between first terminal and second terminal After the target data for needing to transmit in first terminal, the file in target data can be carried out according to its significance level whole Reason: specific embodiment is to count the frequency of use of file in target data;According to the file that frequency of use is in target data Divide priority;Wherein, the frequency of use of file is higher, and priority is higher.
103, it establishes and is connected to the network with the second terminal for receiving above-mentioned target data.
In the embodiment of the present invention, network connection, example can be established between first terminal and second terminal in several ways Cable network connection is such as established by universal serial bus (Universal Serial Bus, USB), or passes through wireless network Connection type establishes network connection, and the wireless network connection mode that can be taken includes: that WIFI, bluetooth, infrared, purple honeybee, near field are logical Believe (Near Field Communication, NFC) etc., specifically takes which kind of mode, the embodiment of the present invention is without limitation.
For example, first terminal is established by access target WIFI network and second terminal and is connected to the network.
After establishing the network connection for carrying out data transmission, it can guarantee data transmission in the following way Safety:
Obtain the account information of above-mentioned target WIFI network;
Determine in preset safe WIFI list whether include above-mentioned target WIFI network account information, it is above-mentioned to judge Whether target WIFI network is trusted network.
104, above-mentioned target data is sent to second terminal;Wherein, it is high first to send priority in the target data File retransmits the file that priority is low in the target data.
It, can be according to above-mentioned after having carried out priority to the file in target data and having divided in the embodiment of the present invention Above-mentioned target data is sent to second terminal by the priority of file in target data, wherein the high file of priority is first sent, Retransmit the lower file of other priority.If data transmission procedure is interrupted due to certain accidents, in second terminal Received more common data can be offered convenience for user using second terminal equipment.
It can be seen that implementing method described in Fig. 1, new terminal can be made when the terminal device that user more renews Equipment more can advantageously obtain the user data stored in old terminal device.Since data transmission procedure prioritised transmission is common Data, therefore, if data transmission procedure is interrupted due to certain accidents, in second terminal it is received more often Data can be offered convenience for user using second terminal equipment.
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 carried out data transmission.
As an alternative embodiment, first terminal monitors input of the user's finger on the touch screen of first terminal Sliding trace, verify whether above-mentioned sliding trace is the corresponding sliding trace of log-on data transmission, if so, log-on data Transfer function.
202, priority is divided for the file in the target data that needs to transmit in first terminal.
When the terminal device that user more renews, it may be desirable to set the migration of subscriber data in old terminal device to new terminal Standby, in this case, the data volume that need to be migrated is often larger;However, the significance level of these data is divided into height, The significance level of common file is higher.For example, address list, the user data in instant message applications are more common, Significance level is higher;And the notification message applied, since it is with timeliness, a possibility that being checked again, is lower, because And its significance level is lower.
In the embodiment of the present invention, first terminal can be used as the old terminal device in above-mentioned Data Migration scene, and be used for The second terminal for receiving the data of first terminal transmission can be the new terminal equipment in above-mentioned Data Migration scene.
As an alternative embodiment, before carrying out the data transmission between first terminal and second terminal, it can be right The file for the target data for needing to transmit in first terminal is arranged according to its significance level: specific embodiment is, to upper The file stated in target data divides priority;Wherein, file is more common, and priority is higher.
203, it establishes and is connected to the network with the second terminal for receiving above-mentioned target data.
In the embodiment of the present invention, network connection, example can be established between first terminal and second terminal in several ways Cable network connection is such as established by universal serial bus (Universal Serial Bus, USB), or passes through wireless network Connection type establishes network connection, and the wireless network connection mode that can be taken includes: that WIFI, bluetooth, infrared, purple honeybee, near field are logical Believe (Near Field Communication, NFC) etc., specifically takes which kind of mode, the embodiment of the present invention is without limitation.
For example, first terminal is established by access target WIFI network and second terminal and is connected to the network.
After establishing the network connection for carrying out data transmission, it can guarantee data transmission in the following way Safety:
Obtain the account information of above-mentioned target WIFI network;
Determine in preset safe WIFI list whether include above-mentioned target WIFI network account information, it is above-mentioned to judge Whether target WIFI network is trusted network.
204, the total amount of data of above-mentioned target data is counted.
205, the storage size that can be used for storing above-mentioned target data in second terminal is obtained.
206, judge whether above-mentioned storage size stores the total amount of data of above-mentioned target data enough.
If 207, above-mentioned storage size is not enough to store the total amount of data of above-mentioned target data, according to above-mentioned storage Space size selects the file that priority is high in above-mentioned target data to be sent to second terminal.
In the embodiment of the present invention, when target data is sent to second terminal by first terminal, it is possible in second terminal Memory space inadequate is to store above-mentioned target data.Therefore, can prejudge in second terminal can be used for storing above-mentioned target Whether the storage size of data is enough, if not enough, according to preferential in above-mentioned storage size selection target data The high file of grade is transmitted;At the same time, first terminal can export prompting message, to prompt user to have which file not Second terminal can be transmitted to.
208, the file for not being sent to second terminal in above-mentioned target data is obtained.
209, identifier is added for the above-mentioned file for not being sent to second terminal, in order to carry out according to above-mentioned identifier Breakpoint transmission.
It can be seen that implementing method described in Fig. 2, new terminal can be made when the terminal device that user more renews Equipment more can advantageously obtain the user data stored in old terminal device.When memory space inadequate in new terminal equipment When, it can preferentially select more common data to be transmitted to new terminal equipment, and add identifier to the file not transmitted, so as to In carrying out breakpoint transmission later.
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 carried out data transmission.
First acquisition unit 302, for obtaining the target data for needing to transmit in first terminal.
As an alternative embodiment, before carrying out the data transmission between first terminal and second terminal, it can be right The file for the target data for needing to transmit in first terminal is arranged according to its significance level: specific embodiment is, to upper The file stated in target data divides priority;Wherein, file is more common, and priority is higher.
Connection unit 303 is connected to the network for establishing with the second terminal for receiving above-mentioned target data.
Transmission unit 304, for above-mentioned target data to be sent to second terminal;Wherein, the target data is first sent The high file of middle priority, retransmits the file that priority is low in the target data.
In the embodiment of the present invention, after having carried out priority to the file in target data and having divided, transmission unit 304 can Above-mentioned target data is sent to second terminal according to the priority of file in above-mentioned target data, wherein first send preferential The high file of grade, retransmits the lower file of other priority.If data transmission procedure is interrupted due to certain accidents, the Received more common data can be offered convenience for user using second terminal equipment in two terminals.
It can be seen that using equipment described in Fig. 3 new terminal can be made when the terminal device that user more renews Equipment more can advantageously obtain the user data stored in old terminal device.Since data transmission procedure prioritised transmission is common Data, therefore, if data transmission procedure is interrupted due to certain accidents, in second terminal it is received more often Data can be offered convenience for user using second terminal equipment.
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 data transmission set as shown in Figure 3 optimizes, and shown in Fig. 3 Data transmission set is compared, equipment shown in Fig. 4 further include:
Second statistic unit 305, for counting the total amount of data of above-mentioned target data.
Second acquisition unit 306, for obtain can be used for storing in second terminal above-mentioned target data memory space it is big It is small.
Judging unit 307, for judging whether above-mentioned storage size stores the total data of above-mentioned target data enough Amount.
If above-mentioned storage size is not enough to store the total amount of data of above-mentioned target data, transmitted unit 304, tool Body is used to select the file that priority is high in above-mentioned target data to be sent to second terminal according to above-mentioned storage size.
In the embodiment of the present invention, when target data is sent to second terminal by first terminal, it is possible in second terminal Memory space inadequate is to store above-mentioned target data.Therefore, can prejudge in second terminal can be used for storing above-mentioned target Whether the storage size of data is enough, if not enough, according to preferential in above-mentioned storage size selection target data The high file of grade is transmitted;At the same time, first terminal can export prompting message, to prompt user to have which file not Second terminal can be transmitted to.
As an alternative embodiment, data transmission set described in Fig. 4 further include:
Third acquiring unit 308, for obtaining the file for not being sent to second terminal in above-mentioned target data.
Marking unit 309, for adding identifier for the above-mentioned file for not being sent to second terminal, in order to according to upper It states identifier and carries out breakpoint transmission.
It can be seen that using equipment described in Fig. 4, set new terminal when the terminal device that user more renews It is standby more advantageously to obtain the user data stored in old terminal device.When memory space inadequate in new terminal equipment, It can preferentially select more common data to be transmitted to new terminal equipment, and identifier is added to the file not transmitted, in order to Breakpoint transmission is carried out later.
Referring to Fig. 5, Fig. 5 is a kind of structural schematic diagram of terminal device 500 disclosed by the embodiments of the present invention.Such as Fig. 5 institute Show, terminal device 500 includes: processor 501 and memory 502;Wherein memory 502 can be used for the execution of processor 501 Caching required for data processing can be also used for providing processor 501 and execute data that data processing is called and acquisition The memory space of result 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:
Receive the operational order carried out data transmission;
Obtain the target data for needing to transmit in terminal device 500;
It establishes and is connected to the network with the second terminal for receiving above-mentioned target data;
Above-mentioned target data is sent to second terminal;Wherein, the file that priority is high in the target data is first sent, Retransmit the file that priority is low in the target data.
It can be seen that can be made new when the terminal device that user more renews using terminal device 500 described in Fig. 5 Terminal device more can advantageously obtain the user data stored in old terminal device.
Referring to Fig. 6, Fig. 6 is the structural schematic diagram of another terminal device 600 disclosed by the embodiments of the present invention.Such as Fig. 6 Shown, for ease of description, only parts related to embodiments of the present invention are shown, disclosed by specific technical details, please join According 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:
Receive the operational order carried out data transmission;
Obtain the target data for needing to transmit in terminal device 600;
It establishes and is connected to the network with the second terminal for receiving above-mentioned target data;
Above-mentioned target data is sent to second terminal.
As an alternative embodiment, after the target data for needing to transmit in above-mentioned acquisition first terminal, processing Device 608 is by calling the program code being stored in memory 602, for performing the following operations:
Count the frequency of use of file in the target data;
According to the file division priority that the frequency of use is in the target data;Wherein, the frequency of use of file Higher, priority is higher.
In this embodiment, processor 608 is also used to hold by calling the program code being stored in memory 602 The following operation of row:
Count the total amount of data of above-mentioned target data;
Obtain the storage size that can be used for storing above-mentioned target data in second terminal;
Judge whether above-mentioned storage size stores the total amount of data of above-mentioned target data enough;
If above-mentioned storage size is not enough to store the total amount of data of above-mentioned target data, according to above-mentioned memory space Size selects the file that priority is high in above-mentioned target data to be sent to second terminal.
In this embodiment, processor 608 is also used to hold by calling the program code being stored in memory 602 The following operation of row:
Obtain the file for not being sent to second terminal in above-mentioned target data;
Identifier is added for the above-mentioned file for not being sent to second terminal, in order to carry out breakpoint according to above-mentioned identifier It resumes.
It can be seen that can be made new when the terminal device that user more renews using terminal device described in Fig. 6 Terminal device more can advantageously obtain the user data stored in old terminal device.When memory space is not in new terminal equipment When sufficient, more common data can be preferentially selected to be transmitted to new terminal equipment, and add identifier to the file not transmitted, with Convenient for carrying out breakpoint transmission later.
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 (6)

1. a kind of data transmission method characterized by comprising
First terminal receives the operational order carried out data transmission, comprising:
The sliding trace of input of the first terminal monitoring user's finger on the touch screen of the first terminal, described in verifying Whether sliding trace is that log-on data transmits corresponding sliding trace, if so, log-on data transfer function;
Obtain the target data for needing to transmit in the first terminal;
It establishes and is connected to the network with the second terminal for receiving the target data;
The target data is sent to the second terminal;Wherein, the file that priority is high in the target data is first sent, Retransmit the file that priority is low in the target data;It is described the target data is sent to the second terminal before, The method also includes:
Count the total amount of data of the target data;
Obtain the storage size that can be used for storing the target data in the second terminal;
Judge whether second terminal storage size stores the total amount of data of target data enough;
If the storage size is not enough to store the total amount of data of the target data, described to send out the target data It send to the second terminal, comprising:
The file that priority is high in the target data is selected to be sent to the second terminal according to the storage size;
It is described to select the file that priority is high in the target data to be sent to described second eventually according to the storage size After end, the method also includes:
Obtain the file for not being sent to the second terminal in the target data;
Identifier is added for the file for not being sent to the second terminal, in order to carry out breakpoint according to the identifier It resumes.
2. method according to claim 1, which is characterized in that described to obtain the number of targets for needing to transmit in the first terminal According to later, the method also includes:
Count the frequency of use of file in the target data;
According to the file division priority that the frequency of use is in the target data;Wherein, the frequency of use of file is higher, Its priority is higher.
3. the method according to claim 1~any one of 2, which is characterized in that described and the reception target data Second terminal establishes network connection, comprising:
It is established and is connected to the network by access Target Wireless fidelity WIFI network and the second terminal;
It is described the target data is sent to the second terminal before, the method also includes:
Obtain the account information of the target WIFI network;
Determine in preset safe WIFI list whether include the target WIFI network account information, to judge the target Whether WIFI network is trusted network.
4. a kind of data transmission set characterized by comprising
Receiving unit, for receiving the operational order carried out data transmission;Specifically for monitoring user's finger in first terminal The sliding trace of input on touch screen verifies whether the sliding trace is the corresponding sliding trace of log-on data transmission, if It is, then log-on data transfer function;
First acquisition unit, for obtaining the target data for needing to transmit in the first terminal;
Connection unit is connected to the network for establishing with the second terminal for receiving the target data;
Transmission unit, for the target data to be sent to the second terminal;Wherein, it first sends excellent in the target data The high file of first grade, retransmits the file that priority is low in the target data;
The equipment further include:
Second statistic unit, for counting the total amount of data of the target data;
Second acquisition unit can be used for storing the storage size of the target data for obtaining in the second terminal;
Judging unit, for judging whether the second storage size stores the total amount of data of the target data enough;
If the storage size is not enough to store the total amount of data of the target data, the transmission unit is specific to use In selecting the file that priority is high in the target data to be sent to the second terminal according to the storage size;
Third acquiring unit, for obtaining the file for not being sent to the second terminal in the target data;
Marking unit, for adding identifier for the file for not being sent to the second terminal, in order to according to Identifier carries out breakpoint transmission.
5. equipment according to claim 4, which is characterized in that the equipment further include:
First statistic unit, for counting the frequency of use of file in the target data;
Stage unit, for being that the file in the target data divides priority according to the frequency of use;Wherein, file Frequency of use is higher, and priority is higher.
6. the equipment according to any one of claim 4~5, which is characterized in that the connection unit is specifically used for logical It crosses access Target Wireless fidelity WIFI network and the second terminal is established and is connected to the network;
The equipment further include:
4th acquiring unit, for obtaining the account information of the target WIFI network;
Determination unit, for determine in preset safe WIFI list whether include the target WIFI network account information, To judge whether the target WIFI network is trusted network.
CN201610948904.6A 2016-10-25 2016-10-25 A kind of data transmission method and equipment Active CN106506623B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610948904.6A CN106506623B (en) 2016-10-25 2016-10-25 A kind of data transmission method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610948904.6A CN106506623B (en) 2016-10-25 2016-10-25 A kind of data transmission method and equipment

Publications (2)

Publication Number Publication Date
CN106506623A CN106506623A (en) 2017-03-15
CN106506623B true CN106506623B (en) 2019-08-13

Family

ID=58322173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610948904.6A Active CN106506623B (en) 2016-10-25 2016-10-25 A kind of data transmission method and equipment

Country Status (1)

Country Link
CN (1) CN106506623B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109302391B (en) * 2018-09-21 2021-03-02 深圳市九洲电器有限公司 Security data uploading method and device and client
CN112925595A (en) * 2021-01-25 2021-06-08 北京达佳互联信息技术有限公司 Resource distribution method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065283A (en) * 2010-12-23 2011-05-18 杭州华三通信技术有限公司 Storage management method and device of video monitoring data
CN102307186A (en) * 2011-07-27 2012-01-04 深圳市纽泰克电子有限公司 Method and device for transmitting and processing emergency medical information data
CN102685164A (en) * 2011-03-16 2012-09-19 中国电信股份有限公司 Method and system for downloading and updating files under condition of limited storage space of terminal
CN104135687A (en) * 2014-07-29 2014-11-05 深圳创维数字技术股份有限公司 Method for processing program data and digital television terminal

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4761559B2 (en) * 2006-09-27 2011-08-31 キヤノン株式会社 Imaging apparatus and control method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102065283A (en) * 2010-12-23 2011-05-18 杭州华三通信技术有限公司 Storage management method and device of video monitoring data
CN102685164A (en) * 2011-03-16 2012-09-19 中国电信股份有限公司 Method and system for downloading and updating files under condition of limited storage space of terminal
CN102307186A (en) * 2011-07-27 2012-01-04 深圳市纽泰克电子有限公司 Method and device for transmitting and processing emergency medical information data
CN104135687A (en) * 2014-07-29 2014-11-05 深圳创维数字技术股份有限公司 Method for processing program data and digital television terminal

Also Published As

Publication number Publication date
CN106506623A (en) 2017-03-15

Similar Documents

Publication Publication Date Title
CN106453511B (en) A kind of data back up method and equipment
CN104135501B (en) Page sharing method, Apparatus and system
CN106658354B (en) A kind of data transmission method and equipment
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN104598262A (en) Method and device for updating mobile application
CN105430600B (en) A kind of data transmission method and the terminal of data transmission
CN106341809B (en) A kind of data transmission method and equipment
CN107465841B (en) Fault information reporting method and terminal
CN106254910A (en) A kind of method and apparatus recording image
CN106445596A (en) Method and device for managing setting items
CN106445336A (en) Fast acquisition method for electronic resource and mobile terminal
CN104363590A (en) Access point connection method and device
CN106332023A (en) Unread information display method and device, and mobile terminal
CN109040433A (en) Mobile terminal and the method, apparatus to receive calls
CN107977261A (en) Method, equipment, mobile terminal and the computer-readable storage medium of limiting process
CN104573437A (en) Information authentication method, device and terminal
CN103488421A (en) Method and device for processing call record and mobile terminal
CN103561155B (en) Send the method for note, device and terminal
CN105553718B (en) Guidance information display methods and device
CN106502827A (en) A kind of data back up method and equipment
CN106506623B (en) A kind of data transmission method and equipment
CN103501373A (en) Method, device and terminal for making call
CN107678822A (en) A kind of information processing method and device, terminal and readable storage medium storing program for executing
CN105022621A (en) Method and device for collecting session message and terminal
CN104615451B (en) A kind of method and device starting application

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

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

Applicant after: OPPO Guangdong Mobile Communications Co., Ltd.

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

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant