Cache data transmission method, device, electronic device and medium

By optimizing cache update and transmission strategies in the industrial Internet of Things, combining the AOI parameters and channel state of the sensor, the problems of high sensor energy consumption and poor information timeliness caused by edge caching technology are solved, and the sensor energy consumption reduction and information timeliness are achieved Improvement.

CN115484569BActive Publication Date: 2024-12-17BEIJING UNIV OF POSTS & TELECOMM
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210969674.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-12
Publication Date
2024-12-17
Estimated Expiration
2042-08-12

AI Technical Summary

Technical Problem

In the industrial Internet of Things, edge caching technology is limited by network resources, resulting in frequent cache updates of data, which will lead to a significant increase in sensor energy consumption and poor information timeliness.

Method used

By obtaining the preset AOI parameters of the sensor in the wireless access module, calculating and updating the reward value of cached data, combining channel status and application requests, the cache update and transmission strategy is optimized to achieve the reward for maximizing data transmission.

Benefits of technology

It effectively avoids the problems of improving sensor energy consumption and poor information timeliness, and realizes the reduction of sensor energy consumption and the improvement of industrial application information timeliness.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115484569B_ABST
    Figure CN115484569B_ABST
Patent Text Reader

Abstract

The present application discloses a method, device, electronic device and medium for transmitting cache data. By applying the technical solution of the present application, it is possible to couple the update of cache content between the sensor and the wireless access module with the transmission of cache data between the wireless access module and the industrial application. That is, in each time slot in the system, the wireless access module needs to comprehensively consider the cache retrieval request of the industrial application, the AIO of the sensor cache content and the channel status to make cache decisions to achieve the reward of maximizing data transmission. Thereby, it can not only avoid the problem existing in the related technology that the frequent cache update data caused by the edge cache technology being limited by network resources will lead to a significant increase in sensor energy consumption. It can also reduce the disadvantage of poor timeliness of information obtained by industrial applications due to the failure to update the cache content requested by the application in a timely manner.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to data processing technology, and in particular to a method, device, electronic device and medium for transmitting cached data. Background Art

[0002] The Industrial Internet of Things (IloT), which combines wireless sensor networks and industrial communication systems, has been widely used in the industrial field to improve productivity and reduce production costs.

[0003] In related technologies, in IloT, a large number of sensors are deployed to sense internal status or external environment (such as temperature, equipment operation status, etc.). In order to ensure timely transmission of data, the business platform usually deploys edge buffers on industrial wireless access points (APs) to communicate with sensors with the help of APs, thereby caching dynamic content sensed by sensors. On the other hand, it can respond to industrial application requests in a timely manner, transmit the data required by the application to the industrial application side through a wired backhaul link, and enable industrial applications to obtain perceived content.

[0004] However, the edge caching technology in related technologies is limited by network resources, which leads to a significant increase in sensor energy consumption due to frequent cache update data. Therefore, how to design an efficient cache update and transmission solution is an urgent problem to be solved in the industrial Internet edge caching system. Summary of the invention

[0005] The embodiments of the present application provide a method, device, electronic device and medium for transmitting cached data, which are used to solve the problem in the related art that the edge cache technology is limited by network resources, resulting in frequent cache update of data, which will lead to a significant increase in sensor energy consumption.

[0006] According to one aspect of an embodiment of the present application, a method for transmitting cached data is provided, which is applied to a wireless access module and includes:

[0007] When a cache retrieval request of an industrial application is obtained, the preset AOI parameters corresponding to each sensor are obtained;

[0008] Calculate and update the cache data in each sensor to each preset reward value corresponding to the wireless access module;

[0009] The cached data corresponding to the preset reward value within the target range is sent to the industrial application.

[0010] Optionally, in another embodiment of the method of the present application, calculating and updating the cache data in each sensor to each preset reward value corresponding to the wireless access module includes:

[0011] Calculating the energy consumption value consumed in updating the cache data in each sensor to the wireless access module; and,

[0012] Calculating a preset AOI reduction value achieved by the industrial application when the cached data in each sensor is transmitted to the industrial application;

[0013] Based on the energy consumption value and the preset AOI reduction value, a preset reward value corresponding to each sensor is calculated.

[0014] Optionally, in another embodiment of the method of the present application, the calculating the energy consumption value consumed for updating the cache data in each sensor to the wireless access module includes:

[0015] Based on the transmission power of each sensor in a preset time slot and the state of the wireless channel between the sensor and the wireless access module, the energy consumption value corresponding to each sensor is calculated.

[0016] Optionally, in another embodiment of the method of the present application, the step of calculating a preset reward value corresponding to each sensor based on the energy consumption value and the preset AOI drop value includes:

[0017] Sorting all sensors corresponding to each industrial application according to a preset sorting strategy to obtain a sensor sequence set, wherein the preset sorting strategy is a strategy for sorting based on preset AOI parameters corresponding to the sensors;

[0018] Based on the energy consumption value and the preset AOI reduction value, sequentially calculating the preset reward value of each sensor in the preset sorting strategy;

[0019] Substitute each preset reward value into a preset dynamic programming algorithm formula to obtain a preset maximum reward value, and receive cache data sent by a sensor corresponding to the preset maximum reward value.

[0020] Optionally, in another embodiment of the method of the present application, before obtaining the cache retrieval request of the industrial application, the method further includes:

[0021] Initialize and set each of the sensors and the industrial application.

[0022] According to another aspect of the embodiment of the present application, a buffered data transmission device is provided, which is applied to a wireless access module and includes:

[0023] An acquisition module is configured to acquire preset AOI parameters corresponding to each sensor when a cache retrieval request of an industrial application is acquired;

[0024] A calculation module configured to calculate and update the cache data in each sensor to each preset reward value corresponding to the wireless access module;

[0025] The sending module is configured to send the cache data corresponding to the preset reward value within the target range to the industrial application.

[0026] According to another aspect of the embodiments of the present application, an electronic device is provided, including:

[0027] A memory for storing executable instructions; and

[0028] A display is used to execute the executable instructions together with the memory to complete the operation of any of the above-mentioned cache data transmission methods.

[0029] According to another aspect of an embodiment of the present application, a computer-readable storage medium is provided for storing computer-readable instructions, wherein the instructions, when executed, perform the operations of any of the above-mentioned cache data transmission methods.

[0030] In the present application, the wireless access module can be used to obtain the preset AOI parameters corresponding to each sensor when obtaining the cache retrieval request of the industrial application; calculate and update the cache data in each sensor to the preset reward values ​​corresponding to the wireless access module; send the cache data corresponding to the preset reward value in the target range to the industrial application. By applying the technical solution of the present application, the update of the cache content between the sensor and the wireless access module can be coupled with the transmission of the cache data between the wireless access module and the industrial application. That is, in each time slot in the system, the wireless access module needs to comprehensively consider the cache retrieval request of the industrial application, the AOI of the sensor cache content, and the channel state to make a cache decision to achieve the reward of maximizing data transmission. Thereby, it can not only avoid the problem that the frequent cache update data caused by the edge cache technology being limited by network resources in the related technology will cause a significant increase in sensor energy consumption. It can also reduce the disadvantage of poor timeliness of information obtained by industrial applications due to the failure to update the cache content requested by the application in a timely manner.

[0031] The technical solution of the present application is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present application and, together with the description, serve to explain the principles of the present application.

[0033] The present application can be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:

[0034] Figure 1A schematic diagram of a method for transmitting cached data provided by an embodiment of the present application is shown;

[0035] Figure 2 A schematic diagram of the system architecture of a cache data transmission method provided by an embodiment of the present application is shown;

[0036] Figure 3 A schematic diagram showing a flow chart of a method for transmitting cached data provided in an embodiment of the present application is shown;

[0037] Figure 4 A schematic diagram of the structure of an electronic device provided by an embodiment of the present application is shown;

[0038] Figure 5 A schematic diagram of the structure of an electronic device provided by an embodiment of the present application is shown;

[0039] Figure 6 A schematic diagram of a storage medium provided in an embodiment of the present application is shown. DETAILED DESCRIPTION

[0040] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It should be noted that unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present application.

[0041] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0042] The following description of at least one exemplary embodiment is merely illustrative in nature and is not intended to limit the present application, its application, or uses.

[0043] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the technologies, methods, and equipment should be considered as part of the specification.

[0044] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0045] In addition, the technical solutions between the various embodiments of the present application can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0046] It should be noted that all directional indications in the embodiments of the present application (such as up, down, left, right, front, back, etc.) are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0047] Combine the following Figure 1-Figure 3 To describe a method for transmitting cached data according to an exemplary embodiment of the present application. It should be noted that the following application scenarios are only shown to facilitate understanding of the spirit and principles of the present application, and the embodiments of the present application are not limited in this regard. On the contrary, the embodiments of the present application can be applied to any applicable scenario.

[0048] The present application also proposes a method, device, electronic device and medium for transmitting cached data.

[0049] Figure 1 The flowchart of a method for transmitting cache data according to an embodiment of the present application is schematically shown. Figure 1 As shown, the method includes:

[0050] S101, when a cache retrieval request of an industrial application is obtained, the preset AOI parameters corresponding to each sensor are obtained.

[0051] S102, calculating and updating the cache data in each sensor to each corresponding preset reward value at the wireless access module.

[0052] S103, sending the cached data corresponding to the preset reward value within the target range to the industrial application.

[0053] Among them, the Industrial Internet of Things (IloT), which combines wireless sensor networks and industrial communication systems, has been widely used in the industrial field to improve productivity and reduce production costs. In IloT, a large number of sensors are deployed to sense internal status or external environment (such as temperature, equipment operating status, etc.). According to a document from IBM, each production line may have 100-2000 sensors to continuously collect data, generating 2200TB of data per month. Industrial applications will aggregate and process information from these sensors to make decisions in real time.

[0054] However, due to limited communication resources, such a large amount of data transmission will cause network congestion, greatly affecting the timeliness of information obtained by industrial applications and significantly reducing the performance of industrial applications. To meet the challenge, deploying edge cache on industrial wireless access points (AP) has become a very promising solution. On the one hand, edge cache can communicate with sensors with the help of AP and cache the dynamic content perceived by sensors; on the other hand, it can respond to industrial application requests in a timely manner and transmit the data required by the application to the industrial application side through the wired backhaul link, so that industrial applications can obtain the perceived content.

[0055] Compared with traditional industrial applications that directly obtain data information from sensors, the above functions of edge caching technology make the transmission of large-scale perception content smoother, which can greatly reduce the system traffic load and reduce sensor energy consumption. However, the introduction of edge caching will also bring the following problems:

[0056] 1) Since the perception content stored in the cache will gradually become outdated, resulting in the deterioration of the timeliness of the information obtained by industrial applications, it is crucial to update the sensor content in the cache in a timely manner.

[0057] 2) Cache updates are limited by network resources. Frequent cache updates will significantly increase sensor energy consumption, which is undesirable for energy-constrained industrial sensors. Therefore, under the resource constraints of the system, how to design an efficient cache update and transmission solution to improve the timeliness of industrial application information while minimizing sensor energy consumption is an urgent problem to be solved in the edge cache system of the Industrial Internet.

[0058] In response to the above-mentioned problems, the present application proposes a method for transmitting cache data. The idea is to couple the update of cache content between the sensor and the wireless access module with the transmission of cache data between the wireless access module and the industrial application. That is, in each time slot in the system, the wireless access module needs to comprehensively consider the cache retrieval request of the industrial application, the AOI of the sensor cache content, and the channel status to make cache decisions to achieve the reward of maximizing data transmission. This can not only avoid the problem in related technologies that the frequent cache update data caused by the edge cache technology being limited by network resources will lead to a significant increase in sensor energy consumption. It can also reduce the disadvantage of poor timeliness of information obtained by industrial applications due to the failure to update the cache content requested by the application in a timely manner.

[0059] In one way, for the AOI parameter, it is the Age of Information (Ao I). It is used to measure the timeliness of information. As an example, the Ao I parameter refers to the time period from the generation of the cache data of the corresponding sensor device to the acquisition by the industrial application. Ao I measures the timeliness of information from the perspective of the receiving end. It can be understood that the larger the Ao I, the longer the time from the generation of the cache data by the sensor to the final reception, and the worse the timeliness of the information.

[0060] In one way, the Ao I parameter of the sensor can be represented by the Ao I of the sensor content in the cache in this application. In addition, since an industrial application often needs to aggregate information from multiple sensors to make decisions, this application uses the maximum value of the Ao I of all sensors related to an industrial application as the Ao I parameter of the application.

[0061] It should be noted that for industrial applications, the smaller the AoI, the more timely the information obtained, the more conducive it is to making accurate decisions, and the better the performance.

[0062] However, the reduction of AoI means frequent information updates, which is not only limited by system resources, but also consumes a lot of sensor energy. Since sensors often have limited power supply, frequent information updates will greatly affect the overall life of the system.

[0063] Therefore, it is crucial to formulate a reasonable wireless edge cache update and transmission scheme under random channel states and application request states, efficiently utilize limited system resources, improve the AoI of industrial applications, and minimize sensor energy consumption. In one way, the present application optimizes the cache strategy of the update end (i.e., cache content update) and the cache strategy of the transmission end. Thereby minimizing the weighted sum of all industrial application AoI and sensor energy consumption. Thereby effectively solving the cache update and transmission problems of the actual industrial wireless edge cache system, thereby minimizing the energy consumption of the sensor while improving the performance of industrial applications.

[0064] In one embodiment, the architecture of the wireless edge cache system used in the present application is as follows: Figure 2 As shown. Take the wireless access module as an example:

[0065] The wireless edge caching system includes K sensors, 1 AP and J industrial applications, and the cache unit is deployed near the AP. In this system, the industrial sensor is represented as Industrial applications are represented by The time slot is represented by In each time slot, the sensor accesses the AP in OFDMA mode and stores the sensed content in the edge cache unit. The wireless channel bandwidth is B , the number of orthogonal channels is W. For sensor k, the size of its perceived content is recorded as L k , the transmission power in time slot n is denoted as P k,n The industrial application is deployed in the cloud and connects to the AP through a forward wired link to obtain the data in the cache unit. The capacity of the wired channel is V. It is assumed that the transmission of the cache content between the AP and the industrial application can be completed in a short time, which is negligible compared to the duration of each time slot.

[0066] Furthermore, for the cache data transmission method proposed in this application, if Figure 3 As shown, the cache mode is that the update and transmission of cache content affect each other. That is, the AP controller determines the update and transmission of cache content according to the current application request and cache status. It can be understood that the embodiment of the present application needs to wait for the cache to be updated before transmitting data, so as to achieve the purpose of timely cache update.

[0067] The following is a detailed description of this application plan:

[0068] To represent the cache strategy for each time slot, this application defines 0-1 variables α and β to represent the update and transmission of cache content, respectively. If the cache content of sensor k is updated in time slot n, α k,n =1. Otherwise, α k,n =0.

[0069] As an example, if the buffer content of sensor k is transmitted to the application side at time slot n, β k,n =1. Otherwise, β k,n = 1. At the same time, the variable X is used to represent the application request. If industrial application j sends a request in time slot n, X j,n = 1. Otherwise, X j,n =0.

[0070] In one approach, the present application assumes that the requests for industrial applications arrive in an independent and identically distributed Bernoulli process, that is, X j ~Bernoulli(p j ). j is the probability that industrial application j sends a request in each time slot.

[0071] Considering the number of wireless channels and the capacity of wired channels in the system, variables α and β need to satisfy the following conditions:

[0072]

[0073]

[0074] In one method, the energy consumption value of the sensor in this application is calculated as follows:

[0075] For the sensor communication model, this application considers a time slot-based wireless communication model, in which the wireless channel part adopts the Rayleigh fading channel model. This application assumes that at the beginning of each time slot, the perfect channel state information of all channels is known to the AP. The channel state remains unchanged within a single time slot and changes independently between different time slots. The variable h k,n represents the channel gain of sensor k in time slot n,

[0076]

[0077] Where c is the speed of light, f c is the carrier center frequency. τ is an independent random channel fading factor, which obeys the Rayleigh distribution with parameter σ, τ~Rayleigh(σ).

[0078] Without loss of generality, let's take sensor k as an example. Its signal-to-noise ratio in time slot n is,

[0079]

[0080] Where N0 is the unilateral noise power spectral density. Since the sensor's perception content data volume is generally small, this application assumes that the transmission of the perception content can be completed within one time slot. Therefore, in order to ensure the complete transmission of the perception content,

[0081]

[0082] In addition, in order to avoid transmission failure due to poor channel quality, it is necessary to ensure that the signal-to-noise ratio of the channel is greater than the threshold value.

[0083]

[0084] In summary, to ensure the successful transmission of the perceived content, the transmission power of sensor k in time slot n is

[0085]

[0086] The energy consumption of sensor k in time slot n is

[0087] E k,n =α k,n ·P k,n . (12).

[0088] Furthermore, since the goal of this application is to improve the timeliness of industrial applications while reducing the energy consumption of sensors, this application defines the optimization target (i.e., cache cost) as: the weighted sum of the AoI of industrial applications and the energy consumption of sensors during system operation,

[0089]

[0090] Among them, the goal of this application is to minimize the average cache cost by jointly optimizing the cache data update and transmission of the edge cache system under the constraints of wireless resources and fronthaul capacity. This problem can be expressed as:

[0091]

[0092] The above formula b is the wireless resource limitation, and the access amount of sensors in any time slot does not exceed the number of sub-channels. The above formula c is the forward link capacity limitation.

[0093] In one approach, since problem P is a long-term random optimization problem, its offline optimal solution requires accurate state information of the system in all time slots, including application request status, channel status, etc.

[0094] Furthermore, in order to obtain a solution to problem P, the present application first transforms problem P. Specifically, according to the Ao I and sensor energy consumption model, in each time slot, the update and transmission of cache data will lead to a decrease in industrial application Ao I and an increase in sensor energy consumption. The former is conducive to reducing the optimization target, while the latter will increase the optimization target. The present application defines the difference between the Ao I reduction value and the energy consumption increase value as the reward for the system cache decision in the current time slot. The reward of the system in time slot n is expressed as

[0095]

[0096] in, It represents the AoI drop value of application j in time slot n.

[0097] It is worth noting that if the system does not update and transmit the content in the cache, the application's AoI will increase linearly and the system energy consumption is 0. Therefore, the average cache cost minimization problem P can be transformed into the average reward maximization problem P1

[0098]

[0099] Similar to problem P, since the prior information of the system state is unknown, it is impossible to obtain the offline optimal solution of P1. Therefore, this application proposes an online method to obtain the solution of P1.

[0100] Specifically, the present application uses the expected reward of the system in the current state of each time slot to approximate the average reward of the system, thereby decoupling the long-term random optimization problem P1 into a deterministic time slot reward expectation maximization problem P2 for the next step of solving.

[0101]

[0102] P2 is an integer nonlinear programming problem that cannot be solved directly due to the correlation between multiple sensors belonging to the same industrial application and the coupling of cache data update and transmission.

[0103] Furthermore, for the cache data transmission method proposed in this application, since the update and transmission of cache content are coupled with each other, in each time slot, the system needs to comprehensively consider the application request, the AoI of the cache content, and the channel status to make a cache decision to maximize the system reward.

[0104] It should be noted that the sensor set used in this application in each time slot is The sensor in A s,k (n) Sort by size to get the sorted set Thus, the variable α k,n can be rewritten as

[0105] Furthermore, this application introduces the variable To decouple the correlation of sensors. At the same time, this application introduces variables based on the application's request Instead of the variable β k,n Therefore, taking application j as an example, when and When , the expected reward can be expressed as

[0106]

[0107] Therefore, for this application solution, problem P2 can be written as

[0108]

[0109] Among them, P4 is an integer nonlinear programming problem. In one way, the optimal solution of problem P4 satisfies the following conditions: 1) When X j,n = 0, then When X j,n =1,

[0110] Therefore, the preset dynamic programming algorithm formula can be:

[0111]

[0112] This problem is a 0-1 integer linear programming problem, and the above preset dynamic programming algorithm formula can be used to perform a dynamic programming algorithm solution.

[0113] In the present application, the wireless access module can be used to obtain the preset AOI parameters corresponding to each sensor when obtaining the cache retrieval request of the industrial application; calculate and update the cache data in each sensor to the preset reward values ​​corresponding to the wireless access module; send the cache data corresponding to the preset reward value in the target range to the industrial application. By applying the technical solution of the present application, the update of the cache content between the sensor and the wireless access module can be coupled with the transmission of the cache data between the wireless access module and the industrial application. That is, in each time slot in the system, the wireless access module needs to comprehensively consider the cache retrieval request of the industrial application, the AOI of the sensor cache content, and the channel state to make a cache decision to achieve the reward of maximizing data transmission. Thereby, it can not only avoid the problem that the frequent cache update data caused by the edge cache technology being limited by network resources in the related technology will cause a significant increase in sensor energy consumption. It can also reduce the disadvantage of poor timeliness of information obtained by industrial applications due to the failure to update the cache content requested by the application in a timely manner.

[0114] Optionally, in another embodiment of the method of the present application, calculating and updating the cache data in each sensor to each preset reward value corresponding to the wireless access module includes:

[0115] Calculating the energy consumption value consumed in updating the cache data in each sensor to the wireless access module; and,

[0116] Calculating a preset AOI reduction value achieved by the industrial application when the cached data in each sensor is transmitted to the industrial application;

[0117] Based on the energy consumption value and the preset AOI reduction value, a preset reward value corresponding to each sensor is calculated.

[0118] Optionally, in another embodiment of the method of the present application, the calculating the energy consumption value consumed for updating the cache data in each sensor to the wireless access module includes:

[0119] Based on the transmission power of each sensor in a preset time slot and the state of the wireless channel between the sensor and the wireless access module, the energy consumption value corresponding to each sensor is calculated.

[0120] Optionally, in another embodiment of the method of the present application, the step of calculating a preset reward value corresponding to each sensor based on the energy consumption value and the preset AOI drop value includes:

[0121] Sorting all sensors corresponding to each industrial application according to a preset sorting strategy to obtain a sensor sequence set, wherein the preset sorting strategy is a strategy for sorting based on preset AOI parameters corresponding to the sensors;

[0122] Based on the energy consumption value and the preset AOI reduction value, sequentially calculating the preset reward value of each sensor in the preset sorting strategy;

[0123] Substitute each preset reward value into a preset dynamic programming algorithm formula to obtain a preset maximum reward value, and receive cache data sent by a sensor corresponding to the preset maximum reward value.

[0124] Optionally, in another embodiment of the method of the present application, before obtaining the cache retrieval request of the industrial application, the method further includes:

[0125] Initialize and set each of the sensors and the industrial application.

[0126] By applying the technical solution of the present application, it is possible to couple the update of cache content between the sensor and the wireless access module with the transmission of cache data between the wireless access module and the industrial application. That is, in each time slot in the system, the wireless access module needs to comprehensively consider the cache retrieval request of the industrial application, the AOI of the sensor cache content, and the channel status to make cache decisions to achieve the reward of maximizing data transmission. This can not only avoid the problem existing in the related technology that the frequent cache update data caused by the edge cache technology being limited by network resources will lead to a significant increase in sensor energy consumption. It can also reduce the disadvantage of poor timeliness of information obtained by industrial applications due to the failure to update the cache content requested by the application in a timely manner.

[0127] Optionally, in another embodiment of the present application, Figure 4 As shown, the present application also provides a transmission device for cached data. It includes:

[0128] The acquisition module 201 is configured to acquire preset AOI parameters corresponding to each sensor when acquiring a cache call request of an industrial application;

[0129] The calculation module 202 is configured to calculate and update the cache data in each sensor to each preset reward value corresponding to the wireless access module;

[0130] The sending module 203 is configured to send the cache data corresponding to the preset reward value within the target range to the industrial application.

[0131] In this application, the wireless access module can be used to obtain the preset AOI parameters corresponding to each sensor when obtaining the cache retrieval request of the industrial application; calculate and update the cache data in each sensor to the preset reward values ​​corresponding to the wireless access module; send the cache data corresponding to the preset reward value in the target range to the industrial application. By applying the technical solution of this application, it is possible to couple the update of the cache content between the sensor and the wireless access module with the transmission of the cache data between the wireless access module and the industrial application. That is, in each time slot in the system, the wireless access module needs to comprehensively consider the cache retrieval request of the industrial application, the AOI of the sensor cache content, and the channel status to make cache decisions to achieve the reward of maximizing data transmission.

[0132] In another embodiment of the present application, the calculation module 202 is configured to perform the following steps:

[0133] Calculating the energy consumption value consumed in updating the cache data in each sensor to the wireless access module; and,

[0134] Calculating a preset AOI reduction value achieved by the industrial application when the cached data in each sensor is transmitted to the industrial application;

[0135] Based on the energy consumption value and the preset AOI reduction value, a preset reward value corresponding to each sensor is calculated.

[0136] In another embodiment of the present application, the calculation module 202 is configured to perform the following steps:

[0137] Based on the transmission power of each sensor in a preset time slot and the state of the wireless channel between the sensor and the wireless access module, the energy consumption value corresponding to each sensor is calculated.

[0138] In another embodiment of the present application, the calculation module 202 is configured to perform the following steps:

[0139] Sorting all sensors corresponding to each industrial application according to a preset sorting strategy to obtain a sensor sequence set, wherein the preset sorting strategy is a strategy for sorting based on preset AOI parameters corresponding to the sensors;

[0140] Based on the energy consumption value and the preset AOI reduction value, sequentially calculating the preset reward value of each sensor in the preset sorting strategy;

[0141] Substitute each preset reward value into a preset dynamic programming algorithm formula to obtain a preset maximum reward value, and receive cache data sent by a sensor corresponding to the preset maximum reward value.

[0142] In another embodiment of the present application, the calculation module 202 is configured to perform the following steps:

[0143] Initialize and set each of the sensors and the industrial application.

[0144] The present application also provides an electronic device to perform the above-mentioned method for transmitting cached data. Figure 5 , which shows a schematic diagram of an electronic device provided by some embodiments of the present application. Figure 5 As shown, the electronic device 3 includes: a processor 300, a memory 301, a bus 302 and a communication interface 303, wherein the processor 300, the communication interface 303 and the memory 301 are connected via the bus 302; the memory 301 stores a computer program that can be run on the processor 300, and when the processor 300 runs the computer program, the cache data transmission method provided in any of the aforementioned embodiments of the present application is executed.

[0145] The memory 301 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk storage. The communication connection between the device network element and at least one other network element is realized through at least one communication interface 303 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.

[0146] The bus 302 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 301 is used to store programs, and the processor 300 executes the programs after receiving the execution instruction. The data identification method disclosed in any implementation of the embodiment of the present application may be applied to the processor 300, or implemented by the processor 300.

[0147] The processor 300 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 300. The above processor 300 can be a general-purpose processor, including a processor (Central Processing Unit, referred to as CPU), a network processor (Network Processor, referred to as NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a readily available programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to execute, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 301, and the processor 300 reads the information in the memory 301 and completes the steps of the above method in combination with its hardware.

[0148] The electronic device provided in the embodiment of the present application and the method for data identification provided in the embodiment of the present application are based on the same inventive concept and have the same beneficial effects as the methods adopted, operated or implemented therein.

[0149] The present application also provides a computer-readable storage medium corresponding to the data identification method provided in the above embodiment. Figure 6 The computer-readable storage medium shown is a CD 40 on which a computer program (ie, a program product) is stored. When the computer program is executed by a processor, the method for transmitting cache data provided in any of the aforementioned embodiments will be executed.

[0150] It should be noted that examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.

[0151] The computer-readable storage medium provided in the above-mentioned embodiments of the present application and the method for data identification provided in the embodiments of the present application are based on the same inventive concept and have the same beneficial effects as the method adopted, run or implemented by the application program stored therein.

[0152] It should be noted that:

[0153] In the description provided herein, a large number of specific details are described. However, it is understood that the embodiments of the present application can be practiced without these specific details. In some instances, well-known structures and technologies are not shown in detail so as not to obscure the understanding of this description.

[0154] Similarly, it should be understood that in order to streamline the present application and help understand one or more of the various inventive aspects, in the above description of the exemplary embodiments of the present application, the various features of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, the disclosed method should not be interpreted as reflecting the following schematic diagram: the claimed application requires more features than the features clearly stated in each claim. More specifically, as reflected in the claims below, the inventive aspects are less than all the features of the single embodiment disclosed above. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself serves as a separate embodiment of the present application.

[0155] In addition, those skilled in the art will appreciate that, although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features of different embodiments is meant to be within the scope of the present application and form different embodiments. For example, in the claims below, any one of the claimed embodiments may be used in any combination.

[0156] The above is only a preferred specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.

Claims

1. A method for transmitting cache data, characterized in that: Applied to wireless access modules, including: When a cache retrieval request of an industrial application is obtained, the preset AOI parameters corresponding to each sensor are obtained; Calculate and update the cache data in each sensor to each preset reward value corresponding to the wireless access module; sending cached data corresponding to the preset reward value within the target range to the industrial application; The calculation updates the cache data in each sensor to each preset reward value corresponding to the wireless access module, including: Calculating the energy consumption value consumed when updating the cache data in each sensor to the wireless access module; and calculating the preset AOI reduction value achieved by the industrial application when the cache data in each sensor is transmitted to the industrial application; and calculating the preset reward value corresponding to each sensor based on the energy consumption value and the preset AOI reduction value; The calculating, based on the energy consumption value and the preset AOI reduction value, a preset reward value corresponding to each sensor includes: All sensors corresponding to each industrial application are sorted according to a preset sorting strategy to obtain a sensor sequence set, wherein the preset sorting strategy is a strategy for sorting based on preset AOI parameters corresponding to the sensors; based on the energy consumption value and the preset AOI drop value, the preset reward value of each sensor in the preset sorting strategy is calculated in sequence; each preset reward value is substituted into a preset dynamic programming algorithm formula to obtain a preset maximum reward value, and cache data sent by the sensor corresponding to the preset maximum reward value is received; The calculating of the energy consumption value consumed for updating the cache data in each sensor to the wireless access module includes: Based on the transmission power of each sensor in a preset time slot and the state of the wireless channel between the sensor and the wireless access module, the energy consumption value corresponding to each sensor is calculated.

2. The method according to claim 1, characterized in that Before obtaining the cache call request of the industrial application, the method further includes: Initialize and set each of the sensors and the industrial application.

3. A cache data transmission device, characterized in that: Applied to wireless access modules, including: An acquisition module is configured to acquire preset AOI parameters corresponding to each sensor when a cache retrieval request of an industrial application is acquired; A calculation module configured to calculate and update the cache data in each sensor to each preset reward value corresponding to the wireless access module; A sending module, configured to send the cached data corresponding to the preset reward value within the target range to the industrial application; The calculation module is further configured to perform the calculation to update the cache data in each sensor to each preset reward value corresponding to the wireless access module in the following manner: calculate the energy consumption value consumed to update the cache data in each sensor to the wireless access module; and calculate the preset AOI reduction value achieved by the industrial application when the cache data in each sensor is transmitted to the industrial application; based on the energy consumption value and the preset AOI reduction value, calculate the preset reward value corresponding to each sensor; The method is further configured to perform the calculation of the preset reward value corresponding to each sensor based on the energy consumption value and the preset AOI reduction value in the following manner: sorting all sensors corresponding to each industrial application according to a preset sorting strategy to obtain a sensor sequence set, wherein the preset sorting strategy is a strategy for sorting based on preset AOI parameters corresponding to the sensors; based on the energy consumption value and the preset AOI reduction value, sequentially calculating the preset reward value of each sensor in the preset sorting strategy; substituting each preset reward value into a preset dynamic programming algorithm formula to obtain a preset maximum reward value, and receiving cache data sent by the sensor corresponding to the preset maximum reward value; The calculation module is further configured to perform the calculation to update the cached data in each sensor to the energy consumption value consumed at the wireless access module in the following manner: based on the transmission power of each sensor in a preset time slot and the wireless channel status between the sensor and the wireless access module, calculate the energy consumption value corresponding to each sensor.

4. An electronic device, characterized in that: include: A memory for storing executable instructions; as well as, A processor is used to execute the executable instructions with the memory to complete the operation of the cache data transmission method described in any one of claims 1-2.

5. A computer-readable storage medium for storing computer-readable instructions, characterized in that: When the instruction is executed, the operation of the cache data transmission method described in any one of claims 1-2 is performed.