CN112114985A - Method, device and equipment for issuing face information - Google Patents

Method, device and equipment for issuing face information Download PDF

Info

Publication number
CN112114985A
CN112114985A CN202011003228.8A CN202011003228A CN112114985A CN 112114985 A CN112114985 A CN 112114985A CN 202011003228 A CN202011003228 A CN 202011003228A CN 112114985 A CN112114985 A CN 112114985A
Authority
CN
China
Prior art keywords
iot
iot device
group
equipment
face information
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
CN202011003228.8A
Other languages
Chinese (zh)
Other versions
CN112114985B (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.)
Hangzhou Hikvision System Technology Co Ltd
Original Assignee
Hangzhou Hikvision System Technology 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 Hangzhou Hikvision System Technology Co Ltd filed Critical Hangzhou Hikvision System Technology Co Ltd
Priority to CN202011003228.8A priority Critical patent/CN112114985B/en
Publication of CN112114985A publication Critical patent/CN112114985A/en
Application granted granted Critical
Publication of CN112114985B publication Critical patent/CN112114985B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/172Classification, e.g. identification

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Health & Medical Sciences (AREA)
  • Oral & Maxillofacial Surgery (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Computer Interaction (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Collating Specific Patterns (AREA)

Abstract

The application provides a method, a device and equipment for issuing face information, which comprise the following steps: dividing all IOT devices which are registered to the management platform and belong to a specified object into at least one IOT device group; IOT equipment in the same IOT equipment group is in the same local area network, and the number of the same face pictures required by any two different IOT equipment in the same IOT equipment group exceeds a preset threshold value; selecting an IOT device from each IOT device group as a main IOT device of the IOT device group; and issuing the group information of the IOT equipment group and the common face information required by all the IOT equipment in the IOT equipment group to the main IOT equipment, so that the main IOT equipment issues the common face information to other IOT equipment in the IOT equipment group indicated by the group information. By adopting the method provided by the application, the face information can be issued, and the equipment resources of the management equipment can be saved.

Description

Method, device and equipment for issuing face information
Technical Field
The present application relates to the field of computer communications, and in particular, to a method, an apparatus, and a device for issuing face information.
Background
With the rapid development of Internet technology and image detection technology, IOT (Internet of Things) devices based on face recognition are also applied.
Face information is recorded on the IOT device based on face recognition, when a person passes through the IOT device, the IOT device may collect the face information of the person, and if the collected face information matches any of the recorded face information, a service is performed based on a matching result (for example, when the IOT device is an access control device, the service is performed to determine whether to release the person based on the matching result, etc.).
However, a designated object may have a large number of IOT devices, and in order to facilitate the management of IOT devices by the designated object, an IOT device management platform (also referred to as a management platform) is established. The designated object may register its IOT device on the management platform. The designated object may set configuration information of the IOT device, such as face information required by the IOT device, on the management platform. Then, the management platform may issue the face information of each IOT device to each IOT device.
The existing face information issuing mode is that a management platform issues face information required by each IOT device to each IOT device, but the face information issuing needs to be completed by the interaction of the management platform and each IOT device for multiple times. When the number of the IOT devices is large, the interactive messages between the IOT devices and the management platform occupy a large amount of device resources of the management platform, such as bandwidth, traffic, and computation, thereby greatly reducing the working efficiency of the management platform.
Disclosure of Invention
In view of this, the present application provides a method, an apparatus, a system, and a device for issuing face information, so as to save device resources of a management device while implementing issuing face information.
Specifically, the method is realized through the following technical scheme:
according to a first aspect of the present application, a face information issuing method is provided, where the method is applied to a management platform for managing at least one internet of things IOT device, and the method includes:
dividing all IOT devices which are registered to the management platform and belong to a specified object into at least one IOT device group; IOT equipment in the same IOT equipment group is in the same local area network, and the number of the same face pictures required by any two different IOT equipment in the same IOT equipment group exceeds a preset threshold value;
selecting an IOT device from each IOT device group as a main IOT device of the IOT device group;
and issuing the group information of the IOT equipment group and the common face information required by all the IOT equipment in the IOT equipment group to the main IOT equipment, so that the main IOT equipment issues the common face information to other IOT equipment in the IOT equipment group indicated by the group information.
Optionally, the method further includes:
determining a union set of non-common face information required by each IOT device of the IOT device group;
and sending the union of the non-common face information and the identification of the face information required by each IOT device in the IOT device group to a main IOT device of the IOT device group, so that the main IOT device sends the non-common face information required by each IOT device to each IOT device based on the identification of the face information required by each IOT device.
Optionally, issuing, to the master IOT device, common face information required by all IOT devices in the IOT device group, where the face information includes:
and if the common face information which is not issued to the main IOT equipment exists in all the common face information required by the IOT equipment in the IOT equipment group, issuing the common face information which is not issued to the main IOT equipment.
Optionally, the face information is a face picture;
the issuing, to the master IOT device, common face information required by all IOT devices in the IOT device group includes:
determining common face pictures required by all IOT devices in the IOT device group;
and sending the common face picture to the main IOT equipment.
Optionally, different IOT devices in the same IOT device group have the same face feature extraction algorithm, and the face information is face features;
the issuing, to the master IOT device, common face information required by all IOT devices in the IOT device group includes:
determining common face pictures required by all IOT devices in the IOT device group;
adopting a face feature extraction algorithm corresponding to the main IOT equipment to extract face features of the common face pictures to obtain common face features;
and sending the common face features to the main IOT equipment.
Optionally, the method further includes:
when detecting that a target IOT device is newly added to the IOT device group, sending the identification of the target IOT device and the non-common face information required by the target IOT device to a main IOT device of the IOT device group, so that the main IOT device sends the common face information required by the target IOT device and the non-common face information required by the target IOT device to the target IOT device.
According to a second aspect of the present application, a method for issuing face information is provided, where the method is applied to IOT devices, and the method includes:
when determining that the device is a master IOT device in an IOT device group, determining other IOT devices in the IOT device group according to other IOT device identifications contained in group information of the IOT device group issued by a management platform;
and synchronizing the common face information which is locally recorded and is required by all the IOT equipment in the IOT equipment group and transmitted by the management platform to other IOT equipment.
Optionally, the synchronizing the common face information to other IOT devices includes:
sending the common face information to other IOT equipment; alternatively, the first and second electrodes may be,
and when an acquisition request sent by other IOT equipment is received, returning the common face information to the other IOT equipment sending the acquisition request.
Optionally, the group information further includes: the algorithm identification of the face feature extraction algorithm configured for each IOT device in the IOT device group;
the sending the common face information to other IOT devices includes:
under the condition that the common face information is a common face picture, determining target IOT equipment which is the same as the face feature extraction algorithm of the equipment and non-target IOT equipment which is different from the face feature extraction algorithm of the equipment from all other IOT equipment according to the algorithm identification;
carrying out feature extraction on the common face pictures, and sending the extracted common face features to the target IOT equipment;
and sending the common face picture to the non-target IOT equipment.
Optionally, the sending the common face information to other IOT devices includes:
dividing all IOT devices in the IOT device group into at least one sub-IOT device group, and selecting one IOT device as a sub-group length in other sub-IOT device groups except the target sub-IOT device group; the target sub IOT device group is a sub IOT device group in which the main IOT device is positioned;
sending the common face information to each IOT device in the target sub-IOT device group;
and sending the common face information to the subgroup leader of each other sub IOT device group, and sending the group information of the other sub IOT device group to the subgroup leader of the other IOT device group, so that the subgroup leader of the other IOT device group sends the common face information to each other IOT device in the other sub IOT device group based on the group information.
According to a third aspect of the present application, a face information issuing method is provided, where the method is applied to a management platform for managing at least one internet of things IOT device, and the method includes:
dividing all IOT devices which are registered to the management platform and belong to a specified object into at least one IOT device group; IOT equipment in the same IOT equipment group is in the same local area network, and the number of the same face pictures required by any two different IOT equipment in the same IOT equipment group exceeds a preset threshold value;
selecting an IOT device from each IOT device group as a main IOT device of the IOT device group;
and issuing group information of the IOT equipment group and a union set of face information required by each IOT equipment in the IOT equipment group to the main IOT equipment, so that the main IOT equipment issues the face information required by each IOT equipment to other IOT equipment in the IOT equipment group indicated by the group information.
According to a fourth aspect of the present application, a face information issuing method is provided, where the method is applied to a management platform for managing at least one internet of things IOT device, and the method includes:
determining at least one piece of face information to be issued;
determining at least one IOT device which needs the face information aiming at each face information, and dividing the at least one IOT device into at least one IOT device group; IOT equipment in each IOT equipment group is in the same local area network;
for each IOT equipment group, determining common face information required by all IOT equipment in the IOT equipment group, selecting one IOT equipment from the IOT equipment group as a main IOT equipment, issuing group information and the common face information to the main IOT equipment, and issuing the common face information to other IOT equipment in the IOT equipment group indicated by the group information by the main IOT equipment, wherein the common face information comprises at least one face information.
According to a fifth aspect of the present application, a face information issuing apparatus is provided, where the apparatus is applied to a management platform for managing at least one internet of things IOT device, and the apparatus includes:
a dividing unit, configured to divide all IOT devices that have been registered to the management platform and belong to a specified object into at least one IOT device group; IOT equipment in the same IOT equipment group is in the same local area network, and the number of the same face pictures required by any two different IOT equipment in the same IOT equipment group exceeds a preset threshold value;
a selecting unit, configured to select one IOT device from each IOT device group as a master IOT device of the IOT device group;
a sending unit, configured to issue, to the master IOT device, group information of the IOT device group and common face information required by all IOT devices in the IOT device group, so that the master IOT device issues the common face information to other IOT devices in the IOT device group indicated by the group information.
According to a sixth aspect of the present application, there is provided a face information issuing apparatus, where the apparatus is applied to IOT devices, and the apparatus includes:
a receiving unit, configured to receive, when it is determined that the device is a master IOT device in the IOT device group, common face information required by all IOT devices of the IOT device group and sent by the management platform;
and the synchronization unit is used for synchronizing the common face information to other IOT equipment according to other IOT equipment identifications contained in the IOT equipment group information issued by the management platform.
According to a seventh aspect of the present application, a face information issuing apparatus is provided, where the apparatus is applied to a management platform for managing at least one internet of things IOT device, and the apparatus includes:
a dividing unit, configured to divide all IOT devices that have been registered to the management platform and belong to a specified object into at least one IOT device group; IOT equipment in the same IOT equipment group is in the same local area network, and the number of the same face pictures required by any two different IOT equipment in the same IOT equipment group exceeds a preset threshold value;
a selecting unit, configured to select one IOT device from each IOT device group as a master IOT device of the IOT device group;
a sending unit, configured to issue, to the master IOT device, group information of the IOT device group and a union of face information required by each IOT device in the IOT device group, so that the master IOT device issues, to other IOT devices in the IOT device group indicated by the group information, the face information required by each IOT device.
According to an eighth aspect of the present application, a face information issuing apparatus is provided, where the apparatus is applied to a management platform for managing at least one internet of things IOT device, and the apparatus includes:
the determining unit is used for determining at least one piece of face information to be issued;
the grouping unit is used for determining at least one IOT device which needs the face information aiming at each face information and dividing the at least one IOT device into at least one IOT device group; IOT equipment in each IOT equipment group is in the same local area network;
the issuing unit is configured to determine, for each IOT device group, common face information required by all IOT devices in the IOT device group, select one IOT device from the IOT device group as a main IOT device, issue group information and the common face information to the main IOT device, and issue the common face information to other IOT devices in the IOT device group indicated by the group information by the main IOT device, where the common face information includes at least one piece of face information.
According to a ninth aspect of the present application, there is provided an electronic device comprising a readable storage medium and a processor;
wherein the readable storage medium is configured to store machine executable instructions;
the processor is used for reading the machine executable instruction on the readable storage medium and executing the instruction to realize the method for issuing the face information.
Compared with the prior art that the management platform needs to interact with each IOT device to issue the face information, in the application, the management platform divides the IOT devices of the same local area network, the common face information of which exceeds the preset threshold value, into an IOT device group, and then issues the common face information to the main IOT device in the IOT device group, so that the main IOT device can share the common face information to other IOT devices in the group, and the management platform can realize that a plurality of IOT devices share the common face information only by issuing one piece of common face information, thereby greatly saving bandwidth resources and processing resources of the management platform, and greatly improving the processing performance of the management platform.
Drawings
FIG. 1 is a networking schematic of a prior art IOT management system;
fig. 2 is a flowchart illustrating a method for issuing face information according to an exemplary embodiment of the present application;
fig. 3 is a schematic diagram illustrating transmission of face information according to an exemplary embodiment of the present application;
fig. 4 is a schematic diagram illustrating another issue of face information according to an exemplary embodiment of the present application;
fig. 5 is a schematic diagram illustrating another issue of face information according to an exemplary embodiment of the present application;
FIG. 6 is a hardware block diagram of a management platform shown in an exemplary embodiment of the present application;
fig. 7 is a block diagram of a face information issuing apparatus according to an exemplary embodiment of the present application;
FIG. 8 is a hardware block diagram of an IOT device shown in an exemplary embodiment of the present application;
fig. 9 is a block diagram of another face information issuing apparatus according to an exemplary embodiment of the present application;
fig. 10 is a flowchart illustrating another method for sending face information according to an exemplary embodiment of the present application;
fig. 11 is a block diagram of a face information issuing apparatus according to an exemplary embodiment of the present application;
fig. 12 is a block diagram of a face information issuing apparatus according to an exemplary embodiment of the present application;
fig. 13 is a flowchart illustrating another method for sending face information according to an exemplary embodiment of the present application;
fig. 14 is a block diagram of a face information issuing apparatus according to an exemplary embodiment of the present application;
fig. 15 is a block diagram of a face information issuing apparatus according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In the embodiment of the present application, the designated object refers to a party that has an IOT device and leases the resource of the management platform on the management platform to manage its IOT device, the designated object is not limited to an individual, and the designated object may be an enterprise, a campus manager, or the like. The specific object is only exemplified and not particularly limited herein.
In an embodiment of the present application, a given object may register its IOT device on a management platform. The designated object may set configuration information of the IOT device, such as face information required by the IOT device, on the management platform. Then, the management platform may issue the face information of each IOT device to each IOT device.
Referring to fig. 1, fig. 1 is a schematic networking diagram of a conventional access control system.
Existing access control systems include: a management platform and at least one IOT device.
For each designated object, the management platform may issue, to each IOT device of the designated object, a face picture required by the IOT device.
When the management platform issues a face picture to an IOT device, the IOT device is usually an embedded device, so that the IOT device has a low performance of processing the face picture, and the IOT device will request a next small part of the face picture from the management platform after processing the current small part of the face picture. Therefore, when a plurality of face pictures need to be issued to the IOT device, only a small part of the face pictures can be issued each time, so that the face pictures need to be issued for a plurality of times, and therefore, the management platform needs to perform a plurality of interactions when issuing the face pictures to one IOT device.
The existing management platform issues the face picture to the plurality of IOT devices usually by adopting a concurrent issuing method, that is, the management platform issues the face picture to the plurality of IOT devices at the same time.
Because the management platform issues the face pictures to one IOT device for multiple interactions, when the management platform issues the face pictures to multiple IOT devices at the same time, more interactions are needed. When the number of the IOT devices is large, a large amount of bandwidth, traffic, computation and other device resources of the management platform are seriously occupied by the large amount of interaction, and the working efficiency of the management platform is greatly reduced.
In view of this, the present application provides a method for issuing face information, in which a management platform may divide all IOT devices that have been registered to the management platform and belong to a designated object into at least one IOT device group; IOT equipment in the same IOT equipment group is in the same local area network, and the number of the same face pictures needed by any two different IOT equipment in the same IOT equipment group exceeds a preset threshold value. The management platform may select an IOT device from each IOT device group as a master IOT device of the IOT device group, and issue group information of the IOT device group and common face information required by all IOT devices in the IOT device group to the master IOT device, so that the master IOT device issues the common face information to other IOT devices in the IOT device group indicated by the group information.
Compared with the prior management platform which needs to interact with each IOT device to issue the face information, in the application, the management platform divides the IOT devices of the same local area network, the common face information of which exceeds a preset threshold value, into an IOT device group, and then issues the common face information to the main IOT device in the IOT device group, so that the main IOT device can share the common face information to other IOT devices in the group, and the management platform can realize that a plurality of IOT devices share the common face information only by issuing one piece of common face information, thereby greatly saving the bandwidth resources and the processing resources of the management platform and greatly improving the processing performance of the management platform.
Referring to fig. 2, fig. 2 is a flowchart illustrating a method for issuing face information according to an exemplary embodiment of the present application, where the method may include the following steps.
Step 201: the management platform divides all IOT equipment which is registered to the management platform and belongs to a specified object into at least one IOT equipment group; IOT equipment in the same IOT equipment group is in the same local area network, and the number of the same face pictures needed by any two different IOT equipment in the same IOT equipment group exceeds a preset threshold value.
In this embodiment of the application, the IOT device is an internet of things device having a face recognition function, for example, the IOT device may be an access control device, or a face-brushing payment device, and the like, which is only exemplarily described herein and is not specifically limited thereto.
1. Before the introduction of step 201, information maintained on the lower management platform is introduced.
The management platform maintains a plurality of specified objects. There are multiple IOT devices for each designated object. Information for the IOT devices for each specified object is maintained on the management device. The information of the IOT device may include: the communication address of the IOT device, a feature extraction algorithm deployed on the IOT device, a face picture required by the IOT device and the like. Here, the information of the IOT device is merely exemplarily described, and is not particularly limited.
In an actual application scenario, a plurality of IOT devices corresponding to a specific object may be from the same monitoring area or from different monitoring areas. For example, the IOT devices corresponding to a specific object may all be from one office building or may be from different office buildings, and are not specifically limited herein. Because the monitoring areas corresponding to the IOT devices corresponding to a specific object are different, the face pictures required by the IOT devices corresponding to the specific object may be the same or different.
The designated object may be a school, a business, a campus, etc., and the designated object is only illustrated by way of example and is not specifically limited.
Here, the information maintained on the management platform is merely exemplary and is not specifically limited.
2. The following step 201 implementation is introduced.
2.1) introduction of the triggering mode of step 201
In an optional implementation manner, when receiving an issue message sent by a specified object, a management platform determines, in IOT devices maintained by the management platform, at least one IOT device corresponding to the specified object, and performs steps 201 to 202.
Of course, the management platform may also traverse each specified object in the specified object list, and the management platform may determine, in the IOT devices maintained by the management platform, at least one IOT device corresponding to each specified object, and perform step 201.
Here, the trigger timing of step 201 is only exemplarily described, and is not specifically limited.
2.2) implementation of step 201
In the present application, the face information to be delivered may be a face picture, or a face feature extracted from the face picture, or may be other face information, where the face information to be delivered is only exemplarily described here, and is not specifically limited.
Since the face information to be sent down may include various contents, step 201 may also have various implementation manners to adapt to sending down of the face picture or the face feature.
Several implementations of step 201 are described below.
The implementation mode is as follows:
in implementing step 201, the management platform may divide IOT devices in the same local area network, where common face pictures exceed a preset threshold, into a group. According to the dividing method (the dividing method is I), the IOT devices in the same IOT device group are divided to be in the same local area network, and the number of the same face pictures required by any two different IOT devices in the same IOT device group exceeds a preset threshold value.
It should be noted that the number of the same face pictures required by any two different IOT devices in the same IOT device group exceeding the preset threshold may include two cases. The first case is that the face pictures needed by all IOT devices in the same IOT device group are the same. The second case is that the intersection of the face pictures required by all IOT devices in the same IOT device group is greater than the preset threshold.
An example of the first case. For example, assume that there are 3 IOT devices, IOT device 1, IOT device 2, and IOT device 3. The face images required by the IOT device 1 and the IOT device 2 are all from image 1 to image 100, and the face images required by the IOT device 3 are from face image 101 to face image 200. The management platform may partition IOT device 1 and IOT device 2 into IOT device group 1 and IOT device 3 into IOT device group 2.
An example of the second case. For example, assume that there are 3 IOT devices, IOT device 1, IOT device 2, and IOT device 3. The three IOT devices belong to the same local area network. It is assumed that face images required by the IOT device 1 are face images 1 through 100, face images required by the IOT device 2 are face images 20 through 120, and face images required by the IOT device 3 are face images 101 through 200. Assume that the preset threshold is 50.
In this example, the management platform may determine that IOT device 1 and IOT device 2 share face image 20 to face image 100, i.e., that 80 pieces of face images are required in common, which is higher than the preset threshold (50). And the management platform determines that 20 face images are required by the IOT device 2 and the IOT device 3 together and are smaller than a preset threshold 50. The management platform divides IOT devices 1 and 2 into one IOT device group and divides IOT device 3 into another IOT device group.
The division mode 2:
the management platform can divide the IOT devices which are in the same local area network and have the face pictures exceeding a preset threshold value and have the same configured face feature extraction algorithm into an IOT device group. The method ensures that the IOT devices in the same IOT device group are in the same local area network, the number of the same face pictures required by any two different IOT devices in the same IOT device group exceeds a preset threshold value, and the different IOT devices in the same IOT device group have the same face feature extraction algorithm.
For example, assume that there are 3 IOT devices, IOT device 1, IOT device 2, and IOT device 3. The three IOT devices belong to the same local area network, and the face images required by the three IOT devices are the same. Assume that each of the IOT device 1 and the IOT device 2 is configured with a face feature extraction algorithm 1, and the IOT device 3 is configured with a face feature extraction algorithm 3.
In this example, since the face algorithms configured by the IOT device 1 and the IOT device 2 are the same, the IOT device 1 and the IOT device 2 are divided into one IOT device group, and the IOT device 3 is divided into another IOT device group.
Here, the division manner of the IOT device group is merely described by way of example, and is not particularly limited.
Step 202: the management platform selects an IOT device from each IOT device group as a master IOT device for the IOT device group.
In selecting, the management platform may randomly select one IOT device from the IOT device group as the master IOT device.
Of course, in practical applications, the management platform may also select the master IOT device in other manners, for example, the management platform may select the IOT device with the earliest or latest registration time in the IOT device group as the master IOT device, or select the IOT device with the largest IOT device ID in the IOT device group as the master IOT device, and so on. Here, the master IOT device selection method is merely exemplary and is not specifically limited.
Step 203: and the management platform issues the group information of the IOT equipment group and the common face information required by all the IOT equipment in the IOT equipment group to the main IOT equipment.
In implementation, the management platform may issue group information for the IOT device group to the master IOT device. Wherein the set of information may include: the IOT device identifiers in the IOT device group (for example, IP addresses and device serial numbers of the IOT devices), roles of the IOT devices, face feature extraction algorithm identifiers configured on the IOT devices, and common face information identifiers required by all IOT devices in the IOT device group. Here, the group information is merely exemplified and not particularly limited.
It should be noted that the management platform may only issue group information to the main IOT device, or may issue group information to both the main IOT device and other IOT devices. Here, the group information is not specifically limited to be issued.
In addition, in the embodiment of the present application, the management platform may also issue the determined common face information and group information to the master IOT device.
In a first implementation manner, for each IOT group, the management platform may directly issue common face information and group information to the master IOT device in the IOT group, so that the master IOT device issues the common face information to the other IOT devices in the IOT device group to which the group information refers.
In the second implementation manner, in the present application, since the primary IOT devices may be divided into a plurality of IOT device groups, when issuing the common face information, the common face information is not issued repeatedly. The management platform can detect whether target face information which is not issued to the main IOT equipment exists in the common face information to be issued.
Generally, the management platform may have an issued record of face information issued, for example, the issued record includes: IOT equipment identification and identification of common face information issued to the IOT equipment. The management platform can detect whether the common face information to be issued has target face information which is not issued to the main IOT equipment or not based on the issuing record.
If the common face information which is not sent to the main IOT equipment exists, the common face information which is not sent and the group information are sent to the main IOT equipment, so that the main IOT equipment sends all the common face information which is locally recorded in the IOT equipment group to other IOT equipment in the IOT equipment group.
If there is no face information that has not been issued to the primary IOT device, the management platform may only issue the group information to the primary IOT device, so that the primary IOT device sends all the face information of the locally recorded IOT device group to the other IOT devices in the IOT device group indicated by the group information.
In addition, in the embodiment of the present application, corresponding to the above-mentioned division manner, the issuing manner of the common face information may also include multiple issuing manners.
The issuing method is as follows:
when the IOT group division manner in step 201 is the first division manner or the second division manner, the common face information issued by the management platform to the master IOT device is a common face picture.
Specifically, the management platform may determine, from the face pictures required by each locally maintained IOT device, a common face picture required by all IOT devices in the IOT device group. Then, the management platform may issue the common face picture to a master IOT device in the IOT device group.
And a second issuing mode:
when the method for dividing the IOT device group in step 201 is the above-mentioned method two, the common face information issued by the management platform to the main IOT device is the common face feature.
Specifically, the management device may obtain common face pictures required by all IOT devices in the IOT device group. Then, the management device performs face feature extraction on the common face pictures by using a face feature extraction algorithm configured by the main IOT device of the IOT device group, so as to obtain face features (referred to as common face features for convenience of description herein) of each common face picture. Then, the management device may issue the obtained common facial features to the master IOT device.
Step 204: when determining that the device is a master IOT device in an IOT device group, the IOT device determines other IOT devices in the IOT device group according to other IOT device identifiers included in group information of the IOT device group sent by a management platform.
In the embodiment of the present application, as can be seen from the above description, the group information includes: the IOT equipment group comprises one or more than one of IOT equipment identification, roles of the IOT equipment, face feature extraction algorithm identification configured on the IOT equipment, common face information identification required by all IOT equipment of the IOT equipment group, and the like.
Step 204 is explained in detail below by step 2041 to step 2042.
Step 2041: the IOT device determines that the device is a master IOT device in the IOT device group.
In an optional implementation manner, the management platform only sends the group information to the master IOT device, so that if the IOT device receives the group information, it determines that the device is the master IOT device.
In another alternative implementation, the management platform sends the group information to both the master IOT device and the other IOT devices.
When receiving the group information issued by the management platform, the IOT device may determine the device role of the device based on the IOT device role in the group information.
In this embodiment, the management platform issues the common face information to the master IOT device, so that only the master IOT device can receive the common face information.
Step 2042: and the main IOT equipment determines other IOT equipment in the IOT equipment group according to other IOT equipment identifications contained in the group information of the IOT equipment group issued by the management platform.
The IOT device identifier refers to a mark that uniquely identifies the IOT device, for example, the IOT device identifier may be a communication address of the IOT device, such as an IP address of the IOT device, and the IOT device identifier is only exemplarily illustrated here and is not specifically limited.
During implementation, the master IOT device may obtain other IOT device identifiers carried in the group information of the IOT device group issued by the management platform, and determine other IOT devices of the group based on the other IOT device identifiers.
Step 205: and the main IOT equipment synchronizes the common face information which is locally recorded and is required by all the IOT equipment in the IOT equipment group and is transmitted by the management platform to other IOT equipment.
1) Introducing common face information required by all the IOT equipment in the IOT equipment group, which is issued by a management platform of local record.
In an optional implementation manner, when the management platform issues the common face information in the first implementation manner, that is, "for each IOT group, the management platform may directly issue the common face information and the group information to the master IOT device in the IOT group, so that the master IOT device issues the common face information to the other IOT devices in the IOT device group indicated by the group information, and the master IOT device may receive the common face information required by all IOT devices in the IOT device group and may record the common face information.
In another optional implementation manner, when the management platform adopts the second implementation manner of issuing the common face information, that is, "the management platform may detect whether there is target face information that has not been issued to the main IOT device in the common face information to be issued. And if so, issuing the non-issued common face information and the group information to the main IOT equipment.
In this implementation, there are two cases.
The first case is that there is not all the face information in common on the master IOT device that is needed by all IOT devices of the IOT device group. Through the second implementation manner, the management platform may issue all the common face information required by all the IOT devices of the IOT device group to the master IOT device, and the master IOT device may receive all the common face information of the IOT device group.
The second case is that the common face information of a part of IOT device groups has been recorded on the primary IOT device (for example, the primary IOT device has received part of the common face information issued by the management platform when serving as the primary device in another IOT device group), and the management platform issues another part of the common face information that needs to be issued but is not present on the primary IOT device to the primary IOT device. After this issue, the master IOT device includes all the common face information required by all IOT devices in the IOT device group.
For example, assume that devices A, D require face information 1-100. Device E requires face information 1-80 and device F requires face information 50-100.
Assume that the preset threshold is 50.
The management platform may divide device A, D, E into group 1 and devices A, D and F into group 2. Assume that device a is the master IOT device in group 1 and group 2.
When the management platform issues the common face information 1-80 to the device a in the group 1, the management platform may send the common face information 1-80 to the device a because no face information has been issued to the device a before. The device a can receive and record the common face information 1-80 sent by the management platform.
When the management platform issues the common face information 50-100 to the device a in the group 2, the management platform issues the common face information 80-100 only to the device a because the common face information 50-80 has been issued to the device a before. And the device A receives and records the common face information 80-100 sent by the management platform. Thus, device a would record the common face information required for group 2.
2) Under the introduction, "the common face information, which is locally recorded and is required by all the IOT devices in the IOT device group issued by the management platform, is synchronized to other IOT devices".
The mode of synchronizing the common face information between the master IOT device and the other IOT devices may include an active delivery mode and a passive delivery mode.
1) A passive issuing mode:
in this mode, the management platform issues group information to other IOT devices in the IOT device group in addition to the primary IOT device. The set of information includes an identification of the primary IOT device, as well as other common face information identifications required by the IOT devices.
The other IOT devices may send an acquisition request to the primary IOT device based on the identity of the primary IOT device. The acquisition request carries the common face information identifier required by the other IOT equipment, and the main IOT equipment can search the common face information indicated by the common face information identifier from the locally recorded face information and send the searched common face information to the other IOT equipment when receiving the acquisition request.
2) An active issuing mode:
in the active issuing mode, the main IOT device may search, according to the common face information identifiers required by all IOT devices in the IOT device group carried by the group information, the common face information indicated by the common face information identifiers from the locally recorded common face information, and send the searched common face information to other IOT devices indicated by other IOT device identifiers in the group information.
Various ways of sending the found common face information to other IOT devices are described below.
In the first transmission mode, the master IOT device directly transmits the common face information to each of the other IOT devices. In this transmission mode, the face information may be a common face picture or a common face feature. In this transmission method, the master IOT device may transmit in a broadcast, multicast or unicast manner, and the transmission method is only exemplary and not particularly limited.
And in the second sending mode, the common face information adapted to the second sending mode is a common face picture.
The main IOT device determines a target IOT device which is the same as the face feature extraction algorithm of the main IOT device and a non-target IOT device which is different from the face feature extraction algorithm of the main IOT device from all other IOT devices based on face feature extraction algorithm identifications configured by all the IOT devices carried by the group information.
And then, the main IOT equipment extracts the features of the common face pictures, and the extracted common face features are sent to the target IOT equipment. The master IOT device also sends the common face picture to the non-target IOT device.
Because the IOT equipment shown in the application is equipment which needs to perform face comparison, when the IOT equipment acquires a face picture, face feature extraction is also needed to complete subsequent face comparison. And the second sending mode can realize that the main IOT equipment undertakes face feature extraction, and other IOT equipment share common face features, so that equipment resources of other IOT equipment are greatly saved.
And in the third sending mode, the common face information adapted by the third sending mode is a common face picture or common face characteristics.
In order to reduce resource consumption of face information issued by the main IOT device, the main IOT device may divide all IOT devices in the IOT device group into at least one sub-IOT device group, and select one IOT device as a subgroup length from the other sub-IOT device groups except the target sub-IOT device group; the target sub IOT device group is a sub IOT device group in which the main IOT device is positioned;
and the master IOT equipment sends the common face information to each IOT equipment in the target sub-IOT equipment group.
The master IOT device sends the common face information to the subgroup leaders of the other IOT device groups, and sends the group information of the other IOT device groups to the subgroup leaders of the other IOT device groups, so that the subgroup leaders of the other IOT device groups send the common face information to the other IOT devices in the other IOT device groups based on the group information. In addition, the main IOT device may also issue face information required by the other IOT devices to the other IOT devices in the sub IOT device group where the main IOT device is located.
Assume that the IOT device group includes 5 IOT devices, IOT device 1 through IOT device 5, respectively. Assume that the master IOT device is IOT device 1.
It is assumed that IOT device 1 divides the IOT device group into two sub-IOT device groups, i.e., sub-IOT device group 1 and sub-IOT device group 2. Assume that child IOT device group 1 includes: IOT device 1, IOT device 2, and IOT device 3. The child IOT device group 2 includes: IOT device 4 and IOT device 5.
The child IOT device group in which IOT device 1 is located is child IOT device group 1. IOT device 1 may select IOT device 4 to be the subgroup length in subgroup 2.
The IOT device 1 may transmit the received face information to the IOT device 4, so that the IOT device 4 transmits the face information required by the IOT device 5 to the IOT device 5.
Meanwhile, the IOT device 1 may send the face information required by the IOT device 2 to the IOT device 2, and send the face information required by the IOT device 3 to the IOT device 3.
In addition, in this embodiment of the application, for the non-common face information required by each IOT device in the IOT device group, the management platform may issue in the following ways:
the first mode is as follows: the management platform may issue non-common face information required by the IOT device to each IOT device of the IOT device group.
The second mode is as follows: in order to save the repeated issuing times of the face information, the management platform can determine a union set of the non-common face information required by each IOT device in the IOT device group. The management platform may then send the union of the non-common face information to the master IOT devices of the IOT device group, so that the master IOT devices send the non-common face information required by the IOT devices to the IOT devices.
In an optional implementation manner, the management platform may issue the non-common face information identifier required by each of the other IOT devices and the union of the common face information to the master IOT device. And the main IOT equipment sends the non-common face information required by other IOT equipment to other IOT equipment based on the identification of the non-common face information required by other IOT equipment.
In another alternative implementation, the management platform may issue the non-common face information required by each of the other IOT devices to the master IOT device, and send the non-common face information identifier required by the other IOT devices to the other IOT devices.
The other IOT devices may send an acquisition request to the primary IOT device, which may include the non-common face information identification required by the other IOT devices. After receiving the acquisition request, the master IOT device may return the non-common face information indicated by the non-common face information identifier to the other IOT devices.
In addition, in the present application, after a new target IOT device is registered in the management platform, the management platform may classify the target IOT device into an IOT device group matched with the target IOT device based on the face information required by the target IOT device and the local area network where the target IOT device is located.
The matching principle may include: the number of the same face pictures needed by the target IOT device and any IOT device in the IOT device group exceeds a preset threshold value, and the target IOT device and the IOT device of the IOT device group are in the same local area network.
When detecting that a target IOT device is newly added to the IOT device group, the management platform sends the target IOT device identification and the non-common face information required by the target IOT device to a main IOT device of the IOT device group, so that the main IOT device sends the common face information and the non-common face information required by the target IOT device to the target IOT device.
In an optional implementation manner, the management platform sends the target IOT device identifier, the non-common face information required by the target IOT device, and the common face information identifier required by the target IOT device to the master IOT device of the IOT device group. The master IOT device may search, from the locally recorded face information, common face information corresponding to the common face information identifier required by the target IOT device, and send the searched common face information to the target IOT device. In addition, the master IOT device may also send non-common face information required by the target IOT device to the target IOT device.
In another alternative implementation, the management platform sends the target IOT device identifier and the non-common face information required by the target IOT device to the master IOT device of the IOT device group. In addition, the management platform may also send face information identifications (including common face information identifications and non-common face information identifications) required by the target IOT device to the target IOT device.
The target IOT device may send an acquisition request to the master IOT device, where the acquisition request carries a face information identifier required by the target IOT device. After receiving the acquisition request, the master IOT device may search the face information indicated by the face information identifier required by the target IOT device from the locally recorded face information, and send the searched face information to the target IOT device.
The following describes the face information issuing method provided by the present application in detail by specific embodiments.
Example 1: the issued face information is a face picture
Referring to fig. 3, fig. 3 is a schematic diagram illustrating a face information issue according to an exemplary embodiment of the present application.
The networking includes a management platform and IOT devices a to G. It is assumed that IOT devices a through G belong to the same local area network.
It is assumed that face images required by the IOT devices a to G and a face feature extraction algorithm configured are as shown in table 1.
IOT equipment Required human face picture Face feature extraction algorithm
IOT device A Face Picture 1-face Picture 100 Face feature extraction algorithm 1
IOT device B Face Picture 1-face Picture 100 Face feature extraction algorithm 1
IOT device C Face Picture 1-face Picture 100 Face feature extraction algorithm 1
IOT device D Face Picture 1-face Picture 100 Face feature extraction algorithm 2
IOT equipment E Face Picture 1-face Picture 100 Face feature extraction algorithm 2
IOT device F Face picture 101-face picture 200 Face feature extraction algorithm 2
IOT equipment G Face picture 101-face picture 200 Face feature extraction algorithm 2
TABLE 1
Step 301: the management platform divides the IOT devices a to G into at least one IOT device group.
In this example, the face pictures required by the devices a to E are identical and belong to the same lan, and the face pictures required by the devices F and G are identical and belong to the same lan.
The management platform divides the IOT devices a to E into IOT device group 1, and divides the IOT device F, IOT device G into IOT device group 2.
Step 302: the management device selects the IOT device a as the primary IOT device of the IOT device group 1, and selects the IOT device F as the primary IOT device of the IOT device group 2.
The group information for each IOT device group is shown in table 2.
Figure BDA0002695035530000151
TABLE 2
Step 303: for the IOT device group 1, since the face pictures 1-100 are not sent to the IOT device a, the management platform may send the face pictures 1-100 to the IOT device a and send the group information of the IOT device group 1 to the IOT device a.
Step 304: the IOT device a may issue the face pictures 1 to 100 to the IOT devices B to F.
And a passive issuing mode:
the management platform issues the group information of the IOT device group 1 to the IOT device a and also issues the group information to other IOT devices of the IOT device group 1. The set of information includes information for IOT device a.
Other IOT devices (such as IOT device B) send acquisition requests to IOT device a, and IOT device a sends common face pictures (i.e., face pictures 1-100) to IOT device B after receiving the acquisition requests.
An active issuing mode:
active issuing mode 1:
IOT device a sends face pictures 1-100 to IOT device B, C, D, E. The transmission method may be broadcast, multicast, unicast, or the like, and is not particularly limited herein.
Active issuing mode 2:
the IOT device a may determine, among the IOT devices B to E, a target IOT device (i.e., IOT device B, IOT device C) that is the same as the face feature extraction algorithm 1 of the IOT device a, and a non-target IOT device (i.e., IOT device D, IOT device E) that is different from the face feature extraction algorithm 1 of the IOT device a.
Then, the IOT device a may use the face feature extraction algorithm 1 to extract face features from the face picture 1 to the face picture 100, and send the face features extracted from the face picture 1 to the face picture 100 to the IOT device B, IOT device C.
In addition, the IOT device a may issue the face pictures 1 to 100 to the IOT device D, IOT device E, respectively.
And (3) issuing mode:
the IOT device a divides the IOT devices of the IOT device group 1 into at least one sub-IOT device group. Assume that IOT device a is divided into two sub-IOT device groups, sub-IOT device group 1 and sub-IOT device group 2.
The child IOT device group 1 includes: IOT device A, IOT device B and IOT device D.
The child IOT device group 2 includes: IOT device C and IOT device E.
Assume that IOT device a selects IOT device C as the subgroup length.
In one aspect, IOT device a may issue face pictures 1 through 100 to IOT devices B and D. Alternatively, the IOT device a may select the IOT device B in the sub-IOT device group 1 that is the same as the face feature extraction algorithm 1 of the IOT device a, and select the IOT device D that is different from the face feature extraction algorithm 1 of the IOT device a. The IOT device a may adopt the face feature extraction algorithm 1 to extract face features from the face picture 1 to the face picture 100, and issue the face features extracted from the face picture 1 to the face picture 100 to the IOT device B, and the IOT device a may issue the face picture 1 to the face picture 100 to the IOT device D.
On the other hand, the IOT device a may issue the face pictures 1 to 100 to the IOT device C. The IOT device C issues the face pictures 1 to 100 to the IOT device E.
In addition, the face information issuing mode of the IOT device group 2 is the same as that of the IOT device group 1, and is not described herein again.
Example 2: the issued face information is the face characteristics
Referring to fig. 4, fig. 4 is a schematic diagram illustrating a face information issue according to an exemplary embodiment of the present application.
The networking includes a management platform and IOT devices a to G. It is assumed that IOT devices a through G belong to the same local area network.
It is assumed that face images required by the IOT devices a to G and a face feature extraction algorithm configured are as shown in table 1.
Step 401: the management platform divides the IOT devices which have the same face feature extraction algorithm, belong to the same local area network and have the common face picture exceeding a preset threshold into one group, and an IOT device group 3, an IOT device group 4 and an IOT device group 5 are obtained.
Wherein the IOT device group 3 includes: IOT device A, IOT, device B, and IOT device C;
IOT device group 4 includes: IOT device D, IOT device E;
the IOT device group 5 includes: IOT device F and IOT device G.
Step 402: the management device selects IOT device a as the primary IOT device of IOT device group 3, selects IOT device D as the primary IOT device of IOT device group 4, and selects IOT device F as the primary IOT device of IOT device group 5.
The group information for each IOT device group is shown in table 3.
Figure BDA0002695035530000161
Figure BDA0002695035530000171
TABLE 3
Step 403: for the IOT device group 3, the management platform uses a face feature extraction algorithm 1 to extract face features from the face picture 1 to the face picture 100, respectively, so as to obtain face features from the face feature 1 to the face feature 100.
Step 404: since the face features 1 to 100 are not issued to the IOT device a, the management platform may issue the face features 1 to 100 to the IOT device a and issue the group information of the IOT device group 3 to the IOT device a.
Step 404: IOT device a may issue face features 1 through 100 to IOT device B, IOT device C.
And a passive issuing mode:
the management platform issues the group information of the IOT device group 1 to the IOT device a and also issues the group information to other IOT devices of the IOT device group 1. The set of information includes information for IOT device a.
Other IOT devices (such as IOT device B) send acquisition requests to IOT device a, and IOT device a sends common facial features (i.e., facial features 1-100) to IOT device B after receiving the acquisition requests.
An active issuing mode:
active issuing mode 1:
IOT device a sends facial features 1-100 to IOT device B, C. The transmission method may be broadcast, multicast, unicast, or the like, and is not particularly limited herein.
Active issuing mode 2:
when IOT device group 3 includes more IOT devices, such as IOT device group 1 also includes IOT device N, IOT device M.
The IOT device a divides the IOT devices of the IOT device group 3 into at least one sub-IOT device group. Assume that IOT device a is divided into two sub-IOT device groups, sub-IOT device group 3 and sub-IOT device group 4.
The child IOT device group 3 includes: IOT device A, IOT device B and IOT device C.
The child IOT device group 4 includes: IOT device M and IOT device N.
Assume that IOT device a selects IOT device M as the subgroup length.
In one aspect, IOT device a issues facial features 1-100 to IOT device B, IOT device C. On the other hand, the IOT device a issues the facial features 1 to 100 to the IOT device M, so that the IOT device M issues the facial features 1 to 100 to the IOT device N.
In addition, the face information issuing mode of the IOT device group 4 and the IOT device group 5 is the same as that of the IOT device group 3, and details are not repeated here.
Example 3: the issued face information is a face picture
Referring to fig. 5, fig. 5 is a schematic diagram illustrating a face information issue according to an exemplary embodiment of the present application.
In this networking, the management platform is included and IOT devices A, D, E, F belong to the same local area network.
Assume that the face images required by IOT devices A, D, E and F and the face feature extraction algorithm configured are shown in table 4.
IOT equipment Required human face picture Face feature extraction algorithm
IOT device A Face Picture 1-face Picture 100 Face feature extraction algorithm 1
IOT device D Face Picture 1-face Picture 100 Face feature extraction algorithm 1
IOT equipment E Face Picture 1-face Picture 80 Face feature extraction algorithm 1
IOT device F Face picture 50-face picture 100 Face feature extraction algorithm 2
TABLE 4
In this example, assume that the preset threshold for the number of faces in common is 50, and that IOT devices A, D, F and E are on the same local area network.
The management platform divides IOT devices A, D and E into IOT device group 1 and IOT devices A, D and F into IOT device group 2.
The management platform selects the IOT device A to be used as the main IOT device of the IOT device group 1 and the IOT device group 2 respectively.
The group information of the IOT device group is shown in table 5.
Figure BDA0002695035530000181
TABLE 5
1) For IOT device group 1
The management platform can detect whether the common face pictures 1-80 are sent to the IOT equipment A or not, and can send the face pictures 1-80 to the IOT equipment A and send the group information of the IOT equipment group 1 to the equipment A because the common face pictures 1-80 are not sent to the IOT equipment A.
Device a may record the common facial pictures 1-80. Device a may issue common face pictures 1-80 to IOT device D and IOT device E. The specific issuing manner is as described in step 304 in embodiment 1, and is not described herein again.
Further, non-common face information required for each IOT device in the IOT device group 1.
In an alternative implementation, the management platform may issue non-common face pictures 80-100 of IOT device a and non-common face pictures 80-100 of IOT device D to IOT device D, respectively.
In another alternative implementation, the management platform may issue to IOT device a non-common face picture union of IOT devices A, D and E (i.e., face pictures 80-100). IOT device a may then send face picture 80-100 to IOT device D.
2) For IOT equipment group 2 (the common face picture of IOT equipment group 2 is 50-100)
The management platform can detect whether the common face pictures which are not issued to the IOT equipment A exist in the common face pictures 50-100 to be issued to the IOT equipment A. Since common face pictures 1-100 have already been sent to IOT device a. Therefore, the common face pictures 50-100 do not have the common face pictures which are not yet issued to the IOT device a, so that the management platform can issue the group information of the IOT device group 1 to the device a. IOT device a may synchronize face pictures 50-100 to IOT device F.
Referring to fig. 6, fig. 6 is a hardware structure diagram of a management platform according to an exemplary embodiment of the present application.
The management platform comprises: a communication interface 601, a processor 602, a machine-readable storage medium 603, and a bus 604; wherein the communication interface 601, the processor 602, and the machine-readable storage medium 603 communicate with each other via a bus 604. The processor 502 may perform the above-described face information delivery method by reading and executing the machine-executable instructions in the machine-readable storage medium 603 corresponding to the face information delivery control logic.
The machine-readable storage medium 603 referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: volatile memory, non-volatile memory, or similar storage media. In particular, the machine-readable storage medium 503 may be a RAM (random Access Memory), a flash Memory, a storage drive (e.g., a hard disk drive), a solid state disk, any type of storage disk (e.g., a compact disk, a DVD, etc.), or similar storage medium, or a combination thereof.
Referring to fig. 7, fig. 7 is a block diagram of a face information issuing apparatus according to an exemplary embodiment of the present application. The device can be applied to a management platform and can comprise the following units.
A dividing unit 701, configured to divide all IOT devices that have been registered to the management platform and belong to a specified object into at least one IOT device group; IOT equipment in the same IOT equipment group is in the same local area network, and the number of the same face pictures required by any two different IOT equipment in the same IOT equipment group exceeds a preset threshold value;
a selecting unit 702, configured to select an IOT device from each IOT device group as a master IOT device of the IOT device group;
a sending unit 703 is configured to issue, to the master IOT device, group information of the IOT device group and common face information required by all IOT devices in the IOT device group, so that the master IOT device issues the common face information to other IOT devices in the IOT device group indicated by the group information.
Optionally, the sending unit 703 is further configured to determine a union of the non-common face information required by each other IOT device in the IOT device group; and sending the union set of the non-common face information to the main IOT equipment of the IOT equipment group, so that the main IOT equipment sends the non-common face information required by the IOT equipment to other IOT equipment.
Optionally, the sending unit 703 is configured to, when sending the common face information required by all the IOT devices in the IOT device group, send the common face information that is not sent to the main IOT device if there is common face information that is not sent to the main IOT device in the common face information required by all the IOT devices in the IOT device group.
Optionally, the face information is a face picture;
the sending unit 703 is configured to determine common face pictures required by all IOT devices in the IOT device group when issuing, to the master IOT device, the common face information required by all IOT devices in the IOT device group; and sending the common face picture to the main IOT equipment.
Optionally, different IOT devices in the same IOT device group have the same face feature extraction algorithm.
Optionally, the face information is a face feature;
the sending unit 703 is configured to determine common face pictures required by all IOT devices in the IOT device group when issuing, to the master IOT device, the common face information required by all IOT devices in the IOT device group; adopting a face feature extraction algorithm corresponding to the main IOT equipment to extract face features of the common face pictures to obtain common face features; and sending the common face features to the main IOT equipment.
Optionally, the sending unit 703 is further configured to, when detecting that the target IOT device is newly added to the IOT device group, send the target IOT device identifier and the non-common face information required by the target IOT device to the master IOT device of the IOT device group, so that the master IOT device sends the common face information and the non-common face information required by the target IOT device to the target IOT device.
Referring to fig. 8, fig. 8 is a hardware structure diagram of an IOT device according to an exemplary embodiment of the present application.
The IOT device includes: a communication interface 801, a processor 802, a machine-readable storage medium 803, and a bus 804; wherein the communication interface 801, the processor 802 and the machine-readable storage medium 803 communicate with each other via a bus 804. The processor 802 may perform the above-described face information issuing method by reading and executing the machine-executable instructions in the machine-readable storage medium 803 corresponding to the face information issuing control logic.
The machine-readable storage medium 803 referred to herein may be any electronic, magnetic, optical, or other physical storage device that can contain or store information such as executable instructions, data, and the like. For example, the machine-readable storage medium may be: volatile memory, non-volatile memory, or similar storage media. In particular, the machine-readable storage medium 803 may be a RAM (random Access Memory), a flash Memory, a storage drive (e.g., a hard drive), a solid state drive, any type of storage disk (e.g., a compact disk, a DVD, etc.), or similar storage medium, or a combination thereof.
Referring to fig. 9, fig. 9 is a block diagram of another face information issuing device according to an exemplary embodiment of the present application. The device can be applied to IOT equipment and can comprise the following units.
A determining unit 901, configured to determine, when determining that the device is a master IOT device in an IOT device group, other IOT devices in the IOT device group according to other IOT device identifiers included in group information of the IOT device group issued by a management platform;
a synchronizing unit 902, configured to synchronize, to other IOT devices, locally recorded common face information that is required by all IOT devices in the IOT device group and is issued by the management platform.
Optionally, the synchronizing unit 902 is configured to send the common face information to other IOT devices when synchronizing the common face information to the other IOT devices; or when receiving an acquisition request sent by other IOT devices, returning the common face information to the other IOT devices sending the acquisition request.
Optionally, the group information further includes: the algorithm identification of the face feature extraction algorithm configured for each IOT device in the IOT device group;
the synchronizing unit 902, when sending the common face information to other IOT devices, is configured to determine, according to the algorithm identifier, a target IOT device that is the same as the face feature extraction algorithm of the device and a non-target IOT device that is different from the face feature extraction algorithm of the device from all other IOT devices when the common face information is a common face picture; carrying out feature extraction on the common face pictures, and sending the extracted common face features to the target IOT equipment; and sending the common face picture to the non-target IOT equipment.
Optionally, the synchronizing unit 902, when sending the common face information to other IOT devices, is configured to divide all IOT devices in the IOT device group into at least one sub-IOT device group, and select one IOT device as a subgroup length from the other sub-IOT device groups except the target sub-IOT device group; the target sub IOT device group is a sub IOT device group in which the main IOT device is positioned; sending the common face information to each IOT device in the target sub-IOT device group; and sending the common face information to the subgroup leader of each other sub IOT device group, and sending the group information of the other sub IOT device group to the subgroup leader of the other IOT device group, so that the subgroup leader of the other IOT device group sends the common face information to each other IOT device in the other sub IOT device group based on the group information.
In addition, this application still provides a face information issuing system, the system includes:
the management platform is used for dividing all IOT equipment which is registered to the management platform and belongs to a specified object into at least one IOT equipment group; IOT equipment in the same IOT equipment group is in the same local area network, and the number of the same face pictures required by any two different IOT equipment in the same IOT equipment group exceeds a preset threshold value; selecting an IOT device from each IOT device group as a main IOT device of the IOT device group; issuing group information of the IOT equipment group and common face information required by all IOT equipment in the IOT equipment group to the main IOT equipment, so that the main IOT equipment issues the common face information to other IOT equipment in the IOT equipment group indicated by the group information;
the IOT equipment is used for determining other IOT equipment in the IOT equipment group according to other IOT equipment identifications contained in group information of the IOT equipment group issued by a management platform when the equipment is determined to be main IOT equipment in the IOT equipment group; and synchronizing the common face information which is locally recorded and is required by all the IOT equipment in the IOT equipment group and transmitted by the management platform to other IOT equipment.
Optionally, the management platform is further configured to determine a union of non-common face information required by each of the other IOT devices in the IOT device group; sending the union set of the non-common face information to a main IOT device of the IOT device group;
and the main IOT equipment is used for sending the non-common face information required by the IOT equipment to other IOT equipment.
Optionally, when sending the common face information required by all the IOT devices in the IOT device group, the management platform is configured to, in the common face information required by all the IOT devices in the IOT device group, if there is common face information that is not sent to the main IOT device, send the common face information that is not sent to the main IOT device.
Optionally, the face information is a face picture;
the management platform is used for determining common face pictures required by all the IOT equipment in the IOT equipment group when issuing the common face information required by all the IOT equipment in the IOT equipment group to the main IOT equipment; and sending the common face picture to the main IOT equipment.
Optionally, different IOT devices in the same IOT device group have the same face feature extraction algorithm.
Optionally, the face information is a face feature;
the management platform is used for determining common face pictures required by all the IOT equipment in the IOT equipment group when issuing the common face information required by all the IOT equipment in the IOT equipment group to the main IOT equipment; adopting a face feature extraction algorithm corresponding to the main IOT equipment to extract face features of the common face pictures to obtain common face features; and sending the common face features to the main IOT equipment.
Optionally, the IOT device, when synchronizing the common face information with other IOT devices, is configured to send the common face information to other IOT devices; or when receiving an acquisition request sent by other IOT devices, returning the common face information to the other IOT devices sending the acquisition request.
Optionally, the group information further includes: the algorithm identification of the face feature extraction algorithm configured for each IOT device in the IOT device group;
the IOT equipment is used for determining target IOT equipment with the same face feature extraction algorithm as the equipment and non-target IOT equipment with the different face feature extraction algorithm as the equipment from all other IOT equipment according to the algorithm identification under the condition that the common face information is a common face picture when the common face information is sent to other IOT equipment; carrying out feature extraction on the common face pictures, and sending the extracted common face features to the target IOT equipment; and sending the common face picture to the non-target IOT equipment.
Optionally, the IOT device, when synchronizing the common face information to other IOT devices, is configured to divide all IOT devices in the IOT device group into at least one sub-IOT device group, and select one IOT device as a subgroup length from the other sub-IOT device groups except the target sub-IOT device group; the target sub IOT device group is a sub IOT device group in which the main IOT device is positioned; sending the common face information to each IOT device in the target sub-IOT device group; and sending the common face information to the subgroup leader of each other sub IOT device group, and sending the group information of the other sub IOT device group to the subgroup leader of the other IOT device group, so that the subgroup leader of the other IOT device group sends the common face information to each other IOT device in the other sub IOT device group based on the group information.
Optionally, the management platform is further configured to send, when detecting that a target IOT device is newly added to the IOT device group, a target IOT device identifier and non-common face information required by the target IOT device to a master IOT device of the IOT device group;
and the master IOT equipment is used for sending the common face information and the non-common face information required by the target IOT equipment to the target IOT equipment.
In addition, referring to fig. 10, fig. 10 is a flowchart illustrating another method for issuing face information, where the method may include the following steps.
Step 1001: the management platform determines at least one piece of face information to be issued.
Step 1002: the management platform determines at least one IOT device needing the face information aiming at each face information, and divides the at least one IOT device into at least one IOT device group; the IOT devices in each IOT device group are in the same local area network.
Step 1003: the management platform determines common face information required by all IOT equipment in the IOT equipment group aiming at each IOT equipment group, selects one IOT equipment from the IOT equipment group as a main IOT equipment, issues group information and the common face information to the main IOT equipment, and the main IOT equipment issues the common face information to other IOT equipment in the IOT equipment group indicated by the group information, wherein the common face information comprises at least one face information.
In an optional issuing mode, the common face information is a face picture;
issuing the common face information to the master IOT device includes: and the management platform issues the common face picture to the main IOT equipment.
In another optional implementation manner, different IOT devices in the same IOT device group have the same face feature extraction algorithm;
issuing the common face information to the master IOT device includes:
and the management platform adopts a face feature extraction algorithm corresponding to the main IOT equipment to extract face features of the common face picture to obtain face features, and sends the face features to the main IOT equipment.
For example: the management platform determines that the face information to be issued comprises face information 1, face information 2 and face information 3.
The management platform determines at least one IOT device needing the face information aiming at each face information, and divides the at least one IOT device into at least one IOT device group to obtain an IOT device group 1 corresponding to the face information 1, wherein the IOT device group 1 comprises IOT devices A, IOT and B, IOT devices C;
the face information 2 corresponds to an IOT device group 1, and the IOT device group 1 includes IOT devices A, IOT and B, IOT and device C;
face information 3 corresponds to IOT device group 2, and IOT device group 2 includes IOT devices B, IOT and D, IOT and E.
The management platform determines common face information required by all IOT equipment in each IOT equipment group aiming at each IOT equipment group, and obtains the common face information corresponding to the IOT equipment group 1, wherein the common face information comprises face information 1 and face information 2;
the common face information corresponding to the IOT device group 2 includes face information 3.
If the management platform selects the IOT equipment A as the main IOT equipment of the IOT equipment group 1 and the IOT equipment B as the main IOT equipment of the IOT equipment group 2, sending the group information, the face information 1 and the face information 2 of the IOT equipment group 1 to the IOT equipment A; and issuing the group information of the IOT equipment group 2 and the face information 3 to the IOT equipment B.
Step 1004: when determining that the device is a master IOT device in an IOT device group, the IOT device determines other IOT devices in the IOT device group according to other IOT device identifiers included in group information of the IOT device group issued by a management platform;
step 1005: and the master IOT equipment synchronizes the common face information issued by the management platform to other IOT equipment.
The first implementation mode comprises the following steps: when receiving an acquisition request sent by other IOT equipment, the main IOT equipment returns the common face information to the other IOT equipment sending the acquisition request.
The second implementation mode comprises the following steps: and the master IOT equipment sends the common face information to other IOT equipment.
In an optional implementation manner, the group information further includes: the algorithm identification of the face feature extraction algorithm configured for each IOT device in the IOT device group;
the master IOT device sends the common face information to other IOT devices, including: the main IOT equipment determines target IOT equipment which has the same face feature extraction algorithm as the equipment and non-target IOT equipment which has the different face feature extraction algorithm from the equipment from all other IOT equipment according to the algorithm identification under the condition that the common face information is a common face picture; carrying out feature extraction on the common face pictures, and sending the extracted common face features to the target IOT equipment; and sending the common face picture to the non-target IOT equipment.
In another optional implementation manner, the sending, by the master IOT device, the common face information to the other IOT devices includes: dividing all IOT devices in the IOT device group into at least one sub-IOT device group, and selecting one IOT device as a sub-group length in other sub-IOT device groups except the target sub-IOT device group; the target sub IOT device group is a sub IOT device group in which the main IOT device is positioned; sending the common face information to each IOT device in the target sub-IOT device group; and sending the common face information to the subgroup leader of each other sub IOT device group, and sending the group information of the other sub IOT device group to the subgroup leader of the other IOT device group, so that the subgroup leader of the other IOT device group sends the common face information to each other IOT device in the other sub IOT device group based on the group information.
Specifically, refer to the descriptions in step 201 to step 205, which are not described herein again.
As can be seen from the above description, in the embodiment shown in fig. 10, when the management platform performs grouping, for each piece of face information, the IOT devices that need the face information and are in the same local area network are divided into an IOT device group. Therefore, the IOT equipment group corresponding to each piece of face information can be obtained. The management platform may determine, for each IOT device group, all face information corresponding to the IOT device group (i.e., all common face information required by all IOT devices of the IOT device group), and then the management platform may issue the face information corresponding to each IOT device group to a master IOT device in each IOT device group, so that the master IOT device synchronizes the face information to other IOT devices. Therefore, the management platform can realize that a plurality of IOT devices share the common face information only by issuing a piece of common face information to the main IOT devices of each IOT device group, so that the bandwidth resources and the processing resources of the management platform are greatly saved, and the processing performance of the management platform is greatly improved.
In addition, the application also provides another face information issuing device which can be applied to a management platform.
Referring to fig. 11, fig. 11 is a block diagram of a face information issuing device according to an exemplary embodiment of the present application, where the face information issuing device may be applied to a management platform and may include the following units.
A determining unit 1101, configured to determine, by the management platform, at least one piece of face information to be delivered;
a grouping unit 1102, configured to determine, for each face information, at least one IOT device that needs the face information, and divide the at least one IOT device into at least one IOT device group; IOT equipment in each IOT equipment group is in the same local area network;
an issuing unit 1103, configured to determine, for each IOT device group, common face information required by all IOT devices in the IOT device group, select one IOT device from the IOT device group as a main IOT device, and issue group information and the common face information to the main IOT device, so that the main IOT device issues the common face information to other IOT devices in the IOT device group indicated by the group information, where the common face information includes at least one piece of face information.
Optionally, the face information is a face picture;
the issuing unit 1103 is configured to issue the common face picture to the main IOT device when issuing the common face information to the main IOT device.
Optionally, different IOT devices in the same IOT device group have the same face feature extraction algorithm;
the issuing unit 1103 is configured to, when issuing the common face information to the master IOT device, perform face feature extraction on the common face picture by using a face feature extraction algorithm corresponding to the master IOT device to obtain a face feature, and send the face feature to the master IOT device.
Referring to fig. 12, fig. 12 is a block diagram of a face information issuing apparatus according to an exemplary embodiment of the present application, where the apparatus may be applied to an IOT device, and may include:
a determining unit 1201, configured to determine, when determining that a device is a master IOT device in an IOT device group, other IOT devices in the IOT device group according to other IOT device identifiers included in group information of the IOT device group issued by a management platform;
and the issuing unit 1202 is configured to synchronize the common face information issued by the management platform to other IOT devices.
Optionally, the issuing unit 1202 is configured to, when receiving an acquisition request sent by another IOT device, return the common face information to the other IOT device that sends the acquisition request; or sending the common face information to other IOT equipment.
Optionally, the issuing unit 1202, the group information further includes: the algorithm identification of the face feature extraction algorithm configured for each IOT device in the IOT device group;
the issuing unit 1202 is configured to, when the master IOT device sends the common face information to the other IOT devices, determine, according to the algorithm identifier, a target IOT device that is the same as the face feature extraction algorithm of the device and a non-target IOT device that is different from the face feature extraction algorithm of the device from all the other IOT devices when the common face information is a common face picture; carrying out feature extraction on the common face pictures, and sending the extracted common face features to the target IOT equipment; and sending the common face picture to the non-target IOT equipment.
Optionally, the issuing unit 1202 is configured to, when sending the common face information to other IOT devices, divide all IOT devices in the IOT device group into at least one sub-IOT device group, and select one IOT device as a sub-group length from other sub-IOT device groups except the target sub-IOT device group; the target sub IOT device group is a sub IOT device group in which the main IOT device is positioned; sending the common face information to each IOT device in the target sub-IOT device group; and sending the common face information to the subgroup leader of each other sub IOT device group, and sending the group information of the other sub IOT device group to the subgroup leader of the other IOT device group, so that the subgroup leader of the other IOT device group sends the common face information to each other IOT device in the other sub IOT device group based on the group information.
In addition, the application also provides another face information issuing method and device.
Referring to fig. 13, fig. 13 is a flowchart illustrating another method for issuing face information according to an exemplary embodiment of the present application, where the method may include the following steps.
Step 1301: the management platform divides all IOT equipment which is registered to the management platform and belongs to a specified object into at least one IOT equipment group; IOT equipment in the same IOT equipment group is in the same local area network, and the number of the same face pictures needed by any two different IOT equipment in the same IOT equipment group exceeds a preset threshold value.
Step 1302: the management platform selects an IOT device from each IOT device group as a master IOT device for the IOT device group.
Specifically, refer to step 201 and step 202, which are not described herein again.
Step 1303: the management platform issues group information of the IOT device group and a union set of face information required by each IOT device in the IOT device group to the main IOT device, so that the main IOT device issues the face information required by each IOT device to other IOT devices in the IOT device group indicated by the group information.
For example: suppose there are 4 IOT devices, i.e., IOT device 1, IOT device 2, IOT device 3, and IOT device 4.
The face images required by the IOT device 1 and the IOT device 2 are all images 1 to 100;
the face image required by the IOT device 3 is face image 20 to face image 100;
the face images required by the IOT device 4 are face images 1 to 70;
the preset threshold is 50.
The management platform may divide IOT device 1, IOT device 2, IOT device 3, and IOT device 4 into IOT device group 1. If the IOT device 1 is selected as the master device of the IOT device group 1, the union of the face information required by each IOT device in the IOT device group 1 is the face image 1-100, and the management platform issues the group information of the IOT device group 1 and the face image 1-100 to the IOT device 1.
The IOT device 1 synchronizes the face images 1-19 to the IOT device 2 and the IOT device 4, synchronizes the face images 20-70 to the IOT device 2, the IOT device 3 and the IOT device 4, and synchronizes the face images 71-100 to the IOT device 2 and the IOT device 3 based on the group information issued by the management platform, so that other IOT devices in the group can obtain the required face information.
Optionally, the union of the face information required by each IOT device in the IOT device group includes:
in the union set of the face information required by all the IOT devices in the IOT device group, if there is face information that is not issued to the main IOT device, the face information that is not issued is issued to the main IOT device.
In an optional issuing mode, the face information is a face picture;
issuing the union of the face information to the main IOT equipment comprises the following steps: and the management platform issues the union set of the face pictures to the main IOT equipment.
In another optional implementation manner, different IOT devices in the same IOT device group have the same face feature extraction algorithm;
issuing the face information to the main IOT equipment comprises the following steps:
and the management platform adopts a face feature extraction algorithm corresponding to the main IOT equipment to extract the face features of each face picture in the face picture union set to obtain a face feature union set, and sends the face feature union set to the main IOT equipment.
Step 1304: when determining that the device is a master IOT device in an IOT device group, the IOT device determines other IOT devices in the IOT device group according to other IOT device identifiers included in group information of the IOT device group issued by a management platform;
step 1305: and the main IOT equipment sends the face information required by other IOT equipment to other IOT equipment.
In an optional implementation manner, when receiving an acquisition request sent by another IOT device, a master IOT device sends face information requested by the acquisition request to the other IOT device.
In another alternative implementation, the master IOT device may send face information required by the other IOT devices to the other IOT devices.
In another optional implementation manner, for each piece of face information, the master IOT device determines at least one other IOT device in the IOT device group that needs the face information, divides the at least one other IOT device into a sub-device group, and determines that the face information corresponds to the sub-device group. Therefore, the sub-device group corresponding to each face information can be determined.
For each sub-device group, the master IOT device may determine at least one piece of face information corresponding to the sub-device group, and then the master IOT device may send the at least one piece of face information corresponding to the sub-device group to other IOT devices in the sub-device group.
For example, assume IOT device group 1 includes 4 IOT devices, i.e., IOT device 1, IOT device 2, IOT device 3, and IOT device 4, where IOT device 1 is the master IOT device.
It is assumed that the group information issued by the management platform to the IOT device 1 includes: the face pictures needed by the IOT equipment 1 and the IOT equipment 2 are face pictures 1-100, and the face images needed by the IOT equipment 3 are face images 20-100; the face images required by the IOT device 4 are face images 1-70.
In addition, the management platform issues to the IOT device 1 a union of face pictures (i.e., face pictures 1-100) common to all IOT devices in the IOT device group 1.
The IOT device 1 may determine, for the face picture 1, that the IOT device 2 and the IOT device 4 both require the face picture 1, and the IOT device 1 divides the IOT device 2 and the IOT device 4 into a sub-device group 1, where the sub-device group 1 corresponds to the face picture 2.
This method may determine that the sub-device group 1 corresponds to the face pictures 1-19, so the IOT device 1 may send the face pictures 1-19 to the IOT devices in the sub-device group 1 (i.e., IOT device 2 and IOT device 4).
The IOT device 1 may determine, for the face picture 20, that the IOT device 2, the IOT device 3, and the IOT device 4 all require the face picture 20, and the IOT device 1 divides the IOT device 2, the IOT device 3, and the IOT device 4 into a sub-device group 2, where the sub-device group 2 corresponds to the face picture 20.
The method determines that the sub-device group 2 corresponds to the face pictures 20-70, and the IOT device 1 can provide the face pictures 20-70 to the sub-device group 2 (i.e., the IOT device 2, the IOT device 3, and the IOT device 4)
For the face picture 71, the IOT device 1 may determine that the face picture 571 is needed by both the IOT device 2 and the IOT device 3, and the IOT device 1 divides the IOT device 2 and the IOT device 3 into a sub-device group 3, where the sub-device group 3 corresponds to the face picture 71.
From this method, it can be determined that sub-device group 3 corresponds to face picture 71-100, and IOT device 1 can send face picture 71-100 to sub-device group 3 (i.e., IOT device 2 and IOT device 3).
As can be seen from the above description, in the embodiment shown in fig. 13, the management platform divides IOT devices in the same lan, where common face information exceeds a preset threshold, into an IOT device group. Then, the management platform issues a union set of face information required by all the IOT devices in each IOT device group to the master IOT device of the IOT device group, so that the master IOT device issues the face information required by the IOT device to the other IOT devices in the IOT device group. Therefore, the management platform can realize that a plurality of IOT devices acquire the respective required face information only by issuing a copy of face information union set required by all the IOT devices in the IOT device group to the main IOT devices of each IOT device group, thereby greatly saving the bandwidth resources and the processing resources of the management platform and greatly improving the processing performance of the management platform.
Referring to fig. 14, fig. 14 is a block diagram of a face information issuing device according to an exemplary embodiment of the present application, where the face information issuing device may be applied to a management platform and may include the following units.
A dividing unit 1401 configured to divide all IOT devices that have been registered to the management platform and belong to a specified object into at least one IOT device group; IOT equipment in the same IOT equipment group is in the same local area network, and the number of the same face pictures required by any two different IOT equipment in the same IOT equipment group exceeds a preset threshold value;
a selecting unit 1402, configured to select an IOT device from each IOT device group as a master IOT device of the IOT device group;
a sending unit 1403, configured to issue, to the master IOT device, the group information of the IOT device group and a union of face information required by each IOT device in the IOT device group, so that the master IOT device issues, to other IOT devices in the IOT device group indicated by the group information, the face information required by each IOT device.
Optionally, the sending unit 1403 is configured to, when merging the face information needed by all the IOT devices in the IOT device group, merge the faces needed by all the IOT devices in the IOT device group, and if there is face information that is not sent to the main IOT device, send the face information that is not sent to the main IOT device.
Optionally, the face information is a face picture;
the sending unit 1403, when issuing, to the master IOT device, the face information union needed by all IOT devices in the IOT device group, is used to determine the face image union needed by all IOT devices in the IOT device group; and sending the common face picture union set to the main IOT equipment.
Optionally, different IOT devices in the same IOT device group have the same face feature extraction algorithm.
Optionally, the face information is a face feature;
the sending unit 1403, when issuing, to the master IOT device, the face information union needed by all IOT devices in the IOT device group, is used to determine the face image union needed by all IOT devices in the IOT device group; extracting the face features of each face picture in the face picture union set by adopting a face feature extraction algorithm corresponding to the main IOT equipment to obtain a face feature union set; and sending the face feature union set to the main IOT equipment.
Referring to fig. 15, fig. 15 is a block diagram of a face information issuing apparatus according to an exemplary embodiment of the present application, where the apparatus may be applied to an IOT device and may include the following units.
A receiving unit 1501, configured to determine, when it is determined that the device is a master IOT device in an IOT device group, other IOT devices in the IOT device group according to other IOT device identifiers included in group information of the IOT device group sent by a management platform;
a synchronization unit 1502 is configured to send, to each of the other IOT devices, face information required by the other IOT devices.
Optionally, the synchronizing unit 1502 is configured to, when sending the face information required by each other IOT device to the other IOT devices, send, when receiving an acquisition request sent by the other IOT devices, the face information requested by the acquisition request to the other IOT devices, or send, to the other IOT devices, the face information required by the other IOT devices.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. 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 can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (13)

1. A face information issuing method is applied to a management platform for managing at least one IOT (Internet of things) device, and comprises the following steps:
dividing all IOT devices which are registered to the management platform and belong to a specified object into at least one IOT device group; IOT equipment in the same IOT equipment group is in the same local area network, and the number of the same face pictures required by any two different IOT equipment in the same IOT equipment group exceeds a preset threshold value;
selecting an IOT device from each IOT device group as a main IOT device of the IOT device group;
and issuing the group information of the IOT equipment group and the common face information required by all the IOT equipment in the IOT equipment group to the main IOT equipment, so that the main IOT equipment issues the common face information to other IOT equipment in the IOT equipment group indicated by the group information.
2. The method of claim 1, further comprising:
determining a union set of non-common face information required by each IOT device in the IOT device group;
and sending the union set of the non-common face information to the main IOT equipment of the IOT equipment group, so that the main IOT equipment sends the non-common face information required by the IOT equipment to other IOT equipment.
3. The method of claim 1, wherein issuing, to the master IOT device, common face information required by all IOT devices in the IOT device group includes:
and if the common face information which is not issued to the main IOT equipment exists in the common face information required by all the IOT equipment in the IOT equipment group, issuing the common face information which is not issued to the main IOT equipment.
4. A method for issuing face information is characterized in that the method is applied to IOT equipment and comprises the following steps:
when determining that the device is a master IOT device in an IOT device group, determining other IOT devices in the IOT device group according to other IOT device identifications contained in group information of the IOT device group issued by a management platform;
and synchronizing the common face information which is locally recorded and is required by all the IOT equipment in the IOT equipment group and transmitted by the management platform to other IOT equipment.
5. The method of claim 4, wherein the group information further comprises: the algorithm identification of the face feature extraction algorithm configured for each IOT device in the IOT device group;
the synchronizing, to other IOT devices, the locally recorded common face information required by all IOT devices in the IOT device group issued by the management platform includes:
under the condition that the common face information is a common face picture, determining target IOT equipment which is the same as the face feature extraction algorithm of the equipment and non-target IOT equipment which is different from the face feature extraction algorithm of the equipment from all other IOT equipment according to the algorithm identification;
carrying out feature extraction on the common face pictures, and sending the extracted common face features to the target IOT equipment;
and sending the common face picture to the non-target IOT equipment.
6. The method of claim 4, wherein the synchronizing the locally recorded common face information required by all the IOT devices in the IOT device group issued by the management platform to other IOT devices comprises:
dividing all IOT devices in the IOT device group into at least one sub-IOT device group, and selecting one IOT device as a sub-group length in other sub-IOT device groups except the target sub-IOT device group; the target sub IOT device group is a sub IOT device group in which the main IOT device is positioned;
sending the common face information to each IOT device in the target sub-IOT device group;
and sending the common face information to the subgroup leader of each other sub IOT device group, and sending the group information of the other sub IOT device group to the subgroup leader of the other IOT device group, so that the subgroup leader of the other IOT device group sends the common face information to each other IOT device in the other sub IOT device group based on the group information.
7. A face information issuing method is applied to a management platform for managing at least one IOT (Internet of things) device, and comprises the following steps:
dividing all IOT devices which are registered to the management platform and belong to a specified object into at least one IOT device group; IOT equipment in the same IOT equipment group is in the same local area network, and the number of the same face pictures required by any two different IOT equipment in the same IOT equipment group exceeds a preset threshold value;
selecting an IOT device from each IOT device group as a main IOT device of the IOT device group;
and issuing group information of the IOT equipment group and a union set of face information required by each IOT equipment in the IOT equipment group to the main IOT equipment, so that the main IOT equipment issues the face information required by each IOT equipment to other IOT equipment in the IOT equipment group indicated by the group information.
8. A face information issuing method is applied to a management platform for managing at least one IOT (Internet of things) device, and comprises the following steps:
determining at least one piece of face information to be issued;
determining at least one IOT device which needs the face information aiming at each face information, and dividing the at least one IOT device into at least one IOT device group; IOT equipment in each IOT equipment group is in the same local area network;
for each IOT equipment group, determining common face information required by all IOT equipment in the IOT equipment group, selecting one IOT equipment from the IOT equipment group as a main IOT equipment, issuing group information and the common face information to the main IOT equipment, and issuing the common face information to other IOT equipment in the IOT equipment group indicated by the group information by the main IOT equipment, wherein the common face information comprises at least one face information.
9. The device for issuing the face information is applied to a management platform for managing at least one IOT (Internet of things) device, and comprises the following components:
a dividing unit, configured to divide all IOT devices that have been registered to the management platform and belong to a specified object into at least one IOT device group; IOT equipment in the same IOT equipment group is in the same local area network, and the number of the same face pictures required by any two different IOT equipment in the same IOT equipment group exceeds a preset threshold value;
a selecting unit, configured to select one IOT device from each IOT device group as a master IOT device of the IOT device group;
a sending unit, configured to issue, to the master IOT device, group information of the IOT device group and common face information required by all IOT devices in the IOT device group, so that the master IOT device issues the common face information to other IOT devices in the IOT device group indicated by the group information.
10. A kind of sending down device of the face information, characterized by that, the said device applies to IOT apparatus, the said device includes:
the system comprises a receiving unit and a processing unit, wherein the receiving unit is used for receiving common face information required by all IOT equipment of an IOT equipment group issued by a management platform when the equipment is determined to be main IOT equipment in the IOT equipment group;
and the synchronization unit is used for synchronizing the common face information to other IOT equipment according to other IOT equipment identifications contained in the group information of the IOT equipment group issued by the management platform.
11. The device for issuing the face information is applied to a management platform for managing at least one IOT (Internet of things) device, and comprises the following components:
a dividing unit, configured to divide all IOT devices that have been registered to the management platform and belong to a specified object into at least one IOT device group; IOT equipment in the same IOT equipment group is in the same local area network, and the number of the same face pictures required by any two different IOT equipment in the same IOT equipment group exceeds a preset threshold value;
a selecting unit, configured to select one IOT device from each IOT device group as a master IOT device of the IOT device group;
a sending unit, configured to issue, to the master IOT device, group information of the IOT device group and a union of face information required by each IOT device in the IOT device group, so that the master IOT device issues, to other IOT devices in the IOT device group indicated by the group information, the face information required by each IOT device.
12. The device for issuing the face information is applied to a management platform for managing at least one IOT (Internet of things) device, and comprises the following components:
the determining unit is used for determining at least one piece of face information to be issued;
the grouping unit is used for determining at least one IOT device which needs the face information aiming at each face information and dividing the at least one IOT device into at least one IOT device group; IOT equipment in each IOT equipment group is in the same local area network;
the issuing unit is configured to determine, for each IOT device group, common face information required by all IOT devices in the IOT device group, select one IOT device from the IOT device group as a main IOT device, issue group information and the common face information to the main IOT device, and issue the common face information to other IOT devices in the IOT device group indicated by the group information by the main IOT device, where the common face information includes at least one piece of face information.
13. An electronic device, comprising a readable storage medium and a processor;
wherein the readable storage medium is configured to store machine executable instructions;
the processor is configured to read the machine executable instructions on the readable storage medium and execute the instructions to implement the steps of the method of any one of claims 1 to 8.
CN202011003228.8A 2020-09-22 2020-09-22 Method, device and equipment for issuing face information Active CN112114985B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011003228.8A CN112114985B (en) 2020-09-22 2020-09-22 Method, device and equipment for issuing face information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011003228.8A CN112114985B (en) 2020-09-22 2020-09-22 Method, device and equipment for issuing face information

Publications (2)

Publication Number Publication Date
CN112114985A true CN112114985A (en) 2020-12-22
CN112114985B CN112114985B (en) 2024-03-01

Family

ID=73800273

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011003228.8A Active CN112114985B (en) 2020-09-22 2020-09-22 Method, device and equipment for issuing face information

Country Status (1)

Country Link
CN (1) CN112114985B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116682167A (en) * 2023-08-01 2023-09-01 山东威尔数据股份有限公司 Cluster type IoT-based face feature extraction method

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180083836A1 (en) * 2016-09-19 2018-03-22 Amazon Technologies, Inc. Group Command Management For Device Groups
CN109361638A (en) * 2017-12-27 2019-02-19 广州Tcl智能家居科技有限公司 Smart machine control authority shared method, system and storage medium
CN109858371A (en) * 2018-12-29 2019-06-07 深圳云天励飞技术有限公司 The method and device of recognition of face
CN110688974A (en) * 2019-09-30 2020-01-14 支付宝(杭州)信息技术有限公司 Identity recognition method and device
CN111147301A (en) * 2019-12-27 2020-05-12 咻享智能(深圳)有限公司 Wireless Internet of things grouping management method and related device
CN111353357A (en) * 2019-01-31 2020-06-30 杭州海康威视数字技术股份有限公司 Face modeling system, method and device
CN111626074A (en) * 2019-02-27 2020-09-04 北京奇虎科技有限公司 Face classification method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180083836A1 (en) * 2016-09-19 2018-03-22 Amazon Technologies, Inc. Group Command Management For Device Groups
CN109361638A (en) * 2017-12-27 2019-02-19 广州Tcl智能家居科技有限公司 Smart machine control authority shared method, system and storage medium
CN109858371A (en) * 2018-12-29 2019-06-07 深圳云天励飞技术有限公司 The method and device of recognition of face
CN111353357A (en) * 2019-01-31 2020-06-30 杭州海康威视数字技术股份有限公司 Face modeling system, method and device
CN111626074A (en) * 2019-02-27 2020-09-04 北京奇虎科技有限公司 Face classification method and device
CN110688974A (en) * 2019-09-30 2020-01-14 支付宝(杭州)信息技术有限公司 Identity recognition method and device
CN111147301A (en) * 2019-12-27 2020-05-12 咻享智能(深圳)有限公司 Wireless Internet of things grouping management method and related device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116682167A (en) * 2023-08-01 2023-09-01 山东威尔数据股份有限公司 Cluster type IoT-based face feature extraction method
CN116682167B (en) * 2023-08-01 2023-10-27 山东威尔数据股份有限公司 Cluster type IoT-based face feature extraction method

Also Published As

Publication number Publication date
CN112114985B (en) 2024-03-01

Similar Documents

Publication Publication Date Title
CN111368622B (en) Personnel identification method and device and storage medium
CN108683668B (en) Resource checking method, device, storage medium and equipment in content distribution network
CN107092686B (en) File management method and device based on cloud storage platform
CN106529515B (en) Facial feature library management method and system
CN108848034B (en) Network equipment and table entry learning method
CN110427249A (en) Method for allocating tasks, pod initial method and relevant apparatus
CN102045305B (en) Method and system for monitoring and tracking multimedia resource transmission
CN103475899B (en) Data distributing method and device
CN104067239A (en) Systems and methods for data chunk deduplication
WO2018121405A1 (en) Method and device for transmitting stream data
CN109753848B (en) Method, device and system for executing face recognition processing
CN102025550A (en) System and method for managing data in distributed cluster
CN101969398A (en) Aging method and system of MAC (Media Access Control) address
CN108881354A (en) A kind of pushed information storage method, device, server and computer storage medium
CN103064757A (en) Method and system for backing up data
CN105991412A (en) Method and device for pushing message
CN109600410A (en) Data-storage system and method
CN112114985B (en) Method, device and equipment for issuing face information
CN105989139A (en) Affair synchronization method and equipment
CN113301378B (en) Broadcast signaling transmission method, device, system, electronic device and storage medium
CN109525633B (en) Block chain network, message sending method and message receiving method based on block chain network
CN109583615B (en) Conference room booking method, conference room booking system, conference room booking server and computer readable storage medium
CN101938411B (en) Method and equipment for processing ND snooping item
CN111800494B (en) Equipment online method, system and device and electronic equipment
CN111061916B (en) Video sharing system based on multi-target library image recognition

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