Data transmission method, device and equipment based on passive internet of things, and medium

By determining the transmission strategy based on the power status of the passive IoT terminal and prioritizing the transmission of important data, the problem of low data transmission reliability of passive IoT terminals is solved, achieving higher reliability and power utilization efficiency.

CN116155940BActive Publication Date: 2026-03-17SHENZHEN AI LINK CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-30
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

Existing passive IoT terminal data transmission methods suffer from low reliability and are prone to data loss due to insufficient power.

Method used

Based on the battery status of the passive IoT terminal, a target transmission strategy is determined using a preset strategy mapping relationship, including full data upload, partial data upload, or no upload. The target transmission strategy prioritizes the transmission of important data to reduce transmission interruptions.

Benefits of technology

It improves the reliability of passive IoT terminals, reduces transmission interruptions caused by insufficient power, and ensures the timely transmission of important data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116155940B_ABST
    Figure CN116155940B_ABST
Patent Text Reader

Abstract

The application provides a data transmission method and device based on a passive Internet of Things, equipment and medium, relating to the technical field of computers. The method comprises: acquiring a current power state of a passive Internet of Things terminal; determining a target transmission strategy according to the current power state of the passive Internet of Things terminal and a preset strategy mapping relationship, the target transmission strategy being any one of the following transmission strategies: complete data uploading, partial data uploading, and stopping uploading; and sending first target data to a target device based on the target transmission strategy. The application realizes the determination of a current corresponding target transmission strategy according to the current power state of the passive Internet of Things terminal, and then the sending of first target data to the target device based on the target transmission strategy, which can prioritize the sending of important first target data according to the current power state, reduce the probability of transmission interruption due to insufficient power during transmission, and improve the reliability of the passive Internet of Things terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to a data transmission method, apparatus, device and medium based on passive Internet of Things. Background Technology

[0002] Passive Internet of Things (IoT) is a new type of IoT technology where network nodes can be passive, meaning the nodes obtain energy from the environment to support data sensing, transmission, and distributed computing. Terminals developed based on this passive IoT technology are called passive IoT terminals.

[0003] In existing technologies, when passive IoT terminals are applied in practical application scenarios, the passive IoT terminals are often configured to send the acquired data to a server or base station in real time. The server or base station can then perform further processing based on the sent data, such as data integration and display, and alarms for abnormal data.

[0004] It can be seen that the existing data transmission methods are relatively simple and are affected by the available power of passive IoT terminals. Important data is often lost during the data transmission process. Therefore, the existing data transmission methods have low reliability. Summary of the Invention

[0005] The purpose of this application is to address the shortcomings of the prior art by providing a data transmission method, apparatus, device, and medium based on passive Internet of Things, which can improve the reliability of the data transmission method.

[0006] To achieve the above objectives, the technical solutions adopted in the embodiments of this application are as follows:

[0007] In a first aspect, the present invention provides a data transmission method based on passive Internet of Things (IoT), applied to a passive IoT terminal, the method comprising:

[0008] Obtain the current battery status of the passive IoT terminal;

[0009] Based on the current power status of the passive IoT terminal and the preset strategy mapping relationship, a target transmission strategy is determined. The preset strategy mapping relationship includes data transmission strategies corresponding to different power statuses. The target transmission strategy is any of the following transmission strategies: complete data upload, partial data upload, or stop uploading.

[0010] Based on the target transmission strategy, the first target data is sent to the target device.

[0011] In an optional implementation, determining the target transmission strategy based on the current power status of the passive IoT terminal and a preset strategy mapping relationship includes:

[0012] Based on the preset strategy mapping relationship, if it is determined that the current power status of the passive IoT terminal meets the first preset power requirement, then the target transmission strategy is determined to be complete data upload.

[0013] If it is determined that the current power status of the passive IoT terminal meets the second preset power requirement, then the target transmission strategy is determined to be partial data upload;

[0014] If it is determined that the current power status of the passive IoT terminal meets the third preset power requirement, then the target transmission strategy is determined to be to stop uploading.

[0015] In an optional implementation, if the target transmission strategy is partial data upload, sending the first target data to the target device based on the target transmission strategy includes:

[0016] Based on a first preset observation window, a first observation parameter corresponding to the first target data within the first preset observation window is sent to the target device. The first observation parameter includes: mean and / or variance. The observation time of the first preset observation window is determined based on a first timing time or a first count value.

[0017] In an optional implementation, if the target transmission strategy is partial data upload, sending the first target data to the target device based on the target transmission strategy includes:

[0018] Based on the second preset observation window, the initial observation parameters corresponding to the first target data and the observation increment parameters of the second observation parameters corresponding to the first target data in the second preset observation window relative to the initial observation parameters are sent to the target device, so that the target device can calculate the second observation parameters according to the initial observation parameters and each of the observation increment parameters.

[0019] Wherein, the initial observation parameter is the observation data corresponding to the initial observation time, the initial observation parameter and the second observation parameter include: mean and / or variance, the observation increment parameter includes: mean increment and / or variance increment, and the observation time of the second preset observation window is determined according to the second timing time or the second count value.

[0020] In an optional implementation, the step of sending initial observation parameters corresponding to the first target data to the target device based on a second preset observation window, and the observation increment parameters of the second observation parameters corresponding to the first target data within the second preset observation window relative to the initial observation parameters, includes:

[0021] Based on the second preset observation window, the initial observation parameters corresponding to the first target data are sent to the target device;

[0022] Based on a preset observation length, an observation increment sequence is obtained and sent to the target device so that the target device can calculate each second observation parameter according to the observation increment sequence and the initial observation parameter. The observation increment sequence includes a preset observation length of observation increment parameters. Each observation increment parameter is obtained by calculating the increment value of the second observation parameter corresponding to the first target data in each second preset observation window relative to the initial observation parameter.

[0023] In an optional implementation, sending the first target data to the target device based on the target transmission strategy includes:

[0024] Calculate the amount of data obtained from the first target data;

[0025] If it is determined that the size of the first target data meets the preset requirements, then the first target data is sent to the target device based on the target transmission strategy.

[0026] In an optional implementation, the method further includes:

[0027] Obtain a first transmission instruction, which is generated by the target device and sent to the passive IoT terminal, or generated by an external device that is communicatively connected to the passive IoT terminal and sent to the passive IoT terminal.

[0028] According to the first transmission instruction, the second target data is sent to the target device.

[0029] Secondly, the present invention provides a data transmission device based on passive Internet of Things (IoT), applied to a passive IoT terminal, the data transmission device comprising:

[0030] The acquisition module is used to acquire the current battery status of the passive IoT terminal;

[0031] The determining module is used to determine the target transmission strategy based on the current power status of the passive IoT terminal and the preset strategy mapping relationship. The preset strategy mapping relationship includes data transmission strategies corresponding to different power statuses. The target transmission strategy is any of the following transmission strategies: complete data upload, partial data upload, or stop uploading.

[0032] The sending module is used to send the first target data to the target device based on the target transmission strategy.

[0033] In an optional implementation, the determining module is specifically used to: based on the preset strategy mapping relationship, if it is determined that the current power status of the passive IoT terminal meets the first preset power requirement, then determine that the target transmission strategy is complete data upload;

[0034] If it is determined that the current power status of the passive IoT terminal meets the second preset power requirement, then the target transmission strategy is determined to be partial data upload;

[0035] If it is determined that the current power status of the passive IoT terminal meets the third preset power requirement, then the target transmission strategy is determined to be to stop uploading.

[0036] In an optional implementation, if the target transmission strategy is partial data upload, the sending module is specifically used to: send a first observation parameter corresponding to the first target data within the first preset observation window to the target device based on the first preset observation window. The first observation parameter includes: mean and / or variance. The observation time of the first preset observation window is determined according to a first timing time or a first count value.

[0037] In an optional implementation, if the target transmission strategy is partial data upload, the sending module is specifically used to: send the initial observation parameters corresponding to the first target data to the target device based on the second preset observation window, and the observation increment parameters of the second observation parameters corresponding to the first target data in the second preset observation window relative to the initial observation parameters, so that the target device can calculate the second observation parameters based on the initial observation parameters and each of the observation increment parameters;

[0038] Wherein, the initial observation parameter is the observation data corresponding to the initial observation time, the initial observation parameter and the second observation parameter include: mean and / or variance, the observation increment parameter includes: mean increment and / or variance increment, and the observation time of the second preset observation window is determined according to the second timing time or the second count value.

[0039] In an optional implementation, the sending module is specifically used for:

[0040] Based on the second preset observation window, the initial observation parameters corresponding to the first target data are sent to the target device;

[0041] Based on a preset observation length, an observation increment sequence is obtained and sent to the target device so that the target device can calculate each second observation parameter according to the observation increment sequence and the initial observation parameter. The observation increment sequence includes a preset observation length of observation increment parameters. Each observation increment parameter is obtained by calculating the increment value of the second observation parameter corresponding to the first target data in each second preset observation window relative to the initial observation parameter.

[0042] In an optional implementation, the sending module is specifically used to: count the amount of data acquired from the first target data;

[0043] If it is determined that the size of the first target data meets the preset requirements, then the first target data is sent to the target device based on the target transmission strategy.

[0044] In an optional implementation, the sending module is further configured to: acquire a first transmission instruction, wherein the first transmission instruction is generated by the target device and sent to the passive IoT terminal, or is generated by an external device communicatively connected to the passive IoT terminal and sent to the passive IoT terminal;

[0045] According to the first transmission instruction, the second target data is sent to the target device.

[0046] Thirdly, the present invention provides an electronic device, comprising: a processor, a storage medium, and a bus, wherein the storage medium stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the machine-readable instructions to perform the steps of the data transmission method based on passive Internet of Things as described in any of the foregoing embodiments.

[0047] Fourthly, the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, performs the steps of the data transmission method based on passive Internet of Things as described in any of the foregoing embodiments.

[0048] The beneficial effects of this application are:

[0049] The data transmission method, apparatus, device, and medium based on passive IoT provided in this application include: acquiring the current power status of a passive IoT terminal; determining a target transmission strategy based on the current power status of the passive IoT terminal and a preset strategy mapping relationship, wherein the preset strategy mapping relationship includes data transmission strategies corresponding to different power statuses, and the target transmission strategy is any of the following transmission strategies: complete data upload, partial data upload, or no upload; and sending first target data to a target device based on the target transmission strategy. This enables the determination of the current target transmission strategy based on the current power status of the passive IoT terminal, and when sending the first target data to the target device based on the target transmission strategy, priority can be given to sending more important first target data according to the current power status, reducing the probability of transmission interruption due to insufficient power during transmission and improving the reliability of the passive IoT terminal. Attached Figure Description

[0050] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0051] Figure 1 A flowchart illustrating a data transmission method based on passive Internet of Things (IoT) provided in this application embodiment;

[0052] Figure 2 A flowchart illustrating another data transmission method based on passive Internet of Things provided in this application embodiment;

[0053] Figure 3 A flowchart illustrating another data transmission method based on passive Internet of Things provided in this application embodiment;

[0054] Figure 4 A flowchart illustrating another data transmission method based on passive Internet of Things provided in this application embodiment;

[0055] Figure 5 A flowchart illustrating another data transmission method based on passive Internet of Things provided in this application embodiment;

[0056] Figure 6 A functional module diagram of a data transmission device based on passive Internet of Things provided in an embodiment of this application;

[0057] Figure 7 This is a schematic diagram of an electronic device structure provided in an embodiment of this application. Detailed Implementation

[0058] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.

[0059] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0060] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.

[0061] Figure 1 This is a flowchart illustrating a data transmission method based on passive Internet of Things (IoT) provided in an embodiment of this application. This method can be applied to passive IoT terminals. In some embodiments, the passive IoT terminal may integrate a data acquisition unit, which may include environmental monitoring units for temperature, humidity, noise, light intensity, wind speed, and air quality; it may also include equipment operating status monitoring units for voltage, current, and vibration; and it may further include an image acquisition unit for acquiring information such as passenger and freight traffic flow and personnel activity. Figure 1 As shown, the method includes:

[0062] S101. Obtain the current battery status of the passive IoT terminal.

[0063] Optionally, the passive IoT terminal may integrate a power detection unit, which can detect the current power status of the passive IoT terminal in real time. This current power status indicates the current available power of the passive IoT terminal. It is understood that the detected current power status may vary depending on the actual application scenario.

[0064] S102. Determine the target transmission strategy based on the current power status of the passive IoT terminal and the preset strategy mapping relationship.

[0065] The preset strategy mapping relationship includes data transmission strategies corresponding to different power states, and the target transmission strategy is any of the following: complete data upload, partial data upload, or stop uploading.

[0066] After obtaining the current power status of the passive IoT terminal, the target transmission strategy of the passive IoT terminal can be further determined according to the preset strategy mapping relationship. The target transmission strategy can indicate the data transmission method of the passive IoT terminal under the current power status.

[0067] Understandably, the target transmission strategy may differ depending on the current battery status. This target transmission strategy can be any of the following: complete data upload, partial data upload, or stop upload. Specifically, complete data upload instructs the passive IoT terminal to send the entire data to be transmitted to the target device; partial data upload instructs the passive IoT terminal to send only a portion of the characteristic parameters of the data to be transmitted to the target device; and stop upload instructs the passive IoT terminal to stop sending the data to be transmitted to the target device.

[0068] S103. Based on the target transmission strategy, send the first target data to the target device.

[0069] Based on the above description, after determining the target transmission strategy, the passive IoT terminal can send the first target data to the target device. Optionally, the first target data may include various types of data collected by the acquisition unit in the passive IoT terminal, such as temperature parameters, humidity parameters, noise parameters, voltage parameters, current parameters, vibration parameters, etc. There are no limitations here, and they may vary depending on the actual application scenario.

[0070] It should be noted that, for the target device, after obtaining the first target data, it can perform statistical analysis of abnormal data, or display visualized data charts and data tables, or generate control commands for other control devices based on the first target data. The subsequent processing is not limited here and may vary depending on the actual application scenario.

[0071] By applying the embodiments of this application, it is possible to determine the current target transmission strategy based on the current power status of the passive IoT terminal. Then, when sending the first target data to the target device based on the target transmission strategy, the more important first target data can be sent first according to the current power status, reducing the probability of transmission interruption due to insufficient power during transmission and improving the reliability of the passive IoT terminal.

[0072] In summary, this application provides a data transmission method based on passive IoT, which can be applied to passive IoT terminals. The method includes: obtaining the current battery status of the passive IoT terminal; determining a target transmission strategy based on the current battery status of the passive IoT terminal and a preset strategy mapping relationship, wherein the preset strategy mapping relationship includes data transmission strategies corresponding to different battery statuses, and the target transmission strategy is any of the following: complete data upload, partial data upload, or no upload; and sending first target data to a target device based on the target transmission strategy. This method enables the determination of the corresponding target transmission strategy based on the current battery status of the passive IoT terminal. Furthermore, when sending the first target data to the target device based on this target transmission strategy, more important first target data can be prioritized based on the current battery status, reducing the probability of transmission interruptions due to insufficient power during transmission and improving the reliability of the passive IoT terminal.

[0073] Figure 2 This is a flowchart illustrating another data transmission method based on passive Internet of Things (IoT) provided in an embodiment of this application. Optionally, as... Figure 2As shown, the target transmission strategy is determined based on the current power status of the passive IoT terminal and the preset strategy mapping relationship, including:

[0074] S201. Based on the preset strategy mapping relationship, if it is determined that the current power status of the passive IoT terminal meets the first preset power requirement, then the target transmission strategy is determined to be complete data upload.

[0075] S202. If it is determined that the current power status of the passive IoT terminal meets the second preset power requirement, then the target transmission strategy is determined to be partial data upload.

[0076] S203. If it is determined that the current power status of the passive IoT terminal meets the third preset power requirement, then the target transmission strategy is to stop uploading.

[0077] In some embodiments, the first preset power requirement indicates a power level greater than or equal to 80%, the second preset power requirement indicates a power level greater than or equal to 20% and less than 80%, and the third preset power requirement indicates a power level less than 20%. Of course, it should be noted that, depending on the actual application scenario, each preset power requirement may indicate a different power level.

[0078] Specifically, the determination process can begin by checking if the current battery status of the passive IoT terminal meets a first preset battery requirement. If it does, the target transmission strategy is set to full data upload. Otherwise, it can proceed to check if the current battery status meets a second preset battery requirement. If it does, the target transmission strategy is set to partial data upload. If it still does not meet the requirement, the target transmission strategy is set to stop uploading. It should be noted that the specific order of determination is not limited to this and can be flexibly set according to the actual application scenario.

[0079] It should be noted that, in the actual implementation process, one of the above steps S201 to S203 should be performed.

[0080] Optionally, if the target transmission strategy is partial data upload, the above-mentioned sending of the first target data to the target device based on the target transmission strategy includes:

[0081] Based on the first preset observation window, the first observation parameter corresponding to the first target data in the first preset observation window is sent to the target device.

[0082] The first observation parameters include the mean and / or variance, and the observation time of the first preset observation window is determined based on a first timing time or a first count value. Optionally, the first timing time can be 1 minute, 3 minutes, etc., and the first count value can be 20, 50, 100, etc., without limitation. In some embodiments, the first timing time can be set by a timer, and the second timing time can be set by a counter.

[0083] Of course, it should be noted that the values ​​of the first timing period and the first count value can be flexibly adjusted according to the actual application scenario. Taking the first timing period as an example, for instance, the first timing period is set to 1 minute in the first time period; in the second time period, the first timing period can be set to 5 minutes. Currently, the specific setting method is not limited to this. In addition, the adjustment of the first timing period and the first count value can be obtained locally through a passive IoT terminal, or it can be achieved remotely through the target device, which is not limited here.

[0084] As can be seen from the above description, during actual transmission, based on the first preset observation window, the passive IoT terminal can locally calculate the first observation parameter corresponding to the first target data within the first preset observation window. This first observation parameter, as an observation parameter describing the first target data, has a smaller data volume compared to the data volume of the first target data. Therefore, compared to directly sending the first target data to the target device, sending the first observation parameter to the target device can effectively reduce the amount of data transmitted. This allows for full utilization of the passive IoT terminal's current battery level, extending the operating time of the passive IoT terminal to a certain extent. It avoids drastically shortening the operating time of the passive IoT terminal due to frequent transmission of excessively large amounts of data, thus improving the reliability of the passive IoT terminal.

[0085] For example, suppose a passive IoT terminal in a certain application scenario integrates k data acquisition units, where the kth data acquisition unit is denoted as Node_k. If in the first timing time T... j Within the corresponding first preset observation window, the passive IoT terminal received a total of N temperature data points from the acquisition unit Node_k: in, Let represent the i-th temperature data collected by the k-th acquisition unit Node_k; then, the N temperature data sequences accumulated by Node_k within the first preset observation window can be denoted as T_data_Tj. It can be understood that, based on this temperature data sequence T_data_Tj, the mean value of the temperature data of Node_k within the current first preset observation window can be calculated. and / or variance Based on the above explanation, the passive IoT terminal can then calculate the average temperature data of Node_k within the current first preset observation window. and / or variance Send to the target device.

[0086] Of course, it should be noted that for passive IoT terminals, if the aforementioned timing function is implemented through a timer, and the calculated temperature data sequence T_data_Tj is pre-stored through a data storage unit, optionally, after each time the passive IoT terminal sends the first target data to the target device, it can reset the timer and data storage unit so that it can restart timing and re-store data within the next first preset observation window. It should also be noted that the specific implementation method is not limited to this and can be flexibly configured according to the actual application scenario.

[0087] Optionally, if the target transmission strategy is partial data upload, the above-mentioned sending of the first target data to the target device based on the target transmission strategy includes:

[0088] Based on the second preset observation window, the initial observation parameters corresponding to the first target data and the observation increment parameters of the second observation parameters corresponding to the first target data in the second preset observation window relative to the initial observation parameters are sent to the target device, so that the target device can calculate the second observation parameters based on the initial observation parameters and each observation increment parameter.

[0089] The initial observation parameters are the observation data corresponding to the initial observation time. The initial observation parameters and the second observation parameters include the mean and / or variance. The observation increment parameters include the mean increment and / or variance increment. The observation time of the second preset observation window is determined according to the second timing time or the second count value.

[0090] Optionally, in conjunction with the setting of the second timing time or the second count value, the aforementioned initial observation time can be a first timing period or a first count period determined based on the second timing time or the second count value after the passive IoT terminal is started.

[0091] Furthermore, the settings for the second timing period and the second count value can be found in the relevant content regarding the first timing period and the first count value described above, and will not be repeated here. Of course, in some embodiments, the second timing period may be the same as the first timing period, and the second count value may be the same as the first count value; this is not a limitation.

[0092] Understandably, depending on the actual application scenario, the category of the observation increment parameter can be determined by the categories of parameters in the initial and second observation parameters. For example, if both the initial and second observation parameters include the mean and variance, then the observation increment parameter will correspondingly include the mean increment and the variance increment; or, if the initial and second observation parameters only include the mean, then the observation increment parameter will only include the mean increment.

[0093] Based on the above description, after the passive IoT terminal obtains the initial observation parameters and at least one second observation parameter based on the second preset observation window, it can calculate the observation increment parameters of each second observation parameter relative to the initial observation parameters. After obtaining each observation increment parameter, it can send the initial observation parameters and each observation increment parameter to the target device. For the target device, it can then further calculate the second observation parameters corresponding to each observation increment parameter based on the initial observation parameters and each observation increment parameter.

[0094] In summary, each observation increment parameter, as an increment parameter describing the second observation parameter corresponding to the first target data relative to the initial observation parameter, has the characteristic of smaller data volume compared to the data volume of each second observation parameter. For example, if a second observation parameter changes compared to the initial observation parameter, the corresponding change can be used as the observation increment parameter corresponding to the second observation parameter; otherwise, if there is no change, the observation increment parameter corresponding to the second observation parameter can be recorded as 0. Therefore, compared to the above embodiment that sends the first observation parameter corresponding to the first target data within the first preset observation window to the target device based on the first preset observation window, the embodiment of this application can further reduce data transmission and bandwidth consumption. In particular, when the current battery power of the passive IoT terminal is low, the current battery power of the passive IoT terminal can be fully utilized, reducing the probability of transmission interruption due to insufficient power during transmission, and further improving the reliability of the passive IoT terminal.

[0095] Figure 3 This is a flowchart illustrating another data transmission method based on passive Internet of Things (IoT) provided in an embodiment of this application. Optionally, as... Figure 3 As shown, the above-mentioned initial observation parameters corresponding to the first target data sent to the target device based on the second preset observation window, and the observation increment parameters of the second observation parameters relative to the initial observation parameters within the second preset observation window, include:

[0096] S301. Based on the second preset observation window, send the initial observation parameters corresponding to the first target data to the target device.

[0097] The initial observation parameters corresponding to the first target data can be found in the relevant content of the foregoing embodiments, and will not be repeated here. In some embodiments, after obtaining the initial observation parameters corresponding to the first target data, the passive IoT terminal may preferentially send them to the target device.

[0098] S302. Based on a preset observation length, obtain an observation increment sequence and send the observation increment sequence to the target device so that the target device can calculate each second observation parameter according to the observation increment sequence and the initial observation parameters. The observation increment sequence includes a preset observation length of observation increment parameters.

[0099] Each observation increment parameter is obtained by calculating the increment of the second observation parameter corresponding to the first target data in each second preset observation window relative to the initial observation parameter.

[0100] In some embodiments, the preset observation length can be any value such as 10, 15, or 20, and is not limited here. It can be flexibly set according to the actual application scenario. As can be seen from the above description, after obtaining the preset observation length of observation increment parameters each time, the preset observation length of observation increment parameters can be stored sequentially in the observation increment sequence, and the observation increment sequence can be sent to the target device.

[0101] Compared to the above embodiment of "sending the observation increment parameters of the second observation parameters corresponding to the first target data in the second preset observation window relative to the initial observation parameters to the target device based on the second preset observation window", the embodiment of this application can store the preset observation length of observation increment parameters in sequence in the observation increment sequence, realizing a data transmission method that can send multiple observation increment parameters to the target device simultaneously through the observation increment sequence. Therefore, it can effectively reduce the number of data transmissions, further reduce bandwidth consumption, and achieve the goal of making full use of the current power of the passive IoT terminal, thereby further improving the reliability of the passive IoT terminal.

[0102] For example, to further illustrate the above example, let's take a passive IoT terminal integrating k acquisition units in a certain application scenario, where the kth acquisition unit is denoted as Node_k. Here, if the timing period corresponding to the second preset observation window is the second timing time T... h Then for the d-th timing period T j+d Then the d-th timing period T can be calculated. j+d The average of the temperature data collected by the kth acquisition unit Node_k and / or variance By analogy, the mean and variance corresponding to multiple timing periods can be obtained; based on the obtained mean and / or variance, the mean increment corresponding to adjacent timing periods can be calculated. and / or variance increment in, This represents the mean increment of the (m+1)th timing cycle relative to the mth timing cycle. This represents the variance increment of the (m+1)th timing cycle relative to the mth timing cycle.

[0103] Based on this explanation, a continuous set of R mean increments and / or variance increments with a preset observation length can be obtained. These R consecutive mean increments with a preset observation length can be stored in a mean increment sequence, where the mean increment sequence ΔT_k_Avg can be represented as... Multiple consecutive variance increments can be stored in a variance increment sequence, where the variance increment sequence ΔT_k_var can be represented as... At this point, the mean increment sequence ΔT_k_Avg and / or variance increment sequence ΔT_k_var can be sent to the target device.

[0104] Based on the above embodiments, it should also be noted that if the target transmission strategy is complete data upload, then after acquiring the first target data, the first target data can be sent to the target device in a timely manner. Optionally, this sending method can be real-time sending or sending according to a preset sending frequency, which can be flexibly set according to the actual application scenario. It is understood that when using this target transmission strategy for data transmission, data integrity can be guaranteed, making the passive IoT terminal suitable for application scenarios with high requirements for data integrity. Referring to the above example, that is, during transmission, all temperature data acquired by the passive IoT terminal can be sent to the target device periodically or according to a preset sending frequency.

[0105] Furthermore, if the target transmission strategy is to stop uploading, then data transmission to the target device can be stopped. It should be noted that during the process of stopping uploading, the sampling unit in the passive IoT terminal can still be set to collect data normally and store the collected data. In this way, the loss of important sampling data during the data collection process can be avoided. Furthermore, if the current power status of the passive IoT terminal is detected to be sufficient for data transmission, then the previously stored data can be transmitted in a timely manner, which can improve the flexibility of the method of this application.

[0106] Figure 4 This is a flowchart illustrating another data transmission method based on passive Internet of Things (IoT) provided in an embodiment of this application. Optionally, as... Figure 4 As shown, the above-mentioned sending of first target data to the target device based on the target transmission strategy includes:

[0107] S401, Calculate the amount of data obtained for the first target data.

[0108] S402. If it is determined that the size of the first target data meets the preset requirements, then the first target data is sent to the target device based on the target transmission strategy.

[0109] In some embodiments, the amount of first target data acquired can be statistically analyzed in real time, and the decision on whether to send the first target data to the target device can be made based on this amount. Optionally, if the amount of first target data is determined to be greater than a preset data volume threshold, it can be considered that the current amount of first target data is large. In this case, the first target data can be sent to the target device based on the target transmission strategy described above. Conversely, if the amount of first target data is determined to be less than the preset data volume threshold, it can be considered that the current amount of first target data is small. In this case, in order to save power of the passive IoT terminal by reducing the number of interactions between the passive IoT terminal and the target device, data transmission to the target device can be temporarily suspended. By applying the embodiments of this application, the number of data transmissions of the passive IoT terminal can be reduced to a certain extent, the probability of transmission interruption due to insufficient power during transmission can be reduced, and the reliability of the passive IoT terminal can be improved.

[0110] Figure 5 This is a flowchart illustrating another data transmission method based on passive Internet of Things (IoT) provided in an embodiment of this application. Optionally, as... Figure 5 As shown, the above method also includes:

[0111] S501. Obtain a first transmission instruction. The first transmission instruction is generated by the target device and sent to the passive IoT terminal, or it is generated by an external device that is communicatively connected to the passive IoT terminal and sent to the passive IoT terminal.

[0112] Optionally, the external device that communicates with the passive IoT terminal can be a mobile terminal, an industrial computer, or an external input device (such as a keyboard, mouse, etc.), and there are no restrictions on this.

[0113] Based on the above explanation, it can be seen that the first transmission command can be generated remotely, for example, through a remote target device (such as a base station or server), or it can be generated locally, for example, through physical buttons in the passive IoT terminal itself.

[0114] S502. According to the first transmission instruction, send the second target data to the target device.

[0115] Upon receiving the first transmission instruction, the second target data can be sent to the target device. By applying the embodiments of this application, a passive IoT terminal can send the second target data to the target device based on a first transmission instruction generated in various ways, thus improving the applicability of the passive IoT terminal. In particular, when the first transmission instruction is generated by the target device, the target device can actively acquire the second target data at any time through the passive IoT terminal, offering operational flexibility. Furthermore, this acquisition method has low requirements for the computing power, battery status, and network resources of the passive IoT terminal, making it highly applicable.

[0116] Of course, it should be noted that the triggering method of the first transmission command is not limited to that shown above. In some embodiments, it can also be set to be triggered by a preset event. Optionally, the preset event can be that the data type of the acquired second target data (for example, including pressure data but excluding noise data) meets the preset data requirements, and the first transmission command is generated then. Of course, the specific triggering method is not limited to this.

[0117] In summary, the embodiments of this application can provide multiple options for data upload methods during the data transmission process of passive IoT terminals, thereby balancing the amount of data uploaded with power consumption, reducing the probability of transmission interruption due to insufficient power, and improving the reliability of passive IoT terminals.

[0118] Figure 6 This is a functional module diagram of a data transmission device based on passive Internet of Things (IoT) provided in an embodiment of this application. This device can be applied to passive IoT terminals. The basic principle and technical effects of this device are the same as those in the aforementioned corresponding method embodiments. For the sake of brevity, parts not mentioned in this embodiment can be referred to the corresponding content in the method embodiments. Figure 6 As shown, the data transmission device 100 includes:

[0119] The acquisition module 110 is used to acquire the current power status of the passive IoT terminal;

[0120] The determining module 120 is used to determine a target transmission strategy based on the current power status of the passive IoT terminal and a preset strategy mapping relationship. The preset strategy mapping relationship includes data transmission strategies corresponding to different power statuses. The target transmission strategy is any of the following transmission strategies: complete data upload, partial data upload, or stop uploading.

[0121] The sending module 130 is used to send first target data to the target device based on the target transmission strategy.

[0122] In an optional implementation, the determining module 120 is specifically used to: based on the preset strategy mapping relationship, if it is determined that the current power status of the passive IoT terminal meets the first preset power requirement, then determine that the target transmission strategy is complete data upload;

[0123] If it is determined that the current power status of the passive IoT terminal meets the second preset power requirement, then the target transmission strategy is determined to be partial data upload;

[0124] If it is determined that the current power status of the passive IoT terminal meets the third preset power requirement, then the target transmission strategy is determined to be to stop uploading.

[0125] In an optional implementation, if the target transmission strategy is partial data upload, the sending module 130 is specifically used to: send a first observation parameter corresponding to the first target data within the first preset observation window to the target device based on the first preset observation window. The first observation parameter includes: mean and / or variance. The observation time of the first preset observation window is determined according to a first timing time or a first count value.

[0126] In an optional implementation, if the target transmission strategy is partial data upload, the sending module 130 is specifically used to: send the initial observation parameters corresponding to the first target data and the observation increment parameters of the second observation parameters corresponding to the first target data in the second preset observation window to the target device based on the second preset observation window, so that the target device can calculate the second observation parameters according to the initial observation parameters and each of the observation increment parameters;

[0127] Wherein, the initial observation parameter is the observation data corresponding to the initial observation time, the initial observation parameter and the second observation parameter include: mean and / or variance, the observation increment parameter includes: mean increment and / or variance increment, and the observation time of the second preset observation window is determined according to the second timing time or the second count value.

[0128] In an optional implementation, the sending module 130 is specifically used for:

[0129] Based on the second preset observation window, the initial observation parameters corresponding to the first target data are sent to the target device;

[0130] Based on a preset observation length, an observation increment sequence is obtained and sent to the target device so that the target device can calculate each second observation parameter according to the observation increment sequence and the initial observation parameter. The observation increment sequence includes a preset observation length of observation increment parameters. Each observation increment parameter is obtained by calculating the increment value of the second observation parameter corresponding to the first target data in each second preset observation window relative to the initial observation parameter.

[0131] In an optional implementation, the sending module 130 is specifically used to: count the amount of data acquired from the first target data;

[0132] If it is determined that the size of the first target data meets the preset requirements, then the first target data is sent to the target device based on the target transmission strategy.

[0133] In an optional implementation, the sending module 130 is further configured to: acquire a first transmission instruction, wherein the first transmission instruction is generated by the target device and sent to the passive IoT terminal, or is generated by an external device communicatively connected to the passive IoT terminal and sent to the passive IoT terminal;

[0134] According to the first transmission instruction, the second target data is sent to the target device.

[0135] The above-described device is used to execute the method provided in the foregoing embodiments, and its implementation principle and technical effect are similar, so they will not be described again here.

[0136] These modules can be one or more integrated circuits configured to implement the above methods, such as one or more Application Specific Integrated Circuits (ASICs), one or more microprocessors, or one or more Field Programmable Gate Arrays (FPGAs). Alternatively, when a module is implemented using processing element scheduler code, the processing element can be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of calling program code. Furthermore, these modules can be integrated together as a system-on-a-chip (SOC).

[0137] Figure 7 This is a schematic diagram of an electronic device provided in an embodiment of this application. This electronic device can be integrated into the aforementioned data transmission device. Figure 7As shown, the electronic device may include a processor 210, a storage medium 220, and a bus 230. The storage medium 220 stores machine-readable instructions executable by the processor 210. When the electronic device is running, the processor 210 communicates with the storage medium 220 via the bus 230, and the processor 210 executes the machine-readable instructions to perform the steps of the above method embodiment. The specific implementation and technical effects are similar and will not be described in detail here.

[0138] Optionally, this application also provides a storage medium storing a computer program, which, when run by a processor, executes the steps of the above-described method embodiments. The specific implementation and technical effects are similar and will not be repeated here.

[0139] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

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

[0141] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or in a combination of hardware and software functional units.

[0142] The integrated units implemented as software functional units described above can be stored in a computer-readable storage medium. These software functional units, stored in a storage medium, include several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) or processor to execute some steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0143] It should be noted that, in this document, relational terms such as "first" and "second" are used merely to distinguish one entity or operation from another, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes the element.

[0144] The above are merely preferred embodiments of this application and are not intended to limit this application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application. It should be noted that similar reference numerals and letters in the following figures indicate similar items; therefore, once an item is defined in one figure, it does not need further definition and explanation in subsequent figures. The above are merely preferred embodiments of this application and are not intended to limit this application. Various modifications and variations are possible for those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.

Claims

1. A data transmission method based on passive Internet of Things, characterized in that, The method is applied to a passive Internet of Things terminal, and comprises the following steps: acquiring a current power state of the passive Internet of Things terminal; determining a target transmission strategy according to the current power state of the passive Internet of Things terminal and a preset strategy mapping relationship, wherein the preset strategy mapping relationship comprises data transmission strategies corresponding to different power states, and the target transmission strategy is any one of the following transmission strategies: complete data uploading, partial data uploading, and stopping uploading; sending first target data to a target device based on the target transmission strategy; the step of determining the target transmission strategy according to the current power state of the passive Internet of Things terminal and the preset strategy mapping relationship comprises the following steps: if it is determined that the current power state of the passive Internet of Things terminal meets a third preset power requirement, then the target transmission strategy is determined to be stopping uploading; if the target transmission strategy is partial data uploading, then the step of sending the first target data to the target device based on the target transmission strategy comprises the following steps: sending first observation parameters corresponding to the first target data within a first preset observation window to the target device based on the first preset observation window, wherein the first observation parameters comprise a mean value and / or a variance, and an observation time of the first preset observation window is determined according to a first timing time or a first count value.

2. The method of claim 1, wherein, the step of determining the target transmission strategy according to the current power state of the passive Internet of Things terminal and the preset strategy mapping relationship comprises the following steps: if it is determined that the current power state of the passive Internet of Things terminal meets a first preset power requirement based on the preset strategy mapping relationship, then the target transmission strategy is determined to be complete data uploading; if it is determined that the current power state of the passive Internet of Things terminal meets a second preset power requirement, then the target transmission strategy is determined to be partial data uploading.

3. The method of claim 1, wherein, if the target transmission strategy is partial data uploading, then the step of sending the first target data to the target device based on the target transmission strategy comprises the following steps: sending initial observation parameters corresponding to the first target data and observation increment parameters of second observation parameters corresponding to the first target data within a second preset observation window relative to the initial observation parameters to the target device based on the second preset observation window, so that the target device calculates the second observation parameters according to the initial observation parameters and the observation increment parameters; wherein the initial observation parameters are observation data corresponding to an initial observation time, the initial observation parameters and the second observation parameters comprise a mean value and / or a variance, the observation increment parameters comprise a mean value increment and / or a variance increment, and an observation time of the second preset observation window is determined according to a second timing time or a second count value.

4. The method of claim 3, wherein, the step of sending the initial observation parameters corresponding to the first target data and the observation increment parameters of the second observation parameters corresponding to the first target data within the second preset observation window relative to the initial observation parameters to the target device based on the second preset observation window comprises the following steps: sending the initial observation parameters corresponding to the first target data to the target device based on the second preset observation window; Based on the preset observation length, an observation increment sequence is obtained and sent to the target device, so that the target device calculates a second observation parameter according to the observation increment sequence and the initial observation parameter. The observation increment sequence includes a preset observation length of observation increment parameters. Each observation increment parameter is obtained by calculating the increment value of the second observation parameter corresponding to the first target data in each second preset observation window relative to the initial observation parameter.

5. The method of claim 1, wherein, The method further comprises: The method further comprises: The method further comprises:

6. The method according to any one of claims 1 to 5, characterized in that, The method further comprises: The method further comprises: The data transmission device applied to a passive Internet of Things terminal comprises:

7. A data transmission device based on passive Internet of Things, characterized in that, An acquisition module is configured to acquire a current power state of the passive Internet of Things terminal. A determination module is configured to determine a target transmission strategy according to the current power state of the passive Internet of Things terminal and a preset strategy mapping relationship. The preset strategy mapping relationship includes data transmission strategies corresponding to different power states. The target transmission strategy is any one of the following transmission strategies: complete data upload, partial data upload, and stop uploading. A sending module is configured to send first target data to a target device based on the target transmission strategy. The determination module is specifically configured to determine the target transmission strategy as stop uploading if it is determined that the current power state of the passive Internet of Things terminal meets a third preset power requirement. The sending module is specifically configured to send a first observation parameter corresponding to first target data in a first preset observation window to the target device based on the first preset observation window. The first observation parameter includes a mean value and / or a variance. An observation time of the first preset observation window is determined according to a first timing time or a first count value. The data transmission device applied to a passive Internet of Things terminal comprises:

8. An electronic device, comprising: A processor, a storage medium, and a bus. The storage medium stores machine-readable instructions executable by the processor. When the electronic device is running, the processor and the storage medium communicate through the bus. The processor executes the machine-readable instructions to perform the steps of the passive Internet of Things-based data transmission method according to any one of claims 1-6. The computer-readable storage medium stores a computer program. When the computer program is run by the processor, the steps of the passive Internet of Things-based data transmission method according to any one of claims 1-6 are performed.

9. A computer-readable storage medium, characterized in that, ​

Citation Information

Patent Citations

  • Data transmission method and device based on safety state of electric vehicle and electric vehicle

    CN111246380A