CN108834132B - Data transmission method and equipment and related medium product - Google Patents

Data transmission method and equipment and related medium product Download PDF

Info

Publication number
CN108834132B
CN108834132B CN201810359577.XA CN201810359577A CN108834132B CN 108834132 B CN108834132 B CN 108834132B CN 201810359577 A CN201810359577 A CN 201810359577A CN 108834132 B CN108834132 B CN 108834132B
Authority
CN
China
Prior art keywords
terminal
operating
value
data
currently operated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810359577.XA
Other languages
Chinese (zh)
Other versions
CN108834132A (en
Inventor
黄宏用
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201610913465.5A priority Critical patent/CN106341809B/en
Priority to CN201810359577.XA priority patent/CN108834132B/en
Publication of CN108834132A publication Critical patent/CN108834132A/en
Application granted granted Critical
Publication of CN108834132B publication Critical patent/CN108834132B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic or resource management
    • H04W28/16Central resource management; Negotiation of resources or communication parameters, e.g. negotiating bandwidth or QoS [Quality of Service]
    • H04W28/18Negotiating wireless communication parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • H04W8/205Transfer to or from user equipment or user record carrier
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]

Abstract

The embodiment of the invention discloses a data transmission method and equipment. Wherein, the method comprises the following steps: a first terminal receives an operation instruction for starting data transmission; acquiring information of an operating system currently operated by a first terminal as a first reference value; sending a first request message to a second terminal; the first request message is used for acquiring a second reference value, and the second reference value is information of an operating system currently operated by the second terminal; screening data compatible with an operating system currently operated by the second terminal in the first terminal as target data according to the first reference value and the second reference value; and sending the target data to a second terminal. By implementing the embodiment of the invention, the problem that the received data cannot be used because two terminal devices for data transmission run different operating systems can be avoided.

Description

Data transmission method and equipment and related medium product
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a data transmission method and apparatus, and a related medium product.
Background
With the popularization of terminal devices such as smartphones, tablet computers, Personal Digital Assistants (PDAs), etc., the use of these terminal devices for operations such as entertainment, shopping, payment, information inquiry, etc. has become a popular life style.
While intelligent terminal equipment brings convenience to life of people, more and more personal data of users are gradually accumulated in the terminal equipment. If a user needs to replace a new terminal device, the user often wants to transfer a large amount of personal data stored in the old terminal device to the new terminal device.
However, since the new and old terminal devices may run different operating systems, a problem may arise in that data transferred to the new terminal device cannot be used.
Disclosure of Invention
The embodiment of the invention provides a data transmission method and device, which can avoid the problem that received data cannot be used because two terminal devices for data transmission run different operating systems.
The first aspect of the embodiments of the present invention discloses a data transmission method, including:
a first terminal receives an operation instruction for starting data transmission;
acquiring information of an operating system currently operated by the first terminal as a first reference value;
sending a first request message to a second terminal; the first request message is used for acquiring a second reference value, and the second reference value is information of an operating system currently operated by the second terminal;
screening data compatible with an operating system currently operated by the second terminal in the first terminal as target data according to the first reference value and the second reference value;
and sending the target data to the second terminal.
As an optional implementation manner, after the target data is sent to the second terminal, the method further includes:
counting a list of data except the target data in the first terminal;
outputting a notification message containing the list to notify a user of data that was not sent to the second terminal.
As an optional implementation manner, after the target data is sent to the second terminal, the method further includes:
determining an application program incompatible with an operating system currently operated by the second terminal in the first terminal according to the first reference value and the second reference value;
and sending a first prompt message containing the list of the application programs incompatible with the operating system currently operated by the second terminal to the second terminal, so that the second terminal can download the corresponding application programs compatible with the operating system currently operated by the second terminal according to the list.
As an optional implementation manner, the sending the first request message to the second terminal includes:
the first terminal establishes a personal hotspot;
connecting the second terminal to the personal hotspot to establish the communication connection.
As an optional implementation manner, after the first terminal establishes the personal hotspot, the method further includes:
generating an encrypted two-dimensional code for accessing the personal hotspot;
before the causing the second terminal to connect to the personal hotspot to establish the communication connection, the method further comprises:
acquiring a password input by the second terminal through scanning the encrypted two-dimensional code;
said causing the second terminal to connect to the personal hotspot to establish the communication connection comprises:
and verifying whether the password is a preset password, and if so, connecting the second terminal to the personal hotspot to establish the communication connection.
As an optional implementation manner, after the screening, as target data, data in the first terminal that is compatible with an operating system currently run by the second terminal, the method further includes:
counting the size of the target data;
sending a second request message to the second terminal to acquire the size of a storage space which can be used by the second terminal for receiving the target data;
judging whether the size of the storage space is larger than or equal to that of the target data or not;
and if not, sending a second prompt message to the second terminal so that the second terminal clears the storage space for receiving the target data.
A second aspect of the embodiments of the present invention discloses a data transmission device, including:
the receiving unit is used for receiving an operation instruction for starting data transmission;
the first acquisition unit is used for acquiring the information of the operating system currently operated by the first terminal as a first reference value;
a connection unit, configured to send a first request message to a second terminal; the first request message is used for acquiring a second reference value, and the second reference value is information of an operating system currently operated by the second terminal;
the screening unit is used for screening data compatible with the operating system currently operated by the second terminal in the first terminal as target data according to the first reference value and the second reference value;
and the first sending unit is used for sending the target data to the second terminal.
As an optional implementation, the apparatus further comprises:
the first statistic unit is used for counting a list of data except the target data in the first terminal;
an output unit configured to output a notification message including the list to notify a user of data that cannot be transmitted to the second terminal.
As an optional implementation, the apparatus further comprises:
a determining unit, configured to determine, according to the first reference value and the second reference value, an application program that is incompatible with an operating system currently running in the second terminal in the first terminal;
a second sending unit, configured to send, to the second terminal, a first prompt message including the list of the application programs that are incompatible with the operating system currently operated by the second terminal, so that the second terminal can download, according to the list, the corresponding application program that is compatible with the operating system currently operated by the second terminal.
As an optional implementation, the connection unit includes:
the establishing subunit is used for establishing a personal hotspot;
an enabling subunit, configured to enable the second terminal to connect to the personal hotspot to establish the communication connection.
As an optional implementation, the apparatus further comprises:
the generating unit is used for generating an encrypted two-dimensional code for accessing the personal hotspot;
a second acquisition unit configured to acquire a password input by the second terminal by scanning the encrypted two-dimensional code;
the enabling subunit is specifically configured to verify whether the password is a preset password, and if so, connect the second terminal to the personal hotspot to establish the communication connection.
As an optional implementation, the apparatus further comprises:
the second statistical unit is used for counting the size of the target data;
a third sending unit, configured to send a second request message to the second terminal to obtain a size of a storage space available for the second terminal to receive the target data;
the judging unit is used for judging whether the size of the storage space is larger than or equal to that of the target data;
and a fourth sending unit, configured to send a second prompt message to the second terminal when the size of the storage space is smaller than the size of the target data, so that the second terminal clears the storage space to receive the target data.
A third aspect of the embodiments of the present invention discloses a terminal device, including: a processor and a memory, the processor being configured to perform the method disclosed in the first aspect above.
In the embodiment of the invention, a first terminal receives an operation instruction for starting data transmission; acquiring information of an operating system currently operated by the first terminal as a first reference value; sending a first request message to a second terminal; the first request message is used for acquiring a second reference value, and the second reference value is information of an operating system currently operated by the second terminal; screening data compatible with an operating system currently operated by the second terminal in the first terminal as target data according to the first reference value and the second reference value; and sending the target data to the second terminal. Therefore, by implementing the embodiment of the invention, the problem that the received data cannot be used because the two terminal devices for data transmission run different operating systems can be avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a data transmission method according to an embodiment of the present invention;
fig. 2 is a schematic flow chart of another data transmission method according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another data transmission device disclosed in the embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal device disclosed in the embodiment of the present invention;
fig. 6 is a schematic structural diagram of another terminal device disclosed in the embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," and the like in the description and claims of the present invention and in the above-described drawings are used for distinguishing between different objects and not for describing a particular order. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, or apparatus.
The embodiment of the invention provides a data transmission method and device, which can avoid the problem that received data cannot be used because two terminal devices for data transmission run different operating systems. The following are detailed below.
Referring to fig. 1, fig. 1 is a schematic flow chart of a data transmission method according to an embodiment of the present invention. The method shown in fig. 1 may include the following steps:
101. the first terminal receives an operation instruction for starting data transmission.
In the embodiment of the present invention, the terminal device may be a smart phone, a smart watch, a palm computer, a tablet computer, a Personal Digital Assistant (PDA), a Point of Sales (POS), or the like, and the following description of the embodiment of the present invention will not be repeated.
As an optional implementation manner, the first terminal monitors a sliding track input by a finger of a user on the touch screen, verifies whether the sliding track is a sliding track corresponding to starting data transmission, and starts a data transmission function if the sliding track is the sliding track corresponding to starting data transmission.
102. And acquiring the information of the operating system currently operated by the first terminal as a first reference value.
In the embodiment of the present invention, the operating system currently operated by the first terminal may be an IOS operating system, an android operating system, or a WINDOWS operating system, and specifically which operating system is adopted, which is not limited in the embodiment of the present invention. Taking the Android system running on the first terminal as an example, the first reference value may be version information of the Android system currently running on the first terminal, for example, Android 6.0.
103. Sending a first request message to a second terminal; the first request message is used for acquiring a second reference value, and the second reference value is information of an operating system currently operated by the second terminal.
In the embodiment of the invention, after the first terminal establishes communication connection with the second terminal, a first request message is sent to the second terminal through the communication connection; the first request message is used for enabling the second terminal to return the information of the operating system currently operated by the second terminal; for example, the operating system currently run by the second terminal is an IOS system, and the version number is 10.0.2.
104. And screening data compatible with the operating system currently operated by the second terminal in the first terminal as target data according to the first reference value and the second reference value.
For example, if the first terminal runs an android system and the second terminal runs an IOS system, data of many applications in the first terminal is incompatible with the second terminal. In this case, data transmission in the first terminal that is compatible with the operating system currently running in the second terminal, such as photos, videos, etc., may be filtered to the second terminal.
105. And sending the target data to a second terminal.
In the embodiment of the invention, after the data compatible with the operating system currently operated by the second terminal is screened as the target data, the target data is sent to the second terminal through the communication connection established before.
As an optional implementation manner, after the target data is sent to the second terminal, the first terminal may also count a list of data in the first terminal except for the target data, and then output a notification message containing the list to notify the user of the data which cannot be sent to the second terminal.
Therefore, by implementing the method described in fig. 1, the problem that the received data cannot be used because two terminal devices performing data transmission run different operating systems can be avoided. In addition, after the data which can be compatible with the terminal equipment serving as the data receiving party is sent to the terminal equipment, a notification message can be output to prompt that the user has incompatible data which is not transmitted, and the user can select to upload the remaining data to the cloud server for storage according to a list of the incompatible data or create a local copy locally on the terminal equipment of the receiving party.
Referring to fig. 2, fig. 2 is a schematic flow chart illustrating another data transmission method according to an embodiment of the present invention. As shown in fig. 2, the method may include the steps of:
201. the first terminal receives an operation instruction for starting data transmission.
202. And acquiring the information of the operating system currently operated by the first terminal as a first reference value.
203. Sending a first request message to a second terminal; the first request message is used for acquiring a second reference value, and the second reference value is information of an operating system currently operated by the second terminal.
204. And screening data compatible with the operating system currently operated by the second terminal in the first terminal as target data according to the first reference value and the second reference value.
For example, if the first terminal runs an android system and the second terminal runs an IOS system, data of many applications in the first terminal is incompatible with the second terminal. In this case, data transmission in the first terminal that is compatible with the operating system currently running in the second terminal, such as photos, videos, etc., may be filtered to the second terminal.
In addition, the first terminal may count the size of the target data, and then send a second request message to the second terminal to obtain the size of the storage space available for the second terminal to receive the target data; and if the size of the storage space is smaller than that of the target data, sending a second prompt message to the second terminal so that the second terminal clears the storage space for receiving the target data.
205. And sending the target data to a second terminal.
206. And determining the application programs which are incompatible with the operating system currently operated by the second terminal in the first terminal according to the first reference value and the second reference value.
For example, if the first terminal runs an android system and the second terminal runs an IOS system, many applications in the first terminal are incompatible with the second terminal.
207. And sending a first prompt message containing the list of the application programs incompatible with the operating system currently operated by the second terminal to the second terminal, so that the second terminal can download the corresponding application programs compatible with the operating system currently operated by the second terminal according to the list.
In the embodiment of the present invention, the second terminal may download, from the app store, the corresponding app compatible with the system of the second terminal according to the incompatible app list.
Therefore, the method described in fig. 2 can avoid the problem that the received data cannot be used because the two terminal devices performing data transmission run different operating systems. In addition to this, the terminal device as the data receiver can download the corresponding application compatible with its system from the application store based on the above-described incompatible application list.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention. As shown in fig. 3, the apparatus may include:
the receiving unit 301 is configured to receive an operation instruction for starting data transmission.
A first obtaining unit 302, configured to obtain operating system information currently run by the first terminal as a first reference value.
A connection unit 303, configured to send a first request message to the second terminal; the first request message is used for acquiring a second reference value, and the second reference value is information of an operating system currently operated by the second terminal.
And a screening unit 304, configured to screen, as target data, data in the first terminal that is compatible with the operating system currently operated by the second terminal according to the first reference value and the second reference value.
A first sending unit 305, configured to send the target data to a second terminal.
Therefore, with the data transmission device described in fig. 3, the problem that the received data cannot be used because two terminal devices performing data transmission run different operating systems can be avoided.
Referring to fig. 4, fig. 4 is a schematic structural diagram of another data transmission device according to an embodiment of the present invention. Wherein, the data transmission device shown in fig. 4 is obtained by optimizing the device shown in fig. 3, and compared with the device shown in fig. 3, the device shown in fig. 4 further includes:
a determining unit 306, configured to determine, according to the first reference value and the second reference value, an application program that is incompatible with an operating system currently running in the second terminal in the first terminal.
A second sending unit 307, configured to send a first prompt message including the list of the application programs incompatible with the operating system currently operated by the second terminal to the second terminal, so that the second terminal downloads, according to the list, the corresponding application program compatible with the operating system currently operated by the second terminal.
As an optional implementation, the connection unit 303 includes:
an establishing subunit 3031, configured to establish a personal hotspot.
An enabling subunit 3032, configured to enable the second terminal to connect to the personal hotspot to establish the communication connection.
As an alternative embodiment, the apparatus shown in fig. 4 further comprises:
a generating unit 308, configured to generate an encrypted two-dimensional code for accessing the personal hotspot;
a second obtaining unit 309, configured to obtain a password input by the second terminal by scanning the encrypted two-dimensional code;
the enabling subunit 3032 is specifically configured to verify whether the password is a preset password, and if so, connect the second terminal to the personal hotspot to establish the communication connection.
Therefore, with the data transmission device described in fig. 4, the problem that the received data cannot be used because two terminal devices performing data transmission run different operating systems can be avoided. In addition, communication connection is established between the two terminal devices in an encrypted personal hotspot mode, so that the risk of data leakage in the data transmission process can be reduced.
Referring to fig. 5, fig. 5 is a schematic structural diagram of a terminal device 500 according to an embodiment of the present invention. As shown in fig. 5, the terminal device 500 includes: a processor 501 and a memory 502; wherein the memory 502 can be used for the cache required by the processor 501 to execute data processing, and can also be used for providing a storage space for data called by the processor 501 to execute data processing and obtained result data.
In the embodiment of the present invention, the processor 501 calls the program code stored in the memory 502 to perform the following operations:
a first terminal receives an operation instruction for starting data transmission;
acquiring information of an operating system currently operated by a first terminal as a first reference value;
sending a first request message to a second terminal; the first request message is used for acquiring a second reference value, and the second reference value is information of an operating system currently operated by the second terminal;
screening data compatible with an operating system currently operated by the second terminal in the first terminal as target data according to the first reference value and the second reference value;
and sending the target data to a second terminal.
Therefore, in the terminal device described in fig. 5, the problem that the received data cannot be used because the two terminal devices performing data transmission run different operating systems can be avoided.
Referring to fig. 6, fig. 6 is a schematic structural diagram of another terminal device 600 according to an embodiment of the present invention. As shown in fig. 6, for convenience of illustration, only the portion related to the embodiment of the present invention is shown, and details of the technique are not disclosed, please refer to the method portion of the embodiment of the present invention. The terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, etc., taking the terminal as the mobile phone as an example:
fig. 6 is a block diagram illustrating a partial structure of a mobile phone related to a terminal provided in an embodiment of the present invention. Referring to fig. 6, the handset includes: a Radio Frequency (RF) circuit 601, a memory 602, an input unit 603, a display unit 604, a sensor 605, an audio circuit 606, a wireless fidelity (WiFi) module 607, a processor 608, and a power supply 609. Those skilled in the art will appreciate that the handset configuration shown in fig. 6 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The following describes each component of the mobile phone in detail with reference to fig. 6:
the RF circuit 601 may be used for receiving and transmitting signals during information transmission and reception or during a call, and in particular, receives downlink information of a base station and then processes the received downlink information to the processor 608; in addition, the data for designing uplink is transmitted to the base station. In general, the RF circuit 601 includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, the RF circuit 601 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, Short Messaging Service (SMS), and the like.
The memory 602 may be used to store software programs and modules, and the processor 608 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 602. The memory 602 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 602 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 603 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 603 may include a touch panel 6031 and other input devices 6032. The touch panel 6031, also referred to as a touch screen, may collect touch operations of a user on or near the touch panel 6031 (e.g., operations of a user on or near the touch panel 6031 using any suitable object or accessory such as a finger, a stylus, etc.) and drive corresponding connection devices according to a preset program. Alternatively, the touch panel 6031 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 608, and can receive and execute commands sent by the processor 608. In addition, the touch panel 6031 can be implemented by various types such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 603 may include other input devices 6032 in addition to the touch panel 6031. In particular, other input devices 6032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 604 may be used to display information input by the user or information provided to the user and various menus of the cellular phone. The Display unit 604 may include a Display panel 6041, and the Display panel 6041 may be configured by using a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 6031 can cover the display panel 6041, and when the touch panel 6031 detects a touch operation on or near the touch panel 6031, the touch operation can be transmitted to the processor 608 to determine the type of the touch event, and then the processor 608 can provide a corresponding visual output on the display panel 6041 according to the type of the touch event. Although in fig. 6, the touch panel 6031 and the display panel 6041 are two separate components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 6031 and the display panel 6041 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 605, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 6041 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 6041 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuitry 606, speaker 6061, and microphone 6062 may provide an audio interface between the user and the handset. The audio circuit 606 may transmit the electrical signal converted from the received audio data to the speaker 6061, and convert the electrical signal into a sound signal by the speaker 6061 and output the sound signal; on the other hand, the microphone 6062 converts a collected sound signal into an electric signal, receives the electric signal by the audio circuit 606, converts the electric signal into audio data, and outputs the audio data to the processor 608 for processing, and then transmits the audio data to, for example, another cellular phone via the RF circuit 601, or outputs the audio data to the memory 602 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 607, and provides wireless broadband internet access for the user. Although fig. 6 shows the WiFi module 607, it is understood that it does not belong to the essential constitution of the handset, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 608 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 602 and calling data stored in the memory 602, thereby performing overall monitoring of the mobile phone. Alternatively, processor 608 may include one or more processing units; preferably, the processor 608 may integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a modem processor, which primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 608.
The handset also includes a power supply 609 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 608 via a power management system, such that the power management system may be used to manage charging, discharging, and power consumption.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the foregoing embodiment, the method flows of the steps may be implemented based on the structure of the terminal device. Where both the application layer and the operating system kernel can be viewed as components of the abstract structure of processor 608.
In an embodiment of the present invention, the processor 608 calls the program code stored in the memory 602 to perform the following operations:
a first terminal receives an operation instruction for starting data transmission;
acquiring information of an operating system currently operated by a first terminal as a first reference value;
sending a first request message to a second terminal; the first request message is used for acquiring a second reference value, and the second reference value is information of an operating system currently operated by the second terminal;
screening data compatible with an operating system currently operated by the second terminal in the first terminal as target data according to the first reference value and the second reference value;
and sending the target data to a second terminal.
As an alternative embodiment, the processor 608, by calling the program code stored in the memory 602, is further configured to:
determining an application program incompatible with an operating system currently operated by the second terminal in the first terminal according to the first reference value and the second reference value;
and sending a first prompt message containing the list of the application programs incompatible with the operating system currently operated by the second terminal to the second terminal, so that the second terminal can download the corresponding application programs compatible with the operating system currently operated by the second terminal according to the list.
Therefore, in the terminal device described in fig. 6, the problem that the received data cannot be used because the two terminal devices performing data transmission run different operating systems can be avoided.
It should be noted that, in the embodiments of the data transmission device and the terminal device, each included unit is only divided according to functional logic, but is not limited to the above division, as long as the corresponding function can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
In addition, it is understood by those skilled in the art that all or part of the steps in the above method embodiments may be implemented by related hardware, and the corresponding program may be stored in a computer readable storage medium, where the above mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the embodiment of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (7)

1. A method of data transmission, comprising:
a first terminal receives an operation instruction for starting data transmission;
acquiring information of an operating system currently operated by the first terminal as a first reference value;
sending a first request message to a second terminal; the first request message is used for acquiring a second reference value, and the second reference value is information of an operating system currently operated by the second terminal;
sending target data to the second terminal, wherein the target data is data compatible with an operating system currently operated by the second terminal in the first terminal, and the screening of the target data depends on the first reference value and the second reference value;
wherein the content of the first and second substances,
after the target data is sent to the second terminal, the method further includes:
determining an application program incompatible with an operating system currently operated by the second terminal in the first terminal according to the first reference value and the second reference value;
and sending a first prompt message containing the list of the application programs incompatible with the operating system currently operated by the second terminal to the second terminal, wherein the first prompt message is used for prompting the second terminal to download the corresponding application programs compatible with the operating system currently operated by the second terminal according to the list.
2. The method of claim 1, wherein after the sending the target data to the second terminal, the method further comprises: counting a list of data except the target data in the first terminal; and outputting a notification message containing the list, wherein the notification message is used for notifying a user of data which cannot be sent to the second terminal.
3. The method according to any one of claims 1 to 2, wherein after the screening, as the target data, the data of the first terminal that is compatible with the operating system currently run by the second terminal, the method further comprises:
counting the size of the target data;
sending a second request message to the second terminal to acquire the size of a storage space which can be used by the second terminal for receiving the target data;
judging whether the size of the storage space is larger than or equal to that of the target data or not;
and if not, sending a second prompt message to the second terminal, wherein the second prompt message is used for prompting the second terminal to clean the storage space for receiving the target data.
4. A data transmission device, comprising:
the receiving unit is used for receiving an operation instruction for starting data transmission;
the first acquisition unit is used for acquiring the information of the operating system currently operated by the first terminal as a first reference value;
a connection unit, configured to send a first request message to a second terminal; the first request message is used for acquiring a second reference value, and the second reference value is information of an operating system currently operated by the second terminal;
the first sending unit is used for sending the target data to the second terminal; the target data is data compatible with an operating system currently operated by the second terminal in the first terminal, and the screening of the target data depends on the first reference value and the second reference value;
wherein the content of the first and second substances,
the apparatus further comprises:
a determining unit, configured to determine, according to the first reference value and the second reference value, an application program that is incompatible with an operating system currently running in the second terminal in the first terminal;
a second sending unit, configured to send, to the second terminal, a first prompt message including the list of the application programs incompatible with the operating system currently operated by the second terminal, where the first prompt message is used to prompt the second terminal to download, according to the list, a corresponding application program compatible with the operating system currently operated by the second terminal.
5. A method of data transmission, comprising:
a second terminal receives a first request message from a first terminal, wherein the first request message is used for requesting to acquire a second reference value, and the second reference value is information of an operating system currently operated by the second terminal;
the second terminal sends a response message to the first terminal, wherein the response message carries the second reference value, and the response message is used for triggering the first terminal to screen data compatible with an operating system currently operated by the second terminal in the first terminal as target data according to the first reference value and the second reference value; the first reference value is operating system information operated by the first terminal; wherein the operating system information comprises: operating system name and operating system version information;
the second terminal receives the target data from the first terminal;
the response message is further used for triggering the first terminal to determine an application program which is incompatible with an operating system currently operated by the second terminal in the first terminal according to the first reference value and the second reference value;
the method further comprises the following steps:
the second terminal receives a first prompt message which is from a first terminal and contains a list of the application programs incompatible with the operating system currently operated by the second terminal, wherein the first prompt message is used for prompting the second terminal to download corresponding application programs compatible with the operating system currently operated by the second terminal according to the list; and the second terminal downloads a corresponding application program compatible with the operating system currently operated by the second terminal according to the list.
6. A terminal device, characterized in that,
the terminal device includes: a processor and a memory; wherein the processor is operable to perform the method of any one of claims 1, 2, 3 and 5 by calling program code stored in the memory.
7. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, wherein the computer program is adapted to instruct a processor to perform the method of any of claims 1, 2, 3 and 5.
CN201810359577.XA 2016-10-19 2016-10-19 Data transmission method and equipment and related medium product Active CN108834132B (en)

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
CN201810359577.XA CN108834132B (en) 2016-10-19 2016-10-19 Data transmission method and equipment and related medium product

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201610913465.5A Division CN106341809B (en) 2016-10-19 2016-10-19 A kind of data transmission method and equipment

Publications (2)

Publication Number Publication Date
CN108834132A CN108834132A (en) 2018-11-16
CN108834132B true CN108834132B (en) 2021-06-01

Family

ID=57839376

Family Applications (2)

Application Number Title Priority Date Filing Date
CN201610913465.5A Active CN106341809B (en) 2016-10-19 2016-10-19 A kind of data transmission method and equipment
CN201810359577.XA Active CN108834132B (en) 2016-10-19 2016-10-19 Data transmission method and equipment and related medium product

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN201610913465.5A Active CN106341809B (en) 2016-10-19 2016-10-19 A kind of data transmission method and equipment

Country Status (1)

Country Link
CN (2) CN106341809B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
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
CN107071765B (en) * 2017-04-13 2020-05-22 北京珠穆朗玛移动通信有限公司 Data receiving method and data receiving terminal
CN107124714B (en) * 2017-04-13 2021-02-23 北京珠穆朗玛移动通信有限公司 Data transmission method and data transmission 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

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098800A (en) * 2010-12-28 2011-06-15 中兴通讯股份有限公司 Processing device and processing system for mobile gateway, and method for processing data
CN104202714A (en) * 2014-08-05 2014-12-10 深圳市元征科技股份有限公司 Mobile terminal near field communication method and system for heterogeneous operating system
CN104468499A (en) * 2013-09-17 2015-03-25 辉达公司 Determining format compatibility across a data processing device and another data processing device prior to transfer of a multimedia file therebetween
CN105263195A (en) * 2015-09-23 2016-01-20 努比亚技术有限公司 Data transmission device and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140274207A1 (en) * 2013-03-14 2014-09-18 Sheng-Yuan SHIH Data transfer device for mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098800A (en) * 2010-12-28 2011-06-15 中兴通讯股份有限公司 Processing device and processing system for mobile gateway, and method for processing data
CN104468499A (en) * 2013-09-17 2015-03-25 辉达公司 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
CN105263195A (en) * 2015-09-23 2016-01-20 努比亚技术有限公司 Data transmission device and method

Also Published As

Publication number Publication date
CN108834132A (en) 2018-11-16
CN106341809A (en) 2017-01-18
CN106341809B (en) 2018-06-26

Similar Documents

Publication Publication Date Title
CN108834132B (en) Data transmission method and equipment and related medium product
US9344838B2 (en) Data transmission method and apparatus, and terminal with touch screen
TWI512525B (en) Method and system for associating two terminals with each other, terminal and computer-readable storage medium
CN108156508B (en) Barrage information processing method and device, mobile terminal, server and system
CN106445596B (en) Method and device for managing setting items
CN106911848B (en) Method for outputting prompt message and terminal equipment
CN105653220B (en) Screen data display method and device in remote control
CN107231159B (en) Radio frequency interference processing method, device, storage medium and terminal
WO2014094600A1 (en) Mobile terminal and method for reducing power consumption thereof
WO2018161353A1 (en) Photo sharing method and device
CN104573437A (en) Information authentication method, device and terminal
WO2018049894A1 (en) Data transmission method and device
CN106484563B (en) Data migration method and terminal equipment
WO2017000495A1 (en) Method and device for adding contacts
CN106550361B (en) Data transmission method, equipment and computer readable storage medium
CN107317918B (en) Parameter setting method and related product
CN106294528B (en) Method and device for realizing information transmission
CN106339402B (en) Method, device and system for pushing recommended content
CN108966290B (en) Network connection method and related product
CN107204882B (en) Method and equipment for filtering data packet and mobile terminal
CN107800880B (en) Method, device, mobile terminal and storage medium for displaying number of unread messages
CN106506623B (en) A kind of data transmission method and equipment
CN106371948B (en) A kind of data back up method and terminal device
CN106777383B (en) File sorting method and intelligent terminal
WO2018120905A1 (en) Message reminding method for terminal, and terminal

Legal Events

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

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

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

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

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

GR01 Patent grant
GR01 Patent grant