Internet of things base station, and data configuration method for internet of things base station

Through the combination of electronic tags and controllers, the configuration data is decrypted using the public and private keys of the Internet of Things base station, which solves the problems of low efficiency and insufficient security of the configuration data of the Internet of Things base station, and realizes a fast and secure configuration process without technical personnel.

WO2025138770A1PCT designated stage expired Publication Date: 2025-07-03HANSHOW TECH CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/108098
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-12-26
Filing Date
2024-07-29
Publication Date
2025-07-03

AI Technical Summary

Technical Problem

The existing IoT base station configuration data method requires the configuration personnel to have technical capabilities, difficulty in on-site operation, low efficiency and low security.

Method used

Using a combination of electronic tags, controllers and memory, the encrypted configuration data is received through near-field communication, and the public and private keys of the Internet of Things base station are used for decryption, and the session identification values ​​are compared to verify legitimacy and written to memory, lowering the configuration threshold and enhancing security.

Benefits of technology

The data can be quickly configured without configuring personnel's technical capabilities, which improves configuration efficiency, enhances data security, and avoids configuration errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024108098_03072025_PF_FP_ABST
    Figure CN2024108098_03072025_PF_FP_ABST
Patent Text Reader

Abstract

Provided in the present application are an Internet of Things base station, and a data configuration method for an Internet of Things base station. The Internet of Things base station comprises an electronic tag, a controller and a memory. The electronic tag is used for receiving, after near field communication is established with an intelligent terminal, encrypted configuration data that corresponds to the Internet of Things base station and is provided by the intelligent terminal to the Internet of Things base station. The controller is used for reading the encrypted configuration data, which is received by the electronic tag, using a private key of the Internet of Things base station to decrypt the encrypted configuration data, if the decryption is successful, reading a session identifier value in the decrypted configuration data, and if the session identifier value in the decrypted configuration data is greater than a session identifier value stored in the memory, and the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is equal to a preset value, writing the decrypted configuration data into the memory. The memory is used for storing the session identifier value and the decrypted configuration data.
Need to check novelty before this filing date? Find Prior Art

Description

IoT base station and IoT base station configuration data method

[0001] Related applications

[0002] This application claims priority to the Chinese invention patent application with application number 202311815421.5 filed on December 26, 2023, and cites the entire contents disclosed in the above patent application as part of this application. Technical Field

[0003] The present application relates to the field of Internet of Things technology, and in particular to an Internet of Things base station and an Internet of Things base station configuration data method. Background Art

[0004] This section is intended to provide a background or context to the embodiments of the present application that are recited in the claims. No admission is made that the description herein is prior art by virtue of its inclusion in this section.

[0005] Before installing the IoT base station in the customer environment, data such as the network and backend server address must be configured in advance. Current methods for configuring data may include, for example, powering on multiple IoT base stations one by one, connecting them to the IoT base station management interface, and having configuration personnel configure data for each IoT base station one by one. Therefore, on-site operations require configuration personnel to have certain technical capabilities and a stable operating space (where computers, network cables, and base station power supplies can be placed). In reality, the on-site environment is complex, especially when a store is about to open. There are many shelves, goods, equipment, and garbage to be processed, as well as unstable power supply, which will make it difficult to configure the IoT base station on site, bringing difficulties to data configuration, resulting in low data configuration efficiency. In addition, direct configuration by configuration personnel on site will result in low data security.

[0006] Summary of the Invention

[0007] The present application embodiment proposes an Internet of Things base station. When configuring data, the Internet of Things base station does not require the configuration personnel to have the corresponding technical capabilities, which lowers the threshold for configuring data, speeds up the efficiency of configuring data, and enhances the security of configuration data. At the same time, by comparing the session identifier value, the legitimacy of the configuration data can be verified to avoid configuration errors. The Internet of Things base station includes:

[0008] Electronic tags, controllers and memories;

[0009] The electronic tag is used to receive encrypted configuration data corresponding to the IoT base station provided by the smart terminal to the IoT base station after establishing near-field communication with the smart terminal; the encrypted configuration data is obtained by the smart terminal encrypting the configuration data using the public key of the IoT base station; the configuration data is pre-stored in the background server of the smart terminal;

[0010] a controller configured to read the encrypted configuration data received by the electronic tag, decrypt the encrypted configuration data using the private key of the IoT base station, and if the decryption is successful, read the session identifier value in the decrypted configuration data; and if the session identifier value in the decrypted configuration data is greater than the session identifier value stored in the memory, and the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is equal to a preset value, write the decrypted configuration data into the memory; and

[0011] The memory is used to store the session identifier value and the decrypted configuration data.

[0012] The present application embodiment proposes a method for configuring data for an IoT base station. This method does not require configuration personnel to possess the corresponding technical capabilities, lowers the threshold for configuring data, speeds up configuration data efficiency, and enhances configuration data security. By comparing session identifier values, the legitimacy of the configuration data can be verified to avoid configuration errors. The method includes:

[0013] After establishing near-field communication with the smart terminal, the electronic tag of the IoT base station receives encrypted configuration data corresponding to the IoT base station provided by the smart terminal to the IoT base station. The encrypted configuration data is encrypted by the smart terminal using the public key of the IoT base station. The configuration data is pre-stored in the background server of the smart terminal.

[0014] The controller of the IoT base station reads the encrypted configuration data received by the electronic tag, and decrypts the encrypted configuration data using the private key of the IoT base station. If the decryption is successful, the controller reads the session identifier value in the decrypted configuration data; if the session identifier value in the decrypted configuration data is greater than the session identifier value stored in the memory of the IoT base station, and the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is equal to a preset value, the controller writes the decrypted configuration data into the memory.

[0015] The present application also provides a configuration data processing method, which is applied to a controller of an IoT base station and includes:

[0016] After the electronic tag establishes near-field communication with the smart terminal, the electronic tag reads the encrypted configuration data corresponding to the IoT base station, which is provided by the smart terminal to the IoT base station and received by the electronic tag; wherein the encrypted configuration data is obtained by the smart terminal by encrypting the configuration data using the public key of the IoT base station; the configuration data is pre-stored in the background server of the smart terminal;

[0017] Decrypting the encrypted configuration data using the private key of the IoT base station, and if the decryption is successful, reading the session identifier value in the decrypted configuration data; and

[0018] If the session identifier value in the decrypted configuration data is greater than the session identifier value stored in the memory of the IoT base station, and the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is equal to a preset value, the decrypted configuration data is written to the memory.

[0019] The present application also provides a configuration data processing device, which is applied to a controller of an Internet of Things base station and includes:

[0020] The configuration data reading module is used to read the encrypted configuration data corresponding to the IoT base station provided by the smart terminal to the IoT base station and received by the electronic tag after the electronic tag and the smart terminal establish near-field communication. The encrypted configuration data is obtained by encrypting the configuration data using the public key of the IoT base station by the smart terminal. The configuration data is pre-stored in the background server of the smart terminal.

[0021] a configuration data decryption module, configured to read the encrypted configuration data received by the electronic tag, decrypt the encrypted configuration data using the private key of the IoT base station, and if the decryption is successful, read the session identifier value in the decrypted configuration data; and

[0022] The configuration data writing module is used to write the decrypted configuration data into the memory if the session identifier value in the decrypted configuration data is greater than the session identifier value stored in the memory of the Internet of Things base station, and the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is equal to a preset value.

[0023] In an embodiment of the present application, a computer device is proposed, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, a configuration data processing method is implemented.

[0024] In an embodiment of the present application, a computer-readable storage medium is provided. The computer-readable storage medium stores a computer program. When the computer program is executed by a processor, a configuration data processing method is implemented.

[0025] In an embodiment of the present application, a computer program product is provided. The computer program product includes a computer program. When the computer program is executed by a processor, a configuration data processing method is implemented.

[0026] The IoT base station and IoT base station configuration data method proposed in the embodiments of the present application can address the issues of low configuration data efficiency and low configuration data security caused by direct on-site configuration by configuration personnel. The embodiments of the present application include: an electronic tag, a controller, and a memory. The electronic tag is configured to receive encrypted configuration data corresponding to the IoT base station, provided by the smart terminal to the IoT base station after establishing near-field communication with the smart terminal. The encrypted configuration data is encrypted by the smart terminal using the public key of the IoT base station and is pre-stored in the smart terminal's backend server. The controller is configured to read the encrypted configuration data received by the electronic tag, decrypt the encrypted configuration data using the private key of the IoT base station, and if decryption is successful, read the session identifier value in the decrypted configuration data. If the session identifier value in the decrypted configuration data is greater than the session identifier value stored in the memory, and the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is equal to a preset value, the decrypted configuration data is written to the memory. The memory is configured to store the session identifier value and the decrypted configuration data. In an embodiment of the present application, the electronic tag establishes near-field communication with the smart terminal and pre-stores the configuration data in the background server of the smart terminal. This eliminates the need for configuration personnel to have corresponding technical capabilities, lowers the threshold for configuring data, and speeds up the efficiency of configuring data. The configuration data is encrypted for transmission, thereby enhancing the security of the configuration data. The legitimacy of the configuration data can be verified by comparing the session identifier value to avoid configuration errors. BRIEF DESCRIPTION OF THE DRAWINGS

[0027] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0028] FIG1 is a schematic diagram of an Internet of Things base station according to an embodiment of the present application;

[0029] FIG2 is a diagram showing the format structure of electronic tag data exchange information according to an embodiment of the present application;

[0030] FIG3 is a flow chart of a method for configuring data for an Internet of Things base station according to an embodiment of the present application;

[0031] FIG4 is a diagram showing a specific example of a method for configuring data for an Internet of Things base station according to an embodiment of the present application;

[0032] FIG5 is a specific example diagram of a method for configuring data for an Internet of Things base station according to another embodiment of the present application;

[0033] FIG6 is a specific example diagram of a method for configuring data for an Internet of Things base station according to another embodiment of the present application;

[0034] FIG7 is a specific example diagram of a method for configuring data for an Internet of Things base station according to another embodiment of the present application;

[0035] FIG8 is a specific example diagram of a method for configuring data for an Internet of Things base station according to another embodiment of the present application;

[0036] FIG9 is a specific example diagram of a method for configuring data for an Internet of Things base station according to another embodiment of the present application;

[0037] FIG10 is a flow chart of a configuration data processing method according to an embodiment of the present application;

[0038] FIG11 is a schematic diagram of a configuration data processing device according to an embodiment of the present application;

[0039] FIG12 is a schematic diagram of a computer device in an embodiment of the present application. DETAILED DESCRIPTION

[0040] In order to make the purpose, technical solutions and advantages of the embodiments of the present application more clear, the embodiments of the present application are further described in detail below with reference to the accompanying drawings. Here, the illustrative embodiments of the present application and their descriptions are used to explain the present application, but are not intended to limit the present application.

[0041] The term "and / or" herein simply describes an association relationship, indicating that three relationships can exist. For example, A and / or B can represent the existence of A alone, the simultaneous existence of A and B, and the existence of B alone. In addition, the term "at least one" herein refers to any combination of at least two of any one or more of a plurality of items. For example, "at least one of A, B, and C" can represent any one or more elements selected from the set consisting of A, B, and C.

[0042] In the description of this specification, the terms "include", "including", "have", "contain", etc. are all open terms, which mean including but not limited to. The descriptions with reference to the terms "one embodiment", "a specific embodiment", "some embodiments", "for example", etc. mean that the specific features, structures or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. The order of steps involved in each embodiment is used to schematically illustrate the implementation of the present application, and the order of steps therein is not limited and can be appropriately adjusted as needed.

[0043] The principles and spirit of the present application are explained in detail below with reference to several representative implementations of the present application.

[0044] FIG1 is a schematic diagram of an Internet of Things base station according to an embodiment of the present application.

[0045] In one embodiment of the present application, referring to FIG1 , an IoT base station includes:

[0046] An electronic tag (e.g., a Near Field Communication (NFC) tag) 101, a controller (CPU (Central Processing Unit)) 102, and a memory 103;

[0047] The electronic tag 101 is configured to receive encrypted configuration data corresponding to the IoT base station, provided by the smart terminal (PDA) to the IoT base station after establishing near-field communication with the smart terminal. The encrypted configuration data is encrypted by the smart terminal using the public key of the IoT base station, and the configuration data is pre-stored in the backend server of the smart terminal.

[0048] The controller 102 is configured to read the encrypted configuration data received by the electronic tag 101 and decrypt the encrypted configuration data using the private key of the IoT base station; if the decryption is successful, read the session identifier value in the decrypted configuration data; if the session identifier value in the decrypted configuration data is greater than the session identifier value stored in the memory, and the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is equal to a preset value, write the decrypted configuration data into the memory 103; and

[0049] The memory 103 is used to store the session identification value and the decrypted configuration data.

[0050] Referring to Figure 1, it can be seen that the embodiment of the present application includes: an electronic tag, a controller and a memory. The electronic tag is used to receive the encrypted configuration data corresponding to the Internet of Things base station provided by the smart terminal to the Internet of Things base station after establishing near-field communication with the smart terminal; the encrypted configuration data is obtained by the smart terminal encrypting the configuration data using the public key of the Internet of Things base station; and the configuration data is pre-stored in the background server of the smart terminal. The controller is used to read the encrypted configuration data received by the electronic tag, decrypt the encrypted configuration data using the private key of the Internet of Things base station, and if the decryption is successful, read the session identifier value in the decrypted configuration data. If the session identifier value in the decrypted configuration data is greater than the session identifier value stored in the memory, and the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is equal to a preset value, the decrypted configuration data is written to the memory. The memory is used to store the session identifier value and the decrypted configuration data. In an embodiment of the present application, the electronic tag establishes near-field communication with the smart terminal and pre-stores the configuration data in the background server of the smart terminal. This eliminates the need for configuration personnel to have corresponding technical capabilities, lowers the threshold for configuring data, and speeds up the efficiency of configuring data. The configuration data is encrypted for transmission, thereby enhancing the security of the configuration data. The legitimacy of the configuration data can be verified by comparing the session identifier value to avoid configuration errors.

[0051] During specific implementation, the IoT base station (referred to as the base station for short) not only supports network / serial communication but also supports contactless access. Use a PDA device to approach the base station, and the configuration software reads the base station information stored in the public area of ​​the base station electronic tag through NFC. If the base station information is legal, the configuration information associated with the base station stored in the background server of the PDA device is written to the NFC Tag area. When the IoT base station is powered on and started, the CPU reads information from the NFC Tag. If it is found that the configuration information needs to be updated, the configuration information is written to the storage device. After the configuration is saved to the local storage device, the data in the NFC Tag area is updated, including the update status and the deletion of the configuration write instruction.

[0052] When implementing this application, IT personnel or pre-sales technicians are required to enter the IoT base station configuration information into the backend server in advance. To configure the data, construction personnel only need to use a PDA device to approach the base station. The IoT base station can complete the configuration information synchronization even when it is not powered on, greatly reducing the requirements for the on-site construction environment and the technical skills of the construction personnel.

[0053] In one embodiment of the present application, the electronic tag is also used for:

[0054] The IoT base station identity is sent to the smart terminal; this IoT base station identity is used by the smart terminal to identify the IoT base station for which data needs to be configured. Specifically, after the smart terminal activates the electronic tag, it sends a command to read the IoT base station identity, and the electronic tag sends the IoT base station identity to the smart terminal.

[0055] In one embodiment of the present application, the controller is specifically configured to:

[0056] If the session identifier value in the decrypted configuration data is greater than the session identifier value stored in the memory, and the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is equal to a preset value, upon detecting a write configuration data instruction in the decrypted configuration data, the decrypted configuration data is written to the memory, and the session identifier value stored in the memory is modified to the session identifier value in the decrypted configuration data. A session identifier value update message is sent to the backend server of the smart terminal. The session identifier value update message is used to notify the backend server that the updated session identifier value must be included in the next configuration data transmission.

[0057] In one embodiment of the present application, the controller is further configured to:

[0058] If the decryption fails, the IoT base station status identifier indicating the decryption failure is sent to the electronic tag;

[0059] If the session identifier value in the decrypted configuration data is less than or equal to the session identifier value stored in the memory, or the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is not equal to the preset value, the decrypted configuration data is refused to be written into the memory, and the IoT base station status identifier of the session abnormality is sent to the electronic tag.

[0060] The electronic tag is also used to send the IoT base station status identifier of a decryption failure or session anomaly to the smart terminal. Specifically, after the smart terminal activates the electronic tag, it sends a command to the electronic tag to read the IoT base station status identifier, and the electronic tag sends the IoT base station status identifier to the smart terminal.

[0061] In one embodiment of the present application, the controller is further configured to:

[0062] After the decrypted configuration data is written into the memory, the status identifier of the successfully configured IoT base station is sent to the electronic tag.

[0063] The electronic tag is also used to send a status indicator of a successfully configured IoT base station to the smart terminal.

[0064] In one embodiment of the present application, the controller is further configured to:

[0065] If decryption fails, the corresponding decryption failure handling strategy is selected from the memory based on the IoT base station status identifier where decryption failed. The IoT base station status identifier and the corresponding decryption failure handling strategy are sent to the electronic tag. This decryption failure handling strategy can help configuration personnel quickly resolve the decryption failure issue.

[0066] If the session identifier value in the decrypted configuration data is less than or equal to the session identifier value stored in the memory, or the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is not equal to the preset value, the decrypted configuration data is rejected from being written to the memory; based on the status identifier of the IoT base station with the session abnormality, the corresponding session abnormality handling policy is filtered out in the memory, and the IoT base station status identifier with the session abnormality and the corresponding session abnormality handling policy are sent to the electronic tag; the session abnormality handling policy can help configuration personnel quickly solve the problem of session abnormality.

[0067] The electronic tag is also used to send the IoT base station status identifier of decryption failure and the corresponding decryption failure processing strategy to the smart terminal, or send the IoT base station status identifier of session abnormality and the corresponding session abnormality processing strategy to the smart terminal.

[0068] The memory is also used to store a decryption failure processing strategy corresponding to the IoT base station status identifier of the decryption failure, and a session exception processing strategy corresponding to the IoT base station status identifier of the session exception.

[0069] During specific implementation, the memory stores the decryption failure processing strategy corresponding to the IoT base station status identifier of the decryption failure, and the session exception processing strategy corresponding to the IoT base station status identifier of the session abnormality, so as to select the corresponding processing strategy in the memory according to the IoT base station status identifier of the decryption failure or the IoT base station status identifier of the session abnormality. In addition, it should be noted that the decryption failure processing strategy corresponding to the IoT base station status identifier of the decryption failure and the session exception processing strategy corresponding to the IoT base station status identifier of the session abnormality can also be stored in the background server of the smart terminal. After the electronic tag sends the IoT base station status identifier of the decryption failure or the IoT base station status identifier of the session abnormality to the smart terminal, the smart terminal selects the corresponding processing strategy in the background server according to the IoT base station status identifier. It should be noted that, when it is determined that the corresponding processing strategy needs to be processed by the IoT base station, the smart terminal can send the corresponding processing strategy to the electronic tag so that the base station can indirectly obtain this strategy from the electronic tag and process it.

[0070] In one embodiment of the present application, if the decrypted configuration data cannot be written into the memory, or the configuration data currently stored in the memory is unavailable, the IoT base station can be restored to the factory state, that is, the memory calls the factory configuration data for use, and the memory can store the factory configuration data.

[0071] FIG. 2 is a diagram showing the format structure of electronic tag data exchange information in an embodiment of the present application.

[0072] In one embodiment of the present application, referring to Figure 2, the underlying data stored in the electronic tag (NFC Tag) is in NDEF format (NFC Data Exchange Format). The NDEF message (NDEF Messaage) contains multiple records (Records), each of which consists of a data header (Header) and a data payload (Payload); the data header (Header) includes: data identifier (Identifier), data length (Length), data type (Type); the data payload (Payload) consists of multiple structures (TLVs), each structure (TLV) includes: data type (Type), data length (Length), and data value (Value). Specifically, the format of the data header (Header) field is referenced in Table 1.

[0073] Table 1 Format of data header fields

[0074] Refer to Table 2 for the definition of the structure (TLV) fields of the data payload (Payload).

[0075] Table 2 Definition of the structure fields of the data payload

[0076] For data value definitions, refer to Table 3.

[0077] Table 3 Data value definition

[0078] FIG3 is a flow chart of a method for configuring data for an IoT base station according to an embodiment of the present application.

[0079] This embodiment of the present application provides a method for configuring data for an IoT base station, with reference to FIG3 , including:

[0080] Step 301: After establishing near-field communication with a smart terminal, the electronic tag of the IoT base station receives encrypted configuration data corresponding to the IoT base station, which is provided by the smart terminal to the IoT base station. The encrypted configuration data is encrypted by the smart terminal using the public key of the IoT base station. The configuration data is pre-stored in the backend server of the smart terminal.

[0081] In step 302, the controller of the IoT base station reads the encrypted configuration data received by the electronic tag and decrypts the encrypted configuration data using the private key of the IoT base station. If the decryption is successful, the controller reads the session identifier value in the decrypted configuration data. If the session identifier value in the decrypted configuration data is greater than the session identifier value stored in the memory of the IoT base station, and the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is equal to a preset value, the controller writes the decrypted configuration data into the memory.

[0082] FIG4 is a specific example diagram of a method for configuring data for an Internet of Things base station according to an embodiment of the present application.

[0083] In one embodiment of the present application, referring to FIG4 , a configuration operator first enters configuration data into a backend server, places a smart terminal (PDA) close to a base station, and reads base station identity information, which is stored in an electronic tag of the IoT base station. After the smart terminal reads the base station configuration data from the backend server, it writes the configuration data into the IoT base station, and the smart terminal prompts the configuration operator that the configuration data has been successfully written.

[0084] FIG5 is a specific example diagram of a method for configuring data for an Internet of Things base station according to an embodiment of the present application.

[0085] In one embodiment of the present application, referring to Figure 5, after the Internet of Things base station is turned on, the controller (CPU) reads the encrypted configuration data received by the electronic tag (NFC Tag); decrypts the configuration data; if the session identifier value in the decrypted configuration data is less than or equal to the session identifier value stored in the memory of the Internet of Things base station, the configuration data is illegal, and the Internet of Things base station status identifier of the abnormal session is sent to the electronic tag; if the session identifier value in the decrypted configuration data is greater than the session identifier value stored in the memory of the Internet of Things base station, and the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is equal to a preset value, then it is detected whether there is a write configuration data command in the decrypted configuration data; if not, the configuration data cannot be decrypted, and the Internet of Things base station status identifier of the decryption failure is sent to the electronic tag; if so, the configuration data is written to the memory, and the Internet of Things base station status identifier of the successfully configured Internet of Things is sent to the electronic tag.

[0086] FIG6 is a specific example diagram of a method for configuring data for an Internet of Things base station according to an embodiment of the present application.

[0087] In practice, to ensure the security of configuration data, an asymmetric encryption algorithm is used for the configuration data stored in the NFC tag. The relevant process is shown in Figure 6. The configuration personnel scan the IoT base station's Media Access Control Address (MAC) to determine the base station's identity. Using a smart terminal (PDA), they retrieve the IoT base station's public key from a backend server. The smart terminal uses the public key to encrypt the configuration data, which is then written to the NFC tag. The IoT base station's controller (CPU) reads the encrypted configuration data received from the NFC tag, decrypts it using the private key, and stores the decrypted data in the IoT base station's memory. The controller sends a successful IoT base station status indicator to the NFC tag. The NFC tag then sends a successful IoT base station status indicator to the smart terminal.

[0088] In specific implementation, the configuration data exchanged between the PDA and the base station through NFC is encrypted at the application layer. When using the base station's public key to encrypt the data, a new "session ID" must be added. The content of the configuration data stream to be encrypted refers to Table 4. The PDA uses the base station's public key to encrypt the configuration data shown in Table 4, and then writes it to the base station's memory through NFC.

[0089] Table 4 Configuration data stream content to be encrypted

[0090] When an illegal device is used to read base station information via NFC, the configuration data is encrypted using the base station's private key, and each base station has a different key group. Therefore, even if the configuration data is illegally read, it cannot be identified. When an illegal device is used to write configuration data, the contents of the base station's NFC public area will be destroyed. However, because the base station's public key encryption data cannot be obtained, the written configuration data will not affect the base station's operating status. When the base station obtains legitimate configuration information from NFC, this configuration data will be saved inside the base station. When the configuration data in the base station's NFC public area is illegally destroyed, the base station will use the configuration data information stored in the memory.

[0091] In one embodiment of the present application, after the electronic tag establishes near field communication with the smart terminal, the following steps are further included:

[0092] The electronic tag sends the IoT base station identity to the smart terminal; the IoT base station identity is used by the smart terminal to confirm the IoT base station that needs to be configured with data.

[0093] In specific implementation, when the IoT base station is damaged and cannot be powered on, and the label on the shell is destroyed and cannot be identified, the base station identity information stored in the public area of ​​the IoT base station's electronic tag (NFC) can be read to make up for the problem of being unable to identify the base station identity in this scenario.

[0094] In one embodiment of the present application, in order to prevent a third party from performing a replay attack by intercepting data packets, it is required that the session ID value must be incremented when the configuration data is updated to ensure that the encrypted configuration data is one-time each time the configuration data is updated. If the session identification value (session ID) in the decrypted configuration data is greater than the session identification value (session ID) stored in the memory of the Internet of Things base station, and the difference between the session identification value in the decrypted configuration data and the session identification value stored in the memory is equal to a preset value. After detecting the write configuration data instruction in the decrypted configuration data, the controller writes the decrypted configuration data into the memory and modifies the session identification value stored in the memory to the session identification value in the decrypted configuration data. Send an update message of the session identification value to the background server of the smart terminal. The update message of the session identification value is used to notify the background server that it needs to carry the updated session identification value when configuring data next time.

[0095] In one embodiment of the present application, if the decryption is successful, the controller reads the session identifier value in the decrypted configuration data, further comprising:

[0096] If the decryption fails, the controller sends the IoT base station status identifier of the decryption failure to the electronic tag, and the electronic tag sends the IoT base station status identifier of the decryption failure to the smart terminal.

[0097] If the session identifier value in the decrypted configuration data is greater than the session identifier value stored in the memory of the IoT base station, and the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is equal to a preset value, the controller writes the decrypted configuration data into the memory, further comprising:

[0098] If the session identifier value in the decrypted configuration data is less than or equal to the session identifier value stored in the memory, or if the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is not equal to a preset value, the controller refuses to write the decrypted configuration data to the memory and sends the IoT base station status identifier indicating the abnormal session to the electronic tag. The electronic tag then sends the IoT base station status identifier indicating the abnormal session to the smart terminal. Specifically, if the session ID is less than or equal to the session ID stored in the memory, the configuration data is considered expired and subsequent configuration data updates will be ignored.

[0099] In one embodiment of the present application, after the controller writes the decrypted configuration data into the memory, the method further includes:

[0100] The controller sends the status identification of the successfully configured IoT base station to the electronic tag; and

[0101] The electronic tag sends a status indicator of the successfully configured IoT base station to the smart terminal.

[0102] FIG7 is a specific example diagram of a method for configuring data for an Internet of Things base station according to an embodiment of the present application.

[0103] During the specific implementation, referring to Figure 7, the configuration personnel reads the new configuration data, uses the smart terminal to apply for the session identifier (session ID) of this configuration from the background server, uses the new session ID, and encrypts the configuration data with the public key. The smart terminal uses NFC near-field communication to write the encrypted configuration data into the electronic tag (NFC Tag). The controller of the Internet of Things base station reads the configuration data of the electronic tag (NFC Tag) and decrypts it with the private key. After obtaining the session ID, it judges its legitimacy. If the session ID in the decrypted configuration data is greater than the session ID stored in the memory of the Internet of Things base station, the controller writes the decrypted configuration data into the memory and sends the successfully configured Internet of Things base station status identifier to the electronic tag. The smart terminal reads the successfully configured Internet of Things base station status identifier on the electronic tag, prompting the configuration personnel that the data has been successfully configured.

[0104] FIG8 is a specific example diagram of a method for configuring data for an Internet of Things base station according to an embodiment of the present application.

[0105] In specific implementation, referring to Figure 8 , after the IoT base station is powered on, the controller (CPU) reads the encrypted configuration data received from the electronic tag (NFC tag) and decrypts the configuration data. If the decryption fails, the controller sends the IoT base station status identifier indicating the failed decryption to the electronic tag (NFC tag). If the decryption succeeds, the controller reads the session ID field in the decrypted configuration data. If the session ID field is not read, the controller executes other commands and saves the corresponding IoT base station status identifier to the electronic tag. After reading the session ID, if the session ID in the configuration data is greater than the locally stored session ID, the local session ID is updated to the session ID in the decrypted configuration data, the write-enable flag is set, the configuration data is written to the memory, and the server waits for subsequent instructions. The updated local session ID is sent to the backend server and the IoT base station status identifier indicating the successful configuration is saved to the electronic tag. If the session ID in the configuration data is less than or equal to the locally stored session ID, the write-invalid flag is set, subsequent update instructions are ignored, and the corresponding IoT base station status is saved to the electronic tag. It should be noted that if the base station is reset or cannot connect to the server, it will attempt to use the server address value stored in the NFC tag area, which is not restricted by the session ID.

[0106] FIG9 is a specific example diagram of a method for configuring data for an Internet of Things base station according to an embodiment of the present application.

[0107] In one embodiment of the present application, referring to Figure 9, the smart terminal (PDA) approaches the base station, reads the base station identity information and confirms it, obtains the public key information of the base station from the server, and the server returns the base station public key information to the smart terminal; the smart terminal reads the base station status information; after the base station returns the encrypted base station status information to the smart terminal, the smart terminal can decrypt the base station status information to obtain the current base station status.

[0108] In one embodiment of the present application, if decryption fails, the controller sends the IoT base station status identifier indicating the decryption failure to the electronic tag, and the electronic tag sends the IoT base station status identifier indicating the decryption failure to the smart terminal, including:

[0109] If the decryption fails, the controller selects the corresponding decryption failure processing strategy from the memory based on the status identifier of the IoT base station where the decryption failed. The controller sends the status identifier of the IoT base station where the decryption failed and the corresponding decryption failure processing strategy to the electronic tag. The electronic tag sends the status identifier of the IoT base station where the decryption failed and the corresponding decryption failure processing strategy to the smart terminal. The decryption failure processing strategy corresponding to the status identifier of the IoT base station where the decryption failed is stored in the memory.

[0110] If the session identifier value in the decrypted configuration data is less than or equal to the session identifier value stored in the memory, or the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is not equal to a preset value, the controller refuses to write the decrypted configuration data into the memory, and sends the IoT base station status identifier of the abnormal session to the electronic tag. The electronic tag sends the IoT base station status identifier of the abnormal session to the smart terminal, including:

[0111] If the session identifier value in the decrypted configuration data is less than or equal to the session identifier value stored in the memory, or the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is not equal to a preset value, the controller refuses to write the decrypted configuration data into the memory. The controller selects a corresponding session exception handling policy from the memory based on the session abnormality IoT base station status identifier, sends the session abnormality IoT base station status identifier and the corresponding session exception handling policy to the electronic tag, and the electronic tag sends the session abnormality IoT base station status identifier and the corresponding session exception handling policy to the smart terminal; the session exception handling policy corresponding to the session abnormality IoT base station status identifier is stored in the memory.

[0112] In practice, if an IoT base station fails to go online and needs to be diagnosed, a smart terminal (PDA) can be used to read the base station status information stored in the base station's NFC tag to analyze the cause of the failure. If the base station fails to power on for various reasons, this will not affect the system. This makes maintenance much more convenient than the existing technology that requires powering on the system and analyzing the system / logs using commands.

[0113] In this embodiment of the present application, the PDA software supports manual configuration entry to address situations where there are issues with the backend server or the configuration information has not been entered. The PDA software also supports pre-download of configurations, allowing for updates to base station configurations without connecting to the server, thus addressing situations where the server cannot be connected on-site. The PDA software can first read the configuration from other base stations and then write it to the new base station; the original web configuration functionality is retained to address situations where a PDA device is not available.

[0114] FIG10 is a flow chart of a configuration data processing method according to an embodiment of the present application.

[0115] As shown in FIG10 , the configuration data processing method is applied to the controller of the IoT base station, including:

[0116] Step 1001: After the electronic tag and the smart terminal establish near-field communication, the electronic tag reads encrypted configuration data corresponding to the IoT base station, which is provided by the smart terminal to the IoT base station and received by the electronic tag. The encrypted configuration data is encrypted by the smart terminal using the public key of the IoT base station. The configuration data is pre-stored in the backend server of the smart terminal.

[0117] Step 1002: decrypt the encrypted configuration data using the private key of the IoT base station. If the decryption is successful, read the session identifier value in the decrypted configuration data; and

[0118] Step 1003: If the session identifier value in the decrypted configuration data is greater than the session identifier value stored in the memory of the IoT base station, and the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is equal to a preset value, the decrypted configuration data is written to the memory.

[0119] In one embodiment of the present application, if the session identifier value in the decrypted configuration data is greater than the session identifier value stored in the memory of the IoT base station, and the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is equal to a preset value, writing the decrypted configuration data into the memory includes:

[0120] If the session identifier value in the decrypted configuration data is greater than the session identifier value stored in the memory of the IoT base station, and the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is equal to a preset value, after detecting a write configuration data instruction in the decrypted configuration data, the decrypted configuration data is written to the memory, and the session identifier value stored in the memory is modified to the session identifier value in the decrypted configuration data; and an update message of the session identifier value is sent to the background server of the smart terminal.

[0121] In one embodiment of the present application, if the decryption is successful, the session identifier value in the decrypted configuration data is read, and the method further includes: if the decryption fails, sending the IoT base station status identifier of the failed decryption to the electronic tag.

[0122] If the session identifier value in the decrypted configuration data is greater than the session identifier value stored in the memory of the Internet of Things base station, and the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is equal to a preset value, the decrypted configuration data is written into the memory, and the method further includes: if the session identifier value in the decrypted configuration data is less than or equal to the session identifier value stored in the memory, or the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is not equal to the preset value, refusing to write the decrypted configuration data into the memory, and sending the Internet of Things base station status identifier of the session abnormality to the electronic tag.

[0123] In one embodiment of the present application, after the decrypted configuration data is written into the memory, the process further includes: sending the successfully configured IoT base station status identifier to the electronic tag, and the electronic tag sending the successfully configured IoT base station status identifier to the smart terminal.

[0124] In one embodiment of the present application, if decryption fails, the IoT base station status identifier of the decryption failure is sent to the electronic tag, and the electronic tag sends the IoT base station status identifier of the decryption failure to the smart terminal, including:

[0125] If decryption fails, the corresponding decryption failure processing strategy is filtered out in the memory according to the status identifier of the IoT base station where decryption failed, and the status identifier of the IoT base station where decryption failed and the corresponding decryption failure processing strategy are sent to the electronic tag. The electronic tag sends the status identifier of the IoT base station where decryption failed and the corresponding decryption failure processing strategy to the smart terminal; the decryption failure processing strategy corresponding to the status identifier of the IoT base station where decryption failed is stored in the memory.

[0126] If the session identifier value in the decrypted configuration data is less than or equal to the session identifier value stored in the memory, or the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is not equal to a preset value, the decrypted configuration data is refused to be written into the memory, and the IoT base station status identifier of the abnormal session is sent to the electronic tag. The electronic tag sends the IoT base station status identifier of the abnormal session to the smart terminal, including:

[0127] If the session identifier value in the decrypted configuration data is less than or equal to the session identifier value stored in the memory, or the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is not equal to a preset value, the decrypted configuration data is refused to be written to the memory, and the corresponding session exception handling policy is screened out in the memory based on the session abnormal IoT base station status identifier, and the session abnormal IoT base station status identifier and the corresponding session exception handling policy are sent to the electronic tag. The electronic tag sends the session abnormal IoT base station status identifier and the corresponding session exception handling policy to the smart terminal; the session exception handling policy corresponding to the session abnormal IoT base station status identifier is stored in the memory.

[0128] It should be noted that although the operations of the method of the present application are described in a specific order in the above embodiments and drawings, this does not require or imply that these operations must be performed in this specific order, or that all illustrated operations must be performed to achieve the desired results. Additionally or alternatively, certain steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps.

[0129] The implementation of configuring the data processing device can refer to the implementation of the above method, and the repeated parts will not be repeated here. The terms "module" or "unit" used below can be a combination of software and / or hardware that implements the predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.

[0130] Based on the same inventive concept, the present application also proposes a configuration data processing device, as shown in FIG11 , which is applied to a controller of an IoT base station and includes:

[0131] The configuration data reading module 1101 is used to read the encrypted configuration data corresponding to the IoT base station provided by the smart terminal to the IoT base station and received by the electronic tag after the electronic tag and the smart terminal establish near-field communication. The encrypted configuration data is obtained by the smart terminal encrypting the configuration data using the public key of the IoT base station. The configuration data is pre-stored in the background server of the smart terminal.

[0132] The configuration data decryption module 1102 is configured to decrypt the encrypted configuration data using the private key of the IoT base station and, if the decryption is successful, read the session identifier value in the decrypted configuration data; and

[0133] The configuration data writing module 1103 is configured to write the decrypted configuration data into the memory if the session identifier value in the decrypted configuration data is greater than the session identifier value stored in the memory of the IoT base station, and the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is equal to a preset value.

[0134] In one embodiment of the present application, the configuration data decryption module 1102 is specifically configured to:

[0135] If the session identifier value in the decrypted configuration data is greater than the session identifier value stored in the memory of the IoT base station, and the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is equal to a preset value, after detecting a write configuration data instruction in the decrypted configuration data, the decrypted configuration data is written to the memory, and the session identifier value stored in the memory is modified to the session identifier value in the decrypted configuration data; and an update message of the session identifier value is sent to the background server of the smart terminal.

[0136] In one embodiment of the present application, the configuration data decryption module 1102 is further configured to:

[0137] If the decryption fails, the state identifier of the IoT base station where the decryption failed is sent to the electronic tag, and the electronic tag sends the state identifier of the IoT base station where the decryption failed to the smart terminal.

[0138] The configuration data writing module 1103 is further used to:

[0139] If the session identifier value in the decrypted configuration data is less than or equal to the session identifier value stored in the memory, or the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is not equal to the preset value, the decrypted configuration data is refused to be written into the memory, and the IoT base station status identifier of the session abnormality is sent to the electronic tag, and the electronic tag sends the IoT base station status identifier of the session abnormality to the smart terminal.

[0140] The configuration data writing module 1103 is further used to:

[0141] After the decrypted configuration data is written into the memory of the IoT base station, the IoT base station status identifier of successful configuration is sent to the smart terminal.

[0142] In one embodiment of the present application, the configuration data writing module 1103 is further configured to:

[0143] After the decrypted configuration data is written into the memory, the status identifier of the successfully configured Internet of Things base station is sent to the electronic tag, and the electronic tag sends the status identifier of the successfully configured Internet of Things base station to the smart terminal.

[0144] In one embodiment of the present application, the configuration data decryption module 1102 is further specifically configured to:

[0145] If decryption fails, the corresponding decryption failure processing strategy is filtered out in the memory according to the status identifier of the IoT base station where decryption failed, and the status identifier of the IoT base station where decryption failed and the corresponding decryption failure processing strategy are sent to the electronic tag. The electronic tag sends the status identifier of the IoT base station where decryption failed and the corresponding decryption failure processing strategy to the smart terminal; the decryption failure processing strategy corresponding to the status identifier of the IoT base station where decryption failed is stored in the memory.

[0146] The configuration data writing module 1103 is further specifically used for:

[0147] If the session identifier value in the decrypted configuration data is less than or equal to the session identifier value stored in the memory, or the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is not equal to a preset value, the decrypted configuration data is refused to be written to the memory, and the corresponding session exception handling policy is screened out in the memory based on the session abnormal IoT base station status identifier, and the session abnormal IoT base station status identifier and the corresponding session exception handling policy are sent to the electronic tag. The electronic tag sends the session abnormal IoT base station status identifier and the corresponding session exception handling policy to the smart terminal; the session exception handling policy corresponding to the session abnormal IoT base station status identifier is stored in the memory.

[0148] It should be noted that although several modules configuring the data processing device are mentioned in the detailed description above, this division is merely exemplary and not mandatory. In fact, depending on the embodiment of the present application, the features and functions of two or more modules described above can be embodied in a single module. Conversely, the features and functions of a single module described above can be further divided and embodied by multiple modules.

[0149] Based on the aforementioned inventive concept, as shown in FIG12 , the present application further proposes a computer device 1200, comprising a memory 1201, a processor 1202, and a computer program 1203 stored in the memory 1201 and executable on the processor 1202. When the processor 1202 executes the computer program 1203, the aforementioned configuration data processing method is implemented.

[0150] Based on the aforementioned inventive concept, the present application proposes a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the aforementioned configuration data processing method is implemented.

[0151] Based on the aforementioned inventive concept, the present application proposes a computer program product, which includes a computer program. When the computer program is executed by a processor, a configuration data processing method is implemented.

[0152] The IoT base station and IoT base station configuration data method proposed in the embodiments of the present application can address the issues of low configuration data efficiency and low configuration data security caused by direct configuration by configuration personnel on-site. The embodiments of the present application include: an electronic tag, a controller, and a memory. The electronic tag is configured to receive encrypted configuration data corresponding to the IoT base station, provided by the smart terminal to the IoT base station after establishing near-field communication with the smart terminal. The encrypted configuration data is encrypted by the smart terminal using the public key of the IoT base station; the configuration data is pre-stored in the backend server of the smart terminal. The controller is configured to read the encrypted configuration data received by the electronic tag, decrypt the encrypted configuration data using the private key of the IoT base station, and, if decryption is successful, read the session identifier value in the decrypted configuration data. If the session identifier value in the decrypted configuration data is greater than the session identifier value stored in the memory, and the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is equal to a preset value, the decrypted configuration data is written to the memory. The memory is configured to store the session identifier value and the decrypted configuration data. In an embodiment of the present application, the electronic tag establishes near-field communication with the smart terminal and pre-stores the configuration data in the background server of the smart terminal. This eliminates the need for configuration personnel to have corresponding technical capabilities, lowers the threshold for configuring data, and speeds up the efficiency of configuring data. The configuration data is encrypted for transmission, thereby enhancing the security of the configuration data. The legitimacy of the configuration data can be verified by comparing the session identifier value to avoid configuration errors.

[0153] Those skilled in the art will appreciate that the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application can adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application can adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) that contain computer-usable program code.

[0154] The present application is described with reference to the flow chart and / or block diagram of the method, device (system), and computer program product according to the embodiment of the present application. It should be understood that each flow process and / or box in the flow chart and / or block diagram and the combination of the flow process and / or box in the flow chart and / or block diagram can be realized by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processing machine or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce a device for realizing the function specified in one flow chart flow or multiple flows and / or one box or multiple boxes of the block diagram.

[0155] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device that implements the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0156] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable device provide steps for implementing the functions specified in one or more processes in the flowchart and / or one or more boxes in the block diagram.

[0157] The specific embodiments described above further illustrate the purpose, technical solutions and beneficial effects of the present application. It should be understood that the above description is only a specific embodiment of the present application and is not intended to limit the scope of protection of the present application. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.

Claims

1. An Internet of Things base station, characterized in that, Including: An electronic tag, a controller, and a memory; The electronic tag is used to receive the encrypted configuration data corresponding to the Internet of Things base station provided by the smart terminal to the Internet of Things base station after establishing a near-field communication with the smart terminal; wherein, the encrypted configuration data is obtained by the smart terminal encrypting the configuration data using the public key of the Internet of Things base station; the configuration data is pre-stored in the background server of the smart terminal; The controller is used to read the encrypted configuration data received by the electronic tag, decrypt the encrypted configuration data using the private key of the Internet of Things base station, and if the decryption is successful, read the session identification value in the decrypted configuration data; if the session identification value in the decrypted configuration data is greater than the session identification value stored in the memory, and the difference between the session identification value in the decrypted configuration data and the session identification value stored in the memory is equal to the preset value, write the decrypted configuration data into the memory; and The memory is used to store the session identification value and the decrypted configuration data.

2. The IoT base station according to claim 1, wherein The electronic tag is further used for: Sending the identity identification of the Internet of Things base station to the smart terminal; wherein, the identity identification of the Internet of Things base station is used for the smart terminal to confirm the Internet of Things base station that needs the configuration data.

3. The IoT base station according to claim 1, characterized in that, The controller is used for: If the session identification value in the decrypted configuration data is greater than the session identification value stored in the memory, and the difference between the session identification value in the decrypted configuration data and the session identification value stored in the memory is equal to the preset value, after detecting the write configuration data instruction in the decrypted configuration data, write the decrypted configuration data into the memory, modify the session identification value stored in the memory to the session identification value in the decrypted configuration data; send an update message of the session identification value to the background server of the smart terminal.

4. The Internet of Things base station according to claim 1, characterized in that, The controller is further used for: If the decryption fails, sending the status identification of the Internet of Things base station with decryption failure to the electronic tag; If the session identification value in the decrypted configuration data is less than or equal to the session identification value stored in the memory, or the difference between the session identification value in the decrypted configuration data and the session identification value stored in the memory is not equal to the preset value, refusing to write the decrypted configuration data into the memory, and sending the status identification of the Internet of Things base station with session exception to the electronic tag; And The electronic tag is further used for sending the status identification of the Internet of Things base station with decryption failure, or the status identification of the Internet of Things base station with session exception to the smart terminal.

5. The Internet of Things base station according to claim 1, characterized in that, The controller is further used for: After writing the decrypted configuration data into the memory, sending the status identification of the Internet of Things base station with successful configuration to the electronic tag; and The electronic tag is further used for sending the status identification of the Internet of Things base station with successful configuration to the smart terminal.

6. The IoT base station according to claim 4, wherein The controller is further used for: If the decryption fails, screening out the corresponding decryption failure handling strategy in the memory according to the status identification of the Internet of Things base station with decryption failure, and sending the status identification of the Internet of Things base station with decryption failure, and the corresponding decryption failure handling strategy to the electronic tag: and If the session identification value in the decrypted configuration data is less than or equal to the session identification value stored in the memory, or the difference between the session identification value in the decrypted configuration data and the session identification value stored in the memory is not equal to the preset value, reject writing the decrypted configuration data into the memory, and according to the status identification of the IoT base station with session exception, filter out the corresponding session exception handling strategy in the memory, and send the status identification of the IoT base station with session exception and the corresponding session exception handling strategy to the electronic tag; The electronic tag is also used to send the status identification of the IoT base station with decryption failure and the corresponding decryption failure handling strategy to the smart terminal, or send the status identification of the IoT base station with session exception and the corresponding session exception handling strategy to the smart terminal; And The memory is also used to store the decryption failure handling strategy corresponding to the status identification of the IoT base station with decryption failure and the session exception handling strategy corresponding to the status identification of the IoT base station with session exception.

7. A method for configuring data of the Internet of Things base station according to any one of claims 1 to 6, characterized in that, Including: After the electronic tag of the IoT base station establishes near-field communication with the smart terminal, it receives the encrypted configuration data provided by the smart terminal to the IoT base station; among them, the encrypted configuration data is obtained by the smart terminal encrypting the configuration data with the public key of the IoT base station; the configuration data is pre-stored in the background server of the smart terminal; And The controller of the IoT base station reads the encrypted configuration data received by the electronic tag, and the controller decrypts the encrypted configuration data with the private key of the IoT base station. If the decryption is successful, the controller reads the session identification value in the decrypted configuration data; if the session identification value in the decrypted configuration data is greater than the session identification value stored in the memory of the IoT base station, and the difference between the session identification value in the decrypted configuration data and the session identification value stored in the memory is equal to the preset value, the controller writes the decrypted configuration data into the memory.

8. The method according to claim 7, wherein After the electronic tag and the smart terminal establish near-field communication, it also includes: The electronic tag sends the IoT base station identity identification to the smart terminal; among them, the IoT base station identity identification is used for the smart terminal to confirm the IoT base station that needs the configuration data.

9. The method according to claim 7, wherein If the session identification value in the decrypted configuration data is greater than the session identification value stored in the memory of the IoT base station, and the difference between the session identification value in the decrypted configuration data and the session identification value stored in the memory is equal to the preset value, the controller writes the decrypted configuration data into the memory, including: If the session identification value in the decrypted configuration data is greater than the session identification value stored in the memory of the IoT base station, and the difference between the session identification value in the decrypted configuration data and the session identification value stored in the memory is equal to the preset value, after the controller detects the write configuration data instruction in the decrypted configuration data, it writes the decrypted configuration data into the memory, modifies the session identification value stored in the memory to the session identification value in the decrypted configuration data; and sends an update message of the session identification value to the background server of the smart terminal.

10. The method according to claim 7, characterized in that, Also including: If the decryption fails, the controller sends the status identifier of the IoT base station with decryption failure to the electronic tag, and the electronic tag sends the status identifier of the IoT base station with decryption failure to the intelligent terminal; And If the session identifier value in the decrypted configuration data is greater than the session identifier value stored in the memory of the IoT base station, and the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is equal to the preset value, the controller writes the decrypted configuration data into the memory. It also includes: If the session identifier value in the decrypted configuration data is less than or equal to the session identifier value stored in the memory, or the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is not equal to the preset value, the controller refuses to write the decrypted configuration data into the memory, sends the status identifier of the IoT base station with session anomaly to the electronic tag, and the electronic tag sends the status identifier of the IoT base station with session anomaly to the intelligent terminal.

11. The method according to claim 7, characterized in that, After the controller writes the decrypted configuration data into the memory, it also includes: The controller sends the status identifier of the IoT base station with successful configuration to the electronic tag; and The electronic tag sends the status identifier of the IoT base station with successful configuration to the intelligent terminal.

12. The method according to claim 10, characterized in that, If the decryption fails, the controller sends the status identifier of the IoT base station with decryption failure to the electronic tag, and the electronic tag sends the status identifier of the IoT base station with decryption failure to the intelligent terminal, including: If the decryption fails, the controller filters out the corresponding decryption failure handling strategy in the memory according to the status identifier of the IoT base station with decryption failure, and the controller sends the status identifier of the IoT base station with decryption failure and the corresponding decryption failure handling strategy to the electronic tag, and the electronic tag sends the status identifier of the IoT base station with decryption failure and the corresponding decryption failure handling strategy to the intelligent terminal; wherein, the decryption failure handling strategy corresponding to the status identifier of the IoT base station with decryption failure is stored in the memory; and If the session identifier value in the decrypted configuration data is less than or equal to the session identifier value stored in the memory, or the difference between the session identifier value in the decrypted configuration data and the session identifier value stored in the memory is not equal to the preset value, the controller refuses to write the decrypted configuration data into the memory, sends the status identifier of the IoT base station with session anomaly to the electronic tag, and the electronic tag sends the status identifier of the IoT base station with session anomaly to the intelligent terminal, including: If the session identification value in the decrypted configuration data is less than or equal to the session identification value stored in the memory, or the difference between the session identification value in the decrypted configuration data and the session identification value stored in the memory is not equal to the preset value, the controller refuses to write the decrypted configuration data into the memory. The controller filters out the corresponding session exception handling policy in the memory according to the status identification of the IoT base station with session exception. The controller sends the status identification of the IoT base station with session exception and the corresponding session exception handling policy to the electronic tag, and the electronic tag sends the status identification of the IoT base station with session exception and the corresponding session exception handling policy to the intelligent terminal; wherein, the session exception handling policy corresponding to the status identification of the IoT base station with session exception is stored in the memory.

13. A method for processing configuration data, characterized in that, The controller applied to the IoT base station according to any one of claims 1 to 6, includes: After the electronic tag and the intelligent terminal establish near-field communication, read the encrypted configuration data corresponding to the IoT base station provided by the intelligent terminal received by the electronic tag; wherein, the encrypted configuration data is obtained by the intelligent terminal encrypting the configuration data with the public key of the IoT base station; the configuration data is pre-stored in the background server of the intelligent terminal; Use the private key of the IoT base station to decrypt the encrypted configuration data. If the decryption is successful, read the session identification value in the decrypted configuration data; and If the session identification value in the decrypted configuration data is greater than the session identification value stored in the memory of the IoT base station, and the difference between the session identification value in the decrypted configuration data and the session identification value stored in the memory is equal to the preset value, write the decrypted configuration data into the memory.

14. A configuration data processing device, characterized in that, The controller applied to the IoT base station according to any one of claims 1 to 6, includes: A configuration data reading module, configured to read the encrypted configuration data corresponding to the IoT base station provided by the intelligent terminal received by the electronic tag after the electronic tag and the intelligent terminal establish near-field communication; wherein, the encrypted configuration data is obtained by the intelligent terminal encrypting the configuration data with the public key of the IoT base station; the configuration data is pre-stored in the background server of the intelligent terminal; A configuration data decryption module, configured to use the private key of the IoT base station to decrypt the encrypted configuration data. If the decryption is successful, read the session identification value in the decrypted configuration data; and A configuration data writing module, configured to write the decrypted configuration data into the memory if the session identification value in the decrypted configuration data is greater than the session identification value stored in the memory of the IoT base station, and the difference between the session identification value in the decrypted configuration data and the session identification value stored in the memory is equal to the preset value.

15. A computer device, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the method according to claim 13.

16. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program, and when the computer program is executed by the processor, it implements the method according to claim 13.

17. A computer program product, characterized in that, The computer program product includes a computer program, and when the computer program is executed by the processor, it implements the method according to claim 13.

Citation Information

Patent Citations

  • Methods and corresponding systems for acquiring and configuring network parameters by utilizing base station

    CN102075590A

  • Key synchronization method and device for cluster multi-base station encrypted communication system

    CN107846686A

  • Data transmission method and device and communication terminal

    CN108966307A

  • Internet of Things data access and processing system and method based on edge computing

    CN115189881A

  • Internet of Things base station and Internet of Things base station data configuration method

    CN117641361A