Variable two-dimensional code management method and system, and electronic device

By dynamically adjusting the RF power and channels of low-power networks in the community patrol system and building a dual-source open source network, the problems of low network reliability and variable QR code transmission efficiency in the existing technology are solved, and more efficient management and longer service life are achieved.

CN115190487BActive Publication Date: 2025-06-17泰康保险集团股份有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210773960.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-01
Publication Date
2025-06-17
Estimated Expiration
2042-07-01

AI Technical Summary

Technical Problem

In the prior art, when Bluetooth and Wifi technology are used in daily community patrols, the power consumption limitations of network security and inspection systems are not considered, resulting in low network reliability and variable QR code transmission efficiency, short management efficiency and service life.

Method used

By responding to the dynamic adjustment of the radio frequency power and channels of the low-power network by the cloud platform, the communication channel is synchronized; the variable QR code string sent by the cloud platform is received, the variable QR code is generated, and the client terminal equipment performs patrol tasks. The low-power network obtains the first subnetwork protocol and the second subnetwork protocol by performing target hierarchical processing of the basic network protocol in the gateway, and builds a dual-source open source network based on these protocols.

Benefits of technology

It improves the reliability of low-power networks and variable QR code transmission efficiency, extends the service life of variable QR code terminal equipment, reduces maintenance costs, and improves management efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115190487B_ABST
    Figure CN115190487B_ABST
Patent Text Reader

Abstract

The present disclosure provides a variable two-dimensional code management method, apparatus, and electronic device, relating to the field of computer technologies. The variable two-dimensional code management method includes: in response to the dynamic adjustment of the radio frequency power and channels of a low-power network by a cloud platform, synchronously adjusting the channels for communicating with the low-power network; receiving a variable two-dimensional code string sent by the cloud platform based on the adjusted low-power network, generating a variable two-dimensional code based on the variable two-dimensional code string, and having a client terminal device perform an inspection task based on the variable two-dimensional code. The technical solution of the embodiments of the present disclosure can avoid channel interference between low-power networks by dynamically adjusting the radio frequency power and channels of the low-power network, improve the reliability of the low-power network and the service life of the variable two-dimensional code, and further improve the traceability of performing the inspection task based on the variable two-dimensional code.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] With the development of Internet technology, it has become very important to ensure the refined operation and management of various elements such as residents, equipment, and environment in the community.

[0003] It has also become increasingly common to conduct refined operation and management of various elements in the community through daily inspections. However, most of the relevant daily inspections use Bluetooth and Wifi technologies, and based on network protocols, the image of the variable QR code is transmitted to the variable QR code terminal device, and then the user scans the image of the variable QR code displayed by the variable QR code terminal device to perform the inspection task. During this process, network security and power consumption limitations of the inspection system are not considered, resulting in low network reliability, low image transmission efficiency of the variable QR code, as well as low service life and management efficiency of the variable QR code.

[0004] It should be noted that the information disclosed in the above background art section is only used to enhance the understanding of the background of the present disclosure, and thus may include information that does not constitute the prior art known to those of ordinary skill in the art. Summary of the Invention

[0005] The purpose of the embodiments of the present disclosure is to provide a variable QR code management method, a variable QR code management system, and an electronic device, so as to at least to some extent overcome the problems of low variable QR code transmission efficiency caused by network reliability, as well as low management efficiency and short service life of the variable QR code terminal device.

[0006] Other features and advantages of the present disclosure will become apparent through the following detailed description, or will be learned in part through the practice of the present disclosure.

[0007] According to the first aspect of the embodiments of the present disclosure, a variable QR code management method is provided, which is applied to a variable QR code terminal device, and includes: in response to the dynamic adjustment of the radio frequency power and channel of the low-power network by the cloud platform, synchronously adjusting the channel for communicating with the low-power network; receiving the variable QR code string sent by the cloud platform based on the adjusted low-power network, generating a variable QR code based on the variable QR code string, and having the customer terminal device perform the inspection task based on the variable QR code; the low-power network is a dual-source code network obtained by performing target hierarchical processing on the basic network protocol in the gateway to obtain the first sub-network protocol and the second sub-network protocol of the basic network protocol, and based on the first network protocol and the second sub-network protocol; the first sub-network protocol is applied to the virtual machine in the gateway, and the second sub-network protocol is applied to the communication firmware of the gateway.

[0008] In some exemplary embodiments of the present disclosure, based on the foregoing solution, the method further includes: monitoring radio frequency parameter information through the gateway, and invoking a dedicated data transmission protocol between the virtual machine and the cloud platform to send the radio frequency parameter information to the cloud platform through the dedicated data transmission protocol, and the cloud platform adjusts the radio frequency power of the low-power network according to the radio frequency parameter information.

[0009] In some exemplary embodiments of the present disclosure, based on the foregoing solution, the method further includes: invoking a channel division table through the cloud platform, and listening to the used channel information obtained by the interaction between the gateway and adjacent gateways, to determine idle channel information from the channel division table according to the used channel information, and using the idle channel that matches the idle channel information as the adjusted channel of the low-power network.

[0010] In some exemplary embodiments of the present disclosure, based on the foregoing solution, synchronously adjusting the channel communicating with the low-power network in response to the dynamic adjustment of the radio frequency power and channel of the low-power network by the cloud platform includes: in response to the dynamic adjustment of the radio frequency power and channel of the low-power network by the cloud platform, obtaining channel information corresponding to the adjusted channel of the low-power network; parsing the pseudo-random parameters included in the variable two-dimensional code string, and calculating and updating the hopping data of the variable two-dimensional code based on the pseudo-random parameters, and adjusting the hopping data according to the channel information to synchronously adjust the channel communicating with the low-power network.

[0011] In some exemplary embodiments of the present disclosure, based on the foregoing solution, the method further includes: regularly updating the variable two-dimensional code string through the cloud platform, and sending the updated variable two-dimensional code string to the gateway, and the gateway generates an updated variable two-dimensional code according to the updated variable two-dimensional code string to realize real-time update of the variable two-dimensional code.

[0012] According to the second aspect of the embodiments of the present disclosure, there is provided a variable two-dimensional code management method, which is characterized in that it is applied to a customer terminal device and includes: in response to a scanning operation on a variable two-dimensional code, performing an inspection task, and invoking a random inspection form corresponding to the inspection task; recording the filling operation on the random inspection form, and generating an inspection report based on the filling operation; sending the inspection report to the cloud platform, and a smart fault diagnosis module of the cloud platform diagnoses the inspection report and generates a diagnosis result of the inspection report.

[0013] In some exemplary embodiments of the present disclosure, based on the foregoing solution, the method further includes: in response to an image upload operation, acquiring location information, and performing verification processing on the image and the location information; if it is detected that the verification of the image and the location information passes, generating the random inspection form.

[0014] In some exemplary embodiments of the present disclosure, based on the foregoing solution, the method further includes: receiving the diagnostic result sent by the intelligent fault diagnosis module, and when it is detected that there is error data of the inspection report form in the diagnostic result, generating a reminder message for the error data based on the diagnostic result; in response to a modification operation, and recording modification information corresponding to the reminder message to update the diagnostic result through the modification information.

[0015] According to the third aspect of the embodiments of the present disclosure, there is provided a variable two-dimensional code management device, which is applied to a variable two-dimensional code terminal device, and includes: a channel synchronization adjustment module, configured to synchronously adjust a channel for communicating with the low-power network in response to dynamic adjustment of the radio frequency power and the channel of the low-power network by a cloud platform; a variable two-dimensional code generation module, configured to receive a variable two-dimensional code string sent by the cloud platform based on the adjusted low-power network, generate a variable two-dimensional code based on the variable two-dimensional code string, and enable a customer terminal device to perform an inspection task based on the variable two-dimensional code; the low-power network is obtained by performing target hierarchical processing on a basic network protocol in a gateway to obtain a first sub-network protocol and a second sub-network protocol of the basic network protocol, and obtaining a dual-source code open-source network based on the first network protocol and the second sub-network protocol, and using the dual-source code open-source network as the low-power network; the first sub-network protocol is applied to a virtual machine in the gateway, and the second sub-network protocol is applied to communication firmware of the gateway.

[0016] In some exemplary embodiments of the present disclosure, based on the foregoing solution, the variable two-dimensional code management device further includes a radio frequency power adjustment module, and the radio frequency power adjustment module is configured to monitor radio frequency parameter information through the gateway, and call a dedicated data transmission protocol between the virtual machine and the cloud platform to send the radio frequency parameter information to the cloud platform through the dedicated data transmission protocol, and enable the cloud platform to adjust the radio frequency power of the low-power network according to the radio frequency parameter information.

[0017] In some exemplary embodiments of the present disclosure, based on the foregoing solution, the method variable two-dimensional code management device further includes a channel adjustment module, and the channel adjustment module is configured to call a channel division table through the cloud platform, and monitor the used channel information obtained by the interaction between the gateway and adjacent gateways, so as to determine idle channel information from the channel division table according to the used channel information, and use the idle channel that matches the idle channel information as the adjusted channel of the low-power network.

[0018] In some exemplary embodiments of the present disclosure, based on the foregoing solution, the channel synchronization adjustment module includes a channel synchronization adjustment unit, and the synchronization adjustment unit is configured to, in response to the dynamic adjustment of the radio frequency power and channel of the low-power network by the cloud platform, obtain channel information corresponding to the adjusted channel of the low-power network; parse the pseudo-random parameters included in the variable two-dimensional code string, and calculate and update the frequency hopping data of the variable two-dimensional code based on the pseudo-random parameters, and adjust the frequency hopping data according to the channel information, so as to synchronously adjust the channel for communicating with the low-power network.

[0019] In some exemplary embodiments of the present disclosure, based on the foregoing solution, the variable two-dimensional code generation module includes a variable two-dimensional code update unit, and the variable two-dimensional code update unit is configured to update the variable two-dimensional code string regularly through the cloud platform, and send the updated variable two-dimensional code string to the gateway, and the gateway generates an updated variable two-dimensional code according to the updated variable two-dimensional code string, so as to realize the real-time update of the variable two-dimensional code.

[0020] According to a fourth aspect of the embodiments of the present disclosure, there is provided a variable two-dimensional code management device, which is applied to a customer terminal device and includes: a random inspection form calling module, configured to execute an inspection task in response to a scanning operation of a variable two-dimensional code, and call a random inspection form corresponding to the inspection task; an inspection report form generation module, configured to record a filling operation of the random inspection form, and generate an inspection report form based on the filling operation; a diagnosis result generation module, configured to send the inspection report form to the cloud platform, and the intelligent fault diagnosis module of the cloud platform diagnoses the inspection report form and generates a diagnosis result of the inspection report form.

[0021] In some exemplary embodiments of the present disclosure, based on the foregoing solution, the random inspection form calling module includes a verification unit, and the verification unit is configured to obtain positioning information in response to an image upload operation, and perform verification processing on the image and the positioning information; if it is detected that the image and the positioning information pass the verification, generate the random inspection form.

[0022] In some exemplary embodiments of the present disclosure, based on the foregoing solution, the diagnostic result generation module includes a diagnostic result update unit, and the diagnostic result update unit is configured to: receive the diagnostic result sent by the intelligent fault diagnosis module, and when detecting that there is incorrect data in the inspection report form in the diagnostic result, generate a reminder message for the incorrect data based on the diagnostic result; respond to a modification operation, and record modification information corresponding to the reminder message to update the diagnostic result through the modification information.

[0023] According to a fifth aspect of the embodiments of the present disclosure, there is provided a variable two-dimensional code management system, including: a variable two-dimensional code terminal device for periodically displaying a variable two-dimensional code; a cloud platform for periodically sending a variable two-dimensional code string and adjusting the radio frequency power and channel of a low-power network for communicating with the variable two-dimensional code terminal device based on radio frequency parameter information; a gateway for generating the variable two-dimensional code based on the variable two-dimensional code string and monitoring the radio frequency parameter information of the variable two-dimensional code device and the low-power network; a customer terminal device for performing an inspection task and submitting an inspection report form corresponding to the inspection task to the cloud platform; an intelligent fault diagnosis module for generating a diagnostic result of the inspection report form and updating the diagnostic result.

[0024] According to a sixth aspect of the embodiments of the present disclosure, there is provided an electronic device, including: a processor; and a memory, on which computer-readable instructions are stored, and when the computer-readable instructions are executed by the processor, the variable two-dimensional code management method described in any one of the above is implemented.

[0025] According to a seventh aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the variable two-dimensional code management method described in any one of the above is implemented.

[0026] The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:

[0027] In the variable two-dimensional code management method of the exemplary embodiments of the present disclosure, in response to the dynamic adjustment of the radio frequency power and channels of the low-power network by the cloud platform, the channels communicating with the low-power network are synchronously adjusted; a variable two-dimensional code string sent by the cloud platform based on the adjusted low-power network is received, a variable two-dimensional code is generated based on the variable two-dimensional code string, and the customer terminal device performs an inspection task based on the variable two-dimensional code. On the one hand, the video power and channels of the low-power network can be dynamically adjusted by the cloud platform to avoid channel conflicts between low-power networks and optimize the radio frequency parameters of the low-power network, improving the reliability of the low-power network; on the other hand, when it is detected that the cloud platform dynamically adjusts the video power and channels of the low-power network, the channels communicating with the low-power network can be synchronously adjusted to improve the transmission efficiency of the variable two-dimensional code; on the further hand, the variable two-dimensional code string can be transmitted through the low-power network, reducing the performance loss of the variable two-dimensional code terminal, thereby reducing the maintenance cost of the variable two-dimensional code terminal and increasing the service life of the variable two-dimensional code terminal device.

[0028] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present disclosure. Brief Description of the Drawings

[0029] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing embodiments consistent with the present disclosure, and are used together with the specification to explain the principles of the present disclosure. Obviously, the accompanying drawings in the following description are only some embodiments of the present disclosure, and those of ordinary skill in the art can obtain other drawings according to these drawings without creative efforts. In the drawings:

[0030] Figure 1 Schematically shows a schematic diagram of the process of the variable two-dimensional code management method according to some embodiments of the present disclosure;

[0031] Figure 2 Schematically shows a schematic diagram of the architecture of the low-power network according to some embodiments of the present disclosure;

[0032] Figure 3 Schematically shows a schematic diagram of the process of the channel adjustment method according to some embodiments of the present disclosure;

[0033] Figure 4 Schematically shows a schematic diagram of the timing of variable two-dimensional code update according to some embodiments of the present disclosure;

[0034] Figure 5 Schematically shows a schematic diagram of the process of another variable two-dimensional code management method according to some embodiments of the present disclosure;

[0035] Figure 6Schematically shows a schematic diagram of a random inspection form generation method flow according to some embodiments of the present disclosure;

[0036] Figure 7 Schematically shows a schematic diagram of a diagnostic result update method flow according to some embodiments of the present disclosure;

[0037] Figure 8 Schematically shows a schematic diagram of a variable two-dimensional code management device according to some embodiments of the present disclosure;

[0038] Figure 9 Schematically shows a schematic diagram of another variable two-dimensional code management device according to some embodiments of the present disclosure;

[0039] Figure 10 Schematically shows a schematic diagram of a variable two-dimensional code management system according to some embodiments of the present disclosure;

[0040] Figure 11 Schematically shows a schematic diagram of the structure of a computer system of an electronic device according to some embodiments of the present disclosure;

[0041] Figure 12 Schematically shows a schematic diagram of a computer-readable storage medium according to some embodiments of the present disclosure.

[0042] In the drawings, the same or corresponding reference numerals indicate the same or corresponding parts. Detailed Description of Specific Embodiments

[0043] Example embodiments will now be described more fully with reference to the accompanying drawings. However, the example embodiments can be implemented in various forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be more complete and comprehensive, and will fully convey the concept of the example embodiments to those skilled in the art.

[0044] In addition, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of the embodiments of the present disclosure. However, those skilled in the art will realize that the technical solutions of the present disclosure may be practiced without one or more of the specific details, or may be implemented using other methods, components, devices, steps, etc. In other cases, well-known methods, devices, implementations, or operations are not shown or described in detail to avoid obscuring aspects of the present disclosure.

[0045] In addition, the accompanying drawings are only schematic diagrams and are not necessarily drawn to scale. The block diagrams shown in the accompanying drawings are only functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0046] In the related traditional variable two-dimensional code system for the inspection field, a low-power communication protocol is adopted to extend the service life of variable two-dimensional code terminal devices. However, most of them transmit data in the form of a mesh network, which not only increases the complexity of the routing protocol but also easily causes network congestion. Generally, after the data transmission exceeds two hops, the transmission efficiency will be greatly reduced. In addition, different enterprises mostly use private protocols to build variable two-dimensional code systems, which increases the difficulty of device interoperability within each enterprise and the complexity of unified management of heterogeneous networks of each enterprise. At the same time, during the process of building variable two-dimensional code systems by each enterprise, they still cannot break through the limitations of the network protocol itself, and there are still conflicts in the network channels in each variable two-dimensional code system, making it difficult to guarantee the reliability of the network.

[0047] In the present exemplary embodiment, first, a variable two-dimensional code management method is provided. This variable two-dimensional code management method can be applied to variable two-dimensional code terminal devices. The variable two-dimensional code terminal device includes a data transmission module and a data display module. Figure 1 Schematically shows a schematic diagram of the variable two-dimensional code management method flow according to some embodiments of the present disclosure. Refer to Figure 1 As shown, the variable two-dimensional code management method may include the following steps:

[0048] In step S110, in response to the dynamic adjustment of the radio frequency power and channel of the low-power network by the cloud platform, synchronously adjust the channel communicating with the low-power network;

[0049] In step S120, receive the variable two-dimensional code string sent by the cloud platform based on the adjusted low-power network, generate a variable two-dimensional code based on the variable two-dimensional code string, and execute an inspection task by the customer terminal device based on the variable two-dimensional code; the low-power network is a dual-source code open-source network obtained by performing target hierarchical processing on the basic network protocol in the gateway to obtain the first sub-network protocol and the second sub-network protocol of the basic network protocol, and is based on the first network protocol and the second sub-network protocol; the first sub-network protocol is applied to the virtual machine in the gateway, and the second sub-network protocol is applied to the communication firmware of the gateway.

[0050] According to the variable two-dimensional code management method in this exemplary embodiment, on the one hand, the video power and channels of the low-power network can be dynamically adjusted through the cloud platform to avoid channel conflicts between low-power networks and optimize the radio frequency parameters of the low-power network, thereby improving the reliability of the low-power network; on the other hand, when it is detected that the cloud platform dynamically adjusts the video power and channels of the low-power network, the channels for communicating with the low-power network can be synchronously adjusted to improve the transmission efficiency of the variable two-dimensional code; on the further hand, the variable two-dimensional code string can be transmitted through the low-power network, reducing the performance loss of the variable two-dimensional code terminal, thereby reducing the maintenance cost of the variable two-dimensional code terminal and increasing the service life of the variable two-dimensional code terminal device.

[0051] Next, the variable two-dimensional code management method in this exemplary embodiment will be further described.

[0052] In step S110, in response to the dynamic adjustment of the radio frequency power and channels of the low-power network by the cloud platform, the channels for communicating with the low-power network are synchronously adjusted.

[0053] In an exemplary embodiment of the present disclosure, the low-power network may refer to a star network based on an optimized low-power communication protocol. For example, the low-power network may be a star network based on the optimized Zigbee protocol, or the low-power network may be a star network based on the optimized LoRaWAN (Low Power Wide Area Network) protocol. Of course, the low-power network may also be a star network based on other optimized low-power communication protocols, and this exemplary embodiment does not make special limitations in this regard.

[0054] Preferably, the low-power network can be pre-constructed. For example, the Zigbee network protocol can be modified. Specifically, the part above the network layer of Zigbee can be stripped from the protocol, and the stripped network layer and application layer can be run on the Linux virtual machine of the MCU (Microcontroller Unit), while the part below the network layer is applied to the physical layer communication firmware of the MCU. By layer-dividing the Zigbee network protocol, a low-power network with dual-source open source can be constructed, and the adaptation of the non-open source program can be completed through the Linux virtual machine of the MCU to create an MCU virtual machine process on Linux to uniformly manage each gateway.

[0055] After the construction of the low-power network is completed, the radio frequency power and channels of the low-power network can be adjusted through the cloud platform. For example, when the gateway is idle, the gateway can automatically monitor the radio frequency information of the neighborhood variable two-dimensional code terminal devices and the low-power network, and send the monitored radio frequency information to the cloud platform in the form of a heartbeat through a dedicated data transfer protocol between the virtual machine and the cloud platform. The cloud platform then dynamically adjusts the radio frequency power of the low-power network. At the same time, the cloud platform can combine the channel division list and the used channel information monitored by the gateway to determine the idle channel information from the channel division list, and complete the dynamic channel adjustment of the low-power network according to the idle channel that matches the idle channel information. Furthermore, after the variable two-dimensional code terminal device detects the dynamic adjustment of the radio frequency power and channels of the low-power network by the cloud platform, it can synchronously adjust the channels for communicating with the low-power network. For example, a frequency hopping algorithm can be added to the variable two-dimensional code terminal device. After the variable two-dimensional code terminal device is awakened, it can parse the pseudo-random parameters included in the variable two-dimensional code string, and calculate the frequency hopping parameters for waking up the variable two-dimensional code terminal device next based on the pseudo-random parameters. Combining the frequency hopping parameters and the channel information after the adjustment of the low-power network, the channels for communicating with the low-power network are synchronously adjusted.

[0056] In step S120, receive the variable two-dimensional code string sent by the cloud platform based on the adjusted low-power network, generate a variable two-dimensional code based on the variable two-dimensional code string, and have the customer terminal device perform an inspection task based on the variable two-dimensional code; the low-power network is a dual-source code open-source network obtained by performing target hierarchical processing on the basic network protocol in the gateway to obtain the first sub-network protocol and the second sub-network protocol of the basic network protocol, and based on the first network protocol and the second sub-network protocol; the first sub-network protocol is applied to the virtual machine in the gateway, and the second sub-network protocol is applied to the communication firmware of the gateway.

[0057] In an exemplary embodiment of the present disclosure, the variable two-dimensional code string may refer to a random string for generating a variable two-dimensional code regularly issued by the cloud platform. For example, the variable two-dimensional code string may be a random string for generating a variable two-dimensional code that is regularly issued by the cloud platform and has been subjected to binary conversion. Of course, the variable two-dimensional code string may also be a random string for generating a variable two-dimensional code that is regularly issued by the cloud platform and has been subjected to other base conversions. This exemplary embodiment does not make special limitations on this.

[0058] Specifically, a variable QR code string can be generated and verified through a cloud platform, and the variable QR code string can be updated regularly. The gateway generates a variable QR code based on the variable QR code string, and the generated variable QR code is sent to the variable QR code terminal device in real time. Furthermore, the inspection personnel can scan the variable QR code displayed on the variable QR code terminal device through a customer terminal device such as a mobile phone to execute the inspection task and generate a traceable inspection record matching the inspection task.

[0059] The basic network protocol can refer to the gateway protocol used in the variable QR code system. For example, the basic network protocol can be the Zigbee network protocol used in the variable QR code system, or the LoRaWAN network protocol used in the variable QR code system. Of course, the basic network protocol can also be other network protocols used in the variable QR code system, and this example embodiment does not make special limitations on this. The first sub-network protocol can refer to the network protocol of the network layer and application layer stripped from the Zigbee network protocol; the second sub-network protocol can refer to the network protocol of the physical layer and link layer in the Zigbee network protocol.

[0060] A star-shaped low-power network with dual-source code open source can be obtained by modifying the structure of the basic network protocol. For example, target layering processing can be performed on the Zigbee network protocol to strip the network protocol including the network layer and application layer from the Zigbee network protocol, and use the network protocol of the network layer and application layer as the first sub-network protocol, and run the first sub-network protocol in the Linux virtual machine of the gateway; at the same time, use the network protocol including the physical layer and link layer in the Zigbee network protocol as the second sub-network protocol, and run the second sub-network protocol in the communication firmware of the gateway. By performing target layering processing on the Zigbee network protocol, the adaptation of the non-open source program can be completed, the complexity of the low-power network routing can be reduced, and the possibility of low-power network congestion can also be reduced, thereby improving the efficiency of the application and management of the low-power network.

[0061] Preferably, a variable two-dimensional code system based on a low-power network can be constructed, which consists of a cloud platform, a gateway, variable two-dimensional code terminal devices, and customer terminal devices. The gateway is mainly composed of a linux system and a Zigbee host control interface, and the Zigbee host control interface card is also composed of a tlsr8258 (low-power chip). Furthermore, the cloud platform can be responsible for managing the variable two-dimensional code terminal devices, the gateway, and the low-power network that provides a communication foundation between the variable two-dimensional code terminal devices, the cloud platform, and the customer terminal devices. At the same time, the variable two-dimensional code strings corresponding to each variable two-dimensional code terminal device are updated regularly. Each gateway generates a variable two-dimensional code according to the updated variable two-dimensional code string issued by the cloud platform, and then distributes the generated variable two-dimensional code to the variable two-dimensional code terminal devices corresponding to each gateway, forming a closed-loop variable two-dimensional code system. It can not only adjust the radio frequency power and channels of the low-power network through the cloud platform, thereby improving the stability of the network and the transmission efficiency of the variable two-dimensional code, but also improve the management efficiency of the cloud platform for the low-power network, variable two-dimensional code terminal devices, and gateways, thus improving the service life of the variable two-dimensional code terminal devices and the traceability of the inspection tasks.

[0062] Figure 2 Schematically shows an architecture diagram of a low-power network according to some embodiments of the present disclosure. Refer to Figure 2 As shown, the low-power network architecture 200 may include a first sub-network protocol 210 applied to a virtual machine of the gateway, and a second sub-network protocol 220 applied to the communication firmware of the gateway.

[0063] Among them, the first sub-network protocol 210 can mainly be used to control the operation of non-code programs on the virtual machines of the gateway; the first sub-network protocol 210 can include a network layer and an application layer; the network layer mainly includes an MCU virtual machine and an NWL (Network Layer); the MCU virtual machine is mainly used to run non-code programs, and the NWL is mainly used to define the interface between the network layer and the application layer and provide a data service interface for the application layer; the application layer mainly includes APS (Application Support Sublayer protocol), Application Framework, ZDO (Zigebee Device Objection), and Linux device network management; APS is mainly used to support Application profile, cluster IDs, and endpoints; ZDO is mainly used to provide a common interface to implement the management of application objects. The second sub-network protocol 220 can include a Physical layer, a Medium Access Control Layer, and a Hardware Abstract Layer; the Physical layer is mainly used to define the data service interface and management service interface between the physical layer and the medium control layer, and is responsible for data modulation, sending and receiving, idle channel evaluation, channel energy detection, and link quality indication. The Medium Access Control Layer is mainly used to define the data service interface and management service interface between the medium access control layer and the network layer, and is responsible for medium access control, error control, etc.; the Hardware Abstract Layer is mainly used to abstract the application, hide the hardware interface details of a specific platform, and provide a virtual hardware platform for the operating system.

[0064] In an exemplary embodiment of the present disclosure, the radio frequency parameter information can be monitored through the gateway, and a dedicated data transmission protocol between the virtual machine and the cloud platform can be called to send the radio frequency parameter information to the cloud platform through the dedicated data transmission protocol, and the cloud platform can adjust the radio frequency power of the low-power network according to the radio frequency parameter information.

[0065] Among them, the radio frequency parameter information may refer to the radio frequency-related parameter information within the monitoring range of the gateway. For example, the radio frequency parameter information may be the RSSI (Received Signal Strength Indicator) of the neighborhood variable two-dimensional code terminal device and the network monitored by the gateway, the radio frequency parameter information may be the noise intensity of the neighborhood variable two-dimensional code terminal device and the network monitored by the gateway. Of course, the radio frequency parameter information may also be other radio frequency-related working information of the neighborhood monitored by the gateway. This embodiment of the present invention does not make special limitations on this.

[0066] The dedicated data transmission protocol may refer to a protocol used to provide data transmission security for the cloud platform and the gateway. For example, the dedicated data transmission protocol may be the capwap (control and provisioning of wireless access points protocol specification) protocol used to provide data transmission security for the cloud platform and the gateway, and the dedicated data transmission protocol may also be the mqtt (message queuing telemetry transport) protocol used to provide data transmission security for the cloud platform and the gateway. Of course, the dedicated data transmission protocol may also be other protocols used to provide data transmission security for the cloud platform and the gateway. This embodiment of the present invention does not make special limitations on this.

[0067] Radio frequency scanning can be performed by the gateway when it is idle to collect the radio frequency parameter information of the neighborhood variable two-dimensional code terminal device and the network. Furthermore, the dedicated data transmission protocol between the cloud platform and the virtual machine of the gateway, such as the capwap protocol, can be invoked. The radio frequency parameter information collected by the gateway is forwarded to the cloud platform through the capwap protocol, and the cloud platform adjusts the radio frequency power of the low-power network. For example, a radio frequency power threshold of the low-power network is preset. When it is detected that the radio frequency power of the low-power network is greater than the preset threshold, the radio frequency power of the low-power network is adjusted downwards to enhance the confidentiality of data transmission between the cloud platform and the gateway. At the same time, the cloud platform can adjust and optimize the overall radio frequency power of the low-power network with reference to the radio frequency parameter information monitored by the gateway, improving the management efficiency of the radio frequency power of the low-power network.

[0068] For example, during the process of the cloud platform adjusting the radio frequency power of the low-power network according to the radio frequency parameter information, the cloud platform can dynamically allocate reasonable power to the entire Zigbee network according to the RSSI radiation parameters of all devices around the gateway during the operation of the entire Zigbee network, so that there is no interference between the Zigbee network end node devices and between the gateways in the entire Zigbee network. Just like in a hall, many people can have pairwise conversations, which can ensure that those who want to listen can hear and also ensure that those who don't want to listen are minimally disturbed.

[0069] In an exemplary embodiment of the present disclosure, the cloud platform can be used to call the channel division table and monitor the used channel information obtained by the interaction between the gateway and adjacent gateways, so as to determine the idle channel information from the channel division table according to the used channel information, and use the idle channel that matches the idle channel information as the adjusted channel of the low-power network.

[0070] Among them, the channel division table can refer to a wireless communication channel division standard table. For example, the channel division table can be a channel bandwidth division standard table of wireless communication channels, or the channel division table can also be a center frequency division standard table of wireless communication channels. Of course, the channel division table can also be other information division standard tables of wireless communication channels. This exemplary embodiment does not make special limitations on this.

[0071] The used channel information can refer to the information corresponding to non-idle channels in the low-power network. For example, the used channel information can be the information corresponding to non-idle channels managed by each gateway in the low-power network itself, or the used channel information can also be the multi-non-idle channel information obtained by each adjacent gateway in the low-power network by interacting the information corresponding to non-idle channels managed by itself with the information corresponding to non-idle channels of other gateways. Of course, the used channel information can also be other information corresponding to non-idle channels in the low-power network. This exemplary embodiment does not make special limitations on this.

[0072] The cloud platform can be used to call the channel division table and monitor the used channel information obtained by the interaction between adjacent gateways, so as to determine the idle channel information other than the used channel information from the channel division table, and use the idle channel that matches the idle channel information as the adjusted channel of the low-power network. Then, the cloud platform can dynamically adjust the channels of the entire network to minimize the interference of neighboring channels, provide guarantee for the reliability of the low-power network, thereby improving the reliability of the low-power network and the stability of data transmission.

[0073] Figure 3 Schematically shows a schematic diagram of the channel adjustment method flow according to some embodiments of the present disclosure. Refer to Figure 3 As shown, the channel adjustment method may include the following steps:

[0074] In step S310, in response to the dynamic adjustment of the radio frequency power and channels of the low-power network by the cloud platform, obtain the channel information corresponding to the adjusted channel of the low-power network.

[0075] In step S320, parse the pseudo-random parameters included in the variable two-dimensional code string, calculate and update the hopping data of the variable two-dimensional code based on the pseudo-random parameters, and adjust the hopping data according to the channel information to synchronously adjust the channels for communicating with the low-power network.

[0076] Among them, the pseudo-random parameters may refer to the random configuration parameters included in the variable two-dimensional code string. For example, the pseudo-random parameters may be the pseudo-random configuration parameters of the two-dimensional code valid time and two-dimensional code type included in the variable two-dimensional code string. The pseudo-random parameters may also be the pseudo-random configuration parameters of the two-dimensional code detailed information and scene value included in the variable two-dimensional code string. Of course, the pseudo-random parameters may also be other pseudo-random configuration parameters included in the variable two-dimensional code string. This example embodiment does not make special limitations on this.

[0077] The hopping data may refer to the hopping index data of the variable two-dimensional code. For example, the hopping data may be the hopping serial number of the variable two-dimensional code, the starting hopping frequency point of the variable two-dimensional code. Of course, the hopping data may also be other hopping index data of the variable two-dimensional code. This example embodiment does not make special limitations on this.

[0078] It is possible to parse the pseudo-random parameters included in the variable two-dimensional code string sent by the cloud platform, and calculate the hopping parameters of the current variable two-dimensional code terminal device when it is woken up next time based on the pseudo-random parameters, so as to adjust the hopping parameters of the variable two-dimensional code terminal device when it is woken up next time according to the adjusted channel information of the low-power network, realize the synchronization of the channel adjustment of the variable two-dimensional code terminal and the channel adjustment of the low-power network, and further avoid the interference of adjacent frequency points on the current variable two-dimensional code terminal device and the low-power network, and maintain the reliable communication between the variable two-dimensional code terminal device and the cloud platform.

[0079] In an example embodiment of the present disclosure, the variable two-dimensional code string can be updated regularly by the cloud platform, and the updated variable two-dimensional code string is sent to the gateway, and the gateway generates an updated variable two-dimensional code according to the updated variable two-dimensional code string to realize the real-time update of the variable two-dimensional code.

[0080] Among them, the variable two-dimensional code string can be updated regularly by the cloud platform, and the updated variable two-dimensional code string is sent to the gateway. The gateway generates an updated variable two-dimensional code string according to the updated variable two-dimensional code string, and sends the updated variable two-dimensional code string to the variable two-dimensional code terminal device to wake up the variable two-dimensional code terminal device.

[0081] Optionally, the cloud platform randomly generates a variable two-dimensional code for each inspection point. The variable two-dimensional code is randomly updated after each inspection, and the update frequency of each variable two-dimensional code can be flexibly configured according to different scenarios and requirements of inspection points. Since the gateway may enter the sleep state when the client terminal device is performing the inspection task, the variable two-dimensional code remains fixed during the update period, which can greatly save the power consumption of the variable two-dimensional code, enable the inspection label to have a long service life, and thus improve the service life of the variable two-dimensional code terminal device and the traceability of the inspection task.

[0082] Figure 4 Schematically shows a timing diagram of variable two-dimensional code update according to some embodiments of the present disclosure. Refer to Figure 4 As shown, the timing diagram of the variable two-dimensional code update Figure 4 mainly includes a variable two-dimensional code terminal device 410, a gateway 420, and a cloud platform 430.

[0083] Among them, the variable two-dimensional code terminal device 410 can send an update query message to the gateway 420. After receiving the update query message sent by the variable two-dimensional code terminal device 410, the gateway 420 can send an update content request corresponding to the update query message to the cloud platform 430; the cloud platform 430 can respond to the update content request sent by the gateway 420, update the data and send the updated data to the gateway 420; the gateway 420 sends the update content corresponding to the updated data to the variable two-dimensional code terminal device 410; at the same time, when the gateway 420 receives a single-frame data request sent by the variable two-dimensional code terminal device 410, it sends the text content matching the single-frame data request to the variable two-dimensional code terminal device 410; in addition, when the gateway 420 receives a sub-packet data request sent by the variable two-dimensional code terminal device 410, it can send the data transmission protocol corresponding to the sub-packet data request to the variable two-dimensional code terminal device 410, and then when receiving a single-frame data request sent by the variable two-dimensional code terminal device 410, it sends the binary data frame by frame to the variable two-dimensional code terminal device 410. When receiving the end data transmission information sent by the variable two-dimensional code terminal device 410, it can send the CRC (Cyclic Redundancy Check) result of the binary data during the transmission process to the variable two-dimensional code terminal device 410 and end the data transmission process.

[0084] Preferably, the variable two-dimensional code terminal device 410 can be composed of a tlsr8258 (low-power) processor, with a sleep control circuit, an e-paper display driving circuit, a battery management circuit, a font storage chip, a temperature and humidity acquisition chip, a radio frequency communication circuit, etc. on the periphery. Since the power consumption of the tlsr8258 in the sleep mode is at the nanoampere level, when the variable two-dimensional code terminal device is in the non-working state, the power supply of the peripheral circuit can be directly turned off through a MOS transistor, and at the same time, the characteristic that the e-paper screen can continue to maintain the display after power-off is utilized to maintain the display state of the two-dimensional code.

[0085] Since the variable two-dimensional code terminal device 410 may be in the sleep state when the customer terminal device performs the inspection task, when the customer terminal device completes the current inspection task and submits the inspection report form to the cloud platform 430, the variable two-dimensional code terminal device 410 can be woken up by the cloud platform, and the variable two-dimensional code terminal device sends an update query message to the gateway 420, and the gateway 420 sends a request for update content corresponding to the update query message to the cloud platform, and then the cloud platform 430 sends the updated data corresponding to the update content request to the gateway 420 to realize the real-time update of the variable two-dimensional code.

[0086] In the present exemplary embodiment, a variable two-dimensional code management method is also provided, and the variable two-dimensional code management method can be applied to the customer terminal device. Figure 5 Schematically shows a schematic diagram of the variable two-dimensional code management method flow according to some embodiments of the present disclosure. Refer to Figure 5 As shown, the variable two-dimensional code management method may include the following steps:

[0087] In step S510, in response to a scanning operation of the variable two-dimensional code, an inspection task is executed, and a random inspection form corresponding to the inspection task is called;

[0088] In step S520, the filling operation of the random inspection form is recorded, and an inspection report form is generated based on the filling operation;

[0089] In step S530, the inspection report form is sent to the cloud platform, and the intelligent fault diagnosis module of the cloud platform diagnoses the inspection report form and generates a diagnosis result of the inspection report form.

[0090] Among them, the random inspection form can refer to a random inspection page form generated by the customer terminal device scanning the variable two-dimensional code displayed by the variable two-dimensional code terminal device. For example, the random inspection form can be a random inspection page form including on-site inspection items, inspection time periods, and device status generated by the customer terminal device scanning the variable two-dimensional code displayed by the variable two-dimensional code terminal device. The random inspection form can also be a random inspection page form including inspection points and inspection times generated by the customer terminal device scanning the variable two-dimensional code displayed by the variable two-dimensional code terminal device. Of course, the random inspection form can also be a random inspection page form including other information generated by the customer terminal device scanning the variable two-dimensional code displayed by the variable two-dimensional code terminal device. This example embodiment does not make special limitations on this.

[0091] The customer terminal device can scan the variable two-dimensional code, and the customer terminal device can execute the inspection task to obtain a random inspection form that matches the current inspection point read by the customer terminal device. When it is detected that the user fills in the random inspection form, an inspection report form is generated based on the filling operation; furthermore, the customer terminal device can submit the inspection form to the cloud platform, and the intelligent fault diagnosis module in the cloud platform diagnoses the inspection report form and generates a diagnosis result of the inspection report form for the user to modify, thereby improving the traceability and accuracy of the inspection.

[0092] Figure 6 Schematically shows a schematic diagram of the process of a random inspection form generation method according to some embodiments of the present disclosure. Refer to Figure 6 As shown, the random inspection form generation method may include the following steps:

[0093] In step S610, in response to an image upload operation, location information is obtained, and the image and the location information are verified.

[0094] In step S620, if it is detected that the image and the location information pass the verification, the random inspection form is generated.

[0095] Among them, the random inspection form can refer to a temporary inspection form sent by the cloud platform to the customer terminal device after the customer terminal device scans the variable two-dimensional code and passes the verification.

[0096] Preferably, when the user scans the variable QR code through the customer terminal device, a prompt message for uploading the user's own image can be popped up. When the operation of the user uploading the image is detected, the current location information is obtained, and the uploaded user's own image is compared with the historical person images. At the same time, the obtained location information is compared with the historical location information. When it is detected that the currently uploaded user's own image is the same as the historical person images and the currently obtained location information is the same as the historical location information, it is determined that the image and the location information pass the verification, and a random inspection form is called from the cloud platform to generate a random inspection form. Furthermore, by verifying the image and the location information, false reporting of inspection results can be avoided, and the authenticity of the inspection results can be improved.

[0097] Figure 7 Schematically shows a schematic diagram of a diagnostic result update method flow according to some embodiments of the present disclosure. Refer to Figure 7 As shown, the diagnostic result update method may include the following steps:

[0098] In step S710, the diagnostic result sent by the intelligent fault diagnosis module is received, and when it is detected that there is error data of the inspection report form in the diagnostic result, a reminder information for the error data is generated based on the diagnostic result;

[0099] In step S720, in response to a modification operation, the modification information corresponding to the reminder information is recorded to update the diagnostic result through the modification information.

[0100] Among them, the diagnostic result may refer to the result of diagnosing the inspection report form by the intelligent fault diagnosis module. For example, the diagnostic result may be a result including a correct evaluation of the report content of the inspection items of the inspection report form by the intelligent fault diagnosis module, or the diagnostic result may be a reference basis for evaluating the content of the inspection items of the inspection report form by the intelligent fault diagnosis module. Of course, the diagnostic result may also be other data results including diagnosing the inspection report form by the intelligent fault diagnosis module. The present embodiment does not make special limitations on this.

[0101] The intelligent fault diagnosis module of the cloud platform can be used to diagnose the inspection report form submitted by the customer terminal device to obtain the diagnostic result of the inspection report form, and the diagnostic result is sent to the customer terminal device. When the customer terminal device detects that there is error data of the inspection report form in the inspection report form, a prompt information corresponding to the error data can be generated based on the diagnostic result for the user to modify the inspection report form according to the prompt information, and the modification information corresponding to the prompt information is recorded, and then the inspection report form is updated according to the modification information, so as to improve the efficiency of the inspection and the accuracy rate of the inspection report form.

[0102] It should be noted that although the steps of the method in the present disclosure are described in a specific order in the accompanying drawings, this does not require or imply that these steps must be executed in this specific order, or that all the steps shown must be executed to achieve the desired result. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step for execution, and / or one step may be decomposed into multiple steps for execution, etc.

[0103] In addition, in the present exemplary embodiment, a variable two-dimensional code management device is further provided, which is applied to a variable two-dimensional code terminal device. Referring to Figure 8 As shown, the variable two-dimensional code management device 800 includes: a channel synchronization adjustment module 810 and a variable two-dimensional code generation module 820. Among them: the channel synchronization adjustment module 810 is configured to synchronously adjust the channel for communicating with the low-power network in response to the dynamic adjustment of the radio frequency power and channel of the low-power network by the cloud platform; the variable two-dimensional code generation module 820 is configured to receive the variable two-dimensional code string sent by the cloud platform based on the adjusted low-power network, generate a variable two-dimensional code based on the variable two-dimensional code string, and the customer terminal device executes an inspection task based on the variable two-dimensional code.

[0104] In some exemplary embodiments of the present disclosure, based on the foregoing solution, the variable two-dimensional code management device 800 further includes a network protocol adjustment module, and the network protocol adjustment module is configured to obtain a first sub-network protocol and a second sub-network protocol of the basic network protocol by performing target layering processing on the basic network protocol in the gateway, and obtain a dual-source code open-source network based on the first network protocol and the second sub-network protocol, and use the dual-source code open-source network as the low-power network; the first sub-network protocol is applied to the virtual machine in the gateway, and the second sub-network protocol is applied to the communication firmware of the gateway.

[0105] In some exemplary embodiments of the present disclosure, based on the foregoing solution, the variable two-dimensional code management device 800 further includes a radio frequency power adjustment module, and the radio frequency power adjustment module is configured to monitor radio frequency parameter information through the gateway, and call a dedicated data transmission protocol between the virtual machine and the cloud platform to send the radio frequency parameter information to the cloud platform through the dedicated data transmission protocol, and the cloud platform adjusts the radio frequency power of the low-power network according to the radio frequency parameter information.

[0106] In some exemplary embodiments of the present disclosure, based on the foregoing solution, the variable two-dimensional code management device 800 further includes a channel adjustment module. The channel adjustment module is configured to call a channel division table through the cloud platform, and monitor the used channel information obtained by the interaction between the gateway and adjacent gateways, so as to determine idle channel information from the channel division table according to the used channel information, and use the idle channel that matches the idle channel information as the adjusted channel of the low-power network.

[0107] In some exemplary embodiments of the present disclosure, based on the foregoing solution, the channel synchronization adjustment module 810 includes a channel synchronization adjustment unit. The synchronization adjustment unit is configured to, in response to the dynamic adjustment of the radio frequency power and channel of the low-power network by the cloud platform, obtain the channel information corresponding to the adjusted channel of the low-power network; parse the pseudo-random parameters included in the variable two-dimensional code string, and calculate and update the frequency hopping data of the variable two-dimensional code based on the pseudo-random parameters, and adjust the frequency hopping data according to the channel information, so as to synchronously adjust the channel for communicating with the low-power network.

[0108] In some exemplary embodiments of the present disclosure, based on the foregoing solution, the variable two-dimensional code generation module 820 includes a variable two-dimensional code update unit. The variable two-dimensional code update unit is configured to update the variable two-dimensional code string regularly through the cloud platform, and send the updated variable two-dimensional code string to the gateway, and the gateway generates an updated variable two-dimensional code according to the updated variable two-dimensional code string, so as to realize the real-time update of the variable two-dimensional code.

[0109] Meanwhile, a variable two-dimensional code management device 900 is provided, which is applied to a customer terminal device. Referring to Figure 9 As shown, the variable two-dimensional code management device 900 includes: a random inspection form call module 910, an inspection report form generation module 920, and a diagnosis result generation module 930. Among them: The random inspection form call module 910 is configured to execute an inspection task in response to a scanning operation on the variable two-dimensional code, and call a random inspection form corresponding to the inspection task; the inspection report form generation module 920 is configured to record the filling operation on the random inspection form, and generate an inspection report form based on the filling operation; the diagnosis result generation module 930 is configured to send the inspection report form to the cloud platform, and the intelligent fault diagnosis module of the cloud platform diagnoses the inspection report form and generates a diagnosis result of the inspection report form.

[0110] In some exemplary embodiments of the present disclosure, based on the foregoing solution, the random inspection form calling module 910 includes a verification unit, and the verification unit is configured to obtain location information in response to an image upload operation, and perform verification processing on the image and the location information; if it is detected that the image and the location information pass the verification, then generate the random inspection form.

[0111] In some exemplary embodiments of the present disclosure, based on the foregoing solution, the diagnosis result generation module 930 includes a diagnosis result update unit, and the diagnosis result update unit is configured to: receive the diagnosis result sent by the intelligent fault diagnosis module, and when it is detected that there is error data of the inspection report form in the diagnosis result, generate a reminder message for the error data based on the diagnosis result; respond to a modification operation, and record modification information corresponding to the reminder message, so as to update the diagnosis result through the modification information.

[0112] Moreover, in an exemplary embodiment of the present disclosure, a system 1000 capable of implementing the above variable two-dimensional code management method is further provided. Refer to Figure 10 As shown, the variable two-dimensional code management system 1000 includes: a variable two-dimensional code terminal device 1010, a cloud platform 1020, a gateway 1030, a customer terminal device 1040, and an intelligent fault diagnosis module 1050. Among them, the variable two-dimensional code terminal device 1010 is configured to display a variable two-dimensional code at regular intervals; the cloud platform 1020 is configured to send a variable two-dimensional code string at regular intervals, and adjust the radio frequency power and channel of a low-power network for communicating with the variable two-dimensional code terminal device based on radio frequency parameter information; the gateway 1030 is configured to generate the variable two-dimensional code based on the variable two-dimensional code string, and monitor the radio frequency parameter information of the variable two-dimensional code device and the low-power network; the customer terminal device 1040 is configured to perform an inspection task and submit an inspection report form corresponding to the inspection task to the cloud platform; the intelligent fault diagnosis module 1050 is configured to generate a diagnosis result of the inspection report form and update the diagnosis result.

[0113] The specific details of each module of the variable two-dimensional code management device described above have been described in detail in the corresponding variable two-dimensional code management method, so they will not be repeated here.

[0114] It should be noted that although several modules or units of the variable two-dimensional code management device are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.

[0115] In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above variable two-dimensional code management method is further provided.

[0116] Those skilled in the art of the present technical field can understand that various aspects of the present disclosure can be implemented as a system, a method, or a program product. Therefore, various aspects of the present disclosure can be specifically implemented in the following forms, namely: a complete hardware embodiment, a complete software embodiment (including firmware, microcode, etc.), or an embodiment combining hardware and software aspects, which can be collectively referred to as "circuitry", "module", or "system" here.

[0117] Next, refer to Figure 11 to describe the electronic device 1100 according to such an embodiment of the present disclosure. Figure 11 The illustrated electronic device 1100 is merely an example and should not impose any limitation on the functions and usage scope of the embodiments of the present disclosure.

[0118] As Figure 11 shown, the electronic device 1100 is presented in the form of a general-purpose computing device. The components of the electronic device 1100 may include, but are not limited to: at least one of the above-mentioned processing units 1110, at least one of the above-mentioned storage units 1120, a bus 1130 connecting different system components (including the storage unit 1120 and the processing unit 1110), and a display unit 1140.

[0119] Among them, the storage unit stores program code, and the program code can be executed by the processing unit 1110, so that the processing unit 1110 executes the steps according to various exemplary embodiments of the present disclosure described in the above "exemplary method" section of this specification. For example, the processing unit 1110 may execute steps such as Figure 1 shown in S110, in response to the dynamic adjustment of the radio frequency power and channels of the low-power network by the cloud platform, synchronously adjusting the channels communicating with the low-power network; step S120, receiving the variable two-dimensional code string sent by the cloud platform based on the adjusted low-power network, generating a variable two-dimensional code based on the variable two-dimensional code string, and having the customer terminal device execute an inspection task based on the variable two-dimensional code.

[0120] The storage unit 1120 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 1121 and / or a cache storage unit 1122, and may further include a read-only storage unit (ROM) 1123.

[0121] The storage unit 1120 may also include a program / utility 1124 having a set (at least one) of program modules 1125. Such program modules 1125 include, but are not limited to, an operating system, one or more application programs, other program modules, and program data. Each or some combination of these examples may include the implementation of a network environment.

[0122] The bus 1130 may represent one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus structures.

[0123] The electronic device 1100 may also communicate with one or more external devices 1170 (such as a keyboard, a pointing device, a Bluetooth device, etc.), and may also communicate with one or more devices that enable a user to interact with the electronic device 1100, and / or communicate with any device that enables the electronic device 1100 to communicate with one or more other computing devices (such as a router, a modem, etc.). Such communication may be carried out through the input / output (I / O) interface 1150. Moreover, the electronic device 1100 may also communicate with one or more networks (such as a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through the network adapter 1160. As shown in the figure, the network adapter 1160 communicates with other modules of the electronic device 1100 through the bus 1130. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 1100, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0124] Through the description of the above embodiments, those skilled in the art can easily understand that the example embodiments described herein can be implemented by software, or can be implemented by the way of software combined with necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0125] In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium, on which a program product capable of implementing the above methods of this specification is stored. In some possible embodiments, various aspects of the present disclosure can also be implemented in the form of a program product, which includes program code. When the program product runs on a terminal device, the program code is used to cause the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of this specification.

[0126] Referring Figure 12 As shown, a program product 1200 for implementing the above variable two-dimensional code management method according to an embodiment of the present disclosure is described. It can be a portable compact disc read-only memory (CD-ROM) and includes program code, and can run on a terminal device, such as a personal computer. However, the program product of the present disclosure is not limited thereto. In this document, the readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.

[0127] The program product can adopt any combination of one or more readable media. The readable media can be a readable signal medium or a readable storage medium. The readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples (non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0128] The computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries the readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The readable signal medium can also be any readable medium other than the readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0129] The program code contained on the readable medium can be transmitted by any suitable medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the above.

[0130] Program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and also including conventional procedural programming languages such as the "C" language or similar programming languages. The program code may be executed entirely on the user's computing device, partly on the user's device, executed as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user's computing device through any kind of network, including a local area network (LAN) or a wide area network (WAN), or alternatively, may be connected to an external computing device (e.g., by using an Internet service provider to connect through the Internet).

[0131] In addition, the above-mentioned drawings are only schematic illustrations of the processes included in the method according to the exemplary embodiments of the present disclosure, and are not for limiting purposes. It is easy to understand that the processes shown in the above-mentioned drawings do not indicate or limit the chronological order of these processes. Additionally, it is also easy to understand that these processes may be executed synchronously or asynchronously in, for example, multiple modules.

[0132] Through the description of the above embodiments, those skilled in the art can easily understand that the example embodiments described herein can be implemented by software, or can be implemented by the means of software combined with necessary hardware. Therefore, the technical solutions according to the embodiments of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which may be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which may be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.

[0133] After considering the specification and practicing the invention disclosed herein, those skilled in the art will readily conceive of other embodiments of the present disclosure. This application is intended to cover any variations, uses, or adaptations of the present disclosure, which follow the general principles of the present disclosure and include known common knowledge or conventional technical means in the technical field not disclosed in the present disclosure. The specification and embodiments are only regarded as exemplary, and the true scope and spirit of the present disclosure are pointed out by the claims.

[0134] It should be understood that the present disclosure is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present disclosure is only limited by the appended claims.

Claims

1. A method for managing variable two-dimensional codes, characterized in that, Applied to variable two-dimensional code terminal devices, including: In response to the dynamic adjustment of the radio frequency power and channels of the low-power network by the cloud platform, synchronously adjust the channels communicating with the low-power network; Receive the variable two-dimensional code string sent by the cloud platform based on the adjusted low-power network, generate a variable two-dimensional code based on the variable two-dimensional code string, and have the customer terminal device perform an inspection task based on the variable two-dimensional code; The low-power network is a dual-source code open-source network obtained by performing target hierarchical processing on the basic network protocol in the gateway to obtain the first sub-network protocol and the second sub-network protocol of the basic network protocol, and based on the first sub-network protocol and the second sub-network protocol; the first sub-network protocol is applied to the virtual machine in the gateway, and the second sub-network protocol is applied to the communication firmware of the gateway.

2. The method for managing variable two-dimensional codes according to claim 1, characterized in that, The method further includes: Monitor radio frequency parameter information through the gateway, and call the dedicated data transmission protocol between the virtual machine and the cloud platform to send the radio frequency parameter information to the cloud platform through the dedicated data transmission protocol, and have the cloud platform adjust the radio frequency power of the low-power network according to the radio frequency parameter information.

3. The method for managing variable two-dimensional codes according to claim 1, characterized in that, The method further includes: Call the channel division table through the cloud platform, and monitor the used channel information obtained by the interaction between the gateway and adjacent gateways, so as to determine the idle channel information from the channel division table according to the used channel information, and use the idle channel matching the idle channel information as the adjusted channel of the low-power network.

4. The method for managing variable two-dimensional codes according to claim 1, characterized in that, The step of, in response to the dynamic adjustment of the radio frequency power and channels of the low-power network by the cloud platform, synchronously adjusting the channels communicating with the low-power network, includes: In response to the dynamic adjustment of the radio frequency power and channels of the low-power network by the cloud platform, obtain the channel information corresponding to the adjusted channel of the low-power network; Analyze the pseudo-random parameters included in the variable two-dimensional code string, calculate and update the hopping data of the variable two-dimensional code based on the pseudo-random parameters, and adjust the hopping data according to the channel information to synchronously adjust the channels communicating with the low-power network.

5. The method for managing variable two-dimensional codes according to claim 1, characterized in that, The method further includes: Regularly update the variable two-dimensional code string through the cloud platform, and send the updated variable two-dimensional code string to the gateway, and have the gateway generate an updated variable two-dimensional code according to the updated variable two-dimensional code string to realize the real-time update of the variable two-dimensional code.

6. A method for managing variable two-dimensional codes, characterized in that, Applied to customer terminal devices, including: In response to the scanning operation of the variable two-dimensional code, perform an inspection task and call the random inspection form corresponding to the inspection task; Record the filling operation of the random inspection form, and generate an inspection report based on the filling operation; Send the inspection report to the cloud platform, and have the intelligent fault diagnosis module of the cloud platform diagnose the inspection report and generate the diagnosis result of the inspection report; Wherein, the method further includes: adjusting the radio frequency power and channels of the low-power network through the cloud platform, where the low-power network is obtained by performing target hierarchical processing on the basic network protocol in the gateway to obtain the first sub-network protocol and the second sub-network protocol of the basic network protocol, and is a dual-source code open-source network based on the first sub-network protocol and the second sub-network protocol; the first sub-network protocol is applied to the virtual machine in the gateway, and the second sub-network protocol is applied to the communication firmware in the gateway.

7. The method for managing variable two-dimensional codes according to claim 6, characterized in that, The method further includes: responding to an image upload operation, obtaining location information, and performing verification processing on the image and the location information; if it is detected that the image and the location information pass the verification, generating the random inspection form.

8. The method for managing variable two-dimensional codes according to claim 6, characterized in that, The method further includes: receiving the diagnosis result sent by the intelligent fault diagnosis module, and when it is detected that there is error data of the inspection report form in the diagnosis result, generating a reminder message for the error data based on the diagnosis result; responding to a modification operation, and recording the modification information corresponding to the reminder message to update the diagnosis result through the modification information.

9. A system for managing variable two-dimensional codes, characterized in that, including: a variable two-dimensional code terminal device for periodically displaying a variable two-dimensional code; a cloud platform for periodically sending a variable two-dimensional code string and adjusting the radio frequency power and channels of the low-power network communicating with the variable two-dimensional code terminal device based on radio frequency parameter information; a gateway for generating the variable two-dimensional code based on the variable two-dimensional code string and monitoring the radio frequency parameter information of the variable two-dimensional code device and the low-power network; a customer terminal device for performing an inspection task and submitting an inspection report form corresponding to the inspection task to the cloud platform; an intelligent fault diagnosis module for generating a diagnosis result of the inspection report form and updating the diagnosis result; wherein, the low-power network is obtained by performing target hierarchical processing on the basic network protocol in the gateway to obtain the first sub-network protocol and the second sub-network protocol of the basic network protocol, and is a dual-source code open-source network based on the first sub-network protocol and the second sub-network protocol; the first sub-network protocol is applied to the virtual machine in the gateway, and the second sub-network protocol is applied to the communication firmware in the gateway.

10. An electronic device, comprising: a processor; and a memory, on which computer-readable instructions are stored, and when the computer-readable instructions are executed by the processor, the variable two-dimensional code management method according to any one of claims 1 to 5 is implemented, or the variable two-dimensional code management method according to any one of claims 6 to 8 is implemented.

Citation Information

Patent Citations

  • IPv6-based video monitoring and radio frequency identification two-dimensional code system in transformer station inspection

    CN104850816A

  • Optimization method for LoRa wireless communication command

    CN108055059A