CN113098742B - Multi-agent-based pervasive computing operation method, framework, equipment and medium - Google Patents

Multi-agent-based pervasive computing operation method, framework, equipment and medium Download PDF

Info

Publication number
CN113098742B
CN113098742B CN202110450843.1A CN202110450843A CN113098742B CN 113098742 B CN113098742 B CN 113098742B CN 202110450843 A CN202110450843 A CN 202110450843A CN 113098742 B CN113098742 B CN 113098742B
Authority
CN
China
Prior art keywords
access request
mobile terminal
node
intelligent
agent
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
CN202110450843.1A
Other languages
Chinese (zh)
Other versions
CN113098742A (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 CN202110450843.1A priority Critical patent/CN113098742B/en
Publication of CN113098742A publication Critical patent/CN113098742A/en
Application granted granted Critical
Publication of CN113098742B publication Critical patent/CN113098742B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Automation & Control Theory (AREA)
  • Computer Security & Cryptography (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The invention provides a pervasive computing operation method, a pervasive computing operation framework, pervasive computing equipment and a pervasive computing operation medium based on multiple intelligent agents, which are applied to a mobile terminal, wherein the mobile terminal is connected with an intelligent home system, a plurality of intelligent agents which are in communication connection with each other are arranged in the intelligent home system, and the method comprises the following steps: continuously acquiring network signals in a first continuous time period, and generating a first access request after identifying the network signals of the intelligent home system; sending the first access request to a server of the intelligent home system, and continuously acquiring a second access request from the intelligent agent; and verifying the validity of the second access request, and if the second access request is legal, accessing the mobile terminal and the intelligent agent sending the second access request. According to the invention, through the proposal of the universal calculation method on the mobile terminal, the data transmission between the mobile terminal and a plurality of intelligent agents is safer and more intelligent after the mobile terminal enters the network range of the intelligent home system.

Description

Multi-agent-based pervasive computing operation method, framework, equipment and medium
Technical Field
The invention relates to the technical field of intelligent home, in particular to a pervasive computing operation method, a pervasive computing operation framework, pervasive computing equipment and a pervasive computing operation medium based on multiple intelligent agents.
Background
With the development of science and technology, data access among the smart home devices is more and more frequent, and when a plurality of smart agents are arranged in the smart home 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 pervasive computing operation method based on multiple intelligent agents, and through the adoption of the pervasive computing method on the mobile terminal, the data transmission between the mobile terminal and the multiple intelligent agents is safer and more intelligent after the mobile terminal enters the network range of the intelligent home system.
The invention also provides a universal computing architecture based on the multi-agent.
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, a general calculation operation method based on multiple intelligent agents is provided, which is applied to a mobile terminal, the mobile terminal is connected to an intelligent home system, and a plurality of intelligent agents in communication connection with each other are provided in the intelligent home system, and the method includes:
continuously acquiring network signals in a first continuous time period, and generating a first access request after identifying the network signals of the intelligent home system;
sending the first access request to a server of the intelligent home system, and continuously acquiring a second access request from the intelligent agent;
and verifying the validity of the second access request, and if the second access request is legal, accessing the mobile terminal and the intelligent agent sending the second access request.
According to an embodiment of the present invention, the step of continuously acquiring the network signal in the first continuous time period, and generating the first access request after identifying the network signal of the smart home system, specifically includes:
responding to a network signal of the intelligent home system, and acquiring first instant position information of the mobile terminal and a plurality of position node vectors in the intelligent home system, wherein the position node vectors point to preset division areas of the intelligent home system, and each preset division area is provided with at least one position node vector;
extracting a first instant position vector of the mobile terminal according to the first instant position information, matching the first instant position vector with a plurality of position node vectors, and obtaining a matching result;
and generating the first access request according to the matching result, wherein the matching result at least comprises the preset division area pointed by the position node vector matched with the first instant position information.
Specifically, this embodiment provides an implementation manner for generating a first access request, where after entering a network range of an intelligent home system, a mobile terminal acquires a location of the mobile terminal in the intelligent home system network, and acquires a plurality of location node vectors in the intelligent home system network, where the location node vectors are used to point to a preset partitioned area preset in the intelligent home system network, where the preset partitioned area may be an initial setting according to a home environment and an area, or a personalized setting according to a usage habit of a user, and for example, the mobile terminal may be divided into: the system comprises a first bedroom, a second bedroom, a third bedroom, a study room, a kitchen, a living room, a first toilet, a second toilet and other specific scenes, wherein each specific scene forms a preset division area, and corresponding position node vectors are arranged in a one-to-one correspondence mode with the preset division areas.
Further, the preset division area corresponding to the mobile terminal is obtained by acquiring the first instant position information of the mobile terminal and then matching the first instant position vector of the first instant position information with the position node vector.
According to an embodiment of the present invention, the step of extracting a first instantaneous location vector of the mobile terminal according to the first instantaneous location information, matching the first instantaneous location vector with a plurality of location node vectors, and obtaining a matching result specifically includes:
obtaining an offset function of the first instant position information and each position node vector;
acquiring historical access information of the mobile terminal, and giving corresponding weight to each position node vector according to the historical access information;
performing weighted calculation on the offset function according to the weight of each position node vector to generate an offset weight function;
and acquiring the position node vector of which the matching value with the first instant position vector meets a first preset offset range according to the offset weight function, and taking the preset divided region pointed by the position node vector as the matching result.
Specifically, the embodiment provides an implementation manner for matching the first instant location vector with the location node vector, and different weights are allocated to each location node vector according to the historical access information of the mobile terminal, for example, the probability that a location node vector with a higher use frequency is accessed is higher, so that the weight given to the location node vector with a higher access frequency is higher, and the actual demand of the mobile terminal is more accurately known.
In an application scenario, after a user returns home by using a mobile phone, a mobile terminal of the user enters a living room and accesses a network of an intelligent home system, it can be known according to historical access information of the user that the user usually goes to a first bedroom for rest after returning home in the time period, and the living room only passes through the first bedroom, so that when the position information of the mobile terminal is obtained, a higher weight is given to the first bedroom for rest in the time period, an offset function is formed according to the instant position of the mobile terminal, if the first bedroom is a final matching result in the acquisition time period, all intelligent agents in the first bedroom for rest, such as an intelligent computer, an intelligent seat, an intelligent air conditioner, an intelligent assistant and the like, are activated, are matched and accessed with the mobile terminal at any time, and when the mobile terminal sends an access request or meets a preset condition, the intelligent agent realizes the 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 intelligent agent may automatically interface with the mobile terminal, so as to provide a more humanized service for the user, or the intelligent agent may implement access to the smart home system network, and the intelligent agent serves as a router.
According to an embodiment of the present invention, the step of sending the first access request to the server of the smart home system and continuously obtaining the second access request from the agent specifically includes:
generating a first random verification key pair for identifying the matching result based on the matching result;
generating a first authentication key node and a second authentication key node according to the first random authentication key pair, and adding the first authentication key node to the matching result, wherein the first authentication key node is used for identifying the agent receiving the first access request;
continuously acquiring feedback information from the agent within a second continuous time period after responding to the first access request sent to the server;
and verifying the validity of the feedback information according to the second verification key node, if the intelligent agent sending the feedback information has the first verification key node, judging that the feedback information is legal, and continuously receiving the second access request sent by the intelligent agent sending the feedback information.
Specifically, this embodiment provides an implementation manner for obtaining the second access request, and after obtaining the matching result, the implementation manner generates the first access request accessing the preset partitioned area, and simultaneously allocates the first authentication key node and the second authentication key node to the first access request, and when the agent receiving the first access request sends the feedback information, the agent carries the first authentication key node, and performs validity verification on the received feedback information according to the first authentication key node and the second authentication key node, thereby avoiding the other agents in the preset partitioned area from being accessed by mistake.
According to an embodiment of the present invention, after the step of continuously acquiring the feedback information from the agent within a second continuous time period after the step of sending the first access request to the server, the method specifically further includes:
and if the feedback information from the intelligent agent is not acquired in the second continuous time period, re-acquiring the first instant position information of the mobile terminal and the plurality of position node vectors in the intelligent home system, and re-calculating the matching result.
Specifically, in this embodiment, if the feedback information from the agent is not received in the second continuous time period, it indicates that the access scheme preset by the mobile terminal is failed, or the multiple agents in the preset divided area cannot be accessed, or the mobile terminal cannot complete access to the multiple agents because the mobile terminal moves the location, so that the first instant location information of the mobile terminal needs to be re-acquired at this time, and the corresponding preset divided area needs to be re-acquired, thereby implementing access between the mobile terminal and the agent.
According to an embodiment of the present invention, the step of verifying the validity of the second access request, and if the second access request is valid, the step of accessing the mobile terminal and the agent that sends the second access request includes:
acquiring a third authentication key node sent by the intelligent agent receiving the first access request, and extracting a fourth authentication key node in the second access request, wherein the third authentication key node and the fourth authentication key node are a second random authentication key pair generated by the intelligent agent after receiving the first access request, and the second random authentication key pair comprises the third authentication key node and the fourth authentication key node;
and verifying the legality of the third verification key node and the fourth verification key node, if the third verification key node is matched with the fourth verification key node, the second access request is legal, and the mobile terminal is accessed to the intelligent agent sending the second access request.
Specifically, in this embodiment, after receiving the first access request, the intelligent agent generates a third authentication key node and a fourth authentication key node, where the third authentication key node is sent to the mobile terminal, the fourth authentication key node is added to the second access request and sent to the mobile terminal, and the mobile terminal verifies the validity of the intelligent agent according to the third authentication key node and the fourth authentication key node, so as to avoid access of other intelligent agents.
According to an embodiment of the present invention, the verifying the validity of the second access request, and if the second access request is valid, the step of accessing the mobile terminal and the agent sending the second access request after the step of accessing the mobile terminal and the agent sending the second access request specifically includes:
continuously acquiring second instant position information of the mobile terminal in a third continuous time period, and extracting a second instant position vector of the second instant position information;
and acquiring a position matrix based on the first instant position and the second instant position, taking the second instant position vector as the input quantity of the position matrix, acquiring the offset of the first instant position and the second instant position, and if the offset exceeds a second preset offset range, acquiring the matching result again according to the second instant position information.
Specifically, in this embodiment, if the mobile terminal fails to acquire the second access request or the agent sending the corresponding request is illegal in the third continuous time period, the location information of the mobile terminal is acquired again, and then the corresponding preset partition area is reconfigured to match the agent again.
According to a second aspect of the present invention, there is provided a multi-agent-based ubiquitous computing architecture for a mobile terminal, comprising: the system comprises an identification module, an acquisition module and a verification module;
the identification module is used for continuously acquiring network signals in a first continuous time period, and generating a first access request after identifying the network signals of the intelligent home system;
the acquisition module is used for sending the first access request to a server of the intelligent home system and continuously acquiring a second access request from the intelligent agent;
the verification module is used for verifying the validity of the second access request, and if the second access request is legal, the mobile terminal is accessed to the intelligent agent sending the second access request.
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 general computing operation method based on the multi-agent 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 above-described multi-agent based pervasive computing method of operation.
One or more technical solutions in the present invention have at least one of the following technical effects: according to the ubiquitous computing operation method, the ubiquitous computing architecture, the ubiquitous computing equipment and the ubiquitous computing medium based on the multiple intelligent agents, provided by the invention, the mobile terminal is enabled to be safer and more intelligent in data transmission with the multiple intelligent agents after entering the network range of the intelligent home system.
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 present invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of 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 other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic flow chart of a general computing operation method based on multi-agent provided by the invention;
FIG. 2 is a schematic structural diagram of a multi-agent based pervasive computing 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 scheme provides a pervasive computing operation method based on multiple intelligent agents, which is applied to a mobile terminal, where the mobile terminal is connected to an intelligent home system, and the intelligent home system has multiple intelligent agents communicatively connected to each other, and the method includes:
continuously acquiring network signals in a first continuous time period, and generating a first access request after identifying the network signals of the intelligent home system;
sending the first access request to a server of the intelligent home system, and continuously acquiring a second access request from the intelligent agent;
and verifying the validity of the second access request, and if the second access request is legal, accessing the mobile terminal and the intelligent agent sending the second access request.
In detail, the invention provides a pervasive computing operation method based on multiple intelligent agents, and through the adoption of the pervasive computing method on a mobile terminal, after the mobile terminal enters the network range of an intelligent home system, data transmission between the mobile terminal and the multiple intelligent agents is safer and more intelligent.
In some possible embodiments of the present invention, the step of continuously acquiring the network signal in the first continuous time period, and generating the first access request after identifying the network signal of the smart home system, specifically includes:
responding to a network signal of the intelligent home system, and acquiring first instant position information of the mobile terminal and a plurality of position node vectors in the intelligent home system, wherein the position node vectors point to preset division areas of the intelligent home system, and each preset division area is provided with at least one position node vector;
extracting a first instant position vector of the mobile terminal according to the first instant position information, matching the first instant position vector with a plurality of position node vectors, and obtaining a matching result;
and generating the first access request according to the matching result, wherein the matching result at least comprises the preset division area pointed by the position node vector matched with the first instant position information.
Specifically, this embodiment provides an implementation manner for generating a first access request, where after entering a network range of an intelligent home system, a mobile terminal acquires a location of the mobile terminal in the intelligent home system network, and acquires a plurality of location node vectors in the intelligent home system network, where the location node vectors are used to point to a preset partitioned area preset in the intelligent home system network, where the preset partitioned area may be an initial setting according to a home environment and an area, or a personalized setting according to a usage habit of a user, and for example, the mobile terminal may be divided into: the system comprises a first bedroom, a second bedroom, a third bedroom, a study room, a kitchen, a living room, a first toilet, a second toilet and other specific scenes, wherein each specific scene forms a preset division area, and corresponding position node vectors are arranged in a one-to-one correspondence mode with the preset division areas.
Further, the preset division area corresponding to the mobile terminal is obtained by acquiring the first instant position information of the mobile terminal and then matching the first instant position vector of the first instant position information with the position node vector.
In some possible embodiments of the present invention, the step of extracting a first instantaneous location vector of the mobile terminal according to the first instantaneous location information, matching the first instantaneous location vector with a plurality of location node vectors, and obtaining a matching result specifically includes:
obtaining an offset function of the first instant position information and each position node vector;
acquiring historical access information of the mobile terminal, and giving corresponding weight to each position node vector according to the historical access information;
performing weighted calculation on the offset function according to the weight of each position node vector to generate an offset weight function;
and acquiring the position node vector of which the matching value with the first instant position vector meets a first preset offset range according to the offset weight function, and taking the preset divided region pointed by the position node vector as the matching result.
Specifically, the embodiment provides an implementation manner for matching the first instant location vector with the location node vector, and different weights are allocated to each location node vector according to the historical access information of the mobile terminal, for example, the probability that a location node vector with a higher use frequency is accessed is higher, so that the weight given to the location node vector with a higher access frequency is higher, and the actual demand of the mobile terminal is more accurately known.
In an application scenario, after a user returns home by using a mobile phone, a mobile terminal of the user enters a living room and accesses a network of an intelligent home system, it can be known according to historical access information of the user that the user usually goes to a first bedroom for rest after returning home in the time period, and the living room only passes through the first bedroom, so that when the position information of the mobile terminal is obtained, a higher weight is given to the first bedroom for rest in the time period, an offset function is formed according to the instant position of the mobile terminal, if the first bedroom is a final matching result in the acquisition time period, all intelligent agents in the first bedroom for rest, such as an intelligent computer, an intelligent seat, an intelligent air conditioner, an intelligent assistant and the like, are activated, are matched and accessed with the mobile terminal at any time, and when the mobile terminal sends an access request or meets a preset condition, the intelligent agent realizes the 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 intelligent agent may automatically interface with the mobile terminal, so as to provide a more humanized service for the user, or the intelligent agent may implement access to the smart home system network, and the intelligent agent serves as a router.
In some possible embodiments of the present invention, the step of sending the first access request to the server of the smart home system and continuously obtaining the second access request from the agent specifically includes:
generating a first random verification key pair for identifying the matching result based on the matching result;
generating a first authentication key node and a second authentication key node according to the first random authentication key pair, and adding the first authentication key node to the matching result, wherein the first authentication key node is used for identifying the agent receiving the first access request;
continuously acquiring feedback information from the agent within a second continuous time period after responding to the first access request sent to the server;
and verifying the validity of the feedback information according to the second verification key node, if the intelligent agent sending the feedback information has the first verification key node, judging that the feedback information is legal, and continuously receiving the second access request sent by the intelligent agent sending the feedback information.
Specifically, this embodiment provides an implementation manner for obtaining the second access request, and after obtaining the matching result, the implementation manner generates the first access request accessing the preset partitioned area, and simultaneously allocates the first authentication key node and the second authentication key node to the first access request, and when the agent receiving the first access request sends the feedback information, the agent carries the first authentication key node, and performs validity verification on the received feedback information according to the first authentication key node and the second authentication key node, thereby avoiding the other agents in the preset partitioned area from being accessed by mistake.
In some possible embodiments of the present invention, after the step of continuously obtaining feedback information from the agent within a second continuous time period after the step of sending the first access request to the server, the method specifically further includes:
and if the feedback information from the intelligent agent is not acquired in the second continuous time period, re-acquiring the first instant position information of the mobile terminal and the plurality of position node vectors in the intelligent home system, and re-calculating the matching result.
Specifically, in this embodiment, if the feedback information from the agent is not received in the second continuous time period, it indicates that the access scheme preset by the mobile terminal is failed, or the multiple agents in the preset divided area cannot be accessed, or the mobile terminal cannot complete access to the multiple agents because the mobile terminal moves the location, so that the first instant location information of the mobile terminal needs to be re-acquired at this time, and the corresponding preset divided area needs to be re-acquired, thereby implementing access between the mobile terminal and the agent.
In some possible embodiments of the present invention, the verifying the validity of the second access request, and if the second access request is valid, the step of accessing the mobile terminal and the agent sending the second access request specifically includes:
acquiring a third authentication key node sent by the intelligent agent receiving the first access request, and extracting a fourth authentication key node in the second access request, wherein the third authentication key node and the fourth authentication key node are a second random authentication key pair generated by the intelligent agent after receiving the first access request, and the second random authentication key pair comprises the third authentication key node and the fourth authentication key node;
and verifying the legality of the third verification key node and the fourth verification key node, if the third verification key node is matched with the fourth verification key node, the second access request is legal, and the mobile terminal is accessed to the intelligent agent sending the second access request.
Specifically, in this embodiment, after receiving the first access request, the intelligent agent generates a third authentication key node and a fourth authentication key node, where the third authentication key node is sent to the mobile terminal, the fourth authentication key node is added to the second access request and sent to the mobile terminal, and the mobile terminal verifies the validity of the intelligent agent according to the third authentication key node and the fourth authentication key node, so as to avoid access of other intelligent agents.
In some possible embodiments of the present invention, the verifying the validity of the second access request, and if the second access request is valid, after the step of accessing the mobile terminal and the agent that sends the second access request, specifically includes:
continuously acquiring second instant position information of the mobile terminal in a third continuous time period, and extracting a second instant position vector of the second instant position information;
and acquiring a position matrix based on the first instant position and the second instant position, taking the second instant position vector as the input quantity of the position matrix, acquiring the offset of the first instant position and the second instant position, and if the offset exceeds a second preset offset range, acquiring the matching result again according to the second instant position information.
Specifically, in this embodiment, if the mobile terminal fails to acquire the second access request or the agent sending the corresponding request is illegal in the third continuous time period, the location information of the mobile terminal is acquired again, and then the corresponding preset partition area is reconfigured to match the agent again.
In some embodiments of the present invention, as shown in fig. 2, the present solution provides a generic computing architecture based on multi-agent, applied to a mobile terminal, including: the system comprises an identification module, an acquisition module and a verification module;
the identification module is used for continuously acquiring network signals in a first continuous time period, and generating a first access request after identifying the network signals of the intelligent home system;
the acquisition module is used for sending the first access request to a server of the intelligent home system and continuously acquiring a second access request from the intelligent agent;
the verification module is used for verifying the validity of the second access request, and if the second access request is legal, the mobile terminal is accessed to the intelligent agent sending the second access request.
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 the logic instructions in the memory 830 to perform a multi-agent based pervasive computing method of operation.
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 method 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 multi-agent-based pervasive computing operation method provided in the foregoing embodiments.
In still 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 multi-agent-based pervasive computing operation 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 can be implemented by software plus a necessary general hardware platform, and certainly can 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, and 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 (9)

1. A pervasive computing operation method based on multiple intelligent agents is applied to a mobile terminal, the mobile terminal is connected with an intelligent home system, and a plurality of intelligent agents which are in communication connection with each other are arranged in the intelligent home system, and the method comprises the following steps:
responding to a network signal of the intelligent home system, and acquiring first instant position information of the mobile terminal and a plurality of position node vectors in the intelligent home system, wherein the position node vectors point to preset division areas of the intelligent home system, and each preset division area is provided with at least one position node vector;
extracting a first instant position vector of the mobile terminal according to the first instant position information, matching the first instant position vector with the plurality of position node vectors, and obtaining a matching result;
generating a first access request according to the matching result, wherein the matching result at least comprises the preset division area pointed by the position node vector matched with the first instant position information;
sending the first access request to a server of the intelligent home system, and continuously acquiring a second access request from the intelligent agent;
and verifying the validity of the second access request, and if the second access request is legal, accessing the mobile terminal and the intelligent agent sending the second access request.
2. The multi-agent-based pervasive computing operating method as claimed in claim 1, wherein the step of extracting a first instantaneous location vector of the mobile terminal according to the first instantaneous location information, matching the first instantaneous location vector with a plurality of location node vectors, and obtaining a matching result specifically comprises:
obtaining an offset function of the first instant position information and each position node vector;
acquiring historical access information of the mobile terminal, and giving corresponding weight to each position node vector according to the historical access information;
performing weighted calculation on the offset function according to the weight of each position node vector to generate an offset weight function;
and acquiring the position node vector of which the matching value with the first instant position vector meets a first preset offset range according to the offset weight function, and taking the preset divided region pointed by the position node vector as the matching result.
3. The method of claim 1, wherein the step of sending the first access request to a server of the smart home system and continuously obtaining the second access request from the smart agent comprises:
generating a first random verification key pair for identifying the matching result based on the matching result;
generating a first authentication key node and a second authentication key node according to the first random authentication key pair, and adding the first authentication key node to the matching result, wherein the first authentication key node is used for identifying the agent receiving the first access request;
continuously acquiring feedback information from the agent within a second continuous time period after responding to the first access request sent to the server;
and verifying the validity of the feedback information according to the second verification key node, if the intelligent agent sending the feedback information has the first verification key node, judging that the feedback information is legal, and continuously receiving the second access request sent by the intelligent agent sending the feedback information.
4. The method as claimed in claim 3, wherein the step of continuously obtaining the feedback information from the agent for a second continuous period of time after the step of sending the first access request to the server further comprises:
and if the feedback information from the intelligent agent is not acquired in the second continuous time period, acquiring the first instant position information of the mobile terminal and a plurality of position node vectors in the intelligent home system again, and recalculating the matching result.
5. The multi-agent-based pervasive computing operation method as claimed in claim 3, wherein the step of verifying the validity of the second access request, and if the second access request is valid, the step of accessing the mobile terminal and the agent sending the second access request specifically includes:
acquiring a third authentication key node sent by the intelligent agent receiving the first access request, and extracting a fourth authentication key node in the second access request, wherein the third authentication key node and the fourth authentication key node are a second random authentication key pair generated by the intelligent agent after receiving the first access request, and the second random authentication key pair comprises the third authentication key node and the fourth authentication key node;
and verifying the legality of the third verification key node and the fourth verification key node, if the third verification key node is matched with the fourth verification key node, the second access request is legal, and the mobile terminal is accessed to the intelligent agent sending the second access request.
6. The method as claimed in claim 5, wherein the verifying the validity of the second access request, and if the second access request is valid, the step of accessing the mobile terminal and the agent sending the second access request after the step of accessing specifically includes:
continuously acquiring second instant position information of the mobile terminal in a third continuous time period, and extracting a second instant position vector of the second instant position information;
and acquiring a position matrix based on the first instant position and the second instant position, taking the second instant position vector as the input quantity of the position matrix, acquiring the offset of the first instant position and the second instant position, and if the offset exceeds a second preset offset range, acquiring the matching result again according to the second instant position information.
7. A pervasive computing architecture based on multi-agents, applied to a mobile terminal, comprising: the system comprises an identification module, an acquisition module and a verification module;
the identification module is used for responding to a network signal identifying an intelligent home system, and acquiring first instant position information of the mobile terminal and a plurality of position node vectors in the intelligent home system, wherein the position node vectors point to preset division areas of the intelligent home system, and each preset division area is provided with at least one position node vector; extracting a first instant position vector of the mobile terminal according to the first instant position information, matching the first instant position vector with a plurality of position node vectors, and obtaining a matching result; generating a first access request according to the matching result, wherein the matching result at least comprises the preset division area pointed by the position node vector matched with the first instant position information;
the acquisition module is used for sending the first access request to a server of the intelligent home system and continuously acquiring a second access request from the intelligent agent;
the verification module is used for verifying the validity of the second access request, and if the second access request is legal, the mobile terminal is accessed to the intelligent agent sending the second access request.
8. 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 instructions, is capable of performing the multi-agent based pervasive computing method of any of claims 1 to 6.
9. A non-transitory computer readable storage medium having stored thereon a computer program, wherein the computer program when executed by a processor implements the steps of the multi-agent based pervasive computing method of operation recited in any of claims 1 to 6.
CN202110450843.1A 2021-04-26 2021-04-26 Multi-agent-based pervasive computing operation method, framework, equipment and medium Active CN113098742B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110450843.1A CN113098742B (en) 2021-04-26 2021-04-26 Multi-agent-based pervasive computing operation method, framework, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110450843.1A CN113098742B (en) 2021-04-26 2021-04-26 Multi-agent-based pervasive computing operation method, framework, equipment and medium

Publications (2)

Publication Number Publication Date
CN113098742A CN113098742A (en) 2021-07-09
CN113098742B true CN113098742B (en) 2022-05-31

Family

ID=76680246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110450843.1A Active CN113098742B (en) 2021-04-26 2021-04-26 Multi-agent-based pervasive computing operation method, framework, equipment and medium

Country Status (1)

Country Link
CN (1) CN113098742B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105549944A (en) * 2015-12-11 2016-05-04 小米科技有限责任公司 Device display method and device
WO2016173189A1 (en) * 2015-04-29 2016-11-03 中兴通讯股份有限公司 Smart household control method, device and system
CN110308660A (en) * 2019-06-06 2019-10-08 美的集团股份有限公司 Smart machine control method and device
CN112087435A (en) * 2020-08-18 2020-12-15 上海京知信息科技有限公司 Hierarchical context cognitive decision method and device, electronic equipment and storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105429960A (en) * 2015-10-29 2016-03-23 东莞酷派软件技术有限公司 Method and device for intelligent household terminal authentication
CN111757421A (en) * 2020-06-09 2020-10-09 四川虹美智能科技有限公司 Method and device for intelligent equipment network distribution
CN112312515B (en) * 2020-11-26 2023-04-28 深圳市欧瑞博科技股份有限公司 Binding method and device of intelligent equipment, electronic equipment and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016173189A1 (en) * 2015-04-29 2016-11-03 中兴通讯股份有限公司 Smart household control method, device and system
CN105549944A (en) * 2015-12-11 2016-05-04 小米科技有限责任公司 Device display method and device
CN110308660A (en) * 2019-06-06 2019-10-08 美的集团股份有限公司 Smart machine control method and device
CN112087435A (en) * 2020-08-18 2020-12-15 上海京知信息科技有限公司 Hierarchical context cognitive decision method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN113098742A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
KR101133850B1 (en) Terminal and server in location service providing system and method thereof
US5642401A (en) System and method of authenticating a service request in a mobile communication system
US11096051B2 (en) Connection establishment method, device, and system
CN108156240B (en) Method and system for accessing industrial adapter to server
CN104618312B (en) A kind of remote login methods, devices and systems of M2M application
CN105338529B (en) Wireless network connection method and system
CN109756896A (en) A kind of information processing method, the network equipment and computer readable storage medium
US20200228981A1 (en) Authentication method and device
CN101491008A (en) Station, setting information managing device, wireless communication system, setting information obtaining method, computer-readable medium
US10064044B2 (en) Method and apparatus for determining roaming status of terminal, terminal, and server
CN113194012B (en) Multi-agent management method, device, equipment and storage medium based on Internet of things
CN106535148B (en) System and method for realizing simultaneous online of one card and multiple numbers of mobile terminal
RU2314551C2 (en) Mode of execution service of definition of the locality in a communication system
CN111385274A (en) Cross-network service calling method and device, feature gateway and identity verification system
CN105792166B (en) Neighbouring requesting method, neighbouring requests verification method, server and network entity
CN104348875A (en) Method, cloud server and system for performing pocket transmission of data
CN106453349A (en) An account number login method and apparatus
CN106255074B (en) A kind of group's method for building up and device
CN114707976A (en) Payment method, user terminal, device, equipment, system and medium
CN113098742B (en) Multi-agent-based pervasive computing operation method, framework, equipment and medium
CN112788738A (en) Code number processing method and device for public and private network convergence system
JP6503420B2 (en) Wireless communication terminal authentication control device, wireless communication terminal authentication control system, wireless communication terminal authentication control method, and program
CN109871220A (en) Electronic device login state update method and system
CN113194014B (en) Multi-agent data processing method, framework, equipment and medium based on Internet of things
CN113923112B (en) Equipment configuration method and equipment configuration device

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