CN113194012B - Multi-agent management method, device, equipment and storage medium based on Internet of things - Google Patents

Multi-agent management method, device, equipment and storage medium based on Internet of things Download PDF

Info

Publication number
CN113194012B
CN113194012B CN202110457872.0A CN202110457872A CN113194012B CN 113194012 B CN113194012 B CN 113194012B CN 202110457872 A CN202110457872 A CN 202110457872A CN 113194012 B CN113194012 B CN 113194012B
Authority
CN
China
Prior art keywords
agent
mobile terminal
preset
intelligent
internet
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110457872.0A
Other languages
Chinese (zh)
Other versions
CN113194012A (en
Inventor
张美华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai DC Science Co Ltd
Original Assignee
Shanghai DC Science Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai DC Science Co Ltd filed Critical Shanghai DC Science Co Ltd
Priority to CN202110457872.0A priority Critical patent/CN113194012B/en
Publication of CN113194012A publication Critical patent/CN113194012A/en
Application granted granted Critical
Publication of CN113194012B publication Critical patent/CN113194012B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2807Exchanging configuration information on appliance services in a home automation network
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y10/00Economic sectors
    • G16Y10/80Homes; Buildings
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/30Control
    • G16Y40/35Management of things, i.e. controlling in accordance with a policy or in order to achieve specified objectives
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y40/00IoT characterised by the purpose of the information processing
    • G16Y40/50Safety; Security of things, users, data or systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/009Security arrangements; Authentication; Protecting privacy or anonymity specially adapted for networks, e.g. wireless sensor networks, ad-hoc networks, RFID networks or cloud networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks

Abstract

The invention provides a multi-agent management method, a multi-agent management device, multi-agent management equipment and a multi-agent management storage medium based on the Internet of things, which are applied to a server, wherein the server is in communication connection with a plurality of agents in the range of the Internet of things, and the method comprises the following steps: responding to an access request of a mobile terminal, and extracting identification information corresponding to the mobile terminal and the intelligent agent; generating a data transmission request broadcasted in the range of the Internet of things according to the identification information; and matching the intelligent agent corresponding to the mobile terminal according to the identification information, and accessing the mobile terminal and the matched intelligent agent. By the multi-agent management method applicable to the server, the data transmission between the mobile terminal and the plurality of agents is safer and more intelligent after the mobile terminal enters the network range of the Internet of things system.

Description

Multi-agent management method, device, equipment and storage medium based on Internet of things
Technical Field
The invention relates to the technical field of Internet of things, in particular to a multi-agent management method, a multi-agent management device, multi-agent management equipment and a storage medium based on the Internet of things.
Background
With the development of science and technology, data access among internet of things devices is more and more frequent, and when a plurality of intelligent agents are arranged in an internet of things system, the safety, accuracy and universality of data transmission become very important, so that the invention is provided.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides a multi-agent management method based on the Internet of things, and the multi-agent management method suitable for a server is provided, so that the data transmission between a mobile terminal and a plurality of agents is safer and more intelligent after the mobile terminal enters the network range of the Internet of things system.
The invention further provides a multi-agent management device based on the Internet of things.
The invention also provides an electronic device.
The invention further proposes a non-transitory computer-readable storage medium.
According to a first aspect of the present invention, there is provided an internet-of-things-based multi-agent management method applied to a server, the server being in communication connection with a plurality of agents in the range of the internet of things, the method including:
responding to an access request of a mobile terminal, and extracting identification information corresponding to the mobile terminal and the intelligent agent;
generating a data transmission request broadcasted in the range of the Internet of things according to the identification information;
and matching the intelligent agent corresponding to the mobile terminal according to the identification information, and accessing the mobile terminal and the matched intelligent agent.
According to an embodiment of the present invention, the step of extracting, in response to an access request of a mobile terminal, identification information corresponding to the mobile terminal and the agent specifically includes:
acquiring a preset partitioned area list in the Internet of things and a preset intelligent agent list corresponding to each preset partitioned area list, wherein the preset intelligent agent list comprises all intelligent agents accessed to the corresponding preset partitioned areas;
acquiring the received position information of the mobile terminal, matching the position information of the mobile terminal with all the preset divided area lists according to the position information of the mobile terminal, and acquiring a first matching result;
acquiring the preset agent list corresponding to the first matching result, and taking the preset agent list as the second matching result;
and using the first matching result and the second matching result as identification information.
Specifically, the preset division area may be initial setting according to the use environment or area of the internet of things, or may be personalized setting performed by the user according to the use habit, for example, in an intelligent home system, a home may be divided into: the system comprises a first bedroom, a second bedroom, a third bedroom, a study, a kitchen, a living room, a first toilet, a second toilet and other specific scenes, wherein each specific scene forms a preset division area.
Furthermore, the intelligent agents can be understood as intelligent table lamps, intelligent computers, intelligent seats, intelligent air conditioners, intelligent assistants and the like in a preset division area, after the mobile terminal enters the network range of the internet of things, the intelligent agents can be actively identified or a plurality of intelligent agents in the preset division area can be actively accessed with the mobile terminal, and the mobile terminal is connected with the internet of things.
In an application scenario, after the user returns home using the mobile phone, the mobile terminal of the user enters the living room and accesses the network of the smart home system, according to the historical access information of the user, the user usually goes to the first bedroom for rest after going home in the time period, and the living room only passes through, so that while the position information of the mobile terminal is acquired, giving higher weight to the study room in the period, forming an offset function according to the instant position of the mobile terminal, if the study room is the final matching result in the acquisition period, all agents in the study, such as intelligent desk lamps, intelligent computers, intelligent seats, intelligent air conditioners, intelligent assistants and the like, are activated, and after the multiple agents are activated, matching access is carried out with the mobile terminal at any time, and when the mobile terminal sends an access request or meets a preset condition, the intelligent agent is in butt joint with the mobile terminal; it should be noted that, after the mobile terminal enters the smart home system, the mobile terminal may preset an access condition or an access scheme, or the smart agent may automatically interface with the mobile terminal to provide a more humanized service to the user, or the smart agent may access the smart home system network, and the smart agent serves as a router to implement ad hoc networking.
According to an embodiment of the present invention, the step of obtaining the preset agent list corresponding to the first matching result and using the preset agent list as the second matching result specifically includes:
if the number of the obtained first matching results is greater than or equal to two, acquiring the preset agent list corresponding to each first matching result;
extracting all agents in all the preset agent lists corresponding to the first matching results, and forming a first sub-list of the preset agents;
screening the agents in the preset agent first sub-list, and eliminating the agents with the occurrence frequency more than or equal to two;
and acquiring a historical access record of the mobile terminal, sequencing the first sub-list of the preset intelligent agent according to the historical access record, forming a second sub-list of the preset intelligent agent corresponding to the access frequency of the mobile terminal according to the quota recorded in the historical access record, and taking the second sub-list of the preset intelligent agent as the second matching result.
Specifically, there may be a case where the mobile terminal is simultaneously matched with two preset partition areas, for example, the location information of the mobile terminal is exactly overlapped with the preset partition areas of the study room and the living room, that is, the intelligent agents in the study room and the living room both meet the condition for accessing the mobile terminal, and meanwhile, the preset partition areas of the study room and the living room have interfering intelligent agents, such as an intelligent air conditioner, an intelligent sound, an intelligent humidifier, and the like, which can be set in the living room and the study room, and specifically, the intelligent agent in which area is to be opened needs to be further determined, so that a first preset intelligent agent sub-list and a second preset intelligent agent sub-list need to be generated.
It should be noted that, after the mobile terminal accesses the intelligent agent, the corresponding intelligent agent may be selectively controlled, and the intelligent agent may also serve as a router to implement data exchange with other intelligent agents.
According to an embodiment of the present invention, the step of generating the data transmission request broadcasted in the range of the internet of things according to the identification information specifically includes:
acquiring the network condition of each intelligent agent in the second matching result;
sorting the second matching results according to the network conditions of the agents to form a preset agent third sub-list corresponding to the network conditions;
and acquiring the agents positioned at the head of the queue in the third sub-list of the preset agents, extracting the network interface information of the agents positioned at the head of the queue, and taking the network interface information as the identification information.
Specifically, the embodiment provides an implementation manner for generating a preset third sub-list of an agent according to a network condition, the agent is rejected according to the network condition, and the access of the agent with bad network signals to a mobile terminal is avoided, so that the use is affected.
According to an embodiment of the present invention, the step of acquiring the agent located at the head of the queue in the preset agent third sub-list, extracting the network interface information of the agent located at the head of the queue, and using the network interface information as the identification information specifically includes:
distributing a random verification key pair to the data transmission request broadcasted in the range of the Internet of things;
generating a first authentication key node and a second authentication key node according to the random authentication key pair;
and adding the first verification key node to the identification information, sending the second verification key node to the corresponding intelligent agent, and verifying the legality of the first verification key node and the second verification key node before the mobile terminal and the intelligent agent are accessed.
Specifically, the present embodiment provides a method for allocating a random verification key pair according to a data transmission request, generating a first verification key node and a second verification key node according to the random verification key pair, and performing validity verification on received feedback information according to the first verification key node and the second verification key node, so as to prevent other intelligent agents in a preset partitioned area from being accessed by mistake.
According to an embodiment of the present invention, the step of matching the agent corresponding to the mobile terminal according to the identification information and accessing the mobile terminal and the matched agent specifically includes:
allocating the agents which are connected with the mobile terminal as father nodes, and allocating the rest agents as child nodes;
taking the intelligent agent distributed as a father node as a main router for the mobile terminal to access the Internet of things;
and accessing the rest of the intelligent agents in the preset division area where the mobile terminal is located to the Internet of things through the intelligent agents distributed as father nodes.
Specifically, the embodiment provides an ad hoc network implementation manner, and by allocating a parent node and a child node, other agents use an agent accessed with a mobile terminal as a main router to implement communication with other multi-agents or a preset division area in an internet of things, so as to improve data transmission efficiency.
According to an embodiment of the present invention, the step of allocating the agent that has completed the connection with the mobile terminal as a parent node and allocating the remaining agents as child nodes includes:
and updating the third sub-list of the preset agent, and reallocating the father node and the child nodes.
Specifically, the embodiment provides an implementation method for reacquiring network signals of an agent within a preset time, and then updating a third sub-list of the preset agent.
According to a second aspect of the present invention, there is provided an internet-of-things-based multi-agent management apparatus applied to a server, including: the device comprises an extraction module, a generation module and a matching module;
the extraction module is used for responding to an access request of a mobile terminal and extracting identification information corresponding to the mobile terminal and the intelligent agent;
the generation module is used for generating a data transmission request broadcasted in the range of the Internet of things according to the identification information;
the matching module is used for matching the intelligent agent corresponding to the mobile terminal according to the identification information and accessing the mobile terminal and the matched intelligent agent.
According to a third aspect of the present invention, there is provided an electronic apparatus comprising: a memory and a processor;
the memory and the processor complete mutual communication through a bus;
the memory stores computer instructions executable on the processor;
when the processor calls the computer program instructions, the multi-agent management method based on the Internet of things can be executed.
According to a fourth aspect of the present invention, there is provided a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the internet of things based multi-agent management method described above.
One or more technical solutions in the present invention have at least one of the following technical effects: according to the multi-agent management method, device, equipment and storage medium based on the Internet of things, the multi-agent management method suitable for the server is provided, so that after the mobile terminal enters the network range of the Internet of things system, data transmission between the mobile terminal and a plurality of agents is safer and more intelligent.
Additional aspects and advantages of the invention will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the invention.
Drawings
In order to more clearly illustrate the technical solutions of the present invention or the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a flow chart of a method for Internet of things-based multi-agent management provided by the present invention;
FIG. 2 is a schematic structural diagram of an Internet of things-based multi-agent management framework provided by the present invention;
fig. 3 is a schematic structural diagram of an electronic device provided in the present invention.
Reference numerals:
810: a processor; 820: a communication interface; 830: a memory; 840: a communication bus.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
The present application will now be described in detail with reference to the drawings, and the specific operations in the method embodiments may also be applied to the apparatus embodiments or the system embodiments. In the description of the present application, "at least one" includes one or more unless otherwise specified. "plurality" means two or more. For example, at least one of A, B and C, comprising: a alone, B alone, a and B in combination, a and C in combination, B and C in combination, and A, B and C in combination. In this application, "/" means "or, for example, A/B may mean A or B; "and/or" herein is merely an association describing an associated object, and means that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone.
In some embodiments of the present invention, as shown in fig. 1, the present solution provides a method for managing multiple agents based on the internet of things, which is applied to a server, where the server is communicatively connected to multiple agents in the scope of the internet of things, and the method includes:
responding to an access request of a mobile terminal, and extracting identification information corresponding to the mobile terminal and the intelligent agent;
generating a data transmission request broadcasted in the range of the Internet of things according to the identification information;
and matching the intelligent agent corresponding to the mobile terminal according to the identification information, and accessing the mobile terminal and the matched intelligent agent.
In detail, the invention provides a multi-agent management method based on the Internet of things, and the multi-agent management method suitable for a server is provided, so that data transmission between a mobile terminal and a plurality of agents is safer and more intelligent after the mobile terminal enters the network range of the Internet of things system.
In some possible embodiments of the present invention, the step of extracting, in response to an access request of a mobile terminal, identification information corresponding to the mobile terminal and the agent specifically includes:
acquiring a preset partition area list in the Internet of things and a preset intelligent agent list corresponding to each preset partition area list, wherein the preset intelligent agent list comprises all intelligent agents which are accessed to the corresponding preset partition areas;
acquiring the received position information of the mobile terminal, matching the position information of the mobile terminal with all the preset divided area lists according to the position information of the mobile terminal, and acquiring a first matching result;
acquiring the preset agent list corresponding to the first matching result, and taking the preset agent list as the second matching result;
and using the first matching result and the second matching result as identification information.
Specifically, the preset division region may be initial setting according to the use environment or area of the internet of things, or may be personalized setting performed by the user according to the use habit, for example, in an intelligent home system, a home may be divided into: the system comprises a first bedroom, a second bedroom, a third bedroom, a study, a kitchen, a living room, a first toilet, a second toilet and other specific scenes, wherein each specific scene forms a preset division area.
Furthermore, the intelligent agents can be understood as intelligent table lamps, intelligent computers, intelligent seats, intelligent air conditioners, intelligent assistants and the like in a preset division area, after the mobile terminal enters the network range of the internet of things, the intelligent agents can be actively identified or a plurality of intelligent agents in the preset division area can be actively accessed with the mobile terminal, and the mobile terminal is connected with the internet of things.
In an application scenario, after the user returns home by using the mobile phone, the mobile terminal of the user enters the living room and accesses the network of the intelligent home system, according to the historical access information of the user, the user usually goes to the first bedroom for rest after going home in the time period, and the living room only passes through, so that while the position information of the mobile terminal is acquired, giving higher weight to the study room in the period, forming an offset function according to the instant position of the mobile terminal, if the study room is the final matching result in the acquisition period, all agents in the study, such as intelligent desk lamps, intelligent computers, intelligent seats, intelligent air conditioners, intelligent assistants and the like, are activated, and after the multiple agents are activated, matching access is carried out with the mobile terminal at any time, and when the mobile terminal sends an access request or meets a preset condition, the intelligent agent is in butt joint with the mobile terminal; it should be noted that, after the mobile terminal enters the smart home system, the mobile terminal may preset an access condition or an access scheme, or the smart agent may automatically interface with the mobile terminal to provide a more humanized service to the user, or the smart agent may access the smart home system network, and the smart agent serves as a router to implement ad hoc networking.
In some possible embodiments of the present invention, the step of obtaining the preset agent list corresponding to the first matching result and using the preset agent list as the second matching result specifically includes:
if the number of the obtained first matching results is greater than or equal to two, acquiring the preset agent list corresponding to each first matching result;
extracting all agents in all the preset agent lists corresponding to the first matching results, and forming a first sub-list of the preset agents;
screening the agents in the preset agent first sub-list, and eliminating the agents with the occurrence frequency more than or equal to two;
and acquiring a historical access record of the mobile terminal, sequencing the first sub-list of the preset intelligent agent according to the historical access record, forming a second sub-list of the preset intelligent agent corresponding to the access frequency of the mobile terminal according to the quota recorded in the historical access record, and taking the second sub-list of the preset intelligent agent as the second matching result.
Specifically, there may be a case where the mobile terminal is simultaneously matched with two preset partition areas, for example, the location information of the mobile terminal is exactly overlapped with the preset partition areas of the study room and the living room, that is, the intelligent agents in the study room and the living room both meet the condition for accessing the mobile terminal, and meanwhile, the preset partition areas of the study room and the living room have interfering intelligent agents, such as an intelligent air conditioner, an intelligent sound, an intelligent humidifier, and the like, which can be set in the living room and the study room, and specifically, the intelligent agent in which area is to be opened needs to be further determined, so that a first preset intelligent agent sub-list and a second preset intelligent agent sub-list need to be generated.
It should be noted that, after the mobile terminal accesses the intelligent agent, the corresponding intelligent agent may be selectively controlled, and the intelligent agent may also serve as a router to implement data exchange with other intelligent agents.
In some possible embodiments of the present invention, the step of generating a data transmission request broadcasted in the range of the internet of things according to the identification information specifically includes:
acquiring the network condition of each agent in the second matching result;
sorting the second matching results according to the network conditions of the agents to form a preset agent third sub-list corresponding to the network conditions;
and acquiring the intelligent agent positioned at the head of the queue in the third sub-list of the preset intelligent agent, extracting the network interface information of the intelligent agent positioned at the head of the queue, and taking the network interface information as the identification information.
Specifically, the embodiment provides an implementation manner for generating a third sub-list of preset agents according to a network condition, and the agents are accepted or rejected according to the network condition, so that the agents with bad network signals are prevented from accessing the mobile terminal, and the use is prevented from being affected.
In some possible embodiments of the present invention, the step of acquiring the agent located at the head of the queue in the preset agent third sub-list, extracting the network interface information of the agent located at the head of the queue, and using the network interface information as the identification information specifically includes:
distributing a random verification key pair to the data transmission request broadcasted in the range of the Internet of things;
generating a first authentication key node and a second authentication key node according to the random authentication key pair;
and adding the first verification key node to the identification information, sending the second verification key node to the corresponding intelligent agent, and verifying the legality of the first verification key node and the second verification key node before the mobile terminal and the intelligent agent are accessed.
Specifically, the present embodiment provides a method for allocating a random verification key pair according to a data transmission request, generating a first verification key node and a second verification key node according to the random verification key pair, and performing validity verification on received feedback information according to the first verification key node and the second verification key node, so as to prevent other intelligent agents in a preset partitioned area from being accessed by mistake.
In some possible embodiments of the present invention, the step of matching the agent corresponding to the mobile terminal according to the identification information and accessing the mobile terminal and the matched agent specifically includes:
the intelligent agents which are connected with the mobile terminal are allocated as father nodes, and the other intelligent agents are allocated as child nodes;
taking the intelligent agent distributed as a father node as a main router for the mobile terminal to access the Internet of things;
and accessing the rest of the intelligent agents in the preset division area where the mobile terminal is located to the Internet of things through the intelligent agents distributed as father nodes.
Specifically, the embodiment provides an ad hoc network implementation manner, and by allocating a parent node and a child node, other agents use an agent accessed with a mobile terminal as a main router to implement communication with other multi-agents or a preset division area in an internet of things, so as to improve data transmission efficiency.
In some possible embodiments of the present invention, the step of allocating the agent that completes the connection with the mobile terminal as a parent node and allocating the remaining agents as child nodes specifically includes:
and updating the third sub-list of the preset agent, and reallocating the father node and the child nodes.
Specifically, the embodiment provides an implementation method for reacquiring network signals of an agent within a preset time, and then updating a third sub-list of the preset agent.
In some embodiments of the present invention, as shown in fig. 2, the present solution provides an internet of things-based multi-agent management apparatus, applied to a server, including: the device comprises an extraction module, a generation module and a matching module;
the extraction module is used for responding to an access request of a mobile terminal and extracting identification information corresponding to the mobile terminal and the intelligent agent;
the generating module is used for generating a data transmission request broadcasted in the range of the Internet of things according to the identification information;
the matching module is used for matching the intelligent agent corresponding to the mobile terminal according to the identification information and accessing the mobile terminal and the matched intelligent agent.
Fig. 3 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 3: a processor (processor)810, a communication Interface 820, a memory 830 and a communication bus 840, wherein the processor 810, the communication Interface 820 and the memory 830 communicate with each other via the communication bus 840. The processor 810 may invoke logic instructions in the memory 830 to perform the internet of things based multi-agent management method.
It should be noted that, when being implemented specifically, the electronic device in this embodiment may be a server, a PC, or other devices, as long as the structure includes the processor 810, the communication interface 820, the memory 830, and the communication bus 840 shown in fig. 3, where the processor 810, the communication interface 820, and the memory 830 complete mutual communication through the communication bus 840, and the processor 810 may call the logic instructions in the memory 830 to execute the above method. The embodiment does not limit the specific implementation form of the electronic device.
The server may be a single server or a server group. The set of servers can be centralized or distributed (e.g., the servers can be a distributed system). In some embodiments, the server may be local or remote to the terminal. For example, the server may access information stored in the user terminal, a database, or any combination thereof via a network. As another example, the server may be directly connected to at least one of the user terminal and the database to access information and/or data stored therein. In some embodiments, the server may be implemented on a cloud platform; by way of example only, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud (community cloud), a distributed cloud, an inter-cloud, a multi-cloud, and the like, or any combination thereof. In some embodiments, the server and the user terminal may be implemented on an electronic device having one or more components in embodiments of the present application.
Further, the network may be used for the exchange of information and/or data. In some embodiments, one or more components (e.g., servers, user terminals, and databases) in an interaction scenario may send information and/or data to other components. In some embodiments, the network may be any type of wired or wireless network, or combination thereof. Merely by way of example, the Network may include a wired Network, a Wireless Network, a fiber optic Network, a telecommunications Network, an intranet, the internet, a Local Area Network (LAN), a Wide Area Network (WAN), a Wireless Local Area Network (WLAN), a Metropolitan Area Network (MAN), a Wide Area Network (WAN), a Public Switched Telephone Network (PSTN), a bluetooth Network, a ZigBee Network, or a Near Field Communication (NFC) Network, among others, or any combination thereof. In some embodiments, the network may include one or more network access points. For example, the network may include wired or wireless network access points, such as base stations and/or network switching nodes, through which one or more components of the interaction scenario may connect to the network to exchange data and/or information.
In addition, the logic instructions in the memory 830 may be implemented in software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Further, embodiments of the present invention disclose a computer program product comprising a computer program stored on a non-transitory computer-readable storage medium, the computer program comprising program instructions, which, when executed by a computer, enable the computer to perform the methods provided by the above-mentioned method embodiments.
In another aspect, the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented by a processor to execute the method for managing multiple agents based on internet of things provided in the foregoing embodiments.
In yet another aspect, the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented by a processor to execute the internet-of-things-based multi-agent management method provided in the foregoing embodiments.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment may be implemented by software plus a necessary general hardware platform, and may also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (7)

1. A multi-agent management method based on the Internet of things is applied to a server, and the server is in communication connection with a plurality of agents in the range of the Internet of things, and is characterized by comprising the following steps:
responding to an access request of a mobile terminal, and extracting identification information corresponding to the mobile terminal and the intelligent agent;
generating a data transmission request broadcasted in the range of the Internet of things according to the identification information;
matching the intelligent agent corresponding to the mobile terminal according to the identification information, and accessing the mobile terminal and the matched intelligent agent;
wherein, in the step of responding to the access request of the mobile terminal and extracting the identification information corresponding to the mobile terminal and the intelligent agent, the method specifically comprises the following steps:
acquiring a preset partitioned area list in the Internet of things and a preset intelligent agent list corresponding to each preset partitioned area list, wherein the preset intelligent agent list comprises all intelligent agents accessed to the corresponding preset partitioned areas;
acquiring the received position information of the mobile terminal, matching the position information of the mobile terminal with all the preset divided area lists according to the position information of the mobile terminal, and acquiring a first matching result;
acquiring the preset intelligent agent list corresponding to the first matching result, and taking the preset intelligent agent list as a second matching result;
using the first matching result and the second matching result as identification information;
the step of generating a data transmission request broadcasted within the range of the internet of things according to the identification information specifically includes:
acquiring the network condition of each intelligent agent in the second matching result;
sorting the second matching results according to the network conditions of the agents to form a preset agent third sub-list corresponding to the network conditions;
acquiring the agents positioned at the head of the queue in the preset agent third sub-list, extracting the network interface information of the agents positioned at the head of the queue, and taking the network interface information as the identification information;
the step of matching the agent corresponding to the mobile terminal according to the identification information and accessing the mobile terminal and the matched agent specifically includes:
the intelligent agents which are connected with the mobile terminal are allocated as father nodes, and the other intelligent agents are allocated as child nodes;
taking the intelligent agent distributed as a father node as a main router for the mobile terminal to access the Internet of things;
and accessing the rest of the intelligent agents in the preset division area where the mobile terminal is located to the Internet of things through the intelligent agents distributed as father nodes.
2. The internet of things-based multi-agent management method according to claim 1, wherein the step of obtaining the preset agent list corresponding to the first matching result and using the preset agent list as the second matching result specifically comprises:
if the number of the obtained first matching results is greater than or equal to two, acquiring the preset agent list corresponding to each first matching result;
extracting all agents in all the preset agent lists corresponding to the first matching results, and forming a first sub-list of the preset agents;
screening the agents in the preset agent first sub-list, and eliminating the agents with the occurrence frequency more than or equal to two;
and acquiring a historical access record of the mobile terminal, sequencing the first sub-list of the preset intelligent agent according to the historical access record, forming a second sub-list of the preset intelligent agent corresponding to the access frequency of the mobile terminal according to the quota recorded in the historical access record, and taking the second sub-list of the preset intelligent agent as the second matching result.
3. The internet-of-things-based multi-agent management method according to claim 1, wherein the step of obtaining the agent at the head of the queue in the preset agent third sub-list, extracting the network interface information of the agent at the head of the queue, and using the network interface information as the identification information specifically comprises:
distributing a random verification key pair to the data transmission request broadcasted in the range of the Internet of things;
generating a first authentication key node and a second authentication key node according to the random authentication key pair;
and adding the first verification key node to the identification information, sending the second verification key node to the corresponding intelligent agent, and verifying the legality of the first verification key node and the second verification key node before the mobile terminal and the intelligent agent are accessed.
4. The internet-of-things-based multi-agent management method according to claim 1, wherein the step of allocating the agents that have completed the connection with the mobile terminal as parent nodes and allocating the rest of the agents as child nodes specifically comprises:
and updating the third sub-list of the preset agent within preset time, and reallocating the father node and the child nodes.
5. A multi-agent management device based on the Internet of things is applied to a server and is characterized by comprising: the device comprises an extraction module, a generation module and a matching module;
the extraction module is used for responding to an access request of a mobile terminal and extracting identification information corresponding to the mobile terminal and the intelligent agent;
the generating module is used for generating a data transmission request broadcasted in the range of the Internet of things according to the identification information;
the matching module is used for matching the intelligent agent corresponding to the mobile terminal according to the identification information and accessing the mobile terminal and the matched intelligent agent;
wherein, the extracting the identification information corresponding to the mobile terminal and the agent in response to the access request of the mobile terminal specifically includes:
acquiring a preset partitioned area list in the Internet of things and a preset intelligent agent list corresponding to each preset partitioned area list, wherein the preset intelligent agent list comprises all intelligent agents accessed to the corresponding preset partitioned areas;
acquiring the received position information of the mobile terminal, matching the position information of the mobile terminal with all the preset divided area lists according to the position information of the mobile terminal, and acquiring a first matching result;
acquiring the preset intelligent agent list corresponding to the first matching result, and taking the preset intelligent agent list as a second matching result;
using the first matching result and the second matching result as identification information;
the generating of the data transmission request broadcasted in the range of the internet of things according to the identification information specifically includes:
acquiring the network condition of each intelligent agent in the second matching result;
sorting the second matching results according to the network conditions of the agents to form a preset agent third sub-list corresponding to the network conditions;
acquiring the intelligent agent positioned at the head of the queue in the third sub-list of the preset intelligent agents, extracting the network interface information of the intelligent agent positioned at the head of the queue, and taking the network interface information as the identification information;
the matching the agent corresponding to the mobile terminal according to the identification information and accessing the mobile terminal and the matched agent specifically include:
the intelligent agents which are connected with the mobile terminal are allocated as father nodes, and the other intelligent agents are allocated as child nodes;
taking the intelligent agent distributed as a father node as a main router for the mobile terminal to access the Internet of things;
and accessing the rest of the intelligent agents in the preset division area where the mobile terminal is located into the Internet of things through the intelligent agents distributed as father nodes.
6. An electronic device, comprising: a memory and a processor;
the memory and the processor complete mutual communication through a bus;
the memory stores computer instructions executable on the processor;
the processor, when invoking the computer program instructions, is capable of performing the method of internet of things based multi-agent management as recited in any of claims 1 to 4.
7. A non-transitory computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the internet of things based multi-agent management method of any of the above claims 1 to 4.
CN202110457872.0A 2021-04-27 2021-04-27 Multi-agent management method, device, equipment and storage medium based on Internet of things Active CN113194012B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110457872.0A CN113194012B (en) 2021-04-27 2021-04-27 Multi-agent management method, device, equipment and storage medium based on Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110457872.0A CN113194012B (en) 2021-04-27 2021-04-27 Multi-agent management method, device, equipment and storage medium based on Internet of things

Publications (2)

Publication Number Publication Date
CN113194012A CN113194012A (en) 2021-07-30
CN113194012B true CN113194012B (en) 2022-05-31

Family

ID=76979211

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110457872.0A Active CN113194012B (en) 2021-04-27 2021-04-27 Multi-agent management method, device, equipment and storage medium based on Internet of things

Country Status (1)

Country Link
CN (1) CN113194012B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114760334B (en) * 2022-03-15 2023-09-12 江苏贺鸿电子有限公司 Electric power data transmission control system and method in Internet of things environment
CN114866600B (en) * 2022-07-07 2022-12-13 北京交通大学 Internet of things terminal access management method and device based on intelligent integration identification

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3007477B1 (en) * 2014-05-31 2021-04-28 Huawei Technologies Co., Ltd. Network connection method, hotspot terminal, and management terminal
CN105207864A (en) * 2015-08-31 2015-12-30 小米科技有限责任公司 Household appliance control method and device
CN105549944B (en) * 2015-12-11 2019-07-23 小米科技有限责任公司 Equipment display methods and device
CN105979487A (en) * 2016-07-11 2016-09-28 邦奇智能科技(上海)股份有限公司 Method and system for configuring office partitions according to positioning information of mobile terminal
CN109063102B (en) * 2018-07-27 2021-06-11 宁波光舟通信技术有限公司 Data sending method and device of airborne intelligent equipment and airborne intelligent equipment
CN112087435B (en) * 2020-08-18 2022-07-29 上海京知信息科技有限公司 Hierarchical context awareness decision-making method and device, electronic equipment and storage medium
CN112532741B (en) * 2020-12-07 2023-12-29 美的智慧家居科技有限公司 Intelligent device control method and device, electronic device and storage medium
CN112333212B (en) * 2021-01-06 2021-03-26 广州技象科技有限公司 Encryption management method and device for business data of power Internet of things

Also Published As

Publication number Publication date
CN113194012A (en) 2021-07-30

Similar Documents

Publication Publication Date Title
CN107995215B (en) Control method and device of intelligent household equipment and cloud platform server
CN104618312B (en) A kind of remote login methods, devices and systems of M2M application
CN106130881B (en) A kind of account number login method and device
US9197639B2 (en) Method for sharing data of device in M2M communication and system therefor
CN113194012B (en) Multi-agent management method, device, equipment and storage medium based on Internet of things
US11096051B2 (en) Connection establishment method, device, and system
CN102834823B (en) Data management at catalog data base
CN108023794B (en) Equipment access control method and device
CN109673037A (en) A kind of network function discovery method and apparatus
CN108848159A (en) A kind of internet of things equipment interoperability dispatching method
CN109756896A (en) A kind of information processing method, the network equipment and computer readable storage medium
CN106301772A (en) Cipher set-up method, device and for arranging the device of password
CN112449343A (en) Method, equipment and system for managing user identity
CN109005044A (en) Data transfer control method and relevant apparatus
CN111431818B (en) Cross-domain request flow distribution method and device, storage medium and computer equipment
CN104821908A (en) Exclusive service-supporting instant messaging method and system
CN106453349A (en) An account number login method and apparatus
CN103856520B (en) Communication processing method, server and terminal
CN108259523A (en) A kind of data transmission method and Internet of things system, Network Access Method
CN105792166A (en) Proximity request method, proximity request validating method, server and network entity
CN106330899A (en) Private cloud device account management method and system, electronic device and server
CN100450011C (en) Device for mediating in management orders
CN112328760A (en) Service providing method, device and system
WO2017000583A1 (en) Terminal access method and corresponding terminal, base station and main core network
CN112788738A (en) Code number processing method and device for public and private network convergence system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant