CN106341809B - A kind of data transmission method and equipment - Google Patents
A kind of data transmission method and equipment Download PDFInfo
- Publication number
- CN106341809B CN106341809B CN201610913465.5A CN201610913465A CN106341809B CN 106341809 B CN106341809 B CN 106341809B CN 201610913465 A CN201610913465 A CN 201610913465A CN 106341809 B CN106341809 B CN 106341809B
- Authority
- CN
- China
- Prior art keywords
- terminal
- reference value
- data
- target data
- sent
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/08—Access security
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/06—Authentication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W28/00—Network traffic management; Network resource management
- H04W28/16—Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
- H04W28/18—Negotiating wireless communication parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/20—Selecting an access point
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/10—Connection setup
- H04W76/14—Direct-mode setup
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/18—Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
- H04W8/20—Transfer of user or subscriber data
- H04W8/205—Transfer to or from user equipment or user record carrier
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W84/00—Network topologies
- H04W84/02—Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
- H04W84/10—Small scale networks; Flat hierarchical networks
- H04W84/12—WLAN [Wireless Local Area Networks]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Databases & Information Systems (AREA)
- Quality & Reliability (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the invention discloses a kind of data transmission method and equipment.Wherein, this method includes:First terminal receives the operational order of log-on data transmission;The operation system information that acquisition first terminal is currently run is as the first reference value;The first request message is sent to second terminal;Wherein, the first request message is for the second reference value of acquisition, the operation system information that the second reference value is currently run by second terminal;According to the first reference value and the second reference value, data compatible with the operating system that second terminal is currently run in first terminal are screened as target data;The target data is sent to second terminal.The problem of implementation embodiment of the present invention can run different operating system to avoid due to carry out data transmission two terminal devices, and the data received can not use.
Description
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 smart mobile phone, tablet computer, personal digital assistant etc. (Personal Digital Assistant, PDA)
Terminal device it is universal, entertained, done shopping whenever and wherever possible using these terminal devices, being paid and the operations such as information inquiry,
As the habitual life style of people.
Intelligentized terminal device for people’s lives while bringing many convenient, also gradually accumulation in terminal device
There are the more and more personal data of user.If user needs replacing new terminal device, often want to deposit in old terminal device
A large amount of personal data of storage are transferred to new terminal equipment.
However, since new, old terminal device may run different operating system, may cause to be transmitted to new terminal equipment
In data the problem of can not using.
Invention content
An embodiment of the present invention provides a kind of data transmission method and equipment, can be to avoid due to carry out data transmission two
The problem of a terminal device runs different operating system, and the data received can not use.
First aspect of the embodiment of the present invention 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 is currently run is obtained as the first reference value;
The first request message is sent to second terminal;Wherein, first request message is for the second reference value of acquisition, institute
State the operation system information that the second reference value is currently run by the second terminal;
According to first reference value and second reference value, screen in the first terminal and work as with the second terminal
The data of preceding run operating system compatibility are as target data;
The target data is sent to the second terminal.
As an alternative embodiment, it is described the target data is sent to the second terminal after, it is described
Method further includes:
Count the inventory of the data in addition to the target data in the first terminal;
Notification message of the output comprising the inventory is to notify user to fail to be sent to the data of the second terminal.
As an alternative embodiment, it is described the target data is sent to the second terminal after, it is described
Method further includes:
According to first reference value and second reference value, determine with the second terminal to work as in the first terminal
The incompatible application program of preceding run operating system;
It is sent to the second terminal incompatible comprising the operating system currently run with the second terminal
First prompting message of the list of application program, in order to which the second terminal is compatible with described second according to list download
The corresponding application programs for the operating system that terminal is currently run.
As an alternative embodiment, described send the first request message to second terminal, including:
The first terminal establishes personal hot spot;
The second terminal is made to be connected to the personal hot spot to establish the communication connection.
As an alternative embodiment, the first terminal is established after personal hot spot, the method further includes:
Generate the ciphering two-dimension code for accessing the personal hot spot;
It is described that the second terminal is made to be connected to the personal hot spot so that before establishing the communication connection, the method is also
Including:
The password that the second terminal is obtained by scanning the ciphering two-dimension code to input;
It is described that the second terminal is made to be connected to the personal hot spot to establish the communication connection, including:
Verify whether the password is preset password, if so, make the second terminal be connected to the personal hot spot with
Establish the communication connection.
As an alternative embodiment, it is currently run with the second terminal in the screening first terminal
Operating system compatibility data as target data after, the method further includes:
Count the size of the target data;
The second request message, which is sent, to the second terminal can be used for receiving the number of targets to obtain the second terminal
According to storage size;
Judge whether the storage size is more than or equal to the size of the target data;
If it is not, then the second prompting message is sent to the second terminal so that second terminal cleaning memory space is used for
Receive the target data.
Second aspect of the embodiment of the present invention 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 sending the first request message to second terminal;Wherein, first request message is used to obtain
Second reference value, the operation system information that second reference value is currently run by the second terminal;
Screening unit, for according to first reference value and second reference value, screen in the first terminal with
The data of operating system compatibility that the second terminal is currently run are as target data;
First transmitting element, for the target data to be sent to the second terminal.
As an alternative embodiment, the equipment further includes:
First statistic unit, for counting the inventory of the data in addition to the target data in the first terminal;
Output unit, for exporting the notification message comprising the inventory so that user to be notified to fail to be sent to described second eventually
The data at end.
As an alternative embodiment, the equipment further includes:
Determination unit, for according to first reference value and second reference value, determine in the first terminal with
The incompatible application program of operating system that the second terminal is currently run;
Second transmitting element, for sending what is currently run comprising the described and second terminal to the second terminal
First prompting message of the list of the incompatible application program of operating system, in order to which the second terminal is according under the list
Carry the corresponding application programs for being compatible with the operating system that the second terminal is currently run.
As an alternative embodiment, the connection unit, including:
Subelement is established, for establishing personal hot spot;
Enabled subelement, for the second terminal being made to be connected to the personal hot spot to establish the communication connection.
As an alternative embodiment, the equipment further includes:
Generation unit, for generating the ciphering two-dimension code for accessing the personal hot spot;
Second acquisition unit, for obtaining the second terminal by scanning the ciphering two-dimension code the password that inputs;
The enabled subelement, specifically for verifying whether the password is preset password, if so, making described second eventually
End is connected to the personal hot spot to establish the communication connection.
As an alternative embodiment, the equipment further includes:
Second statistic unit, for counting the size of the target data;
Third transmitting element can be used for sending the second request message to the second terminal with obtaining the second terminal
In the storage size for receiving the target data;
Judging unit, for judging whether the storage size is more than or equal to the size of the target data;
4th transmitting element, during for being less than the size of the target data when the storage size, to described the
Two terminals send the second prompting message so that second terminal cleaning memory space is used to receive the target data.
The third aspect of the embodiment of the present invention discloses a kind of terminal device, including:Processor and memory, the processor
For performing the method disclosed in above-mentioned first aspect.
In the embodiment of the present invention, first terminal receives the operational order of log-on data transmission;The first terminal is obtained to work as
Preceding run operation system information is as the first reference value;The first request message is sent to second terminal;Wherein, described first
Request message for obtaining the second reference value, by the operating system that the second terminal is currently run believed by second reference value
Breath;According to first reference value and second reference value, screen in the first terminal with the current institute of the second terminal
The data of the operating system compatibility of operation are as target data;The target data is sent to the second terminal.Thus may be used
See, implement the embodiment of the present invention, different operating system can be run to avoid due to carry out data transmission two terminal devices,
The problem of data received can not use.
Description of the drawings
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, the accompanying drawings in the following description is only some embodiments of the present invention, for this
For the those of ordinary skill in field, without having to pay 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 structure diagram of data transmission set disclosed by the embodiments of the present invention;
Fig. 4 is the structure diagram of another data transmission set disclosed by the embodiments of the present invention;
Fig. 5 is a kind of structure diagram of terminal device disclosed by the embodiments of the present invention;
Fig. 6 is the structure 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, the present invention is made below in conjunction with attached drawing 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, those of ordinary skill in the art are obtained without making creative work
All other embodiment, shall fall within the protection scope of the present invention.
Term " first ", " second " in description and claims of this specification and above-mentioned attached drawing etc. are for distinguishing
Different object rather than for describing particular order.In addition, term " comprising " and " having " and their any deformations, meaning
Figure is to cover non-exclusive include.Such as contain process, method, system, product or the equipment of series of steps or unit
The step of being not limited to list or unit, but optionally further include the step of not listing or unit or optionally go back
Including for other intrinsic steps of these processes, method or equipment or unit.
An embodiment of the present invention provides a kind of data transmission method and equipment, can be to avoid due to carry out data transmission two
The problem of a terminal device runs different operating system, and the data received can not use.It is described in detail separately below.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of data transmission method disclosed by the embodiments of the present invention.Wherein, scheme
Method shown in 1 may comprise steps of:
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, smartwatch, palm PC, tablet computer, a number
Word assistant (Personal Digital Assistant, PDA), point-of-sale terminal (Point of Sales, POS) etc., the present invention
Embodiment is not repeated subsequently.
As an alternative embodiment, the slip rail of the input of first terminal monitoring user's finger on the touchscreen
Mark verifies whether above-mentioned sliding trace is the corresponding sliding trace of log-on data transmission, if so, log-on data transmits work(
Energy.
102nd, the operation system information that acquisition first terminal is currently run is 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 does not limit.Using on first terminal run Android system as
Example, the first reference value can be by the version information for the Android system that first terminal is currently run, such as Android 6.0.
103rd, the first request message is sent to second terminal;Wherein, the first request message is used to obtain the second reference value, the
The operation system information that two reference values are currently run by second terminal.
In the embodiment of the present invention, first terminal and second terminal are established after communication connection, by the communication connection to the
Two terminals send the first request message;Wherein, the first request message is currently running for second terminal to be made to return to second terminal
Operation system information;For example, the operating system that second terminal is currently run be IOS systems, version number 10.0.2.
104th, according to the first reference value and the second reference value, the behaviour currently run with second terminal in first terminal is screened
Make the data of system compatible as target data.
For example, if first terminal runs Android system, second terminal operation IOS systems are then many in first terminal
The data second terminal of application program is incompatible.In such a case, it is possible to screen in first terminal with the current institute of second terminal
The data transmission of the operating system compatibility of operation is to second terminal, such as photo, video etc..
105th, above-mentioned target data is sent to second terminal.
In the embodiment of the present invention, the data compatible with the operating system that second terminal is currently run are being screened as mesh
After marking data, target data is sent to by second terminal by the communication connection established before.
As an alternative embodiment, after target data is had sent to second terminal, first terminal can also unite
The inventory of the data in addition to above-mentioned target data in first terminal is counted, exports the notification message comprising above-mentioned inventory later to notify
User fails to be sent to the data of second terminal.
It can be seen that implementing the described methods of Fig. 1, can be transported to avoid due to carry out data transmission two terminal devices
The problem of different operating system of row, the data received can not use.In addition to this, to the terminal as data receiver
After equipment has sent the data that it can be compatible with, notification message can be exported so that user to be prompted there are incompatible data not pass
Defeated, user can select these remaining datas uploading cloud server preservation or connect according to the inventory of incompatible data
Debit's terminal device locallys create local replica.
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:
201st, first terminal receives the operational order of log-on data transmission.
202nd, the operation system information that acquisition first terminal is currently run is as the first reference value.
203rd, the first request message is sent to second terminal;Wherein, the first request message is used to obtain the second reference value, the
The operation system information that two reference values are currently run by second terminal.
204th, according to the first reference value and the second reference value, the behaviour currently run with second terminal in first terminal is screened
Make the data of system compatible as target data.
For example, if first terminal runs Android system, second terminal operation IOS systems are then many in first terminal
The data second terminal of application program is incompatible.In such a case, it is possible to screen in first terminal with the current institute of second terminal
The data transmission of the operating system compatibility of operation is to second terminal, such as photo, video etc..
In addition to this, first terminal can count the size of target data, it is rear to second terminal send second request disappear
It ceases to obtain the storage size that second terminal can be used for receiving target data;If above-mentioned storage size is less than number of targets
According to size, then send the second prompting message to second terminal so that second terminal cleaning memory space is for receiving number of targets
According to.
205th, above-mentioned target data is sent to second terminal.
206th, according to the first reference value and the second reference value, the behaviour currently run with second terminal in first terminal is determined
Make the incompatible application program of system.
For example, if first terminal runs Android system, second terminal operation IOS systems are then many in first terminal
Application program second terminal is incompatible.
207th, it is sent to second terminal comprising the incompatible application of the above-mentioned operating system currently run with second terminal
First prompting message of the list of program is currently transported in order to which second terminal is compatible with second terminal according to above-mentioned list download
The corresponding application programs of capable operating system.
In the embodiment of the present invention, second terminal can be according to above-mentioned incompatible the application list, under application shop
Carry the corresponding application programs for the system for being compatible with second terminal.
It can be seen that implementing the described methods of Fig. 2, can be transported to avoid due to carry out data transmission two terminal devices
The problem of different operating system of row, the data received can not use.In addition to this, as the terminal device of data receiver
The corresponding application programs for being compatible with its system can be downloaded from application shop according to above-mentioned incompatible the application list.
Referring to Fig. 3, Fig. 3 is a kind of structure diagram of data transmission set disclosed by the embodiments of the present invention.Such as Fig. 3 institutes
Show, which can include:
Receiving unit 301, for receiving the operational order of log-on data transmission.
First acquisition unit 302 refers to for obtaining the operation system information that first terminal is currently run as first
Value.
Connection unit 303, for sending the first request message to second terminal;Wherein, the first request message is used to obtain
Second reference value, the operation system information that the second reference value is currently run by second terminal.
Screening unit 304, for according to the first reference value and the second reference value, screening in first terminal and working as with second terminal
The data of preceding run operating system compatibility are as target data.
First transmitting element 305, for above-mentioned target data to be sent to second terminal.
It can be seen that using the described data transmission sets of Fig. 3, it can be to avoid due to carry out data transmission two ends
The problem of end equipment runs different operating system, and the data received can not use.
Also referring to Fig. 4, Fig. 4 is the structure diagram of another data transmission set disclosed by the embodiments of the present invention.
Wherein, data transmission set shown in Fig. 4 is that equipment as shown in Figure 3 optimizes, with equipment phase shown in Fig. 3
Than equipment shown in Fig. 4 further includes:
Determination unit 306, for according to the first reference value and the second reference value, determining with second terminal to work as in first terminal
The incompatible application program of preceding run operating system.
Second transmitting element 307, for being sent to second terminal comprising the above-mentioned operation currently run with second terminal
First prompting message of the list of the incompatible application program of system, in order to which second terminal is compatible with according to above-mentioned list download
The corresponding application programs for the operating system that second terminal is currently run.
As an alternative embodiment, above-mentioned connection unit 303, including:
Subelement 3031 is established, for establishing personal hot spot.
Enabled subelement 3032, for second terminal being made to be connected to above-mentioned personal hot spot to establish above-mentioned communication connection.
As an alternative embodiment, equipment shown in Fig. 4 further includes:
Generation unit 308, for generating the ciphering two-dimension code for accessing above-mentioned personal hot spot;
Second acquisition unit 309, for obtaining second terminal by scanning above-mentioned ciphering two-dimension code the password that inputs;
Above-mentioned enabled subelement 3032, specifically for verifying whether above-mentioned password is preset password, if so, making second eventually
End is connected to above-mentioned personal hot spot to establish above-mentioned communication connection.
It can be seen that using the described data transmission sets of Fig. 4, it can be to avoid due to carry out data transmission two ends
The problem of end equipment runs different operating system, and the data received can not use.In addition to this, lead between two terminal devices
The mode for crossing the personal hot spot of encryption establishes communication connection, can reduce the risk that data are leaked in data transmission procedure.
Referring to Fig. 5, Fig. 5 is a kind of structure diagram of terminal device 500 disclosed by the embodiments of the present invention.Such as Fig. 5 institutes
Show, terminal device 500 includes:Processor 501 and memory 502;Wherein memory 502 can be used for processor 501 and perform
Data processing required caching, can be also used for providing processor 501 and performs data and the acquisition that data processing is called
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
Row is following to be operated:
First terminal receives the operational order of log-on data transmission;
The operation system information that acquisition first terminal is currently run is as the first reference value;
The first request message is sent to second terminal;Wherein, for obtaining the second reference value, second joins the first request message
Examine the operation system information that value is currently run by second terminal;
According to the first reference value and the second reference value, the operation system currently run with second terminal in first terminal is screened
Compatible data unite as target data;
Above-mentioned target data is sent to second terminal.
It can be seen that in the described terminal devices of Fig. 5, can be set to avoid due to carry out data transmission two terminals
The problem of different operating system of received shipment row, the data received can not use.
Referring to Fig. 6, Fig. 6 is the structure diagram of another terminal device 600 disclosed by the embodiments of the present invention.Such as Fig. 6
It is shown, for convenience of description, illustrate only and do not disclose, please join with the relevant part of the embodiment of the present invention, particular technique details
According to present invention method part.The terminal can be to include mobile phone, tablet computer, PDA (Personal Digital
Assistant, personal digital assistant), POS (Point of Sales, point-of-sale terminal), the arbitrary terminal device such as vehicle-mounted computer,
By terminal for for mobile phone:
Fig. 6 is illustrated that the block diagram with the part-structure of the relevant mobile phone of terminal provided in an embodiment of the present invention.Reference chart
6, mobile phone includes: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
609 grade components of power supply.It will be understood by those skilled in the art that handset structure shown in Fig. 6 does not form the restriction to mobile phone,
It can include either combining certain components or different components arrangement than illustrating more or fewer components.
Each component parts of mobile phone is specifically introduced with reference to Fig. 6:
RF circuits 601 can be used for receive and send 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 circuits 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 circuits 601 can also communicate with network and other equipment by radio communication.
Above-mentioned wireless communication can use any 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), 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 storage software program and module, and processor 608 is stored in memory 602 by operation
Software program and module, so as to perform the various function application of mobile phone and data processing.Memory 602 can mainly include
Storing program area and storage data field, wherein, storing program area can storage program area, the application journey needed at least one function
Sequence (such as sound-playing function, image player function etc.) etc.;Storage data field can be stored uses what is created according to mobile phone
Data (such as audio data, phone directory etc.) etc..In addition, memory 602 can include high-speed random access memory, it can be with
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 input number or character information and generate with the user setting of mobile phone with
And the key signals input that function control is related.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, collect user on it or neighbouring touch operation (for example user makes
With the operation of any suitable object such as finger, stylus or attachment 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 what touch operation was brought
Signal transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and it is converted
Into contact coordinate, then processor 608 is given, and the order that processor 608 is sent can be received and performed.Furthermore, it is possible to it adopts
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 can include but
One be not limited in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating lever etc.
Kind is a variety of.
Display unit 604 can be used for display by 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, liquid crystal display (Liquid Crystal may be used
Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to be configured
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 figure 6, touch panel 6031 and display surface
Plate 6041 is the component independent as two to realize the input of mobile phone and input function, 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 one 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.;As for mobile phone also
The other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, details are not described herein.
Voicefrequency circuit 606, loud speaker 6061, microphone 6062 can provide the audio interface between user and mobile phone.Audio
The transformed electric signal of the audio data received can be transferred to loud speaker 6061, is converted to by loud speaker 6061 by circuit 606
Voice signal exports;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 after audio data output processor 608 is handled, it is such as another to be sent to through RF circuits 601
Audio data is exported to memory 602 to be further processed by one mobile phone.
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 has provided wireless broadband internet to the user and has accessed.Although Fig. 6 is shown
WiFi module 607, but it is understood that, and must be configured into for mobile phone is not belonging to, it can not change as needed completely
Become in the range of the essence 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
It crosses operation or performs the software program being stored in memory 602 and/or module and call and be stored in memory 602
Data perform the various functions of mobile phone and processing data, so as 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, it should
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, so as 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 flow 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
Row is following to be operated:
First terminal receives the operational order of log-on data transmission;
The operation system information that acquisition first terminal is currently run is as the first reference value;
The first request message is sent to second terminal;Wherein, for obtaining the second reference value, second joins the first request message
Examine the operation system information that value is currently run by second terminal;
According to the first reference value and the second reference value, the operation system currently run with second terminal in first terminal is screened
Compatible data unite as target data;
Above-mentioned target data is sent to second terminal.
As an alternative embodiment, processor 608 is stored in the program code in memory 602 by calling,
It is additionally operable to perform following operation:
According to the first reference value and the second reference value, the operation system currently run with second terminal in first terminal is determined
It unites incompatible application program;
It is sent to second terminal comprising the incompatible application program of the above-mentioned operating system currently run with second terminal
List the first prompting message, in order to second terminal according to above-mentioned list download be compatible with what second terminal was currently run
The corresponding application programs of operating system.
It can be seen that in the described terminal devices of Fig. 6, can be set to avoid due to carry out data transmission two terminals
The problem of different operating system of received shipment row, the data received can not use.
It is worth noting that, in above-mentioned data transmission set and terminal device embodiment, included each unit is
It is divided according to function logic, but is not limited to above-mentioned division, as long as corresponding function can be realized;Separately
Outside, the specific name of each functional unit is also only to facilitate mutually distinguish, the protection domain being not intended to restrict the invention.
In addition, one of ordinary skill in the art will appreciate that realize all or part of step in above-mentioned each method embodiment
It is that relevant hardware can be instructed to complete by program, corresponding program can be stored in a kind of computer readable storage medium
In, storage medium mentioned above can be read-only memory, disk or CD etc..
It these are only the preferable specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, it is any
In the technical scope that those familiar with the art discloses in the embodiment of the present invention, the variation that can readily occur in or replace
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 (11)
1. a kind of data transmission method, which is characterized in that including:
First terminal receives the operational order of log-on data transmission;
Operation system information that the first terminal is currently run is obtained as the first reference value;The operation system information packet
It includes:OS name and operating system version information;
The first request message is sent to second terminal;Wherein, first request message is for obtaining the second reference value, and described the
The operation system information that two reference values are currently run by the second terminal;
According to first reference value and second reference value, screen in the first terminal with the current institute of the second terminal
The data of the operating system compatibility of operation are as target data;
The target data is sent to the second terminal;
According to first reference value and second reference value, determine in the first terminal with the current institute of the second terminal
The incompatible application program of the operating system of operation;
It is sent to the second terminal comprising the incompatible application of the operating system currently run with the second terminal
First prompting message of the list of program, in order to which the second terminal is compatible with the second terminal according to list download
The corresponding application programs of the operating system currently run.
2. method according to claim 1, which is characterized in that it is described by the target data be sent to the second terminal it
Afterwards, the method further includes:
Count the inventory of the data in addition to the target data in the first terminal;
Notification message of the output comprising the inventory is to notify user to fail to be sent to the data of the second terminal.
3. method according to claim 1 or claim 2, which is characterized in that described to send the first request message, packet to second terminal
It includes:
The first terminal establishes personal hot spot;
The second terminal is made to be connected to the personal hot spot to establish communication connection.
4. method according to claim 3, which is characterized in that the first terminal is established after personal hot spot, the method
It further includes:
Generate the ciphering two-dimension code for accessing the personal hot spot;
It is described that the second terminal is made to be connected to the personal hot spot so that before establishing the communication connection, the method is also wrapped
It includes:
The password that the second terminal is obtained by scanning the ciphering two-dimension code to input;
It is described that the second terminal is made to be connected to the personal hot spot to establish the communication connection, including:
Verify whether the password is preset password, if so, the second terminal is made to be connected to the personal hot spot to establish
The communication connection.
5. method according to claim 4, which is characterized in that work as in the screening first terminal with the second terminal
After the data of preceding run operating system compatibility are as target data, the method further includes:
Count the size of the target data;
The second request message, which is sent, to the second terminal can be used for receiving the target data to obtain the second terminal
Storage size;
Judge whether the storage size is more than or equal to the size of the target data;
If it is not, then the second prompting message is sent to the second terminal so that second terminal cleaning memory space is used to receive
The target data.
6. a kind of data transmission set, which is characterized in that 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;It is described
Operation system information includes:OS name and operating system version information;
Connection unit, for sending the first request message to second terminal;Wherein, first request message is for acquisition second
Reference value, the operation system information that second reference value is currently run by the second terminal;
Screening unit, for according to first reference value and second reference value, screen in the first terminal with it is described
The data of operating system compatibility that second terminal is currently run are as target data;
First transmitting element, for the target data to be sent to the second terminal;
Determination unit, for according to first reference value and second reference value, determine in the first terminal with it is described
The incompatible application program of operating system that second terminal is currently run;
Second transmitting element, for being sent to the second terminal comprising the operation currently run with the second terminal
First prompting message of the list of the incompatible application program of system, in order to which the second terminal is simultaneous according to list download
It is dissolved in the corresponding application programs for the operating system that the second terminal is currently run.
7. equipment according to claim 6, which is characterized in that the equipment further includes:
First statistic unit, for counting the inventory of the data in addition to the target data in the first terminal;
Output unit, for exporting the notification message comprising the inventory so that user to be notified to fail to be sent to the second terminal
Data.
8. the equipment described according to claim 6 or 7, which is characterized in that the connection unit, including:
Subelement is established, for establishing personal hot spot;
Enabled subelement is communicated to connect for the second terminal to be made to be connected to the personal hot spot with establishing.
9. equipment according to claim 8, which is characterized in that the equipment further includes:
Generation unit, for generating the ciphering two-dimension code for accessing the personal hot spot;
Second acquisition unit, for obtaining the second terminal by scanning the ciphering two-dimension code the password that inputs;
The enabled subelement, specifically for verifying whether the password is preset password, if so, connecting the second terminal
The personal hot spot is connected to establish the communication connection.
10. equipment according to claim 9, which is characterized in that the equipment further includes:
Second statistic unit, for counting the size of the target data;
Third transmitting element can be used for connecing for sending the second request message to the second terminal to obtain the second terminal
Receive the storage size of the target data;
Judging unit, for judging whether the storage size is more than or equal to the size of the target data;
4th transmitting element, for when the storage size be less than the target data size when, to described second eventually
End sends the second prompting message so that second terminal cleaning memory space is used to receive the target data.
11. a kind of computer readable storage medium, which is characterized in that the computer-readable recording medium storage has program, institute
It states program to be used to instruct relevant hardware, to complete the method described in claim 1 to 5 any one.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610913465.5A CN106341809B (en) | 2016-10-19 | 2016-10-19 | A kind of data transmission method and equipment |
CN201810359577.XA CN108834132B (en) | 2016-10-19 | 2016-10-19 | Data transmission method and equipment and related medium product |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610913465.5A CN106341809B (en) | 2016-10-19 | 2016-10-19 | A kind of data transmission method and equipment |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810359577.XA Division CN108834132B (en) | 2016-10-19 | 2016-10-19 | Data transmission method and equipment and related medium product |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106341809A CN106341809A (en) | 2017-01-18 |
CN106341809B true CN106341809B (en) | 2018-06-26 |
Family
ID=57839376
Family Applications (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810359577.XA Active CN108834132B (en) | 2016-10-19 | 2016-10-19 | Data transmission method and equipment and related medium product |
CN201610913465.5A Active CN106341809B (en) | 2016-10-19 | 2016-10-19 | A kind of data transmission method and equipment |
Family Applications Before (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810359577.XA Active CN108834132B (en) | 2016-10-19 | 2016-10-19 | Data transmission method and equipment and related medium product |
Country Status (1)
Country | Link |
---|---|
CN (2) | CN108834132B (en) |
Families Citing this family (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106921961A (en) * | 2017-01-25 | 2017-07-04 | 北京奇虎科技有限公司 | Data transmission method, device and mobile terminal between a kind of different system |
CN107124714B (en) * | 2017-04-13 | 2021-02-23 | 北京珠穆朗玛移动通信有限公司 | Data transmission method and data transmission terminal |
CN107071765B (en) * | 2017-04-13 | 2020-05-22 | 北京珠穆朗玛移动通信有限公司 | Data receiving method and data receiving terminal |
CN107329780B (en) * | 2017-06-21 | 2021-03-12 | Oppo广东移动通信有限公司 | Data processing method and related product |
CN107862199B (en) * | 2017-10-31 | 2020-12-04 | 家家云科技(深圳)有限公司 | Data access method, terminal and computer readable storage medium |
CN108833090A (en) * | 2018-05-25 | 2018-11-16 | 四川斐讯信息技术有限公司 | It is a kind of to store the encryption method of equipment, decryption method and storage equipment |
CN114390485A (en) * | 2020-10-21 | 2022-04-22 | 华为技术有限公司 | Data transmission method and electronic equipment |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102098800B (en) * | 2010-12-28 | 2014-09-10 | 中兴通讯股份有限公司 | Processing device and processing system for mobile gateway, and method for processing data |
US20140274207A1 (en) * | 2013-03-14 | 2014-09-18 | Sheng-Yuan SHIH | Data transfer device for mobile terminal |
US20150081761A1 (en) * | 2013-09-17 | 2015-03-19 | Nvidia Corporation | Determining format compatibility across a data processing device and another data processing device prior to transfer of a multimedia file therebetween |
CN104202714A (en) * | 2014-08-05 | 2014-12-10 | 深圳市元征科技股份有限公司 | Mobile terminal near field communication method and system for heterogeneous operating system |
CN105263195B (en) * | 2015-09-23 | 2018-11-02 | 努比亚技术有限公司 | Data transmission device and method |
-
2016
- 2016-10-19 CN CN201810359577.XA patent/CN108834132B/en active Active
- 2016-10-19 CN CN201610913465.5A patent/CN106341809B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN108834132B (en) | 2021-06-01 |
CN106341809A (en) | 2017-01-18 |
CN108834132A (en) | 2018-11-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106341809B (en) | A kind of data transmission method and equipment | |
CN104426963B (en) | The method and terminal of associated terminal | |
CN104598262A (en) | Method and device for updating mobile application | |
CN106658354B (en) | A kind of data transmission method and equipment | |
WO2015035947A1 (en) | Method for realizing cellphone without card, cellphone and server | |
CN104901806B (en) | A kind of virtual resource processing method, device and system | |
CN104301315A (en) | Method and device for limiting information access | |
CN106550361B (en) | Data transmission method, equipment and computer readable storage medium | |
CN106331370A (en) | Data transmission method and terminal device | |
CN105373237A (en) | Data input method and terminal | |
CN105530239A (en) | Multimedia data obtaining method and device | |
CN103338193A (en) | Method, system and device for initial media equipment | |
CN106506815A (en) | A kind of application enables method and relevant device | |
CN106407771A (en) | Message management method and device | |
CN104699501A (en) | Method and device for running application program | |
CN104573437A (en) | Information authentication method, device and terminal | |
CN103561155B (en) | Send the method for note, device and terminal | |
CN107465646B (en) | A kind of application method for down loading, system and relevant device | |
CN106020945B (en) | Shortcut item adding method and device | |
CN104202301A (en) | Numerical value transferring method and device | |
CN105553718A (en) | Method and device for displaying guidance information | |
CN107249168A (en) | A kind of data directional transmissions and method of reseptance and device | |
CN104866288A (en) | Method, device and terminal for accessing application program | |
CN106506623B (en) | A kind of data transmission method and equipment | |
CN106371948B (en) | A kind of data back up method and terminal device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |
|
CP01 | Change in the name or title of a patent holder |