Method and device for controlling power consumption of LoRaWAN equipment and electronic equipment
By dynamically adjusting the data frame parameter set of LoRaWAN equipment based on device scenario information, the problem of large power consumption loss in the production environment of LoRaWAN equipment is solved, and the operation mode switching and power consumption control are realized.
Patent Information
- Application Number
- CN202411661130.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-19
- Publication Date
- 2025-02-28
AI Technical Summary
LoRaWAN equipment has a large power loss problem in the production environment, which has caused the equipment to be in a manually set high-power operation mode.
By generating pre-configuration information and post-configuration information based on device scene information, the data frame parameter set of LoRaWAN device is dynamically adjusted, including uplink frame type, uplink data transmission rate and data reception window to determine the operating mode of the device and the corresponding power consumption.
The switching of LoRaWAN equipment operation mode and power consumption control are realized, solving the problem of power loss caused by the equipment being in a high-power operation mode.
Smart Images

Figure CN119545496A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of Internet of Things device communication technology, and in particular to a method, device and electronic device for controlling power consumption of LoRaWAN devices. Background Art
[0002] With the development of Internet of Things technology, LoRa technology based on free radio frequency bands is widely used in smart agriculture, smart buildings, smart cities and other fields.
[0003] An important performance indicator of LoRaWAN devices is low power consumption and long standby time. In the prior art, when LoRaWAN devices are deployed in a corresponding production environment, their power consumption is fixed.
[0004] The solutions of the prior art lead to the problem of large power consumption loss in LoRaWAN devices. Summary of the invention
[0005] The embodiments of the present application provide a method, an apparatus and an electronic device for controlling the power consumption of a LoRaWAN device, so as to solve the problem of large power consumption loss in the LoRaWAN device.
[0006] In a first aspect, an embodiment of the present application provides a method for controlling power consumption of a LoRaWAN device, comprising: generating pre-configuration information according to device scenario information, the device scenario information representing scenario characteristics of a scenario in which the LoRaWAN device is installed, and the pre-configuration information representing configuration characteristics for configuring a first type of data frame parameter set of the LoRaWAN device under the scenario characteristics; generating post-configuration information according to the pre-configuration information, the post-configuration information representing configuration characteristics for configuring a second type of data frame parameter set determined based on the configuration characteristics for configuring the first type of data frame parameter set; configuring the LoRaWAN device according to the pre-configuration information and the post-configuration information to determine an operating mode and corresponding power consumption of the LoRaWAN device.
[0007] In a possible implementation manner, the first type of data frame parameter set includes an uplink frame type and an uplink data transmission rate, and the second type of data frame parameter set includes a data receiving window.
[0008] In a possible implementation, the device scenario information includes static scenario information, and the pre-configuration information includes first pre-configuration information; generating the pre-configuration information based on the device scenario information includes: generating the first pre-configuration information based on the static scenario information, the first pre-configuration information including first uplink frame type configuration information and first data rate configuration information, the first uplink frame type configuration information is used to indicate that the uplink frame type is configured as a non-confirmed uplink data frame, and the first data rate configuration information is used to indicate that the uplink data transmission rate is configured as a preset mode transmission rate.
[0009] In a possible implementation, the post-configuration information includes first post-configuration information; generating the post-configuration information according to the pre-configuration information includes: generating the first post-configuration information according to the first pre-configuration information and first confirmation mode configuration information, the first confirmation mode configuration information is used to indicate that the confirmation mode of the LoRaWAN device is in a closed state, and the first post-configuration information is used to indicate that the data receiving window is configured to be in a closed state.
[0010] In a possible implementation, the device scenario information includes dynamic scenario information, and the pre-configuration information includes second pre-configuration information; generating the pre-configuration information based on the device scenario information includes: generating the second pre-configuration information based on the dynamic scenario information, the second pre-configuration information including second uplink frame type configuration information and / or second data rate configuration information, the second uplink frame type configuration information is used to indicate that the uplink frame type is configured as a confirmed uplink data frame, and the second data rate configuration information is used to indicate that the uplink data transmission rate is configured as an automatic mode transmission rate.
[0011] In a possible implementation, the post-configuration information includes second post-configuration information; generating the post-configuration information according to the pre-configuration information includes: generating the second post-configuration information according to the second pre-configuration information and / or second confirmation mode configuration information, the second confirmation mode configuration information is used to indicate that the confirmation mode of the LoRaWAN device is in the on state, and the second post-configuration information is used to indicate that the data receiving window is configured to be in the on state.
[0012] In a possible implementation, generating pre-configuration information according to device scenario information includes: acquiring device hardware information, the device hardware information representing a power supply mode for powering the LoRaWAN device; generating a first configuration instruction or a second configuration instruction according to the device hardware information and the device scenario information, the first configuration instruction being used to instruct the LoRaWAN device to be configured as a first power consumption state, the second configuration instruction being used to instruct the LoRaWAN device to be configured as a second power consumption state, the power consumption value corresponding to the first power consumption state being less than the power consumption value corresponding to the second power consumption state; generating first pre-configuration information according to the first configuration instruction; or generating second pre-configuration information according to the second configuration instruction.
[0013] In a possible implementation, configuring the LoRaWAN device according to the pre-configuration information and the post-configuration information includes: obtaining application object information, the application object information characterizing object characteristics of the application object facing the LoRaWAN device; obtaining channel mode information according to the application object information, the channel mode information being used to indicate a network access method adopted by the LoRaWAN device under the object characteristics of the application object; configuring the LoRaWAN device according to the pre-configuration information, the post-configuration information and the channel mode information.
[0014] In a second aspect, an embodiment of the present application provides a device for controlling power consumption of a LoRaWAN device, including:
[0015] A first generating module is used to generate pre-configuration information according to device scenario information, wherein the device scenario information represents a scenario feature of a scenario in which a LoRaWAN device is installed, and the pre-configuration information represents a configuration feature for configuring a first type of data frame parameter set of the LoRaWAN device under the scenario feature;
[0016] A second generating module is used to generate post-configuration information according to the pre-configuration information, wherein the post-configuration information represents a configuration feature for configuring a second type of data frame parameter set determined based on a configuration feature for configuring the first type of data frame parameter set;
[0017] A configuration module is used to configure the LoRaWAN device according to the pre-configuration information and the post-configuration information to determine the operation mode and corresponding power consumption of the LoRaWAN device.
[0018] In a possible implementation manner, the first type of data frame parameter set includes an uplink frame type and an uplink data transmission rate, and the second type of data frame parameter set includes a data receiving window.
[0019] In a possible implementation, the device scenario information includes static scenario information, and the pre-configuration information includes first pre-configuration information; when the first generation module generates the pre-configuration information according to the device scenario information, it is specifically used to: generate the first pre-configuration information according to the static scenario information, the first pre-configuration information including first uplink frame type configuration information and first data rate configuration information, the first uplink frame type configuration information is used to indicate that the uplink frame type is configured as a non-confirmed uplink data frame, and the first data rate configuration information is used to indicate that the uplink data transmission rate is configured as a preset mode transmission rate.
[0020] In a possible implementation, the post-configuration information includes first post-configuration information; when the second generation module generates the post-configuration information according to the pre-configuration information, it is specifically used to: generate the first post-configuration information according to the first pre-configuration information and the first confirmation mode configuration information, the first confirmation mode configuration information is used to indicate that the confirmation mode of the LoRaWAN device is in a closed state, and the first post-configuration information is used to indicate that the data receiving window is configured to be in a closed state.
[0021] In a possible implementation, the device scenario information includes dynamic scenario information, and the pre-configuration information includes second pre-configuration information; when the first generation module generates the pre-configuration information according to the device scenario information, it is specifically used to: generate the second pre-configuration information according to the dynamic scenario information, the second pre-configuration information includes second uplink frame type configuration information and / or second data rate configuration information, the second uplink frame type configuration information is used to indicate that the uplink frame type is configured as a confirmed uplink data frame, and the second data rate configuration information is used to indicate that the uplink data transmission rate is configured as an automatic mode transmission rate.
[0022] In a possible implementation, the post-configuration information includes second post-configuration information; when the second generation module generates the post-configuration information according to the pre-configuration information, it is specifically used to: generate the second post-configuration information according to the second pre-configuration information and / or the second confirmation mode configuration information, the second confirmation mode configuration information is used to indicate that the confirmation mode of the LoRaWAN device is in the on state, and the second post-configuration information is used to indicate that the data receiving window is configured to be in the on state.
[0023] In a possible implementation, when the first generating module generates the pre-configuration information according to the device scenario information, it is specifically used to: obtain device hardware information, the device hardware information characterizing a power supply mode for powering the LoRaWAN device; generate a first configuration instruction or a second configuration instruction according to the device hardware information and the device scenario information, the first configuration instruction being used to instruct that the LoRaWAN device be configured as a first power consumption state, the second configuration instruction being used to instruct that the LoRaWAN device be configured as a second power consumption state, the power consumption value corresponding to the first power consumption state being less than the power consumption value corresponding to the second power consumption state; generate the first pre-configuration information according to the first configuration instruction; or generate the second pre-configuration information according to the second configuration instruction.
[0024] In a possible implementation, when the configuration module configures the LoRaWAN device according to the pre-configuration information and the post-configuration information, it is specifically used to: obtain application object information, the application object information characterizing the object characteristics of the application object facing the LoRaWAN device; obtain channel mode information according to the application object information, the channel mode information is used to indicate the network access method adopted by the LoRaWAN device under the object characteristics of the application object; configure the LoRaWAN device according to the pre-configuration information, the post-configuration information and the channel mode information.
[0025] In a third aspect, an embodiment of the present application provides an electronic device, including: a memory, a processor;
[0026] The memory stores computer-executable instructions;
[0027] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the above first aspect and / or various possible implementations of the first aspect.
[0028] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer-executable instructions are stored. When the computer-executable instructions are executed by a processor, they are used to implement the first aspect above and / or various possible implementations of the first aspect.
[0029] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the above first aspect and / or various possible implementation methods of the first aspect.
[0030] The method, apparatus and electronic device for controlling power consumption of a LoRaWAN device provided in the embodiments of the present application generate pre-configuration information according to device scenario information, wherein the device scenario information represents scenario characteristics of a scenario in which the LoRaWAN device is installed, and the pre-configuration information represents configuration characteristics for configuring a first type of data frame parameter set of the LoRaWAN device under the scenario characteristics; generate post-configuration information according to the pre-configuration information, wherein the post-configuration information represents configuration characteristics for configuring a second type of data frame parameter set determined based on the configuration characteristics for configuring the first type of data frame parameter set; and configure the LoRaWAN device according to the pre-configuration information and the post-configuration information to determine an operation mode and corresponding power consumption of the LoRaWAN device. By generating pre-configuration information matching the scenario characteristics according to the scenario characteristics of the LoRaWAN device, and then generating corresponding post-configuration information based on the generated pre-configuration information, the first-category data frame parameter set and the second-category data frame parameter set of the LoRaWAN device are configured. When the scenario characteristics of the scenario in which the LoRaWAN device is installed change, the pre-configuration information and the post-configuration information change accordingly, and the LoRaWAN device is reconfigured, that is, the switching of the LoRaWAN device operation mode and the control of power consumption are realized, which solves the problem of large power consumption loss caused by the LoRaWAN device being in an artificially set high-power consumption operation mode. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0032] Figure 1 A schematic diagram of a scenario for controlling power consumption of a LoRaWAN device provided in this application;
[0033] Figure 2 A flowchart of a method for controlling power consumption of a LoRaWAN device provided by an embodiment of the present application;
[0034] Figure 3 for Figure 2 A schematic diagram of specific implementation steps of step S101 in the illustrated embodiment;
[0035] Figure 4 A schematic diagram of a process for generating pre-configuration information and post-configuration information provided by the present application;
[0036] Figure 5 A schematic diagram of controlling the operation mode switching of a LoRaWAN device provided by the present application;
[0037] Figure 6 A flowchart of a method for controlling power consumption of a LoRaWAN device provided in another embodiment of the present application;
[0038] Figure 7 A schematic diagram of the structure of a device for controlling power consumption of a LoRaWAN device provided by one embodiment of the present application;
[0039] Figure 8 A schematic diagram of the structure of the electronic device provided in this application.
[0040] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0041] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are merely examples of devices and methods consistent with some aspects of the present application as detailed in the appended claims.
[0042] In the technical solution of this application, the user personal information involved and the collection, storage, use, processing, transmission, provision and disclosure of data are in compliance with the relevant laws and regulations and do not violate public order and good morals.
[0043] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0044] First, the terms involved in this application are explained:
[0045] LoRaWAN device: refers to the IoT terminal device that uses LoRa technology;
[0046] Uplink frame type: refers to the type of data frame sent by the LoRaWAN device to the gateway (server). The uplink frame types include unconfirmed uplink data frames and confirmed uplink data frames. Unconfirmed uplink data frames are more power-efficient than confirmed uplink data frames, that is, they save power consumption.
[0047] Unconfirmed uplink data frame: refers to the type of data frame that does not require the gateway (server) to respond to the LoRaWAN device;
[0048] Confirmation of uplink data frame: refers to the type of data frame that requires the gateway (server) to respond to the LoRaWAN device;
[0049] Confirmation mode: used to confirm whether the LoRaWAN device has successfully received the downlink message from the gateway (server). The confirmation mode includes an off state and an on state. When the confirmation mode is off, it is not necessary to confirm whether the LoRaWAN device has successfully received the downlink message from the gateway (server). When the confirmation mode is on, it is necessary to confirm whether the LoRaWAN device has successfully received the downlink message from the gateway (server). The off state saves more power than the on state, that is, it saves power consumption.
[0050] Accept window: used to enable the LoRaWAN device to receive downlink messages from the network server after sending data frames (uplink messages). The accept window includes a closed state and an open state. When the accept window is in the closed state, the LoRaWAN device does not need to receive downlink messages from the network server after sending data frames (uplink messages). When the accept window is in the open state, the LoRaWAN device needs to receive downlink messages from the network server after sending data frames (uplink messages). The closed state saves more power than the open state, that is, saves power consumption.
[0051] The application scenarios of the embodiments of the present application are explained below:
[0052] Figure 1 A schematic diagram of a scenario for controlling the power consumption of a LoRaWAN device provided in this application, such as Figure 1 As shown, the specific application scenario of the present application is the scenario in which the LoRaWAN device is running. After the user installs the LoRaWAN device in the corresponding production environment, due to the complexity and variability of the environmental characteristics of the production environment, the operating mode of the manually set LoRaWAN device needs to meet each environmental characteristic that may appear in the production environment, thereby obtaining the environmental data of the production environment through the LoRaWAN device and uploading it to the server.
[0053] In combination with the above scenarios, it can be seen that in the prior art, the operating mode of the LoRaWAN device is determined based on all possible environmental characteristics. However, for the environmental characteristics of the actual production environment, it is not necessary for the LoRaWAN device to always be in an artificially set high-power consumption operating mode. That is, the solution of the prior art has the problem of large power consumption loss of the LoRaWAN device.
[0054] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0055] Figure 2 A flowchart of a method for controlling power consumption of a LoRaWAN device provided by an embodiment of the present application is as follows: Figure 2 As shown, the execution subject of the LoRaWAN device power consumption method provided in this embodiment may be an electronic control unit, an electronic device or a terminal device (LoRaWAN device). By way of example, this embodiment uses an electronic control unit as the execution subject of the method of this embodiment for illustration. The LoRaWAN device power consumption method provided in this embodiment includes the following steps:
[0056] Step S101, generating pre-configuration information according to device scenario information, wherein the device scenario information represents scenario characteristics of the scenario in which the LoRaWAN device is installed, and the pre-configuration information represents configuration characteristics for configuring the first type of data frame parameter set of the LoRaWAN device under the scenario characteristics.
[0057] Exemplarily, the device scenario information is used to indicate the scenario characteristics of the installation scenario of the LoRaWAN device, and the electronic control unit automatically matches or switches the corresponding configuration information according to the scenario characteristics of the installation scenario of the LoRaWAN device; the pre-configuration information is used to indicate the configuration characteristics of configuring the first type of data frame parameter set of the LoRaWAN device under the scenario characteristics of different installation scenarios; further, the electronic control unit matches the corresponding pre-configuration information according to the device scenario information of the LoRaWAN device, so as to configure the first type of data frame parameter set of the LoRaWAN device, and the installation scenario corresponds to Figure 1 The production environment in the scenario shown, the scenario characteristics correspond to Figure 1 Environmental features in the scene shown.
[0058] In one possible implementation, the first type of data frame parameter set includes an uplink frame type and an uplink data transmission rate, that is, the uplink frame type and the uplink data transmission rate of the LoRaWAN device are configured according to the device scenario information.
[0059] Specifically, the pre-configuration information includes first pre-configuration information and second pre-configuration information. Figure 3 for Figure 2 The schematic diagram of the specific implementation steps of step S101 in the embodiment shown is as follows: Figure 3 As shown, the specific implementation steps of step S101 include:
[0060] Step S1011, obtaining device scene information.
[0061] Step S1012, determine whether the device scene information is static scene information or dynamic scene information.
[0062] Step S1013, if the device scene information is static scene information, generate first pre-configuration information according to the static scene information, the first pre-configuration information includes first uplink frame type configuration information and first data rate configuration information, the first uplink frame type configuration information is used to indicate that the uplink frame type is configured as a non-confirmed uplink data frame, and the first data rate configuration information is used to indicate that the uplink data transmission rate is configured as a preset mode transmission rate.
[0063] Step S1014, if the device scene information is dynamic scene information, generate second pre-configuration information according to the dynamic scene information, the second pre-configuration information includes second uplink frame type configuration information and / or second data rate configuration information, the second uplink frame type configuration information is used to indicate that the uplink frame type is configured as a confirmed uplink data frame, and the second data rate configuration information is used to indicate that the uplink data transmission rate is configured as an automatic mode transmission rate.
[0064] Exemplarily, after the user installs the LoRaWAN device in the corresponding installation scene, the electronic control unit determines whether the device scene information corresponding to the installation scene of the LoRaWAN device is static scene information or dynamic scene information according to the scene characteristics of the installation scene of the LoRaWAN device, wherein the scene characteristic corresponding to the static scene information is that there is no relative motion between the LoRaWAN device and the object on which it is installed. For example, in a dairy farm in the field of smart animal husbandry, the LoRaWAN device is fixedly installed on the building of the dairy farm (for example, on the wall or on the beam) to collect relevant data of the dairy farm, or the scene characteristic corresponding to the static scene information is that the object on which the LoRaWAN device is installed is a moving object, but the motion range of the moving object is within a preset area. For example, a LoRaWAN device is worn on a cow, and the cow's activity area is within the scope of the dairy farm. The dairy farm is the preset area, so the device scene information is static scene information, or a LoRaWAN device is installed on an unmanned express delivery vehicle. When the unmanned express delivery vehicle is loading goods at the express station, the area of the express station is the preset area, so the device scene information is static scene information; the scene feature corresponding to the dynamic scene information is that the object on which the LoRaWAN device is installed is a moving object, and the moving range of the moving object is not fixed. For example, a LoRaWAN device is installed on an unmanned express delivery vehicle. When the unmanned express delivery vehicle delivers goods outside the express station, the area outside the express station is a non-fixed moving range, so the device scene information is dynamic scene information.
[0065] Further, when the electronic control unit determines that the device scene information of the LoRaWAN device is static scene information, it generates corresponding first pre-configuration information according to the scene characteristics corresponding to the static scene information, and the first pre-configuration information includes first uplink frame type configuration information and first data rate configuration information; specifically, the scene characteristics corresponding to the static scene information allow the LoRaWAN device to operate with low power consumption, and then, the uplink frame type can be configured as a non-confirmed uplink data frame, and the uplink data transmission rate can be configured as a preset mode transmission rate; that is, the electronic control unit generates the first uplink frame type configuration information (non-confirmed uplink data frame) and the first data rate configuration information according to the static scene information. A data rate configuration information (preset mode transmission rate) is provided to configure the uplink frame type of the LoRaWAN device according to the first uplink frame type configuration information, and to configure the uplink data transmission rate of the LoRaWAN device according to the first data rate configuration information, wherein the rate size of the preset mode transmission rate can be automatically matched according to the scene characteristics corresponding to the static scene, for example, according to the scene characteristics of the static scene, the data volume of the LoRaWAN device transmitting data is determined to be num_1, and the corresponding preset mode transmission rate is v_1, and if the data volume is num_2, the corresponding preset mode transmission rate is v_2.
[0066] Further, when the electronic control unit determines that the device scene information of the LoRaWAN device is dynamic scene information, the second pre-configuration information is generated according to the dynamic scene information, and the second pre-configuration information includes second uplink frame type configuration information and / or second data rate configuration information; specifically, the scene characteristics corresponding to the dynamic scene information require the LoRaWAN device to operate with high power consumption to ensure the stability and reliability of the LoRaWAN device transmitting data, and then, the uplink frame type is configured to confirm the uplink data frame, and / or the uplink data transmission rate is configured to the automatic mode transmission rate; that is, the electronic control unit generates the second uplink frame type configuration information (confirming the uplink data frame) and / or the second data rate configuration information (automatic mode transmission rate) according to the dynamic scene information, and then configures the uplink frame type of the LoRaWAN device according to the second uplink frame type configuration information and configures the uplink data transmission rate of the LoRaWAN device according to the second data rate configuration information, wherein, after the uplink data transmission rate of the LoRaWAN device is configured to the automatic mode transmission rate, the LoRaWAN device can adjust the transmission rate of the transmission data in real time according to the changes in the scene characteristics of the dynamic scene.
[0067] It can be understood that the preset mode transmission rate is more power-efficient than the automatic mode transmission rate, that is, it saves power consumption.
[0068] Furthermore, the second pre-configuration information includes second uplink frame type configuration information and first data rate configuration information, and the second pre-configuration information includes the first uplink frame type configuration information and the second data rate configuration information, that is, in addition to the method of configuring the uplink frame type and the uplink data transmission rate corresponding to the first pre-configuration information, other methods of configuring the uplink frame type and the uplink data transmission rate are the configuration methods corresponding to the second pre-configuration information.
[0069] Step S102: generating post-configuration information according to the pre-configuration information, wherein the post-configuration information represents configuration features for configuring the second type of data frame parameter set determined based on configuration features for configuring the first type of data frame parameter set.
[0070] Exemplarily, when configuring the operating mode of a LoRaWAN device, the data frame parameter set of the LoRaWAN device can be divided into at least two categories, and then when configuring the data frame parameter set, the correlation of the classified data frame parameter sets needs to be considered; specifically, for example, the data frame parameter sets of the LoRaWAN device are divided into two categories, and the configuration of the second type of data frame parameter set depends on the configuration of the first type of data frame parameter set, that is, based on the configuration features of the first type of data frame parameter set, the configuration features of the second type of data frame parameter set are determined, that is, according to the pre-configuration information, the post-configuration information is generated to realize the configuration of the second type of data frame parameter set of the LoRaWAN device.
[0071] In one possible implementation, the first type of data frame parameter set includes an uplink frame type and an uplink data transmission rate, and the second type of data frame parameter set includes a data receiving window, that is, the configuration features for configuring the data receiving window are determined based on the configuration features for configuring the uplink frame type and the uplink data transmission rate.
[0072] Exemplarily, the post-configuration information includes the first post-configuration information. If the pre-configuration information is the first pre-configuration information, the first post-configuration information is generated according to the first pre-configuration information and the first confirmation mode configuration information. The first confirmation mode configuration information is used to indicate that the confirmation mode of the LoRaWAN device is in the closed state. The first post-configuration information is used to indicate that the data receiving window is configured to be in the closed state. Specifically, the first confirmation mode configuration information indicates that the confirmation mode of the LoRaWAN device is in the closed state, that is, according to the first confirmation mode configuration information, the confirmation mode of the LoRaWAN device is configured to be in the closed state; further, based on the first post-configuration information and the first confirmation mode configuration information, the first post-configuration information is generated to realize the configuration of the data receiving window to be in the closed state.
[0073] The post-configuration information includes the second post-configuration information. If the pre-configuration information is the second pre-configuration information, the second post-configuration information is generated according to the second pre-configuration information and / or the second confirmation mode configuration information. The second confirmation mode configuration information is used to indicate that the confirmation mode of the LoRaWAN device is in the on state. The second post-configuration information is used to indicate that the data receiving window is configured to be in the on state. Specifically, the second confirmation mode configuration information indicates that the confirmation mode of the LoRaWAN device is in the on state, that is, according to the second confirmation mode configuration information, the confirmation mode of the LoRaWAN device is configured to be in the on state; further, based on the second post-configuration information and / or the second confirmation mode configuration information, the second post-configuration information is generated to realize the configuration of the data receiving window to be in the on state.
[0074] Further, it can be understood that based on the second post-configuration information and the first confirmation mode configuration information, the post-configuration information generated by the electronic control unit is the second post-configuration information, and based on the first post-configuration information and the second confirmation mode configuration information, the post-configuration information generated by the electronic control unit is the second post-configuration information.
[0075] Figure 4 A schematic diagram of a process for generating pre-configuration information and post-configuration information provided by this application, such as Figure 4 As shown, the pre-configuration information includes the first pre-configuration information and the second pre-configuration information, the post-configuration information includes the first post-configuration information and the second post-configuration information, and the confirmation mode of the LoRaWAN device corresponds to the first confirmation mode configuration information and the second confirmation mode configuration information; the first pre-configuration information is determined according to the first uplink frame type configuration information and the first data rate configuration information, the second pre-configuration information is determined according to the first uplink frame type configuration information and the second data rate configuration information, or the second pre-configuration information is determined according to the second uplink frame type configuration information and the first data rate configuration information, or the second pre-configuration information is determined according to the second uplink frame type configuration information and the first data rate configuration information; the first post-configuration information is generated according to the first pre-configuration information and the first confirmation mode configuration information, the second post-configuration information is generated according to the first pre-configuration information and the second confirmation mode configuration information, or the second pre-configuration information and the first confirmation mode configuration information generate the second post-configuration information, or the second pre-configuration information and the second confirmation mode configuration information generate the second post-configuration information.
[0076] Step S103, configuring the LoRaWAN device according to the pre-configuration information and the post-configuration information to determine the operation mode of the LoRaWAN device and the corresponding power consumption.
[0077] For example, after the electronic control unit generates the pre-configuration information and the post-configuration information, the LoRaWAN device can be configured according to the pre-configuration information and the post-configuration information, thereby realizing that the LoRaWAN device automatically configures the corresponding first-type data frame parameter set and the second-type data frame parameter set based on the scene characteristics of the scene in which it is installed. Specifically, for example, the pre-configuration information generated by the electronic control unit is the second pre-configuration information, and combined with the first confirmation mode configuration information, the post-configuration information generated by the electronic control unit is the second post-configuration information, then the uplink frame type of the LoRaWAN device is configured according to the first uplink frame type configuration information (non-confirmed uplink data frame), and the uplink data transmission rate of the LoRaWAN device is configured according to the first data rate configuration information (preset mode transmission rate), and further, combined with the confirmation mode of the LoRaWAN device being in the on state, the data receiving window of the LoRaWAN device is configured to be in the on state, and then when the confirmation mode of the LoRaWAN device is in the off state, the data receiving window of the LoRaWAN device is configured to be in the off state, that is, the switching of the operation mode of the LoRaWAN device is realized.
[0078] Furthermore, in a possible implementation, Figure 5 A schematic diagram of controlling the operation mode switching of a LoRaWAN device provided in this application, such as Figure 5As shown, the object object_1 installed on the LoRaWAN device is a moving object, such as an unmanned express delivery vehicle. The object object_1 travels between the region addr_1 and the region addr_2, and also moves inside the region addr_1 and the region addr_2. According to the scene characteristics of the region addr_1, the uplink frame type of the LoRaWAN device is a confirmed uplink data frame, and the receiving window is in an open state. According to the scene characteristics of the region addr_2, the uplink frame type of the LoRaWAN device is a non-confirmed uplink data frame, and the receiving window is in a closed state. Then the electronic control unit determines the corresponding scene characteristics according to whether the object object_1 is located in the region addr_1 or the region addr_2, and then realizes the control of the LoRaWAN device. Configuration, thereby realizing the control of the power consumption of the LoRaWAN device. Specifically, when the object object_1 is located in the area addr_1, the LoRaWAN device is configured according to the second pre-configuration information and the second post-configuration information. At this time, the LoRaWAN device is in a high-power consumption operation mode. When the object object_1 is located in the area addr_2, the LoRaWAN device is configured according to the first pre-configuration information and the first post-configuration information. At this time, the LoRaWAN device is in a low-power consumption operation mode, that is, the switching of the operation mode of the LoRaWAN device is realized, that is, the control of the power consumption of the LoRaWAN device is realized, and the problem of large power consumption loss caused by the LoRaWAN device being in an artificially set high-power consumption operation mode is solved.
[0079] In another possible implementation, the object object_2 installed by the LoRaWAN device is a fixed object, that is, its installation scene is fixed, but its scene characteristics are different based on different times, and then the electronic control unit generates corresponding pre-configuration information and post-configuration information according to the scene characteristics at different times to configure the LoRaWAN device; specifically, for example, the electronic control unit generates first pre-configuration information and first post-configuration information according to the scene characteristics at time time_1 (for example, 8 am), and then configures the LoRaWAN device, and generates second pre-configuration information and second post-configuration information according to the scene characteristics at time time_2 (for example, 9 pm), and then configures the LoRaWAN device; when the time reaches 8 am the next day, the LoRaWAN device is configured again according to the first pre-configuration information and the first post-configuration information, and so on. The cycle is repeated to switch the operation mode of the LoRaWAN device, and then the power consumption of the LoRaWAN device is controlled, which solves the problem of large power consumption loss caused by the LoRaWAN device being in an artificially set high-power consumption operation mode.
[0080] In this embodiment, pre-configuration information is generated according to device scenario information, the device scenario information represents the scenario characteristics of the scenario in which the LoRaWAN device is installed, and the pre-configuration information represents the configuration characteristics of the first type of data frame parameter set of the LoRaWAN device under the scenario characteristics; post-configuration information is generated according to the pre-configuration information, and the post-configuration information represents the configuration characteristics of the second type of data frame parameter set determined based on the configuration characteristics of the first type of data frame parameter set; the LoRaWAN device is configured according to the pre-configuration information and the post-configuration information to determine the operation mode and corresponding power consumption of the LoRaWAN device. By generating pre-configuration information matching the scenario characteristics according to the scenario characteristics of the LoRaWAN device, and then generating corresponding post-configuration information based on the generated pre-configuration information, the first-category data frame parameter set and the second-category data frame parameter set of the LoRaWAN device are configured. When the scenario characteristics of the scenario in which the LoRaWAN device is installed change, the pre-configuration information and the post-configuration information change accordingly, and the LoRaWAN device is reconfigured, that is, the switching of the LoRaWAN device operation mode and the control of power consumption are realized, which solves the problem of large power consumption loss caused by the LoRaWAN device being in an artificially set high-power consumption operation mode.
[0081] Figure 6 A flowchart of a method for controlling power consumption of a LoRaWAN device provided in another embodiment of the present application is shown in FIG. Figure 6 As shown, the method for controlling the power consumption of LoRaWAN devices provided in this embodiment is Figure 2 On the basis of the method for controlling the power consumption of a LoRaWAN device provided in the illustrated embodiment, step S101 and step S103 are further refined, and the method for controlling the power consumption of a LoRaWAN device provided in this embodiment includes the following steps:
[0082] Step S201, obtaining device hardware information, where the device hardware information represents a power supply mode for powering the LoRaWAN device.
[0083] Step S202: Generate a first configuration instruction or a second configuration instruction based on the device hardware information and the device scenario information. The first configuration instruction is used to instruct the LoRaWAN device to be configured as a first power consumption state, and the second configuration instruction is used to instruct the LoRaWAN device to be configured as a second power consumption state. The power consumption value corresponding to the first power consumption state is less than the power consumption value corresponding to the second power consumption state.
[0084] Exemplarily, the power supply modes for powering the LoRaWAN device include a network data line power supply mode, a DC power supply mode and a battery power supply mode; when the LoRaWAN device is powered by the battery power supply mode, it is necessary to consider the situation that the LoRaWAN device cannot work due to battery exhaustion, and when the LoRaWAN device is powered by the network data line power supply mode or the DC power supply mode, it is not necessary to consider the situation that the LoRaWAN device cannot work due to battery exhaustion; furthermore, the electronic control unit generates a corresponding first configuration instruction or a second configuration instruction according to the power supply mode adopted by the LoRaWAN device and in combination with real-time device scenario information.
[0085] Specifically, for example, the electronic control unit determines that the power supply mode adopted by the LoRaWAN device is a battery power supply mode. If it is determined based on real-time device scenario information that the LoRaWAN device does not need to operate at high power consumption, the electronic control unit generates a first configuration instruction to configure the LoRaWAN device to a first power consumption state, so as to reduce battery power loss and increase the battery life of the LoRaWAN device. If it is determined based on real-time device scenario information that the LoRaWAN device needs to operate at high power consumption, the electronic control unit generates a second configuration instruction to configure the LoRaWAN device to a second power consumption state, so as to meet actual data monitoring and collection needs, wherein the power consumption value corresponding to the first power consumption state is less than the power consumption value corresponding to the second power consumption state.
[0086] Further, the electronic control unit determines the time period when the LoRaWAN device does not need to run at high power consumption and the time period when the LoRaWAN device needs to run at high power consumption in combination with the real-time device scenario information according to whether the power supply mode adopted by the LoRaWAN device is the network data line power supply mode or the DC power supply mode. For the time period when the LoRaWAN device needs to run at high power consumption, a second configuration instruction is generated. For the time period when the LoRaWAN device does not need to run at high power consumption, a first configuration instruction is generated based on the length of the time period, or a first configuration instruction and a second configuration instruction are generated. For example, if the time period is 1 hour, a first configuration instruction is generated to configure the LoRaWAN device to the first power consumption state (low power consumption state), and if the time period is 5 hours, a first configuration instruction is generated. The command and the second configuration instruction are used. In the first 2 hours of the 5 hours, the LoRaWAN device is configured to the first power consumption state (low power consumption state) according to the first configuration instruction. In the middle 1 hour of the 5 hours, the LoRaWAN device is configured to the second power consumption state (high power consumption state) according to the second configuration instruction. In the last 2 hours of the 5 hours, the LoRaWAN device is configured to the first power consumption state (low power consumption state) according to the first configuration instruction, thereby realizing that when the LoRaWAN device is in the low power consumption state operation mode for a long time, the LoRaWAN device is in the high power consumption state operation mode in part of the time period, and intermittently monitoring and collecting data based on the high power consumption state operation mode is realized, thereby improving data accuracy and stability on the basis of reducing the power consumption of the LoRaWAN device.
[0087] Step S203: Generate first pre-configuration information according to the first configuration instruction; or generate second pre-configuration information according to the second configuration instruction.
[0088] Exemplarily, the first pre-configuration information is used to instruct the LoRaWAN device to be configured as a low power consumption state operation mode, and the second pre-configuration information is used to instruct the LoRaWAN device to be configured as a high power consumption state operation mode, and then based on the first configuration instruction for instructing the LoRaWAN device to be configured as a first power consumption state, and the second configuration instruction for instructing the LoRaWAN device to be configured as a second power consumption state, the power consumption value corresponding to the first power consumption state is less than the power consumption value corresponding to the second power consumption state, then the electronic control unit generates the first pre-configuration information according to the first configuration instruction, or generates the second pre-configuration information according to the second configuration instruction. Figure 2 The specific configuration content of the first pre-configuration information and the specific configuration content of the second pre-configuration information have been introduced in detail in step S101 of the illustrated embodiment, and will not be repeated here.
[0089] Step S204, generating post-configuration information based on the pre-configuration information, the post-configuration information representing the configuration features for configuring the second type of data frame parameter set based on the configuration features for configuring the first type of data frame parameter set, the pre-configuration information is the first pre-configuration information or the second pre-configuration information, and the post-configuration information is the first post-configuration information or the second post-configuration information.
[0090] Step S205, obtaining application object information, where the application object information represents object characteristics of the application object oriented by the LoRaWAN device.
[0091] Step S206, obtaining channel mode information according to the application object information, where the channel mode information is used to indicate the network access method adopted by the LoRaWAN device under the object characteristics of the application object.
[0092] Exemplarily, the channel mode information is used to indicate the network access method adopted by the LoRaWAN device under the object characteristics of the application object, and the electronic control unit determines the network access method adopted by the LoRaWAN device based on the object characteristics of the application object corresponding to the acquired application object information, that is, obtains the channel mode information. Specifically, for example, the channel mode information includes first mode information and second mode information, the first mode information is used to indicate the personalized activation network access method, and the second mode information is used to indicate the air activation network access method, and then the electronic control unit determines whether the LoRaWAN device adopts the personalized activation network access method or the air activation network access method based on the object characteristics of the application object applied by the LoRaWAN device, that is, obtains the channel mode information.
[0093] Step S207, configuring the LoRaWAN device according to the pre-configuration information, the post-configuration information and the channel mode information to determine the operation mode of the LoRaWAN device and the corresponding power consumption.
[0094] For example, in this application Figure 2 Based on the implementation of step S103 in the embodiment shown, the electronic control unit further configures the network access mode of the LoRaWAN device according to the channel mode information, that is, determines the operation mode of the LoRaWAN device and the corresponding power consumption
[0095] In this embodiment, the implementation method of step S204 is the same as that of the present application. Figure 2 The implementation method of step S102 in the illustrated embodiment is the same and will not be described in detail here.
[0096] Figure 7 A schematic diagram of a structure of a device for controlling power consumption of a LoRaWAN device provided by an embodiment of the present application is shown in FIG. Figure 7As shown, the device 3 for controlling power consumption of LoRaWAN equipment provided in this embodiment includes:
[0097] The first generating module 31 is used to generate pre-configuration information according to the device scenario information, the device scenario information represents the scenario characteristics of the scenario in which the LoRaWAN device is installed, and the pre-configuration information represents the configuration characteristics of configuring the first type of data frame parameter set of the LoRaWAN device under the scenario characteristics;
[0098] A second generating module 32 is used to generate post-configuration information according to the pre-configuration information, where the post-configuration information represents the configuration features of configuring the second type of data frame parameter set determined based on the configuration features of configuring the first type of data frame parameter set;
[0099] The configuration module 33 is used to configure the LoRaWAN device according to the pre-configuration information and the post-configuration information to determine the operation mode and corresponding power consumption of the LoRaWAN device.
[0100] In a possible implementation manner, the first type of data frame parameter set includes an uplink frame type and an uplink data transmission rate, and the second type of data frame parameter set includes a data receiving window.
[0101] In a possible implementation, the device scenario information includes static scenario information, and the pre-configuration information includes first pre-configuration information; when the first generation module 31 generates the pre-configuration information according to the device scenario information, it is specifically used to: generate the first pre-configuration information according to the static scenario information, the first pre-configuration information includes first uplink frame type configuration information and first data rate configuration information, the first uplink frame type configuration information is used to indicate that the uplink frame type is configured as a non-confirmed uplink data frame, and the first data rate configuration information is used to indicate that the uplink data transmission rate is configured as a preset mode transmission rate.
[0102] In a possible implementation, the post-configuration information includes first post-configuration information; when the second generating module 32 generates the post-configuration information according to the pre-configuration information, it is specifically used to: generate the first post-configuration information according to the first pre-configuration information and the first confirmation mode configuration information, the first confirmation mode configuration information is used to indicate that the confirmation mode of the LoRaWAN device is in the closed state, and the first post-configuration information is used to indicate that the data receiving window is configured to be in the closed state.
[0103] In a possible implementation, the device scenario information includes dynamic scenario information, and the pre-configuration information includes second pre-configuration information; when the first generation module 31 generates the pre-configuration information according to the device scenario information, it is specifically used to: generate the second pre-configuration information according to the dynamic scenario information, the second pre-configuration information includes second uplink frame type configuration information and / or second data rate configuration information, the second uplink frame type configuration information is used to indicate that the uplink frame type is configured as a confirmed uplink data frame, and the second data rate configuration information is used to indicate that the uplink data transmission rate is configured as an automatic mode transmission rate.
[0104] In a possible implementation, the post-configuration information includes second post-configuration information; when the second generation module 32 generates the post-configuration information according to the pre-configuration information, it is specifically used to: generate the second post-configuration information according to the second pre-configuration information and / or the second confirmation mode configuration information, the second confirmation mode configuration information is used to indicate that the confirmation mode of the LoRaWAN device is in the on state, and the second post-configuration information is used to indicate that the data receiving window is configured to be in the on state.
[0105] In a possible implementation, when the first generation module 31 generates the pre-configuration information according to the device scenario information, it is specifically used to: obtain the device hardware information, the device hardware information represents the power supply mode for powering the LoRaWAN device; generate a first configuration instruction or a second configuration instruction according to the device hardware information and the device scenario information, the first configuration instruction is used to indicate that the LoRaWAN device is configured as a first power consumption state, and the second configuration instruction is used to indicate that the LoRaWAN device is configured as a second power consumption state, and the power consumption value corresponding to the first power consumption state is less than the power consumption value corresponding to the second power consumption state; generate the first pre-configuration information according to the first configuration instruction; or, generate the second pre-configuration information according to the second configuration instruction.
[0106] In a possible implementation, when the configuration module 33 configures the LoRaWAN device according to the pre-configuration information and the post-configuration information, it is specifically used to: obtain application object information, the application object information represents the object characteristics of the application object facing the LoRaWAN device; obtain channel mode information according to the application object information, the channel mode information is used to indicate the network access method adopted by the LoRaWAN device under the object characteristics of the application object; configure the LoRaWAN device according to the pre-configuration information, the post-configuration information and the channel mode information.
[0107] The first generation module 31, the second generation module 32 and the configuration module 33 are connected in sequence. The apparatus 3 for controlling the power consumption of the LoRaWAN device provided in this embodiment can be executed as follows: Figure 2-Figure 6The technical solutions of any of the method embodiments shown have similar implementation principles and technical effects, which will not be described in detail here.
[0108] Figure 8 This is a schematic diagram of the structure of the electronic device provided in this application. Figure 8 As shown, the electronic device 50 provided in this embodiment includes: at least one processor 501 and a memory 502. Optionally, the device 50 also includes a communication component 503. The processor 501, the memory 502 and the communication component 503 are connected via a bus 504.
[0109] In a specific implementation process, at least one processor 501 executes the computer-executable instructions stored in the memory 502, so that at least one processor 501 executes the above method.
[0110] The specific implementation process of the processor 501 can be found in the above method embodiment, and its implementation principle and technical effect are similar, so this embodiment will not be repeated here.
[0111] In the above embodiments, it should be understood that the processor can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the invention can be directly implemented as a hardware processor, or can be implemented by a combination of hardware and software modules in the processor.
[0112] The memory may include a high-speed memory (Random Access Memory, RAM), and may also include a non-volatile memory (NVM), such as at least one disk storage.
[0113] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.
[0114] The present application also provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0115] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, the above method is implemented.
[0116] The above-mentioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. The readable storage medium can be any available medium that can be accessed by a general or special-purpose computer.
[0117] An exemplary readable storage medium is coupled to a processor so that the processor can read information from the readable storage medium and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (Application Specific Integrated Circuits, referred to as: ASIC). Of course, the processor and the readable storage medium can also exist in the device as discrete components.
[0118] The division of units is only a logical function division, and there may be other divisions in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interface, device or unit, which can be electrical, mechanical or other forms.
[0119] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0120] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0121] If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, etc. Various media that can store program codes.
[0122] Those skilled in the art can understand that all or part of the steps of implementing the above-mentioned method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, the steps of the above-mentioned method embodiments are executed; and the aforementioned storage medium includes: ROM, RAM, disk or optical disk and other media that can store program codes.
[0123] Finally, it should be noted that those skilled in the art will readily conceive of other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention, which follow the general principles of the present invention and include common knowledge or customary technical means in the art not disclosed by the present invention, are not limited to the precise structure described above and shown in the drawings, and may be modified and changed in various ways without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
Claims
1. A method for controlling power consumption of a LoRaWAN device, characterized in that: The method comprises: Generate pre-configuration information according to the device scenario information, wherein the device scenario information represents a scenario feature of a scenario in which the LoRaWAN device is installed, and the pre-configuration information represents a configuration feature for configuring a first type of data frame parameter set of the LoRaWAN device under the scenario feature; Generate post-configuration information according to the pre-configuration information, wherein the post-configuration information represents a configuration feature for configuring a second type of data frame parameter set determined based on a configuration feature for configuring the first type of data frame parameter set; The LoRaWAN device is configured according to the pre-configuration information and the post-configuration information to determine an operation mode and corresponding power consumption of the LoRaWAN device.
2. The method according to claim 1, characterized in that The first type of data frame parameter set includes an uplink frame type and an uplink data transmission rate, and the second type of data frame parameter set includes a data receiving window.
3. The method according to claim 2, characterized in that The device scene information includes static scene information, and the pre-configuration information includes first pre-configuration information; The generating of pre-configuration information according to the device scenario information includes: According to the static scene information, the first pre-configuration information is generated, and the first pre-configuration information includes first uplink frame type configuration information and first data rate configuration information. The first uplink frame type configuration information is used to indicate that the uplink frame type is configured as a non-confirmed uplink data frame, and the first data rate configuration information is used to indicate that the uplink data transmission rate is configured as a preset mode transmission rate.
4. The method according to claim 3, characterized in that The post-configuration information includes first post-configuration information; The generating post-configuration information according to the pre-configuration information includes: The first post-configuration information is generated according to the first pre-configuration information and the first confirmation mode configuration information, wherein the first confirmation mode configuration information is used to indicate that the confirmation mode of the LoRaWAN device is in a closed state, and the first post-configuration information is used to indicate that the data receiving window is configured to be in a closed state.
5. The method according to claim 2, characterized in that: The device scene information includes dynamic scene information, and the pre-configuration information includes second pre-configuration information; The generating of pre-configuration information according to the device scenario information includes: According to the dynamic scene information, the second pre-configuration information is generated, and the second pre-configuration information includes second uplink frame type configuration information and / or second data rate configuration information. The second uplink frame type configuration information is used to indicate that the uplink frame type is configured as a confirmed uplink data frame, and the second data rate configuration information is used to indicate that the uplink data transmission rate is configured as an automatic mode transmission rate.
6. The method according to claim 5, characterized in that The post-configuration information includes second post-configuration information; The generating post-configuration information according to the pre-configuration information includes: The second post-configuration information is generated according to the second pre-configuration information and / or the second confirmation mode configuration information, wherein the second confirmation mode configuration information is used to indicate that the confirmation mode of the LoRaWAN device is in the on state, and the second post-configuration information is used to indicate that the data receiving window is configured to be in the on state.
7. The method according to claim 1, characterized in that The generating of pre-configuration information according to the device scenario information includes: Acquire device hardware information, where the device hardware information represents a power supply mode for powering the LoRaWAN device; Generate a first configuration instruction or a second configuration instruction according to the device hardware information and the device scenario information, wherein the first configuration instruction is used to instruct the LoRaWAN device to be configured as a first power consumption state, and the second configuration instruction is used to instruct the LoRaWAN device to be configured as a second power consumption state, and the power consumption value corresponding to the first power consumption state is less than the power consumption value corresponding to the second power consumption state; Generate first pre-configuration information according to the first configuration instruction; Or, generate second pre-configuration information according to the second configuration instruction.
8. The method according to claim 1, characterized in that: The configuring the LoRaWAN device according to the pre-configuration information and the post-configuration information includes: Acquire application object information, where the application object information represents object characteristics of the application object oriented by the LoRaWAN device; According to the application object information, channel mode information is obtained, where the channel mode information is used to indicate a network access method adopted by the LoRaWAN device under the object characteristics of the application object; The LoRaWAN device is configured according to the pre-configuration information, the post-configuration information and the channel mode information.
9. A device for controlling power consumption of a LoRaWAN device, characterized in that: include: A first generating module is used to generate pre-configuration information according to device scenario information, wherein the device scenario information represents a scenario feature of a scenario in which a LoRaWAN device is installed, and the pre-configuration information represents a configuration feature for configuring a first type of data frame parameter set of the LoRaWAN device under the scenario feature; A second generating module is used to generate post-configuration information according to the pre-configuration information, wherein the post-configuration information represents a configuration feature for configuring a second type of data frame parameter set determined based on a configuration feature for configuring the first type of data frame parameter set; A configuration module is used to configure the LoRaWAN device according to the pre-configuration information and the post-configuration information to determine the operation mode and corresponding power consumption of the LoRaWAN device.
10. An electronic device, characterized in that: include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method according to any one of claims 1 to 8.