CN106658354A - Data transmission method and equipment - Google Patents

Data transmission method and equipment Download PDF

Info

Publication number
CN106658354A
CN106658354A CN201610825999.2A CN201610825999A CN106658354A CN 106658354 A CN106658354 A CN 106658354A CN 201610825999 A CN201610825999 A CN 201610825999A CN 106658354 A CN106658354 A CN 106658354A
Authority
CN
China
Prior art keywords
terminal
reference value
data
operating system
data transfer
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610825999.2A
Other languages
Chinese (zh)
Other versions
CN106658354B (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 CN201610825999.2A priority Critical patent/CN106658354B/en
Publication of CN106658354A publication Critical patent/CN106658354A/en
Priority to PCT/CN2017/092508 priority patent/WO2018049894A1/en
Application granted granted Critical
Publication of CN106658354B publication Critical patent/CN106658354B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/64Details of telephonic subscriber devices file transfer between terminals

Landscapes

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

Abstract

Embodiments of the invention relate to the terminal technical field and disclose a data transmission method and equipment. The method comprises steps of receiving an operation instruction for starting data transmission by a first terminal; obtaining information of an operation system running in the first terminal and taking the information as a first reference value; establishing communication connection with a second terminal for sending a first request message to a second terminal, wherein the first request message is used for obtaining a second reference value which is information of an operation system running in the second terminal; according to the first reference value and the second reference value, determining the mentioned data transmission can be performed or not; and if yes, carrying out data transmission through the mentioned communication connection. With the implementation of the embodiments, data in the first terminal can be transmitted to the second terminal after the data transmission can be successfully performed after verification, and under the condition that the user performs old and new equipment alternation, data in the old terminal can be conveniently transmitted to the new terminal.

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 technology
With the development of terminal technology, the model of terminal device alternates frequent, in order to obtain more preferable experience, people Often after 1 year, 2 years even shorter use times, the terminal device for updating model is replaced by.
In use, terminal device often stores substantial amounts of user data, such as address list, short message, memorandum, Photo, video and application program internal data etc..However, as the demand of the frequent changes terminal equipment of user constantly rises, but Without advantageously method, the user data in old terminal device is set more quickly to be transferred in new terminal equipment Come.
Therefore, how to make more can advantageously obtain the number of users stored in old terminal device in new terminal device According to becoming a problem demanding prompt solution.
The content of the invention
Embodiments provide a kind of data transmission method and equipment, can demonstrate data transfer can be smooth After carrying out, by the data transfer in first terminal to second terminal equipment, in user the situation of new and old terminal device change is carried out Under, can more easily by the Data Migration in old terminal device to new terminal equipment.
Embodiment of the present invention first aspect discloses a kind of data transmission method, including:
First terminal receives the operational order of log-on data transmission;
Operation system information that the first terminal currently run is obtained as the first reference value;
Set up communication connection to send the first request message to the second terminal with second terminal;Wherein, described first Request message is used to obtain the second reference value, and second reference value is believed by the operating system that the second terminal is currently run Breath;
Judge whether the data transfer can be carried out according to first reference value and second reference value;
If so, then by it is described communication connection carry out the data transfer.
Used as a kind of optional embodiment, first reference value includes the operation that the first terminal is currently run The version information of system;Second reference value includes the version information of the operating system that the second terminal is currently run;
It is described to judge whether the data transfer be carried out according to first reference value and second reference value, bag Include:
The version information of the operating system currently run according to the first terminal and the second terminal are currently transported The version information of capable operating system judges that operating system that the second terminal currently run whether can compatible described the The data of the operating system that one terminal is currently run;If so, then the data transfer can be carried out;If it is not, then data Transmission can not be carried out.
As a kind of optional embodiment, if judging the number according to first reference value and second reference value Can not carry out according to transmission, methods described also includes:
The first prompting message is sent to the second terminal so that the second terminal is to the operating system currently run Edition upgrading is carried out, the data of the operating system currently run with the compatible first terminal.
It is described to set up communication connection to send to the second terminal with second terminal as a kind of optional embodiment First request message, including:
The first terminal sets up personal focus;
The second terminal is set to be connected to the personal focus to set up the communication connection.
Used as a kind of optional embodiment, the first terminal is set up after personal focus, and methods described also includes:
Generate the ciphering two-dimension code for accessing the personal focus;
It is described make the second terminal be connected to the personal focus to set up the communication connection before, methods described is also Including:
Obtain the password that the second terminal input by scanning the ciphering two-dimension code;
It is described to make the second terminal be connected to the personal focus to set up the communication connection, including:
Verify whether the password is preset password, if so, then make the second terminal be connected to the personal focus with Set up the communication connection.
Used as a kind of optional embodiment, methods described also includes:
Collecting the first terminal needs the size of data of transmission;
Send the second request message to obtain the storage that the second terminal can be used for receiving data to the second terminal Space size;
Judge that whether the second terminal can be used for the storage size of receiving data more than the first terminal needs The size of data of transmission;
If it is not, then sending the second prompting message to the second terminal so that the second terminal clears up memory space to obtain Obtaining more memory spaces is used for data transfer.
Embodiment of the present invention second aspect discloses a kind of data transmission set, including:
Receiving unit, for receiving the operational order of log-on data transmission;
First acquisition unit, for obtaining operation system information that first terminal currently run as the first reference value;
Connection unit, for setting up communication connection to send the first request message to the second terminal with second terminal; Wherein, first request message is used to obtain the second reference value, and second reference value is currently transported by the second terminal Capable operation system information;
First judging unit, for judging that the data transfer is according to first reference value and second reference value It is no to carry out;
Transmission unit, judges that the data transfer can for working as according to first reference value and second reference value When carrying out, the data transfer is carried out by the communication connection.
Used as a kind of optional embodiment, first reference value includes the operation that the first terminal is currently run The version information of system;Second reference value includes the version information of the operating system that the second terminal is currently run;
First judging unit, the version letter of the operating system specifically for currently being run according to the first terminal The version information of the operating system that breath and the second terminal are currently run judges the behaviour that the second terminal is currently run Whether make system being capable of the data of operating system currently run of the compatible first terminal;If so, the then data transfer Can carry out;If it is not, then the data transfer can not be carried out.
As a kind of optional embodiment, if judging the number according to first reference value and second reference value Can not carry out according to transmission, the equipment also includes:
First transmitting element, for sending the first prompting message so that the second terminal is to current to the second terminal The operating system run carries out edition upgrading, the data of the operating system currently run with the compatible first terminal.
As a kind of optional embodiment, the connection unit, including:
Subelement is set up, for setting up personal focus;
Subelement is enabled, for making the second terminal be connected to the personal focus to set up the communication connection.
Used as a kind of optional embodiment, the equipment also includes:
Signal generating unit, for generating the ciphering two-dimension code for accessing the personal focus;
The equipment also includes:
Second acquisition unit, for obtaining the password that the second terminal input by scanning the ciphering two-dimension code;
The enable subelement, specifically for verifying whether the password is preset password, if so, then makes described second eventually End is connected to the personal focus to set up the communication connection.
Used as a kind of optional embodiment, the equipment also includes:
Collector unit, for collecting the first terminal size of data of transmission is needed;
Second transmitting element, can use for sending the second request message to the second terminal with obtaining the second terminal In the storage size of receiving data;
Second judging unit, for judging that the second terminal can be used for whether the storage size of receiving data is more than The first terminal needs the size of data of transmission;
3rd transmitting element, the storage size for can be used for receiving data when the second terminal is less than or equal to When the first terminal needs the size of data of transmission, the second prompting message is sent to the second terminal so that described second is whole End cleaning memory space is used for data transfer to obtain more memory spaces.
The embodiment of the present invention third aspect discloses a kind of terminal device, including:Processor and memory, the processor For performing the method disclosed in above-mentioned first aspect..
As can be seen from the above technical solutions, the embodiment of the present invention has advantages below:
In the embodiment of the present invention, first terminal receives the operational order of log-on data transmission;Obtain the first terminal to work as Front run operation system information is used as the first reference value;Set up communication connection to send out to the second terminal with second terminal Send the first request message;Wherein, first request message is used to obtain the second reference value, and second reference value is described the The operation system information that two terminals are currently run;The data are judged according to first reference value and second reference value Whether transmission can be carried out;If so, then by it is described communication connection carry out the data transfer.As can be seen here, the present invention is implemented Embodiment, after be able to being smoothed out data transfer is demonstrated, the data transfer in first terminal is set to second terminal It is standby, under the situation that user carries out new and old terminal device change, can more easily by the Data Migration in old terminal device To in new terminal equipment.
Description of the drawings
Technical scheme in order to be illustrated more clearly that the embodiment of the present invention, below will be to making needed for embodiment description Accompanying drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for this For the those of ordinary skill in field, without having to pay creative labor, can be obtaining it according to these accompanying drawings His accompanying drawing.
Fig. 1 is a kind of schematic flow sheet of data transmission method disclosed in the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another kind of data transmission method disclosed in the embodiment of the present invention;
Fig. 3 is a kind of structural representation of data transmission set disclosed in the embodiment of the present invention;
Fig. 4 is the structural representation of another kind of data transmission set disclosed in the embodiment of the present invention;
Fig. 5 is a kind of structural representation of terminal device disclosed in the embodiment of the present invention;
Fig. 6 is the structural representation of another kind of terminal device disclosed in the embodiment of the present invention.
Specific embodiment
In order that the object, technical solutions and advantages of the present invention are clearer, below in conjunction with accompanying drawing the present invention is made into One step ground is described in detail, it is clear that described embodiment is only present invention some embodiments, rather than the enforcement of whole Example.Based on the embodiment in the present invention, what those of ordinary skill in the art were obtained under the premise of creative work is not made All other embodiment, belongs to the scope of protection of the invention.
Term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing etc. are for distinguishing Different objects, rather than for describing particular order.Additionally, term " comprising " and " having " and their any deformations, meaning Figure is to cover non-exclusive including.For example contain process, method, system, product or the equipment of series of steps or unit The step of listing or unit are not limited to, but alternatively also include the step of not listing or unit, or alternatively also Including other steps or unit intrinsic for these processes, method or equipment.
Embodiments provide a kind of data transmission method and equipment, can demonstrate data transfer can be smooth After carrying out, by the data transfer in first terminal to second terminal equipment, in user the situation of new and old terminal device change is carried out Under, can more easily by the Data Migration in old terminal device to new terminal equipment.It is described in detail individually below.
Fig. 1 is referred to, Fig. 1 is a kind of schematic flow sheet of data transmission method disclosed in the embodiment of the present invention.Wherein, scheme Method shown in 1 may comprise steps of:
101st, first terminal receives the operational order of log-on data transmission.
In the embodiment of the present invention, terminal device can be smart mobile phone, intelligent watch, palm PC, panel computer, individual number Word assistant (Personal Digital Assistant, PDA), point-of-sale terminal (Point of Sales, POS) etc., the present invention Embodiment is not subsequently repeated.
As a kind of optional embodiment, the slip rail of first terminal monitoring user's finger input on the touchscreen Mark, verifies whether above-mentioned sliding trace is the corresponding sliding trace of log-on data transmission, and if so, then log-on data transmits work( Energy.
102nd, the operation system information that acquisition first terminal is currently run is used as the first reference value.
In the embodiment of the present invention, the operating system that first terminal is currently run can be IOS, Android or WINDOWS etc. Operating system, specifically using which kind of operating system, the embodiment of the present invention is not limited.It is to run Android system on first terminal Example, such as version information of the Android system that above-mentioned first reference value can currently be run by first terminal, Android 4.0.
103 and second terminal set up communication connection with to second terminal send the first request message;Wherein, above-mentioned first Request message is used to obtain the second reference value, the operation system information that above-mentioned second reference value is currently run by second terminal.
In the embodiment of the present invention, first terminal and second terminal are set up after communication connection, by the communication connection to the Two terminals send the first request message;Wherein, above-mentioned first request message is used to make second terminal return second terminal currently transport Capable operation system information, such as operating system version information;For example, the operating system version that second terminal is currently run This information is Android 6.0.
104th, judge whether above-mentioned data transfer can be carried out according to above-mentioned first reference value and above-mentioned second reference value.
As a kind of optional embodiment, the version information of the operating system currently run according to first terminal and The version information of the operating system that two terminals are currently run judges that the operating system that second terminal is currently run whether can The data of the operating system that compatible first terminal is currently run;If so, then above-mentioned data transfer can be carried out;If it is not, then going up Stating data transfer can not be carried out.
For example, if the operating system version information that current first terminal is run is Android 4.0, second terminal The operating system version information for being run is Android 6.0, because operating system typically has backward compatible characteristic, thus If first terminal sends data to second terminal, due to the operating system version that second terminal is currently run it is higher, thus can Can be carried out to the data transfer that second terminal sends data with the data that compatible first terminal is sent, therefore first terminal.
105th, if so, then above-mentioned data transfer carried out by above-mentioned communication connection.
In the embodiment of the present invention, if the operating system currently run of second terminal can compatible first terminal currently transported The data of capable operating system, then carried out data transmission by above-mentioned communication connection.
As can be seen here, the method described by Fig. 1 is implemented, after be able to being smoothed out data transfer is demonstrated, by the Data transfer in one terminal to second terminal equipment, under the situation that user carries out new and old terminal device change, can be more Easily by the Data Migration in old terminal device to new terminal equipment.
Fig. 2 is referred to, Fig. 2 is the schematic flow sheet of another kind of data transmission method disclosed in the embodiment of the present invention.Such as Fig. 2 Shown, the method may comprise steps of:
201st, first terminal receives the operational order of log-on data transmission.
As a kind of optional embodiment, the slip rail of first terminal monitoring user's finger input on the touchscreen Mark, verifies whether above-mentioned sliding trace is the corresponding sliding trace of log-on data transmission, and if so, then log-on data transmits work( Energy.
202nd, the version information of the operating system that first terminal is currently run is obtained as the first reference value.
In the embodiment of the present invention, the operating system that first terminal is currently run can be IOS, Android or WINDOWS etc. Operating system, specifically using which kind of operating system, the embodiment of the present invention is not limited.It is to run Android system on first terminal Example, such as version information of the Android system that above-mentioned first reference value can currently be run by first terminal, Android 6.0.
203 and second terminal set up communication connection with to second terminal send the first request message;Wherein, above-mentioned first Request message is used to obtain the second reference value, wherein, the operating system that above-mentioned second reference value is currently run by second terminal Version information.
Used as a kind of optional embodiment, first terminal initially sets up personal focus, then is connected to second terminal State personal focus to set up above-mentioned communication connection.
In order to ensure the security of data transfer, used as a kind of optional embodiment, first terminal can be to its people Focus is encrypted:First terminal generates the ciphering two-dimension code for accessing above-mentioned personal focus;Second terminal is obtained by sweeping The password retouched above-mentioned ciphering two-dimension code and input;Verify whether above-mentioned password is preset password, if so, connect then second terminal To above-mentioned personal focus setting up above-mentioned communication connection.
In the embodiment of the present invention, first terminal and second terminal are set up after communication connection, by the communication connection to the Two terminals send the first request message;Wherein, above-mentioned first request message is used to make second terminal return second terminal currently transport Capable operation system information, such as operating system version information;For example, the operating system version that second terminal is currently run This information is Android 4.0.
204th, judge whether above-mentioned data transfer can be carried out according to above-mentioned first reference value and above-mentioned second reference value.
As a kind of optional embodiment, the version information of the operating system currently run according to first terminal and The version information of the operating system that two terminals are currently run judges that the operating system that second terminal is currently run whether can The data of the operating system that compatible first terminal is currently run;If so, then above-mentioned data transfer can be carried out;If it is not, then going up Stating data transfer can not be carried out.
For example, if the operating system version information that current first terminal is run is Android 6.0, second terminal The operating system version information for being run is Android 4.0, because operator's system version of second terminal is compared to first Terminal it is relatively low, if thus first terminal sends data to second terminal, data transfer may be made because of compatibility issue Data after failure, or transmission cannot be used, therefore first terminal can not be carried out to the data transfer that second terminal sends data.
205th, if it is not, sending the first prompting message to second terminal so that second terminal is to the operating system currently run Edition upgrading is carried out, the data of the operating system currently run with compatible first terminal.
According to the citing in step 204, first terminal sends the first prompting message to second terminal so that second terminal will System upgrade is to the versions of Android 6.0 or higher version, the number of the operating system currently run with compatible first terminal According to.
206th, collecting first terminal needs the size of data of transmission.
In the embodiment of the present invention, before the data transfer between first terminal and second terminal is carried out, judgement is needed Whether the storage size for being used for receiving data in two terminals stores enough the data that first terminal needs to transmit, if it is not, then Probably due to memory space inadequate and cause data transmission fails.
207th, send the second request message to obtain the memory space that second terminal can be used for receiving data to second terminal Size.
208th, judge that second terminal can be used for whether the storage size of receiving data needs transmission more than first terminal Size of data.
209th, if it is not, then sending the second prompting message to second terminal so that second terminal clears up memory space to obtain more Many memory spaces are used for data transfer.
As can be seen here, the method described by Fig. 2 is implemented, after be able to being smoothed out data transfer is demonstrated, by the Data transfer in one terminal to second terminal equipment, under the situation that user carries out new and old terminal device change, can be more Easily by the Data Migration in old terminal device to new terminal equipment.In addition, limited by the method for ciphering two-dimension code Second terminal processed adds the focus that first terminal is set up, and the security of data transfer has been effectively ensured.
Fig. 3 is referred to, Fig. 3 is a kind of structural representation of data transmission set disclosed in the embodiment of the present invention.Such as Fig. 3 institutes Show, the equipment can include:
Receiving unit 301, for receiving the operational order of log-on data transmission.
As a kind of optional embodiment, the slip of the monitoring of receiving unit 301 user's finger input on the touchscreen Track, verifies whether above-mentioned sliding trace is the corresponding sliding trace of log-on data transmission, and if so, then log-on data transmits work( Energy.
First acquisition unit 302, refers to for obtaining the operation system information that first terminal is currently run as first Value.
In the embodiment of the present invention, the operating system that first terminal is currently run can be IOS, Android or WINDOWS etc. Operating system, specifically using which kind of operating system, the embodiment of the present invention is not limited.It is to run Android system on first terminal Example, such as version information of the Android system that above-mentioned first reference value can currently be run by first terminal, Android 4.0.
Connection unit 303, for setting up communication connection to send the first request message to second terminal with second terminal;Its In, above-mentioned first request message is used to obtain the second reference value, the behaviour that above-mentioned second reference value is currently run by second terminal Make system information.
In the embodiment of the present invention, first terminal and second terminal are set up after communication connection, by the communication connection to the Two terminals send the first request message;Wherein, above-mentioned first request message is used to make second terminal return second terminal currently transport Capable operation system information, such as operating system version information;For example, the operating system version that second terminal is currently run This information is Android 6.0.
First judging unit 304, for judging that above-mentioned data are passed according to above-mentioned first reference value and above-mentioned second reference value It is defeated whether to carry out.
As a kind of optional embodiment, the version information of the operating system currently run according to first terminal and The version information of the operating system that two terminals are currently run judges that the operating system that second terminal is currently run whether can The data of the operating system that compatible first terminal is currently run;If so, then above-mentioned data transfer can be carried out;If it is not, then going up Stating data transfer can not be carried out.
For example, if the operating system version information that current first terminal is run is Android 4.0, second terminal The operating system version information for being run is Android 6.0, because operating system typically has backward compatible characteristic, thus If first terminal sends data to second terminal, due to the operating system version that second terminal is currently run it is higher, thus can Can be carried out to the data transfer that second terminal sends data with the data that compatible first terminal is sent, therefore first terminal.
Transmission unit 305, above-mentioned data transfer is judged for working as according to above-mentioned first reference value and above-mentioned second reference value When can carry out, above-mentioned data transfer is carried out by above-mentioned communication connection.
In the embodiment of the present invention, if the operating system currently run of second terminal can compatible first terminal currently transported The data of capable operating system, then carried out data transmission by above-mentioned communication connection.
As can be seen here, using the equipment described by Fig. 3, after be able to being smoothed out data transfer is demonstrated, by Data transfer in one terminal to second terminal equipment, under the situation that user carries out new and old terminal device change, can be more Easily by the Data Migration in old terminal device to new terminal equipment.
Fig. 4 is seen also, Fig. 4 is the structural representation of another kind of data transmission set disclosed in the embodiment of the present invention. Wherein, the data transmission set shown in Fig. 4 is that equipment as shown in Figure 3 is optimized what is obtained, with the equipment phase shown in Fig. 3 Than the equipment shown in Fig. 4 also includes:
Collector unit 306, for collecting first terminal the size of data of transmission is needed.
In the embodiment of the present invention, before the data transfer between first terminal and second terminal is carried out, judgement is needed Whether the storage size for being used for receiving data in two terminals stores enough the data that first terminal needs to transmit, if it is not, then Probably due to memory space inadequate and cause data transmission fails.
Second transmitting element 307, can be used to connect for sending the second request message to second terminal to obtain second terminal Receive the storage size of data.
Second judging unit 308, for judging that second terminal can be used for whether the storage size of receiving data is more than First terminal needs the size of data of transmission.
3rd transmitting element 309, the storage size for can be used for receiving data when second terminal is less than or equal to When first terminal needs the size of data of transmission, the second prompting message is sent to second terminal so that second terminal cleaning storage is empty Between be used for data transfer to obtain more memory spaces.
As can be seen here, using the equipment described by Fig. 4, after be able to being smoothed out data transfer is demonstrated, by Data transfer in one terminal to second terminal equipment, under the situation that user carries out new and old terminal device change, can be more Easily by the Data Migration in old terminal device to new terminal equipment.
Fig. 5 is referred to, Fig. 5 is a kind of structural representation of terminal device disclosed in the embodiment 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 of the data that execution data processing is called of processor 501 and acquisition The memory space of data.
In embodiments of the present invention, processor 501 passes through to call 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;
The operation system information that acquisition first terminal is currently run is used as the first reference value;
Set up communication connection to send the first request message to second terminal with second terminal;Wherein, above-mentioned first request Message is used to obtain the second reference value, the operation system information that above-mentioned second reference value is currently run by second terminal;
Judge whether above-mentioned data transfer can be carried out according to above-mentioned first reference value and above-mentioned second reference value;
If so, then above-mentioned data transfer carried out by above-mentioned communication connection.
As can be seen here, using the terminal device described by Fig. 5, after be able to being smoothed out data transfer is demonstrated, By the data transfer in first terminal to second terminal equipment, under the situation that user carries out new and old terminal device change, can be with More easily by the Data Migration in old terminal device to new terminal equipment.
Fig. 6 is referred to, Fig. 6 is the structural representation of another kind of terminal device disclosed in the embodiment of the present invention.Such as Fig. 6 institutes Show, for convenience of description, illustrate only the part related to the embodiment of the present invention, particular technique details is not disclosed, refer to Present invention method part.The terminal can be to include mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), the arbitrarily terminal device such as vehicle-mounted computer, So that terminal is as mobile phone as an example:
Fig. 6 is illustrated that the block diagram of the part-structure of the mobile phone related to terminal provided in an embodiment of the present invention.With reference to figure 6, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 601, memory 602, input block 603, display unit 604, Sensor 605, voicefrequency circuit 606, Wireless Fidelity (wireless fidelity, WiFi) module 607, processor 608 and The grade part of power supply 609.It will be understood by those skilled in the art that the handset structure illustrated in Fig. 6 does not constitute the restriction to mobile phone, Part more more or less of than diagram can be included, or combine some parts, or different part arrangements.
Each component parts of mobile phone is specifically introduced with reference to Fig. 6:
RF circuits 601 can be used to receiving and sending messages or communication process in, the reception and transmission of signal, especially, by base station After downlink information is received, process to processor 608;In addition, up data is activation will be designed to base station.Generally, RF circuits 601 Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuits 601 can also be communicated by radio communication with network and other equipment. Above-mentioned radio communication can be using arbitrary communication standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet radio service (General Packet Radio Service, GPRS), CDMA (Code Division Multiple Access, CDMA), WCDMA (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 to store software program and module, and processor 608 is stored in memory 602 by operation Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 602 can mainly include Storing program area and storage data field, wherein, the application journey that storing program area can be needed for storage program area, at least one function Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored and use what is created according to mobile phone Data (such as voice data, phone directory etc.) etc..Additionally, memory 602 can include high-speed random access memory, can be with Including nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-states Part.
Input block 603 can be used for the numeral or character information of receives input, and produce with the user of mobile phone arrange with And the key signals input that function control is relevant.Specifically, input block 603 may include that contact panel 6031 and other inputs set Standby 6032.Contact panel 6031, also referred to as touch-screen, user can be collected thereon or neighbouring touch operation (such as user makes With the operation of any suitable object such as finger, stylus or annex on contact panel 6031 or near contact panel 6031), And corresponding attachment means are driven according to formula set in advance.Optionally, contact panel 6031 may include touch detecting apparatus With two parts of touch controller.Wherein, touch detecting apparatus detect the touch orientation of user, and detect what touch operation brought Signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and it is changed Into contact coordinate, then processor 608 is given, and the order sent of receiving processor 608 and can be performed.Furthermore, it is possible to adopt Contact panel 6031 is realized with polytypes such as resistance-type, condenser type, infrared ray and surface acoustic waves.Except contact panel 6031, input block 603 can also include other input equipments 6032.Specifically, other input equipments 6032 can include but One be not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. Plant or various.
Display unit 604 can be used for show by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 604 may include display floater 6041, optionally, can adopt liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Show panel 6041.Further, contact panel 6031 can cover display floater 6041, when contact panel 6031 is detected thereon Or after neighbouring touch operation, processor 608 is sent to determine the type of touch event, with preprocessor 608 according to touch The type of event provides corresponding visual output on display floater 6041.Although in figure 6, contact panel 6031 and display surface Plate 6041 be as two independent parts realizing input and the input function of mobile phone, but in some embodiments it is possible to Input that realize mobile phone and output function by contact panel 6031 and display floater 6041 be integrated.
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 transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjusting the brightness of display floater 6041, proximity transducer can close display floater when mobile phone is moved in one's ear 6041 and/or backlight.Used as one kind of motion sensor, (generally three axles) add in the detectable all directions of accelerometer sensor The size of speed, can detect that size and the direction of gravity when static, can be used to recognize application (the such as horizontal/vertical screen of mobile phone attitude Switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;As for mobile phone also The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, will not be described here.
Voicefrequency circuit 606, loudspeaker 6061, microphone 6062 can provide the COBBAIF between user and mobile phone.Audio frequency Electric signal after the voice data for receiving conversion can be transferred to loudspeaker 6061 by circuit 606, be converted to by loudspeaker 6061 Voice signal is exported;On the other hand, the voice signal of collection is converted to electric signal by microphone 6062, is connect by voicefrequency circuit 606 Voice data is converted to after receipts, then after voice data output processor 608 is processed, Jing RF circuits 601 are such as another to be sent to One mobile phone, or voice data is exported to memory 602 so as to further process.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 607 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 6 shows WiFi module 607, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Become in the essential scope of invention and omit.
Processor 608 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform the software program and/or module that are stored in memory 602, and call and be stored in memory 602 Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 608 can be wrapped Include one or more processing units;Preferably, processor 608 can integrated application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly processed with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated into processor 608.
Mobile phone also 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 is logically contiguous with processor 608, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Although not shown, mobile phone can also include camera, bluetooth module etc., will not be described here.
In previous embodiment, each step method flow process can be based on the structure of the terminal device and realize.Wherein application layer and Operating system nucleus can be considered the part of the abstract structure of processor 608.
In embodiments of the present invention, processor 608 passes through to call 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;
The operation system information that acquisition first terminal is currently run is used as the first reference value;
Set up communication connection to send the first request message to second terminal with second terminal;Wherein, above-mentioned first request Message is used to obtain the second reference value, the operation system information that above-mentioned second reference value is currently run by second terminal;
Judge whether above-mentioned data transfer can be carried out according to above-mentioned first reference value and above-mentioned second reference value;
If so, then above-mentioned data transfer carried out by above-mentioned communication connection.
Used as a kind of optional embodiment, processor 608 passes through to call the program code being stored in memory 602, It is additionally operable to perform following operation:
Collecting first terminal needs the size of data of transmission;
Send the second request message to obtain the storage size that second terminal can be used for receiving data to second terminal;
Judge that second terminal can be used for whether the storage size of receiving data needs the number of transmission more than first terminal According to size;
If it is not, then sending the second prompting message to second terminal so that second terminal clears up memory space to obtain more depositing Storage space is used for data transfer.
As can be seen here, using the terminal device described by Fig. 6, after be able to being smoothed out data transfer is demonstrated, By the data transfer in first terminal to second terminal equipment, under the situation that user carries out new and old terminal device change, can be with More easily by the Data Migration in old terminal device to new terminal equipment.
It should be noted that in above-mentioned data transmission set and terminal device embodiment, included unit is Divided according to function logic, but be not limited to above-mentioned division, as long as corresponding function can be realized;Separately Outward, the specific name of each functional unit is also only to facilitate mutually differentiation, is not limited to protection scope of the present invention.
In addition, one of ordinary skill in the art will appreciate that realizing all or part of step in above-mentioned each method embodiment The hardware that program be can be by instruct correlation is completed, and corresponding program can be stored in a kind of computer-readable recording medium In, storage medium mentioned above can be read-only storage, disk or CD etc..
The present invention preferably specific embodiment is these are only, but protection scope of the present invention is not limited thereto, it is any Those familiar with the art the change that can readily occur in or replaces in the technical scope that the embodiment of the present invention is disclosed Change, all should be included within the scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of claim Enclose and be defined.

Claims (13)

1. a kind of data transmission method, it is characterised in that include:
First terminal receives the operational order of log-on data transmission;
Operation system information that the first terminal currently run is obtained as the first reference value;
Set up communication connection to send the first request message to the second terminal with second terminal;Wherein, first request Message is used to obtain the second reference value, the operation system information that second reference value is currently run by the second terminal;
Judge whether the data transfer can be carried out according to first reference value and second reference value;
If so, then by it is described communication connection carry out the data transfer.
2. method according to claim 1, it is characterised in that first reference value is currently transported including the first terminal The version information of capable operating system;Second reference value includes the version of the operating system that the second terminal is currently run This information;
It is described to judge whether the data transfer be carried out according to first reference value and second reference value, including:
What the version information of the operating system currently run according to the first terminal and the second terminal were currently run The version information of operating system judges whether the operating system that the second terminal is currently run being capable of compatible first end The data of the operating system that end is currently run;If so, then the data transfer can be carried out;If it is not, the then data transfer Can not carry out.
3. method according to claim 2, it is characterised in that if being sentenced according to first reference value and second reference value The data transfer of breaking can not be carried out, and methods described also includes:
To the second terminal the first prompting message is sent so that the second terminal is carried out to the operating system currently run Edition upgrading, the data of the operating system currently run with the compatible first terminal.
4. method according to claim 3, it is characterised in that described to set up communication connection with second terminal with to described second Terminal sends the first request message, including:
The first terminal sets up personal focus;
The second terminal is set to be connected to the personal focus to set up the communication connection.
5. method according to claim 4, it is characterised in that the first terminal is set up after personal focus, methods described Also include:
Generate the ciphering two-dimension code for accessing the personal focus;
It is described make the second terminal be connected to the personal focus to set up the communication connection before, methods described is also wrapped Include:
Obtain the password that the second terminal input by scanning the ciphering two-dimension code;
It is described to make the second terminal be connected to the personal focus to set up the communication connection, including:
Verify whether the password is preset password, if so, then make the second terminal be connected to the personal focus to set up The communication connection.
6. according to any one methods described in Claims 1 to 5, it is characterised in that methods described also includes:
Collecting the first terminal needs the size of data of transmission;
Send the second request message to obtain the memory space that the second terminal can be used for receiving data to the second terminal Size;
Judge that the second terminal can be used for whether the storage size of receiving data needs transmission more than the first terminal Size of data;
If it is not, then sending the second prompting message to the second terminal so that the second terminal clears up memory space to obtain more Many memory spaces are used for data transfer.
7. a kind of data transmission set, it is characterised in that include:
Receiving unit, for receiving the operational order of log-on data transmission;
First acquisition unit, for obtaining operation system information that first terminal currently run as the first reference value;
Connection unit, for setting up communication connection to send the first request message to the second terminal with second terminal;Wherein, First request message is used to obtain the second reference value, the behaviour that second reference value is currently run by the second terminal Make system information;
First judging unit, for judging that the data transfer whether can according to first reference value and second reference value Enough carry out;
Transmission unit, judges that the data transfer can be carried out for working as according to first reference value and second reference value When, the data transfer is carried out by the communication connection.
8. equipment according to claim 7, it is characterised in that first reference value includes the current institute of the first terminal The version information of the operating system of operation;Second reference value includes the operating system that the second terminal is currently run Version information;
First judging unit, specifically for the version information of operating system that currently run according to the first terminal and The version information of the operating system that the second terminal is currently run judges the operation system that the second terminal is currently run Whether system being capable of the data of operating system currently run of the compatible first terminal;If so, then the data transfer can Carry out;If it is not, then the data transfer can not be carried out.
9. equipment according to claim 8, it is characterised in that if according to first reference value and second reference value Judge that the data transfer can not be carried out, the equipment also includes:
First transmitting element, for sending the first prompting message so that the second terminal is to currently being transported to the second terminal Capable operating system carries out edition upgrading, the data of the operating system currently run with the compatible first terminal.
10. equipment according to claim 9, it is characterised in that the connection unit, including:
Subelement is set up, for setting up personal focus;
Subelement is enabled, for making the second terminal be connected to the personal focus to set up the communication connection.
11. equipment according to claim 10, it is characterised in that the equipment also includes:
Signal generating unit, for generating the ciphering two-dimension code for accessing the personal focus;
The equipment also includes:
Second acquisition unit, for obtaining the password that the second terminal input by scanning the ciphering two-dimension code;
The enable subelement, specifically for verifying whether the password is preset password, if so, connects then the second terminal It is connected to the personal focus to set up the communication connection.
12. equipment according to any one in claim 7~11, it is characterised in that the equipment also includes:
Collector unit, for collecting the first terminal size of data of transmission is needed;
Second transmitting element, can be used to connect for sending the second request message to the second terminal to obtain the second terminal Receive the storage size of data;
Second judging unit, for judging that whether the second terminal can be used for the storage size of receiving data more than described First terminal needs the size of data of transmission;
3rd transmitting element, for can be used for the storage size of receiving data when the second terminal less than or equal to described When first terminal needs the size of data of transmission, the second prompting message is sent so that the second terminal is clear to the second terminal Reason memory space is used for data transfer to obtain more memory spaces.
A kind of 13. terminal devices, including:Processor and memory, it is characterised in that the processor is for perform claim requirement Method in 1~6 described in any one.
CN201610825999.2A 2016-09-14 2016-09-14 A kind of data transmission method and equipment Active CN106658354B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610825999.2A CN106658354B (en) 2016-09-14 2016-09-14 A kind of data transmission method and equipment
PCT/CN2017/092508 WO2018049894A1 (en) 2016-09-14 2017-07-11 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610825999.2A CN106658354B (en) 2016-09-14 2016-09-14 A kind of data transmission method and equipment

Publications (2)

Publication Number Publication Date
CN106658354A true CN106658354A (en) 2017-05-10
CN106658354B CN106658354B (en) 2019-10-18

Family

ID=58852535

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610825999.2A Active CN106658354B (en) 2016-09-14 2016-09-14 A kind of data transmission method and equipment

Country Status (2)

Country Link
CN (1) CN106658354B (en)
WO (1) WO2018049894A1 (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018049894A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Data transmission method and device
CN107862199A (en) * 2017-10-31 2018-03-30 努比亚技术有限公司 A kind of access method of data, terminal and computer-readable recording medium
CN110392364A (en) * 2018-04-18 2019-10-29 Oppo广东移动通信有限公司 Data transmission method, device, storage medium and electronic equipment
CN110799965A (en) * 2017-06-23 2020-02-14 三菱电机株式会社 Management system
WO2022083342A1 (en) * 2020-10-21 2022-04-28 华为技术有限公司 Data transmission method and electronic device

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110069322B (en) * 2019-03-21 2023-12-05 努比亚技术有限公司 Background application processing method, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102232304A (en) * 2011-05-04 2011-11-02 华为终端有限公司 Method, system and terminal for system update between mobile communication terminals
CN103780952A (en) * 2014-01-28 2014-05-07 广东欧珀移动通信有限公司 Intelligent terminal message sending method and system
CN104243358A (en) * 2014-09-18 2014-12-24 杭州华三通信技术有限公司 Loading method and device for PE software in VCF system
CN105208516A (en) * 2015-09-28 2015-12-30 宇龙计算机通信科技(深圳)有限公司 Bluetooth paging method and device

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104424145A (en) * 2013-08-30 2015-03-18 联想(北京)有限公司 Electronic device and data transmission method
KR102367551B1 (en) * 2014-06-10 2022-02-25 삼성전자 주식회사 Method and apparatus for processing information of electronic devices
CN105263195B (en) * 2015-09-23 2018-11-02 努比亚技术有限公司 Data transmission device and method
CN106658354B (en) * 2016-09-14 2019-10-18 Oppo广东移动通信有限公司 A kind of data transmission method and equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102232304A (en) * 2011-05-04 2011-11-02 华为终端有限公司 Method, system and terminal for system update between mobile communication terminals
CN103780952A (en) * 2014-01-28 2014-05-07 广东欧珀移动通信有限公司 Intelligent terminal message sending method and system
CN104243358A (en) * 2014-09-18 2014-12-24 杭州华三通信技术有限公司 Loading method and device for PE software in VCF system
CN105208516A (en) * 2015-09-28 2015-12-30 宇龙计算机通信科技(深圳)有限公司 Bluetooth paging method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018049894A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Data transmission method and device
CN110799965A (en) * 2017-06-23 2020-02-14 三菱电机株式会社 Management system
CN110799965B (en) * 2017-06-23 2023-10-20 三菱电机株式会社 management system
CN107862199A (en) * 2017-10-31 2018-03-30 努比亚技术有限公司 A kind of access method of data, terminal and computer-readable recording medium
CN107862199B (en) * 2017-10-31 2020-12-04 家家云科技(深圳)有限公司 Data access method, terminal and computer readable storage medium
CN110392364A (en) * 2018-04-18 2019-10-29 Oppo广东移动通信有限公司 Data transmission method, device, storage medium and electronic equipment
WO2022083342A1 (en) * 2020-10-21 2022-04-28 华为技术有限公司 Data transmission method and electronic device

Also Published As

Publication number Publication date
WO2018049894A1 (en) 2018-03-22
CN106658354B (en) 2019-10-18

Similar Documents

Publication Publication Date Title
CN106126015B (en) A kind of application program launching control method and terminal
CN106658354A (en) Data transmission method and equipment
CN106341809B (en) A kind of data transmission method and equipment
CN104598262A (en) Method and device for updating mobile application
CN103455582A (en) Display method of navigation page of browser and mobile terminal
CN104901806B (en) A kind of virtual resource processing method, device and system
CN106550361A (en) A kind of data transmission method and equipment
CN107436758A (en) The method for information display and mobile terminal of a kind of mobile terminal
CN103631625B (en) A kind of method of data acquisition, user terminal, server and system
CN106331370A (en) Data transmission method and terminal device
CN104104656A (en) Account retrieving method and device
CN106407771A (en) Message management method and device
CN106506815A (en) A kind of application enables method and relevant device
CN103561155B (en) Send the method for note, device and terminal
CN104202301A (en) Numerical value transferring method and device
CN106814934A (en) icon processing method and terminal device
CN107678822A (en) A kind of information processing method and device, terminal and readable storage medium storing program for executing
CN106453845B (en) A kind of data transmission method and equipment
CN104615451B (en) A kind of method and device starting application
CN106506623B (en) A kind of data transmission method and equipment
CN106371948B (en) A kind of data back up method and terminal device
CN106658360A (en) Data transmission method and data transmission device
CN105262909A (en) Mobile terminal using method and mobile terminal
CN105208057A (en) Association method of network account and device
CN107249168A (en) A kind of data directional transmissions and method of reseptance and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
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 Opel Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant