Intelligent agent system and access control method thereof, electronic equipment and storage medium

By separating the intelligent agent host and access devices, it supports multiple connection methods, enabling plug-and-play functionality and dynamic expansion of features. This solves the problem of high maintenance costs in existing intelligent agent systems and enhances the system's flexibility and versatility.

CN120896848APending Publication Date: 2025-11-04HEFEI BAYUN INFORMATION TECHNOLOGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510945392.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-09
Publication Date
2025-11-04

AI Technical Summary

Technical Problem

Existing intelligent agent systems are strongly coupled systems, which leads to high maintenance costs and difficulties when expanding functions.

Method used

Design an intelligent agent system in which the intelligent agent host and access devices are connected via wired direct connection, network or wireless communication, supporting plug-and-play and dynamic functional expansion. When upgrading or replacing devices, only the functional description file needs to be updated.

Benefits of technology

It reduces system maintenance costs and complexity, enables plug-and-play access to intelligent agent devices and dynamic functional expansion, and enhances the system's flexibility and versatility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120896848A_ABST
    Figure CN120896848A_ABST
Patent Text Reader

Abstract

The invention discloses an intelligent agent system and an access control method thereof, electronic equipment and a storage medium. The system comprises an intelligent agent host and at least one intelligent agent access device connected with the intelligent agent host. The agent host is used for generating at least one agent based on a configuration request of a user; the intelligent agent is used for receiving a connection request of a user, sending an information acquisition instruction to the intelligent agent access equipment, and receiving an intelligent agent instruction fed back by the intelligent agent access equipment based on the information acquisition instruction; and the intelligent agent is also used for receiving an equipment operation request of the user and sending an equipment control instruction to the intelligent agent access equipment based on the equipment operation request and the intelligent agent instruction, so that the intelligent agent access equipment executes an operation required by the user. According to the intelligent agent access equipment, plug and play and dynamic function expansion can be realized, the novel intelligent agent access equipment can be accessed without manual intervention when the system needs function expansion, and the equipment function is automatically adapted; and when the equipment is upgraded or replaced, adaptation can be completed only by updating the function description file of the intelligent agent access equipment, so that the maintenance cost and the maintenance difficulty of the system are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of artificial intelligence, and more particularly, to an agent system, an access control method thereof, an electronic device, and a storage medium. BACKGROUND

[0002] With the development of artificial intelligence technology, an agent system based on artificial intelligence technology has been increasingly widely applied. The agent system includes an agent host and an agent access device matched with the agent host. The agent access device can receive an instruction issued by the agent host bound thereto, implement a function or operation required by a user, and can feed back information to the agent host to enable the agent host to make a corresponding processing.

[0003] However, the existing agent system is a strong coupling system, in which the agent host and the agent access device are integrated together. When it is necessary to extend the function of the system, secondary development is required, thereby increasing the maintenance cost and difficulty of the system. SUMMARY

[0004] Therefore, the present application provides an agent system, an access control method thereof, an electronic device, and a storage medium, and provides an agent system without a strong coupling relationship, so as to reduce the maintenance cost required for later function extension and reduce the maintenance difficulty.

[0005] To achieve the above-mentioned purpose, the present application provides the following solutions.

[0006] An agent system includes an agent host and at least one agent access device connected with the agent host, wherein:

[0007] The agent host is configured to generate at least one agent based on a configuration request of a user.

[0008] The agent is configured to receive a connection request of a user, issue an information acquisition instruction to the agent access device, and receive an agent instruction fed back by the agent access device based on the information acquisition instruction.

[0009] The agent is further configured to receive a device operation request of a user, and send a device control instruction to the agent access device based on the device operation request and the agent instruction, so as to enable the agent access device to perform an operation required by the user.

[0010] Optionally, the agent host and the agent access device are connected through a wired direct connection mode, a network mode, or a wireless communication mode.

[0011] Optionally, the intelligent agent host is configured with an intelligent agent management system, which is used to perform management on users, management on intelligent agent hosts, management on intelligent agents, and management on the intelligent agent access device.

[0012] Optionally, the intelligent agent management system includes an intelligent agent user management module, an intelligent agent service management module, an intelligent agent management module, an intelligent agent access device management module, and an authorization management module, wherein:

[0013] The intelligent agent user management module is used to manage users and manage the rights of users in the intelligent agent system;

[0014] The intelligent agent service management module is used to perform management on intelligent agent services of the intelligent agent host, including some or all of creation registration, function query, service configuration, function debugging, and direct instruction sending;

[0015] The intelligent agent management module is used to perform some or all of creation registration, information management, knowledge base management, learning management, hardware data management, hardware binding, service binding, function debugging, and direct instruction sending on the intelligent agent;

[0016] The intelligent agent access device management module is used to perform some or all of registration binding, communication mode management, and instruction query on the intelligent agent access device;

[0017] The authorization management module is used to perform authorization management of the intelligent agent on the intelligent agent access device.

[0018] Optionally, the intelligent agent access device is configured with an access device management system, which is used to perform management on the access and authorization of the intelligent agent.

[0019] Optionally, the access device management system includes an intelligent agent management module, a hardware setting module, and a hardware state module, wherein:

[0020] The intelligent agent management module is used to perform binding or unbinding operations on the intelligent agent access device;

[0021] The hardware setting module is used to set the intelligent agent access device, and the setting content includes communication secret keys and / or encryption certificates;

[0022] The hardware state module is used to view the state or function debug of the intelligent agent access device.

[0023] An access control method applied to the intelligent agent system as described above, the access control method comprising the steps of:

[0024] In response to a configuration request of a user, one or more intelligent agents are generated;

[0025] performing an initialization operation on the agent access device in response to an initialization request of a user;

[0026] selecting an agent in response to a binding request of a user, and performing a binding process on the selected agent and the agent access device.

[0027] Optionally, the method further comprises the step of:

[0028] performing a function authorization management process on the agent in response to an authorization management request of a user, so as to assign a priority to an operation instruction of the agent.

[0029] An electronic device, comprising at least one processor and a memory connected to the processor, wherein:

[0030] the memory is configured to store a computer program or instructions;

[0031] the processor is configured to execute the computer program or instructions, so that the electronic device implements the access control method as described above.

[0032] A computer-readable storage medium applied to an electronic device, the storage medium carrying one or more computer programs, the one or more computer programs being executable by the electronic device, so that the electronic device can implement the access control method as described above.

[0033] As can be seen from the above technical solutions, the present application discloses an agent system and an access control method thereof, an electronic device and a storage medium. The system comprises an agent host and at least one agent access device connected to the agent host. The agent host is configured to generate at least one agent based on a configuration request of a user. The agent is configured to receive a connection request of a user, issue an information acquisition instruction to the agent access device, and receive an agent instruction fed back by the agent access device based on the information acquisition instruction. The agent is further configured to receive a device operation request of a user, and send a device control instruction to the agent access device based on the device operation request and the agent instruction, so that the agent access device performs an operation required by the user. The agent access device in the present application can realize plug and play and dynamic expansion of functions. When the system needs to expand functions, a new agent access device can be accessed without manual intervention, and the device function is automatically adapted. When the device is upgraded or replaced, the function description file of the agent access device only needs to be updated to complete the adaptation, thereby reducing the system maintenance cost and difficulty.

[0034] Through the agent management system and the agent access device system, the agent and the agent access device can be separated, thereby reducing the research and development cost, and enabling different types of companies or enterprises to focus on developing the agent or developing the agent hardware without the need to combine them together.

[0035] From the perspective of the user, after the separation, the product can be more diversified, and different agents and agent access devices only need to be bound with authorization to experience new functions or more optimized functions. BRIEF DESCRIPTION OF DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the drawings needed to be used in the embodiments or the prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.

[0037] Figure 1 A schematic diagram of an agent system according to an embodiment of the present application.

[0038] Figure 2 A flowchart of an access control method according to an embodiment of the present application.

[0039] Figure 3 A flowchart of another access control method according to an embodiment of the present application.

[0040] Figure 4 A block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0041] The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only some embodiments of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.

[0042] Figure 1 A schematic diagram of an agent system according to an embodiment of the present application.

[0043] As Figure 1 shown, the agent system provided by the present embodiment includes an agent host 100 and one or more agent access devices 200 connected to the agent host. The agent host is configured with an agent management system, and the agent access system is configured with an access device management system.

[0044] When a user issues a configuration request through the intelligent agent management system, the intelligent agent host generates one or more intelligent agents based on the user's configuration request. When the user issues a connection request to the intelligent agent, the intelligent agent issues an information acquisition instruction to one or more intelligent agent access devices based on the user's connection request, at which time the intelligent agent access device issues an intelligent agent instruction to the intelligent agent, so that the intelligent agent acquires the intelligent agent instruction of the corresponding intelligent agent access device. The intelligent agent instruction refers to an instruction or operation that the intelligent agent access device can directly execute.

[0045] In addition, the intelligent agent is also used to send a device control instruction to the intelligent agent access device matched therewith based on the device operation request and the intelligent agent instruction when receiving a device operation request of a user, so that the intelligent agent access device performs the operation required by the user.

[0046] The connection mode between the intelligent agent host and the intelligent agent access device can be a wired direct connection mode, a network mode or a wireless communication mode.

[0047] (1) In the wired direct connection mode, the intelligent agent in the intelligent agent system communicates with the intelligent agent access device in the form of a wire. There are many such forms, such as typec wire, usb wire, micro usb, etc. Different wire harnesses only have different interfaces, but their goals are the same. Now take the typec wire harness as an example:

[0048] 1. The intelligent agent and the intelligent agent access device both support typec and have physical pins and supported communication protocols, such as USB protocol. The intelligent agent is the master device and the intelligent agent access device is the slave device for communication.

[0049] 2. The communication between the intelligent agent and the intelligent agent access device mainly follows the following process, which lets the intelligent agent know what the intelligent agent access device is and what the functions of the intelligent agent access device are. After the intelligent agent knows the functions of the intelligent agent access device, it can issue instructions to the intelligent agent access device:

[0050] i. Insert the typec wire into the intelligent agent and the intelligent agent device. The CC pin (configuration channel) in the wire will first detect the connection.

[0051] ii. The intelligent agent sends a pd protocol message through the cc wire to negotiate the device role. The intelligent agent is the DFP (downstream port) and the intelligent agent access device is the UFP (upstream port).

[0052] iii. The intelligent agent sends an enumeration command through (D+ / D- or TX / RX) to query the device type of the intelligent agent access device.

[0053] iv. The intelligent agent access device returns a device descriptor (including manufacturer ID, product ID, intelligent agent instruction obtaining method such as getFun, etc.).

[0054] v. The intelligent agent sends a getFun instruction to the intelligent agent access device through a usb protocol serial port, and the intelligent agent access device returns an intelligent agent instruction.

[0055] vi. The intelligent agent communicates instructions to the intelligent agent access device through the usb protocol according to the intelligent agent instruction obtained in the previous step.

[0056] (II) In a network mode, the network mode can be a wired network or a wireless network. There are many communication link redundancy strategy methods on the network, and the target is whether the intelligent agent IP address can access the intelligent agent access device IP address.

[0057] 1. First, the intelligent agent and the intelligent agent access device are configured and bound with corresponding IP addresses by the system when they are first accessed, including local area network IP address and 4G / 5G / IP address.

[0058] 2. The intelligent agent and the intelligent agent access device judge whether the link is normal through a heartbeat packet.

[0059] 3. When a network fails, such as a wired / wireless network that cannot detect a heartbeat packet, the intelligent agent automatically switches to a 4G / 5G network for communication.

[0060] 4. After the intelligent agent device accesses the network, it sends a registration request to the intelligent agent system, including the intelligent agent device function and the corresponding intelligent agent instruction. When the user binds the intelligent agent and the intelligent agent device on the intelligent agent system, the user can send instructions to the intelligent agent device through the intelligent agent.

[0061] (III) The wireless communication mode can use Bluetooth. There are mainly two kinds of Bluetooth communication, one is classic Bluetooth, and the other is low-power Bluetooth. In the Bluetooth mode, due to the length limitation of the broadcast content, the intelligent agent access device first covers the intelligent agent instruction method in the broadcast, such as getFun. After the intelligent agent and the intelligent agent device are connected, the intelligent agent can send an intelligent agent instruction getFun to the intelligent agent access device through the intelligent agent instruction method getFun obtained in the broadcast. The intelligent agent access device returns an intelligent agent instruction after receiving the getFun string.

[0062] 1. Classic Bluetooth:

[0063] i. First, the intelligent agent and the intelligent agent access device both need to have corresponding classic Bluetooth modules.

[0064] ii、Smartbody is configured as master device, and smartbody access device is configured as slave device.

[0065] iii、Smartbody access device broadcasts, periodically sends broadcast packet, contains device name, UUID (unique identifier) and service information and smartbody instruction obtaining method, etc.

[0066] iv、Smartbody scans broadcast packet, after parsing the UUID and address of smartbody device, sends connection request.

[0067] v、Smartbody access device responds to connection, both sides negotiate connection parameters, including transmission rate, timeout time, etc.

[0068] vi、Data transmission stage, smartbody sends getFun through SPP protocol, and smartbody access device returns all operation modes.

[0069] vii、Smartbody sends operation instruction to smartbody access device through Bluetooth.

[0070] 2、Low-power BLE Bluetooth:

[0071] i、First, smartbody and smartbody device have corresponding low-power Bluetooth module.

[0072] ii.、Smartbody is configured as master, and smartbody access device is configured as slave, through core protocol GAP (general access profile) to define device discovery, connection establishment process; through GATT (general attribute profile) to define data transmission format (such as service, characteristic value).

[0073] iii、Smartbody access device broadcasts, periodically sends broadcast packet, contains device name, UUID (unique identifier) and service information and smartbody instruction obtaining method characteristic value (getFun).

[0074] iv、Smartbody scans broadcast packet, after parsing the UUID and address of smartbody device, sends connection request.

[0075] v、Smartbody access device responds to connection, both sides negotiate connection parameters, including transmission rate, timeout time, etc.

[0076] vi、Data transmission stage (GATT layer) smartbody gets smartbody instruction through smartbody instruction obtaining method characteristic value getFun.

[0077] vii、Smartbody sends smartbody instruction to smartbody access device through Bluetooth, realizes communication between the two.

[0078] Smartbody instruction refers to the instruction of smartbody operating smartbody access device according to unified function description.

[0079] The agent instruction obtaining method refers to a method in which the agent access device provides the agent with an agent query agent instruction, such as returning an agent instruction as long as the agent receives the getFun instruction or string. The agent instruction has a large data volume and contains a unified function description string.

[0080] The application constructs a hierarchical response mechanism, in which emergency function declaration (such as device fault alarm) is preferentially transmitted by using a low-delay communication protocol (such as 5G URLLC, WebSocket); and regular function information is temporarily stored by an edge cache node and then reported in batches to reduce network load. A communication link redundancy strategy is deployed, combined with wired (optical fiber, TYPE-C, USB, etc.) and wireless (4G / 5G) dual-channel automatic switching, and a local instruction cache queue is set at the access device end to ensure that the received instructions can still be executed when the network is interrupted, thereby guaranteeing system reliability.

[0081] The application proposes a function declaration and instruction format standardization.

[0082] In view of the differences in function description and instruction format of devices of different manufacturers, the application provides a translation service, and the agent can obtain a unified function description according to a specified translation method, so as to standardize the parameter type, interface definition and data format of the device function declaration. The translation service is realized by using an intelligent instruction translation engine, the engine supports dynamic loading of protocol conversion plug-ins, realizes automatic conversion of function declaration information to device executable instructions, ensures accurate matching of the agent instruction and the access device function, and avoids instruction execution errors.

[0083] The application also provides security authentication and permission management.

[0084] Dynamic access of the agent access device sometimes brings security risks, and therefore a bidirectional authentication and permission control system needs to be constructed. In the application, the agent and the agent access device complete identity verification through digital certificate and dynamic key exchange to prevent illegal device access; a hierarchical permission strategy is set based on the sensitivity of the device function, for example, low-permission devices are limited to report state information, and high-permission devices can receive control instructions; end-to-end encryption such as AES-256+TLS1.3 is used for function declaration and instruction transmission, so as to prevent data leakage and malicious tampering.

[0085] The application also provides multi-device function conflict and cooperation management.

[0086] When multiple intelligent agents access devices and report functions simultaneously, conflicts or duplications may occur. The intelligent agents in this application are equipped with an intelligent conflict detection algorithm, which determines conflicts through function uniqueness identifiers and priority tags, automatically merges duplicate functions or coordinates the function call order; and establishes a device collaborative task orchestration mechanism, which generates multi-device collaborative control strategies based on functional relevance and execution timing requirements, ensuring orderly device collaboration in complex task scenarios and avoiding control chaos.

[0087] Before issuing a command, the agent first obtains the status of the device it is connected to. Commands can only be issued in the specified status. The statuses in which commands can be issued can be found in the device's operation manual, which tells the agent which statuses are acceptable for receiving commands.

[0088] When the agent receives multiple instructions, it executes the instructions as follows:

[0089] a) Cache instruction lists in sequence.

[0090] b) Query the device status. When the device responds with an executable instruction, send the instructions in sequence. Before sending the instruction, check the logic rationality. If it is not rational, do not execute it and switch to the next one. This intelligent agent can make its own judgment based on the device design logic and the instruction conflicts summarized from engineering practice.

[0091] c) If users with the same permissions issue commands, the command with the higher priority will be executed first. This is specifically addressed in the device's priority management system. This involves prioritizing commands based on user descriptions, or clearing previous commands.

[0092] d) If the agent receives an instruction from the user with the highest privileges, requesting the instruction "hold," then the agent will only accept instructions from users with high privileges and will switch to the "hold" instruction, refusing to accept instructions from other users with the same or lower privileges. This will only be lifted if a user with the same privileges requests the "hold" instruction.

[0093] e) Once the hold instruction is released, the agent can receive other user instructions again and continue executing instructions according to the logic described above.

[0094] The intelligent agent host in this application is configured with an intelligent agent management system. The intelligent agent management system is used to manage users, manage the intelligent agent host, manage intelligent agents, and manage intelligent agent access devices. Specifically, it includes an intelligent agent user management module, an intelligent agent service management module, an intelligent agent management module, an intelligent agent access device management module, and an authorization management module.

[0095] The intelligent agent user management module is a user module for managing the intelligent agent system, and a module for managing the role definition of other users in the intelligent agent system. Different roles have different authorizations for intelligent agents. For example, when any user interacts with an intelligent agent, the intelligent agent administrator user can have more permissions to make the intelligent agent do corresponding transactions, while tourists or other users can only request the intelligent agent to do limited transactions.

[0096] The intelligent agent service management module is used to implement creation registration, function query, service configuration, function debugging, and direct instruction of intelligent agent services. Intelligent agent services include but are not limited to (voice recognition service, image recognition service, streaming media recognition service, voice output service, data output service, etc. These services can be services built on a local host, or services provided by a service provider on the Internet.

[0097] The intelligent agent service management system is used to register and manage intelligent agent service providers when there is no local intelligent agent or no specified intelligent agent function. Intelligent agent service providers are professional platforms that provide services for intelligent agent needs. Because intelligent agents require a large amount of computing power support, sometimes ordinary devices cannot be effectively integrated and deployed, and intelligent agent service providers can implement intelligent agent functions through interface services over the Internet.

[0098] The intelligent agent management module is used to implement creation registration, intelligent agent information management, intelligent agent knowledge base management, intelligent agent learning management, intelligent agent hardware data management, intelligent agent hardware binding, intelligent agent service binding, intelligent agent function debugging, and intelligent agent instruction direct issuance.

[0099] The intelligent agent access device management module is used to implement registration binding, communication mode setting, and instruction query of specific access device functions of intelligent agent access devices.

[0100] The authorization management module is used to authorize intelligent agents to manage the permissions of bound intelligent agents and intelligent agent access devices, such as allowing only specific intelligent agents to perform higher-level operations on specific intelligent agent access devices.

[0101] The intelligent agent in the present application is configured with an access device management system, which is used to manage intelligent agent access devices. The core functions include but are not limited to intelligent agent management, hardware state management, and state management. The system specifically includes an intelligent agent management module, a hardware setting module, and a hardware state module.

[0102] The intelligent agent management module is used to manage the bound intelligent agent access devices. This includes but is not limited to forcibly canceling the binding of intelligent agents. By forcibly canceling the binding, users can achieve the function of going offline on the intelligent agent access device, such as emergency shutdown, without the need for instructions from the intelligent agent.

[0103] The hardware setting module is used for setting hardware, including but not limited to setting communication keys and encryption certificates, etc.

[0104] The hardware state module is used for viewing the state of the hardware state, function debugging, etc.

[0105] From the above technical solution, it can be seen that the embodiment provides an agent system, which comprises an agent host and at least one agent access device connected with the agent host. The agent host is used to generate at least one agent based on the configuration request of the user; the agent is used to receive the connection request of the user, issue an information acquisition instruction to the agent access device, and receive the agent instruction fed back by the agent access device based on the information acquisition instruction; the agent is also used to receive the device operation request of the user, and send a device control instruction to the agent access device based on the device operation request and the agent instruction, so that the agent access device executes the operation required by the user. The agent access device in the application can realize plug and play and dynamic expansion of functions, and when the system needs to expand functions, new agent access devices can be accessed without manual intervention, and the device functions are automatically adapted; when the device is upgraded or replaced, the function description file of the agent access device only needs to be updated to complete the adaptation, thereby reducing the system maintenance cost and difficulty.

[0106] Based on the above technical solution, the present application proposes the following specific implementation mode, in order to further elaborate the scheme of the present application. This embodiment takes a smart factory as an example for illustration. In the production equipment management scene of the smart factory, in the traditional mode, the main control PLC needs to be programmed to set the control logic of each device in advance, and if new devices are added or the production process is adjusted, the program needs to be modified during shutdown, which has poor flexibility. However, by adopting the decoupling scheme of the agent and the agent access device, the problem can be effectively solved, and dynamic management and efficient collaboration of the device can be realized.

[0107] I. Device role definition

[0108] 1.1 The agent host adopts an industrial-grade edge computing server, which is deployed in the control center of the factory workshop. The server has powerful data analysis and logic processing capability, built-in machine learning algorithm and production scheduling strategy model, and is responsible for generating device control instructions according to production task requirements, and monitoring and optimizing the entire production process.

[0109] 1.2 The agent access device in this scene includes multiple types:

[0110] · Numerical control machine tool access device: installed on a numerical control machine tool, with a built-in communication module and a function description module, responsible for reporting the machining capacity of the machine tool (such as maximum machining size, speed range, supported machining process, etc.) and real-time running state (such as current machining progress, tool wear condition) to the agent.

[0111] • AGV vehicle access device: Integrated on the AGV vehicle, it can declare its transportation capacity (such as maximum load capacity, driving speed, path planning function) to the intelligent agent, and provide feedback on location information and task execution status.

[0112] • Material detection sensor access equipment: Deployed on the material conveying line, it can inform the intelligent agent of its detection functions (such as size detection accuracy and defect identification type) and upload detection data in real time.

[0113] II. Equipment Coordination Workflow

[0114] 2.1 Feature Discovery Phase

[0115] Once the CNC machine tool is connected to the factory network, its intelligent agent access device sends a JSON-formatted function description file to the intelligent agent via the factory's internal industrial Ethernet. The content is as follows:

[0116] TypeScript

[0117] {

[0118] "device_id":"CNC_001",

[0119] "device_type":"CNC machine tool",

[0120] "functions":[

[0121] {

[0122] "function_name":"Milling processing",

[0123] "parameters":{

[0124] "max_speed":10000,

[0125] "min_depth":0.1,

[0126] "max_depth":10

[0127] }

[0128] },

[0129] {

[0130] "function_name":"Drilling Process",

[0131] "parameters":{

[0132] "max_diameter":50,

[0133] "min_diameter": 1

[0134] }

[0135] } ]

[0137] }

[0138] After receiving the file, the agent parses the content and registers the function information of the CNC machine tool in the system, establishing a device function archive.

[0139] 2.2 Instruction generation and execution phase.

[0140] When the factory issues a new production task (such as producing 100 parts), the agent decomposes the task and generates instructions based on the production task requirements and the registered device functions:

[0141] 1. Task allocation: the agent analyzes the part machining process and finds that two processes of milling and drilling are needed. Through algorithm evaluation of the load and processing capacity of each CNC machine tool, the milling task is allocated to "CNC_001" and the drilling task is allocated to "CNC_002"; at the same time, AGV trolley is scheduled for material transportation.

[0142] 2. Instruction sending: the agent sends milling machining instructions to the access device of "CNC_001", which contains machining parameters (such as cutting speed, feed rate, machining path); sends transportation instructions to the access device of AGV trolley, specifying the pickup and delivery location.

[0143] 3. Instruction execution: after receiving the instructions, the access device parses and converts them into device executable control signals to drive the CNC machine tool and AGV trolley to execute the task.

[0144] 2.3 State feedback and optimization phase.

[0145] During the operation of the device, the agent access device collects device state data in real time and feeds back to the agent:

[0146] · CNC machine tool access device: upload current machining progress, tool temperature, etc. every 1 minute, if tool wear exceeds the standard, send alarm information immediately.

[0147] · AGV trolley access device: real-time reporting of position information and running state, if path is blocked, actively apply for re-planning path.

[0148] After receiving the feedback data, the agent analyzes it using machine learning algorithms, and if it finds that a certain device is inefficient, it dynamically adjusts the task allocation strategy and reallocates the processing task to ensure efficient operation of the entire production process.

[0149] As can be seen from the above embodiments, in the smart factory scenario, the agent and agent access device decoupling scheme realizes dynamic discovery of device functions, intelligent generation and execution of instructions, and real-time optimization of production processes, significantly improving the flexibility and intelligent level of factory production compared with the traditional master control architecture.

[0150] It should be noted that the present application involves user information and related data. When the embodiments of the present application are applied to specific products or technologies, user permission authorization or consent is required, and the collection, use, and processing of related data must comply with relevant national and regional laws, regulations, and standards.

[0151] Through the agent management system and the agent access device system, the agent and the agent access device can be separated, thereby reducing the research and development cost, and allowing different types of companies or enterprises to focus on developing agents or developing agent hardware without the need to combine them.

[0152] From the user's perspective, after separation, the product can be more diversified, and different agents and agent access devices only need to be bound and authorized to experience new functions or more optimized functions.

[0153] Figure 2 A flowchart of an access control method according to an embodiment of the present application.

[0154] As Figure 2 shown, the access control method in the present embodiment is applied to the agent system of the above embodiments, specifically to the agent host in the system. The access control method specifically includes the following steps:

[0155] S1, generating one or more agents according to the user's configuration request.

[0156] That is, when the user inputs a configuration request to the agent host, one or more agents are generated based on the number required by the request. The agent here is a local agent or an agent service provider.

[0157] S2, performing initialization operation on the agent access device.

[0158] That is, when receiving the user's initialization request or the agent access device is accessed to the system, performing initialization operation on the agent access device based on the initialization request or automatically, so that its state is suitable for binding with the agent and can perform operation based on the instruction of the agent.

[0159] S3, binding the agent and the agent access device.

[0160] When the user issues a binding request, if there are multiple intelligent agents, one intelligent agent is selected according to the request, and the selected intelligent agent is bound to the intelligent agent access device. The binding here includes operations such as uploading of instructions and function authorization.

[0161] Through the above operations, the access and binding between the intelligent agent and the intelligent agent access device can be realized.

[0162] In another specific embodiment of the present application, the following steps are further included, as shown in Figure 3

[0163] S4, function authorization management processing is performed on the intelligent agent.

[0164] That is, when the user issues an authorization management request, function authorization management processing is performed on the intelligent agent, so as to assign priority to the operation instructions of the intelligent agent.

[0165] The flowcharts and block diagrams in the drawings illustrate the possible implementation architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram can represent a module, a program segment, or a part of code containing one or more executable instructions for implementing a specified logic function. It should also be noted that in some alternative implementations, the functions noted in the blocks can occur in different order from that shown in the drawings. For example, two blocks indicated in succession can actually be executed substantially in parallel, and sometimes they can be executed in reverse order, depending on the function involved. It should also be noted that each block in the block diagram and / or flowchart, and the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system that performs the specified function or operation, or can be implemented by a combination of special-purpose hardware and computer instructions.

[0166] Although the operations are depicted in a particular order, this should not be understood as requiring the operations to be performed in the particular order shown or in a sequential order. In certain circumstances, multitasking and parallel processing can be advantageous.

[0167] It should be understood that each of the steps recited in the method embodiments of the present disclosure can be performed in different order and / or in parallel. In addition, the method embodiments can include additional steps and / or omit the execution of the steps shown. The scope of the present disclosure is not limited in this respect.

[0168] ​Computer program code for carrying out operations of the present disclosure can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C++ or the like, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer.

[0169] Figure 4 A block diagram of an electronic device according to an embodiment of the present application.

[0170] Reference will now be made to Figure 4 which shows a structural diagram suitable for implementing an electronic device in an embodiment of the present disclosure. The terminal device in an embodiment of the present disclosure can include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (Personal Digital Assistant), a PAD (Tablet Personal Computer), a PMP (Portable Multimedia Player), a car terminal (e.g., a car navigation terminal), and the like, and a fixed terminal such as a digital TV, a desktop computer, and the like. The electronic device is merely an example, and should not impose any limitation on the functions and use range of an embodiment of the present disclosure.

[0171] The electronic device can include a processing device (e.g., a central processing unit, a graphic processing unit, or the like) 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded into a random access memory (RAM) 403 from an input device 406. In the RAM, various programs and data required for the operation of the electronic device are also stored. The processing device, the ROM, and the RAM are connected to each other through a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0172] Generally, the following devices can be connected to the I / O interface: input devices including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, and the like; output devices 407 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, and the like; storage devices 408 including, for example, a tape, a hard disk, and the like; and communication devices 409. The communication devices 409 can allow the electronic device to communicate wirelessly or wiredly with other devices to exchange data. While the electronic device is illustrated as having various devices, it is understood that all of the illustrated devices are not required to be implemented or possessed. More or fewer devices can alternatively be implemented or possessed.

[0173] The present application also provides a computer readable storage medium embodiment.

[0174] The above computer readable storage medium is applied to an electronic device and carries one or more computer programs, when the one or more computer programs are executed by the electronic device, the electronic device generates one or more agents according to the user's configuration request; implements initialization operation on the agent access device; and implements binding of the agent and the agent access device according to the user's binding request. Through the above operation, the access and binding between the agent and the agent access device can be realized.

[0175] It should be noted that the computer-readable medium in the present disclosure can be a computer-readable signal medium or a computer-readable storage medium or any combination thereof. The computer-readable storage medium may, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or apparatus, or any suitable combination thereof. More specific examples of the computer-readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in connection with an instruction execution system, apparatus, or device. In the present disclosure, the computer-readable signal medium can include a data signal that propagates in a baseband or as part of a carrier wave, carrying computer-readable program code. Such a propagated data signal can take on many forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination thereof. The computer-readable signal medium can also be any computer-readable medium that can send, propagate, or transfer a program for use by or in connection with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted using any suitable medium, including but not limited to wire, cable, optical fiber, RF (radio frequency), or any suitable combination thereof.

[0176] Each of the embodiments in the present specification is described in a progressive manner, and each embodiment focuses on the difference from other embodiments. The same or similar parts between the embodiments can be mutually referred to.

[0177] Although the preferred embodiments of the embodiments of the present application have been described, those skilled in the art can make further changes and modifications to the embodiments once they know the basic inventive concept. Therefore, the appended claims are intended to be interpreted as including all the preferred embodiments and all changes and modifications falling within the scope of the embodiments of the present application.

[0178] Finally, it needs to be pointed out that in this document, relational terms such as first and second and the like can only be used to distinguish one entity or action from another entity or action, without necessarily requiring or implying any such actual relationship or order between such entities or actions. Moreover, the terms "comprises", "comprising", or any other variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without more limitations, an element defined by an "comprising" statement serves as a means plus function alternative.

[0179] The above detailed description of the technical solutions provided by the present application has been given, and the principles and implementation manners of the present application are described by applying specific examples in this document. The above description of the examples is only for helping to understand the method of the present application and its core idea; meanwhile, for those skilled in the art, according to the idea of the present application, the specific implementation manners and application ranges will have changes, and the above description of the content of the specification should not be understood as a limitation of the present application.

Claims

1. An intelligent agent system, characterized in that, The intelligent agent system includes an intelligent agent host and at least one intelligent agent access device connected to the intelligent agent host, wherein: The intelligent agent host is used to generate at least one intelligent agent based on the user's configuration request; The intelligent agent is used to receive the user's connection request, send an information acquisition instruction to the intelligent agent access device, and receive the intelligent agent instruction fed back by the intelligent agent access device based on the information acquisition instruction. The intelligent agent is also used to receive device operation requests from users, and send device control commands to the intelligent agent access device based on the device operation requests and the intelligent agent instructions, so that the intelligent agent access device can perform the operations required by the user.

2. The intelligent agent system as described in claim 1, characterized in that, The intelligent agent host and the intelligent agent access device are connected via wired direct connection, network connection or wireless communication.

3. The intelligent agent system as described in claim 1, characterized in that, The intelligent agent host is equipped with an intelligent agent management system, which is used to manage users, manage the intelligent agent host, manage intelligent agents, and manage the intelligent agent access devices.

4. The intelligent agent system as described in claim 3, characterized in that, The intelligent agent management system includes an intelligent agent user management module, an intelligent agent service management module, an intelligent agent management module, an intelligent agent access device management module, and an authorization management module, wherein: The intelligent agent user management module is used to manage users and their permissions in the intelligent agent system. The intelligent agent service management module is used to manage the intelligent agent services of the intelligent agent host, including some or all of the following: creation and registration, function query, service configuration, function debugging, and direct command sending. The intelligent agent management module is used to perform some or all of the following functions on the intelligent agent: creation and registration, information management, knowledge base management, learning management, hardware data management, hardware binding, service binding, function debugging, and direct command sending. The intelligent agent access device management module is used to perform some or all of the following functions: registration and binding, communication mode management, and instruction query for the intelligent agent access device. The authorization management module is used to perform authorization management of the intelligent agent's access devices.

5. The intelligent agent system as described in claim 1, characterized in that, The intelligent agent access device is configured with an access device management system, which is used to manage the access and authorization of the intelligent agent.

6. The intelligent agent system as described in claim 5, characterized in that, The access device management system includes an intelligent agent management module, a hardware setting module, and a hardware status module, wherein: The intelligent agent management module is used to bind or unbind the intelligent agent access device; The hardware setting module is used to configure the intelligent agent access device, and the setting content includes communication key and / or encryption certificate; The hardware status module is used to view the status of the intelligent agent access device or to debug its functions.

7. An access control method, applied to the intelligent agent system as described in any one of claims 1 to 6, characterized in that, The access control method includes the following steps: In response to the user's configuration request, generate one or more intelligent agents; In response to the user's initialization request, perform initialization operations on the access device connected to the intelligent agent; In response to the user's binding request, a smart agent is selected, and the selected smart agent is bound to the smart agent access device.

8. The access control method as described in claim 7, characterized in that, It also includes the following steps: In response to the user's authorization management request, the system performs function authorization management processing on the intelligent agent in order to assign priority to the operation instructions of the intelligent agent.

9. An electronic device, characterized in that, The electronic device includes at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs or instructions; The processor is used to execute the computer program or instructions to enable the electronic device to implement the access control method as described in claim 7 or 8.

10. A computer-readable storage medium for use in electronic devices, characterized in that, The storage medium carries one or more computer programs that can be executed by the electronic device, thereby enabling the electronic device to implement the access control method as described in claim 7 or 8.