CN106598753B - Data transmission method, device and equipment between a kind of first terminal and second terminal - Google Patents
Data transmission method, device and equipment between a kind of first terminal and second terminal Download PDFInfo
- Publication number
- CN106598753B CN106598753B CN201611042669.2A CN201611042669A CN106598753B CN 106598753 B CN106598753 B CN 106598753B CN 201611042669 A CN201611042669 A CN 201611042669A CN 106598753 B CN106598753 B CN 106598753B
- Authority
- CN
- China
- Prior art keywords
- terminal
- data transmission
- attribute information
- transmission table
- data
- 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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/543—User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention provides data transmission method, device and equipment between a kind of first terminal and second terminal, this method is applied to first terminal, it include: the first attribute information for obtaining second terminal, the first attribute information includes the version information of second terminal and the interface message that second terminal is supported;First attribute information is compared with the second attribute information, to obtain comparison result, the second attribute information is the attribute information of first terminal, and the second attribute information includes the version information of first terminal and the interface message that first terminal is supported;The first data transmission table of data transmission is generated according to comparison result.The flexibility of data transmission can be improved in the embodiment of the present invention.
Description
Technical field
The present invention relates to fields of communication technology, and in particular to transmission side data between a kind of first terminal and second terminal
Method, device and equipment.
Background technique
With the continuous development of electronic technology, the update of the terminals such as mobile phone, tablet computer is constantly being accelerated, therefore,
The frequency of user's replacement terminal is also constantly being accelerated.However, during replacement terminal, need will be in old terminal by user
Data are transferred in new terminal.Currently, determine that transmitting which data is determined by user before carrying out data transmission,
So that reducing the flexibility of data transmission.
Summary of the invention
The embodiment of the present invention provides data transmission method, device and equipment between a kind of first terminal and second terminal, can
With the flexibility of improve data transfer.
First aspect provides data transmission method between a kind of first terminal and second terminal, and the method is applied to first
Terminal, comprising:
The first attribute information of second terminal is obtained, first attribute information includes the version information of the second terminal
The interface message supported with the second terminal;
First attribute information is compared with the second attribute information, to obtain comparison result, second attribute
Information is the attribute information of the first terminal, and second attribute information includes the version information of the first terminal and described
The interface message that first terminal is supported;
The first data transmission table of the data transmission is generated according to the comparison result.
With reference to first aspect, in the first possible implementation of the first aspect, described according to the comparison result
Generating the first data transmission table that the data are transmitted includes:
Determine that the first terminal can be sent to the data to be transmitted of the second terminal according to the comparison result;
The first data transmission table of the data transmission is generated according to the data to be transmitted.
With reference to first aspect or the first possible implementation of first aspect, second in first aspect are possible
In implementation, the method also includes:
The first data transmission table is sent to the second terminal, to trigger the second terminal according to described first
Data transmission table determines the second data transmission table, and the second data transmission table is sent to the first terminal, described
Two data transmission tables belong to the first data transmission table;
Receive the second data transmission table that the second terminal is sent.
With reference to first aspect or the first possible implementation of first aspect, the third in first aspect are possible
In implementation, the method also includes:
Show the first data transmission table;
Receive the operational order for the first data transmission table of user's input;
The operational order is executed, transmits table to obtain the second data.
The possible implementation of second with reference to first aspect, in the 4th kind of possible implementation of first aspect
In, the method also includes:
The corresponding data of the second data transmission table are sent to the second terminal.
Second aspect provides a kind of data transmission device, and described device is set in first terminal, comprising:
Module is obtained, for obtaining the first attribute information of second terminal, first attribute information includes described second
The interface message that the version information of terminal and the second terminal are supported;
Comparison module, the first attribute information for obtaining the acquisition module are compared with the second attribute information,
To obtain comparison result, second attribute information is the attribute information of the first terminal, and second attribute information includes
The interface message that the version information of the first terminal and the first terminal are supported;
Generation module, the comparison result for being obtained according to the comparison module generate the first data of the data transmission
Transmit table.
In conjunction with second aspect, in the first possible implementation of the second aspect, the generation module includes:
Submodule is determined, for determining that the movement first can be sent to the second terminal according to the comparison result
Data to be transmitted;
Submodule is generated, the data to be transmitted for determining according to the determining submodule generates the of the data transmission
One data transmit table.
In conjunction with the possible implementation of the first of second aspect or second aspect, second in second aspect is possible
In implementation, described device further include:
Communication module, the first data transmission table for generating the generation module are sent to the second terminal, with
It triggers the second terminal and the second data transmission table is determined according to the first data transmission table, and second data are transmitted
Table is sent to the first terminal, and the second data transmission table belongs to the first data transmission table;
The communication module is also used to receive the second data transmission table that the second terminal is sent.
In conjunction with second of possible implementation of second aspect, in the third possible implementation of second aspect
In, the communication module is also used to the corresponding data of the second data transmission table being sent to the second terminal.
The third aspect provides a kind of computer equipment, including memory, and processor and storage on a memory and can located
The computer program run on reason device, the processor perform the steps of when executing described program
The first attribute information of second terminal is obtained, first attribute information includes the version information of the second terminal
The interface message supported with the second terminal;
First attribute information is compared with the second attribute information, to obtain comparison result, second attribute
Information is the attribute information of the computer equipment, second attribute information include the computer equipment version information and
The interface message that the computer equipment is supported;
The first data transmission table of the data transmission is generated according to the comparison result.
Fourth aspect provides a kind of readable storage medium storing program for executing, which stores data transmission device for executing
Data are transmitted between first terminal and second terminal provided by any possible implementation of first aspect or first aspect
The program code of method.
In the embodiment of the present invention, the first attribute information of second terminal is obtained, by the first attribute information and first terminal
Second attribute information is compared to obtain comparison result, and the first data transmission of data transmission is generated according to comparison result
Table can determine data transmission table, according to the attribute information of two terminals so as to the flexibility of improve data transfer.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the invention, general for this field
For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is that the process of data transmission method between a kind of first terminal provided in an embodiment of the present invention and second terminal is shown
It is intended to;
Fig. 2 is the process of data transmission method between another first terminal provided in an embodiment of the present invention and second terminal
Schematic diagram;
Fig. 3 is a kind of structural schematic diagram of data transmission device provided in an embodiment of the present invention;
Fig. 4 is the structural schematic diagram of another data transmission device provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of computer equipment provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another computer equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are some of the embodiments of the present invention, instead of all the embodiments.Based on this hair
Embodiment in bright, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall within the protection scope of the present invention.
The embodiment of the present invention provides data transmission method, device and equipment between a kind of first terminal and second terminal, can
With the flexibility of improve data transfer.It is described in detail separately below.
Referring to Fig. 1, Fig. 1 is transmission side data between a kind of first terminal provided in an embodiment of the present invention and second terminal
The flow diagram of method.Wherein, between the first terminal and second terminal data transmission method be from the mobile phones of data to be sent,
The angles of the first terminals such as tablet computer describes.As shown in Figure 1, transmission side data between the first terminal and second terminal
Method may comprise steps of.
101, the first attribute information of second terminal is obtained.
In the present embodiment, when user needs the data on first terminal being sent to second terminal, second will acquire eventually
First attribute information at end, the first attribute information may include the interface letter of the version information of second terminal, second terminal support
The information of the second terminals such as breath.The two dimension for the first attribute information including second terminal that scanning second terminal generates can be passed through
Code obtains the first attribute information of second terminal;The first of second terminal can also be obtained from network according to the mark of second terminal
Attribute information;The first attribute information of second terminal can also be obtained otherwise.
102, the first attribute information is compared with the second attribute information to obtain comparison result.
In the present embodiment, the second attribute information is the attribute information of first terminal, may include the version letter of first terminal
The information of the first terminals such as the interface message that breath, first terminal are supported.It, will after getting the first attribute information of second terminal
First attribute information is compared with the second attribute information, that is, compares the compatibility of first terminal and second terminal, to obtain ratio
Compared with as a result, for example: obtaining application, device etc. that first terminal and second terminal are supported.
103, the first data transmission table of data transmission is generated according to comparison result.
It, will after the first attribute information is compared with the second attribute information to obtain comparison result in the present embodiment
The first data transmission table of data transmission is generated according to comparison result, i.e., first determines that first terminal can be sent according to comparison result
To the data to be transmitted of second terminal, the first data transmission table of data transmission is generated according to data to be transmitted later.
The first of second terminal is obtained in data transmission method between first terminal and second terminal described in Fig. 1
First attribute information is compared with the second attribute information of first terminal to obtain comparison result by attribute information, and according to
Comparison result generates the first data transmission table of data transmission, can determine that data are transmitted according to the attribute information of two terminals
Table, so as to the flexibility of improve data transfer.
Referring to Fig. 2, Fig. 2 is data transmission between another first terminal provided in an embodiment of the present invention and second terminal
The flow diagram of method.Wherein, data transmission method is hand from data to be sent between the first terminal and second terminal
The angles of the first terminals such as machine, tablet computer describes.As shown in Fig. 2, data pass between the first terminal and second terminal
Transmission method may comprise steps of.
201, the first attribute information of second terminal is obtained.
In the present embodiment, when user needs the data on first terminal being sent to second terminal, second will acquire eventually
First attribute information at end, the first attribute information may include the interface letter of the version information of second terminal, second terminal support
The information of the second terminals such as breath.The two dimension for the first attribute information including second terminal that scanning second terminal generates can be passed through
Code obtains the first attribute information of second terminal;The first of second terminal can also be obtained from network according to the mark of second terminal
Attribute information;The first attribute information of second terminal can also be obtained otherwise.
202, the first attribute information is compared with the second attribute information to obtain comparison result.
In the present embodiment, the second attribute information is the attribute information of first terminal, may include the version letter of first terminal
The information of the first terminals such as the interface message that breath, first terminal are supported.It, will after getting the first attribute information of second terminal
First attribute information is compared with the second attribute information, that is, compares the compatibility of first terminal and second terminal, to obtain ratio
Compared with as a result, for example: obtaining application, device etc. that first terminal and second terminal are supported.
203, the first data transmission table of data transmission is generated according to comparison result.
It, will after the first attribute information is compared with the second attribute information to obtain comparison result in the present embodiment
The first data transmission table of data transmission is generated according to comparison result, i.e., first determines that first terminal can be sent according to comparison result
To the data to be transmitted of second terminal, the first data transmission table of data transmission is generated according to data to be transmitted later.
204, first data transmission table is sent to second terminal, and receives the second data transmission of second terminal transmission
Table.
It, can be directly by the after the first data transmission table that data transmission is generated according to comparison result in the present embodiment
The corresponding data of one data transmission table are sent to second terminal;First data transmission table can also be shown, so that user is to first
Data transmission table is edited, i.e. the operational order for first data transmission table of reception user input, such as: delete first
Putting in order in the certain items, adjustment first data transmission table in data transmission table, executes operational order later to obtain
Second data transmit table;First data transmission table can also be sent to second terminal, second terminal receives the first data biography
After defeated table, it will show first data transmission table, the second data transmission table determined according to first data transmission table, i.e., so as to user
First data transmission table is edited, to determine that the second data transmit table, is later sent determining the second data transmission table
To first terminal.Second data transmission table belongs to first data transmission table, can be the second data transmission table and the first data pass
The corresponding data of defeated table are the same, and only put in order difference;Being also possible to the second data transmission table is in first data transmission table
A part.
205, the corresponding data of the second data transmission table are sent to second terminal.
The first of second terminal is obtained in data transmission method between first terminal and second terminal described in Fig. 2
First attribute information is compared with the second attribute information of first terminal to obtain comparison result by attribute information, and according to
Comparison result generates the first data transmission table of data transmission, can determine that data are transmitted according to the attribute information of two terminals
Table, so as to the flexibility of improve data transfer.
Referring to Fig. 3, Fig. 3 is a kind of structural schematic diagram of data transmission device provided in an embodiment of the present invention.Wherein, should
Data transmission device is set in the first terminals such as mobile phone, tablet computer.As shown in figure 3, the data transmission device may include:
Module 301 is obtained, for obtaining the first attribute information of second terminal, the first attribute information may include second whole
The interface message that the version information and second terminal at end are supported;
Comparison module 302, the first attribute information for will acquire the acquisition of module 301 are compared with the second attribute information
Compared with to obtain comparison result, the second attribute information is the attribute information of first terminal, and the second attribute information may include first whole
The interface message that the version information and first terminal at end are supported;
Generation module 303, the first data that the comparison result for being obtained according to comparison module 302 generates data transmission pass
Defeated table.
In the data transmission device described in Fig. 3, the first attribute information of second terminal is obtained, by the first attribute information
It is compared with the second attribute information of first terminal to obtain comparison result, and generates the of data transmission according to comparison result
One data transmit table, can determine data transmission table, according to the attribute information of two terminals so as to improve data transfer
Flexibility.
Referring to Fig. 4, Fig. 4 is the structural schematic diagram of another data transmission device provided in an embodiment of the present invention.Wherein,
The data transmission device is set in the first terminals such as mobile phone, tablet computer.Wherein, data transmission device shown in Fig. 4 be by
What data transmission device shown in Fig. 3 optimized.Wherein:
Generation module 303 may include:
Determine submodule 3031, the comparison result for obtaining according to comparison module 302 determines that first terminal can be sent
To the data to be transmitted of second terminal;
Submodule 3032 is generated, for according to determining that the data to be transmitted that submodule 3031 determines generates the of data transmission
One data transmit table.
As a kind of possible embodiment, which can also include:
Communication module 304, the first data transmission table for generating generation module 303 are sent to second terminal, with touching
Hair second terminal determines the second data transmission table according to first data transmission table, and the second data transmission table is sent to first eventually
End, the second data transmission table belong to first data transmission table;
Communication module 304 is also used to receive the second data transmission table of second terminal transmission.
As a kind of possible embodiment, communication module 304 are also used to the corresponding data hair of the second data transmission table
Give second terminal.
In the data transmission device described in Fig. 4, the first attribute information of second terminal is obtained, by the first attribute information
It is compared with the second attribute information of first terminal to obtain comparison result, and generates the of data transmission according to comparison result
One data transmit table, can determine data transmission table, according to the attribute information of two terminals so as to improve data transfer
Flexibility.
Referring to Fig. 5, Fig. 5 is a kind of structural schematic diagram of computer equipment provided in an embodiment of the present invention.Wherein, the meter
Calculating machine equipment can be the first terminals such as mobile phone, tablet computer.As shown in figure 5, the computer equipment may include: at least one
Processor 501, such as CPU, memory 502, communication interface 503 and at least one communication bus 504.Memory 502 can be
High speed RAM memory is also possible to non-labile memory (non-volatile memory), for example, at least a disk
Memory.Optionally, memory 502 can also be that at least one is located remotely from the storage device of aforementioned processor 501.Wherein:
Communication bus 504, for realizing the connection communication between these components;
Batch processing code is stored in memory 502, processor 501 is for calling the program stored in memory 502
Code executes following operation:
The first attribute information of second terminal is obtained, the first attribute information may include the version information and the of second terminal
The interface message that two terminals are supported;
First attribute information is compared with the second attribute information, to obtain comparison result, the second attribute information is
The attribute information of one terminal, the second attribute information may include that the version information of the computer equipment and the computer equipment are supported
Interface message;
The first data transmission table of data transmission is generated according to comparison result.
As a kind of possible embodiment, processor 501 is passed according to the first data that comparison result generates data transmission
Defeated table includes:
Determine that the computer equipment can be sent to the data to be transmitted of second terminal according to comparison result;
The first data transmission table of data transmission is generated according to data to be transmitted.
As a kind of possible embodiment, communication interface 503, for first data transmission table to be sent to second eventually
End determines the second data transmission table to trigger second terminal according to first data transmission table, and the second data transmission table is sent
The computer equipment is given, the second data transmission table belongs to first data transmission table;
Communication interface 503 is also used to receive the second data transmission table of second terminal transmission and is sent to processor 501.
As a kind of possible embodiment, communication interface 503 are also used to the corresponding data hair of the second data transmission table
Give second terminal.
Wherein, step 101-103,201-203 can by computer equipment processor 501 and memory 502 hold
Row, step 204-205 can be executed by the communication interface 503 in computer equipment.
Wherein, obtaining module 301, comparison module 302 and generation module 303 can be by the processor in computer equipment
501 and memory 502 realize that communication module 304 can execute by the communication interface 503 in computer equipment.
In the computer equipment described in Fig. 5, obtain the first attribute information of second terminal, by the first attribute information with
Second attribute information of computer equipment is compared to obtain comparison result, and generates the of data transmission according to comparison result
One data transmit table, can determine data transmission table, according to the attribute information of computer equipment and second terminal so as to mention
The flexibility of high data transmission.
Referring to Fig. 6, Fig. 6 is the structural schematic diagram of another computer equipment provided in an embodiment of the present invention.Wherein, should
Computer equipment can be mobile phone, tablet computer etc..The computer equipment may include: radio frequency (Radio Frequency, RF)
Circuit 601, the memory 602 for being stored with one or more computer programs, input unit 603, output device 604, sensor
605, voicefrequency circuit 606, Wireless Fidelity (Wireless Fidelity, WiFi) module 607, include one or more processing
The components such as the processor 608 and power supply 609 of core.It will be understood by those skilled in the art that computer shown in Fig. 6 is set
Standby structure does not constitute the restriction to computer equipment, may include components more more or fewer than diagram, or combine certain
Component or different component layouts.Wherein:
RF circuit 601 can be used for receiving and sending messages or communication process in, signal sends and receivees.In general, RF circuit 601 wraps
Include but be not limited to antenna, at least one amplifier, tuner, one or more oscillators, subscriber identity module (Subscriber
Identity Module, SIM) card, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA),
Duplexer etc..In addition, RF circuit 601 can also be communicated with network or other computer equipments by wireless communication.It is described
Any communication standard or agreement, including but not limited to global system for mobile communications (Global System can be used in wireless communication
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), it is long term evolution (Long Term Evolution, LTE), Email, short
Messaging service (Short Messaging Service, SMS) etc..
Memory 602 can be used for storing computer program and module, and processor 608 is stored in memory by operation
602 computer program and module, thereby executing various function application and data processing.Memory 602 can mainly include
Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function
Sequence (such as sound-playing function, image player function etc.) etc.;Storage data area, which can be stored, uses institute according to computer equipment
Data (such as photo, audio data, video data for shooting etc.) of creation etc..In addition, memory 602 may include high speed with
Machine access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or its
His volatile solid-state part.Correspondingly, memory 602 can also include Memory Controller, to provide processor 608 He
Access of the input unit 603 to memory 602.
Input unit 603 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 603 may include touching
Sensitive surfaces 6031 and other input equipments 6032.Touch sensitive surface 6031, also referred to as touch display panel or Trackpad can be received
Collecting the touch operation of user on it or nearby, (for example user is being touched using any suitable object or attachment such as finger, stylus
Operation on sensitive surfaces 6031 or near touch sensitive surface 6031), and corresponding connection dress is driven according to preset formula
It sets.Optionally, touch sensitive surface 6031 may include both touch detecting apparatus and touch controller.Wherein, touch detection fills
The touch orientation of detection user is set, and detects touch operation bring signal, transmits a signal to touch controller;Touch control
Device receives touch information from touch detecting apparatus, and is converted into contact coordinate, then gives processor 608, and can receive
Order that processor 608 is sent simultaneously is executed.Furthermore, it is possible to using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Multiple types realize touch sensitive surface 6031.In addition to touch sensitive surface 6031, input unit 603 can also include other input equipments
6032.Specifically, other input equipments 6032 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Output device 604 can be used for showing information input by user or the information and computer equipment that are supplied to user
Various graphic user interfaces, these graphic user interfaces can be by figure, text, icon, video and any combination thereof come structure
At.Output device 604 may include display panel 6041, and optionally, display panel 6041 can use liquid crystal display (Liquid
Crystal Display, LCD), the forms such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED)
To configure.Further, touch sensitive surface 6031 can cover display panel 6041, when touch sensitive surface 6031 detect it is on it or attached
After close touch operation, processor 608 is sent to determine the type of touch event, is followed by subsequent processing device 608 according to touch event
Type corresponding visual output is provided on display panel 6041.Although in Fig. 6, touch sensitive surface 6031 and display panel
6041 be to realize input and input function as two independent components, but in some embodiments it is possible to by touch-sensitive table
Face 6031 and display panel 6041 integrate and realize and output and input function.
Computer equipment may also include at least one sensor 605, such as range sensor, optical sensor, motion-sensing
Device and other sensors.Specifically, range sensor is used to detect the object of computer equipment screen Yu coverage machine equipment
The distance between body, optical sensor are used to detect the optical signal of computer equipment external environment.As a kind of motion sensor,
Gravity accelerometer can detect the size of (generally three axis) acceleration in all directions, can detect that gravity when static
Size and direction can be used to identify application (such as horizontal/vertical screen switching, dependent game, the magnetometer posture of computer equipment posture
Calibration), Vibration identification correlation function (such as pedometer, tap) etc.;The gyroscope that can also configure as computer equipment equipment,
The other sensors such as barometer, hygrometer, thermometer, infrared sensor, details are not described herein again.
Voicefrequency circuit 606 can be loudspeaker 6061 and microphone 6062, it is possible to provide between user and computer equipment
Audio interface.Electric signal after the audio data received conversion can be transferred to loudspeaker 6061, by raising by voicefrequency circuit 606
Sound device 6061 is converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 6062, by
Voicefrequency circuit 606 is converted to audio data after receiving, then by after the processing of audio data output processor 608, through RF circuit 601 with
It is sent to such as another equipment, or audio data is exported to memory 602 to be further processed.Voicefrequency circuit 606 is also
It may include earphone jack, to provide the communication of peripheral hardware earphone and computer equipment.
WiFi belongs to short range wireless transmission technology, and computer equipment can help user to receive and dispatch by WiFi module 607
Email, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 6
WiFi module 607 is shown, but it is understood that, and it is not belonging to must be configured into for computer equipment, it completely can root
It is omitted within the scope of not changing the essence of the invention according to needs.
Processor 608 is the control centre of computer equipment, utilizes various interfaces and the entire computer equipment of connection
Various pieces, by running or execute the computer program being stored in memory 602 and/or module, and call storage
Data in memory 602 execute the various functions and processing data of computer equipment, to carry out to computer equipment whole
Body monitoring.Optionally, processor 608 may include one or more processing cores;Preferably, processor 608 can integrate at
Manage device and modem processor, wherein the main processing operation system of application processor, user interface and application program etc. are adjusted
Demodulation processor processed mainly handles wireless communication.It is understood that above-mentioned modem processor can not also integrate everywhere
It manages in device 608.
Computer equipment further includes the power supply 609 (such as battery) powered to all parts, it is preferred that power supply can pass through
Power-supply management system and processor 608 are logically contiguous, to realize management charging, electric discharge, Yi Jigong by power-supply management system
The functions such as consumption management.Power supply 609 can also include one or more direct currents or AC power source, recharging system, power failure inspection
The random components such as slowdown monitoring circuit, power adapter or inverter, power supply status indicator.
Although being not shown, computer equipment can also include camera, bluetooth module etc., and details are not described herein again.Specifically exist
In the embodiment of the present invention, the output device 604 (or input unit 603) of computer equipment is touch-screen display, and computer is set
Standby further includes the computer program for having memory 602, processor 608 and one or more, wherein one or more computers
Program is stored in memory 602, the program generation that processor 608 is used to that memory 602 (nonvolatile memory) to be called to store
Code executes the various method steps process in preceding method embodiment, and details are not described herein.
The embodiment of the invention also provides a kind of readable storage medium storing program for executing, which stores data transmission device
The program code of method is determined for executing Fig. 1 and data transmission table shown in Fig. 2.
The module of the embodiment of the present invention, can be with universal integrated circuit (such as central processor CPU), or with dedicated integrated electricity
Road (ASIC) Lai Shixian.
Those of ordinary skill in the art may be aware that mould described in conjunction with the examples disclosed in the embodiments of the present disclosure
Block and algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware
With the interchangeability of software, each exemplary composition and step are generally described according to function in the above description.This
A little functions are implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Specially
Industry technical staff can use different methods to achieve the described function each specific application, but this realization is not
It is considered as beyond the scope of this invention.
It is apparent to those skilled in the art that for convenience of description and succinctly, the number of foregoing description
According to the specific work process of transmitting device and module, can refer to corresponding processes in the foregoing method embodiment, it is no longer superfluous herein
It states.
In several embodiments provided herein, it should be understood that disclosed data transmission device and method, it can
To realize by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the module
Division, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple modules or group
Part can be combined or can be integrated into another system, or some features can be ignored or not executed.In addition, it is shown or
The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or module
It closes or communicates to connect, be also possible to electricity, mechanical or other forms connections.
The steps in the embodiment of the present invention can be sequentially adjusted, merged and deleted according to actual needs.
Module in the transmission of data of the embodiment of the present invention can be combined, divided and deleted according to actual needs.
The module as illustrated by the separation member may or may not be physically separated, aobvious as module
The component shown may or may not be physical module, it can and it is in one place, or may be distributed over multiple
On network module.Some or all of the modules therein can be selected to realize the embodiment of the present invention according to the actual needs
Purpose.
It, can also be in addition, each functional module in each embodiment of the present invention can integrate in a processing module
It is that modules physically exist alone, is also possible to two or more modules and is integrated in a module.It is above-mentioned integrated
Module both can take the form of hardware realization, can also be realized in the form of software function module.
If the integrated module is realized in the form of software function module and sells or use as independent product
When, it can store in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially
The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words
It embodies, which is stored in a storage medium, including some instructions are used so that a computer
Equipment (can be personal computer, server or the network equipment etc.) executes the complete of each embodiment the method for the present invention
Portion or part steps.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only
Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can store journey
The medium of sequence code.
Above to data transmission method, device and equipment between first terminal provided in an embodiment of the present invention and second terminal
It is described in detail, used herein a specific example illustrates the principle and implementation of the invention, the above reality
The explanation for applying example is merely used to help understand method and its core concept of the invention;Meanwhile for the general technology of this field
Personnel, according to the thought of the present invention, there will be changes in the specific implementation manner and application range, in conclusion this theory
Bright book content should not be construed as limiting the invention.
Claims (6)
1. data transmission method between a kind of first terminal and second terminal, which is characterized in that the method is applied to first eventually
End, comprising:
The first attribute information of second terminal is obtained, first attribute information includes version information and the institute of the second terminal
State the interface message of second terminal support;
First attribute information is compared with the second attribute information, to obtain comparison result, second attribute information
It is the attribute information of the first terminal, second attribute information includes the version information and described first of the first terminal
The interface message that terminal is supported;
Determine that the first terminal can be sent to the data to be transmitted of the second terminal according to the comparison result;
The first data transmission table of the data transmission is generated according to the data to be transmitted;
The first data transmission table is sent to the second terminal, to trigger the second terminal according to first data
Transmission table determines the second data transmission table, and the second data transmission table is sent to the first terminal, second number
Belong to the first data transmission table according to transmission table;
Receive the second data transmission table that the second terminal is sent.
2. the method according to claim 1, wherein the method also includes:
Show the first data transmission table;
Receive the operational order for the first data transmission table of user's input;
The operational order is executed, transmits table to obtain the second data.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
The corresponding data of the second data transmission table are sent to the second terminal.
4. a kind of data transmission device, which is characterized in that described device is set in first terminal, comprising:
Module is obtained, for obtaining the first attribute information of second terminal, first attribute information includes the second terminal
Version information and the second terminal support interface message;
Comparison module, the first attribute information for obtaining the acquisition module is compared with the second attribute information, to obtain
Comparison result is obtained, second attribute information is the attribute information of the first terminal, and second attribute information includes described
The interface message that the version information of first terminal and the first terminal are supported;
Generation module, the comparison result for being obtained according to the comparison module generate the first data transmission of the data transmission
Table;
The generation module includes:
Determine submodule, for according to the comparison result determine the first terminal can be sent to the second terminal to
Transmit data;
Submodule is generated, the data to be transmitted for determining according to the determining submodule generates the first number of the data transmission
According to transmission table;
Communication module, the first data transmission table for generating the generation module are sent to the second terminal, with triggering
The second terminal determines the second data transmission table according to the first data transmission table, and second data transmission table is sent out
The first terminal is given, the second data transmission table belongs to the first data transmission table;
The communication module is also used to receive the second data transmission table that the second terminal is sent.
5. device according to claim 4, which is characterized in that the communication module is also used to pass second data
The corresponding data of defeated table are sent to the second terminal.
6. a kind of computer equipment, including memory, processor and storage are on a memory and the meter that can run on a processor
Calculation machine program, which is characterized in that the processor performs the steps of when executing described program
The first attribute information of second terminal is obtained, first attribute information includes version information and the institute of the second terminal
State the interface message of second terminal support;
First attribute information is compared with the second attribute information, to obtain comparison result, second attribute information
It is the attribute information of the computer equipment, second attribute information includes the version information of the computer equipment and described
The interface message that computer equipment is supported;
Determine that first terminal can be sent to the data to be transmitted of the second terminal according to the comparison result;
The first data transmission table of the data transmission is generated according to the data to be transmitted;
The first data transmission table is sent to the second terminal, to trigger the second terminal according to first data
Transmission table determines the second data transmission table, and the second data transmission table is sent to the first terminal, second number
Belong to the first data transmission table according to transmission table;
Receive the second data transmission table that the second terminal is sent.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611042669.2A CN106598753B (en) | 2016-11-21 | 2016-11-21 | Data transmission method, device and equipment between a kind of first terminal and second terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611042669.2A CN106598753B (en) | 2016-11-21 | 2016-11-21 | Data transmission method, device and equipment between a kind of first terminal and second terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106598753A CN106598753A (en) | 2017-04-26 |
CN106598753B true CN106598753B (en) | 2019-08-16 |
Family
ID=58592945
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611042669.2A Active CN106598753B (en) | 2016-11-21 | 2016-11-21 | Data transmission method, device and equipment between a kind of first terminal and second terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106598753B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103109271A (en) * | 2012-08-30 | 2013-05-15 | 华为技术有限公司 | Inter-platform application migration realization method and system |
CN105827715A (en) * | 2016-04-01 | 2016-08-03 | 乐视控股(北京)有限公司 | Information sharing method and apparatus |
CN105847374A (en) * | 2016-04-01 | 2016-08-10 | 乐视控股(北京)有限公司 | Terminal information synchronization method and device, and information synchronization system |
-
2016
- 2016-11-21 CN CN201611042669.2A patent/CN106598753B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103109271A (en) * | 2012-08-30 | 2013-05-15 | 华为技术有限公司 | Inter-platform application migration realization method and system |
CN105827715A (en) * | 2016-04-01 | 2016-08-03 | 乐视控股(北京)有限公司 | Information sharing method and apparatus |
CN105847374A (en) * | 2016-04-01 | 2016-08-10 | 乐视控股(北京)有限公司 | Terminal information synchronization method and device, and information synchronization system |
Also Published As
Publication number | Publication date |
---|---|
CN106598753A (en) | 2017-04-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104571787B (en) | A kind of message display method and communication terminal | |
CN106357897B (en) | The acquisition methods and device of drop information | |
CN104519485B (en) | Communication means, device and system between a kind of terminal | |
CN105278937B (en) | A kind of method and device showing pop-up box message | |
CN103389863B (en) | A kind of display control method and device | |
CN104636047B (en) | The method, apparatus and touch screen terminal operated to the object in list | |
CN104298491B (en) | Message treatment method and device | |
CN104252341B (en) | The client device of the skin change method of application program, device and application program | |
CN104238893B (en) | A kind of method and apparatus that video preview picture is shown | |
CN104572046B (en) | A kind of storehouse restoring method and computer system | |
CN108958606B (en) | Split screen display method and device, storage medium and electronic equipment | |
CN106453597B (en) | The method of adjustment of data synchronizing cycles, apparatus and system | |
CN105245432B (en) | Unread message counting method and device and terminal | |
CN105530239B (en) | Multi-medium data acquisition methods and device | |
CN106775262A (en) | A kind of method and system of mark display management of not interpreting blueprints | |
CN106303605B (en) | A kind of methods, devices and systems to send a notification message | |
CN106445721B (en) | The method and mobile terminal of house dog fault-tolerant processing | |
CN109739394A (en) | A kind of processing method of SAR value, mobile terminal | |
CN107465802A (en) | A kind of methods, devices and systems for showing communication message | |
CN106789307B (en) | Configuration data processing method, apparatus and system | |
CN105700620B (en) | A kind of method and apparatus executing control instruction | |
CN106817489B (en) | The reminding method and mobile terminal of message | |
CN106330672A (en) | Instant messaging method and system | |
CN109688611A (en) | A kind of configuration method, device, terminal and the storage medium of frequency range parameter | |
CN106254673B (en) | Terminal falls detection method 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18 Patentee before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd. |