Data transmission method and device, electronic equipment, storage medium and program product
By evaluating the transmission status in the communication device and switching the power supply mode when the threshold is reached, the problem of high battery energy consumption is solved, extending battery life and improving user experience.
Patent Information
- Application Number
- CN202411078678.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-07
- Publication Date
- 2024-11-29
AI Technical Summary
The battery energy consumption of communication devices during intensive data transmission is significant, resulting in a shortened battery life and inconvenient user experience, which requires a reduction in battery power consumption.
By evaluating the transmission status in the non-battery-powered mode, determining whether the predetermined conditions are met, switching to the battery-powered mode when the number of failures reaches the threshold, optimizing the power usage mode to reduce battery power consumption.
It extends the battery life time, reduces the battery's power consumption during data transmission, and improves the equipment's energy efficiency ratio and user experience.
Smart Images

Figure CN119052011A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of communication technology, and in particular to a data transmission method, device, electronic device, storage medium and program product. Background Art
[0002] The communication unit plays a vital role in communication equipment. It is the core component for data collection, efficient transmission and accurate reception. This function enables communication equipment to seamlessly establish connections with other devices or systems, promoting instant information sharing and precise control.
[0003] However, it is worth noting that when the communication unit is working, it will inevitably consume the battery capacity built into the communication device. In particular, during the data processing process of intensive data transmission, the battery energy consumption is particularly significant, resulting in a significant reduction in battery life and increasing the need for users to replace batteries or charge them frequently, which may cause inconvenience to the user's normal use experience. Therefore, how to reduce the power consumption of the battery during data transmission is a technical problem that needs to be solved urgently. Summary of the invention
[0004] The present disclosure is proposed in view of the above problems. The present disclosure provides a data transmission method, device, electronic device, storage medium and program product.
[0005] According to one aspect of the present disclosure, a data transmission method is provided, including: based on the collected data to be transmitted and network environment information of the target device in a non-battery power supply mode, obtaining a transmission status evaluation result corresponding to the target data to be transmitted; determining whether the transmission status evaluation result satisfies a predetermined condition; when the transmission status evaluation result does not satisfy the predetermined condition, adding a preset value to the number of failures, and when the number of failures reaches a preset threshold, switching from the non-battery power supply mode to the battery power supply mode, so as to realize the transmission of the target data to be transmitted.
[0006] In addition, according to one aspect of the data transmission method of the present disclosure, based on the collected data to be transmitted and network environment information of the target device in a non-battery power mode, a transmission status evaluation result corresponding to the target data to be transmitted is obtained, including: collecting the data to be transmitted and network environment information of the target device in a non-battery power mode; based on the data to be transmitted and the network environment information, determining the current transmission status of the data to be transmitted; based on the current transmission status, obtaining a transmission status evaluation result corresponding to the target data to be transmitted.
[0007] In addition, according to a data transmission method according to one aspect of the present disclosure, based on the current transmission state, a transmission status evaluation result corresponding to the target data to be transmitted is obtained, including: based on the current transmission state, determining all feasible transmission behaviors under the current transmission state; based on the current transmission state and the transmission behavior, obtaining a transmission behavior evaluation matrix; based on the transmission behavior evaluation matrix, obtaining a transmission status evaluation result corresponding to the target data to be transmitted.
[0008] In addition, according to a data transmission method according to one aspect of the present disclosure, the transmission behavior includes at least a first transmission behavior and a second transmission behavior; determining whether the transmission status evaluation result meets a predetermined condition includes: obtaining a first reward value obtained after executing the first transmission behavior and a second reward value obtained after executing the second transmission behavior when the target data to be transmitted is in the current transmission state; based on the first reward value and the second reward value, determining whether the transmission status evaluation result meets the predetermined condition; wherein the first transmission behavior is used to indicate data transmission, and the second transmission behavior is used to indicate that data is not transmitted.
[0009] In addition, according to the data transmission method according to one aspect of the present disclosure, the predetermined condition includes: the first reward value is greater than the second reward value.
[0010] In addition, according to a data transmission method according to one aspect of the present disclosure, the method further includes: when a transmission status evaluation result satisfies a predetermined condition, in response to satisfying the predetermined condition, sending target data to be transmitted.
[0011] According to another aspect of the present disclosure, a data transmission device is provided, including: an evaluation result acquisition module, configured to obtain a transmission status evaluation result corresponding to the target data to be transmitted based on the collected data to be transmitted and network environment information of the target device in a non-battery power supply mode; a condition determination module, configured to determine whether the transmission status evaluation result satisfies a predetermined condition; and a data transmission module, configured to add a preset value to the number of failures when the transmission status evaluation result does not satisfy the predetermined condition, and when the number of failures reaches a preset threshold, switch from the non-battery power supply mode to the battery power supply mode, so as to realize the transmission of the target data to be transmitted.
[0012] According to another aspect of the present disclosure, an electronic device is provided, including: a memory for storing computer-readable instructions; and a processor for executing the computer-readable instructions so that the electronic device executes the data transmission method as described above.
[0013] According to another aspect of the present disclosure, a computer-readable storage medium is provided for storing computer-readable instructions. When the computer-readable instructions are executed by a processor, the processor executes the data transmission method as described above.
[0014] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the data transmission method described above is implemented.
[0015] As will be described in detail below, according to the data transmission method, device, electronic device, computer-readable storage medium and computer program product of the embodiments of the present disclosure, the present disclosure evaluates the transmission status of the target data to be transmitted by utilizing the collected data to be transmitted and network environment information, optimizes the power usage mode of data transmission, thereby realizing the combined use of non-battery power supply mode and battery power supply mode, improving battery usage time and reducing battery power consumption during data transmission.
[0016] It is to be understood that both the foregoing general description and the following detailed description are exemplary, and are intended to provide further explanation of the technology as claimed. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The above and other purposes, features and advantages of the present disclosure will become more apparent by describing the embodiments of the present disclosure in more detail in conjunction with the accompanying drawings. The accompanying drawings are used to provide a further understanding of the embodiments of the present disclosure and constitute a part of the specification. Together with the embodiments of the present disclosure, they are used to explain the present disclosure and do not constitute a limitation of the present disclosure. In the accompanying drawings, the same reference numerals generally represent the same components or steps.
[0018] Figure 1 is a structural diagram illustrating a power supply system to which the data transmission method according to an embodiment of the present disclosure is applied.
[0019] Figure 2 is a flowchart illustrating a data transmission method according to an embodiment of the present disclosure.
[0020] Figure 3 is a flowchart further illustrating a data transmission method according to an embodiment of the present disclosure.
[0021] Figure 4 is a flowchart further illustrating a data transmission method according to an embodiment of the present disclosure.
[0022] Figure 5 is a functional block diagram illustrating a data transmission device according to an embodiment of the present disclosure.
[0023] Figure 6 is a hardware block diagram illustrating an electronic device according to an embodiment of the present disclosure.
[0024] Figure 7 is a schematic diagram illustrating a computer-readable storage medium according to an embodiment of the present disclosure.
[0025] Figure 8is a schematic diagram illustrating a computer program according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] In order to make the purpose, technical solution and advantages of the present disclosure more obvious, the exemplary embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments of the present disclosure, and it should be understood that the present disclosure is not limited to the exemplary embodiments described here.
[0027] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0028] Figure 1 is a structural diagram illustrating a power supply system to which the data transmission method according to an embodiment of the present disclosure is applied.
[0029] like Figure 1 As shown, the power supply system 100 includes a battery module 101 , a wind / solar power generation module 102 and a load module 103 .
[0030] The module battery module 101 is a core energy storage unit in the power supply system 100, which is used to store electrical energy. The module battery module can be a lithium-ion battery, a lead-acid battery, or other types of rechargeable batteries, depending on system requirements and application scenarios.
[0031] The wind / solar power generation module 102 generates electricity using two renewable energy sources, wind energy and solar energy. The wind energy part usually includes a wind turbine that converts wind energy into electrical energy; the solar energy part includes a solar panel (photovoltaic panel) that directly converts solar radiation energy into electrical energy. When the sun is abundant or the wind is strong, the wind / solar power generation module 102 can provide electricity to the load module 103 to achieve self-sufficient energy supply. In addition, the wind / solar power generation module 102 uses renewable energy as a source of electricity, which helps reduce dependence on traditional fossil fuels, reduce carbon emissions, and achieve green and sustainable development.
[0032] The load module 103 is a power consumption unit in the power supply system 100, including various devices or systems that require electrical energy. Among them, the communication equipment in the load module 103 is a power consumer and relies on the electrical energy provided by the power supply system 100 to operate. By default, the power supply system 100 is powered by the wind / solar power generation module 102 as the main power supply to provide power for the communication equipment. When the wind / solar power generation module 102 cannot meet the needs of the communication equipment, it switches to the module battery module 101 to provide power for the communication equipment, thereby reducing the number of times the module battery module 101 is used while achieving data transmission. Among them, communication equipment refers to various electronic devices used to transmit, receive and process information, which can achieve data communication through wired or wireless means. These devices include but are not limited to terminal devices such as mobile phones, wireless routers, Bluetooth devices, and network infrastructure equipment such as switches, routers, and fiber optic transceivers.
[0033] In summary, the power supply system 100 forms a self-sufficient, high-efficiency and energy-saving energy supply system by integrating the module battery module 101, the wind / solar power generation module 102 and the load module 103.
[0034] It is easy to understand that Figure 1 The illustrated power supply system structure and the types and quantities of various modules are illustrative and not limiting of the present disclosure.
[0035] Figure 2 is a flow chart illustrating a data transmission method implemented according to the present disclosure.
[0036] like Figure 2 As shown, the data transmission method implemented according to the present disclosure can be executed by a target device, which can be the above-mentioned Figure 1 The communication device in the embodiment specifically includes the following steps.
[0037] In step S201, based on the collected data to be transmitted and network environment information of the target device in a non-battery power supply mode, a transmission status evaluation result corresponding to the target data to be transmitted is obtained.
[0038] Specifically, in the non-battery-powered mode, the target device collects the data to be transmitted and the network environment information corresponding to the data to be transmitted, and uses the collected data to be transmitted and the network environment information to evaluate the transmission status of the target data to be transmitted, and obtains a transmission status evaluation result. Here, the data to be transmitted refers to data that has not yet been sent to the target location but is planned to be transmitted through the network or other communication means. Network environment information refers to data or parameters that describe aspects such as network status, performance, security, and network quality. The target data to be transmitted refers to the part of the data to be transmitted that needs to be evaluated for transmission status. The transmission status evaluation result refers to the expected state or performance of the target data to be transmitted in the corresponding network environment, which is obtained based on the data to be transmitted and the network environment information. Among them, the network environment information can be obtained by scanning and measuring the network environment using a network search process.
[0039] Further, the target device may first confirm whether the voltage of its non-battery power supply mode meets the working requirements. If the voltage meets the working requirements, the target device immediately enters the working state. If the voltage of the non-battery power supply mode does not meet the working requirements, the target device suspends the data transmission, and after the non-battery power supply is powered on, executes step S201.
[0040] The above-mentioned data to be transmitted may be terminal data, IoT device data, video data, etc., which is not limited in the present disclosure.
[0041] Among them, the non-battery power supply mode mainly refers to the power supply mode that does not rely on batteries as an energy source, which can refer to Figure 1 The wind / solar power generation module 102 may also be powered by other renewable energy sources, direct power from the power grid, or city electricity.
[0042] In step S202, it is determined whether the transmission status evaluation result meets a predetermined condition.
[0043] Specifically, based on the obtained transmission status evaluation result, it is determined whether the transmission status evaluation result meets the preset standard or requirement, that is, whether it meets the predetermined condition. Here, the predetermined condition is set in advance based on actual needs, network standards, service quality requirements and other factors, and is used to determine whether the transmission status meets the standard.
[0044] In step S203, when the transmission status evaluation result does not meet the predetermined condition, the number of failures is increased by a preset value. When the number of failures reaches the preset threshold, the target device is converted from a non-battery power supply mode to a battery power supply mode to achieve the target data transmission.
[0045] Specifically, the obtained transmission status evaluation result is compared with the predetermined condition. When the transmission status evaluation result does not meet the predetermined condition, the comparison result is recorded as "failure", and a preset value (preset value) is added to the current number of failures. Normally, this preset value is set to 1, which means that the count is increased once each time the condition is not met. When it is determined according to the comparison times and the comparison result that the number of failures reaches the preset threshold, it is necessary to switch the power supply mode of the communication device from the non-battery power supply mode to the battery power supply mode, thereby realizing the target data transmission to be transmitted. Here, the preset threshold refers to a preset value or condition used to determine whether a variable or state reaches a specific level or standard. The preset threshold can be 1 time, 2 times, 3 times, 5 times, etc., which is set according to actual needs. The embodiments of the present disclosure are not limited here.
[0046] Further, illustratively, the obtained transmission status evaluation result is compared with the predetermined condition. When the transmission status evaluation result does not meet the predetermined condition, it means that the power provided by the non-battery power supply mode is insufficient to provide a data transmission, that is, data cannot be sent. At this time, the number of comparisons and the sending result are recorded, and the communication device temporarily stops or pauses the data transmission, and does not perform the data transmission. After the non-battery power supply is powered on (for example, the solar power generation module regains sunlight during the day), continue to perform steps S201 and S202, and then compare again. After multiple comparisons, when it is determined that the number of times the transmission status evaluation result does not meet the predetermined condition reaches a preset threshold, it is necessary to switch the power supply mode of the communication device from the non-battery power supply mode to the battery power supply mode, and at the same time, the number of failures is reset to zero, thereby achieving the target data transmission to be transmitted.
[0047] In summary, the technical solution of the embodiment of the present disclosure collects the data to be transmitted and the network environment information to pre-evaluate the transmission status of the target data to be transmitted in the corresponding network environment. When the transmission status evaluation result does not meet the predetermined conditions, and the number of times it does not meet the conditions reaches a preset threshold, the power supply mode of the communication device is converted from non-battery power supply to battery power supply. This strategy helps to reduce the number of times the battery is used, thereby helping to reduce battery power consumption and improve the energy efficiency of the device.
[0048] Figure 3 The invention further illustrates the data transmission method according to the embodiment of the present disclosure.
[0049] like Figure 3 As shown, according to the data transmission method of the embodiment of the present disclosure, based on the collected data to be transmitted and network environment information of the target device in non-battery power supply mode, the transmission status evaluation result corresponding to the target data to be transmitted is obtained, and specifically also includes the following steps.
[0050] Among them, step S301 and Figure 2The same as described in step S201 in , which will not be repeated here.
[0051] In step S301, data to be transmitted and network environment information of a target device in a non-battery powered mode are collected.
[0052] In step S302, the current transmission status of the data to be transmitted is determined based on the data to be transmitted and the network environment information.
[0053] Specifically, by collecting the data to be transmitted and the network environment information, it is possible to understand various aspects of the data transmission requirements to be transmitted and the actual status of the network environment, and then determine the actual transmission status of the data to be transmitted in the current network.
[0054] In step S303, based on the current transmission status, a transmission status evaluation result corresponding to the target data to be transmitted is obtained.
[0055] Specifically, based on the current transmission status of the data to be transmitted, the transmission status evaluation result of the target data to be transmitted in the corresponding network environment can be obtained, that is, the expected state or performance of the target data to be transmitted in the corresponding network environment.
[0056] In summary, the technical solution of the embodiment of the present disclosure determines the current transmission status of the data to be transmitted and determines the transmission status evaluation result according to the current transmission status by collecting the data to be transmitted and the network environment information. By combining the current transmission status and the transmission status evaluation result, it is more accurate to judge when to convert the power supply mode of the communication device from non-battery power supply to battery power supply. This strategy not only reduces the number of times the battery is used and reduces battery power consumption, but also improves the flexibility and intelligence of data transmission, and can better adapt to changes in the network environment, thereby improving user experience and device energy efficiency.
[0057] Figure 4 The invention further illustrates the data transmission method according to the embodiment of the present disclosure.
[0058] like Figure 4 As shown, the data transmission method according to the embodiment of the present disclosure specifically includes the following steps.
[0059] In step S401, based on the current transmission state, all feasible transmission behaviors in the current transmission state are determined.
[0060] Specifically, by acquiring the transmission status of the data to be transmitted in the current network, all feasible transmission behaviors corresponding to the data to be transmitted in the current transmission status can be determined. Here, all feasible transmission behaviors refer to various strategies and measures that may be taken to achieve data transmission.
[0061] In step S402, a transmission behavior evaluation matrix is obtained based on the current transmission state and transmission behavior.
[0062] Specifically, by acquiring the current transmission state of the data to be transmitted and the corresponding transmission behavior under the current transmission state, according to the current transmission state corresponding to each transmission behavior, the current transmission state is used as the row of the matrix and the transmission behavior is used as the column of the matrix, so as to construct a transmission behavior evaluation matrix.
[0063] In actual application scenarios, for example, the current transmission state and the transmission behavior corresponding to the current transmission state can be used to construct a transmission behavior evaluation model Q matrix, that is, a transmission behavior evaluation matrix. At this time, the Q matrix is in an initialized state, and the data in the Q matrix are all 0. Among them, the Q matrix is shown in Table 1 below:
[0064] Table 1: Transmission behavior evaluation model Q matrix
[0065]
[0066] Among them, x1, x2...x k Represents the network quality, which is inversely proportional to the transmission time. 11 ,y2...y k Represents the length of the data to be transmitted, which is proportional to the transmission time. It is the current transmission status of all collected data to be transmitted, that is, the overall status under the transmission data length corresponding to different network qualities. The parameters "transmit" and "do not transmit" are the transmission behaviors corresponding to the current transmission status.
[0067] In step S403, based on the transmission behavior evaluation matrix, a transmission status evaluation result corresponding to the target data to be transmitted is obtained.
[0068] Specifically, according to the constructed transmission behavior evaluation matrix, the transmission status evaluation result of the target data to be transmitted in the corresponding network environment can be obtained, that is, the expected state or performance of the target data to be transmitted in the corresponding network environment. It can be used in the subsequent data transmission decision process.
[0069] In actual application scenarios, for example, the current transmission state and the transmission behavior corresponding to the current transmission state are used to construct a transmission behavior evaluation model Q matrix. At this time, the Q matrix is in an initialized state, and the data in the Q matrix are all 0. By updating the Q matrix, the evaluation results of each transmission behavior corresponding to the current transmission state are filled into the corresponding positions of the Q matrix. By comparing the evaluation results of different transmission behaviors in the Q matrix, that is, obtaining the transmission state evaluation results corresponding to the target data to be transmitted, the optimal or most suitable transmission behavior under the current transmission state can be selected. Updating the Q matrix here refers to dynamically adjusting or filling the values in the Q matrix according to the current transmission state and the actual performance or expected effect of each transmission behavior under the current transmission state. The above-mentioned update of the Q matrix can be achieved in the following ways:
[0070] First, initialize the sigmoid function to get the following values:
[0071]
[0072] R(x, y) represents the penalty value obtained by executing different transmission behaviors in different current states; β is the model optimization parameter, which is adjusted according to the actual situation.
[0073] Combined with the above R(x, y) values, update the Q matrix as shown in Formula 2, Q value update formula:
[0074] Q(s,a)=(1-α)Q(s,a)+α[R(s,a)+γ×max Q(s',a')]
[0075] Where α is the learning rate; R(s, a) represents the penalty for executing action a in state s; γ represents the initialization discount factor, s' is the new state after executing action a', and maxQ(s', a') is the maximum Q value among all possible actions in the new state s'.
[0076] In summary, the technical solution of the embodiment of the present disclosure determines all feasible transmission behaviors through the current transmission state, and constructs a transmission behavior evaluation matrix through the current transmission state and transmission behavior to evaluate the transmission state of the target data to be transmitted. It is possible to more accurately determine when to convert the power supply mode of the communication device from non-battery power supply to battery power supply. This strategy not only reduces the number of times the battery is used and reduces battery power consumption, but also improves the flexibility and intelligence of data transmission, and can better adapt to changes in the network environment, thereby improving user experience and device energy efficiency.
[0077] Furthermore, the technical solution of the embodiment of the present disclosure combines the collected data to be transmitted, the network environment information and Q learning to evaluate the transmission status, thereby determining the transmission rate of the data, and can more accurately determine when to convert the power supply mode of the communication device from non-battery power supply to battery power supply. This strategy not only reduces the number of times the battery is used and reduces battery power consumption, but also improves the flexibility and intelligence of data transmission, and can better adapt to changes in the network environment, thereby improving user experience and device energy efficiency.
[0078] Furthermore, the transmission behavior includes at least a first transmission behavior and a second transmission behavior, wherein the first transmission behavior is used to indicate data transmission, and the second transmission behavior is used to indicate data non-transmission.
[0079] Furthermore, determining whether the transmission status evaluation result meets the predetermined conditions includes: obtaining a first reward value obtained after executing a first transmission behavior and a second reward value obtained after executing a second transmission behavior when the target data to be transmitted is in the current transmission state; based on the first reward value and the second reward value, determining whether the transmission status evaluation result meets the predetermined conditions.
[0080] Specifically, when the target data to be transmitted is in the current transmission state, choose to execute the first transmission behavior or the second transmission behavior. Each time a transmission behavior is executed, the corresponding reward value will be recorded. After executing the first transmission behavior, a reward value can be obtained, which is called the first reward value. This value can be a positive number (indicating a reward for successful transmission), a negative number (indicating a penalty for failed transmission or excessive resource consumption) or zero (indicating no significant impact). When the second transmission behavior is executed, a reward value will also be given, which is called the second reward value, and this value can also be a positive number, a negative number or zero. By obtaining the first reward value and the second reward value, the transmission status evaluation result can be obtained. And based on the obtained transmission status evaluation result, it is judged whether it meets the predetermined conditions.
[0081] Further, the predetermined condition includes that the first reward value is greater than the second reward value.
[0082] Specifically, by comparing the expected effects of all feasible paths, that is, the reward values corresponding to different transmission behaviors, it is determined whether the transmission status evaluation result meets the predetermined condition. When the first reward value is greater than the second reward value, the transmission status evaluation result meets the predetermined condition.
[0083] Further, when the transmission status evaluation result satisfies a predetermined condition, in response to satisfying the predetermined condition, the target data to be transmitted is sent.
[0084] Specifically, when the transmission status evaluation result meets a predetermined condition, that is, when the first reward value is greater than the second reward value, the target data to be transmitted is transmitted.
[0085] Furthermore, when the target data to be transmitted is sent, the base station is waiting for the information returned by the base station indicating the end of data transmission. When the information returned by the base station is received, it indicates that the data has been sent successfully. At this time, the successfully sent data needs to be recorded to avoid data omission due to failure to obtain the transmission status evaluation result.
[0086] In summary, the technical solution of the embodiment of the present disclosure quantifies the effect of the transmission behavior through a reward value mechanism, making the decision-making process more objective and quantifiable.
[0087] Furthermore, before obtaining the transmission status evaluation result corresponding to the target data to be transmitted based on the collected data to be transmitted and the network environment information, the data transmission method further includes the following steps:
[0088] Obtain an initial penalty value; when the transmission status evaluation result meets a predetermined condition, the target data to be transmitted is successfully sent, and the initial penalty value is updated; the updated initial penalty value is used to iterate the Q matrix when the next data is sent.
[0089] Specifically, an initial penalty value of -100 is written in the FLASH of the communication device. Each time the target data to be transmitted is prepared to be sent, the target transmission state of the target data to be transmitted is evaluated according to the data to be transmitted and the network environment information. When the transmission state evaluation result meets the predetermined conditions, after the target data to be transmitted is successfully sent out, wait for the information of the end of data transmission returned by the base station. When the information returned by the base station is received, it indicates that the data has been sent successfully. At this time, it is necessary to record the successfully sent data. Avoid data omission due to failure of the transmission state evaluation result. And update the initial penalty value to 100. And write the updated initial penalty value 100 into FLASH. The updated penalty value will be used as an important input for iterative optimization of the Q matrix in the subsequent data transmission process, and data transmission is realized by updating the Q matrix. Thereby, the Q matrix is continuously iterated and optimized to improve the accuracy of the transmission strategy.
[0090] In addition, the present disclosure also provides a data transmission device.
[0091] Figure 5 is a functional block diagram illustrating a data transmission device according to an embodiment of the present disclosure.
[0092] like Figure 5 As shown, the data transmission device 500 includes:
[0093] The evaluation result acquisition module 501 is configured to acquire a transmission status evaluation result corresponding to the target data to be transmitted based on the collected data to be transmitted and network environment information of the target device in the non-battery power supply mode.
[0094] The condition determination module 502 is configured to determine whether the transmission status evaluation result meets a predetermined condition.
[0095] The data transmission module 503 is configured to, when the transmission status evaluation result does not meet the predetermined conditions, add the number of failures to a preset value. When the number of failures reaches the preset threshold, the target device is converted from a non-battery power supply mode to a battery power supply mode to achieve the target data transmission.
[0096] Figure 6 6 is a hardware block diagram of an electronic device 600 according to an embodiment of the present disclosure. The electronic device according to an embodiment of the present disclosure includes at least a processor; and a memory for storing computer-readable instructions. When the computer-readable instructions are loaded and executed by the processor, the processor executes the above-mentioned method for determining data transmission.
[0097] Figure 6 The electronic device 600 shown specifically includes: a central processing unit (CPU) 601, a graphics processing unit (GPU) 602 and a memory 603. These units are interconnected via a bus 604. The central processing unit (CPU) 601 and / or the graphics processing unit (GPU) 602 can be used as the above-mentioned processor, and the memory 603 can be used as the above-mentioned memory for storing computer-readable instructions. In addition, the electronic device 600 may also include a communication unit 605, a storage unit 606, an output unit 607, an input unit 608 and an external device 609, which are also connected to the bus 604.
[0098] Figure 7 is a schematic diagram illustrating a computer-readable storage medium according to an embodiment of the present disclosure. Figure 7 As shown, a computer-readable storage medium 700 according to an embodiment of the present disclosure has computer-readable instructions 701 stored thereon. When the computer-readable instructions 701 are executed by a processor, the data transmission method according to an embodiment of the present disclosure described with reference to the above figures is executed. The computer-readable storage medium includes, but is not limited to, for example, volatile memory and / or non-volatile memory. Volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. Non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, optical disk, magnetic disk, etc.
[0099] Figure 8 is a schematic diagram illustrating a computer program product according to an embodiment of the present disclosure. Figure 8As shown, a computer program product 800 according to an embodiment of the present disclosure has a computer program 801 stored thereon. When the computer program is executed by a processor, the data transmission method described above is implemented. Computer program products include, but are not limited to, system software, application software, and games. System software is the basic software of a computer, which is responsible for managing the hardware and application programs of the computer, including an operating system, device drivers, and the like. Application software is software designed to meet specific needs, such as office software, image processing software, and the like. Games are software used for entertainment, providing a variety of gaming experiences. In addition, computer program products may also include embedded software, firmware, and the like, which are used to control and operate various hardware devices.
[0100] The method, apparatus, electronic device, computer-readable storage medium, and computer program product for determining the spatial correlation of business data according to the embodiments of the present disclosure are described above with reference to the accompanying drawings. Compared with relying entirely on manual judgment, the present disclosure obtains the Moran's index of the business feature data by combining the business feature data and the corresponding location information, and determines the spatial correlation of the business feature data based on the Moran's index. This can greatly reduce the impact of subjectivity on the analysis results, make the results more objective, and is suitable for analysis of micro spatial scales.
[0101] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this disclosure.
[0102] The basic principles of the present disclosure are described above in conjunction with specific embodiments. However, it should be noted that the advantages, strengths, effects, etc. mentioned in the present disclosure are only examples and not limitations, and it cannot be considered that these advantages, strengths, effects, etc. are required by each embodiment of the present disclosure. In addition, the specific details disclosed above are only for the purpose of illustration and ease of understanding, and are not limitations. The above details do not limit the present disclosure to the necessity of adopting the above specific details to be implemented.
[0103] The block diagrams of the devices, apparatuses, equipment, and systems involved in this disclosure are only illustrative examples and are not intended to require or imply that they must be connected, arranged, and configured in the manner shown in the block diagrams. As will be appreciated by those skilled in the art, these devices, apparatuses, equipment, and systems can be connected, arranged, and configured in any manner. Words such as "including," "comprising," "having," and the like are open words, referring to "including but not limited to," and can be used interchangeably therewith. The words "or" and "and" used herein refer to the words "and / or," and can be used interchangeably therewith, unless the context clearly indicates otherwise. The word "such as" used herein refers to the phrase "such as but not limited to," and can be used interchangeably therewith.
[0104] Additionally, as used herein, "or" used in a list of items beginning with "at least one" indicates a separate list, so that, for example, a list of "at least one of A, B, or C" means A or B or C, or AB or AC or BC, or ABC (i.e., A and B and C). Furthermore, the word "exemplary" does not mean that the example described is preferred or better than other examples.
[0105] It should also be noted that in the system and method of the present disclosure, each component or each step can be decomposed and / or recombined. Such decomposition and / or recombination should be regarded as equivalent solutions of the present disclosure.
[0106] Various changes, substitutions, and modifications of the technology herein may be made without departing from the technology of the teachings defined by the appended claims. Furthermore, the scope of the claims of the present disclosure is not limited to the specific aspects of the above processes, machines, manufactures, compositions of events, means, methods, and actions. Currently existing or later to be developed processes, machines, manufactures, compositions of events, means, methods, or actions that perform substantially the same functions or achieve substantially the same results as the corresponding aspects herein may be utilized. Thus, the appended claims include such processes, machines, manufactures, compositions of events, means, methods, or actions within their scope.
[0107] The above description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the general principles defined herein may be applied to other aspects without departing from the scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the aspects shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
[0108] The above description has been given for the purpose of illustration and description. In addition, this description is not intended to limit the embodiments of the present disclosure to the forms disclosed herein. Although multiple example aspects and embodiments have been discussed above, those skilled in the art will recognize certain variations, modifications, changes, additions and sub-combinations thereof.
Claims
1. A data transmission method, characterized in that: include: Based on the collected data to be transmitted and network environment information of the target device in a non-battery-powered mode, obtaining a transmission status evaluation result corresponding to the target data to be transmitted; Determining whether the transmission status evaluation result meets a predetermined condition; When the transmission status evaluation result does not meet the predetermined condition, the number of failures is increased by a preset value. When the number of failures reaches the preset threshold, the target device is converted from a non-battery power supply mode to a battery power supply mode to achieve the transmission of the target data to be transmitted.
2. The data transmission method according to claim 1, characterized in that: The step of obtaining a transmission status evaluation result corresponding to the target data to be transmitted based on the collected data to be transmitted and network environment information of the target device in the non-battery power supply mode includes: Collect the data to be transmitted and the network environment information of the target device in non-battery power mode; Determining a current transmission status of the data to be transmitted based on the data to be transmitted and the network environment information; Based on the current transmission status, a transmission status evaluation result corresponding to the target data to be transmitted is obtained.
3. The data transmission method according to claim 2, characterized in that: The acquiring, based on the current transmission status, a transmission status evaluation result corresponding to the target data to be transmitted includes: Based on the current transmission state, determining all feasible transmission behaviors in the current transmission state; Based on the current transmission state and the transmission behavior, obtaining a transmission behavior evaluation matrix; Based on the transmission behavior evaluation matrix, a transmission status evaluation result corresponding to the target data to be transmitted is obtained.
4. The data transmission method according to claim 3, characterized in that: The transmission behavior includes at least a first transmission behavior and a second transmission behavior; The determining whether the transmission status evaluation result satisfies a predetermined condition comprises: Acquire a first reward value obtained after the target data to be transmitted performs a first transmission behavior in the current transmission state and a second reward value obtained after the target data to be transmitted performs a second transmission behavior; Based on the first reward value and the second reward value, determining whether the transmission status evaluation result meets a predetermined condition; The first transmission behavior is used to indicate data transmission, and the second transmission behavior is used to indicate data non-transmission.
5. The data transmission method according to claim 4, characterized in that: The predetermined conditions include: The first reward value is greater than the second reward value.
6. The data transmission method according to any one of claims 1 to 5, characterized in that: The method further comprises: When the transmission status evaluation result satisfies a predetermined condition, in response to satisfying the predetermined condition, the target data to be transmitted is sent.
7. A data transmission device, characterized in that: include: An evaluation result acquisition module is configured to acquire a transmission status evaluation result corresponding to the target data to be transmitted based on the collected data to be transmitted and network environment information of the target device in a non-battery power supply mode; A condition determination module, configured to determine whether the transmission status evaluation result satisfies a predetermined condition; The data transmission module is configured to, when the transmission status evaluation result does not meet the predetermined conditions, add a preset value to the number of failures, and when the number of failures reaches the preset threshold, convert the target device from a non-battery power supply mode to a battery power supply mode to achieve the target data transmission.
8. An electronic device, characterized in that: include: a memory for storing computer readable instructions; as well as A processor is used to run the computer-readable instructions so that the electronic device performs the data transmission method as described in any one of claims 1 to 6.
9. A computer-readable storage medium for storing computer-readable instructions, characterized in that: When the computer-readable instructions are executed by a processor, the processor is caused to perform the data transmission method according to any one of claims 1 to 6.
10. A computer program product, characterized in that The invention comprises a computer program, which implements the data transmission method according to any one of claims 1 to 6 when being executed by a processor.
Citation Information
Patent Citations
Hybrid energy power supply system and hybrid energy power supply method
CN102480164A
Power supply device and power supply method for wireless communication terminal
CN106027704A
Multi-parameter evaluation decision-making method and system for enterprise
CN118195132A
Multi-channel data transmission cooperative anti-interference method based on deep reinforcement learning
CN118400053A
Method and device for supplying energy to UAV
JP2019172255A
