[go: up one dir, main page]

CN112332947A - Data transmission method, mobile terminal and computer storage medium - Google Patents

Data transmission method, mobile terminal and computer storage medium Download PDF

Info

Publication number
CN112332947A
CN112332947A CN202010754830.9A CN202010754830A CN112332947A CN 112332947 A CN112332947 A CN 112332947A CN 202010754830 A CN202010754830 A CN 202010754830A CN 112332947 A CN112332947 A CN 112332947A
Authority
CN
China
Prior art keywords
target application
data
data transmission
transmitted
transmission rate
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010754830.9A
Other languages
Chinese (zh)
Other versions
CN112332947B (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.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN202010754830.9A priority Critical patent/CN112332947B/en
Publication of CN112332947A publication Critical patent/CN112332947A/en
Application granted granted Critical
Publication of CN112332947B publication Critical patent/CN112332947B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0002Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate

Landscapes

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

Abstract

The invention discloses a data transmission method, a mobile terminal and a computer storage medium, wherein the method comprises the following steps: determining a target application set of data to be transmitted between the mobile terminal and the intelligent equipment, wherein the mobile terminal is matched with the intelligent equipment; determining a data transmission rate corresponding to each target application based on the operation frequency of each target application in the target application set; determining data to be transmitted corresponding to the target application; and transmitting the data to be transmitted to the intelligent equipment based on the data transmission rate. Therefore, the data transmission rate corresponding to the target application is controlled by utilizing the operation frequency of each target application in the mobile terminal, and the flexibility of data transmission is improved.

Description

Data transmission method, mobile terminal and computer storage medium
Technical Field
The present invention relates to the field of data transmission technologies, and in particular, to a data transmission method, a mobile terminal, and a computer storage medium.
Background
At present, smart devices such as smart watches and bracelets are connected with and controlled by smart phones, the smart phones can transmit application data to the smart devices so as to be used by users, the storage space of the smart phones is larger and larger, the smart phones are more and more applied, the smart phones cannot selectively transmit the application data to the smart devices, all application data related between the smart phones and the smart devices can be transmitted during transmission, the consumption time of the smart phones for transmitting the application data to the smart devices is longer and longer, the memories of the smart devices are more and more tense, and the use feeling of the users is influenced.
Disclosure of Invention
The invention provides a data transmission method, a mobile terminal and a computer storage medium, and aims to solve the technical problem that data transmission between intelligent equipment and an intelligent terminal is inflexible at present.
In order to achieve the above object, the present invention provides a data transmission method, including:
determining a target application set of data to be transmitted between the mobile terminal and intelligent equipment, wherein the mobile terminal is matched with the intelligent equipment;
determining a data transmission rate corresponding to each target application based on the operation frequency of each target application in the target application set;
determining data to be transmitted corresponding to the target application;
and transmitting the data to be transmitted to the intelligent equipment based on the data transmission rate.
Preferably, determining an application set associated between the mobile terminal and the intelligent device;
acquiring user behavior weights corresponding to the applications in the application set;
the method comprises the steps of taking a preset number of applications as a target application set of data to be transmitted, wherein user behavior weights corresponding to the preset number of applications are all larger than user behavior weights corresponding to other applications in the application set.
Preferably, the operation attribute of the target application is determined based on the operation frequency of each target application in the target application set;
and determining the data transmission rate corresponding to the target application according to the operation attribute.
Preferably, if the touch operation frequency is greater than the key operation frequency, determining that the operation attribute of the target application is a touch operation;
and if the touch operation frequency is less than the key operation frequency, judging that the operation attribute of the target application is key operation.
Preferably, if the operation attribute of the target application is a touch operation, setting the data transmission rate of the target application to a first transmission rate;
and if the operation attribute of the target application is key operation, setting the data transmission rate of the target application to be a second transmission rate, wherein the second transmission rate is smaller than the first transmission rate.
Preferably, a time point of last data transmission of the target application is determined;
and acquiring first data cached between the current time point of the target application and the last data transmission time point, and taking the first data as the data to be transmitted corresponding to the target application.
Preferably, determining the current data storage residual capacity of the intelligent device, and determining the total data volume to be transmitted corresponding to the target application set;
judging whether the total data volume to be transmitted is larger than the data storage residual capacity;
and if so, sending a clearing instruction to the intelligent equipment so as to control the intelligent equipment to clear the second data cached by the target application in the intelligent equipment currently according to the clearing instruction.
Preferably, when it is monitored that the data to be transmitted corresponding to the target application is completely transmitted, the mobile terminal and/or the intelligent device is controlled to output corresponding prompt information.
In addition, in order to achieve the above object, the present invention further provides a mobile terminal, where the mobile terminal stores a data transmission program, and the data transmission program implements the steps of the data transmission method when being executed by a processor.
In addition, to achieve the above object, the present invention also provides a computer storage medium having a data transmission program stored thereon, the data transmission program implementing the steps of the data transmission method as described above when being executed by a processor.
Compared with the prior art, the invention discloses a data transmission method, which comprises the steps of determining a target application set of data to be transmitted between a mobile terminal and intelligent equipment, wherein the mobile terminal is matched with the intelligent equipment; determining a data transmission rate corresponding to each target application based on the operation frequency of each target application in the target application set; determining data to be transmitted corresponding to the target application; and transmitting the data to be transmitted to the intelligent equipment based on the data transmission rate. Therefore, the data transmission rate corresponding to the target application is controlled by utilizing the operation frequency of each target application in the mobile terminal, and the flexibility of data transmission is improved.
Drawings
FIG. 1 is a schematic diagram of a terminal architecture of a hardware operating environment according to embodiments of the present invention;
FIG. 2 is a flow chart illustrating a first embodiment of a data transmission method according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of a data transmission method according to the present invention;
fig. 4 is a functional block diagram of a data transmission device according to a first embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
Referring to fig. 1, fig. 1 is a schematic terminal structure diagram of a hardware operating environment according to embodiments of the present invention. In this embodiment of the present invention, the terminal device may include a processor 1001 (e.g., a Central Processing Unit, CPU), a communication bus 1002, an input port 1003, an output port 1004, and a memory 1005. The communication bus 1002 is used for realizing connection communication among the components; the input port 1003 is used for data input; the output port 1004 is used for data output, the memory 1005 may be a high-speed RAM memory, or a non-volatile memory (non-volatile memory), such as a magnetic disk memory, and the memory 1005 may optionally be a storage device independent of the processor 1001. Those skilled in the art will appreciate that the hardware configuration depicted in FIG. 1 is not intended to be limiting of the present invention, and may include more or less components than those shown, or some components in combination, or a different arrangement of components.
With continued reference to fig. 1, the memory 1005 of fig. 1, which is one type of readable storage medium, may include an operating system, a network communication module, an application program module, and a data transfer program. In fig. 1, the network communication module is mainly used for connecting to a server and performing data communication with the server; and the processor 1001 may call the data transfer program stored in the memory 1005 and perform the following operations:
determining a target application set of data to be transmitted between the mobile terminal and the intelligent equipment, wherein the mobile terminal is matched with the intelligent equipment;
determining a data transmission rate corresponding to each target application based on the operation frequency of each target application in the target application set;
determining data to be transmitted corresponding to the target application;
and transmitting the data to be transmitted to the intelligent equipment based on the data transmission rate.
Further, the processor 1001 may be further configured to call a data transmission program stored in the memory 1005, and perform the following steps:
determining an application set associated between the mobile terminal and the intelligent device;
acquiring user behavior weights corresponding to the applications in the application set;
the method comprises the steps of taking a preset number of applications as a target application set of data to be transmitted, wherein user behavior weights corresponding to the preset number of applications are all larger than user behavior weights corresponding to other applications in the application set.
Further, the processor 1001 may be further configured to call a data transmission program stored in the memory 1005, and perform the following steps:
determining the operation attribute of the target application based on the operation frequency of each target application in the target application set;
and determining the data transmission rate corresponding to the target application according to the operation attribute.
Further, the processor 1001 may be further configured to call a data transmission program stored in the memory 1005, and perform the following steps:
if the touch operation frequency is greater than the key operation frequency, judging the operation attribute of the target application as touch operation;
and if the touch operation frequency is less than the key operation frequency, judging that the operation attribute of the target application is key operation.
Further, the processor 1001 may be further configured to call a data transmission program stored in the memory 1005, and perform the following steps:
if the operation attribute of the target application is touch operation, setting the data transmission rate of the target application as a first transmission rate;
and if the operation attribute of the target application is key operation, setting the data transmission rate of the target application to be a second transmission rate, wherein the second transmission rate is smaller than the first transmission rate.
Further, the processor 1001 may be further configured to call a data transmission program stored in the memory 1005, and perform the following steps:
determining the time point of last data transmission of the target application;
and acquiring first data cached between the current time point of the target application and the last data transmission time point, and taking the first data as the data to be transmitted corresponding to the target application.
Further, the processor 1001 may be further configured to call a data transmission program stored in the memory 1005, and perform the following steps:
determining the current data storage residual capacity of the intelligent equipment, and determining the total data volume to be transmitted corresponding to the target application set;
judging whether the total data volume to be transmitted is larger than the data storage residual capacity;
and if so, sending a clearing instruction to the intelligent equipment so as to control the intelligent equipment to clear the second data cached by the target application in the intelligent equipment currently according to the clearing instruction.
Further, the processor 1001 may be further configured to call a data transmission program stored in the memory 1005, and perform the following steps:
and when the transmission of the data to be transmitted corresponding to the target application is monitored to be completed, controlling the mobile terminal and/or the intelligent equipment to output corresponding prompt information.
Based on the above structure, various embodiments of the data transmission method of the present invention are proposed.
Referring to fig. 2, fig. 2 is a flowchart illustrating a data transmission method according to a first embodiment of the present invention.
In this embodiment, the data transmission method includes:
step S10: determining a target application set of data to be transmitted between the mobile terminal and the intelligent equipment, wherein the mobile terminal is matched with the intelligent equipment;
in this embodiment, the data transmission method provided in this embodiment is applied to a mobile terminal, wherein the mobile terminal may be a smart phone, a smart computer, a smart device, and the like, and is not particularly limited, before data transmission is carried out between a mobile terminal and intelligent equipment, a target application set of data to be transmitted between the mobile terminal and the intelligent equipment needs to be determined, and further, before determining a target application set of data to be transmitted between a mobile terminal and the intelligent equipment, the intelligent equipment matched with the mobile terminal is determined, optionally, the mobile terminal sends a pairing broadcast to determine the smart device matching the mobile terminal based on the pairing broadcast, after the intelligent device matched with the mobile terminal is determined, acquiring an application package name list of the current installed application of the intelligent device, and determining a target application set of data to be transmitted between the mobile terminal and the intelligent equipment according to the application package name list.
Specifically, step S10 includes:
step S101: determining an application set associated between the mobile terminal and the intelligent device;
step S102: acquiring user behavior weights corresponding to the applications in the application set;
step S103: the method comprises the steps of taking a preset number of applications as a target application set of data to be transmitted, wherein user behavior weights corresponding to the preset number of applications are all larger than user behavior weights corresponding to other applications in the application set.
In this embodiment, an application set associated between the mobile terminal and the intelligent device is determined, optionally, an application list for data transmission between the mobile terminal and the intelligent device is obtained last time, the application corresponding to the application list is used as the application associated between the mobile terminal and the intelligent device, optionally, a first application package name list of the current installed applications of the intelligent device and a second application package name list of the current installed applications of the mobile terminal are obtained, determining an application set associated between the mobile terminal and the intelligent device according to the first application package name list and the second application package name list, specifically determining a target application package name with the same application package name in the first application package name list and the second application package name list, and taking the application corresponding to the target application package name as the associated application between the mobile terminal and the intelligent equipment.
After determining the application set associated between the mobile terminal and the intelligent device, performing priority screening on each application in the application set to preferentially and synchronously transmit application data of an active application to the intelligent device, specifically, in this embodiment, obtaining a user behavior weight corresponding to each application in the application set, specifically, obtaining a historical operation record corresponding to each application, for example: the method includes the steps of applying switching times in a foreground and a background, updating times of application data and the like, accumulating various application operation times to obtain user behavior weights corresponding to all applications, wherein the more the application operation times are, the larger the corresponding user behavior weights are, after obtaining the user behavior weights corresponding to all applications in an application set, taking a preset number of applications as a target application set of data to be transmitted, wherein in this embodiment, the user behavior weights corresponding to the preset number of applications are all larger than the user behavior weights corresponding to other applications in the application set, it needs to be noted that the other applications refer to the applications except the preset number in the application set, specifically, sorting the user behavior weights from large to small, and taking the application sets corresponding to the preset number of user behavior weights corresponding to the preset number of ranked times as the target application set of the data to be transmitted, the preset number is set by a user in a user-defined mode, or an application set corresponding to the user behavior weight with the user behavior weight larger than the preset weight is used as a target application set of the data to be transmitted.
Step S20: determining a data transmission rate corresponding to each target application based on the operation frequency of each target application in the target application set;
in the step, after determining the target application set of the data to be transmitted between the mobile terminal and the intelligent device, in order to improve the flexibility of data transmission, different data transmission rates are configured according to the operation frequency of each application, and specifically, the operation frequency of each target application in the target application set is obtained, such as the historical operation frequency of the target application from installation to now, or obtaining the historical operation frequency of the target application since the last data transmission to determine the data transmission rate corresponding to the target application according to the operation frequency, further, in this embodiment, the higher the operation frequency is, the more active the target application is, the more data cached by the target application is, so that the higher the data transmission rate corresponding to the target application is, so as to ensure that the data to be transmitted corresponding to the target application with high activity is transmitted preferentially.
Step S30: determining data to be transmitted corresponding to the target application;
step S40: and transmitting the data to be transmitted to the intelligent equipment based on the data transmission rate.
In this step, after determining the data transmission rate corresponding to the target application based on the operation frequency of each target application in the target application set, the data to be transmitted corresponding to each target application in the target application set is determined, so as to transmit the data to be transmitted corresponding to the target application to the intelligent device according to the data transmission rate corresponding to the target application.
Specifically, step S30 includes:
step S310: determining the time point of last data transmission of the target application;
step S320: and acquiring first data cached between the current time point of the target application and the last data transmission time point, and taking the first data as the data to be transmitted corresponding to the target application.
Obtaining the last data transmission record of the target application, such as: the method comprises the steps that a target application transmits data at the last time point, then first data cached between the current time point of the target application and the last data transmission time point of the target application are obtained, the first data serve as data to be transmitted corresponding to the target application, transmission integrity of the data of the target application is guaranteed, further, the mobile terminal can obtain first application data cached currently by the target application in the intelligent device and second application data cached currently by the target application in the mobile terminal, then the first application data and the second application data are compared, the data to be transmitted corresponding to the target application is determined, and understandably, the first application data of the data to be transmitted corresponding to the target application are application data which are missing relative to the second application data.
Further, before the step of transmitting the data to be transmitted corresponding to the target application to the intelligent device according to the data transmission rate, the method further includes:
step S301: determining the current data storage residual capacity of the intelligent equipment, and determining the total data volume to be transmitted corresponding to the target application set;
step S302: judging whether the total data volume to be transmitted is larger than the data storage residual capacity;
step S303: and if so, sending a clearing instruction to the intelligent equipment so as to control the intelligent equipment to clear the second data cached by the target application in the intelligent equipment currently according to the clearing instruction.
It can be understood that, because the storage space of the smart device is limited, when the storage space of the smart device is insufficient during data transmission, data transmission may fail, and therefore, before the step of transmitting the data to be transmitted corresponding to the target application to the smart device according to the data transmission rate, it is necessary to determine the data storage remaining capacity of the current smart device, and determine the total data amount to be transmitted corresponding to the target application set, and if the total data amount to be transmitted is greater than the data storage remaining capacity, determine whether the total data amount to be transmitted is greater than the data storage remaining capacity. The data transmission failure is caused by the fact that the data storage space of the intelligent device is insufficient during data transmission, and at the moment, the mobile terminal sends a clearing instruction to the intelligent device so as to control the intelligent device to clear the second data cached in the intelligent device currently by the target application according to the clearing instruction.
Further, after the step of transmitting the data to be transmitted corresponding to the target application to the intelligent device according to the data transmission rate, the method further includes:
and when the transmission of the data to be transmitted corresponding to the target application is monitored to be completed, controlling the mobile terminal and/or the intelligent equipment to output corresponding prompt information, wherein the prompt information comprises an application list of an application set which is associated between the mobile terminal and the intelligent equipment and is currently subjected to data transmission and an application list which is not currently subjected to data transmission.
According to the scheme, a target application set of data to be transmitted between the mobile terminal and the intelligent device is determined, wherein the mobile terminal is matched with the intelligent device; determining a data transmission rate corresponding to each target application based on the operation frequency of each target application in the target application set; determining data to be transmitted corresponding to the target application; and transmitting the data to be transmitted to the intelligent equipment based on the data transmission rate. Therefore, the data transmission rate corresponding to the target application is controlled by utilizing the operation frequency of each target application in the mobile terminal, and the flexibility of data transmission is improved.
A second embodiment of the present invention is proposed based on the first embodiment shown in fig. 2 described above. As shown in fig. 3, fig. 3 is a flowchart illustrating a data transmission method according to a second embodiment of the present invention.
In this embodiment, the step of determining the data transmission rate corresponding to the target application based on the operation frequency of each target application in the target application set includes:
step S210: determining the operation attribute of the target application based on the operation frequency of each target application in the target application set;
it can be understood that, because the user habits and the application attributes are different, the operation frequency or the operation attributes of the target application are also different, for example, when music software is used, the frequency of adjusting the volume by the volume key by the user is generally higher than the frequency of adjusting the volume by the user through touch sliding.
Specifically, the operation frequency includes a touch operation frequency and a key operation frequency, and the step of determining the operation attribute of the target application based on the operation frequency of each target application in the target application set includes:
step a: if the touch operation frequency is greater than the key operation frequency, judging the operation attribute of the target application as touch operation;
step b: and if the touch operation frequency is less than the key operation frequency, judging that the operation attribute of the target application is key operation.
In the step, the touch operation frequency and the key touch operation frequency of each target application in the target application set are respectively obtained, when the touch operation frequency of the target application is greater than the key touch operation frequency, the operation attribute of the target application is indicated as touch operation, and when the touch operation frequency of the target application is greater than the key touch operation frequency, the operation attribute of the target application is indicated as touch operation
Step S220: and determining the data transmission rate corresponding to the target application according to the operation attribute.
In this step, in order to improve flexibility of data transmission, in this embodiment, the data transmission rate corresponding to each target application is controlled by using the operation frequency of each target application in the mobile terminal, specifically, the operation attribute of each target application is determined according to the operation frequency of each target application in the mobile terminal, and then the data transmission rate corresponding to each target application is controlled according to the operation attribute.
Specifically, step S220 includes the following two cases:
if the operation attribute of the target application is touch operation, setting the data transmission rate of the target application as a first transmission rate;
and if the operation attribute of the target application is key operation, setting the data transmission rate of the target application to be a second transmission rate, wherein the second transmission rate is smaller than the first transmission rate.
It should be noted that, based on the intelligent development of the terminal device at the present stage, most users operate and control the application through touch operation, and therefore in this embodiment, the target application corresponding to the touch operation attribute is preferentially transmitted.
According to the scheme, the operation attribute of the target application is determined based on the operation frequency of each target application in the target application set, and the data transmission rate corresponding to the target application is determined according to the operation attribute, so that the data transmission rate corresponding to the target application is controlled by using the operation frequency of each target application in the mobile terminal, and the flexibility of data transmission is improved.
In addition, the embodiment also provides a data transmission device. Referring to fig. 4, fig. 4 is a functional block diagram of a data transmission device according to a first embodiment of the present invention.
In this embodiment, the data transmission device is a virtual device, and is stored in the memory 1005 of the terminal device shown in fig. 1, so as to implement all functions of the data transmission program: the system comprises a mobile terminal, a target application set and a target application set, wherein the mobile terminal is used for receiving data to be transmitted; the data transmission device is used for acquiring the operation frequency of each target application in the target application set so as to determine the data transmission rate corresponding to the target application according to the operation frequency; and the data transmission method is used for determining the data to be transmitted corresponding to the target application and transmitting the data to be transmitted corresponding to the target application to the intelligent equipment according to the data transmission rate.
Specifically, the data transmission device includes:
a first determining module 10, configured to determine a target application set of data to be transmitted between the mobile terminal and the smart device, where the mobile terminal is matched with the smart device;
an obtaining module 20, configured to determine, based on an operation frequency of each target application in the target application set, a data transmission rate corresponding to the target application;
a second determining module 30, configured to determine to-be-transmitted data corresponding to the target application;
and the transmission module 40 is configured to transmit the data to be transmitted to the intelligent device based on the data transmission rate.
Further, the first determining module comprises:
a first determining unit, configured to determine an application set associated between the mobile terminal and the smart device;
the acquiring unit is used for acquiring user behavior weights corresponding to the applications in the application set;
the second determining unit is configured to use a preset number of applications as a target application set of data to be transmitted, where user behavior weights corresponding to the preset number of applications are all greater than user behavior weights corresponding to other applications in the application set.
Further, the obtaining module further includes:
a third determining unit, configured to determine an operation attribute of the target application based on an operation frequency of each target application in the target application set;
and the fourth determining unit is used for determining the data transmission rate corresponding to the target application according to the operation attribute.
Further, the third determining unit further includes:
the first judging unit is used for judging the operation attribute of the target application as touch operation if the touch operation frequency is greater than the key operation frequency;
and the second judging unit is used for judging the operation attribute of the target application as key operation if the touch operation frequency is less than the key operation frequency.
Further, the fourth determining unit further includes:
the first setting unit is used for setting the data transmission rate of the target application as a first transmission rate if the operation attribute of the target application is touch operation;
and the second setting unit is used for setting the data transmission rate of the target application to be a second transmission rate if the operation attribute of the target application is key operation, wherein the second transmission rate is smaller than the first transmission rate.
Further, the transmission module further includes:
a fifth determining unit, configured to determine a time point when the target application last transmitted data;
and the obtaining unit is used for obtaining first data cached between the current time point of the target application and the last time point of data transmission, and taking the first data as the data to be transmitted corresponding to the target application.
Further, the transmission module further includes:
a sixth determining unit, configured to determine a current data storage remaining capacity of the smart device, and determine a total amount of data to be transmitted corresponding to the target application set;
the judging unit is used for judging whether the total data volume to be transmitted is larger than the data storage residual capacity or not;
and if the second data is larger than the first data, sending a clearing instruction to the intelligent device so as to control the intelligent device to clear the second data cached by the target application in the intelligent device currently according to the clearing instruction.
Further, the transmission module further includes:
and the monitoring unit is used for controlling the mobile terminal and/or the intelligent equipment to output corresponding prompt information when the transmission of the data to be transmitted corresponding to the target application is completed.
In addition, an embodiment of the present invention further provides a computer storage medium, where a data transmission program is stored on the computer storage medium, and when the data transmission program is executed by a processor, the steps of the data transmission method are implemented, which are not described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for causing a terminal device to execute the method according to the embodiments of the present invention.
The above description is only for the preferred embodiment of the present invention and is not intended to limit the scope of the present invention, and all equivalent structures or flow transformations made by the present specification and drawings, or applied directly or indirectly to other related arts, are included in the scope of the present invention.

Claims (10)

1.一种数据传输方法,其特征在于,应用于移动终端,所述数据传输方法包括以下步骤:1. a data transmission method, is characterized in that, is applied to mobile terminal, described data transmission method comprises the following steps: 确定所述移动终端与智能设备之间待传输数据的目标应用集,其中,所述移动终端与所述智能设备匹配;determining a target application set of data to be transmitted between the mobile terminal and the smart device, wherein the mobile terminal matches the smart device; 基于所述目标应用集中各个目标应用的操作频次确定所述目标应用对应的数据传输速率;determining the data transmission rate corresponding to the target application based on the operation frequency of each target application in the target application set; 确定所述目标应用对应的待传输数据;determining the data to be transmitted corresponding to the target application; 基于所述数据传输速率将所述待传输数据传输至所述智能设备。The data to be transmitted is transmitted to the smart device based on the data transmission rate. 2.根据权利要求1所述的方法,其特征在于,所述确定所述移动终端与智能设备之间待传输数据的目标应用集的步骤包括:2. The method according to claim 1, wherein the step of determining a target application set of data to be transmitted between the mobile terminal and the smart device comprises: 确定所述移动终端与所述智能设备之间关联的应用集;determining an application set associated between the mobile terminal and the smart device; 获取所述应用集中各个应用对应的用户行为权重;obtaining the user behavior weight corresponding to each application in the application set; 将预设数量的应用作为待传输数据的目标应用集,其中,所述预设数量的应用对应的用户行为权重均大于所述应用集中的其他应用对应的用户行为权重。A preset number of applications are used as the target application set of the data to be transmitted, wherein the user behavior weights corresponding to the preset number of applications are all greater than the user behavior weights corresponding to other applications in the application set. 3.根据权利要求1所述的方法,其特征在于,所述基于所述目标应用集中各个目标应用的操作频次确定所述目标应用对应的数据传输速率的步骤包括:3. The method according to claim 1, wherein the step of determining the data transmission rate corresponding to the target application based on the operation frequency of each target application in the target application set comprises: 基于所述目标应用集中各个目标应用的操作频次确定所述目标应用的操作属性;Determine the operation attribute of the target application based on the operation frequency of each target application in the target application set; 根据所述操作属性确定所述目标应用对应的数据传输速率。The data transmission rate corresponding to the target application is determined according to the operation attribute. 4.根据权利要求3所述的方法,其特征在于,所述操作频次包括触控操作频次及按键操作频次,所述基于所述目标应用集中各个目标应用的操作频次确定所述目标应用的操作属性的步骤包括:4 . The method according to claim 3 , wherein the operation frequency includes a touch operation frequency and a key operation frequency, and the operation frequency of the target application is determined based on the operation frequency of each target application in the target application set. 5 . Attribute steps include: 若所述触控操作频次大于按键操作频次,则判定所述目标应用的操作属性为触控操作;If the touch operation frequency is greater than the key operation frequency, it is determined that the operation attribute of the target application is a touch operation; 若所述触控操作频次小于按键操作频次,则判定所述目标应用的操作属性为按键操作。If the touch operation frequency is less than the key operation frequency, it is determined that the operation attribute of the target application is a key operation. 5.根据权利要求3所述的方法,其特征在于,所述根据所述操作属性确定所述目标应用对应的数据传输速率的步骤包括:5. The method according to claim 3, wherein the step of determining the data transmission rate corresponding to the target application according to the operation attribute comprises: 若所述目标应用的操作属性为触控操作,则将所述目标应用的数据传输速率设定为第一传输速率;If the operation attribute of the target application is a touch operation, setting the data transmission rate of the target application as the first transmission rate; 若所述目标应用的操作属性为按键操作,则将所述目标应用的数据传输速率设定为第二传输速率,其中,所述第二传输速率小于第一传输速率。If the operation attribute of the target application is a key operation, the data transmission rate of the target application is set to a second transmission rate, where the second transmission rate is smaller than the first transmission rate. 6.根据权利要求1所述的方法,其特征在于,所述确定所述目标应用对应的待传输数据的步骤包括:6. The method according to claim 1, wherein the step of determining the data to be transmitted corresponding to the target application comprises: 确定所述目标应用上一次传输数据的时间点;determining the last time point when the target application transmits data; 获取所述目标应用当前时间点至所述上一次传输数据的时间点之间缓存的第一数据,并将所述第一数据作为所述目标应用对应的待传输数据。Acquire the first data buffered between the current time point of the target application and the time point of the last data transmission, and use the first data as the data to be transmitted corresponding to the target application. 7.根据权利要求1所述的方法,其特征在于,所述将所述目标应用对应的待传输数据按照所述数据传输速率传输至所述智能设备的步骤之前,还包括:7. The method according to claim 1, wherein before the step of transmitting the data to be transmitted corresponding to the target application to the smart device according to the data transmission rate, the method further comprises: 确定所述智能设备当前的数据存储剩余容量,并确定所述目标应用集对应的总待传输数据量;Determine the current data storage remaining capacity of the smart device, and determine the total amount of data to be transmitted corresponding to the target application set; 判断所述总待传输数据量是否大于所述数据存储剩余容量;Determine whether the total amount of data to be transmitted is greater than the remaining capacity of the data storage; 若大于,则发送清除指令至所述智能设备,以控制所述智能设备根据所述清除指令将所述目标应用当前在所述智能设备内缓存的第二数据清除。If it is greater than the value, send a clearing instruction to the smart device, so as to control the smart device to clear the second data currently cached in the smart device by the target application according to the clearing instruction. 8.根据权利要求1至7任一项所述的方法,其特征在于,所述将所述目标应用对应的待传输数据按照所述数据传输速率传输至所述智能设备的步骤之后,还包括:8. The method according to any one of claims 1 to 7, wherein after the step of transmitting the data to be transmitted corresponding to the target application to the smart device according to the data transmission rate, the method further comprises: : 监测到所述目标应用对应的待传输数据传输完成时,控制所述移动终端和/或所述智能设备输出对应的提示信息。When it is detected that the transmission of the data to be transmitted corresponding to the target application is completed, the mobile terminal and/or the smart device are controlled to output corresponding prompt information. 9.一种移动终端,其特征在于,所述移动终端上存储有数据传输程序,所述数据传输程序被处理器运行时实现如权利要求1-8中任一项所述数据传输方法的步骤。9. A mobile terminal, characterized in that, a data transmission program is stored on the mobile terminal, and the data transmission program is executed by a processor to realize the steps of the data transmission method according to any one of claims 1-8 . 10.一种计算机存储介质,其特征在于,所述计算机存储介质上存储有数据传输程序,所述数据传输程序被处理器运行时实现如权利要求1-8中任一项所述数据传输方法的步骤。10. A computer storage medium, wherein a data transmission program is stored on the computer storage medium, and when the data transmission program is run by a processor, the data transmission method according to any one of claims 1-8 is implemented A step of.
CN202010754830.9A 2020-07-30 2020-07-30 Data transmission method, mobile terminal and computer storage medium Active CN112332947B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010754830.9A CN112332947B (en) 2020-07-30 2020-07-30 Data transmission method, mobile terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010754830.9A CN112332947B (en) 2020-07-30 2020-07-30 Data transmission method, mobile terminal and computer storage medium

Publications (2)

Publication Number Publication Date
CN112332947A true CN112332947A (en) 2021-02-05
CN112332947B CN112332947B (en) 2024-04-02

Family

ID=74303595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010754830.9A Active CN112332947B (en) 2020-07-30 2020-07-30 Data transmission method, mobile terminal and computer storage medium

Country Status (1)

Country Link
CN (1) CN112332947B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1816017A (en) * 2006-03-10 2006-08-09 杭州华为三康技术有限公司 Transmitting method for data message
KR20090129633A (en) * 2008-06-13 2009-12-17 대전보건대학 산학협력단 Data communication method using intelligent media access control protocol
CN103312826A (en) * 2013-07-12 2013-09-18 北京金山云网络技术有限公司 Method, device, client side, server side and equipment for file synchronization
CN103327123A (en) * 2013-07-12 2013-09-25 北京金山云网络技术有限公司 File synchronization method, client, server side and equipment
CN104038518A (en) * 2013-03-05 2014-09-10 联想(北京)有限公司 Information processing method, server and terminal equipment
CN105100254A (en) * 2015-08-06 2015-11-25 小米科技有限责任公司 Data synchronization method and device
WO2016119685A1 (en) * 2015-01-26 2016-08-04 努比亚技术有限公司 Method and device for transmitting data between terminals
CN106685997A (en) * 2017-02-24 2017-05-17 深圳市金立通信设备有限公司 Method and terminal for transmitting data
WO2018049934A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Data migration method and terminals
WO2018126853A1 (en) * 2017-01-03 2018-07-12 腾讯科技(深圳)有限公司 Data transmission method and apparatus
CN108540400A (en) * 2018-03-20 2018-09-14 珠海市魅族科技有限公司 A kind of data transfer control method, control device, terminal and readable storage medium storing program for executing
CN109121176A (en) * 2018-09-29 2019-01-01 中国电子科技集团公司第三十研究所 A kind of Distributed Data Synchronization method
CN109768926A (en) * 2019-01-10 2019-05-17 维沃移动通信有限公司 A kind of data processing method, terminal device and computer readable storage medium
WO2019178978A1 (en) * 2018-03-22 2019-09-26 平安科技(深圳)有限公司 Push message processing method, readable storage medium, terminal device and apparatus

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1816017A (en) * 2006-03-10 2006-08-09 杭州华为三康技术有限公司 Transmitting method for data message
KR20090129633A (en) * 2008-06-13 2009-12-17 대전보건대학 산학협력단 Data communication method using intelligent media access control protocol
CN104038518A (en) * 2013-03-05 2014-09-10 联想(北京)有限公司 Information processing method, server and terminal equipment
CN103312826A (en) * 2013-07-12 2013-09-18 北京金山云网络技术有限公司 Method, device, client side, server side and equipment for file synchronization
CN103327123A (en) * 2013-07-12 2013-09-25 北京金山云网络技术有限公司 File synchronization method, client, server side and equipment
WO2016119685A1 (en) * 2015-01-26 2016-08-04 努比亚技术有限公司 Method and device for transmitting data between terminals
CN105100254A (en) * 2015-08-06 2015-11-25 小米科技有限责任公司 Data synchronization method and device
WO2018049934A1 (en) * 2016-09-14 2018-03-22 广东欧珀移动通信有限公司 Data migration method and terminals
WO2018126853A1 (en) * 2017-01-03 2018-07-12 腾讯科技(深圳)有限公司 Data transmission method and apparatus
CN106685997A (en) * 2017-02-24 2017-05-17 深圳市金立通信设备有限公司 Method and terminal for transmitting data
CN108540400A (en) * 2018-03-20 2018-09-14 珠海市魅族科技有限公司 A kind of data transfer control method, control device, terminal and readable storage medium storing program for executing
WO2019178978A1 (en) * 2018-03-22 2019-09-26 平安科技(深圳)有限公司 Push message processing method, readable storage medium, terminal device and apparatus
CN109121176A (en) * 2018-09-29 2019-01-01 中国电子科技集团公司第三十研究所 A kind of Distributed Data Synchronization method
CN109768926A (en) * 2019-01-10 2019-05-17 维沃移动通信有限公司 A kind of data processing method, terminal device and computer readable storage medium

Also Published As

Publication number Publication date
CN112332947B (en) 2024-04-02

Similar Documents

Publication Publication Date Title
CN110381150B (en) Data processing method and device on block chain, electronic equipment and storage medium
CN111371695B (en) Service flow limiting method and device
CN110764881A (en) Distributed system background retry method and device
WO2022062661A1 (en) Operation notification method and apparatus, and storage medium and electronic apparatus
CN112689012A (en) Cross-network proxy communication method and device
CN116341508A (en) Dynamic configuration method and device for message template, computer equipment and storage medium
CN109428839B (en) CDN scheduling method, device and system
CN111294377B (en) Dependency network request sending method, terminal device and storage medium
US11409511B2 (en) Method and system for downloading information
CN114257532B (en) Method and device for detecting state of server
CN110083466B (en) Data transmission method and device for small program
CN117459913A (en) AM policy management method, PCF entity, communication system and storage medium
CN112332947A (en) Data transmission method, mobile terminal and computer storage medium
CN105917694B (en) Service provision and activation in telecommunication networks
CN111343172A (en) Network access authority dynamic processing method and device
CN110930253A (en) Intelligent contract internal main key generation method and device, computer equipment and storage medium
CN116185755A (en) Distributed load balancing system data processing method and device
CN114154644A (en) Machine learning data processing method and device
JP4948610B2 (en) Communication control device and program
CN101997914B (en) Method and system for implementing service experience
CN118433169B (en) Configuration method and device for reading timeout time and electronic equipment
CN113076166A (en) Method and device for processing page
US11526574B2 (en) Server of statistics for optimization of client-server requests
CN107707383B (en) Put-through processing method and device, first network element and second network element
CN112766698B (en) Application service pressure determining method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant