Data transmission method and device based on temperature control and storage medium
By monitoring the equipment temperature in real time and adjusting the transmission speed dynamically, the problem of reducing transmission speed due to rising equipment temperature in high-speed data transmission is solved, and efficient and stable data transmission is achieved.
Patent Information
- Application Number
- CN202311735312.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-15
- Publication Date
- 2025-06-17
AI Technical Summary
In high-speed data transmission scenarios, the rapid rise in equipment temperature may lead to a decrease in transmission speed and affect data transmission efficiency.
By monitoring the equipment temperature in real time during data transmission and dynamically adjusting the transmission speed according to the estimated temperature conditions, ensure that the equipment operates within the safe temperature range. Specific methods include reducing the transmission speed when the temperature exceeds a safety threshold and restoring high-speed transmission when the temperature returns to the safe range.
It realizes the improvement of data transmission efficiency while ensuring the safe operation of the equipment, avoids abnormal situations where the transmission speed is forced to be reduced due to the high temperature of the equipment, and improves the stability and efficiency of data transmission.
Smart Images

Figure CN120161890A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computers, and more particularly, to a data transmission method, apparatus, storage medium, and electronic device based on temperature control. Background Art
[0002] In a data transmission scenario, especially during high-speed transmission, the CPU and network modules need to perform high-speed operations, resulting in a rapid increase in the device temperature. This may actively reduce the data transmission speed to ensure the safe operation of the device. If the data transmission speed is not restricted, it will cause the terminal temperature to be too high, which not only affects the safe operation of the device but also forces the reduction of the data transmission speed, thereby leading to a problem of low data transmission efficiency. Therefore, there is a problem of low data transmission efficiency.
[0003] In view of the above problems, no effective solution has been proposed yet. Summary of the Invention
[0004] Embodiments of the present application provide a data transmission method, apparatus, storage medium, and electronic device based on temperature control to at least solve the technical problem of low data transmission efficiency.
[0005] According to one aspect of the embodiments of the present application, a data transmission method based on temperature control is provided, including: in response to a data transmission request triggered by a data sending device, controlling the data sending device to perform a first-stage transmission of resource data, where the data transmission request is used to request the data sending device to transmit the resource data to a data receiving device, and the first-stage transmission is a data transmission with a first transmission speed and the data receiving device as the transmission target; estimating the device temperature of the data sending device after transmitting the resource data to the data receiving device at the first transmission speed to obtain a first sending device temperature; in the case where the first sending device temperature is greater than the device safety temperature of the data sending device, controlling the data sending device to perform a second-stage transmission of first resource data in the resource data, where the second-stage transmission is a data transmission with a second transmission speed and the data receiving device as the transmission target, the second transmission speed is less than the first transmission speed, the resource data includes the first resource data and second resource data, and the second resource data is a part of the resource data that the data sending device has transmitted to the data receiving device at the first transmission speed; estimating the device temperature of the data sending device after transmitting the resource data to the data receiving device at the second transmission speed to obtain a second sending device temperature; in the case where the second sending device temperature is less than or equal to the device safety temperature of the data sending device, controlling the data sending device to transmit first sub-data in the first resource data to the data receiving device at the second transmission speed, where the first resource data includes the first sub-data and second sub-data, and the second sub-data is a part of the resource data that the data sending device has transmitted to the data receiving device at the second transmission speed.
[0006] According to another aspect of the embodiments of the present application, another data transmission method based on temperature control is provided, including: in response to a data transmission request triggered by a data receiving device, controlling the data receiving device to perform a first-stage transmission of resource data, where the data transmission request is used to request the data receiving device to receive the resource data transmitted by a data sending device, and the first-stage transmission is a data transmission with the first transmission speed and the data sending device as the transmission source; estimating the device temperature of the data receiving device after receiving the resource data transmitted by the data sending device at the first transmission speed, to obtain a first received device temperature; in the case where the first received device temperature is greater than the device safety temperature of the data receiving device, controlling the data receiving device to perform a second-stage transmission of first resource data in the resource data, where the second-stage transmission is a data transmission with the second transmission speed and the data sending device as the transmission source, the second transmission speed is less than the first transmission speed, the resource data includes the first resource data and second resource data, and the second resource data is a part of the resource data that the data receiving device has received from the data sending device at the first transmission speed; estimating the device temperature of the data receiving device after receiving the resource data transmitted by the data sending device at the second transmission speed, to obtain a second received device temperature; in the case where the second received device temperature is less than or equal to the device safety temperature of the data receiving device, controlling the data receiving device to receive first sub-data in the first resource data transmitted by the data sending device at the second transmission speed, where the first resource data includes the first sub-data and second sub-data, and the second sub-data is a part of the resource data that the data receiving device has received from the data sending device at the second transmission speed.
[0007] According to another aspect of the embodiments of the present application, there is also provided a data transmission device based on temperature control, including: a first control unit, configured to control the data sending device to perform a first-stage transmission of resource data in response to a data transmission request triggered by the data sending device, where the data transmission request is used to request the data sending device to transmit the resource data to a data receiving device, and the first-stage transmission is a data transmission with the first transmission speed and the data receiving device as the transmission target; a first estimation unit, configured to estimate the device temperature of the data sending device after transmitting the resource data to the data receiving device at the first transmission speed, to obtain a first sending device temperature; a second control unit, configured to control the data sending device to perform a second-stage transmission of first resource data in the resource data when the first sending device temperature is greater than the device safety temperature of the data sending device, where the second-stage transmission is a data transmission with the second transmission speed and the data receiving device as the transmission target, the second transmission speed is less than the first transmission speed, the resource data includes the first resource data and second resource data, and the second resource data is a part of the resource data that the data sending device has transmitted to the data receiving device at the first transmission speed; a second estimation unit, configured to estimate the device temperature of the data sending device after transmitting the resource data to the data receiving device at the second transmission speed, to obtain a second sending device temperature; a third control unit, configured to control the data sending device to transmit first sub-data in the first resource data to the data receiving device at the second transmission speed when the second sending device temperature is less than or equal to the device safety temperature of the data sending device, where the first resource data includes the first sub-data and second sub-data, and the second sub-data is a part of the resource data that the data sending device has transmitted to the data receiving device at the second transmission speed.
[0008] As an alternative solution, the above first prediction unit includes: a first determination module for determining the first current device temperature when the above data sending device starts to transmit at the above first transmission speed; a first acquisition module for acquiring the first heat generation amount and the first heat dissipation amount of the above data sending device at the above first transmission speed, and determining the first heat difference between the above first heat generation amount and the above first heat dissipation amount; a second acquisition module for acquiring the first remaining transmission duration of the above resource data, and determining the first temperature impact on the above first current device temperature after the above first heat difference is exhausted within the above first remaining transmission duration; a second determination module for determining the device temperature after the above first current device temperature is affected by the above first temperature impact as the above first current device temperature; the above second prediction unit includes: a third determination module for determining the second current device temperature when the above data sending device starts to transmit at the above second transmission speed; a third acquisition module for acquiring the second heat generation amount and the second heat dissipation amount of the above data sending device at the above second transmission speed, and determining the second heat difference between the above second heat generation amount and the above second heat dissipation amount; a fourth acquisition module for acquiring the second remaining transmission duration of the above resource data, and determining the second temperature impact on the above second current device temperature after the above second heat difference is exhausted within the above second remaining transmission duration; a fourth determination module for determining the device temperature after the above second current device temperature is affected by the above second temperature impact as the above second current device temperature.
[0009] As an alternative solution, the above second acquisition module includes: a first estimation sub-module for estimating, when the first remaining data amount of the above resource data is acquired, the first cumulative duration for the above data sending device to transmit the data of the above first remaining data amount to the above data receiving device at the first transmission speed, and determining the first cumulative duration as the above first remaining transmission duration, where the above first remaining data amount is the data amount of the data that has not been transmitted under the above first-stage transmission of the above resource data; the above fourth acquisition module includes: a second estimation sub-module for estimating, when the second remaining data amount of the above resource data is acquired, the second cumulative duration for the above data sending device to transmit the data of the above second remaining data amount to the above data receiving device at the second transmission speed, and determining the second cumulative duration as the above second remaining transmission duration, where the above first remaining data amount is the data amount of the data that has not been transmitted under the above second-stage transmission of the above resource data.
[0010] As an alternative solution, the above-mentioned first estimation unit includes: a fifth acquisition module, configured to acquire at least one first key factor affecting the device temperature of the above-mentioned data sending device; a first substitution module, configured to substitute the above-mentioned at least one first key factor into a pre-constructed decision tree model to obtain the above-mentioned first sending device temperature, where the decision tree model is a non-parametric classifier trained using multiple sample key factors for estimating the device temperature; the above-mentioned second estimation unit includes: a sixth acquisition module, configured to acquire at least one second key factor affecting the device temperature of the above-mentioned data sending device;
[0011] a second substitution module, configured to substitute the above-mentioned at least one second key factor into the above-mentioned decision tree model to obtain the above-mentioned second sending device temperature.
[0012] As an alternative solution, the above-mentioned device further includes: a seventh acquisition module, configured to acquire the above-mentioned multiple sample key factors before substituting the above-mentioned at least one first key factor into the pre-constructed decision tree model to obtain the above-mentioned first sending device temperature, where the sample key factors belong to an enumerated type or a continuous numerical type, the enumerated type is a data type with fixed values, and the continuous numerical type is a data type with values within a continuous range; a processing module, configured to segment and intercept the first factor belonging to the above-mentioned continuous numerical type among the above-mentioned multiple sample key factors to obtain first factors in different intervals before substituting the above-mentioned at least one first key factor into the pre-constructed decision tree model to obtain the above-mentioned first sending device temperature, and regard the first factors in the above-mentioned different intervals as second factors belonging to the above-mentioned enumerated type; a training module, configured to input the second factors among the above-mentioned multiple sample key factors into an initial decision tree model before substituting the above-mentioned at least one first key factor into the pre-constructed decision tree model to obtain the above-mentioned first sending device temperature until the above-mentioned trained decision tree model is obtained.
[0013] As an alternative solution, the above-mentioned seventh acquisition module includes: an acquisition sub-module for acquiring at least two types of candidate key factors; a determination sub-module for determining a first candidate factor set from the at least two types of candidate key factors, where the candidate key factors in the first candidate factor set correspond to a key priority greater than or equal to a first preset threshold; an execution sub-module for, when the number of factors in the first candidate factor set is less than a second preset threshold, performing the following steps until the number of factors in the first candidate factor set is greater than or equal to the second preset threshold: determining a current candidate factor from the at least two types of candidate key factors; adding the current candidate factor to the first candidate factor set to obtain a second candidate factor set; using information entropy to evaluate the second candidate factor set to obtain the current evaluation result corresponding to the second candidate factor set; when the current evaluation result meets the key condition, determining the second candidate factor set as the new first candidate factor set; when the number of factors in the new first candidate factor set is less than the second preset threshold, determining a next candidate factor from the at least two types of candidate key factors and determining the next candidate factor as the current candidate factor; when the number of factors in the new first candidate factor set is greater than or equal to the second preset threshold, determining the candidate key factors in the new first candidate factor set as the multiple sample key factors.
[0014] As an alternative solution, the above-mentioned device further includes: a detection unit for continuously detecting the device temperature of the data receiving device during the process of controlling the data sending device to transmit the first sub-data in the first resource data to the data receiving device at the second transmission speed, to obtain the real-time device temperature of the data receiving device; a transmission unit for, during the process of controlling the data sending device to transmit the first sub-data in the first resource data to the data receiving device at the second transmission speed, when the real-time device temperature is greater than the device safety temperature of the data sending device, controlling the data sending device to perform a third-stage transmission on the resource data that has not been transmitted yet, where the third-stage transmission is a data transmission with the third transmission speed as the transmission speed and the data receiving device as the transmission target, and the third transmission speed is less than the second transmission speed.
[0015] As an alternative solution, after continuously detecting the device temperature of the above data receiving device to obtain the real-time device temperature of the above data receiving device, the above method further includes: a fourth control unit, configured to control the above data sending device to perform the first-stage transmission on the resource data that has not been transmitted in the above resource data when the above real-time device temperature is less than the device safety temperature of the above data sending device and the temperature difference between the above real-time device temperature and the device safety temperature of the above data sending device is greater than or equal to a third preset threshold.
[0016] As an alternative solution, the above third control unit includes: a control module, configured to control the above data sending device to transmit the above first sub-data to the above data receiving device at the above second transmission speed when the above second sending device temperature is less than or equal to the device safety temperature of the above data sending device and the receiving device temperature is less than or equal to the device safety temperature of the above data receiving device, where the above receiving device temperature is the device temperature estimated by the above data receiving device after receiving the above resource data at the above second transmission speed.
[0017] According to another aspect of the embodiments of the present application, another data transmission device based on temperature control is further provided, including: a fifth control unit, configured to control the data receiving device to perform a first-stage transmission of resource data in response to a data transmission request triggered by the data receiving device, where the data transmission request is used to request the data receiving device to receive the resource data transmitted by the data sending device, and the first-stage transmission is a data transmission with the first transmission speed as the transmission speed and the data sending device as the transmission source; a third estimation unit, configured to estimate the device temperature of the data receiving device after receiving the resource data transmitted by the data sending device at the first transmission speed, to obtain a first received device temperature; a sixth control unit, configured to control the data receiving device to perform a second-stage transmission of first resource data in the resource data when the first received device temperature is greater than the device safety temperature of the data receiving device, where the second-stage transmission is a data transmission with the second transmission speed as the transmission speed and the data sending device as the transmission source, the second transmission speed is less than the first transmission speed, the resource data includes the first resource data and the second resource data, and the second resource data is a part of the resource data that the data receiving device has received from the data sending device at the first transmission speed; a fourth estimation unit, configured to estimate the device temperature of the data receiving device after receiving the resource data transmitted by the data sending device at the second transmission speed, to obtain a second received device temperature; a seventh control unit, configured to control the data receiving device to receive first sub-data in the first resource data transmitted by the data sending device at the second transmission speed when the second received device temperature is less than or equal to the device safety temperature of the data receiving device, where the first resource data includes the first sub-data and the second sub-data, and the second sub-data is a part of the resource data that the data receiving device has received from the data sending device at the second transmission speed.
[0018] According to yet another aspect of the embodiments of the present application, a computer program product or a computer program is provided. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. A processor of an electronic device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the electronic device executes the temperature control-based data transmission method as described above.
[0019] According to yet another aspect of the embodiments of the present application, an electronic device is further provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor. The processor executes the above temperature control-based data transmission method through the computer program.
[0020] In the embodiments of the present application, it is possible to improve the data transmission efficiency as much as possible on the premise of ensuring the safe operation of the device. Moreover, since the adjustment of the device temperature in this embodiment is based on the prediction of the device temperature, it avoids the abnormal situation of being forced to reduce the transmission speed due to the too high device temperature. Furthermore, it achieves the purpose that the device operates at a high transmission efficiency within the safe temperature range, thus realizing the technical effect of improving the data transmission efficiency and further solving the technical problem of low data transmission efficiency. Description of the Drawings
[0021] The drawings described herein are used to provide a further understanding of the present application and form a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation to the present application. In the drawings:
[0022] Figure 1 is a schematic diagram of an application environment of an optional temperature control-based data transmission method according to an embodiment of the present application;
[0023] Figure 2 is a schematic diagram of the process of an optional temperature control-based data transmission method according to an embodiment of the present application;
[0024] Figure 3 is a schematic diagram of an optional temperature control-based data transmission method according to an embodiment of the present application;
[0025] Figure 4 is a schematic diagram of another optional temperature control-based data transmission method according to an embodiment of the present application;
[0026] Figure 5 is a schematic diagram of another optional temperature control-based data transmission method according to an embodiment of the present application;
[0027] Figure 6 is a schematic diagram of another optional temperature control-based data transmission method according to an embodiment of the present application;
[0028] Figure 7 is a schematic diagram of an optional temperature control-based data transmission device according to an embodiment of the present application;
[0029] Figure 8 is a schematic diagram of another optional temperature control-based data transmission device according to an embodiment of the present application;
[0030] Figure 9 is a schematic diagram of another optional temperature control-based data transmission device according to an embodiment of the present application;
[0031] Figure 10It is a schematic structural diagram of an optional electronic device according to an embodiment of the present application. Detailed implementation manners
[0032] In order to enable those skilled in the art to better understand the solution of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device including a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.
[0034] According to one aspect of the embodiments of the present application, a data transmission method based on temperature control is provided. Optionally, as an optional implementation manner, the above-mentioned data transmission method based on temperature control can be but is not limited to being applied to an environment as Figure 1 shown. Among them, it may include but is not limited to a user device 102 (data sending device) and a user device 112 (data receiving device). The user device 102 may include but is not limited to a display 104, a processor 106, and a memory 108. The user device 112 includes a memory 118 and a processor 116.
[0035] The specific process may be as follows:
[0036] Step S102, the user device 102 sends resource data at a transmission speed (the first transmission speed, the second transmission speed, etc.);
[0037] Step S104, the resource data is sent to the user device 112 through the network 110;
[0038] Step S106, the user equipment 112 receives resource data according to the transmission speed (the first transmission speed, the second transmission speed, etc.). The user equipment 112 transmits the corresponding data transfer result of the resource data to the display 114 through the processor 116, and stores the above-mentioned resource data in the memory 17;
[0039] Step S108, the data transfer result corresponding to the resource data is sent to the user equipment 102 through the network 110. The user equipment 102 displays the data transfer result on the display 104 through the processor 106, and stores the above data transfer result in the memory 108.
[0040] Except Figure 1 In addition to the examples shown, the above terminal device can be a terminal device configured with a target client, and can include but not limited to at least one of the following: mobile phone (such as Android mobile phone, iOS mobile phone, etc.), laptop computer, tablet computer, handheld computer, MID (Mobile Internet Devices, mobile Internet device), PAD, desktop computer, smart TV, etc. The target client can be a video client, an instant messaging client, a browser client, an education client, etc. The above network can include but not limited to: wired network, wireless network, where the wired network includes: local area network, metropolitan area network and wide area network, and the wireless network includes: Bluetooth, WIFI and other networks that implement wireless communication. The above is only an example, and this embodiment does not make any limitation thereto.
[0041] Optionally, as an alternative implementation, as Figure 2 shown, the data transmission method based on temperature control can be executed by an electronic device, and the electronic device can be, for example, the user equipment 102 as Figure 1 shown. The specific steps include:
[0042] S202, in response to a data transmission request triggered by a data sending device, control the data sending device to perform a first-stage transmission on the resource data, where the data transmission request is used to request the data sending device to transmit the resource data to the data receiving device, and the first-stage transmission is a data transmission with the first transmission speed as the transmission speed and the data receiving device as the transmission target;
[0043] S204, estimate the device temperature after the data sending device transmits the resource data to the data receiving device at the first transmission speed, and obtain the first sending device temperature;
[0044] S206. When the temperature of the first sending device is greater than the device safety temperature of the data sending device, control the data sending device to perform a second-stage transmission on the first resource data in the resource data. The second-stage transmission is a data transmission with the second transmission speed as the transmission speed and the data receiving device as the transmission target. The second transmission speed is less than the first transmission speed. The resource data includes the first resource data and the second resource data. The second resource data is a part of the resource data that the data sending device has transmitted to the data receiving device at the first transmission speed.
[0045] S208. Estimate the device temperature after the data sending device transmits the resource data to the data receiving device at the second transmission speed, and obtain the second sending device temperature.
[0046] S210. When the second sending device temperature is less than or equal to the device safety temperature of the data sending device, control the data sending device to transmit the first sub-data in the first resource data to the data receiving device at the second transmission speed. The first resource data includes the first sub-data and the second sub-data. The second sub-data is a part of the resource data that the data sending device has transmitted to the data receiving device at the second transmission speed.
[0047] Optionally, in this embodiment, the above temperature-based data transmission method can be but is not limited to being applied to the near-field communication scenario of a mobile terminal. As the performance of the mobile terminal becomes stronger and stronger, the files stored in the local terminal are also getting larger and larger. For example, the more exquisite picture quality leads to the resource package files of terminal games becoming larger and larger. Near-field communication has very great speed advantages in the scenario where users are face to face due to advantages such as fast transmission speed and being unaffected by network fluctuations. However, when transmitting at high speed, the CPU and network module need to perform high-speed operations, resulting in a rapid increase in the terminal temperature. The device may be forced to reduce the transmission speed, thus affecting the user data transmission experience. But if the transmission speed is not restricted, resulting in too high a terminal temperature, it will not only affect the safe operation of the device but also seriously affect the user experience.
[0048] In this embodiment, when two near-field communication devices (such as a smart phone or a tablet computer) are close and establish a connection, one device may act as the data sending device and the other device as the data receiving device. The data sending device receives a data transmission request triggered by a user or an application program, requesting to transmit some resource data (such as files, pictures, or videos) to the data receiving device.
[0049] Before starting the transmission, the data sending device will estimate the device temperature after transmitting the resource data to the data receiving device at the first transmission speed (a higher speed). This can be achieved by considering factors such as the heat dissipation capacity of the device, the current ambient temperature, the power of the device, and the speed and size of the transmitted data.
[0050] If the predicted device temperature exceeds the safe temperature threshold, the data sending device will automatically reduce the transmission speed to the second transmission speed (lower speed) to ensure that the device temperature remains within the safe range. This adjustment is real-time and is based on an accurate prediction of the device temperature.
[0051] After reducing the transmission speed, the data sending device continues to transmit the resource data to the data receiving device at the second transmission speed. At the same time, the system will predict the device temperature again when transmitting at the second transmission speed to ensure that the device still operates safely at this speed.
[0052] If during the second-stage transmission, the predicted device temperature still exceeds the safe temperature threshold, the data sending device can further reduce the transmission speed or take other measures, such as pausing the transmission for a period of time to allow the device to cool down.
[0053] Thus, this embodiment can achieve efficient and secure data transmission in the near-field communication scenario. It avoids the problem of reduced efficiency caused by being forced to reduce the transmission speed due to overheating, and can be dynamically adjusted according to the actual temperature condition of the device to ensure the best transmission performance and user experience.
[0054] Optionally, in this embodiment, when the data sending device receives a request to send certain resource data to the data receiving device, the process of the first-stage transmission will start. During this process, the data will be transmitted from the data sending device to the data receiving device at a relatively high, even the highest speed, that is, the first transmission speed. The first-stage transmission using the first transmission speed aims to transmit the data to the target device as soon as possible, thereby improving the overall efficiency of data transmission.
[0055] However, such high-speed transmission may cause the temperature of the data sending device to rise rapidly, especially during continuous or large-scale data transmission. To ensure the safe operation of the device, this embodiment also performs temperature control. For example, when the data sending device is about to send resource data at the first transmission speed, or when the data sending device has already sent resource data at the first transmission speed, this embodiment will predict the temperature of the device after completion of sending, that is, the first sending device temperature.
[0056] If this predicted temperature exceeds the safe operating temperature of the device, this embodiment will control the data sending device to reduce the transmission speed to the second transmission speed and start the second-stage transmission of the first resource data that has not been transmitted yet. The speed of the second-stage transmission is slower than that of the first stage to ensure that the device does not overheat. The resource data includes the second resource data that has been transmitted at the first transmission speed in the first stage and the first resource data that is yet to be transmitted.
[0057] Thus, this embodiment ensures the efficiency of data transmission and the security of the device. Although the transmission speed in the second stage is slower, it prevents possible damage to the device and ensures the complete transmission of data. In addition, by dynamically adjusting the transmission speed and taking other cooling measures, this embodiment can maximize the efficiency of data transmission while ensuring the stable and long-life operation of the device.
[0058] Optionally, when the data sending device sends resource data at the second transmission speed (lower speed), this embodiment will pre-estimate the temperature of the device after completing the sending, that is, the second sending device temperature. If the predicted temperature is less than or equal to the safe operating temperature of the device, this embodiment will continue to control the data sending device to send the first sub-data at the second transmission speed, where the first sub-data in the resource data is the part that has not been transmitted, and the second sub-data is the part that has been transmitted at the second transmission speed.
[0059] For further illustration, optionally assume that smartphone A wants to send a large video file to smartphone B. At the beginning, A sends at a speed of 1 Gbps (the first transmission speed). It is predicted that the temperature of A after completing the sending will reach 70 °C (the first sending device temperature), exceeding the safe threshold of 60 °C. So, A reduces the speed to 500 Mbps (the second transmission speed) and continues to send the unfinished video (the first resource data). It is predicted again that this time the temperature of A after completing the sending is 55 °C (the second sending device temperature), which is lower than the safe threshold of 60 °C. Therefore, A continues to send the first part of the video (the first sub-data) at a speed of 500 Mbps.
[0060] It should be noted that when the data sending device receives a data transmission request to send some resource data to the data receiving device, it will start the first stage of transmission and use the higher first transmission speed. This embodiment will estimate the temperature of the data sending device after completing the first stage of transmission to obtain the first sending device temperature. If the estimated first sending device temperature exceeds the safe operating temperature of the device, this embodiment will control the data sending device to reduce the transmission speed to the second transmission speed and start the second stage of transmission for the first resource data that has not been transmitted. This embodiment will estimate the temperature of the data sending device after completing the second stage of transmission again to obtain the second sending device temperature. If the estimated second sending device temperature is less than or equal to the safe operating temperature of the device, this embodiment will control the data sending device to continue to send the first sub-data at the second transmission speed.
[0061] For further illustration, optionally, for example Figure 3As shown, in response to a data transmission request triggered by the data sending device 302, the data sending device 302 is controlled to perform a first-stage transmission of the resource data. The data transmission request is used to request the data sending device 302 to transmit the resource data to the data receiving device 304. The first-stage transmission is a data transmission with the first transmission speed and the data receiving device 304 as the transmission target.
[0062] Estimate the device temperature of the data sending device 302 after transmitting the resource data to the data receiving device 304 at the first transmission speed to obtain the first sending device temperature. When the first sending device temperature is greater than the device safety temperature of the data sending device 302, control the data sending device 302 to perform a second-stage transmission of the first resource data in the resource data. The second-stage transmission is a data transmission with the second transmission speed and the data receiving device 304 as the transmission target. The second transmission speed is less than the first transmission speed. The resource data includes the first resource data and the second resource data. The second resource data is the part of the resource data that the data sending device 302 has transmitted to the data receiving device 304 at the first transmission speed.
[0063] Estimate the device temperature of the data sending device 302 after transmitting the resource data to the data receiving device 304 at the second transmission speed to obtain the second sending device temperature. When the second sending device temperature is less than or equal to the device safety temperature of the data sending device 302, control the data sending device 302 to transmit the first sub-data in the first resource data to the data receiving device 304 at the second transmission speed. The first resource data includes the first sub-data and the second sub-data. The second sub-data is the part of the resource data that the data sending device 302 has transmitted to the data receiving device 304 at the second transmission speed.
[0064] Through the embodiments provided in this application, it is possible to improve the data transmission efficiency as much as possible on the premise of ensuring the safe operation of the device. Since the adjustment of the device temperature in this embodiment is based on the estimation of the device temperature, the abnormal situation of being forced to reduce the transmission speed due to too high device temperature is avoided. Furthermore, the purpose of the device running at a high transmission efficiency within the safe temperature range is achieved, thereby realizing the technical effect of improving the data transmission efficiency.
[0065] As an optional solution, estimating the device temperature of the data sending device after transmitting the resource data to the data receiving device at the first transmission speed to obtain the first sending device temperature includes:
[0066] S1-1, determining the first current device temperature when the data sending device starts to transmit at the first transmission speed;
[0067] S1-2. Obtain the first heat generation amount and the first heat dissipation amount of the data sending device at the first transmission speed, and determine the first heat difference between the first heat generation amount and the first heat dissipation amount;
[0068] S1-3. Obtain the first remaining transmission duration of the resource data, and determine the first temperature impact on the first current device temperature after the first heat difference is exhausted within the first remaining transmission duration;
[0069] S1-4. Determine the device temperature after the first current device temperature is affected by the first temperature impact as the first current device temperature;
[0070] Thus, the technical effect of improving data transmission efficiency is achieved.
[0071] As an optional solution, estimate the device temperature of the data sending device after transmitting the resource data to the data receiving device at the second transmission speed to obtain the second sending device temperature, including:
[0072] S2-1. Determine the second current device temperature when the data sending device starts transmitting at the second transmission speed;
[0073] S2-2. Obtain the second heat generation amount and the second heat dissipation amount of the data sending device at the second transmission speed, and determine the second heat difference between the second heat generation amount and the second heat dissipation amount;
[0074] S2-3. Obtain the second remaining transmission duration of the resource data, and determine the second temperature impact on the second current device temperature after the second heat difference is exhausted within the second remaining transmission duration;
[0075] S2-4. Determine the device temperature after the second current device temperature is affected by the second temperature impact as the second current device temperature.
[0076] Optionally, in this embodiment, the heat dissipation amount can but is not limited to refer to the heat released by an object thermodynamically, which consists of the heat radiated from the object and the heat transfer between objects. And the heat generation amount can but is not limited to refer to the heat generated by an object under specific conditions, and this specific condition can be current passing through a resistor, chemical reaction, friction, etc.
[0077] In electronic devices (such as data sending devices, data receiving devices, etc.), the balance between heat generation amount and heat dissipation amount is very important. If the heat generation amount of the device is too large and the heat dissipation amount is insufficient, the device may overheat, resulting in performance degradation or even damage. Therefore, when designing electronic devices, it is necessary to consider the heat generation amount and heat dissipation amount of the device and take appropriate heat dissipation measures to ensure the stability and durability of the device.
[0078] It should be noted that for the temperature prediction at the first transmission speed and the second transmission speed in this embodiment, the influence of the current temperature, heat generation, heat dissipation, heat difference, and remaining transmission duration of the device on the device temperature is considered. By carefully considering the influence of various factors on the device temperature, more accurate temperature prediction is provided, enabling more accurate judgment and adjustment of the transmission strategy. This ensures efficient data transmission while maximizing the protection of the data sending device from the risks of overheating and damage.
[0079] For further illustration by example, optionally continue to take smartphone A as an example. When A starts to send a video at a speed of 1 Gbps, its current temperature is 25°C (the first current device temperature). At this speed, the heat generation of A is 10 units per minute, and the heat dissipation is 8 units per minute (the first heat generation and the first heat dissipation). Therefore, the heat difference is 2 units per minute (the first heat difference). If the remaining transmission duration is 10 minutes (the first remaining transmission duration), then the temperature of the device will rise by 20 units and reach 45°C (considering the first temperature influence).
[0080] When A reduces the speed to 500 Mbps, its current temperature is 45°C (the second current device temperature). At this time, the heat generation is 5 units per minute, and the heat dissipation is 7 units per minute. The heat difference is -2 units per minute (the second heat difference). If the remaining transmission duration is 20 minutes, the temperature of the device will drop by 40 units, but since the minimum temperature of the device is the ambient temperature (assumed to be 20°C), the final temperature is 20°C.
[0081] Through the embodiment provided by this application, determine the first current device temperature when the data sending device starts to transmit at the first transmission speed; obtain the first heat generation and the first heat dissipation of the data sending device at the first transmission speed, and determine the first heat difference between the first heat generation and the first heat dissipation; obtain the first remaining transmission duration of the resource data, and determine the first temperature influence caused by the first heat difference after the first remaining transmission duration is exhausted on the first current device temperature; determine the device temperature after the first current device temperature is affected by the first temperature influence as the first current device temperature; determine the second current device temperature when the data sending device starts to transmit at the second transmission speed; obtain the second heat generation and the second heat dissipation of the data sending device at the second transmission speed, and determine the second heat difference between the second heat generation and the second heat dissipation; obtain the second remaining transmission duration of the resource data, and determine the second temperature influence caused by the second heat difference after the second remaining transmission duration is exhausted on the second current device temperature; determine the device temperature after the second current device temperature is affected by the second temperature influence as the second current device temperature, thereby achieving the purpose of the device operating at a higher transmission efficiency within a safe temperature range, and thus realizing the technical effect of improving data transmission efficiency.
[0082] As an alternative, obtaining the first remaining transmission duration of the resource data includes: when the first remaining data volume of the resource data is obtained, estimating the first cumulative duration for the data sending device to transmit the data of the first remaining data volume to the data receiving device at the first transmission speed, and determining the first cumulative duration as the first remaining transmission duration, where the first remaining data volume is the data volume of the data that has not been transmitted during the first-stage transmission of the resource data;
[0083] As an alternative, obtaining the second remaining transmission duration of the resource data includes: when the second remaining data volume of the resource data is obtained, estimating the second cumulative duration for the data sending device to transmit the data of the second remaining data volume to the data receiving device at the second transmission speed, and determining the second cumulative duration as the second remaining transmission duration, where the first remaining data volume is the data volume of the data that has not been transmitted during the second-stage transmission of the resource data.
[0084] Optionally, in this embodiment, the remaining transmission duration may but is not limited to refer to the time required from the current moment to the expected completion of all data transmissions during data transmission, and this duration is estimated based on the current remaining data volume and transmission speed.
[0085] It should be noted that this embodiment estimates the cumulative duration required for the data sending device to transmit the remaining data volume at a specific transmission speed. By accurately estimating the remaining transmission duration, the temperature of the data sending device after completing data transmission can be better predicted, thereby more precisely controlling the transmission speed and strategy. This ensures the efficient and secure transmission of data, while maximizing the protection of the data sending device from the risks of overheating and damage, because this embodiment can balance the relationship between data transmission efficiency and device protection, and thus is applicable to application scenarios that require continuous, large-scale or high-speed data transmission, such as in-field transmission scenarios.
[0086] For further illustration by example, assume that there is a large file (resource data) with a total of 100 GB. In the first stage, 70 GB has been transmitted at a speed of 1 Gbps, then the first remaining data volume is 30 GB. Based on the data volume of 30 GB and the transmission speed of 1 Gbps, this embodiment can estimate the first remaining transmission duration. Assume that the estimated first cumulative duration is 30 seconds, then the first remaining transmission duration is 30 seconds.
[0087] Then, if in the second stage, this embodiment continues to transmit at a speed of 500 Mbps and has transmitted 10 GB, then the second remaining data volume is 20 GB. According to the data volume of 20 GB and the transmission speed of 500 Mbps, this embodiment can estimate the second remaining transmission duration. Assuming that the estimated second cumulative duration is 40 seconds, then the second remaining transmission duration is 40 seconds.
[0088] Through the embodiment provided by this application, in the case of obtaining the first remaining data volume of the resource data, estimate the first cumulative duration for the data sending device to transmit the data of the first remaining data volume to the data receiving device at the first transmission speed, and determine the first cumulative duration as the first remaining transmission duration, where the first remaining data volume is the data volume of the resource data that has not been transmitted yet under the first-stage transmission; in the case of obtaining the second remaining data volume of the resource data, estimate the second cumulative duration for the data sending device to transmit the data of the second remaining data volume to the data receiving device at the second transmission speed, and determine the second cumulative duration as the second remaining transmission duration, where the first remaining data volume is the data volume of the resource data that has not been transmitted yet under the second-stage transmission, thereby achieving the purpose of the device operating at a high transmission efficiency within the safe temperature range, and thus realizing the technical effect of improving the data transmission efficiency.
[0089] As an alternative solution, estimating the device temperature of the data sending device after transmitting the resource data to the data receiving device at the first transmission speed to obtain the first sending device temperature includes:
[0090] S3-1, obtaining at least one first key factor that affects the device temperature of the data sending device;
[0091] S3-2, substituting at least one first key factor into the pre-constructed decision tree model to obtain the first sending device temperature, where the decision tree model is a non-parametric classifier for estimating the device temperature trained using multiple sample key factors;
[0092] As an alternative solution, estimating the device temperature of the data sending device after transmitting the resource data to the data receiving device at the second transmission speed to obtain the second sending device temperature includes:
[0093] S4-1, obtaining at least one second key factor that affects the device temperature of the data sending device;
[0094] S4-2, substituting at least one second key factor into the decision tree model to obtain the second sending device temperature.
[0095] Optionally, in this embodiment, the decision tree model can, but is not limited to, make decisions based on a tree structure. Among them, the learning process of the decision tree is to construct a tree-shaped decision model through a training data set. During the construction process of the decision tree, the decision tree model will select a feature as a decision node, divide the data into different subsets according to different values of this feature, and then recursively perform the same operation on each subset until a certain stopping condition is met (for example, all data in the subsets belong to the same category, or reach the preset maximum depth, etc.). In this way, the entire data set is divided into a series of leaf nodes, and each leaf node represents a decision result.
[0096] In the problem of estimating the device temperature of the data sending device, the decision tree model can be used to predict the device temperature based on the key factors affecting the device temperature. These key factors can be used as the decision nodes of the decision tree, and the device temperature can be used as the leaf node or target variable of the decision tree. By training on multiple sample key factors, the decision tree model can learn the relationship between the key factors and the device temperature, so as to predict new unknown data.
[0097] It should be noted that in this embodiment, the decision tree model is used to estimate the device temperature at the first transmission speed and the second transmission speed, and to estimate based on multiple key factors affecting the device temperature. By using the pre-constructed decision tree model and key factors, the device temperature of the data sending device after data transmission can be estimated more accurately. This embodiment takes into account various factors affecting the device temperature, so it can provide a more accurate estimation result than the method simply based on transmission speed and time. This helps to better understand and control the operating state of the device, prevent overheating and damage, and ensure the safe and efficient transmission of data.
[0098] For further illustration, optionally, it is assumed that two key factors affecting the device temperature of the data sending device have been determined: transmission speed and device heat dissipation capacity. When the device transmits data at the first transmission speed (for example, 1 Gbps), this embodiment obtains the values of these two key factors and substitutes them into the decision tree model to obtain an estimated value of the first sending device temperature. Similarly, when the device transmits data at the second transmission speed (for example, 500 Mbps), this embodiment also uses the values of these two key factors and the same decision tree model to estimate the second sending device temperature.
[0099] Through the embodiments provided in this application, at least one first key factor affecting the device temperature of the data sending device is obtained; at least one first key factor is substituted into a pre-constructed decision tree model to obtain the first sending device temperature, where the decision tree model is a non-parametric classifier trained using multiple sample key factors and is used to estimate the device temperature; at least one second key factor affecting the device temperature of the data sending device is obtained; at least one second key factor is substituted into the decision tree model to obtain the second sending device temperature, thereby achieving the purpose that the device operates at a high transmission efficiency within a safe temperature range, and thus realizing the technical effect of improving the data transmission efficiency.
[0100] As an optional solution, before substituting at least one first key factor into the pre-constructed decision tree model to obtain the first sending device temperature, the method further includes:
[0101] S5-1, obtaining multiple sample key factors, where the sample key factors belong to an enumeration type or a continuous numerical type, the enumeration type is a data type with fixed values, and the continuous numerical type is a data type with values taken within a continuous range;
[0102] S5-2, segmenting and intercepting the first factor belonging to the continuous numerical type among the multiple sample key factors to obtain first factors in different intervals, and regarding the first factors in different intervals as second factors belonging to the enumeration type;
[0103] S5-3, inputting the second factors among the multiple sample key factors into the initial decision tree model until a trained decision tree model is obtained.
[0104] Optionally, in this embodiment, the enumeration type can be, but is not limited to, understood as a data type that contains a set of named integer values. These values are usually fixed and cannot be increased or decreased arbitrarily. Each value has a clear meaning and position in the enumeration type. For example, the seven days of a week (Monday, Tuesday,..., Sunday) can be defined as an enumeration type because they are a set of fixed and discrete values.
[0105] Optionally, in this embodiment, the continuous numerical type can be, but is not limited to, understood as a data type that can take any real number as a value within a continuous range. These values are continuous and there is no interval. For example, temperature is a typical continuous numerical type and can take any real number as a value within a range (for example, from -100°C to 100°C).
[0106] It should be noted that before using the decision tree model to estimate the temperature of the data sending device, the key factors of the continuous numerical type are preprocessed, specifically including segmenting and intercepting the factors of the continuous numerical type and converting them into an enumeration type, and then using these processed sample key factors to train the decision tree model.
[0107] By segmenting and intercepting the sample key factors of the continuous numerical type and converting them into an enumeration type, this embodiment can better utilize the decision tree model to process these key factors. Because the decision tree model has better performance and interpretability when dealing with discrete data (such as the enumeration type). It can help us more accurately estimate the temperature of the data sending device because this embodiment considers the relationships between more key factors. At the same time, the trained decision tree model can also be used for subsequent prediction and analysis tasks, providing valuable information and guidance on the device temperature.
[0108] Through the embodiment provided by this application, multiple sample key factors are obtained, where the sample key factors belong to the enumeration type or the continuous numerical type. The enumeration type is a data type with fixed values, and the continuous numerical type is a data type with values within a continuous range; among the multiple sample key factors, the first factor belonging to the continuous numerical type is segmented and intercepted to obtain the first factor in different intervals, and the first factor in different intervals is regarded as the second factor belonging to the enumeration type; the second factor in the multiple sample key factors is input into the initial decision tree model until a trained decision tree model is obtained, thereby achieving the purpose of the device operating at a high transmission efficiency within the safe temperature range, and thus realizing the technical effect of improving the data transmission efficiency.
[0109] As an alternative solution, obtaining multiple sample key factors includes:
[0110] S6-1, obtaining at least two types of candidate key factors;
[0111] S6-2, determining a first candidate factor set from at least two types of candidate key factors, where the candidate key factors in the first candidate factor set correspond to a key priority greater than or equal to a first preset threshold;
[0112] S6-3, when the number of factors in the first candidate factor set is less than a second preset threshold, perform the following steps until the number of factors in the first candidate factor set is greater than or equal to the second preset threshold:
[0113] S1, determining the current candidate factor from at least two types of candidate key factors;
[0114] S2, adding the current candidate factor to the first candidate factor set to obtain a second candidate factor set;
[0115] S3. Use information entropy to evaluate the second candidate factor set and obtain the current evaluation result corresponding to the second candidate factor set;
[0116] S4. When the current evaluation result meets the key conditions, determine the second candidate factor set as the new first candidate factor set;
[0117] S5. When the number of factors in the new first candidate factor set is less than the second preset threshold, determine the next candidate factor from at least two types of candidate key factors and determine the next candidate factor as the current candidate factor;
[0118] S6. When the number of factors in the new first candidate factor set is greater than or equal to the second preset threshold, determine the candidate key factors in the new first candidate factor set as multiple sample key factors.
[0119] Optionally, the amount of information of a piece of information is inversely proportional to the probability of its occurrence. That is to say, a piece of information that rarely appears will provide more "new" information when it appears, so its amount of information is greater. For the entire system or dataset, information entropy is the average amount of information required, taking into account all possible events or outcomes and weighting their amount of information according to the probability of their occurrence.
[0120] In the selection of candidate key factors in this embodiment, using information entropy can understand the uncertainty or diversity of the selected factors. A high information entropy means that the selected factors provide diverse information, while a low information entropy may mean that the selected factors are relatively similar or provide limited information. Therefore, by adjusting and optimizing the information entropy, this embodiment can ensure that the selected sample key factors are both representative and non-redundant.
[0121] It should be noted that this embodiment combines key priority, the size of the candidate factor set, and uses information entropy to evaluate the candidate factor set, selects and determines multiple sample key factors from the candidate key factors, thereby ensuring that the selected sample key factors all have a high key priority, and through the evaluation of information entropy, ensuring that the selected set of sample key factors provides sufficient information without being overly complex or redundant. In addition, by setting the second preset threshold, the number of selected sample key factors can also be controlled to meet the needs of subsequent modeling or analysis. This embodiment takes into account both the importance of the factors and the information overlap and complementarity between the factors, thereby improving the quality and representativeness of the selected sample key factors.
[0122] For further illustration, assume that there are three types of candidate key factors: A, B, and C. Among them, the key priority of A is 10, B is 5, and C is 8. If the first preset threshold is 8, then A and C will be selected into the first candidate factor set. However, if the set second preset threshold is 3, then other candidate key factors need to be considered. Assume that at this time only B is the other optional candidate key factor, then B will be selected as the current candidate factor and added to the first candidate factor set to obtain the second candidate factor set. Then, the information entropy is used to evaluate this second candidate factor set. If the evaluation result meets a certain key condition, then this second candidate factor set will be determined as the new first candidate factor set.
[0123] Through the embodiments provided in this application, at least two types of candidate key factors are obtained; a first candidate factor set is determined from at least two types of candidate key factors, wherein the candidate key factors in the first candidate factor set correspond to key priorities greater than or equal to the first preset threshold; in the case where the number of factors in the first candidate factor set is less than the second preset threshold, the following steps are executed until the number of factors in the first candidate factor set is greater than or equal to the second preset threshold: determining a current candidate factor from at least two types of candidate key factors; adding the current candidate factor to the first candidate factor set to obtain a second candidate factor set; using information entropy to evaluate the second candidate factor set to obtain a current evaluation result corresponding to the second candidate factor set; in the case where the current evaluation result meets the key condition, determining the second candidate factor set as the new first candidate factor set; in the case where the number of factors in the new first candidate factor set is less than the second preset threshold, determining a next candidate factor from at least two types of candidate key factors and determining the next candidate factor as the current candidate factor; in the case where the number of factors in the new first candidate factor set is greater than or equal to the second preset threshold, determining the candidate key factors in the new first candidate factor set as multiple sample key factors, thereby achieving the purpose that the device operates at a high transmission efficiency within the safe temperature range, and thus realizing the technical effect of improving the data transmission efficiency.
[0124] As an optional solution, in the process of controlling the data sending device to transmit the first sub-data in the first resource data to the data receiving device at the second transmission speed, the method further includes:
[0125] S7-1, continuously detecting the device temperature of the data receiving device to obtain the real-time device temperature of the data receiving device;
[0126] S7-2, when the real-time device temperature is greater than the device safety temperature of the data sending device, control the data sending device to perform a third-stage transmission on the resource data that has not been transmitted yet, where the third-stage transmission is a data transmission with the third transmission speed as the transmission speed and the data receiving device as the transmission target, and the third transmission speed is less than the second transmission speed.
[0127] It should be noted that when the data sending device sends the first sub-data in the first resource data to the data receiving device at the second transmission speed, this embodiment also involves continuously detecting the temperature of the data receiving device and adjusting the data transmission speed according to the detected real-time device temperature.
[0128] By continuously detecting the real-time device temperature of the data receiving device and adjusting the transmission speed when necessary, the stable and secure transmission of data is ensured, and at the same time, the data sending device and the data receiving device are protected from potential overheating damage. This adaptive transmission method improves the efficiency and reliability of data transmission, especially under high-temperature or high-load conditions.
[0129] For further illustration, optionally assume that the data sending device is sending a large file (the first resource data) to the data receiving device at a speed of 100 MB per second (the second transmission speed). During this process, the temperature of the data receiving device gradually rises. When its real-time temperature reaches 60 °C, while the device safety temperature of the data sending device is 55 °C. To ensure the safe transmission of data and prevent device damage, the data sending device will reduce its transmission speed to 50 MB per second (the third transmission speed) and continue to send the remaining part of the file.
[0130] Through the embodiment provided by this application, continuously detect the device temperature of the data receiving device to obtain the real-time device temperature of the data receiving device; when the real-time device temperature is greater than the device safety temperature of the data sending device, control the data sending device to perform a third-stage transmission on the resource data that has not been transmitted yet, where the third-stage transmission is a data transmission with the third transmission speed as the transmission speed and the data receiving device as the transmission target, and the third transmission speed is less than the second transmission speed, thereby achieving the purpose of the device operating at a higher transmission efficiency within the safe temperature range, and thus realizing the technical effect of improving data transmission efficiency.
[0131] As an optional solution, after continuously detecting the device temperature of the data receiving device to obtain the real-time device temperature of the data receiving device, the method further includes:
[0132] When the real-time device temperature is lower than the device safety temperature of the data sending device, and the temperature difference between the real-time device temperature and the device safety temperature of the data sending device is greater than or equal to a third preset threshold, control the data sending device to perform a first-stage transmission on the resource data that has not been transmitted yet.
[0133] It should be noted that after continuously detecting the device temperature of the data receiving device and obtaining its real-time device temperature, if the real-time device temperature is lower than the device safety temperature of the data sending device, and the temperature difference between the two is greater than or equal to a preset third threshold, then the data sending device will perform a first-stage transmission on the resource data that has not been transmitted yet.
[0134] By considering the temperature difference between the real-time device temperature and the device safety temperature of the data sending device, the effective transmission of data is ensured, and at the same time, the working state of the device is also concerned. This method may be more flexible and intelligent because this embodiment does not solely rely on a single temperature threshold to determine actions, but also considers the temperature change range. This helps to more efficiently transmit data while ensuring device safety.
[0135] For further illustration, optionally assume that the device safety temperature of the data sending device is 60°C and the third preset threshold is 10°C. When the real-time device temperature of the data receiving device is 50°C, since 50°C is lower than 60°C and the temperature difference between 50°C and 60°C is 10°C (exactly equal to the third preset threshold), the data sending device will perform a first-stage transmission.
[0136] Through the embodiments provided in this application, when the real-time device temperature is lower than the device safety temperature of the data sending device, and the temperature difference between the real-time device temperature and the device safety temperature of the data sending device is greater than or equal to a third preset threshold, control the data sending device to perform a first-stage transmission on the resource data that has not been transmitted yet, thereby achieving the purpose of the device operating at a high transmission efficiency within the safe temperature range, and thus realizing the technical effect of improving data transmission efficiency.
[0137] As an alternative solution, when the second sending device temperature is less than or equal to the device safety temperature of the data sending device, control the data sending device to transmit the first sub-data in the first resource data to the data receiving device at a second transmission speed, including:
[0138] When the second sending device temperature is less than or equal to the device safety temperature of the data sending device and the receiving device temperature is less than or equal to the device safety temperature of the data receiving device, control the data sending device to transmit the first sub-data to the data receiving device at a second transmission speed, where the receiving device temperature is the device temperature estimated after the data receiving device receives the resource data at the second transmission speed.
[0139] It should be noted that when the temperature of the second sending device is less than or equal to the device safety temperature of the data sending device, and the temperature of the receiving device (the estimated device temperature of the data receiving device after receiving the resource data at the second transmission speed) is also less than or equal to the device safety temperature of the data receiving device, the data sending device will be controlled to transmit the first sub-data to the data receiving device at the second transmission speed. In this embodiment, the temperature conditions of the two devices are considered to determine whether data transmission can be performed, and it is ensured that the temperatures of both are within the safe range. This not only cares about the working state of the data sending device but also considers the bearing capacity of the data receiving device, thereby ensuring the security and stability of data transmission.
[0140] By considering the temperature conditions of both the data sending device and the data receiving device simultaneously, it is ensured that when both are within the safe operating range, data is efficiently transmitted at the second transmission speed. This helps prevent the devices from overheating and ensures the stable transmission of data, improving the security and efficiency of data transmission.
[0141] For further illustration by example, optionally assume that the device safety temperature of the data sending device is 60 °C and the device safety temperature of the data receiving device is 55 °C. When the temperature of the second sending device is 50 °C and the estimated temperature of the receiving device is 53 °C, since both of these temperatures are respectively lower than the device safety temperatures of their respective devices, the first sub-data will be sent at the second transmission speed.
[0142] Through the embodiment provided by the present application, when the temperature of the second sending device is less than or equal to the device safety temperature of the data sending device and the temperature of the receiving device is less than or equal to the device safety temperature of the data receiving device, the data sending device is controlled to transmit the first sub-data to the data receiving device at the second transmission speed, where the receiving device temperature is the estimated device temperature of the data receiving device after receiving the resource data at the second transmission speed, thereby achieving the purpose of the device operating at a higher transmission efficiency within the safe temperature range, and thus realizing the technical effect of improving data transmission efficiency.
[0143] Optionally, as an alternative implementation, as Figure 4 shown, the temperature control-based data transmission method can be executed by an electronic device, and this electronic device can be, for example, the user equipment 112 as Figure 1 shown, and the specific steps include:
[0144] S402, in response to a data transmission request triggered for the data receiving device, control the data receiving device to perform a first-stage transmission of the resource data, where the data transmission request is used to request the data receiving device to receive the resource data transmitted by the data sending device, and the first-stage transmission is a data transmission with the first transmission speed as the transmission speed and the data sending device as the transmission source;
[0145] S404, an estimated data receiving device, obtains a first receiving device temperature by measuring the device temperature after receiving resource data transmitted by a data sending device at a first transmission speed;
[0146] S406, in the case where the first receiving device temperature is greater than the device safety temperature of the data receiving device, controls the data receiving device to perform a second-stage transmission on the first resource data in the resource data, where the second-stage transmission is a data transmission with the second transmission speed as the transmission speed and the data sending device as the transmission source, the second transmission speed is less than the first transmission speed, the resource data includes first resource data and second resource data, and the second resource data is a part of the resource data that the data receiving device has received from the data sending device at the first transmission speed;
[0147] S408, an estimated data receiving device, obtains a second receiving device temperature by measuring the device temperature after receiving resource data transmitted by a data sending device at the second transmission speed;
[0148] S410, in the case where the second receiving device temperature is less than or equal to the device safety temperature of the data receiving device, controls the data receiving device to receive the first sub-data in the first resource data transmitted by the data sending device at the second transmission speed, where the first resource data includes first sub-data and second sub-data, and the second sub-data is a part of the resource data that the data receiving device has received from the data sending device at the second transmission speed.
[0149] Optionally, in this embodiment, the above temperature-based data transmission method can be but is not limited to being applied in the near-field communication scenario of a mobile terminal. As the performance of the mobile terminal becomes stronger and stronger, the files stored in the local terminal are also getting larger and larger. For example, more and more exquisite picture quality leads to larger and larger resource package files for terminal games. Near-field communication has a very large speed advantage in the scenario where users are face to face due to advantages such as fast transmission speed and being unaffected by network fluctuations. However, when transmitting at high speed, the CPU and network modules need to perform high-speed operations, resulting in a rapid increase in the terminal temperature, and the device may be forced to reduce the transmission speed, thereby affecting the user data transmission experience; but if the transmission speed is not restricted, resulting in too high a terminal temperature, it will not only affect the safe operation of the device but also seriously affect the user experience.
[0150] In this embodiment, when two near-field communication devices (such as smartphones or tablets) are close to each other and establish a connection, one device may act as a data sending device and the other as a data receiving device. The data sending device receives a data transmission request triggered by a user or an application program, requesting to transmit certain resource data (such as files, pictures, or videos) to the data receiving device.
[0151] Before starting the transmission, the data sending device estimates the device temperature after transmitting the resource data to the data receiving device at the first transmission speed (higher speed). This can be achieved by considering factors such as the device's heat dissipation capacity, the current ambient temperature, the device's power, and the speed and size of the transmitted data.
[0152] If the estimated device temperature exceeds the safe temperature threshold, the data sending device automatically reduces the transmission speed to the second transmission speed (lower speed) to ensure that the device temperature remains within the safe range. This adjustment is real-time and based on an accurate estimate of the device temperature.
[0153] After reducing the transmission speed, the data sending device continues to transmit the resource data to the data receiving device at the second transmission speed. Meanwhile, the system re-estimates the device temperature when transmitting at the second transmission speed to ensure the device still operates safely at this speed.
[0154] If during the second-stage transmission, the estimated device temperature still exceeds the safe temperature threshold, the data sending device can further reduce the transmission speed or take other measures, such as pausing the transmission for a period of time to allow the device to cool down.
[0155] Thus, this embodiment can achieve efficient and secure data transmission in the near-field communication scenario. It avoids the problem of reduced efficiency caused by being forced to reduce the transmission speed due to overheating, and can be dynamically adjusted according to the actual temperature condition of the device to ensure the best transmission performance and user experience.
[0156] For specific embodiments, reference can be made to the examples shown in the above temperature-controlled data transmission method, and they will not be elaborated here.
[0157] Through the embodiments provided in this application, it is possible to improve the data transmission efficiency as much as possible on the premise of ensuring the safe operation of the device. And because the adjustment of the device temperature in this embodiment is based on the estimate of the device temperature, it avoids the abnormal situation of being forced to reduce the transmission speed due to too high device temperature, and thus achieves the purpose of the device operating at a higher transmission efficiency within the safe temperature range, thereby realizing the technical effect of improving the data transmission efficiency.
[0158] As an alternative solution, for ease of understanding, the above temperature-controlled data transmission method is applied to the near-field transmission scenario. This embodiment aims to dynamically balance the contradiction between the transmission speed and the too high terminal temperature to optimize the user experience. For example, during the near-field transmission process, the temperature changes of both the sending and receiving ends are monitored in real time, and the transmission speed is dynamically adjusted according to the temperature changes. When the temperature is abnormal, the transmission speed adjustment strategy is determined based on the temperature rising trend, the transmission completion time, the temperature dropping speed, and the subsequent load condition (the impact on the temperature of the terminal-related modules).
[0159] Optionally, in this embodiment, the temperature rise trend at different transmission speeds is calculated based on historical data, as well as the temperature drop speed under different loads after the transmission is completed. In addition, the transmission completion time and the temperature that the terminal can reach after the transmission is completed are dynamically calculated; the game scenario after the transmission is completed and the actual load of the terminal in this scenario are predicted, and it is calculated whether the terminal temperature can be reduced to within the safe range within a preset time. If it can be reduced to within the safe range, the current speed is maintained to complete the transmission. If not, it is calculated whether appropriately reducing the download speed can reduce it to the safe range until a suitable transmission speed is calculated.
[0160] Optionally, in this embodiment, when the heat generation of the terminal is greater than the heat dissipation, the temperature of the terminal will rise, and vice versa. At the same time, different calculation tasks use different modules. The main heat generation modules under normal load of the game are calculation modules such as the CPU and GPU. Since the transmission volume of WIFI or cellular modems is generally not large, the heat generation problem can be almost ignored. Only in the near-field transmission scenario, obvious heat generation will occur when the transmission speed is pulled to the maximum.
[0161] Therefore, the core of this embodiment can be understood as the change of the terminal temperature in different scenarios (different speeds of near-field transmission, various possible scenarios after the transmission is completed and the game starts), so as to estimate whether the temperature of the terminal can be maintained (or reduced to within the preset time) within the safe range at different transmission speeds, so as to ensure that the transmission speed can reach the maximum within the safe range and guarantee the ultimate experience of the user.
[0162] For further illustration by way of example, optionally, for example Figure 5 As shown, for the server, it includes a temperature prediction module that trains a decision tree model through the historical data stored in the storage module, and stores the obtained results for the sender and receiver to call for actual transmission scheduling; at the same time, the training model is updated regularly according to the actual operation status data uploaded by the terminal in real time.
[0163] A communication module that establishes a connection with the terminal (including the sender and the receiver), and issues the pre-trained temperature prediction model according to the request of the terminal; receives the result data during the actual operation of the terminal and stores it in the database through the storage module for the next model update.
[0164] A storage module that stores the temperature prediction model trained by the temperature prediction module, and returns the corresponding model to the terminal according to the request of the communication module; at the same time, receives and stores the actual operation status data of the terminal uploaded by the communication module.
[0165] Optionally, in this embodiment, for the sending terminal and the receiving terminal, a temperature monitoring module is included to monitor the terminal in real time during the near-field transmission and feedback to the device status continuous detection module.
[0166] The transmission scheduling module determines whether the final temperature of the terminal will be abnormal at the current transmission speed according to the real-time operating status of the device obtained by the device status continuous detection module and the prediction model, and adjusts the transmission speed in real time.
[0167] The communication module establishes a network connection with the game server, requests the temperature prediction model from the server before the game starts to transmit and caches it for the transmission scheduling module to use; reports the process and result data to the game server during and after the transmission for the server optimization module.
[0168] The device status continuous detection module continuously detects all influencing factors involved in the model in real time during the process (including the temperature information reported by the temperature monitoring module) for the transmission scheduling module to predict the final temperature.
[0169] Optionally, in this embodiment, the rise in the temperature of the terminal device is mainly related to the heat generation speed and the heat dissipation speed. The heat generation speed can be basically determined under the determined chip and power, but the heat dissipation is affected not only by the material of the terminal device but also by the actual environment. Therefore, it is impossible to simply calculate the rise in the temperature of the terminal device in this embodiment.
[0170] The change in the temperature of the terminal device is mainly related to the following factors:
[0171] Transmission speed. For a specific model of device, a determined transmission speed corresponds to a definite working power of the network device (MODEM), which determines the final heat generation.
[0172] Terminal device model. The terminal device model determines the heat generation and heat dissipation capabilities corresponding to different transmission speeds, which directly determines the direct change trend of the temperature.
[0173] Current temperature. The current temperature of the terminal device, specifically referring to the surface temperature at the location of the network device (MODEM), which has the greatest impact on the user's physical sensation.
[0174] Terminal status. The two main modules that have a significant impact on the terminal temperature are the CPU and the GPU. Their working frequencies determine the temperature rise of the terminal device.
[0175] Transmission time. The remaining transmission time also directly affects the final temperature of the terminal device. However, for the sake of simplifying the calculation, this embodiment divides the time into segments. Specifically, different segments can be set in advance, and a relatively balanced value can be taken according to the impact of different segments on the final calculation result and the calculation amount.
[0176] Other factors: In addition to the above factors, there may be many other factors that affect the temperature of the final terminal device. To make the calculation results more accurate, these data are also directly counted in this embodiment.
[0177] Optionally, in this embodiment, it is assumed that there are n values that may affect the final temperature of the terminal device (including those already listed and those not listed before in this embodiment), denoted as k1, k2... kn. First, this embodiment normalizes ki to make it change to a standardized data. According to different influencing factors, the normalization methods are roughly divided into the following categories: Enumeration type, such as the terminal device model, whose values are of an enumerable enumeration type. Continuous numerical type, according to different actual values, it can be converted into normalized numerical values according to certain rules, and different data will have different processing methods.
[0178] Optionally, this embodiment can convert the continuous numerical type into an enumeration type. For example, the transmission speed is a continuous numerical value within a certain range. However, since such numerical values change continuously and small-range changes have little impact on the final temperature, if the original values are maintained, the calculation amount will be very large, but it is not very helpful for the accuracy of the final result. Therefore, such numerical values can be segmented and intercepted, and transformed into a type similar to an enumeration according to different intervals.
[0179] It can also be converted into numerical values within a specific interval within a certain accuracy. For example, the running frame rate of a game is a numerical value that changes within a certain range. In actual processing, this embodiment can round it to an integer.
[0180] In actual application scenarios, there are many characteristic factors that affect the temperature of the terminal device, such as download speed, running FPS, frame rate, current temperature, transmission file size (equivalent to transmission duration), etc. The impacts of these characteristic factors are different, and this embodiment needs to select the characteristic factor with the greatest impact. Feature selection mainly includes two links: candidate feature subset search and candidate feature subset evaluation. For the specific candidate feature subset search, according to the set of all characteristic factors {k1, k2... kn} that affect the terminal temperature determined in the previous steps, the following steps are executed:
[0181] S8-1: First, select an optimal single-feature subset (such as transmission speed) as the first-round selected set.
[0182] S8-2: On this basis, add a feature to construct a candidate subset containing two features, and select the optimal two-feature subset as the second-round selected subset.
[0183] S8-3: And so on until no better feature subset can be found.
[0184] After evaluating the candidate feature subset and determining the search strategy, this embodiment needs to evaluate the determined candidate subset. This embodiment uses information entropy to evaluate the candidate subset. The larger the information entropy, the better the candidate subset. Given a dataset D, assuming that the proportion of samples of the i-th class in D is pi (i = 1, 2,..., n), the definition of information entropy is as follows:
[0185]
[0186] For the attribute subset A, assuming that D is divided into V subsets D1, D2,..., DV according to the aforementioned rules, and the samples of each subset have the same values on A, then this embodiment can calculate the information gain of the attribute subset A as follows:
[0187]
[0188] The larger the information gain, the more information helpful for classification the feature subset A contains. Thus, for each feature subset, this embodiment can calculate its information gain based on the training set D and use this as the evaluation criterion.
[0189] Through the above feature selection algorithm, this embodiment can obtain the optimal feature subset affecting the terminal temperature change. This embodiment finally only focuses on whether the terminal temperature is too high, so this becomes a typical classification algorithm. This embodiment collects training set data according to the determined feature subset above, and then uses the Support Vector Machine (SVM) algorithm to construct a classification model. In this way, when given the initial conditions, this embodiment can predict the final temperature state of the terminal through the model.
[0190] Optionally, the core of this embodiment is to prioritize ensuring the transmission speed. During the transmission process, it predicts in real time the possible temperature state after the transmission is completed, and then adjusts the transmission speed in real time (the receiver reduces the speed by notifying the transmitter to reduce the sending speed). The specific implementation process is as Figure 6 shown, and the specific steps are as follows:
[0191] S1. Start the transmission. The sending end selects the receiving end according to the user's instruction and starts the near-field transmission process.
[0192] S2. Confirm the receiving speed. After the receiving end receives the request from the sending end to start the transmission, it asks the server to send a request for the control policy in order to predict the receiving speed that the receiving end can reach.
[0193] S3. The game server issues the control policy. After the game server receives the request from the receiving end, it reads the pre-trained control policy and returns it to the receiving end.
[0194] S4. The receiving end obtains the current operating status. The receiving end obtains the current operating status, and the specific data is the influencing factors of the above decision tree model.
[0195] S5. The receiving end calculates the transmission speed and starts receiving. Determine the maximum transmission speed that the receiving end can support according to the current operating status and the control policy (decision tree model) obtained from the server. The specific implementation is as follows: First, set the transmission speed to the upper limit of the physical link. Calculate the transmission time according to the size of the resource file to be transmitted. Then, substitute the transmission speed, transmission time, and other operating statuses of the receiving end obtained in the previous steps into the decision tree model to calculate whether the temperature after transmission is within the normal range. If so, start the transmission at this speed. If not, reduce the transmission speed by one level and recalculate until a transmission speed is found that can control the temperature within the preset range after transmission.
[0196] S6. The sending end requests the control policy. After the sending end receives that the receiving end is ready and determines the transmission speed to be ready to receive, it requests the temperature control policy from the game server.
[0197] S7. The game server issues the control policy. After the game server receives the request from the sending end, it reads the pre-trained control policy and returns it to the sending end.
[0198] S8. The sending end obtains the current operating status. The specific implementation logic is the same as that of the receiving end.
[0199] S9. The sending end calculates the transmission speed. The specific implementation logic is the same as that of the receiving end. When confirming the final transmission speed, take the smaller one of the receiving end speed and the sending end speed to avoid too high temperature at one end.
[0200] S10. The sending end starts the transmission and enables real-time monitoring. The sending end officially starts sending the resource file and enables local real-time status monitoring. At the same time, after the transmission is completed, report the actual transmission situation of this time to the game server.
[0201] S11. The receiving end normally receives data. The receiving end starts continuous detection to start receiving data, and at the same time starts monitoring the device operation situation, and adjusts the transmission speed in real time according to the device operating status. At the same time, report the actual situation during the transmission to the server for model optimization by the server.
[0202] S12. The receiving end predicts the temperature in real time during operation. Regularly obtain the real-time operating status of the terminal during operation, and predict the temperature status after transmission according to the decision tree model cached locally.
[0203] S13. Determine whether the temperature becomes abnormal after the transmission is completed. If it becomes abnormal, notify the sender to reduce the transmission speed by one level; if it does not become abnormal and the current speed has not reached the upper limit, notify the sender to increase the transmission speed.
[0204] S14. The sender predicts the temperature status when the transmission is completed. During the transmission process, regularly obtain the current operating status, and use the decision tree model cached locally to calculate the terminal temperature after the transmission is completed.
[0205] S15. The sender determines the temperature status after the transmission is completed.
[0206] S16. The temperature after the transmission is completed at the sender is within the normal range. To improve the user experience, if the current speed has not reached the upper limit of the physical link, increase the transmission speed by one level. At the same time, judge the speed value returned by the receiver, and take the smaller one of them to adjust the actual transmission speed.
[0207] S17. The temperature after the transmission is completed at the sender is abnormally high. For the safe operation of the terminal, reduce the transmission speed by one level. At the same time, judge the speed value returned by the receiver, and take the smaller one of them to adjust the actual transmission speed.
[0208] S18. The game server receives and stores the operation data. The game server receives the real-time operation status data reported by the sender and the receiver, formats it, and stores it in the database for use by the retraining module.
[0209] S19. The game server updates the strategy. The game server regularly updates the control strategy according to the actual operation conditions of the sender and the receiver.
[0210] Through the embodiments provided in this application, it is possible to enable users to obtain a higher near-field transmission speed on the premise of ensuring reliable terminal temperature, and balance the hardware operation safety and user experience. It solves the industry problem that the upper limit of the near-field transmission speed is very high, but the actual transmission speed is limited, and expands the application scenarios of near-field transmission.
[0211] It can be understood that in the specific implementation manner of this application, it involves data related to user information, etc. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of relevant countries and regions.
[0212] It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations. However, those skilled in the art should know that this application is not limited by the described action sequence, because according to this application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0213] According to another aspect of the embodiments of the present application, there is also provided a temperature control-based data transmission device for implementing the above temperature control-based data transmission method. As Figure 7 shown, the device includes:
[0214] A first control unit 702, configured to control a data sending device to perform a first-stage transmission on resource data in response to a data transmission request triggered by the data sending device, where the data transmission request is used to request the data sending device to transmit the resource data to a data receiving device, and the first-stage transmission is a data transmission with a first transmission speed and with the data receiving device as the transmission target;
[0215] A first estimation unit 704, configured to estimate the device temperature of the data sending device after transmitting the resource data to the data receiving device at the first transmission speed, to obtain a first sending device temperature;
[0216] A second control unit 706, configured to control the data sending device to perform a second-stage transmission on first resource data in the resource data when the first sending device temperature is greater than the device safety temperature of the data sending device, where the second-stage transmission is a data transmission with a second transmission speed and with the data receiving device as the transmission target, the second transmission speed is less than the first transmission speed, the resource data includes first resource data and second resource data, and the second resource data is part of the resource data that the data sending device has transmitted to the data receiving device at the first transmission speed;
[0217] A second estimation unit 708, configured to estimate the device temperature of the data sending device after transmitting the resource data to the data receiving device at the second transmission speed, to obtain a second sending device temperature;
[0218] A third control unit 710, configured to control the data sending device to transmit first sub-data in the first resource data to the data receiving device at the second transmission speed when the second sending device temperature is less than or equal to the device safety temperature of the data sending device, where the first resource data includes first sub-data and second sub-data, and the second sub-data is part of the resource data that the data sending device has transmitted to the data receiving device at the second transmission speed.
[0219] For specific embodiments, reference may be made to the examples shown in the above data transmission method based on temperature control, which will not be elaborated herein.
[0220] As an alternative solution, the first estimation unit 704 includes:
[0221] The first determination module is configured to determine the first current device temperature when the data sending device starts transmitting at the first transmission speed;
[0222] The first acquisition module is configured to acquire the first heat generation amount and the first heat dissipation amount of the data sending device at the first transmission speed, and determine the first heat difference between the first heat generation amount and the first heat dissipation amount;
[0223] The second acquisition module is configured to acquire the first remaining transmission duration of the resource data, and determine the first temperature impact on the first current device temperature after the first heat difference is exhausted within the first remaining transmission duration;
[0224] The second determination module is configured to determine the device temperature after the first current device temperature is affected by the first temperature impact as the first current device temperature;
[0225] The second estimation unit 708 includes:
[0226] The third determination module is configured to determine the second current device temperature when the data sending device starts transmitting at the second transmission speed;
[0227] The third acquisition module is configured to acquire the second heat generation amount and the second heat dissipation amount of the data sending device at the second transmission speed, and determine the second heat difference between the second heat generation amount and the second heat dissipation amount;
[0228] The fourth acquisition module is configured to acquire the second remaining transmission duration of the resource data, and determine the second temperature impact on the second current device temperature after the second heat difference is exhausted within the second remaining transmission duration;
[0229] The fourth determination module is configured to determine the device temperature after the second current device temperature is affected by the second temperature impact as the second current device temperature.
[0230] For specific embodiments, reference may be made to the examples shown in the above data transmission method based on temperature control, which will not be elaborated herein.
[0231] As an alternative solution, the second acquisition module includes: a first estimation sub-module, configured to, when the first remaining data volume of the resource data is acquired, estimate the first cumulative duration for the data sending device to transmit the data with the first remaining data volume to the data receiving device at the first transmission speed, and determine the first cumulative duration as the first remaining transmission duration, where the first remaining data volume is the data volume of the resource data that has not been transmitted yet during the first-stage transmission;
[0232] The fourth acquisition module includes: a second estimation sub-module, configured to, when the second remaining data volume of the resource data is acquired, estimate the second cumulative duration for the data sending device to transmit the data with the second remaining data volume to the data receiving device at the second transmission speed, and determine the second cumulative duration as the second remaining transmission duration, where the first remaining data volume is the data volume of the resource data that has not been transmitted yet during the second-stage transmission.
[0233] For specific embodiments, reference may be made to the examples shown in the above data transmission method based on temperature control, and details are not described herein again.
[0234] As an alternative solution, the first prediction unit 704 includes:
[0235] A fifth acquisition module, configured to acquire at least one first key factor that affects the device temperature of the data sending device;
[0236] A first substitution module, configured to substitute at least one first key factor into a pre-constructed decision tree model to obtain the first sending device temperature, where the decision tree model is a non-parametric classifier for predicting device temperature trained using a plurality of sample key factors;
[0237] The second prediction unit 708 includes:
[0238] A sixth acquisition module, configured to acquire at least one second key factor that affects the device temperature of the data sending device;
[0239] A second substitution module, configured to substitute at least one second key factor into the decision tree model to obtain the second sending device temperature.
[0240] For specific embodiments, reference may be made to the examples shown in the above data transmission method based on temperature control, and details are not described herein again.
[0241] As an alternative solution, the apparatus further includes:
[0242] A seventh acquisition module, configured to acquire a plurality of sample key factors before substituting at least one first key factor into a pre-constructed decision tree model to obtain the temperature of the first sending device, where the sample key factors belong to an enumerated type or a continuous numerical type, the enumerated type is a data type with fixed values, and the continuous numerical type is a data type with values within a continuous range;
[0243] A processing module, configured to, before substituting at least one first key factor into a pre-constructed decision tree model to obtain the temperature of the first sending device, segment the first factor that belongs to the continuous numerical type among the plurality of sample key factors to obtain first factors in different intervals, and regard the first factors in different intervals as second factors that belong to the enumerated type;
[0244] A training module, configured to, before substituting at least one first key factor into a pre-constructed decision tree model to obtain the temperature of the first sending device, input the second factors among the plurality of sample key factors into an initial decision tree model until a trained decision tree model is obtained.
[0245] For specific embodiments, reference may be made to the examples shown in the above data transmission method based on temperature control, and details are not described herein again.
[0246] As an alternative solution, the seventh acquisition module includes:
[0247] An acquisition sub-module, configured to acquire at least two types of candidate key factors;
[0248] A determination sub-module, configured to determine a first candidate factor set from at least two types of candidate key factors, where the candidate key factors in the first candidate factor set correspond to a key priority greater than or equal to a first preset threshold;
[0249] An execution sub-module, configured to, when the number of factors in the first candidate factor set is less than a second preset threshold, perform the following steps until the number of factors in the first candidate factor set is greater than or equal to the second preset threshold:
[0250] Determine a current candidate factor from at least two types of candidate key factors;
[0251] Add the current candidate factor to the first candidate factor set to obtain a second candidate factor set;
[0252] Use information entropy to evaluate the second candidate factor set to obtain a current evaluation result corresponding to the second candidate factor set;
[0253] When the current evaluation result meets the key conditions, determine the second candidate factor set as the new first candidate factor set;
[0254] In the case where the number of factors in the new first candidate factor set is less than the second preset threshold, determine the next candidate factor from at least two types of candidate key factors, and determine the next candidate factor as the current candidate factor;
[0255] In the case where the number of factors in the new first candidate factor set is greater than or equal to the second preset threshold, determine the candidate key factors in the new first candidate factor set as multiple sample key factors.
[0256] For specific embodiments, reference may be made to the examples shown in the above temperature control-based data transmission method, and details are not described herein again.
[0257] As an alternative solution, the apparatus further includes:
[0258] A detection unit, configured to continuously detect the device temperature of the data receiving device during the process of controlling the data sending device to transmit the first sub-data in the first resource data to the data receiving device at the second transmission speed, so as to obtain the real-time device temperature of the data receiving device;
[0259] A transmission unit, configured to, during the process of controlling the data sending device to transmit the first sub-data in the first resource data to the data receiving device at the second transmission speed, in the case where the real-time device temperature is greater than the device safety temperature of the data sending device, control the data sending device to perform a third-stage transmission on the resource data that has not been transmitted yet, where the third-stage transmission is a data transmission with the third transmission speed as the transmission speed and the data receiving device as the transmission target, and the third transmission speed is less than the second transmission speed.
[0260] For specific embodiments, reference may be made to the examples shown in the above temperature control-based data transmission method, and details are not described herein again.
[0261] As an alternative solution, after continuously detecting the device temperature of the data receiving device to obtain the real-time device temperature of the data receiving device, the method further includes:
[0262] A fourth control unit, configured to, in the case where the real-time device temperature is less than the device safety temperature of the data sending device and the temperature difference between the real-time device temperature and the device safety temperature of the data sending device is greater than or equal to the third preset threshold, control the data sending device to perform a first-stage transmission on the resource data that has not been transmitted yet.
[0263] For specific embodiments, reference may be made to the examples shown in the above temperature control-based data transmission method, and details are not described herein again.
[0264] As an alternative solution, as Figure 8 shown, the third control unit 710 includes:
[0265] A control module 802, configured to control a data sending device to transmit first sub-data to a data receiving device at a second transmission speed when the temperature of the second sending device is less than or equal to the device safety temperature of the data sending device and the temperature of the receiving device is less than or equal to the device safety temperature of the data receiving device, where the receiving device temperature is the device temperature estimated after the data receiving device receives resource data at the second transmission speed.
[0266] According to another aspect of the embodiments of the present application, there is also provided another temperature-based data transmission device for implementing the above temperature-based data transmission method. As Figure 9 shown, the device includes:
[0267] A fifth control unit 902, configured to control a data receiving device to perform a first-stage transmission on resource data in response to a data transmission request triggered for the data receiving device, where the data transmission request is used to request the data receiving device to receive resource data transmitted by a data sending device, and the first-stage transmission is a data transmission with the first transmission speed as the transmission speed and the data sending device as the transmission source;
[0268] A third estimation unit 904, configured to estimate the device temperature of the data receiving device after receiving resource data transmitted by the data sending device at the first transmission speed, to obtain a first receiving device temperature;
[0269] A sixth control unit 906, configured to control the data receiving device to perform a second-stage transmission on first resource data in the resource data when the first receiving device temperature is greater than the device safety temperature of the data receiving device, where the second-stage transmission is a data transmission with the second transmission speed as the transmission speed and the data sending device as the transmission source, the second transmission speed is less than the first transmission speed, the resource data includes first resource data and second resource data, and the second resource data is part of the resource data that the data receiving device has received from the data sending device at the first transmission speed;
[0270] A fourth estimation unit 908, configured to estimate the device temperature of the data receiving device after receiving resource data transmitted by the data sending device at the second transmission speed, to obtain a second receiving device temperature;
[0271] A seventh control unit 910, configured to control the data receiving device to receive first sub-data in the first resource data transmitted by the data sending device at the second transmission speed when the second receiving device temperature is less than or equal to the device safety temperature of the data receiving device, where the first resource data includes first sub-data and second sub-data, and the second sub-data is part of the resource data that the data receiving device has received from the data sending device at the second transmission speed.
[0272] For specific embodiments, reference may be made to the examples shown in the above temperature control-based data transmission method, which will not be elaborated herein.
[0273] According to another aspect of the embodiments of the present application, there is also provided an electronic device for implementing the above temperature control-based data transmission method. The electronic device may, but is not limited to, be Figure 1 the user equipment 102 or the user equipment 112 shown in Figure 10 As shown, the electronic device includes a memory 1002 and a processor 1004. A computer program is stored in the memory 1002, and the processor 1004 is configured to execute the steps in any of the above method embodiments through the computer program.
[0274] Optionally, in this embodiment, the above electronic device may be at least one of multiple network devices in a computer network.
[0275] Optionally, in this embodiment, the above processor may be configured to execute the following steps through a computer program:
[0276] S9-1, in response to a data transmission request triggered by a data sending device, control the data sending device to perform a first-stage transmission of resource data, where the data transmission request is used to request the data sending device to transmit the resource data to a data receiving device, and the first-stage transmission is a data transmission with the first transmission speed as the transmission speed and the data receiving device as the transmission target;
[0277] S9-2, estimate the device temperature of the data sending device after transmitting the resource data to the data receiving device at the first transmission speed, to obtain a first sending device temperature;
[0278] S9-3, in the case where the first sending device temperature is greater than the device safety temperature of the data sending device, control the data sending device to perform a second-stage transmission of the first resource data in the resource data, where the second-stage transmission is a data transmission with the second transmission speed as the transmission speed and the data receiving device as the transmission target, the second transmission speed is less than the first transmission speed, the resource data includes the first resource data and the second resource data, and the second resource data is the part of the resource data that the data sending device has transmitted to the data receiving device at the first transmission speed;
[0279] S9-4, estimate the device temperature of the data sending device after transmitting the resource data to the data receiving device at the second transmission speed, to obtain a second sending device temperature;
[0280] S9-5, when the temperature of the second sending device is less than or equal to the device safety temperature of the data sending device, control the data sending device to transmit the first sub-data in the first resource data to the data receiving device at the second transmission speed, where the first resource data includes the first sub-data and the second sub-data, and the second sub-data is the part of the resource data that the data sending device has transmitted to the data receiving device at the second transmission speed; or,
[0281] S10-1, in response to a data transmission request triggered by the data receiving device, control the data receiving device to perform a first-stage transmission on the resource data, where the data transmission request is used to request the data receiving device to receive the resource data transmitted by the data sending device, and the first-stage transmission is a data transmission with the first transmission speed as the transmission speed and the data sending device as the transmission source;
[0282] S10-2, estimate the device temperature of the data receiving device after receiving the resource data transmitted by the data sending device at the first transmission speed, and obtain the first receiving device temperature;
[0283] S10-3, when the first receiving device temperature is greater than the device safety temperature of the data receiving device, control the data receiving device to perform a second-stage transmission on the first resource data in the resource data, where the second-stage transmission is a data transmission with the second transmission speed as the transmission speed and the data sending device as the transmission source, the second transmission speed is less than the first transmission speed, the resource data includes the first resource data and the second resource data, and the second resource data is the part of the resource data that the data receiving device has received from the data sending device at the first transmission speed;
[0284] S10-4, estimate the device temperature of the data receiving device after receiving the resource data transmitted by the data sending device at the second transmission speed, and obtain the second receiving device temperature;
[0285] S10-5, when the second receiving device temperature is less than or equal to the device safety temperature of the data receiving device, control the data receiving device to receive the first sub-data in the first resource data transmitted by the data sending device at the second transmission speed, where the first resource data includes the first sub-data and the second sub-data, and the second sub-data is the part of the resource data that the data receiving device has received from the data sending device at the second transmission speed.
[0286] Optionally, those of ordinary skill in the art can understand that Figure 10 the structure shown is only schematic, Figure 10 and it does not limit the structure of the above-mentioned electronic device. For example, the electronic device may further include more or fewer components (such as a network interface, etc.) than those shown Figure 10 here, or have a different configuration from that shown Figure 10 here.
[0287] Among them, the memory 1002 can be used to store software programs and modules, such as the program instructions / modules corresponding to the temperature control-based data transmission method and device in the embodiments of the present application. The processor 1004 executes various functional applications and data processing by running the software programs and modules stored in the memory 1002, that is, implements the above-mentioned temperature control-based data transmission method. The memory 1002 may include a high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memories. In some instances, the memory 1002 may further include a memory remotely disposed relative to the processor 1004, and these remote memories can be connected to the electronic device through a network. Examples of the above network include but are not limited to the Internet, enterprise intranet, local area network, mobile communication network, and combinations thereof. Among them, the memory 1002 can specifically but not limitedly be used to store information such as resource data, the temperature of the first sending device, and the temperature of the second sending device. As an example, as Figure 10 shown, the above memory 1002 may include but not limited to the first control unit 702, the first prediction unit 704, the second control unit 706, the second prediction unit 708, and the third control unit 710 in the above temperature control-based data transmission device; or, the fifth control unit 902, the third prediction unit 904, the sixth control unit 906, the fourth prediction unit 908, and the seventh control unit 910. In addition, it may also include but not limited to other module units in the above temperature control-based data transmission device, which will not be elaborated in this example.
[0288] Optionally, the above transmission device 1006 is used to receive or send data via a network. Specific examples of the above network may include a wired network and a wireless network. In one instance, the transmission device 1006 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers through a network cable, thereby enabling communication with the Internet or a local area network. In one instance, the transmission device 1006 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.
[0289] In addition, the above electronic device further includes: a display 1008, which is used to display information such as the above resource data, the temperature of the first sending device, and the temperature of the second sending device; and a connection bus 1010, which is used to connect each module component in the above electronic device.
[0290] In other embodiments, the above user equipment or server can be a node in a distributed system. Among them, the distributed system can be a blockchain system, and the blockchain system can be a distributed system formed by connecting the multiple nodes in the form of network communication. Among them, the nodes can form a peer-to-peer network, and any form of computing device, such as electronic devices like servers and user equipment, can become a node in the blockchain system by joining the peer-to-peer network.
[0291] According to one aspect of the present application, a computer program product is provided. The computer program product includes computer programs / instructions, and the computer programs / instructions contain program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part, and / or installed from a removable medium. When the computer program is executed by the central processing unit, it executes various functions provided by the embodiments of the present application.
[0292] The serial numbers of the above embodiments of the present application are only for description and do not represent the advantages or disadvantages of the embodiments.
[0293] It should be noted that the computer system of the electronic device is only an example and should not bring any limitations to the functions and usage scope of the embodiments of the present application.
[0294] The computer system includes a central processing unit (CPU), which can execute various appropriate actions and processes according to the program stored in the read-only memory (ROM) or the program loaded from the storage part into the random access memory (RAM). In the random access memory, various programs and data required for system operation are also stored. The central processing unit, the read-only memory, and the random access memory are connected to each other through a bus. The input / output interface (Input / Output interface, that is, I / O interface) is also connected to the bus.
[0295] The following components are connected to the input / output interface: an input part including a keyboard, a mouse, etc.; an output part including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage part including a hard disk, etc.; and a communication part including a network interface card such as a local area network card, a modem, etc. The communication part performs communication processing via a network such as the Internet. A drive is also connected to the input / output interface as needed. A removable medium such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc. is installed on the drive as needed so that a computer program read from it can be installed into the storage part as needed.
[0296] Specifically, according to an embodiment of the present application, the processes described in each method flowchart can be implemented as computer software programs. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part, and / or installed from a removable medium. When the computer program is executed by a central processing unit, various functions defined in the system of the present application are executed.
[0297] According to an aspect of the present application, there is provided a computer-readable storage medium, and a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the above various optional implementation manners.
[0298] Optionally, in this embodiment, the above computer-readable storage medium may be set to store a computer program for executing the following steps:
[0299] S9-1, in response to a data transmission request triggered by a data sending device, control the data sending device to perform a first-stage transmission of resource data, where the data transmission request is used to request the data sending device to transmit the resource data to a data receiving device, and the first-stage transmission is a data transmission with the first transmission speed as the transmission speed and the data receiving device as the transmission target;
[0300] S9-2, estimate the device temperature of the data sending device after transmitting the resource data to the data receiving device at the first transmission speed, and obtain the first sending device temperature;
[0301] S9-3. When the temperature of the first sending device is greater than the device safety temperature of the data sending device, control the data sending device to perform a second-stage transmission on the first resource data in the resource data. The second-stage transmission is a data transmission with the second transmission speed as the transmission speed and the data receiving device as the transmission target. The second transmission speed is less than the first transmission speed. The resource data includes the first resource data and the second resource data. The second resource data is the part of the resource data that the data sending device has transmitted to the data receiving device at the first transmission speed.
[0302] S9-4. Estimate the device temperature of the data sending device after transmitting the resource data to the data receiving device at the second transmission speed to obtain the second sending device temperature.
[0303] S9-5. When the second sending device temperature is less than or equal to the device safety temperature of the data sending device, control the data sending device to transmit the first sub-data in the first resource data to the data receiving device at the second transmission speed. The first resource data includes the first sub-data and the second sub-data. The second sub-data is the part of the resource data that the data sending device has transmitted to the data receiving device at the second transmission speed. Or,
[0304] S10-1. In response to a data transmission request triggered by the data receiving device, control the data receiving device to perform a first-stage transmission on the resource data. The data transmission request is used to request the data receiving device to receive the resource data transmitted by the data sending device. The first-stage transmission is a data transmission with the first transmission speed as the transmission speed and the data sending device as the transmission source.
[0305] S10-2. Estimate the device temperature of the data receiving device after receiving the resource data transmitted by the data sending device at the first transmission speed to obtain the first receiving device temperature.
[0306] S10-3. When the first receiving device temperature is greater than the device safety temperature of the data receiving device, control the data receiving device to perform a second-stage transmission on the first resource data in the resource data. The second-stage transmission is a data transmission with the second transmission speed as the transmission speed and the data sending device as the transmission source. The second transmission speed is less than the first transmission speed. The resource data includes the first resource data and the second resource data. The second resource data is the part of the resource data that the data receiving device has received from the data sending device at the first transmission speed.
[0307] S10-4. Estimate the device temperature of the data receiving device after receiving the resource data transmitted by the data sending device at the second transmission speed to obtain the second receiving device temperature.
[0308] S10-5. When the temperature of the second receiving device is less than or equal to the device safety temperature of the data receiving device, control the data receiving device to receive the first sub-data in the first resource data transmitted by the data sending device at the second transmission speed, where the first resource data includes the first sub-data and the second sub-data, and the second sub-data is part of the resource data that the data receiving device has received from the data sending device at the second transmission speed.
[0309] Optionally, in the embodiments of the present application, the term "module" or "unit" refers to a computer program with a predetermined function or a part of a computer program, which works with other related parts to achieve a predetermined goal, and can be fully or partially implemented by using software, hardware (such as a processing circuit or a memory), or a combination thereof. Similarly, one processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be a part of an overall module or unit that includes the function of the module or unit.
[0310] Optionally, in this embodiment, those of ordinary skill in the art can understand that all or part of the steps in the above-mentioned embodiments of various methods can be completed by instructing the relevant hardware of the electronic device through a program, and this program can be stored in a computer-readable storage medium. The storage medium can include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disc, etc.
[0311] The serial numbers of the embodiments of the present application above are only for description and do not represent the superiority or inferiority of the embodiments.
[0312] If the integrated unit in the above-mentioned embodiments is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in the above-mentioned computer-readable storage medium. Based on such an understanding, the technical solution of the present application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing one or more computer devices (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present application.
[0313] In the above-mentioned embodiments of the present application, the descriptions of the various embodiments have their own emphases. For the parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0314] In several embodiments provided in the present application, it should be understood that the disclosed user equipment can be implemented in other ways. Among them, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection between each other can be through some interfaces. The indirect coupling or communication connection of units or modules can be in an electrical or other form.
[0315] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0316] In addition, in each embodiment of the present application, the functional units can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above integrated units can be implemented in the form of hardware or in the form of software functional units.
[0317] The above is only the preferred embodiment of the present application. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present application, several improvements and refinements can be made, and these improvements and refinements should also be regarded as the protection scope of the present application.
Claims
1. A data transmission method based on temperature control, characterized in that, Including: In response to a data transmission request triggered by a data sending device, controlling the data sending device to perform a first-stage transmission of resource data, where the data transmission request is used to request the data sending device to transmit the resource data to a data receiving device, and the first-stage transmission is a data transmission with a first transmission speed and the data receiving device as the transmission target; Estimating the device temperature of the data sending device after transmitting the resource data to the data receiving device at the first transmission speed to obtain a first sending device temperature; When the first sending device temperature is greater than the device safety temperature of the data sending device, controlling the data sending device to perform a second-stage transmission of first resource data in the resource data, where the second-stage transmission is a data transmission with a second transmission speed and the data receiving device as the transmission target, the second transmission speed is less than the first transmission speed, the resource data includes the first resource data and second resource data, and the second resource data is a part of the resource data that the data sending device has transmitted to the data receiving device at the first transmission speed; Estimating the device temperature of the data sending device after transmitting the resource data to the data receiving device at the second transmission speed to obtain a second sending device temperature; When the second sending device temperature is less than or equal to the device safety temperature of the data sending device, controlling the data sending device to transmit first sub-data in the first resource data to the data receiving device at the second transmission speed, where the first resource data includes the first sub-data and second sub-data, and the second sub-data is a part of the resource data that the data sending device has transmitted to the data receiving device at the second transmission speed.
2. The method according to claim 1, characterized in that, The estimating the device temperature of the data sending device after transmitting the resource data to the data receiving device at the first transmission speed to obtain a first sending device temperature includes: Determining a first current device temperature when the data sending device starts to transmit at the first transmission speed; Obtaining a first heat generation amount and a first heat dissipation amount of the data sending device at the first transmission speed and determining a first heat difference between the first heat generation amount and the first heat dissipation amount; Obtaining a first remaining transmission duration of the resource data and determining a first temperature impact caused by the first heat difference after the first remaining transmission duration is exhausted on the first current device temperature; Determining the device temperature after the first current device temperature is affected by the first temperature impact as the first current device temperature; The estimating the device temperature of the data sending device after transmitting the resource data to the data receiving device at the second transmission speed to obtain a second sending device temperature includes: Determining a second current device temperature when the data sending device starts to transmit at the second transmission speed; Obtain the second heat generation amount and the second heat dissipation amount of the data sending device at the second transmission speed, and determine the second heat difference between the second heat generation amount and the second heat dissipation amount; Obtain the second remaining transmission duration of the resource data, and determine the second temperature impact on the second current device temperature after the second heat difference is exhausted during the second remaining transmission duration; Determine the device temperature after the second current device temperature is affected by the second temperature impact as the second current device temperature.
3. The method according to claim 2, characterized in that, The obtaining of the first remaining transmission duration of the resource data includes: when the first remaining data amount of the resource data is obtained, estimating the first cumulative duration for the data sending device to transmit the data of the first remaining data amount to the data receiving device at the first transmission speed, and determining the first cumulative duration as the first remaining transmission duration, where the first remaining data amount is the amount of data that has not been transmitted under the first-stage transmission of the resource data; The obtaining of the second remaining transmission duration of the resource data includes: when the second remaining data amount of the resource data is obtained, estimating the second cumulative duration for the data sending device to transmit the data of the second remaining data amount to the data receiving device at the second transmission speed, and determining the second cumulative duration as the second remaining transmission duration, where the first remaining data amount is the amount of data that has not been transmitted under the second-stage transmission of the resource data.
4. The method according to claim 1, characterized in that, The predicting the device temperature of the data sending device after transmitting the resource data to the data receiving device at the first transmission speed to obtain the first sending device temperature includes: Obtain at least one first key factor affecting the device temperature of the data sending device; Substitute the at least one first key factor into a pre-constructed decision tree model to obtain the first sending device temperature, where the decision tree model is a non-parametric classifier for predicting device temperature trained using multiple sample key factors; The predicting the device temperature of the data sending device after transmitting the resource data to the data receiving device at the second transmission speed to obtain the second sending device temperature includes: Obtain at least one second key factor affecting the device temperature of the data sending device; Substitute the at least one second key factor into the decision tree model to obtain the second sending device temperature.
5. The method according to claim 4, characterized in that, Before substituting the at least one first key factor into the pre-constructed decision tree model to obtain the first sending device temperature, the method further includes: Obtain the multiple sample key factors, where the sample key factors belong to an enumeration type or a continuous numerical type, the enumeration type is a data type with fixed values, and the continuous numerical type is a data type with values within a continuous range; Segment and intercept the first factor belonging to the continuous numerical type among the multiple sample key factors to obtain first factors in different intervals, and regard the first factors in different intervals as second factors belonging to the enumeration type; Input the second factor among the multiple sample key factors into the initial decision tree model until the trained decision tree model is obtained.
6. The method according to claim 5, characterized in that, The obtaining of the multiple sample key factors includes: Obtain at least two types of candidate key factors; Determine a first candidate factor set from the at least two types of candidate key factors, where the candidate key factors in the first candidate factor set correspond to a key priority greater than or equal to a first preset threshold; In the case where the number of factors in the first candidate factor set is less than a second preset threshold, perform the following steps until the number of factors in the first candidate factor set is greater than or equal to the second preset threshold: Determine a current candidate factor from the at least two types of candidate key factors; Add the current candidate factor to the first candidate factor set to obtain a second candidate factor set; Use information entropy to evaluate the second candidate factor set to obtain the current evaluation result corresponding to the second candidate factor set; In the case where the current evaluation result meets the key condition, determine the second candidate factor set as the new first candidate factor set; In the case where the number of factors in the new first candidate factor set is less than the second preset threshold, determine the next candidate factor from the at least two types of candidate key factors and determine the next candidate factor as the current candidate factor; In the case where the number of factors in the new first candidate factor set is greater than or equal to the second preset threshold, determine the candidate key factors in the new first candidate factor set as the multiple sample key factors.
7. The method according to claim 1, wherein, During the process of controlling the data sending device to transmit the first sub-data in the first resource data to the data receiving device at the second transmission speed, the method further includes: Continuously detect the device temperature of the data receiving device to obtain the real-time device temperature of the data receiving device; In the case where the real-time device temperature is greater than the device safety temperature of the data sending device, control the data sending device to perform a third-stage transmission on the resource data that has not been transmitted yet, where the third-stage transmission is a data transmission with the third transmission speed as the transmission speed and the data receiving device as the transmission target, and the third transmission speed is less than the second transmission speed.
8. The method according to claim 7, wherein, After continuously detecting the device temperature of the data receiving device to obtain the real-time device temperature of the data receiving device, the method further includes: In the case where the real-time device temperature is less than the device safety temperature of the data sending device and the temperature difference between the real-time device temperature and the device safety temperature of the data sending device is greater than or equal to a third preset threshold, control the data sending device to perform the first-stage transmission on the resource data that has not been transmitted yet.
9. The method according to any one of claims 1 to 8, wherein, The controlling the data sending device to transmit the first sub-data in the first resource data to the data receiving device at the second transmission speed in the case where the second sending device temperature is less than or equal to the device safety temperature of the data sending device includes: When the temperature of the second sending device is less than or equal to the device safety temperature of the data sending device and the temperature of the receiving device is less than or equal to the device safety temperature of the data receiving device, control the data sending device to transmit the first sub-data to the data receiving device at the second transmission speed, where the temperature of the receiving device is the device temperature estimated after the data receiving device receives the resource data at the second transmission speed.
10. A data transmission method based on temperature control, wherein, Comprising: In response to a data transmission request triggered by a data receiving device, control the data receiving device to perform a first-stage transmission on resource data, where the data transmission request is used to request the data receiving device to receive the resource data transmitted by a data sending device, and the first-stage transmission is a data transmission with the first transmission speed as the transmission speed and the data sending device as the transmission source; Estimate the device temperature of the data receiving device after receiving the resource data transmitted by the data sending device at the first transmission speed, and obtain the first receiving device temperature; When the first receiving device temperature is greater than the device safety temperature of the data receiving device, control the data receiving device to perform a second-stage transmission on the first resource data in the resource data, where the second-stage transmission is a data transmission with the second transmission speed as the transmission speed and the data sending device as the transmission source, the second transmission speed is less than the first transmission speed, the resource data includes the first resource data and the second resource data, and the second resource data is part of the resource data that the data receiving device has received from the data sending device at the first transmission speed; Estimate the device temperature of the data receiving device after receiving the resource data transmitted by the data sending device at the second transmission speed, and obtain the second receiving device temperature; When the second receiving device temperature is less than or equal to the device safety temperature of the data receiving device, control the data receiving device to receive the first sub-data in the first resource data transmitted by the data sending device at the second transmission speed, where the first resource data includes the first sub-data and the second sub-data, and the second sub-data is part of the resource data that the data receiving device has received from the data sending device at the second transmission speed.
11. A data transmission device based on temperature control, wherein, Comprising: A first control unit, configured to, in response to a data transmission request triggered by a data sending device, control the data sending device to perform a first-stage transmission on resource data, where the data transmission request is used to request the data sending device to transmit the resource data to a data receiving device, and the first-stage transmission is a data transmission with the first transmission speed as the transmission speed and the data receiving device as the transmission target; A first estimation unit, configured to estimate the device temperature of the data sending device after transmitting the resource data to the data receiving device at the first transmission speed, and obtain the first sending device temperature; A second control unit, configured to control the data sending device to perform a second-stage transmission on first resource data in the resource data when the temperature of the first sending device is greater than the device safety temperature of the data sending device, where the second-stage transmission is a data transmission with a second transmission speed and with the data receiving device as the transmission target, the second transmission speed is less than the first transmission speed, the resource data includes the first resource data and second resource data, and the second resource data is part of the resource data that the data sending device has transmitted to the data receiving device at the first transmission speed; A second estimation unit, configured to estimate the device temperature of the data sending device after transmitting the resource data to the data receiving device at the second transmission speed, to obtain a second sending device temperature; A third control unit, configured to control the data sending device to transmit first sub-data in the first resource data to the data receiving device at the second transmission speed when the second sending device temperature is less than or equal to the device safety temperature of the data sending device, where the first resource data includes the first sub-data and second sub-data, and the second sub-data is part of the resource data that the data sending device has transmitted to the data receiving device at the second transmission speed.
12. A data transmission device based on temperature control, wherein, Comprising: A fifth control unit, configured to control the data receiving device to perform a first-stage transmission on resource data in response to a data transmission request triggered for the data receiving device, where the data transmission request is used to request the data receiving device to receive the resource data transmitted by the data sending device, and the first-stage transmission is a data transmission with a first transmission speed and with the data sending device as the transmission source; A third estimation unit, configured to estimate the device temperature of the data receiving device after receiving the resource data transmitted by the data sending device at the first transmission speed, to obtain a first receiving device temperature; A sixth control unit, configured to control the data receiving device to perform a second-stage transmission on first resource data in the resource data when the first receiving device temperature is greater than the device safety temperature of the data receiving device, where the second-stage transmission is a data transmission with a second transmission speed and with the data sending device as the transmission source, the second transmission speed is less than the first transmission speed, the resource data includes the first resource data and second resource data, and the second resource data is part of the resource data that the data receiving device has received from the data sending device at the first transmission speed; A fourth estimation unit, configured to estimate the device temperature of the data receiving device after receiving the resource data transmitted by the data sending device at the second transmission speed, to obtain a second receiving device temperature; A seventh control unit, configured to control the data receiving device to receive the first sub-data in the first resource data transmitted by the data sending device at the second transmission speed when the temperature of the second receiving device is less than or equal to the device safety temperature of the data receiving device, wherein the first resource data includes the first sub-data and second sub-data, and the second sub-data is part of the resource data that the data receiving device has received from the data sending device at the second transmission speed.
13. A computer-readable storage medium, wherein, The computer-readable storage medium includes a stored program, wherein the program, when run on an electronic device, executes the method described in any one of claims 1 to 9 or 10.
14. A computer program product, comprising a computer program / instructions, characterized in that, When the computer program / instructions are executed by a processor, the steps of the method described in any one of claims 1 to 9 or 10 are implemented.
15. An electronic device, comprising a memory and a processor, characterized in that, A computer program is stored in the memory, and the processor is configured to execute the method described in any one of claims 1 to 9 or 10 through the computer program.