CN114390072B - Information processing method, device and storage medium - Google Patents
Information processing method, device and storage medium Download PDFInfo
- Publication number
- CN114390072B CN114390072B CN202111555005.7A CN202111555005A CN114390072B CN 114390072 B CN114390072 B CN 114390072B CN 202111555005 A CN202111555005 A CN 202111555005A CN 114390072 B CN114390072 B CN 114390072B
- Authority
- CN
- China
- Prior art keywords
- internet
- state information
- lora
- things platform
- lora terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000010365 information processing Effects 0.000 title claims abstract description 49
- 238000003672 processing method Methods 0.000 title claims abstract description 27
- QVFWZNCVPCJQOP-UHFFFAOYSA-N chloralodol Chemical compound CC(O)(C)CC(C)OC(O)C(Cl)(Cl)Cl QVFWZNCVPCJQOP-UHFFFAOYSA-N 0.000 claims abstract description 66
- 238000000034 method Methods 0.000 claims abstract description 27
- 230000004044 response Effects 0.000 claims description 32
- 230000001360 synchronised effect Effects 0.000 claims description 17
- 238000004891 communication Methods 0.000 description 12
- 230000006854 communication Effects 0.000 description 12
- 238000010586 diagram Methods 0.000 description 12
- 238000005516 engineering process Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000003993 interaction Effects 0.000 description 3
- 238000007726 management method Methods 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 238000004378 air conditioning Methods 0.000 description 2
- 230000000712 assembly Effects 0.000 description 2
- 238000000429 assembly Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000005057 refrigeration Methods 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000007175 bidirectional communication Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q9/00—Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q2209/00—Arrangements in telecontrol or telemetry systems
- H04Q2209/20—Arrangements in telecontrol or telemetry systems using a distributed architecture
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04Q—SELECTING
- H04Q2209/00—Arrangements in telecontrol or telemetry systems
- H04Q2209/40—Arrangements in telecontrol or telemetry systems using a wireless architecture
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer And Data Communications (AREA)
- Telephonic Communication Services (AREA)
Abstract
The application relates to an information processing method, a device and a storage medium, wherein the information processing method is applied to LoRa terminal equipment, and the method comprises the following steps: executing the downlink control instruction under the condition that the downlink control instruction sent by the internet of things platform is received through the LoRa gateway equipment, and obtaining an execution result; updating the state information of the LoRa terminal equipment based on the execution result; and under the condition that the current moment belongs to a time period outside the heartbeat period of the uploaded heartbeat data, synchronizing the updated state information to the Internet of things platform through the LoRa gateway equipment. Therefore, the Internet of things platform can update the state information of the LoRa terminal equipment stored on the Internet of things platform in time under the condition that the heartbeat data is not received, so that the state information of the LoRa terminal equipment displayed by the Internet of things platform is always consistent with the actual state information of the LoRa terminal equipment.
Description
Technical Field
The present application relates to the field of internet of things, and in particular, to an information processing method, an information processing device, and a storage medium.
Background
A Long Range Radio (LoRa) is a low power consumption Long Range wireless communication technology, which can be applied to the field of internet of things and provides functions of Long Range, low power consumption and safe data transmission for internet of things application. At present, the LoRa terminal equipment is applied to logistics, campuses and communities, but in practical application, the problem that the LoRa terminal equipment has a common problem is found, namely, the equipment state after response cannot be reported timely, and the equipment state displayed on the Internet of things platform layer or before the LoRa terminal equipment responds to a control instruction issued by the Internet of things platform is displayed for a user.
Disclosure of Invention
In order to overcome the problems in the related art, the present application provides an information processing method, apparatus, and storage medium.
According to a first aspect of an embodiment of the present application, there is provided an information processing method, applied to a LoRa terminal device, including:
executing the downlink control instruction under the condition that the downlink control instruction sent by the internet of things platform is received through the LoRa gateway equipment, and obtaining an execution result;
updating the state information of the LoRa terminal equipment based on the execution result;
under the condition that the current moment is determined to belong to a time period outside the heartbeat period of the uploaded heartbeat data, synchronizing updated state information to the Internet of things platform through the LoRa gateway equipment;
Wherein the heartbeat data includes: and reporting the state information according to the heartbeat cycle.
In some embodiments, the method further comprises:
and under the condition that the current moment belongs to the heartbeat period of uploading heartbeat data, sending the heartbeat data carrying the updated state information to the Internet of things platform through the LoRa gateway equipment.
In some embodiments, the synchronizing, by the LoRa gateway device, the updated state information to the internet of things platform if it is determined that the current time belongs to a time period outside of a heartbeat cycle of uploading heartbeat data includes:
generating a response message under the condition that the current moment is determined to belong to a time period outside the heartbeat period of the uploaded heartbeat data and the LoRa terminal equipment successfully executes the downlink control instruction;
and carrying the updated state information to the Internet of things platform through the response message.
In some embodiments, the synchronizing, by the LoRa gateway device, the updated state information to the internet of things platform if it is determined that the current time belongs to a time period outside of a heartbeat cycle of uploading heartbeat data includes:
Generating an indication signal under the condition that the current moment is determined to belong to a time period outside the heartbeat period of the uploaded heartbeat data;
the indicating signal is sent to the Internet of things platform through the LoRa gateway equipment, so that the Internet of things platform generates an acquisition instruction according to the indicating signal;
and after receiving the acquisition instruction, the LoRa terminal equipment synchronizes the updated state information to the Internet of things platform through the LoRa gateway equipment.
In some embodiments, after receiving the acquiring instruction, the LoRa terminal device synchronizes the updated state information to the internet of things platform through the LoRa gateway device, including:
after receiving the acquisition instruction, the LoRa terminal equipment generates virtual data according to the updated state information; wherein the virtual data is used to characterize: the LoRa terminal equipment updates the state information based on the execution result;
and sending the virtual data to the Internet of things platform, so that the Internet of things platform updates the state information of the LoRa terminal equipment stored on the Internet of things platform based on the virtual data.
According to a second aspect of the embodiment of the present application, there is provided an information processing method, applied to an internet of things platform, including:
transmitting a downlink control instruction to the LoRa terminal equipment through the LoRa gateway equipment;
receiving updated state information synchronized by the LoRa terminal equipment through the LoRa gateway equipment; wherein the updated state information is: the LoRa terminal equipment synchronizes to the Internet of things platform under the condition that the current moment is determined to belong to a time period outside the heartbeat period of the uploaded heartbeat data;
and updating the state information of the LoRa terminal equipment stored on the Internet of things platform based on the updated state information.
In some embodiments, the receiving, by the LoRa gateway device, updated status information synchronized by the LoRa terminal device includes:
receiving a response message carrying the updated state information sent by the LoRa terminal equipment through the LoRa gateway equipment;
and analyzing the updated state information from the response message.
In some embodiments, the receiving, by the LoRa gateway device, updated status information synchronized by the LoRa terminal device includes:
The Internet of things platform sends an acquisition instruction to the Internet of things platform through the LoRa gateway equipment under the condition that the Internet of things platform receives the indication signal sent by the LoRa terminal equipment; the acquiring instruction is used for acquiring state information of the LoRa terminal equipment after updating based on the downlink control instruction;
receiving virtual data sent by the LoRa terminal equipment through the LoRa gateway equipment;
and analyzing the updated state information from the virtual data.
In some embodiments, the method further comprises:
receiving heartbeat data sent by the LoRa terminal equipment through the LoRa gateway equipment;
and analyzing the updated state information from the heartbeat data.
According to a third aspect of the embodiment of the present application, there is provided an information processing apparatus applied to a LoRa terminal device, including:
the execution module is configured to execute the downlink control instruction under the condition that the downlink control instruction sent by the internet of things platform is received through the LoRa gateway equipment, so as to obtain an execution result;
the first updating module is configured to update the state information of the LoRa terminal equipment based on the execution result;
the synchronization module is configured to synchronize updated state information to the Internet of things platform through the LoRa gateway equipment under the condition that the current moment is determined to belong to a time period outside a heartbeat period of uploading heartbeat data; wherein the heartbeat data includes: and reporting the state information according to the heartbeat cycle.
According to a fourth aspect of an embodiment of the present application, there is provided an information processing apparatus applied to an internet of things platform, including:
the first sending module is configured to send a downlink control instruction to the LoRa terminal equipment through the LoRa gateway equipment;
the first receiving module is configured to receive updated state information synchronized by the LoRa gateway equipment; wherein the updated state information is: the LoRa terminal equipment synchronizes to the Internet of things platform under the condition that the current moment is determined to belong to a time period outside the heartbeat period of the uploaded heartbeat data;
and the second updating module is configured to update the state information of the LoRa terminal equipment stored on the Internet of things platform based on the updated state information.
According to a fifth aspect of an embodiment of the present application, there is provided an information processing apparatus including:
a processor;
a memory configured to store processor-executable instructions;
wherein the processor is configured to: the steps of any one of the information processing methods of the first aspect and the second aspect are implemented when executed.
According to a sixth aspect of embodiments of the present application, there is provided a non-transitory computer-readable storage medium, which when executed by a processor of an information processing apparatus, causes the apparatus to perform the steps of any one of the information processing methods of the first and second aspects described above.
The technical scheme provided by the embodiment of the application can comprise the following beneficial effects:
in the embodiment of the application, when the LoRa terminal equipment receives the downlink control instruction sent by the Internet of things platform through the LoRa gateway equipment, the downlink control instruction is executed, and an execution result is obtained, so that the LoRa terminal equipment updates the state information of the LoRa terminal equipment based on the execution result, and the LoRa gateway equipment can synchronize the updated state information to the Internet of things platform under the condition that the current moment is determined to belong to a time period outside the heartbeat period of uploading the heartbeat data.
After the LoRa terminal equipment executes the downlink control instruction, and when the current time is determined not to belong to the heartbeat period of uploading the heartbeat data, the updated state information is synchronized to the Internet of things platform through the LoRa gateway equipment, so that the state information of the LoRa terminal equipment stored on the Internet of things platform can be updated in time under the condition that the Internet of things platform cannot receive the heartbeat data, and the state information of the LoRa terminal equipment displayed on the Internet of things platform is always consistent with the actual state information of the LoRa terminal equipment.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
Fig. 1 is a flowchart illustrating a method of information processing according to an exemplary embodiment.
Fig. 2 is a network architecture diagram illustrating an information processing method according to an exemplary embodiment.
Fig. 3 is a schematic diagram illustrating uploading of heartbeat data over a heartbeat cycle, according to an example embodiment.
Fig. 4 is a flowchart two of an information processing method according to an exemplary embodiment.
Fig. 5 is a flowchart three showing an information processing method according to an exemplary embodiment.
Fig. 6 is a flowchart fourth illustrating an information processing method according to an exemplary embodiment.
Fig. 7 is a block diagram of an information processing apparatus according to an exemplary embodiment.
Fig. 8 is a block diagram two of an information processing apparatus according to an exemplary embodiment.
Fig. 9 is a block diagram of a hardware configuration of an information processing apparatus according to an exemplary embodiment.
Fig. 10 is a block diagram showing a hardware configuration of an information processing apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the application. Rather, they are merely examples of apparatus and methods consistent with aspects of the application as detailed in the accompanying claims.
Fig. 1 is a flowchart of an information processing method according to an exemplary embodiment, and as shown in fig. 1, the information processing method is applied to a LoRa terminal device, and includes the following steps:
in step 101, under the condition that a downlink control instruction sent by an internet of things platform is received through a LoRa gateway device, executing the downlink control instruction to obtain an execution result;
in step 102, updating the state information of the LoRa terminal equipment based on the execution result;
in step 103, under the condition that the current moment is determined to belong to a time period outside the heartbeat period of the uploaded heartbeat data, synchronizing the updated state information to the internet of things platform through the LoRa gateway equipment; wherein the heartbeat data includes: and reporting the state information according to the heartbeat cycle.
It should be noted that, fig. 2 is a network architecture diagram of an information processing method according to an exemplary embodiment, and as shown in fig. 2, an internet of things platform, a LoRa gateway device and a LoRa terminal device in the present application belong to a network architecture; the internet of things platform belongs to a platform layer 201 in a network architecture, the lora gateway device belongs to a transmission layer 202 in the network architecture, and the lora terminal device belongs to a device layer 203 in the network architecture. In the implementation process, the transmission layer 202 may be used as a communication hub to implement information interaction between the platform layer 201 and the device layer 203, where the device layer 203 may be used to collect data, and the platform layer 201 may be used to calculate and process data uploaded by the device layer 203.
In some embodiments, the types of LoRa terminal devices may include: a first type and a second type; after the first type of LoRa terminal equipment sends uplink data (heartbeat data), the first type of LoRa terminal equipment can receive downlink data (downlink control instruction) from the internet of things platform, and other time periods can not receive the downlink data; the second type of LoRa terminal equipment can receive downlink data sent by the Internet of things platform at any time. The first type of LoRa terminal equipment may include: a LoRa electricity meter, a LoRa manhole cover detector, etc.; the second type of LoRa terminal device may include: general packet radio service (General Packet Radio Service, GPRS) air conditioner controllers, 4th generation mobile information system (The 4th Generation mobile Communication Technology,4G) air conditioner controllers, and The like. The LoRa terminal equipment may be selected as desired, and is not particularly limited herein.
In the embodiment of the application, when the LoRa terminal device receives the downlink control instruction issued by the Internet of things platform through the LoRa gateway device, the downlink control instruction can be executed, and an execution result is obtained, so that the LoRa terminal device updates the device state based on the execution result. In some embodiments, the downlink control instruction may be used to adjust the state of the LoRa terminal device; the state of the LoRa terminal device may include: operating state, switch state, etc. For example, the on-off state of the LoRa terminal device may be controlled according to the downlink control instruction; for another example, the wind speed of the LoRa terminal equipment can be adjusted according to the downlink control instruction; for another example, the temperature of the LoRa terminal device may also be set according to the downlink control command.
In some embodiments, the downlink control instruction may include: status parameters, status parameter values; wherein, the status parameter may be used to represent a working status name of the LoRa terminal device, and the status parameter may include: wind speed, temperature, etc.; the state parameter value may be used to represent a result corresponding to the state parameter. In other embodiments, the downlink control instruction may further include: 0,1; wherein 0 may be used to indicate that the LoRa terminal device is turned off; 1 may be used to indicate that the LoRa terminal is turned on.
In some embodiments, the downlink control instruction may be represented in the form of a key value pair; the downlink control instruction may also be represented in the form of a character string, and the expression form of the downlink control instruction may be set according to actual needs, which is not particularly limited herein. Taking the form of key value pairs as an example, the downlink control instruction may be expressed as: (temperature: 26 degrees celsius (°c)); wherein (temperature: 26 ℃) can be used to characterize the adjustment of the temperature of the LoRa terminal equipment to 26 ℃.
In some embodiments, the execution result may be used to characterize a change in state of the LoRa terminal device based on the execution of the downlink control instruction. The execution result may include: state parameters, state parameter value 1, state parameter value 2; the state parameter value 1 may be represented as a result corresponding to a state parameter before the execution of the control command by the LoRa terminal device, and the state parameter value 2 may be represented as a result corresponding to a state parameter after the execution of the control command by the LoRa terminal device.
In some embodiments, the execution result may be expressed in the form of key-value pairs; the execution result may also be represented in the form of a character string, and the expression form of the execution result may be set according to actual needs, which is not particularly limited herein. Taking the form of a character string as an example, assuming that the temperature of the LoRa terminal device at this time is 24 ℃, the LoRa terminal device executes a downlink control instruction to adjust the temperature to 26 ℃, and the execution result may be expressed as: "temperature: 24 ℃,26 ℃.
In other embodiments, the execution result may also be used to reply whether the downlink control instruction of the platform of the internet of things is successfully executed. In the implementation process, the LoRa terminal equipment can send an execution result to the Internet of things platform through the LoRa gateway equipment so that the Internet of things platform knows whether the downlink control instruction is executed successfully or not; wherein, the execution result may include: an ACK data packet; the content in the ACK packet may include: 20000, may further comprise: 40000; here, 20000 may indicate that the downlink control instruction is successfully executed, 40000 may indicate that the downlink control instruction is failed to be executed, and ACK packets may be set as needed, which is not particularly limited herein.
In some embodiments, the types of the LoRa gateway device may include: a third type and a fourth type; the working performance of the third type of the LoRa gateway device is higher than that of the fourth type of the LoRa gateway device, for example, the signal processing capability of the third type of the LoRa gateway device is higher than that of the fourth type of the LoRa gateway device, and the like. The third type of LoRa gateway device may include: the industrial grade gateway G500, a fourth type of LoRa gateway device may include: commercial grade gateway G200. The LoRa gateway device may be selected according to actual requirements and is not specifically limited herein.
In some embodiments, the internet of things platform not only can provide safe and reliable device access capability, but also can establish bidirectional communication between the Lora terminal device and the application device; wherein, the internet of things platform can include: the cloud server may further include: an Inkthings internet of things platform; the application device may include: a mobile phone, a desktop computer, etc. The internet of things platform can be selected according to actual requirements, and is not particularly limited herein.
In some embodiments, the LoRa gateway device may connect to The local LoRa terminal device by using a star-type LoRa network topology, and then connect to The internet of things platform by using an ethernet or a fifth generation mobile information system (The 5th Generation mobile Communication Technology,5G) to implement various internet of things applications of The LoRa terminal device networking.
And after the LoRa terminal equipment obtains an execution result based on the downlink control instruction, updating the state information of the LoRa terminal equipment based on the execution result. In some embodiments, the state parameter and the state parameter value 2 may be resolved from the execution result, and the database list is searched according to the state parameter, if the state parameter is searched in the database list, the preset state parameter value corresponding to the state parameter is updated based on the state parameter value 2, so as to update the state information of the LoRa terminal device; if the state parameter is not searched in the database list, adding the state parameter and the state parameter value 2 to the database list; wherein the database list stores: the preset state parameters and the preset state parameter values corresponding to the preset state parameters.
In some embodiments, the LoRa terminal device may upload heartbeat data according to a heartbeat cycle, so that the internet of things platform determines an operation condition of the LoRa terminal device based on the heartbeat data, and updates a state of the LoRa terminal device based on the heartbeat data; wherein the heartbeat data may include: the status information of the LoRa terminal device, the electric quantity allowance of the LoRa terminal device may further include: signal quality of the LoRa terminal device, etc., the heartbeat cycle may include: 24 hours, including 48 hours, and a heartbeat cycle may be set as needed, which is not particularly limited herein.
Fig. 3 is a schematic diagram illustrating uploading of heartbeat data over a heartbeat cycle, according to an example embodiment. As shown in fig. 3, the dotted line may be represented as a period other than the heartbeat period of the uploaded heartbeat data, and the solid line may be represented as the heartbeat period of the uploaded heartbeat data.
In some embodiments, after executing the downlink control instruction, the LoRa terminal device may determine whether the current time belongs to a heartbeat period of uploading heartbeat data, and under the condition that it is determined that the current time belongs to a time period outside the heartbeat period of the heartbeat data, obtain updated state information of the LoRa terminal device from the database list based on the state parameter, and synchronize the updated state information to the internet of things platform through the LoRa gateway device, so that the internet of things platform updates the state information of the LoRa terminal device stored on the internet of things platform based on the updated state information; wherein the updated state information may include: the state parameters and the state parameter values corresponding to the state parameters. In some embodiments, the updated state information may be represented by way of an arrangement of key-value pairs. For example, the updated state information may be: { temperature: 24 ℃, air conditioning mode: refrigeration }; wherein, the temperature and the air conditioning mode are expressed as state parameters, and the 24 ℃ and the refrigeration are expressed as state parameter values corresponding to the state parameters.
In other embodiments, the LoRa terminal device may further send the execution result to the internet of things platform through the LoRa gateway device, so that the internet of things platform may parse the updated state information of the LoRa terminal device from the execution result, and thus, the internet of things platform may update the state of the LoRa terminal device on the internet of things platform based on the updated state information of the LoRa terminal device.
In some embodiments, the method further comprises:
and under the condition that the current moment belongs to the heartbeat period of uploading heartbeat data, sending the heartbeat data carrying the updated state information to the Internet of things platform through the LoRa gateway equipment.
In some embodiments, under the condition that the current moment belongs to the heartbeat period of uploading heartbeat data, the heartbeat data can be sent to the internet of things platform through the LoRa gateway device, so that the internet of things platform can analyze updated state information of the LoRa terminal device from the heartbeat data, and further the internet of things platform can update the state information of the LoRa terminal device stored on the internet of things platform based on the received heartbeat data.
In the embodiment of the application, when the LoRa terminal equipment receives the downlink control instruction sent by the Internet of things platform through the LoRa gateway equipment, the downlink control instruction is executed, and an execution result is obtained, so that the LoRa terminal equipment updates the state information of the LoRa terminal equipment based on the execution result, and the LoRa gateway equipment can synchronize the updated state information to the Internet of things platform under the condition that the current moment is determined to belong to a time period outside the heartbeat period of uploading the heartbeat data.
After the LoRa terminal equipment executes the downlink control instruction, and when the current time is determined not to belong to the heartbeat period of uploading the heartbeat data, the updated state information is synchronized to the Internet of things platform through the LoRa gateway equipment, so that the state information of the LoRa terminal equipment stored on the Internet of things platform can be updated in time under the condition that the Internet of things platform cannot receive the heartbeat data, and the state information of the LoRa terminal equipment displayed on the Internet of things platform is always consistent with the actual state information of the LoRa terminal equipment.
In the implementation process, under the condition that the current moment belongs to the heartbeat period of uploading heartbeat data, the heartbeat data carrying updated state information can be sent to the Internet of things platform through the LoRa gateway equipment; and under the condition that the current moment does not belong to the heartbeat period of uploading the heartbeat data, the updated state information of the LoRa terminal equipment can be sent to the Internet of things platform through the LoRa gateway equipment. Therefore, whether the state information of the LoRa terminal equipment stored on the Internet of things platform is in the heartbeat period or not can be updated in time.
In some embodiments, the synchronizing, by the LoRa gateway device, the updated state information to the internet of things platform if it is determined that the current time belongs to a time period outside of a heartbeat cycle of uploading heartbeat data includes:
Generating a response message under the condition that the current moment is determined to belong to a time period outside the heartbeat period of the uploaded heartbeat data and the LoRa terminal equipment successfully executes the downlink control instruction;
and carrying the updated state information to the Internet of things platform through the response message.
In some embodiments, when it is determined that the current time does not belong to a heartbeat cycle of uploading heartbeat data and the LoRa terminal device successfully executes the downlink control instruction, a response message may be generated based on the updated state information of the LoRa terminal device, and the response message carrying the updated state information is synchronized to the internet of things platform through the LoRa gateway device, so that the internet of things platform may update the state information of the LoRa terminal device stored on the internet of things platform based on the response message, thereby implementing that the internet of things platform updates the state of the LoRa terminal device without waiting for the heartbeat cycle of uploading the heartbeat data.
In other embodiments, the response message may be generated based on the execution result, and the response message is synchronized to the internet of things platform through the Lora gateway device, so that the internet of things platform updates the state information of the Lora terminal device stored on the internet of things platform.
In some embodiments, when the LoRa terminal device successfully executes the downlink control instruction and the current time does not belong to the heartbeat period of uploading the heartbeat data, the updated state information of the LoRa terminal device can be carried to the internet of things platform by using the response message, and the internet of things platform can update the state information of the LoRa terminal device stored on the internet of things platform when the internet of things platform does not receive the heartbeat data by actively sending the updated state information of the LoRa terminal device.
Fig. 4 is a flowchart two of an information processing method according to an exemplary embodiment, and as shown in fig. 4, the method mainly includes the following steps:
in step 401, the LoRa terminal device executes the downlink control instruction under the condition that the LoRa gateway device receives the downlink control instruction sent by the internet of things platform, and an execution result is obtained.
In step 402, the LoRa terminal device updates the state information of the LoRa terminal device based on the execution result.
In step 403, the LoRa terminal device generates an indication signal if it is determined that the current time belongs to a time period outside the heartbeat period of the uploaded heartbeat data.
In step 404, the LoRa terminal device sends the indication signal to the internet of things platform through the LoRa gateway device, so that the internet of things platform generates the acquisition instruction according to the indication signal.
In step 405, after receiving the acquisition instruction, the LoRa terminal device synchronizes the updated state information to the internet of things platform through the LoRa gateway device.
In step 406, the LoRa terminal device sends the heartbeat data to the internet of things platform through the LoRa gateway device when determining that the current time belongs to the heartbeat period of uploading the heartbeat data.
In some embodiments, when the LoRa terminal device successfully executes the downlink control instruction and determines that the current time does not belong to the heartbeat period of the uploaded heartbeat data, an indication signal can be generated, and the indication signal can be used for prompting the internet of things platform that the state of the LoRa terminal device is changed, so that the internet of things platform can timely acquire the updated state information of the LoRa terminal device.
In some embodiments, after receiving the acquisition instruction, the LoRa terminal device may send, according to the acquisition instruction, an execution result obtained based on the downlink control instruction to the internet of things platform through the LoRa gateway device, so that the internet of things platform updates the state of the LoRa terminal device based on the received execution result. The acquiring instruction may be generated by the platform of the internet of things based on the indication signal.
In other embodiments, after receiving the acquiring instruction, the LoRa terminal device may further acquire updated state information of the LoRa terminal device from the database list based on the state parameter, and synchronize the updated state information to the internet of things platform through the LoRa gateway device. Of course, the LoRa terminal device may also directly send the updated state information to the platform of the internet of things based on the acquisition instruction.
In some embodiments, under the condition that the current time is determined not to belong to the heartbeat period of uploading the heartbeat data, the updated state information of the LoRa terminal equipment can be sent to the internet of things platform through the LoRa gateway equipment according to the acquisition instruction, and the state information of the LoRa terminal equipment stored on the internet of things platform can be updated when the internet of things platform does not receive the heartbeat data in a mode of passively sending the updated state information of the LoRa terminal equipment.
In some embodiments, after receiving the acquiring instruction, the LoRa terminal device synchronizes the updated state information to the internet of things platform through the LoRa gateway device, including:
after receiving the acquisition instruction, the LoRa terminal equipment generates virtual data according to the updated state information; wherein the virtual data is used to characterize: the LoRa terminal equipment updates the state information based on the execution result;
And sending the virtual data to the Internet of things platform, so that the Internet of things platform updates the state information of the LoRa terminal equipment stored on the Internet of things platform based on the virtual data.
In some embodiments, after receiving the acquiring instruction, the LoRa terminal device may generate virtual data according to the updated state information of the LoRa terminal device, where the virtual data may be used to characterize the updated state information of the LoRa terminal device based on the execution result. In other embodiments, virtual data may also be generated based on the execution results.
In some embodiments, after generating the virtual data, the virtual data may be sent to the internet of things platform through the LoRa gateway device, so that the internet of things platform may update the state information of the LoRa terminal device stored on the internet of things platform based on the virtual data without receiving the heartbeat data.
In some embodiments, the LoRa terminal device may generate a virtual message based on the acquisition instruction, and send the virtual data to the internet of things platform through the LoRa gateway device, so that the internet of things platform may update the state information of the LoRa terminal device stored on the internet of things platform based on the virtual data under the condition that the internet of things platform does not receive the heartbeat data.
Fig. 5 is a flowchart III of an information processing method according to an exemplary embodiment, where, as shown in fig. 5, when a LoRa terminal device receives a downlink control instruction sent by an internet of things platform, the downlink control instruction is executed, and virtual data is sent to the internet of things platform when it is determined that the current time does not belong to a heartbeat period of uploading heartbeat data; and under the condition that the heartbeat period for uploading the heartbeat data is reached, sending the heartbeat data to the Internet of things platform. Therefore, whether the state information of the LoRa terminal equipment stored on the Internet of things platform is in the heartbeat period or not can be updated in time, and accordingly the state information of the LoRa terminal equipment displayed on the Internet of things platform and the actual state information of the LoRa terminal equipment can be guaranteed to be consistent all the time.
Fig. 6 is a flowchart four of an information processing method according to an exemplary embodiment, and as shown in fig. 6, the information processing method is applied to an internet of things platform, and the method includes:
in step 601, a downlink control instruction is sent to a LoRa terminal device through a LoRa gateway device;
in step 602, updated state information synchronized by the LoRa terminal device is received by the LoRa gateway device; wherein the updated state information is: the LoRa terminal equipment synchronizes to the Internet of things platform under the condition that the current moment is determined to belong to a time period outside the heartbeat period of the uploaded heartbeat data;
In step 603, the state information of the LoRa terminal device stored on the internet of things platform is updated based on the updated state information.
In some embodiments, the internet of things platform may send the downlink control instruction to the LoRa terminal device through the LoRa gateway device, so that the LoRa terminal device may adjust the device state based on the downlink control instruction. The state of the LoRa terminal device may include: operating state, switch state, etc. For example, the on-off state of the LoRa terminal device may be controlled according to the downlink control instruction; for another example, the wind speed of the LoRa terminal equipment can be adjusted according to the downlink control instruction; for another example, the temperature of the LoRa terminal device may also be set according to the downlink control command.
In some embodiments, the downlink control instruction may include: status parameters, status parameter values; wherein, the status parameter may be used to represent a working status name of the LoRa terminal device, and the status parameter may include: wind speed, temperature, etc.; the state parameter value may be used to represent a result corresponding to the state parameter. In other embodiments, the downlink control instruction may further include: 0,1; wherein 0 may be used to indicate that the LoRa terminal device is turned off; 1 may be used to indicate that the LoRa terminal is turned on.
In some embodiments, the downlink control instruction may be represented in the form of a key value pair; the downlink control instruction may also be represented in the form of a character string, and the expression form of the downlink control instruction may be set according to actual needs, which is not particularly limited herein. Taking the form of key value pairs as an example, the downlink control instruction may be expressed as: (temperature: 26 ℃ C.); wherein (temperature: 26 ℃) can be used to characterize the adjustment of the temperature of the LoRa terminal equipment to 26 ℃.
In some embodiments, after the internet of things platform sends the downlink control instruction to the LoRa terminal device through the LoRa gateway device, the downlink control instruction may be saved in the log of the internet of things platform, so that the downlink control instruction may be queried from the log of the internet of things platform.
In some embodiments, when the execution result is used to reply whether the downlink control instruction of the internet of things platform is successfully executed, the internet of things platform may store the execution result in the log of the internet of things platform, so as to query whether the downlink control instruction is successfully executed in the log of the internet of things platform. Wherein, the execution result may include: an ACK data packet; the content in the ACK packet may include: 20000, may further comprise: 40000; here, 20000 may indicate that the downlink control instruction is successfully executed, 40000 may indicate that the downlink control instruction is failed to be executed, and ACK packets may be set as needed, which is not particularly limited herein.
In some embodiments, the internet of things platform maintains the original device state of the LoRa terminal device under the condition that the execution result is known that the downlink control instruction fails to execute.
In some embodiments, when the downlink control instruction is successfully executed and the current time does not belong to the heartbeat period of uploading the heartbeat data, the internet of things platform can receive the updated state information of the LoRa terminal device through the LoRa gateway device, and can analyze the state parameters and the state parameter values corresponding to the state parameters from the received updated state information of the LoRa terminal device in a traversal mode, so that the state information of the LoRa terminal device stored on the internet of things platform can be updated.
In other embodiments, when the execution result is used to characterize the state change executed by the LoRa terminal device based on the downlink control instruction, the internet of things platform may further receive the execution result sent by the LoRa terminal device, and parse the updated state information of the LoRa terminal device from the execution result, so that the internet of things platform may also update the state information of the LoRa terminal device stored on the internet of things platform under the condition that the internet of things platform does not receive the heartbeat data.
In some embodiments, after the internet of things platform issues the downlink control instruction through the LoRa gateway device, updated state information synchronized by the LoRa terminal device is received, so that the internet of things platform updates the state information of the LoRa terminal device stored on the internet of things platform without receiving heartbeat data, and further the device state displayed by the internet of things platform is consistent with the actual state of the LoRa terminal device all the time.
In some embodiments, the receiving, by the LoRa gateway device, updated status information synchronized by the LoRa terminal device includes:
receiving a response message carrying the updated state information sent by the LoRa terminal equipment through the LoRa gateway equipment;
and analyzing the updated state information from the response message.
In some embodiments, the internet of things platform can analyze the updated state information of the LoRa terminal device from the response message when the response message sent by the LoRa terminal device is received based on the LoRa gateway device, so that the internet of things platform can update the state information of the LoRa terminal device stored on the internet of things platform based on the response message.
In other implementations, the internet of things platform can also analyze the execution result from the response message, and analyze the state parameter and the state parameter value 2 from the execution result, so that the internet of things platform can update the state information of the LoRa terminal device. The state parameter value 2 is indicated as a result corresponding to the state parameter after the execution of the downlink control instruction by the LoRa terminal equipment.
In some embodiments, the state information of the LoRa terminal device stored on the internet of things platform is updated in a manner that the response message carries the updated state information, so that the state of the LoRa terminal device can be updated in a period of time outside the heartbeat period of the internet of things platform.
In some embodiments, the receiving, by the LoRa gateway device, updated status information synchronized by the LoRa terminal device includes:
the Internet of things platform sends an acquisition instruction to the Internet of things platform through the LoRa gateway equipment under the condition that the Internet of things platform receives the indication signal sent by the LoRa terminal equipment; the acquiring instruction is used for acquiring state information of the LoRa terminal equipment after updating based on the downlink control instruction;
Receiving virtual data sent by the LoRa terminal equipment through the LoRa gateway equipment;
and analyzing the updated state information from the virtual data.
In some embodiments, when the internet of things platform receives the indication signal sent by the LoRa terminal device through the LoRa gateway device, an acquisition instruction may be generated, where the acquisition instruction is used to acquire updated state information of the LoRa terminal device, and the acquisition instruction is sent to the LoRa terminal device through the LoRa terminal device, so that the LoRa terminal device may send virtual data to the internet of things platform based on the acquisition instruction.
In some embodiments, the internet of things platform can analyze the updated state information of the LoRa terminal device from the virtual data under the condition that the virtual data sent by the LoRa terminal device is received based on the LoRa gateway device, so that the internet of things platform updates the state information of the LoRa terminal device stored on the internet of things platform according to the virtual data.
In other embodiments, the internet of things platform can also query whether the downlink control instruction is successfully executed from the log, and when the internet of things platform queries that the downlink control instruction is successfully executed, an acquisition instruction is generated, so that the internet of things platform can acquire the updated state information of the loRa terminal equipment through the loRa gateway equipment, update of the state of the loRa terminal equipment by the internet of things platform is realized, and the equipment state displayed by the internet of things platform is always consistent with the actual state of the loRa terminal equipment.
In some embodiments, the internet of things platform can acquire updated state information of the LoRa terminal device according to the indication signal sent by the LoRa terminal device, so that the internet of things platform can update the state of the LoRa terminal device in a period outside the heartbeat period.
In some embodiments, the method further comprises:
receiving heartbeat data sent by the LoRa terminal equipment through the LoRa gateway equipment;
and analyzing the updated state information from the heartbeat data.
In some embodiments, the LoRa terminal device uploads heartbeat data according to a heartbeat cycle, so that the internet of things platform judges the running condition of the LoRa terminal device based on the heartbeat data, and updates the state of the LoRa terminal device based on the heartbeat data; wherein the heartbeat data may include: the status information of the LoRa terminal device, the electric quantity allowance of the LoRa terminal device may further include: signal quality of the LoRa terminal device, etc., the heartbeat cycle may include: 24 hours, including 48 hours, and a heartbeat cycle may be set as needed, which is not particularly limited herein.
In some embodiments, the internet of things platform can analyze the updated state information of the LoRa terminal device from the heartbeat data when the heartbeat data sent by the LoRa terminal device is received through the LoRa gateway device, so that the internet of things platform updates the state of the LoRa terminal device.
In some embodiments, if the internet of things platform does not receive heartbeat data in a preset time period, the internet of things platform can judge that the LoRa terminal equipment is offline, and at this time, the internet of things platform can timely send out alarm information to timely process abnormal conditions of the LoRa terminal equipment; the preset duration may include: 2 heart cycles, may further include: the 3 heartbeat cycles may be set as needed, and are not particularly limited herein.
In some embodiments, when the internet of things platform receives the heartbeat data sent by the LoRa terminal device, the state information of the LoRa terminal device stored on the internet of things platform may be updated based on the heartbeat data.
Fig. 7 is a block diagram of an information processing apparatus according to an exemplary embodiment. As shown in fig. 7, the information processing apparatus 700 mainly includes:
the execution module 701 is configured to execute the downlink control instruction under the condition that the downlink control instruction sent by the internet of things platform is received through the LoRa gateway equipment, so as to obtain an execution result;
a first updating module 702, configured to update status information of the LoRa terminal device based on the execution result;
a synchronization module 703, configured to synchronize, by the LoRa gateway device, the updated state information to the internet of things platform if it is determined that the current time belongs to a time period outside the heartbeat period of the uploaded heartbeat data; wherein the heartbeat data includes: and reporting the state information according to the heartbeat cycle.
In some embodiments, the apparatus 700 further comprises:
and the second sending module is configured to send the heartbeat data carrying the updated state information to the internet of things platform through the LoRa gateway equipment under the condition that the current moment is determined to belong to the heartbeat period of uploading the heartbeat data.
In some embodiments, the synchronization module is configured to:
generating a response message under the condition that the current moment is determined to belong to a time period outside the heartbeat period of the uploaded heartbeat data and the LoRa terminal equipment successfully executes the downlink control instruction;
and carrying the updated state information to the Internet of things platform through the response message.
In some embodiments, the synchronization module is configured to:
generating an indication signal under the condition that the current moment is determined to belong to a time period outside the heartbeat period of the uploaded heartbeat data;
the indicating signal is sent to the Internet of things platform through the LoRa gateway equipment, so that the Internet of things platform generates an acquisition instruction according to the indicating signal;
and after receiving the acquisition instruction, the LoRa terminal equipment synchronizes the updated state information to the Internet of things platform through the LoRa gateway equipment.
In some embodiments, the synchronization module is configured to:
after receiving the acquisition instruction, the LoRa terminal equipment generates virtual data according to the updated state information; wherein the virtual data is used to characterize: the LoRa terminal equipment updates the state information based on the execution result;
and sending the virtual data to the Internet of things platform, so that the Internet of things platform updates the state information of the LoRa terminal equipment stored on the Internet of things platform based on the virtual data.
Fig. 8 is a block diagram two of an information processing apparatus according to an exemplary embodiment. As shown in fig. 8, the information processing apparatus 800 mainly includes:
a first sending module 801, configured to send a downlink control instruction to a LoRa terminal device through a LoRa gateway device;
a first receiving module 802, configured to receive, through the LoRa gateway device, updated status information synchronized by the LoRa terminal device; wherein the updated state information is: the LoRa terminal equipment synchronizes to the Internet of things platform under the condition that the current moment is determined to belong to a time period outside the heartbeat period of the uploaded heartbeat data;
And a second updating module 803 configured to update the state information of the LoRa terminal device stored on the internet of things platform based on the updated state information.
In some embodiments, the first receiving module 802 is configured to:
receiving a response message carrying the updated state information sent by the LoRa terminal equipment through the LoRa gateway equipment;
and analyzing the updated state information from the response message.
In some embodiments, the first receiving module 802 is configured to:
the Internet of things platform sends an acquisition instruction to the Internet of things platform through the LoRa gateway equipment under the condition that the Internet of things platform receives the indication signal sent by the LoRa terminal equipment; the acquiring instruction is used for acquiring state information of the LoRa terminal equipment after updating based on the downlink control instruction;
receiving virtual data sent by the LoRa terminal equipment through the LoRa gateway equipment;
and analyzing the updated state information from the virtual data.
In some embodiments, the apparatus 800 further comprises:
the second receiving module is configured to receive heartbeat data sent by the LoRa terminal equipment through the LoRa gateway equipment;
And the analysis module is configured to analyze the updated state information from the heartbeat data.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 9 is a block diagram of a hardware configuration of an information processing apparatus according to an exemplary embodiment. For example, apparatus 1800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, or the like.
Referring to fig. 9, apparatus 1800 may include one or more of the following components: a processing component 1802, a memory 1804, a power component 1806, a multimedia component 1808, an audio component 1810, an input/output (I/O) interface 1812, a sensor component 1814, and a communication component 1816.
The processing component 1802 generally controls overall operation of the device 1800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 1802 may include one or more processors 1820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 1802 may include one or more modules that facilitate interactions between the processing component 1802 and other components. For example, the processing component 1802 may include a multimedia module to facilitate interaction between the multimedia component 1808 and the processing component 1802.
The memory 1804 is configured to store various types of data to support operations at the apparatus 1800. Examples of such data include instructions for any application or method operating on the device 1800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1804 may be implemented by any type or combination of volatile or nonvolatile memory devices 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 or optical disk.
A power supply assembly 1806 provides power to the various components of the device 1800. The power components 1806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 1800.
The multimedia component 1808 includes a screen between the device 1800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1808 includes a front-facing camera and/or a rear-facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 1800 is in an operational mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 1810 is configured to output and/or input audio signals. For example, the audio component 1810 includes a Microphone (MIC) configured to receive external audio signals when the device 1800 is in an operational mode, such as a call mode, a recording mode, and a speech recognition mode. The received audio signals may be further stored in the memory 1804 or transmitted via the communication component 1816. In some embodiments, audio component 1810 also includes a speaker for outputting audio signals.
The I/O interface 1812 provides an interface between the processing component 1802 and a peripheral interface module, which may be a keyboard, click wheel, button, or the like. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 1814 includes one or more sensors for providing status assessment of various aspects of the apparatus 1800. For example, the sensor assembly 1814 may detect the on/off state of the device 1800, the relative positioning of the assemblies, such as the display and keypad of the device 1800, the sensor assembly 1814 may also detect the change in position of the device 1800 or one of the assemblies of the device 1800, the presence or absence of user contact with the device 1800, the orientation or acceleration/deceleration of the device 1800, and the change in temperature of the device 1800. The sensor assembly 1814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 1814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1816 is configured to facilitate communication between the apparatus 1800 and other devices, either wired or wireless. The device 1800 may access a wireless network based on a communication standard, such as WiFi, 4G, or 5G, or a combination thereof. In one exemplary embodiment, the communication component 1816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 1816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 1800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer-readable storage medium is also provided, such as memory 1804, including instructions executable by processor 1820 of apparatus 1800 to perform the above-described methods. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
A non-transitory computer readable storage medium, which when executed by a processor of an information processing apparatus, enables a LoRa terminal device to perform an information processing method in the case where the information processing apparatus includes a device applied to the LoRa terminal device, the method comprising:
executing the downlink control instruction under the condition that the downlink control instruction sent by the internet of things platform is received through the LoRa gateway equipment, and obtaining an execution result;
updating the state information of the LoRa terminal equipment based on the execution result;
under the condition that the current moment is determined to belong to a time period outside the heartbeat period of the uploaded heartbeat data, synchronizing updated state information to the Internet of things platform through the LoRa gateway equipment;
wherein the heartbeat data includes: and reporting the state information according to the heartbeat cycle.
Fig. 10 is a block diagram showing a hardware configuration of an information processing apparatus according to an exemplary embodiment. For example, the apparatus 1900 may be provided as a server. Referring to fig. 10, the apparatus 1900 includes a processing component 1922 that further includes one or more processors and memory resources represented by memory 1932 for storing instructions, such as application programs, that are executable by the processing component 1922. The application programs stored in memory 1932 may include one or more modules each corresponding to a set of instructions. Further, processing component 1922 is configured to execute instructions to perform an information processing method, applied to an internet of things platform, comprising:
Transmitting a downlink control instruction to the LoRa terminal equipment through the LoRa gateway equipment;
receiving updated state information synchronized by the LoRa terminal equipment through the LoRa gateway equipment; wherein the updated state information is: the LoRa terminal equipment synchronizes to the Internet of things platform under the condition that the current moment is determined to belong to a time period outside the heartbeat period of the uploaded heartbeat data;
and updating the state information of the LoRa terminal equipment stored on the Internet of things platform based on the updated state information.
The apparatus 1900 may further include a power component 1926 configured to perform power management of the apparatus 1900, a wired or wireless network interface 1950 configured to connect the apparatus 1900 to a network, and an input/output (I/O) interface 1958. The device 1900 may operate based on an operating system stored in memory 1932, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, or the like.
Other embodiments of the application will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any variations, uses, or adaptations of the application following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the application pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It is to be understood that the application is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Claims (9)
1. An information processing method, which is applied to a LoRa terminal device, the method comprising:
executing the downlink control instruction under the condition that the downlink control instruction sent by the internet of things platform is received through the LoRa gateway equipment, and obtaining an execution result;
updating the state information of the LoRa terminal equipment based on the execution result;
under the condition that the current moment is determined to belong to a time period outside the heartbeat period of the uploaded heartbeat data, synchronizing updated state information to the Internet of things platform through the LoRa gateway equipment;
wherein the heartbeat data includes: data of reporting state information is carried out according to the heartbeat period; wherein,,
under the condition that the current moment is determined to belong to a time period outside the heartbeat period of the uploaded heartbeat data, synchronizing updated state information to the internet of things platform through the LoRa gateway device, wherein the method comprises the following steps:
Generating a response message under the condition that the current moment is determined to belong to a time period outside the heartbeat period of the uploaded heartbeat data and the LoRa terminal equipment successfully executes the downlink control instruction; carrying the updated state information to the Internet of things platform through the response message;
or,
generating an indication signal under the condition that the current moment is determined to belong to a time period outside the heartbeat period of the uploaded heartbeat data; the indicating signal is sent to the Internet of things platform through the LoRa gateway equipment, so that the Internet of things platform generates an acquisition instruction according to the indicating signal; and after receiving the acquisition instruction, the LoRa terminal equipment synchronizes the updated state information to the Internet of things platform through the LoRa gateway equipment.
2. The method according to claim 1, wherein the method further comprises:
and under the condition that the current moment belongs to the heartbeat period of uploading heartbeat data, sending the heartbeat data carrying the updated state information to the Internet of things platform through the LoRa gateway equipment.
3. The method of claim 1, wherein the synchronizing, by the LoRa gateway device, the updated state information to the internet of things platform after receiving the acquisition instruction, comprises:
After receiving the acquisition instruction, the LoRa terminal equipment generates virtual data according to the updated state information; wherein the virtual data is used to characterize: the LoRa terminal equipment updates the state information based on the execution result;
and sending the virtual data to the Internet of things platform, so that the Internet of things platform updates the state information of the LoRa terminal equipment stored on the Internet of things platform based on the virtual data.
4. An information processing method is characterized by being applied to an internet of things platform, and comprises the following steps:
transmitting a downlink control instruction to the LoRa terminal equipment through the LoRa gateway equipment;
receiving updated state information synchronized by the LoRa terminal equipment through the LoRa gateway equipment; wherein the updated state information is: the LoRa terminal equipment synchronizes to the Internet of things platform under the condition that the current moment is determined to belong to a time period outside the heartbeat period of the uploaded heartbeat data;
updating the state information of the LoRa terminal equipment stored on the Internet of things platform based on the updated state information; wherein,,
the receiving, by the LoRa gateway device, updated state information synchronized by the LoRa terminal device includes:
Receiving a response message carrying the updated state information sent by the LoRa terminal equipment through the LoRa gateway equipment; analyzing the updated state information from the response message;
or,
the Internet of things platform sends an acquisition instruction to the Internet of things platform through the LoRa gateway equipment under the condition that the Internet of things platform receives the indication signal sent by the LoRa terminal equipment; the acquiring instruction is used for acquiring state information of the LoRa terminal equipment after updating based on the downlink control instruction; receiving virtual data sent by the LoRa terminal equipment through the LoRa gateway equipment; and analyzing the updated state information from the virtual data.
5. The method according to claim 4, wherein the method further comprises:
receiving heartbeat data sent by the LoRa terminal equipment through the LoRa gateway equipment;
and analyzing the updated state information from the heartbeat data.
6. An information processing apparatus, characterized by being applied to a LoRa terminal device, comprising:
the execution module is configured to execute the downlink control instruction under the condition that the downlink control instruction sent by the internet of things platform is received through the LoRa gateway equipment, so as to obtain an execution result;
The first updating module is configured to update the state information of the LoRa terminal equipment based on the execution result;
the synchronization module is configured to synchronize updated state information to the Internet of things platform through the LoRa gateway equipment under the condition that the current moment is determined to belong to a time period outside a heartbeat period of uploading heartbeat data; wherein the heartbeat data includes: data of reporting state information is carried out according to the heartbeat period; wherein,,
the synchronization module is configured to: generating a response message under the condition that the current moment is determined to belong to a time period outside the heartbeat period of the uploaded heartbeat data and the LoRa terminal equipment successfully executes the downlink control instruction; carrying the updated state information to the Internet of things platform through the response message;
or,
generating an indication signal under the condition that the current moment is determined to belong to a time period outside the heartbeat period of the uploaded heartbeat data; the indicating signal is sent to the Internet of things platform through the LoRa gateway equipment, so that the Internet of things platform generates an acquisition instruction according to the indicating signal; and after receiving the acquisition instruction, synchronizing the updated state information to the Internet of things platform through the LoRa gateway equipment.
7. An information processing apparatus, characterized in that it is applied to the platform of internet of things, comprising:
the first sending module is configured to send a downlink control instruction to the LoRa terminal equipment through the LoRa gateway equipment;
the first receiving module is configured to receive updated state information synchronized by the LoRa gateway equipment; wherein the updated state information is: the LoRa terminal equipment synchronizes to the Internet of things platform under the condition that the current moment is determined to belong to a time period outside the heartbeat period of the uploaded heartbeat data;
the second updating module is configured to update the state information of the LoRa terminal equipment stored on the Internet of things platform based on the updated state information; wherein,,
the first receiving module is configured to: receiving a response message carrying the updated state information sent by the LoRa terminal equipment through the LoRa gateway equipment; analyzing the updated state information from the response message;
or,
under the condition that an indication signal sent by the LoRa terminal equipment is received, sending an acquisition instruction to the Internet of things platform through the LoRa gateway equipment; the acquiring instruction is used for acquiring state information of the LoRa terminal equipment after updating based on the downlink control instruction; receiving virtual data sent by the LoRa terminal equipment through the LoRa gateway equipment; and analyzing the updated state information from the virtual data.
8. An information processing apparatus, characterized by comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: the steps of the information processing method of any of the preceding claims 1 to 5 are implemented when executed.
9. A non-transitory computer readable storage medium, which when executed by a processor of an information processing apparatus, causes the apparatus to perform the steps in the information processing method of any one of the preceding claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111555005.7A CN114390072B (en) | 2021-12-17 | 2021-12-17 | Information processing method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111555005.7A CN114390072B (en) | 2021-12-17 | 2021-12-17 | Information processing method, device and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114390072A CN114390072A (en) | 2022-04-22 |
CN114390072B true CN114390072B (en) | 2023-09-29 |
Family
ID=81196943
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111555005.7A Active CN114390072B (en) | 2021-12-17 | 2021-12-17 | Information processing method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114390072B (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103841587A (en) * | 2012-11-20 | 2014-06-04 | 中国移动通信集团江苏有限公司 | Method, apparatus, and system for realization of internet-of-things converged gateway |
CN105955821A (en) * | 2016-04-21 | 2016-09-21 | 北京小米移动软件有限公司 | Method and device for pre-reading |
CN109788068A (en) * | 2019-02-14 | 2019-05-21 | 腾讯科技(深圳)有限公司 | Heartbeat state information report method, device and equipment and computer storage medium |
CN109962827A (en) * | 2019-02-22 | 2019-07-02 | 生迪智慧科技有限公司 | Device link detection method, device, equipment and readable storage medium storing program for executing |
CN110417859A (en) * | 2019-06-20 | 2019-11-05 | 深圳绿米联创科技有限公司 | Apparatus control method, device, system, intelligent gateway and storage medium |
CN110753086A (en) * | 2019-09-12 | 2020-02-04 | 华为技术有限公司 | Heartbeat awakening method for application and terminal equipment |
CN111078267A (en) * | 2019-12-31 | 2020-04-28 | 深圳市优必选科技股份有限公司 | Robot state information updating method and device, server and storage medium |
CN112087454A (en) * | 2020-09-10 | 2020-12-15 | 上海顺舟智能科技股份有限公司 | Communication method, device, equipment and storage medium of Internet of things gateway equipment |
CN112165413A (en) * | 2020-09-27 | 2021-01-01 | 海尔优家智能科技(北京)有限公司 | Equipment state reporting method and device and electronic device |
CN112616178A (en) * | 2020-12-30 | 2021-04-06 | 武汉慧联无限科技有限公司 | Energy consumption management method and device, electronic equipment and storage medium |
CN113242611A (en) * | 2021-05-18 | 2021-08-10 | 展讯通信(上海)有限公司 | Method and device for adjusting PoC heartbeat packet sending interval |
CN113315684A (en) * | 2021-07-30 | 2021-08-27 | 武汉中科通达高新技术股份有限公司 | Communication management method and device, electronic equipment and storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7370194B2 (en) * | 2002-06-10 | 2008-05-06 | Microsoft Corporation | Security gateway for online console-based gaming |
US20110047253A1 (en) * | 2009-08-19 | 2011-02-24 | Samsung Electronics Co. Ltd. | Techniques for controlling gateway functionality to support device management in a communication system |
CN110389815B (en) * | 2018-04-18 | 2023-09-12 | 阿里巴巴集团控股有限公司 | Task processing method, device and system |
-
2021
- 2021-12-17 CN CN202111555005.7A patent/CN114390072B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103841587A (en) * | 2012-11-20 | 2014-06-04 | 中国移动通信集团江苏有限公司 | Method, apparatus, and system for realization of internet-of-things converged gateway |
CN105955821A (en) * | 2016-04-21 | 2016-09-21 | 北京小米移动软件有限公司 | Method and device for pre-reading |
CN109788068A (en) * | 2019-02-14 | 2019-05-21 | 腾讯科技(深圳)有限公司 | Heartbeat state information report method, device and equipment and computer storage medium |
CN109962827A (en) * | 2019-02-22 | 2019-07-02 | 生迪智慧科技有限公司 | Device link detection method, device, equipment and readable storage medium storing program for executing |
CN110417859A (en) * | 2019-06-20 | 2019-11-05 | 深圳绿米联创科技有限公司 | Apparatus control method, device, system, intelligent gateway and storage medium |
CN110753086A (en) * | 2019-09-12 | 2020-02-04 | 华为技术有限公司 | Heartbeat awakening method for application and terminal equipment |
CN111078267A (en) * | 2019-12-31 | 2020-04-28 | 深圳市优必选科技股份有限公司 | Robot state information updating method and device, server and storage medium |
CN112087454A (en) * | 2020-09-10 | 2020-12-15 | 上海顺舟智能科技股份有限公司 | Communication method, device, equipment and storage medium of Internet of things gateway equipment |
CN112165413A (en) * | 2020-09-27 | 2021-01-01 | 海尔优家智能科技(北京)有限公司 | Equipment state reporting method and device and electronic device |
CN112616178A (en) * | 2020-12-30 | 2021-04-06 | 武汉慧联无限科技有限公司 | Energy consumption management method and device, electronic equipment and storage medium |
CN113242611A (en) * | 2021-05-18 | 2021-08-10 | 展讯通信(上海)有限公司 | Method and device for adjusting PoC heartbeat packet sending interval |
CN113315684A (en) * | 2021-07-30 | 2021-08-27 | 武汉中科通达高新技术股份有限公司 | Communication management method and device, electronic equipment and storage medium |
Non-Patent Citations (5)
Title |
---|
IoT-Based Smart Edge for Global Health: Remote Monitoring With Severity Detection and Alerts Transmission;Rahul Krishnan Pathinarupothi; P Durga; Ekanath Srihari Rangan;;《IEEE Internet of Things Journal》;第6卷(第2期);全文 * |
Rahul Krishnan Pathinarupothi * |
Towards Efficient Fine-Grained Access Control and Trustworthy Data Processing for Remote Monitoring Services in IoT;Yaxing Chen; Wenhai Sun; Ning Zhang; Qinghua Zheng; Wenjing Lou; Y. Thomas Hou;;《IEEE Transactions on Information Forensics and Security》;第14卷(第7期);全文 * |
基于Socket.IO的物联网网关实时双向通信系统;陈文艺;张霏;龙艳;;《西安邮电大学学报》;第22卷(第06期);全文 * |
智能家居应用开发技术分析与应用实践;徐龙杰; 应闻达;;《电信科学》;第31卷(第11期);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN114390072A (en) | 2022-04-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108831448B (en) | Method and device for controlling intelligent equipment through voice and storage medium | |
CN108520746B (en) | Method and device for controlling intelligent equipment through voice and storage medium | |
CN109155973B (en) | Wake-up method, wake-up apparatus, electronic device, and computer-readable storage medium | |
CN108564947B (en) | Method, apparatus and storage medium for far-field voice wake-up | |
CN108123855B (en) | Terminal control method and device | |
CN103986969B (en) | application management method, device and system | |
CN106385351B (en) | Control method and device of intelligent household equipment | |
CN111309218A (en) | Information display method and device and electronic equipment | |
CN110769395B (en) | Traffic-free service synchronization method and device | |
CN104219038A (en) | Method and device for synchronizing data | |
CN111966412A (en) | Method, device and storage medium for waking up terminal | |
CN108989062B (en) | Method, device, terminal, system and storage medium for updating group member data | |
CN109075856B (en) | Flight path configuration method and device | |
CN109302341B (en) | Instant messaging method, instant messaging device, electronic equipment and storage medium | |
CN109495769B (en) | Video communication method, terminal, smart television, server and storage medium | |
CN111385349B (en) | Communication processing method, communication processing device, terminal, server and storage medium | |
CN109040651B (en) | Video communication method and device | |
CN104618987B (en) | Access the method and device of network | |
CN106878654B (en) | Video communication method and device | |
CN114390072B (en) | Information processing method, device and storage medium | |
CN107172199B (en) | State updating method and device of mobile terminal | |
US20170180148A1 (en) | Method, device and system for intelligent household appliance to access multiple servers | |
CN108632391B (en) | Information sharing method and device | |
CN106850556A (en) | service access method, device and equipment | |
CN111025921A (en) | Local automation control method, local automation control device and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |