CN106657278B - Data transmission method and device and computer equipment - Google Patents

Data transmission method and device and computer equipment Download PDF

Info

Publication number
CN106657278B
CN106657278B CN201611042632.XA CN201611042632A CN106657278B CN 106657278 B CN106657278 B CN 106657278B CN 201611042632 A CN201611042632 A CN 201611042632A CN 106657278 B CN106657278 B CN 106657278B
Authority
CN
China
Prior art keywords
data transmission
transmission table
terminal
data
applications
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.)
Expired - Fee Related
Application number
CN201611042632.XA
Other languages
Chinese (zh)
Other versions
CN106657278A (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 CN201611042632.XA priority Critical patent/CN106657278B/en
Publication of CN106657278A publication Critical patent/CN106657278A/en
Application granted granted Critical
Publication of CN106657278B publication Critical patent/CN106657278B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/535Tracking the activity of the user

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the invention provides a data transmission method, a data transmission device and computer equipment, wherein the method is applied to a first terminal and comprises the following steps: when a transmission instruction for transmitting data to a second terminal is detected, acquiring historical use records of at least two applications in the first terminal, wherein the historical use records comprise historical use duration and/or historical starting times; calculating the priority of at least two applications according to the acquired historical use records; each of the at least two applications is prioritized to obtain a first data transfer table. The embodiment of the invention can improve the flexibility of data transmission.

Description

Data transmission method and device and computer equipment
Technical Field
The invention relates to the technical field of communication, in particular to a data transmission method, a data transmission device and computer equipment.
Background
With the continuous development of electronic technology, the updating of terminals such as mobile phones and tablet computers is accelerating, and therefore, the frequency of terminal replacement for users is also accelerating. However, in the process of replacing the terminal, the user needs to transfer the data in the old terminal to the new terminal. Currently, it is determined which data is transmitted which is determined by the user before the data transmission is performed, so that the flexibility of data transmission is reduced.
Disclosure of Invention
The embodiment of the invention provides a data transmission method, a data transmission device and computer equipment, which can improve the flexibility of data transmission.
A first aspect provides a data transmission method, which is applied to a first terminal, and includes:
when a transmission instruction for transmitting data to a second terminal is detected, acquiring historical use records of at least two applications in the first terminal, wherein the historical use records comprise historical use duration and/or historical starting times;
calculating the priority of the at least two applications according to the historical usage record;
and each application in the at least two applications is arranged according to the priority to obtain a first data transmission table.
With reference to the first aspect, in a first possible implementation manner of the first aspect, the method further includes:
sending the first data transmission table to the second terminal to trigger the second terminal to determine a second data transmission table according to the first data transmission table, and sending the second data transmission table to the first terminal;
and receiving the second data transmission table sent by the second terminal.
With reference to the first aspect, in a second possible implementation manner of the first aspect, the method further includes:
displaying the first data transmission table;
receiving an operation instruction input by a user and aiming at the first data transmission table;
and executing the operation instruction to obtain a second data transmission table.
With reference to the first or second possible implementation manner of the first aspect, in a third possible implementation manner of the first aspect, the method further includes:
and sending the data in each application to the second terminal according to the arrangement sequence in the second data transmission table.
A second aspect provides a data transmission apparatus, which is disposed in a first terminal, and includes:
the acquisition module is used for acquiring historical use records of at least two applications in the first terminal when a transmission instruction for transmitting data to a second terminal is detected, wherein the historical use records comprise historical use duration and/or historical starting times;
the calculation module is used for calculating the priority of the at least two applications according to the historical use record acquired by the acquisition module;
and the arranging module is used for arranging each application of the at least two applications according to the priority calculated by the calculating module so as to obtain a first data transmission table.
With reference to the second aspect, in a first possible implementation manner of the second aspect, the apparatus further includes:
the first communication module is used for sending the first data transmission table to the second terminal so as to trigger the second terminal to determine a second data transmission table according to the first data transmission table and send the second data transmission table to the first terminal;
the first communication module is further configured to receive the second data transmission table sent by the second terminal.
With reference to the second aspect, in a second possible implementation manner of the second aspect, the apparatus further includes:
the display module is used for displaying the first data transmission table obtained by the arrangement module;
the receiving module is used for receiving an operation instruction which is input by a user and aims at the first data transmission table displayed by the display module;
and the execution module is used for executing the operation instruction received by the receiving module so as to obtain a second data transmission table.
With reference to the first or second possible implementation manner of the second aspect, in a third possible implementation manner of the second aspect, the apparatus further includes:
and the second communication module is used for sending the data in each application to the second terminal according to the arrangement sequence in the second data transmission table.
A third aspect provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps when executing the program of:
when a transmission instruction for transmitting data to a second terminal is detected, acquiring historical use records of at least two applications in the computer equipment, wherein the historical use records comprise historical use duration and/or historical starting times;
calculating the priority of the at least two applications according to the historical usage record;
and each application in the at least two applications is arranged according to the priority to obtain a first data transmission table.
A fourth aspect provides a readable storage medium storing program code for a data transmission apparatus to perform the data transmission method disclosed in the first aspect or any one of the possible implementations of the first aspect.
In the embodiment of the invention, when a transmission instruction for transmitting data to the second terminal is detected, the historical use records of at least two applications in the first terminal are obtained, the priority of the at least two applications is calculated according to the historical use records, each application in the at least two applications is arranged according to the priority to obtain the first data transmission table, and the data transmission table can be determined according to the historical use records of the applications in the terminal, so that the flexibility of data transmission can be improved.
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 embodiments will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without creative efforts.
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 apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another computer device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. 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 embodiment of the invention provides a data transmission method, a data transmission device and computer equipment, which can improve the flexibility of data transmission. 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 data transmission method is described from the perspective of a first terminal, such as a mobile phone or a tablet computer, which is to transmit data. As shown in fig. 1, the data transmission method may include the following steps.
101. When a transmission instruction for transmitting data to a second terminal is detected, historical usage records of at least two applications in a first terminal are acquired.
In this embodiment, when a user needs to send data in a first terminal to a second terminal, the user may input a transmission instruction for transmitting data to the second terminal to the first terminal by pressing a preset key, touching a preset icon, touching a preset area, and the like, and then the first terminal detects the transmission instruction and obtains historical usage records of at least two applications in the first terminal according to the transmission instruction. Wherein, the historical usage record may include at least one of historical usage duration, historical number of starts, historical number of operations, and the like.
102. And calculating the priority of at least two applications according to the acquired historical use records.
In this embodiment, after obtaining the historical usage records of at least two applications in the first terminal, the priorities of the at least two applications are calculated according to the obtained historical usage records of the at least two applications, and when the historical usage records only include the historical usage duration, the priorities of the at least two applications are determined according to the historical usage durations of the at least two applications, and the priority of each application may be proportional to the historical usage duration of each application; when the historical use record only comprises the historical starting times, determining the priority of the at least two applications according to the historical starting times of the at least two applications, wherein the priority of each application can be in direct proportion to the historical starting times of each application; when the historical use record only comprises the historical operation times, determining the priority of the at least two applications according to the historical operation times of the at least two applications, wherein the priority of each application can be in direct proportion to the historical operation times of each application; when the historical usage record includes at least two of the historical usage time length, the historical activation times, the historical operation times and the like, the priority of the at least two applications is determined according to the at least two of the historical usage time length, the historical activation times, the historical operation times and the like of the at least two applications.
103. Each of the at least two applications is prioritized to obtain a first data transfer table.
In this embodiment, after the priorities of the at least two applications are obtained through calculation according to the obtained historical usage records, each of the at least two applications is arranged according to the priorities to obtain the first data transmission table. And immediately sending the data in each application to the second terminal according to the arrangement sequence of each application in the first data transmission table so as to improve the efficiency of data transmission.
In the data transmission method described in fig. 1, when a transmission instruction for transmitting data to the second terminal is detected, historical usage records of at least two applications in the first terminal are obtained, priorities of the at least two applications are calculated according to the historical usage records, each of the at least two applications is arranged according to the priorities to obtain the first data transmission table, and the data transmission table can be determined according to the historical usage records of the applications in the terminal, so that flexibility of data transmission can be improved.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating another data transmission method according to an embodiment of the present invention. The data transmission method is described from the perspective of a first terminal, such as a mobile phone or a tablet computer, which is to transmit data. As shown in fig. 2, the data transmission method may include the following steps.
201. When a transmission instruction for transmitting data to a second terminal is detected, historical usage records of at least two applications in a first terminal are acquired.
In this embodiment, when a user needs to send data on a first terminal to a second terminal, the user may input a transmission instruction for transmitting data to the second terminal to the first terminal by pressing a preset key, touching a preset icon, touching a preset area, and the like, and then the first terminal detects the transmission instruction and obtains historical usage records of at least two applications in the first terminal according to the transmission instruction. Wherein, the historical usage record may include at least one of historical usage duration, historical number of starts, historical number of operations, and the like.
202. And calculating the priority of at least two applications according to the acquired historical use records.
In this embodiment, after obtaining the historical usage records of at least two applications in the first terminal, the priorities of the at least two applications are calculated according to the obtained historical usage records of the at least two applications, and when the historical usage records only include the historical usage duration, the priorities of the at least two applications are determined according to the historical usage durations of the at least two applications, and the priority of each application may be proportional to the historical usage duration of each application; when the historical use record only comprises the historical starting times, determining the priority of the at least two applications according to the historical starting times of the at least two applications, wherein the priority of each application can be in direct proportion to the historical starting times of each application; when the historical use record only comprises the historical operation times, determining the priority of the at least two applications according to the historical operation times of the at least two applications, wherein the priority of each application can be in direct proportion to the historical operation times of each application; when the historical usage record includes at least two of the historical usage time length, the historical activation times, the historical operation times and the like, the priority of the at least two applications is determined according to the at least two of the historical usage time length, the historical activation times, the historical operation times and the like of the at least two applications.
203. Each of the at least two applications is prioritized to obtain a first data transfer table.
In this embodiment, after the priorities of the at least two applications are obtained through calculation according to the obtained historical usage records, each of the at least two applications is arranged according to the priorities to obtain the first data transmission table. And immediately sending the data in each application to the second terminal according to the arrangement sequence of each application in the first data transmission table so as to improve the efficiency of data transmission.
204. And displaying the first data transmission table.
In this embodiment, after the at least two applications are arranged according to the priority to obtain the first data transmission table, the first data transmission table may be displayed first, or the first data transmission table may be displayed while the data in each application is sent to the second terminal according to the arrangement order of each application in the first data transmission table.
205. And receiving an operation instruction which is input by a user and aims at the first data transmission table.
In this embodiment, since the displayed first data transmission table is editable, the user may input operation instructions for deleting a certain application in the first data transmission table, for adjusting the arrangement order of a certain application in the first data transmission table, and the like, and the first terminal may receive the operation instructions for the first data transmission table input by the user.
206. And executing the operation instruction to obtain a second data transmission table.
In this embodiment, after receiving an operation instruction for the first data transmission table input by a user, the operation instruction is executed to obtain the second data transmission table. The number of applications included in the second data transmission table may be the same as the number of applications included in the first data transmission table, except that the arrangement order of the applications is different; the second data transfer table may also comprise a smaller number of applications than the first data transfer table.
In this embodiment, after each of the at least two applications is arranged according to the priority to obtain the first data transmission table, the first data transmission table may also be sent to the second terminal to trigger the second terminal to determine the second data transmission table according to the first data transmission table, and send the second data transmission table to the first terminal; and then receiving the second data transmission table sent by the second terminal.
207. And sending the data in each of the at least two applications to the second terminal according to the arrangement sequence in the second data transmission table.
In this embodiment, when the first data transmission table is displayed first, after the operation instruction is executed to obtain the second data transmission table, the data in each of the at least two applications is sent to the second terminal according to the arrangement order in the second data transmission table. When the data in each application is transmitted to the second terminal according to the arrangement order of each application in the first data transmission table, and the first data transmission table is displayed, after the operation instruction is executed to obtain the second data transmission table, whether the arrangement order of the application corresponding to the data being transmitted in the first data transmission table and the second data transmission table and the application arranged before the application is the same or not may be judged, and when the arrangement order is the same, the data in the application arranged after the application is transmitted to the second terminal according to the arrangement order in the second data transmission table; when the data of the application is different from the data of the application, after the data of the application is sent, the data of the application which is arranged in the second data transmission table before the application but has no data to be sent may be sent first, and then the data of the application which has no data to be sent and is arranged after the application may be sent to the second terminal according to the arrangement sequence in the second data transmission table.
In the data transmission method described in fig. 2, when a transmission instruction for transmitting data to the second terminal is detected, historical usage records of at least two applications in the second terminal are obtained, priorities of the at least two applications are calculated according to the historical usage records, each of the at least two applications is arranged according to the priorities to obtain the first data transmission table, and the data transmission table can be determined according to the historical usage records of the applications in the terminal, so that flexibility of data transmission can be improved.
Referring to fig. 3, fig. 3 is a schematic structural diagram of a data transmission device according to an embodiment of the present invention. The data transmission device can be arranged in a first terminal such as a mobile phone and a tablet personal computer. As shown in fig. 3, the data transmission apparatus may include:
an obtaining module 301, configured to obtain, when a transmission instruction for transmitting data to a second terminal is detected, historical usage records of at least two applications in a first terminal, where the historical usage records may include historical usage duration and/or historical startup times;
a calculating module 302, configured to calculate priorities of at least two applications according to the historical usage records acquired by the acquiring module 301;
a ranking module 303, configured to rank each of the at least two applications according to the priority calculated by the calculating module 302, so as to obtain the first data transmission table.
In the data transmission apparatus described in fig. 3, when a transmission instruction for transmitting data to the second terminal is detected, historical usage records of at least two applications in the first terminal are acquired, priorities of the at least two applications are calculated based on the historical usage records, each of the at least two applications is arranged according to the priorities to obtain the first data transmission table, and the data transmission table can be determined based on the historical usage records of the applications in the terminal, so that flexibility of data transmission can be improved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of another data transmission device according to an embodiment of the present invention. The data transmission device can be arranged in a first terminal such as a mobile phone and a tablet personal computer. The data transmission device shown in fig. 4 is optimized from the data transmission device shown in fig. 3. Wherein:
the data transmission apparatus may further include:
a display module 304, configured to display the first data transmission table obtained by the arranging module 303;
a receiving module 305, configured to receive an operation instruction input by a user and directed to the first data transmission table displayed by the display module 304;
an executing module 306, configured to execute the operation instruction received by the receiving module 305 to obtain the second data transmission table.
As a possible implementation, the data transmission apparatus may further include:
a sending module 307, configured to send the data in each application to the second terminal according to the arrangement order in the second data transmission table obtained by the executing module 306.
In the data transmission apparatus described in fig. 4, when a transmission instruction for transmitting data to the second terminal is detected, historical usage records of at least two applications in the first terminal are acquired, priorities of the at least two applications are calculated based on the historical usage records, each of the at least two applications is arranged according to the priorities to obtain the first data transmission table, and the data transmission table can be determined based on the historical usage records of the applications in the terminal, so that flexibility of data transmission can be improved.
Referring to fig. 5, fig. 5 is a schematic structural diagram of another data transmission apparatus according to an embodiment of the present invention. The data transmission device can be arranged in a first terminal such as a mobile phone and a tablet personal computer. The data transmission device shown in fig. 5 is optimized from the data transmission device shown in fig. 3. Wherein:
the data transmission apparatus may further include:
the communication module is configured to send the first data transmission table obtained by the arranging module 303 to the second terminal, so as to trigger the second terminal to determine a second data transmission table according to the first data transmission table, and send the second data transmission table to the first terminal;
and the communication module is also used for receiving a second data transmission table sent by the second terminal.
As a possible implementation manner, the communication module is further configured to send the data in each application to the second terminal according to the arrangement order in the second data transmission table received by the first communication module.
In the data transmission apparatus described in fig. 5, when a transmission instruction for transmitting data to the second terminal is detected, historical usage records of at least two applications in the first terminal are acquired, priorities of the at least two applications are calculated based on the historical usage records, each of the at least two applications is arranged according to the priorities to obtain the first data transmission table, and the data transmission table can be determined based on the historical usage records of the applications in the terminal, so that flexibility of data transmission can be improved.
Referring to fig. 6, fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention. The computer device can be a mobile phone, a tablet computer and the like. As shown in fig. 6, the computer apparatus may include: at least one processor 601, such as a CPU, memory 602, display 603, input device 604, communication interface 605, and at least one communication bus 606. The memory 602 may be a high-speed RAM memory or a non-volatile memory (e.g., at least one disk memory). Alternatively, the memory 602 may also be at least one storage device located remotely from the aforementioned processor 601. Wherein:
a communication bus 606 for enabling connection communication between these components;
the memory 602 stores a set of program codes, and the processor 601 is configured to call the program codes stored in the memory 602 to perform the following operations:
when a transmission instruction for transmitting data to the second terminal is detected, acquiring historical use records of at least two applications in the computer equipment, wherein the historical use records can comprise historical use duration and/or historical starting times;
calculating the priority of at least two applications according to the historical usage records;
each of the at least two applications is prioritized to obtain a first data transfer table.
As a possible implementation manner, the communication interface 605 is configured to send the first data transmission table to the second terminal, so as to trigger the second terminal to determine a second data transmission table according to the first data transmission table, and send the second data transmission table to the computer device;
and receiving a second data transmission table sent by the second terminal.
As a possible implementation, the display screen 603 is used for displaying the first data transmission table;
an input device 604, configured to receive an operation instruction input by a user for the first data transmission table and send the operation instruction to the processor 601;
the processor 601 is also configured to invoke the program code stored in the memory 602 to perform the following operations:
and executing the operation instruction to obtain a second data transmission table.
As a possible implementation, the communication interface 605 is further configured to send the data in each application to the second terminal according to the arrangement order in the second data transmission table.
Wherein, the steps 101, 201, 203 and 206 can be executed by a processor 601 and a memory 602 in the computer device, the step 204 can be executed by a display screen 603 in the computer device, the step 205 can be executed by an input device 604 in the computer device, and the step 207 can be executed by a communication interface 605 in the computer device.
The obtaining module 301, the calculating module 302, the arranging module 303 and the executing module 306 can be implemented by a processor 601 and a memory 602 in a computer device, the displaying module 304 can be implemented by a display screen 603 in the computer device, the receiving module 305 can be implemented by an input device 604 in the computer device, and the sending module 307 (or a communication module) can be executed by a communication interface 605 in the computer device.
In the computer device described in fig. 6, when a transmission instruction for transmitting data to the second terminal is detected, historical usage records of at least two applications in the computer device are acquired, priorities of the at least two applications are calculated according to the historical usage records, each of the at least two applications is arranged according to the priorities to obtain the first data transmission table, and the data transmission table can be determined according to the historical usage records of the applications, so that flexibility of data transmission can be improved.
Referring to fig. 7, fig. 7 is a schematic structural diagram of another computer device according to an embodiment of the present invention. The computer device can be a mobile phone, a tablet computer and the like. The computer device may include: radio Frequency (RF) circuitry 701, memory 702 storing one or more computer programs, input devices 703, output devices 704, sensors 705, audio circuitry 706, a Wireless Fidelity (WiFi) module 707, a processor 708 including one or more processing cores, and a power supply 709. Those skilled in the art will appreciate that the computer device configuration illustrated in FIG. 7 does not constitute a limitation of computer devices, and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 701 may be used for receiving and transmitting signals during a message transmission or a call. In general, RF circuitry 701 includes, but is not limited to, an antenna, at least one Amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuit 701 may also communicate with a network or other computer device 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 702 may be used to store computer programs and modules, and the processor 708 executes various functional applications and data processing by executing the computer programs and modules stored in the memory 702. The memory 702 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 created according to the use of the computer device, such as a photographed photo, audio data, video data, etc., and the like. Further, the memory 702 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. Accordingly, the memory 702 may also include a memory controller to provide access to the memory 702 by the processor 708 and the input device 703.
The input device 703 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. Specifically, the input device 703 may include a touch panel 7031 and other input devices 7032. The touch panel 7031, also referred to as a touch display panel or a touch pad, may collect touch operations performed by a user on or near the touch panel 7031 (e.g., operations performed by the user on or near the touch panel 7031 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 7031 may include two parts, 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 708, and can receive and execute commands sent by the processor 708. In addition, the touch panel 7031 can be implemented by various types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 7031, the input apparatus 703 may include other input devices 7032. In particular, other input devices 7032 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 output device 704 may be used to display information input by or provided to a user as well as various graphical user interfaces of the computer apparatus, which may be composed of graphics, text, icons, video, and any combination thereof. The output device 704 may include a Display panel 7041, and optionally, the Display panel 7041 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 7031 may cover the display panel 7041, and when the touch panel 7031 detects a touch operation on or near the touch panel 7031, the touch operation is transmitted to the processor 708 to determine the type of the touch event, and then the processor 708 provides a corresponding visual output on the display panel 7041 according to the type of the touch event. Although in fig. 7, the touch panel 7031 and the display panel 7041 are shown as two separate components for implementing input and output functions, in some embodiments, the touch panel 7031 and the display panel 7041 can be integrated for implementing input and output functions.
The computer device may also include at least one sensor 705, such as a distance sensor, a light sensor, a motion sensor, and other sensors. In particular, the distance sensor is used for detecting the distance between the screen of the computer device and an object covering the computer device, and the light sensor is used for detecting the light signal of the environment outside the computer device. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the motion sensor is stationary, and can be used for applications of recognizing the posture of a computer device (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometers and taps), 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 computer device, the detailed description is omitted here.
The audio circuitry 706, which may be a speaker 7061 and a microphone 7062, may provide an audio interface between a user and the computer device. The audio circuit 706 can transmit the electrical signal converted from the received audio data to the speaker 7061, and the electrical signal is converted into a sound signal by the speaker 7061 and output; on the other hand, the microphone 7062 converts the collected sound signal into an electric signal, which is received by the audio circuit 706 and converted into audio data, which is then processed by the audio data output processor 708, and then transmitted to, for example, another device via the RF circuit 701, or the audio data is output to the memory 702 for further processing. The audio circuitry 706 may also include an earbud jack to provide communication of peripheral headphones with the computer device.
WiFi belongs to short-range wireless transmission technology, and the computer device can help the user send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 707, which provides wireless broadband internet access for the user. Although fig. 7 shows the WiFi module 707, it is understood that it does not belong to the essential constitution of the computer device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 708 is a control center of the computer device, connects various parts of the entire computer device using various interfaces and lines, performs various functions of the computer device and processes data by running or executing computer programs and/or modules stored in the memory 702 and calling data stored in the memory 702, thereby monitoring the computer device as a whole. Optionally, processor 708 may include one or more processing cores; preferably, the processor 708 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 processor 708.
The computer device also includes a power supply 709 (e.g., a battery) for powering the various components, which may be logically coupled to the processor 708 via a power management system that may be configured to manage charging, discharging, and power consumption. The power supply 709 may also include any component or components of a direct or alternating current power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the computer device may further include a camera, a bluetooth module, etc., which are not described herein. Specifically, in this embodiment of the present invention, the output device 704 (or the input device 703) of the computer device is a touch screen display, the computer device further includes a memory 702, a processor 708, and one or more computer programs, where the one or more computer programs are stored in the memory 702, and the processor 708 is configured to call a program code stored in the memory 702 (a non-volatile memory) to execute the flow of the method steps in the foregoing method embodiments, which is not described herein again.
An embodiment of the present invention further provides a readable storage medium, which stores program codes of a data transmission apparatus for executing the data transmission table determining method shown in fig. 1 and 2.
The modules of the embodiments of the present invention may be implemented in a general-purpose integrated circuit (e.g., a central processing unit CPU) or an Application Specific Integrated Circuit (ASIC).
Those of ordinary skill in the art will appreciate that the various illustrative modules and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the data transmission device and the module described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed data transmission device and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is merely a logical division, and in actual implementation, there may be other divisions, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or modules, and may also be an electrical, mechanical or other form of connection.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs.
The modules in the data transmission device of the embodiment of the invention can be merged, divided and deleted according to actual needs.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing module, or each of the modules may exist alone physically, or two or more modules are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode.
The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The data transmission method, the data transmission device and the computer device provided by the embodiment of the invention are described in detail, a specific example is applied in the text to explain the principle and the embodiment of the invention, and the description of the embodiment is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (5)

1. A data transmission method, applied to a first terminal, includes:
when a transmission instruction for transmitting data to a second terminal is detected, acquiring historical use records of at least two applications in the first terminal, wherein the historical use records comprise historical use duration and/or historical starting times; the input of the transmission instruction is realized by the operation that a user presses a preset key, touches a preset icon or touches a preset area;
calculating the priority of the at least two applications according to the historical usage record;
arranging each application of the at least two applications according to the priority to obtain a first data transmission table;
sending the first data transmission table to the second terminal to trigger the second terminal to determine a second data transmission table according to the first data transmission table, and sending the second data transmission table to the first terminal;
receiving the second data transmission table sent by the second terminal;
sending the data in each of the at least two applications to a second terminal according to the arrangement sequence in the second data transmission table; the method includes the steps of firstly judging whether an application corresponding to data being sent in the first data transmission table and the second data transmission table and an arrangement sequence of applications arranged before the application are the same or not, if so, sending data in the applications arranged after the application to the second terminal according to the arrangement sequence in the second data transmission table, and if not, sending data of the applications arranged before the application but not sent in the second data transmission table firstly after sending the data of the application, and then sending the data in the applications which are not sent and are arranged after the application to the second terminal according to the arrangement sequence in the second data transmission table.
2. The method of claim 1, further comprising:
displaying the first data transmission table;
receiving an operation instruction input by a user and aiming at the first data transmission table;
and executing the operation instruction to obtain a second data transmission table.
3. A data transmission apparatus, provided in a first terminal, comprising:
the acquisition module is used for acquiring historical use records of at least two applications in the first terminal when a transmission instruction for transmitting data to a second terminal is detected, wherein the historical use records comprise historical use duration and/or historical starting times; the input of the transmission instruction is realized by the operation that a user presses a preset key, touches a preset icon or touches a preset area;
the calculation module is used for calculating the priority of the at least two applications according to the historical use record acquired by the acquisition module;
the arrangement module is used for arranging each application of the at least two applications according to the priority calculated by the calculation module so as to obtain a first data transmission table;
the device further comprises:
the first communication module is used for sending the first data transmission table to the second terminal so as to trigger the second terminal to determine a second data transmission table according to the first data transmission table and send the second data transmission table to the first terminal;
the first communication module is further configured to receive the second data transmission table sent by the second terminal;
the second communication module is used for sending the data in each application to the second terminal according to the arrangement sequence in the second data transmission table; the method includes the steps of firstly judging whether an application corresponding to data being sent in the first data transmission table and the second data transmission table and an arrangement sequence of applications arranged before the application are the same or not, if so, sending data in the applications arranged after the application to the second terminal according to the arrangement sequence in the second data transmission table, and if not, sending data of the applications arranged before the application but not sent in the second data transmission table firstly after sending the data of the application, and then sending the data in the applications which are not sent and are arranged after the application to the second terminal according to the arrangement sequence in the second data transmission table.
4. The apparatus of claim 3, further comprising:
the display module is used for displaying the first data transmission table obtained by the arrangement module;
the receiving module is used for receiving an operation instruction which is input by a user and aims at the first data transmission table displayed by the display module;
and the execution module is used for executing the operation instruction received by the receiving module so as to obtain a second data transmission table.
5. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program performs the steps of:
when a transmission instruction for transmitting data to a second terminal is detected, acquiring historical use records of at least two applications in the computer equipment, wherein the historical use records comprise historical use duration and/or historical starting times; the input of the transmission instruction is realized by the operation that a user presses a preset key, touches a preset icon or touches a preset area;
calculating the priority of the at least two applications according to the historical usage record;
arranging each application of the at least two applications according to the priority to obtain a first data transmission table;
sending the first data transmission table to the second terminal to trigger the second terminal to determine a second data transmission table according to the first data transmission table and send the second data transmission table to the computer equipment;
receiving the second data transmission table sent by the second terminal;
sending the data in each of the at least two applications to a second terminal according to the arrangement sequence in the second data transmission table; the method includes the steps of firstly judging whether an application corresponding to data being sent in the first data transmission table and the second data transmission table and an arrangement sequence of applications arranged before the application are the same or not, if so, sending data in the applications arranged after the application to the second terminal according to the arrangement sequence in the second data transmission table, and if not, sending data of the applications arranged before the application but not sent in the second data transmission table firstly after sending the data of the application, and then sending the data in the applications which are not sent and are arranged after the application to the second terminal according to the arrangement sequence in the second data transmission table.
CN201611042632.XA 2016-11-21 2016-11-21 Data transmission method and device and computer equipment Expired - Fee Related CN106657278B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611042632.XA CN106657278B (en) 2016-11-21 2016-11-21 Data transmission method and device and computer equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611042632.XA CN106657278B (en) 2016-11-21 2016-11-21 Data transmission method and device and computer equipment

Publications (2)

Publication Number Publication Date
CN106657278A CN106657278A (en) 2017-05-10
CN106657278B true CN106657278B (en) 2020-01-14

Family

ID=58812488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611042632.XA Expired - Fee Related CN106657278B (en) 2016-11-21 2016-11-21 Data transmission method and device and computer equipment

Country Status (1)

Country Link
CN (1) CN106657278B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11956160B2 (en) 2021-06-01 2024-04-09 Mellanox Technologies, Ltd. End-to-end flow control with intermediate media access control security devices

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324551A (en) * 2013-05-23 2013-09-25 广东欧珀移动通信有限公司 Application data migration method and system
CN103905442A (en) * 2014-03-28 2014-07-02 小米科技有限责任公司 Wakeup method and device in data synchronization
CN104023410A (en) * 2014-05-14 2014-09-03 北京奇虎科技有限公司 Method and device capable of realizing safe data transfer between wireless terminals
CN105653434A (en) * 2015-12-25 2016-06-08 小米科技有限责任公司 Method and apparatus for performing tracking processing on use of application

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7496579B2 (en) * 2006-03-30 2009-02-24 International Business Machines Corporation Transitioning of database service responsibility responsive to server failure in a partially clustered computing environment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103324551A (en) * 2013-05-23 2013-09-25 广东欧珀移动通信有限公司 Application data migration method and system
CN103905442A (en) * 2014-03-28 2014-07-02 小米科技有限责任公司 Wakeup method and device in data synchronization
CN104023410A (en) * 2014-05-14 2014-09-03 北京奇虎科技有限公司 Method and device capable of realizing safe data transfer between wireless terminals
CN105653434A (en) * 2015-12-25 2016-06-08 小米科技有限责任公司 Method and apparatus for performing tracking processing on use of application

Also Published As

Publication number Publication date
CN106657278A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
CN104518953B (en) Method for deleting message, instant communication terminal and system
CN107193664B (en) Message display method and device and mobile terminal
CN108255683B (en) Method for prompting message in terminal and terminal
CN106911848B (en) Method for outputting prompt message and terminal equipment
CN108834132B (en) Data transmission method and equipment and related medium product
CN107172267B (en) Fingerprint identification control method and related product
CN110673770B (en) Message display method and terminal equipment
CN110879680B (en) Icon management method and electronic equipment
WO2014000632A1 (en) Method, device and apparatus for acquiring security state of mobile terminal
CN106682189B (en) File name display method and device
CN109688611B (en) Frequency band parameter configuration method, device, terminal and storage medium
CN107317828B (en) File downloading method and device
CN106020945B (en) Shortcut item adding method and device
CN106302101B (en) Message reminding method, terminal and server
CN106934003B (en) File processing method and mobile terminal
CN110602766B (en) Personal hotspot identification method and method for determining association relationship between terminals
CN105159655B (en) Behavior event playing method and device
CN110708673A (en) Position determination method and portable multifunctional equipment
CN106657278B (en) Data transmission method and device and computer equipment
CN110719361A (en) Information transmission method, mobile terminal and storage medium
CN106777383B (en) File sorting method and intelligent terminal
CN106547400B (en) Method, device and terminal for reporting information
CN106357513B (en) Message processing method, device, server and message processing system
CN110908586A (en) Keyboard display method and device and terminal equipment
CN110109788B (en) Multi-key detection method and device, electronic equipment and storage medium

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200114