CN114039952A - Intelligent gateway Internet of things control method and system applying block chain technology - Google Patents

Intelligent gateway Internet of things control method and system applying block chain technology Download PDF

Info

Publication number
CN114039952A
CN114039952A CN202111208489.8A CN202111208489A CN114039952A CN 114039952 A CN114039952 A CN 114039952A CN 202111208489 A CN202111208489 A CN 202111208489A CN 114039952 A CN114039952 A CN 114039952A
Authority
CN
China
Prior art keywords
instruction
instructions
preset
instruction type
human body
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.)
Granted
Application number
CN202111208489.8A
Other languages
Chinese (zh)
Other versions
CN114039952B (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.)
Guangzhou Lubangtong IoT Co Ltd
Original Assignee
Guangzhou Lubangtong IoT 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 Guangzhou Lubangtong IoT Co Ltd filed Critical Guangzhou Lubangtong IoT Co Ltd
Priority to CN202111208489.8A priority Critical patent/CN114039952B/en
Publication of CN114039952A publication Critical patent/CN114039952A/en
Application granted granted Critical
Publication of CN114039952B publication Critical patent/CN114039952B/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
    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/31User authentication
    • G06F21/32User authentication using biometric data, e.g. fingerprints, iris scans or voiceprints
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y20/00Information sensed or collected by the things
    • G16Y20/40Information sensed or collected by the things relating to personal data, e.g. biometric data, records or preferences
    • 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/10Detection; Monitoring
    • 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/20Analytics; Diagnosis
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04QSELECTING
    • H04Q9/00Arrangements in telecontrol or telemetry systems for selectively calling a substation from a main station, in which substation desired apparatus is selected for applying a control signal thereto or for obtaining measured values therefrom

Landscapes

  • Engineering & Computer Science (AREA)
  • Computing Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Biomedical Technology (AREA)
  • Medical Informatics (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides an intelligent gateway Internet of things control method and system applying a block chain technology, wherein the method comprises the following steps: step 1: acquiring a plurality of first instructions input by a user; step 2: screening out effective second instructions from the first instructions; and step 3: forwarding the second instruction to an intelligent gateway corresponding to the user, generating a corresponding forwarding record at the same time, and uploading the forwarding record to a preset block chain; and 4, step 4: and correspondingly controlling the equipment of the Internet of things based on the intelligent gateway. According to the intelligent gateway Internet of things control method and system applying the block chain technology, the screened second instruction is directly forwarded to the intelligent gateway corresponding to the user, and the intelligent gateway correspondingly controls the Internet of things equipment in the home of the user, so that the workload of an Internet of things cloud platform is reduced, and the operation and maintenance cost of the Internet of things cloud platform is reduced.

Description

Intelligent gateway Internet of things control method and system applying block chain technology
Technical Field
The invention relates to the technical field of Internet of things control, in particular to an intelligent gateway Internet of things control method and system applying a block chain technology.
Background
At present, the internet of things technology receives control information input by a user through an internet of things cloud platform, and the internet of things cloud platform correspondingly controls internet of things equipment based on the control information, but with the increase of the number of users, the workload of the internet of things cloud platform is increased, and the operation and maintenance cost is also increased;
thus, a solution is continued.
Disclosure of Invention
One of the purposes of the invention is to provide an intelligent gateway internet of things control method and system applying a block chain technology, wherein the screened second instruction is directly forwarded to an intelligent gateway corresponding to a user, and the intelligent gateway correspondingly controls internet of things equipment in the home of the user, so that the work load of an internet of things cloud platform is reduced, and the operation and maintenance cost of the internet of things cloud platform is reduced.
The embodiment of the invention provides an intelligent gateway Internet of things control method applying a block chain technology, which comprises the following steps:
step 1: acquiring a plurality of first instructions input by a user;
step 2: screening out effective second instructions from the first instructions;
and step 3: forwarding the second instruction to an intelligent gateway corresponding to the user, generating a corresponding forwarding record at the same time, and uploading the forwarding record to a preset block chain;
and 4, step 4: and correspondingly controlling the equipment of the Internet of things based on the intelligent gateway.
Preferably, step 1: acquiring a plurality of first instructions input by a user, wherein the first instructions comprise:
when a user inputs an initial instruction based on an intelligent terminal, three-dimensional scanning is carried out on the current environment of the intelligent terminal to obtain three-dimensional environment information;
constructing a three-dimensional coordinate system according to the three-dimensional environment information based on a preset construction rule;
when the number of first human body outlines in the three-dimensional coordinate system is 1, trying to determine a first identity corresponding to the first human body outline based on a preset outline-identity library;
if the determination is successful, taking the corresponding initial instruction as a first instruction, and acquiring;
when the number of the first human body contours in the three-dimensional coordinate system is larger than 1, determining the first human body contours which are characterized by being held by the intelligent terminal on the basis of a contour recognition technology, and using the first human body contours as second human body contours, and using the rest first human body contours as third human body contours;
attempting to determine a second identity corresponding to the second human body contour based on the contour-identity library;
if the determination is successful, taking the corresponding initial instruction as a first instruction, and acquiring;
otherwise, based on the contour-identity library, trying to determine a second identity corresponding to the third human body contour;
if the determination is successful, taking the corresponding third human body contour as a fourth human body contour;
determining a first orientation representing a face on the fourth human body contour in the three-dimensional coordinate system based on contour recognition technology, and simultaneously determining a second orientation representing a display screen of the intelligent terminal in the three-dimensional coordinate system;
acquiring a first position of the face and a second position of the display screen in the three-dimensional coordinate system;
if the first orientation and the second orientation meet preset direction visual conditions and the first position and the second position meet preset position visual conditions, taking the corresponding initial instruction as a first instruction and obtaining the first instruction;
the direction visual condition includes: an included angle between a first vector representing the first orientation and a second vector representing the second orientation in the three-dimensional coordinate system is within a preset included angle interval;
the position visible condition includes: and the distance between the first position and the second position is less than or equal to a preset distance threshold, and no sight line obstruction exists on a connecting line connecting the first position and the second position in the three-dimensional coordinate system.
Preferably, step 2: screening out effective second instructions from the first instructions, wherein the effective second instructions comprise:
when the number of the first instructions is 1, taking the first instructions as the second instructions to complete screening;
when the number of the first instructions is larger than 1, analyzing the first instructions to obtain a first instruction type;
inquiring a preset user-instruction type-preference value library, and determining a first preference value corresponding to the user and the first instruction type;
if the first preference value is greater than or equal to a preset preference value threshold, taking the corresponding first instruction as the second instruction to complete one-time screening, and taking the rest first instructions as third instructions;
determining the first instruction type corresponding to the third instruction, and using the first instruction type as a second instruction type;
inquiring a preset instruction type-verification policy library, and determining at least one verification policy corresponding to the second instruction type;
executing the verification policy;
after the execution is finished, when the verification fails, the third instruction corresponding to the second instruction type is removed;
if the first instruction type and the second instruction type pass the verification, taking the corresponding second instruction type as a third instruction type;
determining the first preference value corresponding to the third instruction type, and taking the first preference value as a second preference value;
selecting the third instruction type corresponding to the maximum second preference value as a first target, and taking the rest of the third instruction types as second targets;
randomly combining the first target and the second target to obtain a plurality of instruction type combination pairs;
determining whether the instruction type combination pair conflicts or not based on a preset conflict instruction type combination pair library;
and if so, rejecting the third instruction corresponding to the second target in the instruction combination pair, and taking the third instruction corresponding to the first target and the remaining third instructions corresponding to the second targets as the second instructions after rejection is finished.
Preferably, step 3: forwarding the second instruction to an intelligent gateway corresponding to the user, generating a corresponding forwarding record, and uploading the forwarding record to a preset block chain, wherein the forwarding record comprises:
inquiring a preset user-intelligent gateway node library to determine an intelligent gateway node corresponding to the user;
forwarding the second instruction to the intelligent gateway node;
acquiring a current time node, and combining the current time node, the second instruction and the intelligent gateway node to acquire a forwarding record;
inquiring a preset user-block chain link point library, and determining a block chain link point corresponding to the user;
and sending the forwarding record to the block chain node to finish uploading.
Preferably, step 4: based on intelligent gateway carries out corresponding control to thing networking device, include:
analyzing the second instruction, and determining to acquire a fourth instruction type;
inquiring a preset instruction type-control node library, and determining a control node corresponding to the fourth instruction type;
and sending the second instruction to the corresponding control node.
The embodiment of the invention provides an intelligent gateway Internet of things control system applying a block chain technology, which comprises:
the acquisition module is used for acquiring a plurality of first instructions input by a user;
the screening module is used for screening out effective second instructions from the first instructions;
the forwarding module is used for forwarding the second instruction to the intelligent gateway corresponding to the user, generating a corresponding forwarding record and uploading the forwarding record to a preset block chain;
and the control module is used for correspondingly controlling the equipment of the Internet of things based on the intelligent gateway.
Preferably, the obtaining module performs the following operations:
when a user inputs an initial instruction based on an intelligent terminal, three-dimensional scanning is carried out on the current environment of the intelligent terminal to obtain three-dimensional environment information;
constructing a three-dimensional coordinate system according to the three-dimensional environment information based on a preset construction rule;
when the number of first human body outlines in the three-dimensional coordinate system is 1, trying to determine a first identity corresponding to the first human body outline based on a preset outline-identity library;
if the determination is successful, taking the corresponding initial instruction as a first instruction, and acquiring;
when the number of the first human body contours in the three-dimensional coordinate system is larger than 1, determining the first human body contours which are characterized by being held by the intelligent terminal on the basis of a contour recognition technology, and using the first human body contours as second human body contours, and using the rest first human body contours as third human body contours;
attempting to determine a second identity corresponding to the second human body contour based on the contour-identity library;
if the determination is successful, taking the corresponding initial instruction as a first instruction, and acquiring;
otherwise, based on the contour-identity library, trying to determine a second identity corresponding to the third human body contour;
if the determination is successful, taking the corresponding third human body contour as a fourth human body contour;
determining a first orientation representing a face on the fourth human body contour in the three-dimensional coordinate system based on contour recognition technology, and simultaneously determining a second orientation representing a display screen of the intelligent terminal in the three-dimensional coordinate system;
acquiring a first position of the face and a second position of the display screen in the three-dimensional coordinate system;
if the first orientation and the second orientation meet preset direction visual conditions and the first position and the second position meet preset position visual conditions, taking the corresponding initial instruction as a first instruction and obtaining the first instruction;
the direction visual condition includes: an included angle between a first vector representing the first orientation and a second vector representing the second orientation in the three-dimensional coordinate system is within a preset included angle interval;
the position visible condition includes: and the distance between the first position and the second position is less than or equal to a preset distance threshold, and no sight line obstruction exists on a connecting line connecting the first position and the second position in the three-dimensional coordinate system.
Preferably, the screening module performs the following operations:
when the number of the first instructions is 1, taking the first instructions as the second instructions to complete screening;
when the number of the first instructions is larger than 1, analyzing the first instructions to obtain a first instruction type;
inquiring a preset user-instruction type-preference value library, and determining a first preference value corresponding to the user and the first instruction type;
if the first preference value is greater than or equal to a preset preference value threshold, taking the corresponding first instruction as the second instruction to complete one-time screening, and taking the rest first instructions as third instructions;
determining the first instruction type corresponding to the third instruction, and using the first instruction type as a second instruction type;
inquiring a preset instruction type-verification policy library, and determining at least one verification policy corresponding to the second instruction type;
executing the verification policy;
after the execution is finished, when the verification fails, the third instruction corresponding to the second instruction type is removed;
if the first instruction type and the second instruction type pass the verification, taking the corresponding second instruction type as a third instruction type;
determining the first preference value corresponding to the third instruction type, and taking the first preference value as a second preference value;
selecting the third instruction type corresponding to the maximum second preference value as a first target, and taking the rest of the third instruction types as second targets;
randomly combining the first target and the second target to obtain a plurality of instruction type combination pairs;
determining whether the instruction type combination pair conflicts or not based on a preset conflict instruction type combination pair library;
and if so, rejecting the third instruction corresponding to the second target in the instruction combination pair, and taking the third instruction corresponding to the first target and the remaining third instructions corresponding to the second targets as the second instructions after rejection is finished.
Preferably, the forwarding module performs the following operations:
inquiring a preset user-intelligent gateway node library to determine an intelligent gateway node corresponding to the user;
forwarding the second instruction to the intelligent gateway node;
acquiring a current time node, and combining the current time node, the second instruction and the intelligent gateway node to acquire a forwarding record;
inquiring a preset user-block chain link point library, and determining a block chain link point corresponding to the user;
and sending the forwarding record to the block chain node to finish uploading.
Preferably, the control module performs the following operations:
analyzing the second instruction, and determining to acquire a fourth instruction type;
inquiring a preset instruction type-control node library, and determining a control node corresponding to the fourth instruction type;
and sending the second instruction to the corresponding control node.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
fig. 1 is a flowchart of an intelligent gateway internet of things control method using a block chain technology in an embodiment of the present invention;
fig. 2 is a flowchart of another control method for an internet of things of an intelligent gateway using a block chain technology in an embodiment of the present invention;
fig. 3 is a schematic diagram of an intelligent gateway internet of things control system applying a block chain technology in an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
The embodiment of the invention provides an intelligent gateway internet of things control method applying a block chain technology, as shown in fig. 1, comprising the following steps:
step 1: acquiring a plurality of first instructions input by a user;
step 2: screening out effective second instructions from the first instructions;
and step 3: forwarding the second instruction to an intelligent gateway corresponding to the user, generating a corresponding forwarding record at the same time, and uploading the forwarding record to a preset block chain;
and 4, step 4: and correspondingly controlling the equipment of the Internet of things based on the intelligent gateway.
The working principle and the beneficial effects of the technical scheme are as follows:
acquiring a plurality of first instructions input by a user (for example, a sweeping robot starts sweeping, a hot water kettle starts boiling water, and the like); screening out effective second instructions from the first instructions (for example, some first instructions are input by children by mistake, belong to invalid instructions and are to be removed); the intelligent gateways connected with the internet of things devices are arranged in the homes of the users and can directly control the internet of things devices, so that the screened second instructions are directly forwarded to the intelligent gateways corresponding to the users, forwarding records (corresponding to the control records of the internet of things devices corresponding to the users) are generated, and the forwarding records are uploaded to a preset block chain, so that the control records can be conveniently traced and inquired in the later period;
the embodiment of the invention directly forwards the screened second instruction to the intelligent gateway corresponding to the user, and the intelligent gateway correspondingly controls the Internet of things equipment in the home of the user, so that the workload of the Internet of things cloud platform is reduced, and the operation and maintenance cost of the Internet of things cloud platform is reduced.
The embodiment of the invention provides an intelligent gateway Internet of things control method applying a block chain technology, which comprises the following steps of 1: acquiring a plurality of first instructions input by a user, wherein the first instructions comprise:
when a user inputs an initial instruction based on an intelligent terminal, three-dimensional scanning is carried out on the current environment of the intelligent terminal to obtain three-dimensional environment information;
constructing a three-dimensional coordinate system according to the three-dimensional environment information based on a preset construction rule;
when the number of first human body outlines in the three-dimensional coordinate system is 1, trying to determine a first identity corresponding to the first human body outline based on a preset outline-identity library;
if the determination is successful, taking the corresponding initial instruction as a first instruction, and acquiring;
when the number of the first human body contours in the three-dimensional coordinate system is larger than 1, determining the first human body contours which are characterized by being held by the intelligent terminal on the basis of a contour recognition technology, and using the first human body contours as second human body contours, and using the rest first human body contours as third human body contours;
attempting to determine a second identity corresponding to the second human body contour based on the contour-identity library;
if the determination is successful, taking the corresponding initial instruction as a first instruction, and acquiring;
otherwise, based on the contour-identity library, trying to determine a second identity corresponding to the third human body contour;
if the determination is successful, taking the corresponding third human body contour as a fourth human body contour;
determining a first orientation representing a face on the fourth human body contour in the three-dimensional coordinate system based on contour recognition technology, and simultaneously determining a second orientation representing a display screen of the intelligent terminal in the three-dimensional coordinate system;
acquiring a first position of the face and a second position of the display screen in the three-dimensional coordinate system;
if the first orientation and the second orientation meet preset direction visual conditions and the first position and the second position meet preset position visual conditions, taking the corresponding initial instruction as a first instruction and obtaining the first instruction;
the direction visual condition includes: an included angle between a first vector representing the first orientation and a second vector representing the second orientation in the three-dimensional coordinate system is within a preset included angle interval;
the position visible condition includes: and the distance between the first position and the second position is less than or equal to a preset distance threshold, and no sight line obstruction exists on a connecting line connecting the first position and the second position in the three-dimensional coordinate system.
The working principle and the beneficial effects of the technical scheme are as follows:
the preset construction rule is specifically as follows: establishing a three-dimensional coordinate system by taking the central position of the intelligent terminal as an origin, extracting the position relation between a position point on each contour (a human body contour and an object contour) and the origin in the three-dimensional environment information, representing each contour in the three-dimensional coordinate system based on the position relation, and completing the construction after the representation is completed; the preset profile-identity library specifically comprises: the database containing the identities corresponding to different profiles allows the user to enter in advance; the preset included angle interval is specifically as follows: for example, [100 °, 170 ° ]; the preset distance threshold specifically comprises: for example, 45 centimeters;
when a user inputs an initial instruction based on an intelligent terminal (such as a tablet computer) and the like, three-dimensional scanning is carried out on the current environment of the intelligent terminal through a millimeter wave radar sensor arranged in the intelligent terminal to obtain three-dimensional environment information; constructing a three-dimensional coordinate system based on the three-dimensional environment information; if only 1 first human body contour exists in the three-dimensional coordinate system, the fact that only one person inputs an initial instruction is shown, whether the contour of the first human body contour corresponds to an identity is verified, if yes, the initial instruction is effective and serves as a second instruction; if the three-dimensional coordinate system has more than 1 first human body contour, which indicates that a plurality of people are present, determining a second human body contour of the handheld intelligent terminal, it is the profile corresponding to the person who inputs the initial instruction, and verifies whether the second human body profile has the corresponding identity, if yes, the initial instruction is valid, if no, the authority of inputting the instruction is not provided, however, whether other authorized persons input instructions to the person corresponding to the second human body outline is checked is determined, if yes, the initial instruction is also effective, therefore, a first orientation of the fourth human body contour face part and a second orientation of the display screen are determined, a first position of the face part and a second position of the display screen are determined, and if the first orientation and the second orientation meet a direction visual condition (namely the face part faces the screen), and the first position and the second position meet a position visual condition (the distance is less than the visual distance, and no shielding exists on the visual line), the initial instruction is effective; for example: parents worry about that the children use the intelligent terminal for misoperation without inputting fingerprints of the children, but the parents can guide the children to use the intelligent terminal for operation on one side, and input instructions are effective;
according to the invention, when the first instruction is obtained, the initial instruction input by a person without authority is removed from the initial instruction as the first instruction, but the special condition that parents accompany children to input the initial instruction is also considered, the input initial instruction is also effective under the condition, the initial instruction can be accurately identified, the method is more humanized, the user experience is improved, and meanwhile, the parents do not need to input the profile information of the children, so that the children are effectively prevented from independently carrying out misoperation.
The embodiment of the invention provides an intelligent gateway Internet of things control method applying a block chain technology, and the method comprises the following steps of: screening out effective second instructions from the first instructions, wherein the effective second instructions comprise:
when the number of the first instructions is 1, taking the first instructions as the second instructions to complete screening;
when the number of the first instructions is larger than 1, analyzing the first instructions to obtain a first instruction type;
inquiring a preset user-instruction type-preference value library, and determining a first preference value corresponding to the user and the first instruction type;
if the first preference value is greater than or equal to a preset preference value threshold, taking the corresponding first instruction as the second instruction to complete one-time screening, and taking the rest first instructions as third instructions;
determining the first instruction type corresponding to the third instruction, and using the first instruction type as a second instruction type;
inquiring a preset instruction type-verification policy library, and determining at least one verification policy corresponding to the second instruction type;
executing the verification policy;
after the execution is finished, when the verification fails, the third instruction corresponding to the second instruction type is removed;
if the first instruction type and the second instruction type pass the verification, taking the corresponding second instruction type as a third instruction type;
determining the first preference value corresponding to the third instruction type, and taking the first preference value as a second preference value;
selecting the third instruction type corresponding to the maximum second preference value as a first target, and taking the rest of the third instruction types as second targets;
randomly combining the first target and the second target to obtain a plurality of instruction type combination pairs;
determining whether the instruction type combination pair conflicts or not based on a preset conflict instruction type combination pair library;
and if so, rejecting the third instruction corresponding to the second target in the instruction combination pair, and taking the third instruction corresponding to the first target and the remaining third instructions corresponding to the second targets as the second instructions after rejection is finished.
The working principle and the beneficial effects of the technical scheme are as follows:
the preset user-instruction type-preference value library specifically comprises: the preference values corresponding to different users and different instruction types are contained, and the greater the preference value is, the more the user tends to the corresponding instruction type; the preset preference threshold specifically includes: for example, 85; the preset instruction type-verification strategy library specifically comprises the following steps: a database containing verification policies corresponding to different instruction types, for example: the command type is that the air conditioner is adjusted to be refrigerated, and the verification strategy is as follows: 1. verifying whether the indoor temperature is proper 2 and verifying whether the outdoor temperature is too high; the preset conflict instruction type combination pair library specifically comprises: contains a large number of combinations of conflicting instruction types, such as: the instruction type A is that the intelligent sound randomly plays light music, the instruction type B is that the intelligent television plays terror, and the instruction type A and the instruction type B conflict;
when the number of the first instructions is only 1, the fact that the user only wants to control the certain Internet of things device independently is shown, and the first instructions are effective and serve as second instructions; when the number of the first instructions is not only 1, acquiring a preference value corresponding to the first instruction type of the first instructions, and when the preference value is greater than a preference value threshold value, indicating that the preference corresponds to the first instructions, corresponding control needs to be performed, and the first instructions belong to effective instructions; the rest third instructions belong to the instructions which are not preferred by the user, and whether the instructions are suitable or not and whether the instructions conflict or not can be verified to perform corresponding elimination; thus, a verification policy corresponding to the second instruction type of the third instruction is determined, for example: the second instruction type is that the sweeper starts sweeping, the verification strategy is to determine whether the time interval between last sweeping and current time of the sweeper is larger than a certain time (the time interval is too short and frequent sweeping is not needed), if yes, the verification is passed, and if not, the corresponding third instruction is directly removed; screening out a first target, wherein the first target is a control type of relative comparison tendency (the second preference value is maximum) of users in the rest instructions, and the rest instruction types are used as second targets; randomly combining the first target and the second target, determining whether the second target conflicts with the first target, if so, rejecting the corresponding second target, and ensuring that the control type of the relative comparative tendency of the user can be executed;
the embodiment of the invention screens the effective second instruction from the first instruction, ensures that the preferred instruction of the user can be executed, is very humanized, eliminates the instruction which does not pass the execution verification strategy, prevents the user from inputting by mistake or inputting according to the actual use condition, is more intelligent, and simultaneously eliminates the conflicting instruction, thereby ensuring that the best experience can be given to the user when the Internet of things equipment is used.
The embodiment of the invention provides an intelligent gateway Internet of things control method applying a block chain technology, which further comprises the following steps:
expanding the conflict instruction type combination library;
acquiring a preset expansion node set, wherein the expansion node set comprises: a plurality of first expansion nodes;
obtaining the credibility of at least one expansion source corresponding to the first expansion node;
acquiring a first guarantee value for guaranteeing the extended source by the first extended node;
acquiring a second guarantee value of the extended source guaranteed by other extended sources;
based on the credibility, the first insurance value and the second insurance value, calculating the ranking index of the first expansion node, wherein the calculation formula is as follows:
Figure BDA0003307849090000121
where σ is the ranking index, αiThe credibility of the ith expansion source corresponding to the first expansion node, l is the total number of the expansion sources corresponding to the first expansion node, and betaiA first underwriting value, γ, for the first augmented node to underwritten the ith augmented sourcei,tThe ith expansion source corresponding to the first expansion node is replaced by other second expansion nodest second underwriting values for the extended sources, diTotal number of other extended sources mu for vouching for the ith extended source corresponding to the first extended node1And mu2The weight value is a preset weight value;
sequencing the first expansion nodes from large to small based on the corresponding sequencing indexes to obtain an expansion node sequence;
selecting the first n expansion nodes in the expansion node sequence as second expansion nodes;
acquiring expansion data through the second expansion node;
and storing the expansion data into the conflict instruction type combination pair library to complete expansion.
The working principle and the beneficial effects of the technical scheme are as follows:
the preset expansion node set specifically comprises: the system comprises a set comprising a plurality of expansion nodes, wherein each expansion node corresponds to an organization (such as an experiment investigation website); different experiment users can log in an experiment investigation website to carry out experiment investigation of the combination of the conflict instruction types; the data sources corresponding to the first expansion node are different experimental users; the acquisition credibility can be determined based on whether the user issues false data or not; the first acquisition node needs to guarantee the user, the user can pay a guarantee fund to the first acquisition node privately, and the greater the first guarantee value is, the greater the guarantee degree of the first acquisition node on a data source is; mutual security can also be carried out among different experimental users, such as: a plurality of experimental users in one experimental group mutually guarantee, and the greater the second guarantee value is, the greater the guarantee degree among the experimental users is; n can be set by a user;
and calculating a sorting index based on the credibility, the first guarantee value and the second guarantee value, and quickly selecting a second expansion node meeting the requirement, so that the working efficiency of the system is improved, the obtained safety is ensured, and the accuracy of the obtained data is improved.
The embodiment of the invention provides an intelligent gateway internet of things control method applying a block chain technology, as shown in fig. 2, step 3: forwarding the second instruction to an intelligent gateway corresponding to the user, generating a corresponding forwarding record, and uploading the forwarding record to a preset block chain, wherein the forwarding record comprises:
step 301: inquiring a preset user-intelligent gateway node library to determine an intelligent gateway node corresponding to the user;
step 302: forwarding the second instruction to the intelligent gateway node;
step 303: acquiring a current time node, and combining the current time node, the second instruction and the intelligent gateway node to acquire a forwarding record;
step 304: inquiring a preset user-block chain link point library, and determining a block chain link point corresponding to the user;
step 305: and sending the forwarding record to the block chain node to finish uploading.
The working principle and the beneficial effects of the technical scheme are as follows:
the preset user-intelligent gateway node library specifically comprises the following steps: a database containing intelligent gateway nodes (data transmission nodes) corresponding to different users, through which data can be transmitted to the intelligent gateway; the preset user-block chain node library specifically comprises the following steps: a database containing block link points (storage nodes in a block chain, through which data can be directly stored) corresponding to different users;
the embodiment of the invention forwards the second instruction to the intelligent gateway node corresponding to the user, and directly sends the forwarding record to the block link point corresponding to the user, thereby improving the working efficiency of the system.
The embodiment of the invention provides an intelligent gateway Internet of things control method applying a block chain technology, and the method comprises the following steps: based on intelligent gateway carries out corresponding control to thing networking device, include:
analyzing the second instruction, and determining to acquire a fourth instruction type;
inquiring a preset instruction type-control node library, and determining a control node corresponding to the fourth instruction type;
and sending the second instruction to the corresponding control node.
The working principle and the beneficial effects of the technical scheme are as follows:
the preset instruction type-control node library is specifically as follows: a database containing control nodes corresponding to different instruction types; the control nodes correspond to different Internet of things devices one to one, and the control over the corresponding Internet of things devices can be achieved by sending the second instructions to the control nodes.
The embodiment of the invention provides an intelligent gateway internet of things control system applying a block chain technology, as shown in fig. 3, comprising:
the system comprises an acquisition module 1, a processing module and a display module, wherein the acquisition module is used for acquiring a plurality of first instructions input by a user;
the screening module 2 is used for screening out effective second instructions from the first instructions;
the forwarding module 3 is configured to forward the second instruction to an intelligent gateway corresponding to the user, generate a corresponding forwarding record, and upload the forwarding record to a preset block chain;
and the control module 4 is used for correspondingly controlling the Internet of things equipment based on the intelligent gateway.
The working principle and the beneficial effects of the technical scheme are as follows:
acquiring a plurality of first instructions input by a user (for example, a sweeping robot starts sweeping, a hot water kettle starts boiling water, and the like); screening out effective second instructions from the first instructions (for example, some first instructions are input by children by mistake, belong to invalid instructions and are to be removed); the intelligent gateways connected with the internet of things devices are arranged in the homes of the users and can directly control the internet of things devices, so that the screened second instructions are directly forwarded to the intelligent gateways corresponding to the users, forwarding records (corresponding to the control records of the internet of things devices corresponding to the users) are generated, and the forwarding records are uploaded to a preset block chain, so that the control records can be conveniently traced and inquired in the later period;
the embodiment of the invention directly forwards the screened second instruction to the intelligent gateway corresponding to the user, and the intelligent gateway correspondingly controls the Internet of things equipment in the home of the user, so that the workload of the Internet of things cloud platform is reduced, and the operation and maintenance cost of the Internet of things cloud platform is reduced.
The embodiment of the invention provides an intelligent gateway internet of things control system applying a block chain technology, wherein an acquisition module 1 executes the following operations:
when a user inputs an initial instruction based on an intelligent terminal, three-dimensional scanning is carried out on the current environment of the intelligent terminal to obtain three-dimensional environment information;
constructing a three-dimensional coordinate system according to the three-dimensional environment information based on a preset construction rule;
when the number of first human body outlines in the three-dimensional coordinate system is 1, trying to determine a first identity corresponding to the first human body outline based on a preset outline-identity library;
if the determination is successful, taking the corresponding initial instruction as a first instruction, and acquiring;
when the number of the first human body contours in the three-dimensional coordinate system is larger than 1, determining the first human body contours which are characterized by being held by the intelligent terminal on the basis of a contour recognition technology, and using the first human body contours as second human body contours, and using the rest first human body contours as third human body contours;
attempting to determine a second identity corresponding to the second human body contour based on the contour-identity library;
if the determination is successful, taking the corresponding initial instruction as a first instruction, and acquiring;
otherwise, based on the contour-identity library, trying to determine a second identity corresponding to the third human body contour;
if the determination is successful, taking the corresponding third human body contour as a fourth human body contour;
determining a first orientation representing a face on the fourth human body contour in the three-dimensional coordinate system based on contour recognition technology, and simultaneously determining a second orientation representing a display screen of the intelligent terminal in the three-dimensional coordinate system;
acquiring a first position of the face and a second position of the display screen in the three-dimensional coordinate system;
if the first orientation and the second orientation meet preset direction visual conditions and the first position and the second position meet preset position visual conditions, taking the corresponding initial instruction as a first instruction and obtaining the first instruction;
the direction visual condition includes: an included angle between a first vector representing the first orientation and a second vector representing the second orientation in the three-dimensional coordinate system is within a preset included angle interval;
the position visible condition includes: and the distance between the first position and the second position is less than or equal to a preset distance threshold, and no sight line obstruction exists on a connecting line connecting the first position and the second position in the three-dimensional coordinate system.
The working principle and the beneficial effects of the technical scheme are as follows:
the preset construction rule is specifically as follows: establishing a three-dimensional coordinate system by taking the central position of the intelligent terminal as an origin, extracting the position relation between a position point on each contour (a human body contour and an object contour) and the origin in the three-dimensional environment information, representing each contour in the three-dimensional coordinate system based on the position relation, and completing the construction after the representation is completed; the preset profile-identity library specifically comprises: the database containing the identities corresponding to different profiles allows the user to enter in advance; the preset included angle interval is specifically as follows: for example, [100 °, 170 ° ]; the preset distance threshold specifically comprises: for example, 45 centimeters;
when a user inputs an initial instruction based on an intelligent terminal (such as a tablet computer) and the like, three-dimensional scanning is carried out on the current environment of the intelligent terminal through a millimeter wave radar sensor arranged in the intelligent terminal to obtain three-dimensional environment information; constructing a three-dimensional coordinate system based on the three-dimensional environment information; if only 1 first human body contour exists in the three-dimensional coordinate system, the fact that only one person inputs an initial instruction is shown, whether the contour of the first human body contour corresponds to an identity is verified, if yes, the initial instruction is effective and serves as a second instruction; if the three-dimensional coordinate system has more than 1 first human body contour, which indicates that a plurality of people are present, determining a second human body contour of the handheld intelligent terminal, it is the profile corresponding to the person who inputs the initial instruction, and verifies whether the second human body profile has the corresponding identity, if yes, the initial instruction is valid, if no, the authority of inputting the instruction is not provided, however, whether other authorized persons input instructions to the person corresponding to the second human body outline is checked is determined, if yes, the initial instruction is also effective, therefore, a first orientation of the fourth human body contour face part and a second orientation of the display screen are determined, a first position of the face part and a second position of the display screen are determined, and if the first orientation and the second orientation meet a direction visual condition (namely the face part faces the screen), and the first position and the second position meet a position visual condition (the distance is less than the visual distance, and no shielding exists on the visual line), the initial instruction is effective; for example: parents worry about that the children use the intelligent terminal for misoperation without inputting fingerprints of the children, but the parents can guide the children to use the intelligent terminal for operation on one side, and input instructions are effective;
according to the invention, when the first instruction is obtained, the initial instruction input by a person without authority is removed from the initial instruction as the first instruction, but the special condition that parents accompany children to input the initial instruction is also considered, the input initial instruction is also effective under the condition, the initial instruction can be accurately identified, the method is more humanized, the user experience is improved, and meanwhile, the parents do not need to input the profile information of the children, so that the children are effectively prevented from independently carrying out misoperation.
The embodiment of the invention provides an intelligent gateway Internet of things control system applying a block chain technology, wherein a screening module 2 executes the following operations:
when the number of the first instructions is 1, taking the first instructions as the second instructions to complete screening;
when the number of the first instructions is larger than 1, analyzing the first instructions to obtain a first instruction type;
inquiring a preset user-instruction type-preference value library, and determining a first preference value corresponding to the user and the first instruction type;
if the first preference value is greater than or equal to a preset preference value threshold, taking the corresponding first instruction as the second instruction to complete one-time screening, and taking the rest first instructions as third instructions;
determining the first instruction type corresponding to the third instruction, and using the first instruction type as a second instruction type;
inquiring a preset instruction type-verification policy library, and determining at least one verification policy corresponding to the second instruction type;
executing the verification policy;
after the execution is finished, when the verification fails, the third instruction corresponding to the second instruction type is removed;
if the first instruction type and the second instruction type pass the verification, taking the corresponding second instruction type as a third instruction type;
determining the first preference value corresponding to the third instruction type, and taking the first preference value as a second preference value;
selecting the third instruction type corresponding to the maximum second preference value as a first target, and taking the rest of the third instruction types as second targets;
randomly combining the first target and the second target to obtain a plurality of instruction type combination pairs;
determining whether the instruction type combination pair conflicts or not based on a preset conflict instruction type combination pair library;
and if so, rejecting the third instruction corresponding to the second target in the instruction combination pair, and taking the third instruction corresponding to the first target and the remaining third instructions corresponding to the second targets as the second instructions after rejection is finished.
The working principle and the beneficial effects of the technical scheme are as follows:
the preset user-instruction type-preference value library specifically comprises: the preference values corresponding to different users and different instruction types are contained, and the greater the preference value is, the more the user tends to the corresponding instruction type; the preset preference threshold specifically includes: for example, 85; the preset instruction type-verification strategy library specifically comprises the following steps: a database containing verification policies corresponding to different instruction types, for example: the command type is that the air conditioner is adjusted to be refrigerated, and the verification strategy is as follows: 1. verifying whether the indoor temperature is proper 2 and verifying whether the outdoor temperature is too high; the preset conflict instruction type combination pair library specifically comprises: contains a large number of combinations of conflicting instruction types, such as: the instruction type A is that the intelligent sound randomly plays light music, the instruction type B is that the intelligent television plays terror, and the instruction type A and the instruction type B conflict;
when the number of the first instructions is only 1, the fact that the user only wants to control the certain Internet of things device independently is shown, and the first instructions are effective and serve as second instructions; when the number of the first instructions is not only 1, acquiring a preference value corresponding to the first instruction type of the first instructions, and when the preference value is greater than a preference value threshold value, indicating that the preference corresponds to the first instructions, corresponding control needs to be performed, and the first instructions belong to effective instructions; the rest third instructions belong to the instructions which are not preferred by the user, and whether the instructions are suitable or not and whether the instructions conflict or not can be verified to perform corresponding elimination; thus, a verification policy corresponding to the second instruction type of the third instruction is determined, for example: the second instruction type is that the sweeper starts sweeping, the verification strategy is to determine whether the time interval between last sweeping and current time of the sweeper is larger than a certain time (the time interval is too short and frequent sweeping is not needed), if yes, the verification is passed, and if not, the corresponding third instruction is directly removed; screening out a first target, wherein the first target is a control type of relative comparison tendency (the second preference value is maximum) of users in the rest instructions, and the rest instruction types are used as second targets; randomly combining the first target and the second target, determining whether the second target conflicts with the first target, if so, rejecting the corresponding second target, and ensuring that the control type of the relative comparative tendency of the user can be executed;
the embodiment of the invention screens the effective second instruction from the first instruction, ensures that the preferred instruction of the user can be executed, is very humanized, eliminates the instruction which does not pass the execution verification strategy, prevents the user from inputting by mistake or inputting according to the actual use condition, is more intelligent, and simultaneously eliminates the conflicting instruction, thereby ensuring that the best experience can be given to the user when the Internet of things equipment is used.
The embodiment of the invention provides an intelligent gateway Internet of things control system applying a block chain technology, which further comprises:
the expansion module is used for expanding the conflict instruction type combination to the library;
the expansion module performs the following operations:
acquiring a preset expansion node set, wherein the expansion node set comprises: a plurality of first expansion nodes;
obtaining the credibility of at least one expansion source corresponding to the first expansion node;
acquiring a first guarantee value for guaranteeing the extended source by the first extended node;
acquiring a second guarantee value of the extended source guaranteed by other extended sources;
based on the credibility, the first insurance value and the second insurance value, calculating the ranking index of the first expansion node, wherein the calculation formula is as follows:
Figure BDA0003307849090000191
where σ is the ranking index, αiThe credibility of the ith expansion source corresponding to the first expansion node, l is the total number of the expansion sources corresponding to the first expansion node, and betaiA first underwriting value, γ, for the first augmented node to underwritten the ith augmented sourcei,tA second guarantee value for guaranteeing that the ith expansion source corresponding to the first expansion node is guaranteed by other tth expansion sources, diTotal number of other extended sources mu for vouching for the ith extended source corresponding to the first extended node1And mu2The weight value is a preset weight value;
sequencing the first expansion nodes from large to small based on the corresponding sequencing indexes to obtain an expansion node sequence;
selecting the first n expansion nodes in the expansion node sequence as second expansion nodes;
acquiring expansion data through the second expansion node;
and storing the expansion data into the conflict instruction type combination pair library to complete expansion.
The working principle and the beneficial effects of the technical scheme are as follows:
the preset expansion node set specifically comprises: the system comprises a set comprising a plurality of expansion nodes, wherein each expansion node corresponds to an organization (such as an experiment investigation website); different experiment users can log in an experiment investigation website to carry out experiment investigation of the combination of the conflict instruction types; the data sources corresponding to the first expansion node are different experimental users; the acquisition credibility can be determined based on whether the user issues false data or not; the first acquisition node needs to guarantee the user, the user can pay a guarantee fund to the first acquisition node privately, and the greater the first guarantee value is, the greater the guarantee degree of the first acquisition node on a data source is; mutual security can also be carried out among different experimental users, such as: a plurality of experimental users in one experimental group mutually guarantee, and the greater the second guarantee value is, the greater the guarantee degree among the experimental users is; n can be set by a user;
and calculating a sorting index based on the credibility, the first guarantee value and the second guarantee value, and quickly selecting a second expansion node meeting the requirement, so that the working efficiency of the system is improved, the obtained safety is ensured, and the accuracy of the obtained data is improved.
The embodiment of the invention provides an intelligent gateway internet of things control system applying a block chain technology, wherein a forwarding module 3 executes the following operations:
inquiring a preset user-intelligent gateway node library to determine an intelligent gateway node corresponding to the user;
forwarding the second instruction to the intelligent gateway node;
acquiring a current time node, and combining the current time node, the second instruction and the intelligent gateway node to acquire a forwarding record;
inquiring a preset user-block chain link point library, and determining a block chain link point corresponding to the user;
and sending the forwarding record to the block chain node to finish uploading.
The working principle and the beneficial effects of the technical scheme are as follows:
the preset user-intelligent gateway node library specifically comprises the following steps: a database containing intelligent gateway nodes (data transmission nodes) corresponding to different users, through which data can be transmitted to the intelligent gateway; the preset user-block chain node library specifically comprises the following steps: a database containing block link points (storage nodes in a block chain, through which data can be directly stored) corresponding to different users;
the embodiment of the invention forwards the second instruction to the intelligent gateway node corresponding to the user, and directly sends the forwarding record to the block link point corresponding to the user, thereby improving the working efficiency of the system.
The embodiment of the invention provides an intelligent gateway internet of things control system applying a block chain technology, wherein a control module 4 executes the following operations:
analyzing the second instruction, and determining to acquire a fourth instruction type;
inquiring a preset instruction type-control node library, and determining a control node corresponding to the fourth instruction type;
and sending the second instruction to the corresponding control node.
The working principle and the beneficial effects of the technical scheme are as follows:
the preset instruction type-control node library is specifically as follows: a database containing control nodes corresponding to different instruction types; the control nodes correspond to different Internet of things devices one to one, and the control over the corresponding Internet of things devices can be achieved by sending the second instructions to the control nodes.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. An intelligent gateway Internet of things control method applying a block chain technology is characterized by comprising the following steps:
step 1: acquiring a plurality of first instructions input by a user;
step 2: screening out effective second instructions from the first instructions;
and step 3: forwarding the second instruction to an intelligent gateway corresponding to the user, generating a corresponding forwarding record at the same time, and uploading the forwarding record to a preset block chain;
and 4, step 4: and correspondingly controlling the equipment of the Internet of things based on the intelligent gateway.
2. The method for controlling the internet of things of the intelligent gateway applying the block chain technology as claimed in claim 1, wherein the step 1: acquiring a plurality of first instructions input by a user, wherein the first instructions comprise:
when a user inputs an initial instruction based on an intelligent terminal, three-dimensional scanning is carried out on the current environment of the intelligent terminal to obtain three-dimensional environment information;
constructing a three-dimensional coordinate system according to the three-dimensional environment information based on a preset construction rule;
when the number of first human body outlines in the three-dimensional coordinate system is 1, trying to determine a first identity corresponding to the first human body outline based on a preset outline-identity library;
if the determination is successful, taking the corresponding initial instruction as a first instruction, and acquiring;
when the number of the first human body contours in the three-dimensional coordinate system is larger than 1, determining the first human body contours which are characterized by being held by the intelligent terminal on the basis of a contour recognition technology, and using the first human body contours as second human body contours, and using the rest first human body contours as third human body contours;
attempting to determine a second identity corresponding to the second human body contour based on the contour-identity library;
if the determination is successful, taking the corresponding initial instruction as a first instruction, and acquiring;
otherwise, based on the contour-identity library, trying to determine a second identity corresponding to the third human body contour;
if the determination is successful, taking the corresponding third human body contour as a fourth human body contour;
determining a first orientation representing a face on the fourth human body contour in the three-dimensional coordinate system based on contour recognition technology, and simultaneously determining a second orientation representing a display screen of the intelligent terminal in the three-dimensional coordinate system;
acquiring a first position of the face and a second position of the display screen in the three-dimensional coordinate system;
if the first orientation and the second orientation meet preset direction visual conditions and the first position and the second position meet preset position visual conditions, taking the corresponding initial instruction as a first instruction and obtaining the first instruction;
the direction visual condition includes: an included angle between a first vector representing the first orientation and a second vector representing the second orientation in the three-dimensional coordinate system is within a preset included angle interval;
the position visible condition includes: and the distance between the first position and the second position is less than or equal to a preset distance threshold, and no sight line obstruction exists on a connecting line connecting the first position and the second position in the three-dimensional coordinate system.
3. The method for controlling the internet of things of the intelligent gateway applying the block chain technology as claimed in claim 1, wherein the step 2: screening out effective second instructions from the first instructions, wherein the effective second instructions comprise:
when the number of the first instructions is 1, taking the first instructions as the second instructions to complete screening;
when the number of the first instructions is larger than 1, analyzing the first instructions to obtain a first instruction type;
inquiring a preset user-instruction type-preference value library, and determining a first preference value corresponding to the user and the first instruction type;
if the first preference value is greater than or equal to a preset preference value threshold, taking the corresponding first instruction as the second instruction to complete one-time screening, and taking the rest first instructions as third instructions;
determining the first instruction type corresponding to the third instruction, and using the first instruction type as a second instruction type;
inquiring a preset instruction type-verification policy library, and determining at least one verification policy corresponding to the second instruction type;
executing the verification policy;
after the execution is finished, when the verification fails, the third instruction corresponding to the second instruction type is removed;
if the first instruction type and the second instruction type pass the verification, taking the corresponding second instruction type as a third instruction type;
determining the first preference value corresponding to the third instruction type, and taking the first preference value as a second preference value;
selecting the third instruction type corresponding to the maximum second preference value as a first target, and taking the rest of the third instruction types as second targets;
randomly combining the first target and the second target to obtain a plurality of instruction type combination pairs;
determining whether the instruction type combination pair conflicts or not based on a preset conflict instruction type combination pair library;
and if so, rejecting the third instruction corresponding to the second target in the instruction combination pair, and taking the third instruction corresponding to the first target and the remaining third instructions corresponding to the second targets as the second instructions after rejection is finished.
4. The method for controlling the internet of things of the intelligent gateway applying the block chain technology as claimed in claim 1, wherein the step 3: forwarding the second instruction to an intelligent gateway corresponding to the user, generating a corresponding forwarding record, and uploading the forwarding record to a preset block chain, wherein the forwarding record comprises:
inquiring a preset user-intelligent gateway node library to determine an intelligent gateway node corresponding to the user;
forwarding the second instruction to the intelligent gateway node;
acquiring a current time node, and combining the current time node, the second instruction and the intelligent gateway node to acquire a forwarding record;
inquiring a preset user-block chain link point library, and determining a block chain link point corresponding to the user;
and sending the forwarding record to the block chain node to finish uploading.
5. The method for controlling the internet of things of the intelligent gateway applying the block chain technology as claimed in claim 1, wherein the step 4: based on intelligent gateway carries out corresponding control to thing networking device, include:
analyzing the second instruction, and determining to acquire a fourth instruction type;
inquiring a preset instruction type-control node library, and determining a control node corresponding to the fourth instruction type;
and sending the second instruction to the corresponding control node.
6. The utility model provides an use intelligent gateway thing networking control system of block chain technique which characterized in that includes:
the acquisition module is used for acquiring a plurality of first instructions input by a user;
the screening module is used for screening out effective second instructions from the first instructions;
the forwarding module is used for forwarding the second instruction to the intelligent gateway corresponding to the user, generating a corresponding forwarding record and uploading the forwarding record to a preset block chain;
and the control module is used for correspondingly controlling the equipment of the Internet of things based on the intelligent gateway.
7. The method as claimed in claim 6, wherein the obtaining module performs the following operations:
when a user inputs an initial instruction based on an intelligent terminal, three-dimensional scanning is carried out on the current environment of the intelligent terminal to obtain three-dimensional environment information;
constructing a three-dimensional coordinate system according to the three-dimensional environment information based on a preset construction rule;
when the number of first human body outlines in the three-dimensional coordinate system is 1, trying to determine a first identity corresponding to the first human body outline based on a preset outline-identity library;
if the determination is successful, taking the corresponding initial instruction as a first instruction, and acquiring;
when the number of the first human body contours in the three-dimensional coordinate system is larger than 1, determining the first human body contours which are characterized by being held by the intelligent terminal on the basis of a contour recognition technology, and using the first human body contours as second human body contours, and using the rest first human body contours as third human body contours;
attempting to determine a second identity corresponding to the second human body contour based on the contour-identity library;
if the determination is successful, taking the corresponding initial instruction as a first instruction, and acquiring;
otherwise, based on the contour-identity library, trying to determine a second identity corresponding to the third human body contour;
if the determination is successful, taking the corresponding third human body contour as a fourth human body contour;
determining a first orientation representing a face on the fourth human body contour in the three-dimensional coordinate system based on contour recognition technology, and simultaneously determining a second orientation representing a display screen of the intelligent terminal in the three-dimensional coordinate system;
acquiring a first position of the face and a second position of the display screen in the three-dimensional coordinate system;
if the first orientation and the second orientation meet preset direction visual conditions and the first position and the second position meet preset position visual conditions, taking the corresponding initial instruction as a first instruction and obtaining the first instruction;
the direction visual condition includes: an included angle between a first vector representing the first orientation and a second vector representing the second orientation in the three-dimensional coordinate system is within a preset included angle interval;
the position visible condition includes: and the distance between the first position and the second position is less than or equal to a preset distance threshold, and no sight line obstruction exists on a connecting line connecting the first position and the second position in the three-dimensional coordinate system.
8. The method as claimed in claim 6, wherein the screening module performs the following operations:
when the number of the first instructions is 1, taking the first instructions as the second instructions to complete screening;
when the number of the first instructions is larger than 1, analyzing the first instructions to obtain a first instruction type;
inquiring a preset user-instruction type-preference value library, and determining a first preference value corresponding to the user and the first instruction type;
if the first preference value is greater than or equal to a preset preference value threshold, taking the corresponding first instruction as the second instruction to complete one-time screening, and taking the rest first instructions as third instructions;
determining the first instruction type corresponding to the third instruction, and using the first instruction type as a second instruction type;
inquiring a preset instruction type-verification policy library, and determining at least one verification policy corresponding to the second instruction type;
executing the verification policy;
after the execution is finished, when the verification fails, the third instruction corresponding to the second instruction type is removed;
if the first instruction type and the second instruction type pass the verification, taking the corresponding second instruction type as a third instruction type;
determining the first preference value corresponding to the third instruction type, and taking the first preference value as a second preference value;
selecting the third instruction type corresponding to the maximum second preference value as a first target, and taking the rest of the third instruction types as second targets;
randomly combining the first target and the second target to obtain a plurality of instruction type combination pairs;
determining whether the instruction type combination pair conflicts or not based on a preset conflict instruction type combination pair library;
and if so, rejecting the third instruction corresponding to the second target in the instruction combination pair, and taking the third instruction corresponding to the first target and the remaining third instructions corresponding to the second targets as the second instructions after rejection is finished.
9. The method for controlling the internet of things of an intelligent gateway applying the blockchain technology as claimed in claim 6, wherein the forwarding module performs the following operations:
inquiring a preset user-intelligent gateway node library to determine an intelligent gateway node corresponding to the user;
forwarding the second instruction to the intelligent gateway node;
acquiring a current time node, and combining the current time node, the second instruction and the intelligent gateway node to acquire a forwarding record;
inquiring a preset user-block chain link point library, and determining a block chain link point corresponding to the user;
and sending the forwarding record to the block chain node to finish uploading.
10. The method for controlling the internet of things of an intelligent gateway applying the blockchain technology as claimed in claim 6, wherein the control module performs the following operations:
analyzing the second instruction, and determining to acquire a fourth instruction type;
inquiring a preset instruction type-control node library, and determining a control node corresponding to the fourth instruction type;
and sending the second instruction to the corresponding control node.
CN202111208489.8A 2021-10-18 2021-10-18 Intelligent gateway Internet of things control method and system applying block chain technology Active CN114039952B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111208489.8A CN114039952B (en) 2021-10-18 2021-10-18 Intelligent gateway Internet of things control method and system applying block chain technology

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111208489.8A CN114039952B (en) 2021-10-18 2021-10-18 Intelligent gateway Internet of things control method and system applying block chain technology

Publications (2)

Publication Number Publication Date
CN114039952A true CN114039952A (en) 2022-02-11
CN114039952B CN114039952B (en) 2022-08-05

Family

ID=80141480

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111208489.8A Active CN114039952B (en) 2021-10-18 2021-10-18 Intelligent gateway Internet of things control method and system applying block chain technology

Country Status (1)

Country Link
CN (1) CN114039952B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111355786A (en) * 2020-02-20 2020-06-30 中科全维科技(苏州)有限公司 Internet of things equipment control method based on alliance block chain
CN111541534A (en) * 2020-04-14 2020-08-14 全链通有限公司 Control method and device for terminal of Internet of things and storage medium
CN112217797A (en) * 2020-09-09 2021-01-12 苏州工业园区凌志软件股份有限公司 Intelligent gateway Internet of things control system and method applying block chain technology
KR20210090372A (en) * 2020-01-10 2021-07-20 동서대학교 산학협력단 Blockchain-based authenticaton and revocation method for the internet of things gateway
CN113259376A (en) * 2021-06-10 2021-08-13 永旗(北京)科技有限公司 Control method of Internet of things equipment based on block chain

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20210090372A (en) * 2020-01-10 2021-07-20 동서대학교 산학협력단 Blockchain-based authenticaton and revocation method for the internet of things gateway
CN111355786A (en) * 2020-02-20 2020-06-30 中科全维科技(苏州)有限公司 Internet of things equipment control method based on alliance block chain
CN111541534A (en) * 2020-04-14 2020-08-14 全链通有限公司 Control method and device for terminal of Internet of things and storage medium
CN112217797A (en) * 2020-09-09 2021-01-12 苏州工业园区凌志软件股份有限公司 Intelligent gateway Internet of things control system and method applying block chain technology
CN113259376A (en) * 2021-06-10 2021-08-13 永旗(北京)科技有限公司 Control method of Internet of things equipment based on block chain

Also Published As

Publication number Publication date
CN114039952B (en) 2022-08-05

Similar Documents

Publication Publication Date Title
US10373322B1 (en) Autonomous store system that analyzes camera images to track people and their interactions with items
US9740841B2 (en) Using biometric user-specific attributes
CN110414373B (en) Deep learning palm vein recognition system and method based on cloud edge-side cooperative computing
US11113526B2 (en) Training methods for deep networks
US11688202B2 (en) Facial enrollment and recognition system
CN107209848A (en) System and method for the personal identification based on multi-mode biometric information
CN107423754B (en) Automatic radiation source identification system based on parameter multi-attribute autonomous intelligent decision
CN109543633A (en) A kind of face identification method, device, robot and storage medium
CN107004113A (en) System and method for obtaining multi-mode biometric information
CN115437507B (en) AR (augmented reality) -glasses-based equipment maintenance guiding method and system and related equipment
CN110799978A (en) Face recognition in a residential environment
US20230289486A1 (en) Systems and Methods for Adaptive Workspace Layout and Usage Optimization
JP2021520015A (en) Image processing methods, devices, terminal equipment, servers and systems
US20200334346A1 (en) Using biometric user-specific attributes
JP2007280083A (en) Entrance/location management system
CN114039952B (en) Intelligent gateway Internet of things control method and system applying block chain technology
CN110992500A (en) Attendance checking method and device, storage medium and server
US11256910B2 (en) Method and system for locating an occupant
TWI727396B (en) Verification system and verification method
WO2020208824A1 (en) Information processing device, information processing method, and recording medium
CN115119206A (en) Equipment interconnection and intercommunication and intelligent application platform
CN117357247A (en) Three-dimensional scene establishment system, method, equipment and medium for meta-universe operation planning
CN110457393B (en) Information sharing method and related product
WO2018072482A1 (en) Data processing method and device for robot, and robot
JP7328489B2 (en) Ophthalmic image processing device and ophthalmic photographing 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