Intelligent terminal quick initialization and management method and system based on NFC and Bluetooth

By embedding CPU cards in smart terminal devices and using NFC and Bluetooth technology, combining the automated operation and hierarchical permission control of AI agents, complex configuration and security issues in the initialization and management of smart terminal devices are solved, and rapid and secure deployment and efficient management are achieved.

CN119893485APending Publication Date: 2025-04-25NEWCAPEC ELECTRONICS CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202510064349.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-15
Publication Date
2025-04-25

AI Technical Summary

Technical Problem

The prior art has problems such as complex configuration processes, lack of security mechanisms and permission hierarchical management, and insufficient remote control flexibility in the initialization and management of smart terminal devices.

Method used

By embedding CPU cards in smart terminal devices and combining NFC and Bluetooth technologies, rapid initialization and remote management of devices are achieved. On this basis, the AI ​​agent performs automated operations and hierarchical permission control, and supports online update of configuration policies or AI models to improve adaptability.

Benefits of technology

It realizes the rapid, secure deployment and efficient management of smart terminal devices, enhances the adaptability and security performance of the equipment, and is suitable for smart cities, smart homes and industrial automation fields.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119893485A_ABST
    Figure CN119893485A_ABST
Patent Text Reader

Abstract

The invention provides an intelligent terminal device fast initialization and management method based on NFC and Bluetooth, the intelligent terminal device and a mobile terminal are included, the intelligent terminal device is provided with an NFC module and a Bluetooth module, and the mobile terminal is provided with an NFC reading module and a Bluetooth module. Comprising the following steps that when the intelligent terminal equipment leaves a factory or is deployed for the first time, a CPU card is inserted into a special card slot of the intelligent terminal equipment, an equipment identifier, initial configuration information and safety verification data are written into the CPU card in advance, and the safety verification data at least comprises an initial secret key / certificate; the NFC reads the information and automatically triggers the AI intelligent agent; the AI intelligent agent carries out matching verification with user authorization information in the mobile terminal according to the initial secret key / certificate in the CPU card, initiates a Bluetooth pairing request to the intelligent terminal equipment when the verification is passed, and establishes a Bluetooth channel with the intelligent terminal equipment; and remote upgrading and intelligent management: firmware upgrading, parameter configuration and remote control are carried out through a Bluetooth channel.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of terminal management, and in particular to a method and system for quick initialization and management of intelligent terminal equipment based on NFC and Bluetooth. Background Art

[0002] With the rapid development of the Internet of Things (IoT) and smart devices, smart terminal devices are becoming increasingly diversified in terms of functions and application scenarios, and the importance of their initialization and daily management is becoming increasingly prominent. Traditional terminal initialization usually requires manual configuration, which is complicated and time-consuming, and difficult to respond quickly when faced with multiple devices or remote deployment. In existing technologies, wireless communication methods such as NFC and Bluetooth have been tried to improve initialization efficiency, but are often limited to the initial pairing process and lack a complete security mechanism and hierarchical authority management.

[0003] At the same time, AI technology has gradually shown its potential in the configuration and management of smart terminal devices, and can make intelligent decisions based on different environments or demand scenarios to reduce human intervention. However, in actual applications, there are still problems such as lack of security chips or hierarchical key management, inability to update AI strategies in real time, and insufficient flexibility of remote control.

[0004] Therefore, how to fully combine NFC technology with Bluetooth communication, strengthen data and identity authentication by embedding security units such as CPU cards on the device side, and use AI agents to achieve automated operations and hierarchical authority control in initialization and subsequent management, has become a feasible way to solve the above problems. In addition, in order to cope with changing application requirements and remote maintenance scenarios, the adaptive ability and management efficiency of smart terminal device systems can be further improved by updating configuration strategies or AI models online and performing reasoning locally. This multi-channel security and intelligent management model is widely applicable in smart cities, smart homes, industrial automation and other fields.

[0005] In order to solve the above problems, people have been seeking an ideal technical solution. Summary of the invention

[0006] Based on this, it is necessary to provide a method and system for quick initialization and management of smart terminal devices based on NFC and Bluetooth to address the above technical problems, which can realize fast and secure deployment of smart terminal devices, hierarchical authority control, and adaptive management based on online updates and local reasoning.

[0007] In order to achieve the above-mentioned object, the first aspect of the present invention provides a quick initialization and management method for a smart terminal device based on NFC and Bluetooth, such as Figure 1As shown, it includes a smart terminal device and a mobile terminal, the smart terminal device is provided with an NFC module and a Bluetooth module, and the mobile terminal is provided with an NFC reading module and a Bluetooth module, such as Figure 2 As shown, the intelligent terminal device quick initialization and management method includes the following steps: CPU card insertion and device pre-configuration: When the smart terminal device leaves the factory or is deployed for the first time, the CPU card is inserted into the dedicated card slot of the smart terminal device, wherein the device identification, initial configuration information and security verification data are pre-written in the CPU card, and the security verification data at least includes the initial key / certificate; NFC reads information and automatically triggers the AI ​​agent: The mobile terminal establishes NFC communication with the smart terminal device, reads the device identification, initial configuration information and security verification data in the CPU card, and jumps to the AI ​​agent to trigger the AI ​​agent; Security verification and Bluetooth connection establishment: The AI ​​agent matches and verifies the initial key / certificate in the CPU card with the user authorization information in the mobile terminal. When the verification is successful, it initiates a Bluetooth pairing request to the smart terminal device and establishes a Bluetooth channel with the smart terminal device. Remote upgrade and intelligent management: firmware upgrade, parameter configuration and remote control through Bluetooth channel.

[0008] In a possible embodiment, after the AI ​​agent is triggered, the AI ​​module makes a quick decision based on the security data in the CPU card and the current deployment environment, such as whether hierarchical authorization is required, whether firmware inspection is required, etc.

[0009] In one possible embodiment, multiple security authentication and Bluetooth connection establishment include; Authentication: The AI ​​agent matches and verifies the key or certificate in the CPU card with the user authorization information stored locally on the mobile phone (or obtained from the cloud). Only if the verification is successful can the Bluetooth pairing request be initiated.

[0010] Secure pairing: The AI ​​agent uses the security token or temporary key read by NFC to perform encrypted interaction with the device (such as ECDH key negotiation), completing identity confirmation and session key generation before the Bluetooth connection is established.

[0011] Connection initialization: After confirming security, the mobile phone and the device establish an encrypted Bluetooth communication tunnel, and can continuously update the session key or perform additional verification in subsequent communications to improve anti-attack capabilities.

[0012] In a possible embodiment of the first aspect, a monitoring agent is provided in the smart terminal device, which is used to collect device status, logs and abnormal information of the smart terminal device and normalize and transmit them to the AI ​​agent.

[0013] In a possible embodiment of the first aspect, Figure 3 As shown in the figure, after the AI ​​agent receives the device status, log and exception information of the smart terminal device, it performs reasoning based on ReAct to preliminarily determine the fault type and cause; after retrieving document fragments or historical cases of relevant solutions based on RAG, it generates a fault diagnosis conclusion.

[0014] Specifically, RAG searches include: (1) Retriever 1. Maintain a knowledge base that includes historical configuration and troubleshooting cases, official documents, user community FAQs, etc.

[0015] 2. During the reasoning process, if the AI ​​agent needs additional information (such as an explanation of an error code or corresponding repair steps), it will first issue a retrieval request and find the document fragment that best matches the current fault through semantic vector search or keyword indexing.

[0016] (2) Generator 1. Input the retrieved document fragments together with the current device failure information and user context into the generative model (which can be based on the Transformer architecture).

[0017] 2. The model integrates all information and outputs targeted diagnostic results and repair strategies, such as "network interruption, it is recommended to check the router or change the AP channel" or "firmware signature verification failed, need to re-download and verify MD5 value".

[0018] 3. Combined with the ReAct mode, if a specific operation instruction is determined (such as starting a rollback), the model will call the device management interface or corresponding API to execute it.

[0019] In a possible embodiment of the first aspect, when the fault is of the type that can be automatically repaired, such as network disconnection or minor configuration conflict, the AI ​​agent directly generates an operation script and calls the management interface to perform reconnection and reset operations, waiting for the device status to be restored or the next step of feedback; when the fault is a serious and non-automatic recovery type such as an upgrade failure that affects the core functions of the device, the rollback strategy in the knowledge base is referenced to generate rollback operation instructions or scripts, and before execution, a confirmation request is sent to the administrator or IoT platform according to the policy requirements to perform the rollback operation.

[0020] Understandably, IoT platforms can be configured to require two-factor authentication or advanced permissions.

[0021] In a possible embodiment of the first aspect, the AI ​​agent issues a fault handling command to the device end through the Act step, and receives a result returned after the intelligent terminal device executes the fault handling command, wherein the result includes a success / failure / exception code concentration situation: If the repair is successful, the AI ​​agent records the operation process and results in the log, and writes the solution into the knowledge base for future retrieval of similar faults; If the repair still fails, the AI ​​agent will enter the next round of ReAct+RAG reasoning and retrieval process again.

[0022] For example, when an error occurs during a firmware upgrade of a smart terminal device, the AI ​​agent may first "infer" several possible causes (version incompatibility, network interruption, signature verification failure), then obtain the result by performing the corresponding "detection action" (for example: checking network connectivity), and then continue to reason, and finally make specific decisions such as "rolling back to a stable version" or "re-downloading the patch."

[0023] In a possible embodiment of the first aspect, a hierarchical authority strategy is also provided in the CPU card, and the AI ​​agent determines the different operation permissions of the user on the smart terminal device according to the hierarchical authority strategy in the CPU card or reads the hierarchical authority strategy from the cloud, as well as the identity information of the current user (such as administrator, ordinary user, visitor, etc.). Specifically, if the user only has viewing permission, he is only allowed to view the device status; if he is an administrator, he can perform high-authority operations such as firmware upgrade, parameter configuration, and restart. If a request for higher-level permissions is detected, the system may pop up a window to request biometric identification or secondary confirmation in the cloud.

[0024] In a possible embodiment of the first aspect, if the mobile terminal is connected to the Internet or communicates with the cloud, the AI ​​agent periodically obtains new configuration strategies or AI models from the cloud for updating; if the mobile terminal is offline, local reasoning and decision-making are performed based on the current AI model.

[0025] It should be noted that the smart terminal device quick initialization and management method can also achieve scalability and efficient operation and maintenance of multiple device scenarios, specifically including: Horizontal expansion: When hundreds or even thousands of smart terminal devices need to be managed, AI agents can be deployed in a centralized or distributed manner. The RAG knowledge base can also be stored in shards or partitions to achieve large-scale parallel retrieval.

[0026] Offline and online compatibility: If the device or mobile phone is in an offline environment, as long as part of the knowledge base is stored locally, the AI ​​agent can complete basic fault diagnosis and rollback operations; once the network connection is restored, the latest fault cases and repair strategies can be synchronized with the cloud.

[0027] Continuous learning: By recording each failure and the process of solving it, the knowledge base of the AI ​​agent can be continuously updated, which not only improves the accuracy of fault retrieval, but also allows the generation model to be retrained or fine-tuned in subsequent versions, gradually improving automation and intelligence capabilities.

[0028] The smart terminal device quick initialization and management method also ensures the security and compliance, data privacy and traceability of the entire process through identity authentication and authority control. Specifically: Combined with the key stored in the CPU card and the hierarchical permission policy, it ensures that the AI ​​agent must obtain corresponding authorization before performing high-risk operations (such as rollback and configuration deletion).

[0029] The ReAct mode can be used to add a "check user permissions" step to the inference link. If the permissions are insufficient, a termination operation or a prompt to request a higher-level account will be generated.

[0030] All key links such as NFC reading, Bluetooth connection, parameter modification and firmware upgrade are recorded in the security log. Fault diagnosis and operation process are automatically recorded in the log and associated with the timestamp and operation initiator. Subsequent audits can review operation compliance by retrieving the log.

[0031] Specifically, if cloud auditing is used, logs can be uploaded synchronously for unified management and security analysis. Once abnormal behavior is detected, alarms can be triggered or relevant operation permissions can be blocked in a timely manner.

[0032] In the RAG retrieval process, if you need to access sensitive documents or cases, the system can configure corresponding access control so that only authorized nodes or roles can view and use these data fragments.

[0033] Furthermore, the method also includes a cloud policy synchronization step. If the device is connected to the Internet or communicates with the cloud, the AI ​​agent can regularly obtain new configuration policies or AI models from the cloud for update, supporting more complex and dynamic management scenarios.

[0034] It is understandable that when the device or mobile phone is offline, it can only perform local reasoning and decision-making based on the downloaded AI model, and can still complete basic management and exception handling, thereby improving the robustness of the system.

[0035] In order to achieve the above-mentioned object, the second aspect of the present invention provides a quick initialization and management system for smart terminal devices based on NFC and Bluetooth, including: a smart terminal device and a mobile terminal, wherein the smart terminal device is provided with an NFC module and a Bluetooth module, and the mobile terminal is provided with an NFC reading module and a Bluetooth module; The smart terminal device is provided with a CPU card, wherein the CPU card is inserted when the smart terminal device leaves the factory or is initially deployed, and the CPU card is pre-written with a device identification, initial configuration information and security verification data, wherein the security verification data at least includes an initial key / certificate; The mobile terminal is provided with an AI agent, which is triggered when receiving the device identification, initial configuration information and security verification data in the CPU card read by the mobile terminal through NFC communication; The AI ​​agent matches and verifies the user authorization information in the mobile terminal based on the initial key / certificate in the CPU card, and when the verification is passed, initiates a Bluetooth pairing request to the smart terminal device, establishes a Bluetooth channel with the smart terminal device, and performs firmware upgrades, parameter configuration and remote control through the Bluetooth channel.

[0036] The beneficial effects of the present invention are: The present invention discloses a method and system for quick initialization and management of intelligent terminal devices based on NFC and Bluetooth. Specifically, a CPU card is embedded in the intelligent terminal device and the device identification, initial configuration information and security verification data in the CPU card are read by NFC communication, triggering the AI ​​agent to automatically jump to the Bluetooth channel, thereby achieving fast and secure pairing and remote management. Compared with the traditional method of using only NFC or Bluetooth, the present invention significantly improves the deployment efficiency and data transmission security through a multi-channel security mechanism and an automated configuration process.

[0037] Furthermore, multi-level keys and policies are pre-set in the CPU card, and combined with AI agents, hierarchical permissions and on-demand authorization are implemented to overcome the security risks of one-time full-authority pairing, thereby effectively enhancing the flexibility and refined control of device management.

[0038] The present invention also supports online updating of strategies or AI models, and performs reasoning and decision-making locally. Combined with the global advantages of cloud-based big data analysis, it further improves the adaptive deployment and dynamic management capabilities in complex scenarios, and significantly optimizes the user experience and security performance of smart terminal devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 is a connection relationship diagram between the intelligent terminal device and the mobile terminal of the present invention; Figure 2 It is a flowchart of the quick initialization and management method of the intelligent terminal device of the present invention; Figure 3 This is a schematic diagram of the AI-assisted targeting and safe rollback process; Figure 4 It is a complete flow chart of the intelligent terminal device and the mobile terminal of the present invention. DETAILED DESCRIPTION

[0040] For ease of understanding, the interactive parties and / or terms and / or custom words involved in the present invention are first described in conjunction with the technical solution of the present invention: ReAct (Reason+Act): In traditional AI management processes, models often draw conclusions or perform actions directly based on inputs, lacking the ability to decouple the "reasoning process" from the "actual execution". The ReAct model emphasizes the following two points: 1. Reason: The AI ​​agent performs multi-step reasoning on the fault phenomenon and environmental context in the background, and clearly records the reasoning ideas or intermediate conclusions. These reasoning steps can be visualized "thinking chains" or structured reasoning logs within the system.

[0041] 2. Act: When the inference concludes that an action needs to be performed (such as rolling back firmware or reconfiguring the network), the AI ​​agent interacts with the device or knowledge base through specific “action calls”; once feedback is obtained, it continues to reason or execute the next action based on the feedback information.

[0042] With the widespread deployment of smart terminal devices in IoT application scenarios and the continuous improvement of their functional complexity, their initial installation and debugging and subsequent configuration management have become increasingly cumbersome. Traditional manual configuration methods are inefficient when multiple devices need to be deployed quickly, and are prone to configuration errors due to human error; at the same time, due to the lack of effective security mechanisms and permission control, the existing smart terminal device management model is susceptible to external interference or illegal operations during remote operation, making it difficult to ensure the security of devices and data. Therefore, how to simplify the operation process, improve configuration efficiency, and enhance the flexibility and security of remote management has become a technical problem that needs to be solved urgently.

[0043] The present invention provides a method for initializing and remotely managing smart terminal devices based on CPU cards, NFC card reader technology, and Bluetooth communication. By embedding a CPU card inside the terminal device and combining the NFC function and AI agent on the mobile phone, the method can realize fast, safe, and intelligent deployment and remote management of the device. Its features include: 1. Introduce a CPU card at the device level to store initial keys, factory configuration information, and multi-level access policies; 2. Use the NFC function on the mobile phone to quickly read and verify the CPU card information, and automatically trigger the AI ​​agent to perform subsequent Bluetooth connection and control; 3. Realize remote firmware upgrade, device parameter configuration and multi-level permission management based on Bluetooth communication; 4. Through hierarchical permissions or on-demand authorization mechanisms, combined with cloud or local AI reasoning, secure, efficient and scalable remote management capabilities are achieved.

[0044] The technical solution of the present invention is further described in detail below through specific implementation methods.

[0045] Example 1 The present embodiment provides a quick initialization and management method for a smart terminal device based on NFC and Bluetooth, including a smart terminal device and a mobile terminal. The smart terminal device is provided with an NFC module and a Bluetooth module, and the mobile terminal is provided with an NFC reading module and a Bluetooth module, and is also deployed with an AI agent. In the present embodiment, a mobile terminal is a mobile phone. In some embodiments, a mobile terminal such as a tablet may also be used.

[0046] Specifically, the smart terminal device quick initialization and management method adopts a local processing mode.

[0047] Among them, Figure 4 As shown, the local processing mode includes the following steps: CPU card insertion and device pre-configuration: When the smart terminal device leaves the factory or is deployed for the first time, the CPU card is inserted into the dedicated card slot of the smart terminal device, wherein the device identification, initial configuration information and security verification data are pre-written in the CPU card, and the security verification data at least includes the initial key / certificate, the initial key / certificate and the hierarchical authority policy.

[0048] It is understandable that basic security checks can be performed when smart terminal devices leave the factory or are initially deployed, such as comparing the CPU card serial number to ensure the legitimacy of the CPU card.

[0049] NFC reads information and automatically triggers the AI ​​agent: The mobile terminal establishes NFC communication with the smart terminal device, reads the device identification, initial configuration information and security verification data in the CPU card, and jumps to the operation interface of the AI ​​agent after reading is completed to trigger the AI ​​agent.

[0050] The AI ​​agent determines whether additional security verification or firmware check is required based on the CPU card information and the identity of the current user (such as ordinary user, administrator).

[0051] If no additional security verification or firmware check is required, security verification and Bluetooth connection establishment are performed directly; If additional security verification or firmware check is required, security verification or firmware check is performed first, and then security verification and Bluetooth connection establishment are performed.

[0052] Security verification and Bluetooth connection establishment: The AI ​​agent matches and verifies the initial key / certificate in the CPU card with the user authorization information in the mobile terminal. When the verification is successful, the mobile terminal initiates a Bluetooth pairing request to the smart terminal device and establishes a Bluetooth channel with the smart terminal device.

[0053] Specifically, when the mobile terminal initiates a Bluetooth pairing request to the smart terminal device, an encrypted handshake is performed with the smart terminal device based on the security token / temporary key in the CPU card, identity confirmation and session key generation are achieved before the Bluetooth connection is established, and encrypted communication is performed with the smart terminal device through the Bluetooth channel based on the session key.

[0054] Remote upgrade and intelligent management: firmware upgrade, parameter configuration, remote control, status query and other operations are performed through the Bluetooth channel.

[0055] Among them, firmware upgrade: the firmware package or incremental upgrade package is sent to the device through the Bluetooth channel. The device will upgrade after verifying the signature and integrity, and can perform rollback protection when the upgrade fails.

[0056] Parameter configuration: Users or systems can modify network parameters, working modes or other business parameters through the mobile APP and send them to the device in real time; the device completes the configuration and returns the execution results.

[0057] It should be noted that the AI ​​agent can assist in diagnosis and monitor the configuration process in real time. If any abnormality occurs (such as version conflicts, network abnormalities), it can automatically diagnose and prompt solutions. If serious problems are found (such as configuration conflicts), the user will be prompted to roll back to a stable configuration or perform manual troubleshooting.

[0058] It can be seen that the local processing mode does not require an additional IoT platform or cloud connection, is easy to deploy, and has a fast initialization speed; for local scenarios or small-scale usage environments, the user learning cost is low and the operation is intuitive. It is suitable for simple devices or scenarios with low requirements for security and remote management, such as small-scale testing of personal smart homes, IoT terminal demonstrations in laboratory environments, etc.

[0059] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0060] Example 2 The difference between this embodiment and Embodiment 1 is that the quick initialization and management method of the intelligent terminal device based on NFC and Bluetooth adopts the network processing mode.

[0061] Specifically, Figure 4 As shown, the networking processing mode includes the following steps: CPU card insertion and device pre-configuration: When the smart terminal device leaves the factory or is deployed for the first time, the CPU card is inserted into the dedicated card slot of the smart terminal device, wherein the device identification, initial configuration information and security verification data are pre-written in the CPU card, and the security verification data at least includes the initial key / certificate, the initial key / certificate and the hierarchical authority policy.

[0062] It is understandable that basic security checks can be performed when smart terminal devices leave the factory or are initially deployed, such as comparing the CPU card serial number to ensure the legitimacy of the CPU card.

[0063] Different from Example 1, in the networked processing mode, the CPU card can also carry the authorization token associated with the Internet of Things platform or the reference information of the cloud configuration policy, which is used for subsequent secure communication and authority verification with the platform.

[0064] NFC reads information and automatically triggers the AI ​​agent: The mobile terminal establishes NFC communication with the smart terminal device, reads the device identification, initial configuration information and security verification data in the CPU card, and jumps to the operation interface of the AI ​​agent after reading is completed to trigger the AI ​​agent.

[0065] Different from Example 1, the AI ​​agent will first verify the locally stored key or certificate; if further verification or policy update is required, it will check whether the network is available and initiate a request to the IoT platform; the IoT platform will retrieve its operation rules and permission information from the database based on the device ID and user identity, and return it to the AI ​​agent of the mobile terminal for verification or policy update; After verification or policy update, the AI ​​agent determines whether additional security verification or firmware check is required based on the CPU card information and the identity of the current user (such as ordinary user, administrator).

[0066] If no additional security verification or firmware check is required, security verification and Bluetooth connection establishment are performed directly; If additional security verification or firmware check is required, security verification or firmware check is performed first, and then security verification and Bluetooth connection establishment are performed.

[0067] Security verification and Bluetooth connection establishment: The AI ​​agent matches and verifies the initial key / certificate in the CPU card with the user authorization information in the mobile terminal. When the verification is successful, the mobile terminal initiates a Bluetooth pairing request to the smart terminal device and establishes a Bluetooth channel with the smart terminal device.

[0068] It should be noted that before initiating a Bluetooth pairing request, the IoT platform needs to confirm user permissions and device status. Only when user permissions and device status meet the preset requirements will the mobile phone be allowed to initiate a Bluetooth pairing request.

[0069] Specifically, when the mobile terminal initiates a Bluetooth pairing request to the smart terminal device, an encrypted handshake is performed with the smart terminal device based on the security token / temporary key in the CPU card, identity confirmation and session key generation are achieved before the Bluetooth connection is established, and encrypted communication is performed with the smart terminal device through the Bluetooth channel based on the session key.

[0070] It is understandable that AI agents can also use temporary keys or security tokens issued by the platform to achieve stricter encryption and authentication (such as ECDH, TLS over BLE, etc.).

[0071] Remote upgrade and intelligent management: firmware upgrade, parameter configuration, remote control, status query and other operations are performed through the Bluetooth channel.

[0072] The IoT platform can issue the latest firmware package or incremental patch in real time, and the smart terminal device receives and executes the upgrade through the mobile phone Bluetooth channel. During the upgrade process, the AI ​​agent will monitor the progress and error code. If a serious fault is detected, it can immediately apply to the platform for rollback or other emergency operations.

[0073] The IoT platform can perform hierarchical permission management for different roles (administrators / operation and maintenance personnel / ordinary users). If the user is an ordinary user, he or she only has viewing permissions and is only allowed to view the device status; if he or she is an administrator, he or she can perform high-privilege operations such as firmware upgrades, parameter configuration, and restart. If a request for higher-level permissions is detected, the system can pop up a window to request biometric identification or secondary confirmation in the cloud.

[0074] Furthermore, the network processing mode can also perform cloud auditing and data analysis functions: The system records logs at key steps such as NFC reading, Bluetooth connection, firmware update, parameter change, etc. and uploads them to the IoT platform; The IoT platform can conduct a unified audit of all operations, and once an abnormality is detected (such as an unauthorized upgrade request), it can be immediately blocked or an alarm can be issued.

[0075] Furthermore, the IoT platform can further optimize deployment strategies by performing big data analysis or machine learning on massive amounts of device data, such as automatically identifying common failure points and issuing special security policies for high-risk scenarios.

[0076] It can be seen that the networked processing mode relies on the powerful management capabilities of the IoT platform, and its security and controllability are significantly improved; the cloud uniformly issues policies, firmware upgrades, and AI model updates, which is suitable for large-scale device deployment or high-security demand scenarios. However, due to its reliance on platform services, once the platform is unavailable, the device will be limited in function (but some offline local operations can be retained); and it requires a relatively complex network environment and management background, and the initial deployment cost is high.

[0077] Therefore, the networked processing mode is suitable for scenarios with high demands for device security and remote management, such as smart city infrastructure, smart home security systems, industrial production terminals, etc. It can make full use of the cloud platform to achieve centralized control and hierarchical authority management, and can incorporate massive equipment operation data into the closed loop of big data analysis and online AI model updates.

[0078] Example 3 Based on the same inventive concept, the embodiment of the present application also provides a smart terminal device quick initialization and management system based on NFC and Bluetooth for implementing the above-mentioned smart terminal device quick initialization and management method based on NFC and Bluetooth. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above-mentioned method, so the specific limitations in one or more embodiments of the smart terminal device quick initialization and management system based on NFC and Bluetooth provided below can refer to the limitations of the smart terminal device quick initialization and management method based on NFC and Bluetooth above, and will not be repeated here.

[0079] The NFC and Bluetooth-based smart terminal device quick initialization and management system includes: a smart terminal device and a mobile terminal, wherein the smart terminal device is provided with an NFC module and a Bluetooth module, and the mobile terminal is provided with an NFC reading module and a Bluetooth module; The smart terminal device is provided with a CPU card, wherein the CPU card is inserted when the smart terminal device leaves the factory or is initially deployed, and the CPU card is pre-written with a device identification, initial configuration information and security verification data, wherein the security verification data at least includes an initial key / certificate; The mobile terminal is provided with an AI agent, which is triggered when receiving the device identification, initial configuration information and security verification data in the CPU card read by the mobile terminal through NFC communication; The AI ​​agent matches and verifies the user authorization information in the mobile terminal based on the initial key / certificate in the CPU card, and when the verification is passed, initiates a Bluetooth pairing request to the smart terminal device, establishes a Bluetooth channel with the smart terminal device, and performs firmware upgrades, parameter configuration and remote control through the Bluetooth channel.

[0080] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, ordinary technicians in the field should understand that the specific implementation methods of the present invention can still be modified or some technical features can be replaced by equivalents without departing from the spirit of the technical solution of the present invention, which should be included in the scope of the technical solution for protection of the present invention.

Claims

1. A quick initialization and management method for smart terminal devices based on NFC and Bluetooth, comprising a smart terminal device and a mobile terminal, wherein the smart terminal device is provided with an NFC module and a Bluetooth module, and the mobile terminal is provided with an NFC reading module and a Bluetooth module, characterized in that: The following steps are involved: CPU card insertion and device pre-configuration: When the smart terminal device leaves the factory or is deployed for the first time, the CPU card is inserted into the dedicated card slot of the smart terminal device, wherein the device identification, initial configuration information and security verification data are pre-written in the CPU card, and the security verification data at least includes the initial key / certificate; NFC reads information and automatically triggers the AI ​​agent: The mobile terminal establishes NFC communication with the smart terminal device, reads the device identification, initial configuration information and security verification data in the CPU card, and jumps to the AI ​​agent to trigger the AI ​​agent; Security verification and Bluetooth connection establishment: The AI ​​agent matches and verifies the initial key / certificate in the CPU card with the user authorization information in the mobile terminal. When the verification is successful, it initiates a Bluetooth pairing request to the smart terminal device and establishes a Bluetooth channel with the smart terminal device. Remote upgrade and intelligent management: firmware upgrade, parameter configuration and remote control through Bluetooth channel.

2. According to claim 1, a quick initialization and management method for intelligent terminal devices based on NFC and Bluetooth is characterized in that: When an abnormal threshold alarm occurs in the device or a user reports a fault, the AI ​​agent performs reasoning based on ReAct to preliminarily determine the fault type and cause; based on RAG retrieval, it retrieves document fragments or historical cases of relevant solutions in the knowledge base and generates a fault diagnosis conclusion.

3. According to claim 2, a quick initialization and management method for intelligent terminal devices based on NFC and Bluetooth is characterized in that: When the fault is of the type that can be automatically repaired, the AI ​​agent directly generates an operation script and calls the management interface to perform reconnection and reset operations, waiting for the device status to recover or the next step of feedback; when the fault is of the type that cannot be automatically recovered, it refers to the rollback strategy in the knowledge base, generates rollback operation instructions or scripts, and sends a confirmation request to the administrator or cloud according to the policy requirements before execution to perform the rollback operation.

4. According to claim 3, a quick initialization and management method for intelligent terminal devices based on NFC and Bluetooth is characterized in that: The AI ​​agent sends a fault handling command to the device through the Act step, and receives the result returned by the intelligent terminal device after executing the fault handling command: If the repair is successful, the AI ​​agent records the operation process and results in the log and writes the solution into the knowledge base; If the repair still fails, the AI ​​agent will enter the next round of ReAct+RAG reasoning and retrieval process again.

5. According to claim 4, a quick initialization and management method for intelligent terminal devices based on NFC and Bluetooth is characterized in that: The security verification data also includes a security token / temporary key; The AI ​​agent conducts encrypted interactions with the smart terminal device based on the security token / temporary key in the CPU card or obtained from the cloud, realizes identity confirmation and session key generation before the Bluetooth connection is established, and conducts encrypted communication with the smart terminal device through the Bluetooth channel based on the session key.

6. A quick initialization and management method for intelligent terminal devices based on NFC and Bluetooth according to any one of claims 1 to 5, characterized in that: The CPU card also has a hierarchical permission strategy. The AI ​​agent determines the user's operating permissions for the smart terminal device based on the hierarchical permission strategy in the CPU card and the current user's identity information.

7. The method for quick initialization and management of intelligent terminal devices based on NFC and Bluetooth according to claim 6, characterized in that: The smart terminal device is provided with a monitoring agent for collecting the device status, logs and abnormal information of the smart terminal device and normalizing and transmitting them to the AI ​​agent.

8. The method for quick initialization and management of intelligent terminal devices based on NFC and Bluetooth according to claim 7, characterized in that: The AI ​​agent has a built-in adaptive threshold model, which performs real-time comparison and trend analysis on the device status of smart terminal devices to determine whether the smart terminal devices have signs of failure or abnormal fluctuations.

9. The method for quick initialization and management of intelligent terminal devices based on NFC and Bluetooth according to claim 1, characterized in that: If the mobile terminal is connected to the Internet or communicating with the cloud, the AI ​​agent will periodically obtain new configuration strategies or AI models from the cloud for update; if the mobile terminal is offline, local reasoning and decision-making will be performed based on the current AI model.

10. A quick initialization and management system for intelligent terminal devices based on NFC and Bluetooth, characterized in that: include: A smart terminal device and a mobile terminal, wherein the smart terminal device is provided with an NFC module and a Bluetooth module, and the mobile terminal is provided with an NFC reading module and a Bluetooth module; The smart terminal device is provided with a CPU card, wherein the CPU card is inserted when the smart terminal device leaves the factory or is initially deployed, and the CPU card is pre-written with a device identification, initial configuration information and security verification data, wherein the security verification data at least includes an initial key / certificate; The mobile terminal is provided with an AI agent, which is triggered when receiving the device identification, initial configuration information and security verification data in the CPU card read by the mobile terminal through NFC communication; The AI ​​agent matches and verifies the user authorization information in the mobile terminal based on the initial key / certificate in the CPU card, and when the verification is passed, initiates a Bluetooth pairing request to the smart terminal device, establishes a Bluetooth channel with the smart terminal device, and performs firmware upgrades, parameter configuration and remote control through the Bluetooth channel.

Citation Information

Cited By

  • Method for repairing Bluetooth communication abnormity and electronic equipment

    CN120602956A