Method, device and terminal for data transmission control

By obtaining the uploaded data size, transmission speed and CPU usage, and determining the delay transmission plan, the problems of long delay and high bit error during data transmission are solved, achieving more efficient data transmission.

CN114390003BActive Publication Date: 2025-09-26ZHONGKE HENGYUN CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111510180.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2021-05-28
Filing Date
2021-12-10
Publication Date
2025-09-26
Estimated Expiration
2041-12-10

AI Technical Summary

Technical Problem

In distributed storage systems, during data transmission, the impact of network transmission speed and CPU resources leads to problems such as long delays and high bit errors. Existing technologies cannot effectively guarantee data transmission efficiency.

Method used

By obtaining the uploaded data size, transmission speed, and CPU usage, a delay transmission plan is determined to optimize data upload operations and avoid long delays or high bit errors.

Benefits of technology

It improves the stability and efficiency of data transmission, reduces transmission delay, and ensures that data can be transmitted stably without long delays or high bit errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114390003B_ABST
    Figure CN114390003B_ABST
Patent Text Reader

Abstract

The present invention is applicable to the field of communications technology and provides a method, device, and terminal for data transmission control. The method comprises: upon receiving a data upload request, obtaining the upload data size, transmission speed, and CPU occupancy; when the transmission speed and CPU occupancy meet a delay transmission condition, determining a delay transmission scheme based on the transmission speed and CPU occupancy, or determining a delay transmission scheme based on the upload data size, transmission speed, and CPU occupancy; and executing a data upload operation based on the delay transmission scheme. The present invention determines different delay transmission schemes based on the comprehensive transmission speed and CPU occupancy, ensuring stable data transmission while reducing transmission delay.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of communication technology, and in particular relates to a method, device and terminal for data transmission control.

[0002] This application claims priority to the Chinese patent application with application number 202110594627.4 filed with the China Patent Office on May 28, 2021, and invention name “Method, device and terminal for data transmission control”, the entire contents of which are incorporated by reference into this application. Background Art

[0003] Currently, in distributed storage systems, when a sending device uploads data to a target device, it typically first adds the data to a cache. An asynchronous thread then sends the data from the cache to the network card, which ultimately sends the data to the target device via the network card. During the data upload process, network transmission speed and central processing unit (CPU) resources can affect the speed and stability of data transmission. When the amount of data is too large, problems such as long delays and high bit errors can easily occur during transmission. In the specific data transmission control process, only considering the impact of network transmission speed or CPU resources on data transmission does not guarantee data transmission efficiency. Summary of the Invention

[0004] In view of this, the present invention provides a method, device and terminal for data transmission control, which can improve the comprehensive transmission speed and CPU occupancy, adjust the data transmission process, and improve data transmission efficiency.

[0005] The configuration aspect of an embodiment of the present invention provides a method for data transmission control, including:

[0006] When receiving a data upload request, obtain the uploaded data size, transmission speed and CPU usage;

[0007] When the transmission speed and the CPU occupancy rate meet the delay transmission condition, determining the delay transmission scheme according to the transmission speed and the CPU occupancy rate, or determining the delay transmission scheme according to the upload data size, the transmission speed and the CPU occupancy rate;

[0008] The data upload operation is performed according to the time-delay transmission scheme.

[0009] A second aspect of an embodiment of the present invention provides an apparatus for data transmission control, including:

[0010] The acquisition module is used to obtain the uploaded data size, transmission speed and CPU usage when receiving a data upload request;

[0011] a determination module, configured to determine a delayed transmission scheme according to the transmission speed and the CPU occupancy rate when the transmission speed and the CPU occupancy rate meet a delayed transmission condition, or to determine a delayed transmission scheme according to the size of the uploaded data, the transmission speed and the CPU occupancy rate;

[0012] An execution module is used to perform a data upload operation according to the time-delay transmission scheme.

[0013] A third aspect of an embodiment of the present invention provides a terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the steps of any one of the methods for data transmission control are implemented.

[0014] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any one of the methods for data transmission control are implemented.

[0015] Compared with the prior art, the present invention has the following beneficial effects:

[0016] Upon receiving a data upload request, the present invention obtains the upload data size, transmission speed, and CPU occupancy rate. When the transmission speed and CPU occupancy rate meet the delay transmission conditions, the present invention determines whether the current transmission speed or CPU occupancy rate will cause data transmission delays or even bit errors. Based on the upload data size, transmission speed, CPU occupancy rate, and other data, a delay transmission scheme is determined, and the data upload operation is performed according to the determined delay transmission scheme, thereby avoiding long delays or high bit errors during the data transmission process. The present invention determines different delay transmission schemes based on the comprehensive transmission speed and CPU occupancy rate, ensuring stable data transmission while reducing transmission delays. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0018] Figure 1 is a flowchart of a method for data transmission control provided by an embodiment of the present invention;

[0019] Figure 2 is a flowchart of a method for data transmission control provided by another embodiment of the present invention;

[0020] Figure 3 is a flowchart of a method for data transmission control provided by another embodiment of the present invention;

[0021] Figure 4 is a structural diagram of a device for data transmission control provided by an embodiment of the present invention;

[0022] Figure 5 is a schematic diagram of a terminal provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0023] In the following description, specific details such as particular system structures and techniques are provided for purposes of illustration, not limitation, to facilitate a thorough understanding of the embodiments of the present invention. However, it will be apparent to those skilled in the art that the present invention may be practiced in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present invention with unnecessary detail.

[0024] In order to make the purpose, technical solutions and advantages of the present invention more clear, specific embodiments will be described below with reference to the accompanying drawings.

[0025] The solution provided in this embodiment of the present invention primarily controls data transmission between a data management terminal and a server in an information management system. Information management systems include civil administration management systems, enterprise management systems, industrial and commercial management systems, and campus management systems. The data management terminal is a local terminal device, such as a computer, laptop, tablet, or mobile phone. The server is a cloud server.

[0026] Figure 1 FIG. 1 is a flowchart of a method for data transmission control according to an embodiment of the present invention, comprising the following steps:

[0027] S101, when receiving a data upload request, obtaining the upload data size, transmission speed and CPU occupancy.

[0028] The CPU usage is obtained by calling a program programming interface provided by the Microsoft operating system.

[0029] The transmission speed is the speed of data transmission from the data management terminal to the server, which is determined by calculating the amount of data transmitted from the data management terminal to the server per unit time.

[0030] In this embodiment, uploaded data is sent to the server in the form of compressed packets or data streams. Large amounts of data can cause network congestion, resulting in data transmission delays or packet loss. When CPU usage is low and transmission speeds are slow, poor network quality can easily cause data transmission interruptions, leading to packet loss. When CPU usage is high and transmission speeds are high, data upload speeds can be reduced, leading to data transmission delays.

[0031] S102 : When the transmission speed and the CPU occupancy rate meet the delay transmission condition, a delay transmission scheme is determined according to the transmission speed and the CPU occupancy rate, or a delay transmission scheme is determined according to the uploaded data size, the transmission speed and the CPU occupancy rate.

[0032] S103: Execute data upload according to the time-delay transmission solution.

[0033] In this embodiment, upon receiving a data upload request, the upload data size, transmission speed, and CPU occupancy rate are obtained. If the transmission speed and CPU occupancy rate meet the delay transmission conditions, it is determined whether the current transmission speed or CPU occupancy rate will cause data transmission delays or even bit errors. A delay transmission scheme is determined based on the upload data size, transmission speed, and CPU occupancy rate, and the data upload operation is performed according to the determined delay transmission scheme to avoid long delays or high bit errors during data transmission. This embodiment determines different delay transmission schemes based on the comprehensive transmission speed and CPU occupancy rate, ensuring stable data transmission while reducing transmission delays.

[0034] In some embodiments, in step S102, the delay transmission condition includes: setting a delay condition and a second delay condition.

[0035] The latency setting condition requires that the transmission speed is greater than or equal to the set transmission speed and the CPU utilization is greater than or equal to the set utilization. Under the set latency conditions, the transmission speed can meet the data transmission requirements, but the CPU utilization is high, which is likely to cause latency on the server side.

[0036] The second delay condition is when the transmission speed is lower than the set transmission speed. Under the second delay condition, the transmission speed cannot meet the data transmission requirements, and data upload operations at this time are prone to transmission interruption or packet loss.

[0037] In some embodiments, step S102 includes:

[0038] When the set delay conditions are met, the delay transmission plan is determined based on the transmission speed and CPU usage.

[0039] When the second delay condition is met, a delay transmission scheme is determined based on the uploaded data size, transmission speed, and CPU occupancy.

[0040] Figure 2 FIG. 1 is a flowchart of a method for data transmission control provided by another embodiment of the present invention, comprising the following steps:

[0041] S201, when receiving a data upload request, obtaining the upload data size, transmission speed and CPU usage.

[0042] S202, determining whether the transmission speed is greater than or equal to the set transmission speed, if the determination result is yes, executing step S204, if the determination result is no, executing step S203.

[0043] S203: Determine a delayed transmission solution based on the transmission speed and CPU occupancy.

[0044] S204, determining whether the CPU occupancy rate is greater than or equal to the set occupancy rate. If the determination result is yes, execute step S205; if the determination result is no, execute step S206.

[0045] S205: Determine a delayed transmission solution based on the uploaded data size, transmission speed, and CPU occupancy.

[0046] S206: Execute data upload operation. If the result of step S204 is negative, the transmission speed and CPU can meet the data upload requirements, and there is no need to determine the delayed transmission solution, and the data upload operation can be directly executed.

[0047] S207: Execute data upload operation according to the time-delay transmission solution.

[0048] In this embodiment, upon receiving a data upload request, the upload data size, transmission speed, and CPU occupancy rate are obtained. If the transmission speed and CPU occupancy rate meet the delay transmission conditions, it is determined whether the current transmission speed or CPU occupancy rate will cause data transmission delays or even bit errors. A delay transmission scheme is determined based on the upload data size, transmission speed, and CPU occupancy rate, and the data upload operation is performed according to the determined delay transmission scheme to avoid long delays or high bit errors during data transmission. This embodiment determines different delay transmission schemes based on the comprehensive transmission speed and CPU occupancy rate, ensuring stable data transmission while reducing transmission delays.

[0049] In some embodiments, step S102 includes:

[0050] When the set delay conditions are met, the delay transmission plan is determined based on the transmission speed and CPU usage;

[0051] When the second delay condition is met, a delay transmission scheme is determined according to the transmission speed and CPU occupancy.

[0052] Figure 3 FIG. 1 is a flowchart of a method for data transmission control provided by another embodiment of the present invention, comprising the following steps:

[0053] S301, when receiving a data upload request, obtain the upload data size, transmission speed and CPU usage.

[0054] S302, determining whether the transmission speed is greater than or equal to the set transmission speed, if the determination result is yes, executing step S303, if the determination result is no, executing step S304.

[0055] S303, determining whether the CPU occupancy is greater than or equal to the set occupancy. If the determination result is yes, executing step S304; if the determination result is no, executing step S305.

[0056] S304: Determine a delayed transmission solution based on the transmission speed and CPU occupancy.

[0057] S305: Execute data upload operation. If the result of step S303 is negative, the transmission speed and CPU can meet the data upload requirements, and there is no need to determine the delayed transmission solution, and the data upload operation can be directly executed.

[0058] S306: Execute data upload operation according to the time-delay transmission solution.

[0059] In this embodiment, upon receiving a data upload request, the upload data size, transmission speed, and CPU occupancy rate are obtained. If the transmission speed and CPU occupancy rate meet the delay transmission conditions, it is determined whether the current transmission speed or CPU occupancy rate will cause data transmission delays or even bit errors. A delay transmission scheme is determined based on the upload data size, transmission speed, and CPU occupancy rate, and the data upload operation is performed according to the determined delay transmission scheme to avoid long delays or high bit errors during data transmission. This embodiment determines different delay transmission schemes based on the comprehensive transmission speed and CPU occupancy rate, ensuring stable data transmission while reducing transmission delays.

[0060] In some embodiments, determining a delayed transmission scheme based on the transmission speed and CPU occupancy includes:

[0061] Determine the delay time for sending uploaded data based on CPU usage;

[0062] After one or more delayed sending periods have passed, the data upload operation is performed.

[0063] The delayed sending duration should not be too long. Optionally, the delayed sending duration is 2 to 10 minutes. Optionally, the delayed sending duration is 2, 3, 4, 5, 6, 7, 8, 9, or 10 minutes. The CPU usage is inversely proportional to the delayed sending duration; that is, the higher the CPU usage, the longer the delayed sending duration. This means waiting for the CPU usage to decrease ensures that the server can promptly receive data uploaded by the data management client.

[0064] Optionally, after determining the delay time for uploading data based on CPU usage, the CPU usage is monitored in real time. If the CPU usage remains high after the delay time, the server continues to wait. While waiting for data upload, the waiting time should not be too long to prevent the server from being unable to receive the uploaded data for an extended period.

[0065] In some embodiments, determining a delayed transmission scheme based on the uploaded data size, transmission speed, and CPU occupancy includes:

[0066] Determine the upload rate based on the transmission speed and CPU usage;

[0067] When the size of the uploaded data is less than the set value, the data upload operation is performed based on the upload rate;

[0068] When the size of the uploaded data is greater than or equal to the set value, the uploaded data is grouped according to the upload data type, and the data upload operation is performed based on the set type upload order and upload rate.

[0069] Optionally, the corresponding upload rate is determined based on a set transmission speed range and CPU usage range. Optionally, the upload rate is determined based on a calculation formula of transmission speed, usage, and upload rate. In particular, CPU usage is inversely proportional to upload rate, while transmission speed is directly proportional to upload rate.

[0070] In some embodiments, the occupancy rate is set to 70% to 90%. Optionally, the occupancy rate is set to 70%, 80% or 90%.

[0071] In some embodiments, when the CPU occupancy rate is greater than an occupancy rate threshold, a delay period for sending the uploaded data is determined based on the CPU occupancy rate. After one or more delay periods have elapsed, the data upload operation is performed to avoid excessive CPU occupancy rate and increased power consumption. Optionally, the occupancy rate threshold is 95%.

[0072] In some embodiments, the data transmission control method provided in the above embodiments is used on a funeral information management platform, which can exchange information with information data management platforms of multiple departments, such as finance, human resources and social security, public security, industry and commerce, and civil affairs. The uploaded data types include: statistical data, backend management data, basic data, business registration data, transportation data, service workshop data, urn storage data, cemetery data, and funeral product sales data.

[0073] Among them, the set type upload order includes: statistical data, background management data, basic data, business registration data, transportation data, service workshop data, urn storage data, cemetery data and funeral products sales data.

[0074] The specific data corresponding to statistical data, backend management data, basic data, business registration data, transportation data, service workshop data, urn storage data, cemetery data, and funeral product sales data are as follows:

[0075]

[0076] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0077] The following are device embodiments of the present invention. For details not fully described therein, reference may be made to the corresponding method embodiments described above.

[0078] Figure 4 A schematic diagram of the structure of an apparatus for data transmission control provided by an embodiment of the present invention is shown. For ease of explanation, only the parts related to the embodiment of the present invention are shown, which are described in detail as follows:

[0079] like Figure 4 As shown, the device for data transmission control includes: an acquisition module 401, a determination module 402 or an execution module 403.

[0080] The acquisition module 401 is used to acquire the upload data size, transmission speed and CPU occupancy rate when receiving a data upload request.

[0081] The determination module 402 is configured to determine a delayed transmission scheme based on the transmission speed and CPU occupancy when the transmission speed and CPU occupancy meet the delayed transmission conditions, or to determine a delayed transmission scheme based on the uploaded data size, transmission speed and CPU occupancy.

[0082] The execution module 403 is used to perform the data upload operation according to the time-delay transmission solution.

[0083] In some embodiments, the determination module 402 is specifically configured to determine a delay transmission scheme based on the transmission speed and CPU occupancy when a set delay condition is met, or to determine a delay transmission scheme based on the size of the uploaded data, the transmission speed, and the CPU occupancy;

[0084] When the second delay condition is met, a delay transmission scheme is determined according to the transmission speed and CPU occupancy.

[0085] In some embodiments, determining a delayed transmission scheme based on the transmission speed and CPU occupancy includes:

[0086] Determine the delay time for sending uploaded data based on CPU usage;

[0087] After one or more delayed sending periods have passed, the data upload operation is performed.

[0088] In some embodiments, determining a delayed transmission scheme based on the uploaded data size, transmission speed, and CPU occupancy includes:

[0089] Determine the upload rate based on the transmission speed and CPU usage;

[0090] When the size of the uploaded data is less than the set value, the data upload operation is performed based on the upload rate;

[0091] When the size of the uploaded data is greater than or equal to the set value, the uploaded data is grouped according to the upload data type, and the data upload operation is performed based on the set type upload order and upload rate.

[0092] In some embodiments, the set type upload order includes: statistical data, background management data, basic data, business registration data, transportation data, service workshop data, ash storage data, cemetery data and funeral product sales data.

[0093] In some embodiments, the delay transmission condition includes:

[0094] Set the delay condition, the transmission speed is greater than or equal to the set transmission speed, and the CPU usage is greater than or equal to the set usage; and

[0095] The second delay condition is that the transmission speed is lower than the set transmission speed.

[0096] In this embodiment, upon receiving a data upload request, the upload data size, transmission speed, and CPU occupancy rate are obtained. If the transmission speed and CPU occupancy rate meet the delay transmission conditions, it is determined whether the current transmission speed or CPU occupancy rate will cause data transmission delays or even bit errors. A delay transmission scheme is determined based on the upload data size, transmission speed, and CPU occupancy rate, and the data upload operation is performed according to the determined delay transmission scheme to avoid long delays or high bit errors during data transmission. This embodiment determines different delay transmission schemes based on the comprehensive transmission speed and CPU occupancy rate, ensuring stable data transmission while reducing transmission delays.

[0097] Figure 5 FIG is a schematic diagram of a terminal provided by an embodiment of the present invention. Figure 5 As shown, the terminal 5 of this embodiment includes: a processor 50, a memory 51, and a computer program 52 stored in the memory 51 and executable on the processor 50. When the processor 50 executes the computer program 52, the steps in the above-mentioned various embodiments of the method for data transmission control are implemented, such as Figure 1 Alternatively, when the processor 50 executes the computer program 52, the functions of the modules / units in the above-mentioned device embodiments are realized, for example, Figure 4 Functions of modules 401 to 403 are shown.

[0098] Exemplarily, the computer program 52 may be divided into one or more modules / units, which are stored in the memory 51 and executed by the processor 50 to implement the present invention. The one or more modules / units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 52 in the terminal 5. For example, the computer program 52 may be divided into an acquisition module, a determination module, and an execution module, with the specific functions of each unit being as follows:

[0099] The acquisition module is used to obtain the uploaded data size, transmission speed and CPU usage when receiving a data upload request;

[0100] a determination module for determining a delayed transmission scheme based on the transmission speed and the CPU occupancy rate when the transmission speed and the CPU occupancy rate meet the delayed transmission condition, or determining the delayed transmission scheme based on the uploaded data size, the transmission speed and the CPU occupancy rate;

[0101] The execution module is used to perform data upload operations according to the time-delay transmission solution.

[0102] The terminal 5 can be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The terminal can include, but is not limited to, a processor 50 and a memory 51. It can be understood by those skilled in the art that Figure 5 It is only an example of terminal 5 and does not constitute a limitation on terminal 5. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal may also include input and output devices, network access devices, buses, etc.

[0103] The processor 50 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor.

[0104] The memory 51 can be an internal storage unit of the terminal 5, such as a hard disk or memory of the terminal 5. The memory 51 can also be an external storage device of the terminal 5, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal 5. Furthermore, the memory 51 can also include both an internal storage unit of the terminal 5 and an external storage device. The memory 51 is used to store the computer program and other programs and data required by the terminal. The memory 51 can also be used to temporarily store data that has been output or is about to be output.

[0105] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into one processing unit, or each unit can exist physically alone, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.

[0106] In the above embodiments, the description of each embodiment has its own focus. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant description of other embodiments.

[0107] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present invention.

[0108] In the embodiments provided by the present invention, it should be understood that the disclosed devices / terminals and methods can be implemented in other ways. For example, the device / terminal embodiments described above are merely illustrative. For example, the division of the modules or units is merely a logical functional division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interface, indirect coupling or communication connection of devices or units, and can be electrical, mechanical, or other forms.

[0109] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0110] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.

[0111] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the process in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by a processor, it can implement the steps of the above-mentioned various method embodiments. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media does not include electric carrier signals and telecommunication signals.

[0112] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should all be included in the scope of protection of the present invention.

Claims

1. A method for data transmission control, characterized in that: include: When receiving a data upload request, obtain the uploaded data size, transmission speed and CPU usage; When the transmission speed and the CPU occupancy rate meet the delay transmission condition, determining the delay transmission scheme according to the transmission speed and the CPU occupancy rate, or determining the delay transmission scheme according to the upload data size, the transmission speed and the CPU occupancy rate; The data upload operation is performed according to the time-delay transmission scheme.

2. The method according to claim 1, characterized in that The delay transmission conditions include: Setting a delay condition, the transmission speed is greater than or equal to the set transmission speed, and the CPU occupancy rate is greater than or equal to the set occupancy rate; and The second delay condition is that the transmission speed is lower than the set transmission speed.

3. The method according to claim 2, characterized in that When the transmission speed and the CPU occupancy rate meet the delay transmission condition, determining the delay transmission scheme according to the transmission speed and the CPU occupancy rate, or determining the delay transmission scheme according to the upload data size, the transmission speed and the CPU occupancy rate, including: When the set delay condition is met, determining a delay transmission scheme according to the transmission speed and the CPU occupancy rate, or determining a delay transmission scheme according to the uploaded data size, the transmission speed and the CPU occupancy rate; When the second delay condition is met, a delay transmission scheme is determined according to the transmission speed and the CPU occupancy rate.

4. The method according to any one of claims 1 to 3, characterized in that The determining of the delayed transmission scheme according to the transmission speed and the CPU occupancy rate includes: Determine the delay time of sending the uploaded data according to the CPU occupancy rate; After one or more of the delayed sending time periods have passed, the data upload operation is performed.

5. The method according to any one of claims 1 to 3, characterized in that The determining of the delayed transmission scheme according to the uploaded data size, the transmission speed, and the CPU occupancy rate includes: Determine an upload rate based on the transmission speed and the CPU occupancy rate; When the size of the uploaded data is less than a set value, performing a data uploading operation based on the upload rate; When the size of the uploaded data is greater than or equal to the set value, the uploaded data is grouped according to the type of the uploaded data, and the data uploading operation is performed based on the set type upload sequence and the upload rate.

6. A device for data transmission control, characterized in that: include: The acquisition module is used to obtain the uploaded data size, transmission speed and CPU usage when receiving a data upload request; a determination module, configured to determine a delayed transmission scheme according to the transmission speed and the CPU occupancy rate when the transmission speed and the CPU occupancy rate meet a delayed transmission condition, or to determine a delayed transmission scheme according to the size of the uploaded data, the transmission speed and the CPU occupancy rate; An execution module is used to perform a data upload operation according to the time-delay transmission scheme.

7. The device according to claim 6, characterized in that The delay transmission conditions include: Setting a delay condition, the transmission speed is greater than or equal to the set transmission speed, and the CPU occupancy rate is greater than or equal to the set occupancy rate; and The second delay condition is that the transmission speed is lower than the set transmission speed.

8. The device according to claim 7, characterized in that The determining module is configured to determine a delayed transmission scheme according to the transmission speed and the CPU occupancy rate when the set delay condition is met, or determine a delayed transmission scheme according to the uploaded data size, the transmission speed, and the CPU occupancy rate; When the second delay condition is met, a delay transmission scheme is determined according to the transmission speed and the CPU occupancy rate.

9. A terminal comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: When the processor executes the computer program, the steps of the method for data transmission control according to any one of claims 1 to 5 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method for data transmission control according to any one of claims 1 to 5 are implemented.

Citation Information

Patent Citations

  • Data transmission control method and device and storage medium

    CN110022268A

  • Data transmission method and device, electronic equipment and storage medium

    CN110971529A