Method and system for controlling multiple kinds of hardware based on agent manager
Through the intelligent manager system integrating multi-sensor signals and combining protocol adaptation technology, the scalability and collaborative efficiency of the device control system are solved, intelligent control and management of a variety of hardware devices are realized, and user experience and system stability are improved.
Patent Information
- Application Number
- CN202510489308.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-18
- Publication Date
- 2025-07-25
AI Technical Summary
The existing equipment control systems lack the ability to comprehensively utilize multi-sensor signals and dynamic intention analysis, which leads to high difficulty in system integration and poor scalability, unable to adapt to complex scenarios and user personalized needs, and the coordination efficiency of multiple devices is inefficient.
Adopt the intelligent control and management of a variety of hardware devices through multi-sensor signal fusion and protocol adaptation technology, and supports dynamic expansion and efficient response.
It realizes intelligent control and management of a variety of hardware devices, improves user experience and device management efficiency, enhances the accuracy of user intention recognition and the intelligence level of the system, ensures the security of instruction transmission and the compatibility and stability of the equipment, and realizes efficient coordination and automated control between multiple devices.
Smart Images

Figure CN120371394A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of device control, and particularly to a method and system for controlling multiple hardware based on an agent manager. Background Art
[0002] The function of a device control system is to control and coordinate the actions of the entire computer. The control usually requires a program counter (PC), an instruction register (IR), an instruction decoder (ID), a timing and control circuit, as well as a pulse source, interrupts, etc. to complete together. The device control system consists of an instruction register Instruction Register, an instruction decoder Instruction Decoder, a timing and control circuit Programmable Logic Array, a program counter Program Counter, a flag register FlagsRegister, a stack and a stack pointer Stack Pointer, a register bank, etc.
[0003] Existing device control systems mostly adopt a single control method, such as a remote control or a fixed operation interface, lacking the comprehensive utilization of multi-sensor signals and the ability to analyze dynamic intentions. In addition, the differences in interfaces and protocols of different devices lead to great difficulties in system integration and poor scalability. Moreover, the existing technologies rely on preset rules and are difficult to adapt to complex scenarios and user personalized needs. Traditional home systems cannot automatically adjust the device status according to environmental changes, and the cooperation efficiency of multiple devices is low.
[0004] Therefore, we propose a method and system for controlling multiple hardware based on an agent manager. Summary of the Invention
[0005] The present invention mainly solves the technical problems existing in the above-mentioned prior art, and provides a method and system for controlling multiple hardware based on an agent manager.
[0006] To achieve the above object, the present invention adopts the following technical solutions. A system for controlling multiple hardware based on an agent manager includes an agent manager, an intention parser, an instruction translator, an instruction converter, an operation instruction executor, and a driver program manager. The agent manager is used to receive multi-source sensor signals, schedule agents for intention parsing, and coordinate instruction generation and forwarding. The agent manager includes an agent unit.
[0007] Preferably, the intention parser is used to integrate the analysis results of multiple agents, accurately determine the user's intention in combination with the time, environment, and device status of the context, handle conflicts, and provide feedback for optimization.
[0008] Preferably, the intention parser includes an intention analysis module and an intention confirmation module.
[0009] Preferably, the instruction translator is used to convert the intention into a standardized device instruction, supporting multi-protocol conversion and semantic accuracy verification.
[0010] Preferably, the instruction translator includes an instruction conversion module and an instruction verification module.
[0011] Preferably, the instruction converter is responsible for adapting to different device driver protocols and optimizing the instruction format and security.
[0012] Preferably, the instruction converter includes an instruction adaptation module and a security verification module.
[0013] Preferably, the operation instruction executor is used to execute the instruction and monitor the device status, and coordinate the operation sequence of multiple devices.
[0014] Preferably, the operation instruction executor includes an instruction execution module and a status monitoring module.
[0015] Preferably, the driver manager is responsible for managing device drivers to ensure compatibility and performance optimization.
[0016] Preferably, the driver manager includes a driver management module and a performance optimization module.
[0017] A method for controlling multiple hardware based on an agent manager, including the system for controlling multiple hardware based on an agent manager as described above, specifically including the following steps:
[0018] The first step: The sensing module collects signals: The user voice instruction is collected by the sensing module and transmitted to the agent manager;
[0019] The second step: The agent manager receives and classifies: The agent manager receives and classifies the user voice instruction, schedules the agent to perform intention parsing, and coordinates the instruction generation and forwarding;
[0020] The third step: Schedule the agent to parse the intention: The manager schedules the voice agent to parse the semantics, and at the same time the video agent detects the user's location;
[0021] The fourth step: The intention parser integrates the results: The intention parser integrates the results, confirms the user's intention, and detects the current hardware status;
[0022] The fifth step: The instruction translator generates code: The instruction translator generates a standardized instruction sendCommand('light', 'on', 'livingRoom');
[0023] The sixth step: The instruction converter adapts to the driver: The instruction converter adapts to LightControl(livingRoom, ON) according to the hardware driver protocol;
[0024] Step 7: The operation instruction executor controls the device: The operation instruction executor sends instructions to the driver program manager to trigger the execution of the hardware driver and feedback the execution status.
[0025] The present invention provides a method and system for controlling multiple hardware based on an agent manager, which has the following beneficial effects:
[0026] 1. The method and system for controlling multiple hardware based on an agent manager integrate an agent manager, an intention parser, an instruction translator, an instruction converter, an operation instruction executor, and a driver program manager. By fusing multi-sensor signals and collaborating agents to analyze user intentions, combined with a plug-in architecture and protocol adaptation technology, it realizes the intelligent control and management of multiple hardware devices, supports dynamic expansion and efficient response, and significantly improves the user experience and device management efficiency.
[0027] 2. The method and system for controlling multiple hardware based on an agent manager set an intention parser, which can integrate the analysis results of multiple agents, combine the time, environment, and device status of the context, accurately determine the user's intention, effectively handle intention conflicts, and feedback optimization suggestions, thereby improving the accuracy of user intention recognition and the intelligence level of the system.
[0028] 3. The method and system for controlling multiple hardware based on an agent manager set an instruction converter, which is responsible for adapting different device driver protocols, not only optimizing the instruction format but also enhancing the security of instruction transmission, ensuring that instructions can be accurately conveyed to the target hardware device, and improving the stability and reliability of the system.
[0029] 4. The method and system for controlling multiple hardware based on an agent manager set an operation instruction executor, which can execute instructions and monitor the device status in real time, and intelligently adjust the operation sequence according to the device status and user intention, thereby realizing the efficient collaboration and automatic control between multiple devices, and further improving the practicality of the system and the user experience.
[0030] 5. The method and system for controlling multiple hardware based on an agent manager set a driver program manager, which can uniformly manage device drivers, ensure the compatibility and performance optimization of device drivers, and thus improve the compatibility and stability of the system with hardware devices. Brief Description of the Drawings
[0031] Figure 1 is the system architecture diagram of the present invention;
[0032] Figure 2 is the method flow diagram of the present invention. Detailed Embodiments
[0033] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the embodiments or the prior art. Obviously, the drawings in the following description are only exemplary. For those of ordinary skill in the art, without creative efforts, other implementation drawings can also be obtained based on the provided drawings.
[0034] The structures, proportions, sizes, etc. shown in this specification are only used to cooperate with the content disclosed in the specification for those who are familiar with this technology to understand and read, and are not used to limit the conditions under which the present invention can be implemented. Therefore, they do not have technical substantial significance. Any modification of the structure, change in the proportional relationship, or adjustment of the size, without affecting the effects that the present invention can produce and the purposes that can be achieved, should still fall within the scope covered by the technical content disclosed in the present invention.
[0035] It should be noted that: similar reference numerals and letters represent similar items in the following drawings. Therefore, once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings.
[0036] In the description of the embodiments of the present invention, it should be noted that the orientation or positional relationship indicated by terms such as "center", "upper", "lower", "inner", "outer", "side", etc. is based on the orientation or positional relationship shown in the drawings, or the orientation or positional relationship in which the product of this invention is usually placed during use. It is only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation to the present invention. In addition, terms such as "first", "second", etc. are only used for distinguishing descriptions and cannot be understood as indicating or implying relative importance.
[0037] In the description of the embodiments of the present invention, it should also be noted that unless otherwise clearly specified and limited, the terms "set", "install", "connect", "couple" should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be directly connected or indirectly connected through an intermediate medium, and it can be the communication inside two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the embodiments of the present invention can be understood according to specific situations.
[0038] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0039] Embodiment 1: A system for controlling multiple hardware based on an agent manager, as Figure 1 shown, includes an agent manager, an intent parser, an instruction translator, an instruction converter, an operation instruction executor, and a driver program manager. The agent manager is used to receive multi-source sensor signals, schedule agents for intent parsing, and coordinate instruction generation and forwarding. The agent manager includes an agent unit. The intent parser is used to integrate the analysis results of multiple agents, accurately determine the user's intent in combination with the context time, environment, and device status, handle conflicts, and provide feedback for optimization. The intent parser includes an intent analysis module and an intent confirmation module. The instruction translator is used to convert the intent into a standardized device instruction, support multi-protocol conversion and semantic accuracy verification. The instruction translator includes an instruction conversion module and an instruction verification module. The instruction converter is responsible for adapting to different device driver protocols, optimizing the instruction format and security. The instruction converter includes an instruction adaptation module and a security verification module. The operation instruction executor is used to execute instructions and monitor the device status, and coordinate the operation sequence of multiple devices. The operation instruction executor includes an instruction execution module and a status monitoring module. The driver program manager is responsible for managing device drivers to ensure compatibility and performance optimization. The driver program manager includes a driver management module and a performance optimization module. By integrating the agent manager, the intent parser, the instruction translator, the instruction converter, the operation instruction executor, and the driver program manager, through multi-sensor signal fusion and agent collaborative parsing of the user's intent, combined with the plug-in architecture and protocol adaptation technology, intelligent control and management of multiple hardware devices are realized, and dynamic expansion and high-efficiency response are supported, significantly improving the user experience and device management efficiency.
[0040] Embodiment 2: On the basis of Embodiment 1, as Figure 1As shown, the agent manager is used to receive multi-source sensor signals, schedule agents for intention parsing, and coordinate instruction generation and forwarding. The agent manager includes agent units. The intention parser is used to integrate the analysis results of multiple agents, accurately determine the user's intention by combining the time, environment, and device status of the context, handle conflicts, and provide feedback for optimization. The intention parser includes an intention analysis module and an intention confirmation module. The instruction translator is used to convert the intention into a standardized device instruction, support multi-protocol conversion and semantic accuracy verification. The instruction translator includes an instruction conversion module and an instruction verification module. The instruction converter is responsible for adapting to different device driver protocols, optimizing the instruction format and security. The instruction converter includes an instruction adaptation module and a security verification module. The operation instruction executor is used to execute instructions and monitor the device status, and coordinate the operation sequence of multiple devices. The operation instruction executor includes an instruction execution module and a status monitoring module. The driver manager is responsible for managing device drivers to ensure compatibility and performance optimization. The driver manager includes a driver management module and a performance optimization module. By setting up the intention parser, it is possible to integrate the analysis results of multiple agents, combine the time, environment, and device status of the context, accurately determine the user's intention, effectively handle intention conflicts, and provide feedback for optimization suggestions, thereby improving the accuracy of user intention recognition and the intelligence level of the system.
[0041] Embodiment 3: On the basis of Embodiment 1 and Embodiment 2, as Figure 1 As shown, the intention parser is used to integrate the analysis results of multiple agents, accurately determine the user's intention by combining the time, environment, and device status of the context, handle conflicts, and provide feedback for optimization. The intention parser includes an intention analysis module and an intention confirmation module. The instruction translator is used to convert the intention into a standardized device instruction, support multi-protocol conversion and semantic accuracy verification. The instruction translator includes an instruction conversion module and an instruction verification module. The instruction converter is responsible for adapting to different device driver protocols, optimizing the instruction format and security. The instruction converter includes an instruction adaptation module and a security verification module. The operation instruction executor is used to execute instructions and monitor the device status, and coordinate the operation sequence of multiple devices. The operation instruction executor includes an instruction execution module and a status monitoring module. The driver manager is responsible for managing device drivers to ensure compatibility and performance optimization. The driver manager includes a driver management module and a performance optimization module. By setting up the instruction converter, which is responsible for adapting to different device driver protocols, not only the instruction format is optimized, but also the security of instruction transmission is enhanced, ensuring that the instructions can be accurately conveyed to the target hardware device, improving the stability and reliability of the system.
[0042] Embodiment 4: On the basis of Embodiment 1, Embodiment 2, and Embodiment 3, as Figure 1As shown in the figure, the instruction translator is used to convert intentions into standardized device instructions, support multi-protocol conversion and semantic accuracy verification. The instruction translator includes an instruction conversion module and an instruction verification module. The instruction converter is responsible for adapting to different device driver protocols, optimizing the instruction format and security. The instruction converter includes an instruction adaptation module and a security verification module. The operation instruction executor is used to execute instructions and monitor the device status, and coordinate the operation sequence of multiple devices. The operation instruction executor includes an instruction execution module and a status monitoring module. The driver manager is responsible for managing device drivers to ensure compatibility and performance optimization. The driver manager includes a driver management module and a performance optimization module. By setting up the operation instruction executor, it can execute instructions and monitor the device status in real time, and intelligently adjust the operation sequence according to the device status and user intentions, thus realizing the efficient cooperation and automatic control between multiple devices, and further improving the practicality of the system and the user experience.
[0043] Embodiment 5: Based on Embodiments 1, 2, 3, and 4, as Figure 2 shown, a method for controlling multiple hardware based on an agent manager includes the system for controlling multiple hardware based on an agent manager as described above, and specifically includes the following steps: The first step: The sensing module collects signals: The user voice instruction is collected by the sensing module and transmitted to the agent manager; The second step: The agent manager receives and classifies: The agent manager receives and classifies the user voice instruction, schedules the agent to perform intention parsing, and coordinates the instruction generation and forwarding; The third step: The scheduling agent parses the intention: The manager schedules the voice agent to parse the semantics, and at the same time the video agent detects the user's location; The fourth step: The intention parser integrates the results: The intention parser integrates the results, confirms the user's intention, and detects the current hardware status; The fifth step: The instruction translator generates code: The instruction translator generates a standardized instruction sendCommand('light', 'on', 'livingRoom'); The sixth step: The instruction converter adapts to the driver: The instruction converter adapts to LightControl(livingRoom, ON) according to the hardware driver protocol; The seventh step: The operation instruction executor controls the device: The operation instruction executor sends an instruction to the driver manager, triggers the execution of the hardware driver, and feeds back the execution status. By setting up the driver manager, it can uniformly manage device drivers, ensure the compatibility and performance optimization of device drivers, thereby improving the compatibility and stability of the system with hardware devices.
[0044] Working principle of the present invention: Through the agent manager, the system can receive signals from multi-source sensors, which may come from the user's voice commands, environmental sensors, or other device status monitors. The agent manager is not only responsible for receiving these signals, but also has the ability to classify and process them. It schedules the corresponding agents for intent parsing according to the type and content of the signals. This process involves a deep understanding of the user's intent, taking into account the context of time, environment, and device status to ensure accurate capture of the user's true needs. Once the user's intent is clear, the instruction translator comes into play, converting this intent into a standardized device instruction. This process supports multi-protocol conversion to ensure seamless transmission of instructions between different devices and performs semantic accuracy verification to prevent device misoperation caused by instruction misunderstanding. The instruction converter further processes these standardized instructions to adapt to the driver protocols of different devices. This step not only optimizes the instruction format but also enhances the security of the instructions to ensure that the device is not subject to potential security threats when receiving and executing instructions. The operation instruction executor is a key component for executing these instructions. It is not only responsible for sending instructions to the corresponding device driver but also monitors the device status and coordinates the operation sequence among multiple devices. This function is crucial for achieving device collaboration in a smart home and can significantly improve the efficiency of device operation and the user experience. Finally, the driver manager is responsible for managing device drivers to ensure their compatibility with the system and performance optimization. The continuous monitoring and updating capabilities of this component enable the system to adapt to the changing device environment and maintain the best operating state.
[0045] The above has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited by the above embodiments. What is described in the above embodiments and the specification only illustrates the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention will have various changes and improvements, and all these changes and improvements fall within the scope of the present invention claimed. The scope of protection claimed by the present invention is defined by the appended claims and their equivalents.
Claims
1. A system for controlling multiple hardware based on an agent manager, characterized in that, It includes an agent manager, an intent parser, an instruction translator, an instruction converter, an operation instruction executor, and a driver manager. The agent manager, intent parser, instruction translator, instruction converter, operation instruction executor, and driver manager are respectively connected by electrical signals. The agent manager includes an agent unit.
2. The system for controlling multiple hardware based on an agent manager according to claim 1, wherein: The intent parser includes an intent analysis module and an intent confirmation module.
3. The system for controlling multiple hardware based on an agent manager according to claim 1, characterized in that: The instruction translator includes an instruction conversion module and an instruction verification module.
4. The system for controlling multiple hardware based on an agent manager according to claim 1, wherein: The instruction converter includes an instruction adaptation module and a security verification module.
5. The system for controlling multiple hardware based on an agent manager according to claim 1, wherein: The operation instruction executor includes an instruction execution module and a status monitoring module.
6. The system for controlling multiple hardware based on an agent manager according to claim 1, wherein: The driver manager includes a driver management module and a performance optimization module.
7. A method for controlling multiple hardware based on an agent manager, characterized in that, A system for controlling multiple hardware based on an agent manager according to any one of claims 1-6, specifically including the following steps: The first step: The sensing module collects signals: The user voice instruction is collected by the sensing module and transmitted to the agent manager; The second step: The agent manager receives and classifies: The agent manager receives and classifies the user voice instruction, schedules the agent to perform intent parsing, and coordinates the generation and forwarding of instructions; The third step: Schedule the agent to parse the intent: The manager schedules the voice agent to parse the semantics, and at the same time the video agent detects the user's location; The fourth step: The intent parser integrates the results: The intent parser integrates the results, confirms the user's intent, and detects the current hardware status; The fifth step: The instruction translator generates code: The instruction translator generates a standardized instruction sendCommand('light', 'on', 'livingRoom'); The sixth step: The instruction converter adapts to the driver: The instruction converter adapts to LightControl(livingRoom, ON) according to the hardware driver protocol; The seventh step: The operation instruction executor controls the device: The operation instruction executor sends an instruction to the driver manager, triggers the execution of the hardware driver, and feeds back the execution status.
Citation Information
Cited By
Artificial intelligence-oriented environment electric appliance native control system, method and device and storage medium
CN122362932A