WO2023273051A1 - Information processing method, system, and apparatus, computer device, and storage medium - Google Patents

Information processing method, system, and apparatus, computer device, and storage medium Download PDF

Info

Publication number
WO2023273051A1
WO2023273051A1 PCT/CN2021/126455 CN2021126455W WO2023273051A1 WO 2023273051 A1 WO2023273051 A1 WO 2023273051A1 CN 2021126455 W CN2021126455 W CN 2021126455W WO 2023273051 A1 WO2023273051 A1 WO 2023273051A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
information
registered user
group
task
Prior art date
Application number
PCT/CN2021/126455
Other languages
French (fr)
Chinese (zh)
Inventor
徐建兴
雷震宇
雷水鱼
张帅
Original Assignee
成都商汤科技有限公司
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 成都商汤科技有限公司 filed Critical 成都商汤科技有限公司
Publication of WO2023273051A1 publication Critical patent/WO2023273051A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication

Definitions

  • the present disclosure relates to the technical field of the Internet of Things, and in particular, to an information processing method, device, system, computer equipment, and storage medium.
  • Internet of Things devices have been widely used in various scenarios, such as face recognition systems, which bring great convenience to people's lives.
  • most of the identification for users is to upload the image to the server after the device obtains the user's identification image, and the server performs a full comparison with the identification image based on the authentication image stored in the gallery, so that Determine the recognition result corresponding to the recognition image and deliver the recognition result to the device, thereby completing the recognition.
  • Embodiments of the present disclosure at least provide an information processing method, system, device, computer equipment, and storage medium, so as to improve recognition speed, efficiency, and accuracy.
  • an embodiment of the present disclosure provides an information processing method, including:
  • the first registered user information includes user face images
  • the device that needs to be stored for the first registered user information corresponding to the at least one first user can be determined. After obtaining the first registered user information of at least one first user, based on the first task, it is possible to pre-deliver the first registered user message corresponding to the at least one first user to at least one first target in the first device group device, so that the first target device can store the received first registered user information.
  • the first target device can identify and authenticate the first user based on the stored first registered user information, without sending the obtained first registered user information to the server for identification, by sending and storing the first registered user information in advance , improving the recognition speed and recognition efficiency, the first target device can use the stored first registered user information to authenticate the first user, and on the basis of reducing the registered user information that needs to be compared, the accuracy of the recognition result can be improved.
  • the method before the acquiring the first task, the method further includes:
  • the first task is generated based on the first user group and the first device group.
  • the flexibility of determining the first user group and the first device group can be improved, and further, the flexibility of generating the first task can be improved.
  • the method before the acquiring the first task, the method further includes:
  • the first task is generated based on the first user group and the first device group.
  • Different preset attribute types can reflect different attribute characteristics of users, for example, whitelist attributes and blacklist attributes. Therefore, based on the registered user information and the preset attribute type of at least one user, the first attribute feature corresponding to at least one user can be determined.
  • the preset attribute feature is the attribute feature of the preset first user group, so based on the preset attribute feature and the first attribute feature of at least one user, the first user group matching the first user group can be accurately screened out.
  • the device attribute features that match the first user group are attributes corresponding to the first device group. Therefore, based on the device attribute features, it is possible to accurately filter out the devices that the user forms the first device group.
  • the method before the acquiring the first task, the method further includes:
  • the first user group is generated based on the determined target user and any first user.
  • the acquiring the first task includes:
  • the threshold of the number of concurrent tasks can reflect the maximum number of tasks that the server can concurrently execute currently, and is determined by the corresponding real-time network status on the server side and the network bandwidth required for one or more tasks to be executed. Based on the threshold of the number of concurrent tasks, a plurality of first tasks matching the threshold of the number of concurrent tasks can be screened out, thereby, based on the first user group corresponding to one or more first tasks among the screened out multiple first tasks and the first device group to implement concurrent execution of multiple first tasks that are screened out, thereby improving the efficiency of task execution.
  • sending the first registered user information of at least one first user to at least one first target device in the first device group include:
  • the undelivered device as at least one first target device
  • sending the first registered user information of at least one first user to at least one first target device in the first device group include:
  • the information volumes corresponding to different first user registration information are of different sizes, and the network bandwidths required for transmission of different sizes of information volumes are different. Based on the network bandwidth information of the transmission network, the network bandwidth of the transmission network can be accurately determined, and further, based on the network bandwidth and the amount of information corresponding to the first registered user information of at least one first user, it can be realized that at least one first user
  • the users are divided into one or more transmission groups, wherein the total amount of information of the first registered user information corresponding to the one or more transmission groups matches the network bandwidth.
  • the first user registration information of the first user in one or more transmission groups is sequentially sent to the first target device, which can realize orderly sending of the first registered user information, which is conducive to improving the efficiency of sending the first registration information. Efficiency of user information.
  • sending the first registered user information of at least one first user to at least one first target device in the first device group include:
  • the security of the first registered user information can be effectively improved.
  • the method also includes:
  • the third registered user information of the second user is distributed in a timely manner based on the second user group and the second device group corresponding to the associated second task to at least one device in the second device group, thereby realizing the timely storage of the third registered user information.
  • sending the first registered user information of at least one first user to at least one first target device in the first device group also include:
  • the storage result indicates that the first registered user information has not been successfully stored, resend the first registered user information to any one of the first target devices.
  • the first target device may try to store the re-received first registered user information to achieve the second A target device can store the first registered user information in time.
  • the storage failure reason indicates that the information format of the first registered user information is wrong
  • adjust the format of the first registered user information according to the preset storage format corresponding to any one of the first target devices Obtain the adjusted first registered user information
  • the preset threshold is used to characterize the maximum number of storage failures of the first target device. If the number of storage failures is determined to be less than the preset threshold, it means that the first target device can store the first registered user information under normal circumstances. In the case where the storage failure reason indicates that the information format of the first registered user information is wrong, by adjusting the first registered user information, it can be ensured that the correct first registered user information is obtained through adjustment, and then it is sent to the first registered user information.
  • a target device capable of storing the information of the first registered user in time.
  • the method further includes:
  • a certain function can be replaced between devices with close location information. Therefore, based on the location information, a temporary replacement device that can be selected by the management device to temporarily replace the first target device can be provided. By feeding back the device status to the management device, it is beneficial for the management device to obtain the device status of the first target device in time, realize the detection of the device status of the first target device, and adjust the first target device in time according to the device status.
  • an embodiment of the present disclosure further provides an information processing system, including: the first target device as described in the first aspect above, or the steps in any possible implementation manner of the first aspect, such as The above-mentioned first aspect, or the server in the steps in any possible implementation manner of the first aspect, and the management device in the steps in the above-mentioned possible implementation manners in the first aspect;
  • the first target device is configured to acquire first user registration information, store the first user registration information, and perform face recognition on the face image to be recognized based on the stored first registered user information;
  • the management device is configured to receive a recommended user group fed back by the server; and return a first user group and a designated first device group to the server based on the recommended user group.
  • an embodiment of the present disclosure further provides an information processing device, including:
  • the first obtaining module is used to obtain the first task
  • a determining module configured to determine a first user group and a first device group corresponding to the first task based on the first task
  • the second acquisition module is configured to acquire the pre-stored first registered user information of at least one first user in the first user group; the first registered user information includes user face images;
  • a sending module configured to send at least one first registered user information of the first user to at least one first target device in the first device group in response to the first task; the first target device and performing face recognition on the face image to be recognized based on the stored first registered user information.
  • the device also includes:
  • the first generation module is used to select the first registered user from at least one generated user group based on the first registered user information input by the first user during registration before the acquisition of the first task Recommended user groups whose information is related;
  • the first task is generated based on the first user group and the first device group.
  • the device also includes:
  • the second generation module determines the first attribute characteristics of the at least one user under the preset attribute type based on the registered user information of at least one user before the acquisition of the first task;
  • the first task is generated based on the first user group and the first device group.
  • the device also includes:
  • the third generating module is used to determine at least one registered user designated by any first user before said obtaining the first task;
  • the first user group is generated based on the determined target user and any first user.
  • the first acquisition module is configured to determine the threshold of the number of concurrent tasks according to the real-time network status and the network bandwidth required by one or more tasks;
  • the sending module is configured to, in response to the first task, for each of at least one first user, based on the information corresponding to one or more devices in the first device group information delivery records, judging whether the first registered user information of the first user has been delivered to one or more devices corresponding to the information delivery records;
  • the undelivered device as at least one first target device
  • the sending module is configured to, in response to the first task, based on the network bandwidth information of the transmission network and the information amount corresponding to the first registered user information of at least one first user, dividing at least one of said first users into one or more transmission groups;
  • the sending module is configured to send the first registered user information of at least one first user to the first device group in the first device group in response to the first task.
  • At least one first target device comprising:
  • the device also includes:
  • a third acquiring module configured to acquire third registered user information of the second user
  • the sending module is further configured to send the third registered user information of the second user to the second task corresponding to the second task if there is a second task associated with the second user group. At least one second target device in the device group.
  • the sending module is further configured to, in the response to the first task, send at least one first registered user information of the first user to the first device group After at least one first target device in the at least one first target device, obtain the storage result of the first registered user information fed back by any first target device in the at least one first target device;
  • the storage result indicates that the first registered user information has not been successfully stored, resend the first registered user information to any one of the first target devices.
  • the sending module is configured to acquire the storage failure times corresponding to any first target device when the storage result indicates that the first registered user information has not been stored successfully ;
  • the storage failure reason indicates that the information format of the first registered user information is wrong
  • adjust the format of the first registered user information according to the preset storage format corresponding to any one of the first target devices Obtain the adjusted first registered user information
  • the sending module is further configured to, after acquiring the number of storage failures corresponding to any first target device, if the number of storage failures is greater than a preset threshold, Determining that the device state of any target device is an operation failure state;
  • an optional implementation manner of the present disclosure further provides a computer device, a processor, and a memory, where the memory stores machine-readable instructions executable by the processor, and the processor is configured to execute the instructions stored in the memory.
  • machine-readable instructions when the machine-readable instructions are executed by the processor, when the machine-readable instructions are executed by the processor, the above-mentioned first aspect is executed, or any possible implementation of the first aspect steps in the method.
  • an optional implementation mode of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the above-mentioned first aspect, or any one of the first aspects in the first aspect may be executed. Steps in one possible implementation.
  • an optional implementation manner of the present disclosure further provides a computer program product, including computer readable codes, or a volatile computer readable storage medium or a nonvolatile computer readable storage medium carrying computer readable codes , when the computer-readable code runs in a processor of the electronic device, the processor in the electronic device executes the steps in the above first aspect, or any possible implementation manner of the first aspect.
  • FIG. 1 shows a flowchart of an information processing method applied to a server provided by an embodiment of the present disclosure
  • FIG. 2 shows a flowchart of a method for generating a first task provided by an embodiment of the present disclosure
  • FIG. 3 shows a flow chart of another method for generating a first task provided by an embodiment of the present disclosure
  • FIG. 4 shows a flowchart of a method for generating a first user group provided by an embodiment of the present disclosure
  • FIG. 5 shows a flow chart of a method for determining a first target device and delivering first registered user information to the first target device according to an embodiment of the present disclosure
  • FIG. 6 shows a flow chart of a method for sending first registered user information to a first target device provided by an embodiment of the present disclosure
  • FIG. 7 shows a flow chart of another method for determining a first target device and delivering first registered user information to the first target device provided by an embodiment of the present disclosure
  • FIG. 8 shows a flow chart of another method for sending registered user information provided by an embodiment of the present disclosure
  • FIG. 9 shows a flow chart of a method for resending first registered user information provided by an embodiment of the present disclosure
  • FIG. 10 shows a schematic diagram of an information processing system provided by an embodiment of the present disclosure.
  • Fig. 11 shows a schematic diagram of an information processing device provided by an embodiment of the present disclosure
  • Fig. 12 shows a schematic structural diagram of a computer device provided by an embodiment of the present disclosure.
  • the number of authentication images stored in the server is very large. If each recognition is based on the method of comparing the recognition images with the authentication images in turn, it will take a lot of time and reduce the recognition efficiency. Moreover, due to the large number of authentication images, there may be multiple authentication images with small distinguishing features and high similarity with the recognition image, which not only increases the difficulty of recognition, but also may affect the recognition result and reduce the recognition accuracy.
  • the present disclosure provides an information processing method, system, device, computer equipment, and storage medium, based on the first user group and the first equipment group corresponding to the first task, it is possible to determine the first task corresponding to at least one first user.
  • a device that needs to store registered user information. After obtaining the first registered user information of at least one first user, based on the first task, it is possible to pre-deliver the first registered user message corresponding to the at least one first user to at least one first target in the first device group device, so that the first target device can store the received first registered user information.
  • the first target device can identify and authenticate the first user based on the stored first registered user information, without sending the obtained first registered user information to the server for identification, by sending and storing the first registered user information in advance , improving the recognition speed and recognition efficiency, the first target device can use the stored first registered user information to authenticate the first user, and on the basis of reducing the registered user information that needs to be compared, the accuracy of the recognition result can be improved.
  • an application scenario of an information processing method disclosed in an embodiment of the present disclosure is firstly introduced.
  • the administrator can register the first user on any management device.
  • the management device may be any IoT device, and the administrator may be the first user.
  • the management device as the first face recognition device and the administrator as the first user as an example, the first user can register the first user on the first face recognition device, and can input the first registered user information during registration.
  • the server can acquire the first registered user information fed back by the management device and store it.
  • the first registered user information may be an image of the first user, a mobile phone number, and the like.
  • the first user can designate the first user group to join and the device to which the registered user information needs to be sent, and initiate an instruction to generate a task.
  • the devices designated by the first user are all Internet of Things devices.
  • the devices designated by the first user may all be second face recognition devices, where the second face recognition devices may include the first face recognition device.
  • the server may acquire the first user group fed back by the management device, the device specified by the user, and the instruction for generating the task.
  • the server may generate the first device group based on the device specified by the user, and establish an association relationship between the first device group and the first user group corresponding to the instruction for generating the task, and generate the first task.
  • the server regularly acquires the generated first task, and based on the acquired first task, determines the first device group and the first user group, and further, may acquire the first Registered user information, in response to the acquired first task, sending the first registered user information of at least one first user to at least one target device of the first device group.
  • the target device receives the first registered user information, and when obtaining the face image to be recognized, uses the stored first registered user information to identify the face image to be recognized, and determines whether the user corresponding to the face image to be recognized is If it is a valid user, the door corresponding to the target device can be opened to allow the user to enter, and if not, the user is denied to enter.
  • the execution subject of the information processing method provided by the embodiment of the present disclosure is generally a computer device with certain computing capabilities.
  • the information processing method can be implemented by It is implemented by a processor calling computer-readable instructions stored in a memory.
  • the information processing method provided by the embodiment of the present disclosure is described by taking the execution subject as a server example.
  • a flow chart of an information processing method applied to a server may include the following steps:
  • the first task may be a pre-generated information delivery task.
  • the first task may include a first user group and a first device group that have an association relationship, where the first user group includes at least one first user, and the first device group includes at least one device.
  • the device is a device that needs to receive and store the first registered user information corresponding to the first user, and may be any IoT device managed by the server.
  • the first target device may be an autonomous vending device for face recognition, an intelligent access control device for face recognition, and the like.
  • the first registered user information may be information that can represent the identity information, attribute information, etc. of the first user, and may include image information, text profile information, mobile phone number information, ID number information, email information, etc. of the target user.
  • the first registered user information may be the user's face image, work department, working years, name, email address, gender and other information of the first user.
  • the first user may be a user who needs to be identified by devices in the first device group.
  • the device is an intelligent access control device for face recognition.
  • face recognition can be performed at the device.
  • the device obtains the face image of the first user to be recognized, it The first registered user information identifies it, and if the identification is passed, it is allowed to pass through the gate.
  • the first users in the first user group are users registered in the server
  • the devices in the first device group are devices registered in the server
  • the server can manage the registered devices.
  • the server may correspond to several registered users (including the first user) and several registered devices (including devices), different users may form different user groups, and different devices may form different device groups.
  • the first task may be a task of sending the first registered user information to the device generated after the server acquires the first registered user information of any first user.
  • Different first tasks may include different association relationships between user groups and device groups.
  • the server can generate different tasks based on the association relationship between different user groups and device groups, and obtain and execute the tasks when it is determined that the tasks can be executed.
  • the server may directly use it as the acquired first task.
  • a timing acquisition task may be set in the server, and based on the timing acquisition task, the first task that can be executed at present is determined periodically from the multiple generated tasks.
  • the server may set the state of the task to an initial state to indicate that the execution of the task has not yet started. Specifically, the server may regularly acquire the first task whose state is the initial state from the multiple generated tasks.
  • S102 Based on the first task, determine a first user group and a first device group corresponding to the first task.
  • the server may analyze the first task, and determine the first user group and the first device group that have an association relationship in the first task.
  • S103 Acquire first registered user information of at least one first user in the pre-stored first user group.
  • the first registered user information includes at least the user's face image.
  • the administrator of the cloud system corresponding to the server (which may be the first user) can use the management device to log in to the cloud system, and enter the first registered user information of the first user in the cloud system.
  • the server generates record information corresponding to the first registered user information based on the entered first registered user information, and stores the record information in the database.
  • the record information includes the first registered user information.
  • the server may directly store the first registered user information in the database, which is not limited here.
  • the administrator may be any user who has the authority to log in to the cloud system, may be the first user, or may be a management user of the target user, etc., which is not limited here.
  • At least one first user included in the first user group may be determined, and then the pre-stored first registered user information corresponding to the at least one first user may be acquired in the database.
  • the device corresponding to the first device group is an Internet of Things device for face recognition
  • at least one portrait or image corresponding to the first user may be directly obtained from the database.
  • S104 In response to the first task, send first registered user information of at least one first user to at least one first target device in the first device group.
  • the first target device is a device in one or more devices corresponding to the first device group.
  • the first target device is configured to receive and store the first registered user information, and perform face recognition on the face image to be recognized based on the stored first registered user information.
  • one or more devices corresponding to the first device group may be determined. Then, among the several devices managed by the server, the above one or more devices may be determined, and then, among the determined one or more devices, at least one device may be selected as the first target device. During specific implementation, one or more devices in the first device group may be used as the first target device.
  • the acquired first registered user information of at least one first user may be sent to one or more screened first target devices.
  • one or more first target devices can store it locally, so as to be used for subsequent identification of the acquired person to be identified based on the stored first registered user information. face images for face recognition.
  • the device that needs to be stored for the first registered user information corresponding to at least one first user can be determined.
  • the first target device can identify and authenticate the first user based on the stored first registered user information, without sending the obtained first registered user information to the server for identification, by sending and storing the first registered user information in advance , improving the recognition speed and recognition efficiency, the first target device can use the stored first registered user information to authenticate the first user, and on the basis of reducing the registered user information that needs to be compared, the accuracy of the recognition result can be improved.
  • FIG. 2 is a flow chart of a method for generating the first task provided by an embodiment of the present disclosure, which may include The following steps:
  • S201 Based on the first registered user information input by the first user during registration, select a recommended user group associated with the first registered user information from at least one generated user group.
  • the generated user groups may include some universal user groups pre-generated by the cloud server, for example, a day shift group, an evening shift group, an employee group, a leadership group, and the like. And, the generated user group may also include a user group composed of other registered users before the first user registers.
  • the recommended user group is an optimal user group determined by the server that has a high degree of association with the first user corresponding to the first registered user information and that the first user can choose to join.
  • the possibility of the first user joining the recommended user group is greater than that of the candidate user groups in the generated user groups.
  • the candidate user groups are user groups other than the recommended user groups in the generated user groups.
  • the user attribute information of the first user can be determined according to the first registered user information.
  • the user attribute information can be the user's work department For the day shift department.
  • the recommended user group may include multiple groups.
  • S202 Send the recommended user group to the management device.
  • sending the recommended user group to the management device can make the management device display the recommended user group at the first preset position of the display page corresponding to the cloud system after receiving the recommended user group, wherein the first preset position can be In order to display the central area of the page, in this way, the first user can give priority to the recommended user group on the display page, and can preferentially select the first user group from the recommended user group, instead of selecting from all generated user groups Selecting the first user group improves the speed of determining the first user group.
  • the management device may also display alternative user groups in the generated user groups at a second preset position on the display page, wherein the second preset position may be To display the margin area of the page. In this way, if there is no user group to be selected by the first user in the recommended user group, the first user group may also be selected from the candidate user groups at the second preset position.
  • S203 Receive the first user group returned by the management device based on the recommended user group and the first device group specified by the management device.
  • the management device may feed back the first user group selected by the first user to the server, and then the server may Feedback, determining the first user group selected by the first user.
  • the first user may use the display page corresponding to the management device to designate the first device group corresponding to the first user group.
  • the first device group specified by the first user may be a generated device group, or may be at least one device among registered devices corresponding to the server.
  • the management device may determine the first device group based on the devices designated by the first user. Afterwards, the first device group may be fed back to the server. Furthermore, the server may receive the first device group specified by the management device.
  • S204 Generate a first task based on the first user group and the first device group.
  • the server may establish an association relationship between the first user group and the first device group, and generate the first task based on the association relationship.
  • the first task may also be generated according to the method shown in FIG. 3 .
  • FIG. 3 it is a flow chart of another method for generating a first task provided by an embodiment of the present disclosure, which may include the following steps:
  • S301 Based on registered user information of at least one user, determine a first attribute characteristic of at least one user under a preset attribute type.
  • different preset attribute types can reflect different attribute characteristics of users, for example, day shift attribute and blacklist attribute.
  • the first attribute feature is used to reflect whether the user has an attribute feature corresponding to a preset attribute type. For example, if the preset attribute type is night shift worker, and the user attribute information corresponding to the registered user information of user A is the day shift department, then it can be determined that the first attribute feature of user A under the preset attribute type of night shift worker is user A Does not belong to night shift workers.
  • the user attribute information of the user can be determined. Furthermore, if there are multiple preset attribute types, for at least one preset attribute type, based on the user attribute information corresponding to the registered user information of at least one user, the first attribute feature of at least one user in the preset attribute type can be determined.
  • the first attribute characteristics of at least one user under one or more preset attribute types may be determined.
  • S302 Screen out at least one first user from at least one user based on the preset attribute feature and the first attribute feature.
  • the preset attribute feature is a preset attribute feature of the first user group, or may be an attribute feature required by the first user in the first user group.
  • the preset attribute feature may be the attribute feature of the first user group preset in the cloud system after the administrator determines that the first user group with the target attribute (ie, the preset attribute feature) needs to be formed.
  • At least one first user whose first attribute feature matches the preset attribute feature can be screened out from at least one user.
  • at least one user whose first attribute characteristic is the same as a preset attribute characteristic may be used as the first user.
  • S303 Generate a first user group based on the at least one filtered first user.
  • the device attributes matching the first user group are attributes corresponding to the first device group, which may be preset or determined by the server based on the preset attribute characteristics of the first user group. For example, if the preset attribute characteristic of the first user group is laboratory group personnel, then the device attribute characteristic matching the first user group may be the equipment deployed in the laboratory.
  • the server may acquire device attribute features matching the first user group.
  • S305 Screen devices with device attribute characteristics from multiple registered devices.
  • corresponding device registration information will also be input, for example, device location information, device manager information, device use restriction information, and the like.
  • device attribute information corresponding to one or more devices and device attribute features may be determined. For example, if the device attribute is characterized as a device deployed in a laboratory, location information of one or more devices may be determined based on device registration information of one or more devices.
  • devices with device attribute characteristics can be screened from multiple registered devices.
  • S306 Generate a first device group based on the filtered devices.
  • S307 Generate a first task based on the first user group and the first device group.
  • the server may establish an association relationship between the first user group and the first device group, and generate the first task based on the association relationship.
  • the first user group before obtaining the first task, can also be generated according to the method shown in FIG. 4 , as shown in FIG.
  • a flowchart of a method of setting may include the following steps:
  • S401 Determine at least one registered user designated by any first user.
  • the first user group may be actively generated by any first user in the user group.
  • a registered user is a user who has registered with the server before the first user actively generates the first user group.
  • any first user in the first user group may select a registered user who has registered in the server when registering, and then initiate a request to the server through the management device to generate the first user group based on the selected registered user.
  • the server may obtain the request for generating the first user group, and based on the request, determine at least one registered user designated by any first user.
  • S402 Based on the first registered user information of any first user and the second registered user information of at least one registered user, determine a second attribute feature of any first user and a third attribute feature of at least one registered user.
  • the second attribute feature may be one or more of the first user's regional feature, age feature, gender feature, user level feature, and the like.
  • the third attribute feature may be one or more of the registered user's regional feature, age feature, gender feature, user level feature, and the like.
  • the second attribute feature and the third attribute feature may be corresponding attribute features.
  • the second attribute feature is the regional feature of the first user
  • the third attribute feature is the regional feature of the registered user.
  • the address information of the first user may be determined first, and then according to the determined address information and the pre-delineated geographical ranges of different regions, A second attribute characteristic of the first user may be determined.
  • the address information may be a work address, a residential address, and the like.
  • the address information of at least one registered user can also be determined, and further, the third attribute characteristic of at least one registered user can be determined.
  • S403 Based on the second attribute feature of any first user and the third attribute feature of at least one registered user, determine a matching degree between at least one registered user and any first user.
  • the matching degree may characterize the rationality of any first user and registered user forming the first user group, and the compatibility between the two users referring to the same attribute feature.
  • the second attribute feature and the registration may determine the degree of similarity between the regional characteristics of two users, and then use the determined similarity degree as the matching degree.
  • the degree of similarity can be determined to be 1, that is, the degree of matching can be determined to be 1. If the regional characteristics between two users are inconsistent, the distance between regions corresponding to the respective regional characteristics of the two users can be determined, and the closer the distance, the similarity of the regional characteristics between the two users can be determined The higher the value is, the farther the distance is, and the lower the degree of similarity is, and then, the degree of matching between two users can be determined.
  • S404 Determine a target user grouped with any first user from at least one registered user according to the matching degree.
  • target two-person groups whose matching degree is greater than the matching degree threshold can be screened out.
  • registered users in one or more target two-person groups can be used as target users who can be grouped with any of the above-mentioned first users.
  • S405 Generate a first user group based on the determined target user and any first user.
  • the devices in the first device group corresponding to the first user group are access control devices for face recognition deployed in a confidential laboratory.
  • the degree of matching between the registered user and any first user if the user level of the registered user is characterized as a low user level, it can be directly determined that the degree of matching between the two users is low, For example, it may be determined that the degree of matching is 0. Afterwards, the matching degree between at least one registered user and any first user may be determined, and further, target users whose matching degree is higher than a matching degree threshold may be screened out. In this way, the selected target users are all users with the highest user level, and all have the authority to enter the confidential laboratory, so that the first user group can be generated.
  • the obtained first task may include multiple ones.
  • the first task may be obtained according to the following steps:
  • Step 1 Determine the threshold of the number of concurrent tasks according to the real-time network status and the network bandwidth required by one or more tasks.
  • the real-time network status can reflect the current computing capability, network bandwidth, etc. of the server.
  • the real-time network status corresponding to the server can be determined first, and the network bandwidth required by each task in the task list can be determined .
  • the number of tasks that the server can execute concurrently under the current network status can be determined. For example, if the network bandwidth required by each task is 1MB/s, and the network bandwidth corresponding to the real-time network status is 10MB/s, and the computing power corresponding to the real-time network status is sufficient, the threshold for the number of concurrent tasks can be determined to be 10.
  • Step 2 Obtain at least one first task according to the threshold of the number of concurrent tasks.
  • the number of first tasks corresponding to the threshold of the number of concurrent tasks may be screened out from the task list, and the task status of the one or more screened out first tasks is the initial status.
  • one or more tasks in the task list may be executed as the first task. If the number of tasks in the task list whose task status is the initial state is greater than the threshold of the number of concurrent tasks, the number of tasks corresponding to the threshold of the number of concurrent tasks can be randomly selected, or the first task can be selected according to the urgency of execution of one or more tasks , is not limited here.
  • the threshold of the number of concurrent tasks may also be pre-specified, which is not limited here.
  • the task status of the first task may be updated from an initial status to an execution completion status.
  • the first registered user information of one or more first users may be sent to at least one first target device in the first device group according to the method shown in FIG. 5 , such as As shown in FIG. 5 , it is a flow chart of a method for determining a first target device and delivering first registered user information to the first target device provided by an embodiment of the present disclosure, which may include the following steps:
  • S501 In response to the first task, for at least one first user, based on the information delivery records corresponding to one or more devices in the first device group, determine whether the registered user information of the first user has been delivered to one or more The device corresponding to the information delivery record.
  • the information sending record is a record recording whether the devices in one or more first device groups have received the first registered user information sent by the server.
  • One device corresponds to one information delivery record.
  • the server sends the first registered user information of at least one first user, it can generate information corresponding to the device and the first registered user information based on the first registered user information and the sent device. Record. If the first registered user information of the first user has not been sent to the device, the device's information distribution record corresponding to the first registered user information of the first user may be empty, or the first registered user information has not been received. information.
  • the information delivery record corresponding to one or more devices determines whether the first registered user information of the first user B has been received by one or more devices. Among them, if it is determined that a certain device has received the first registered user information of the first user B, it may be that the first user B is a user in the user group corresponding to the completed task, and the device is the user of the above-mentioned completed task. Devices in the corresponding device group.
  • the above-mentioned first user B is still taken as an example for illustration. If it is determined based on the information delivery records corresponding to one or more devices that the first registered user information of the first user B has not been delivered to the device, then the This device is selected as the first target device.
  • the first target device corresponding to at least one first user in the first user group can be determined
  • S503 Send the first registered user information of the first user to at least one first target device.
  • the first registered user information of at least one first user may be sent to at least one first target device corresponding to the first user.
  • an information distribution record corresponding to the first target device and the first user registration information may be generated, and the information distribution record is used to update the first target device
  • the corresponding generated information is issued, recorded and stored, thereby realizing the record of this delivery.
  • the first registered user information of at least one first user may also be sent to at least one first target device in the first device group according to the method shown in FIG. 6 , as shown in FIG. 6, it is a flow chart of a method for sending the first registered user information to the first target device provided by the embodiment of the present disclosure, which may include the following steps:
  • S601 In response to the first task, divide at least one first user into one or more transmission groups based on the network bandwidth information of the transmission network and the information volume corresponding to the first registered user information of the at least one first user.
  • the network bandwidth information of the transmission network is information representing the maximum network bandwidth corresponding to each transmission of the server.
  • the size of information volume corresponding to different first user registration information may be different, and the network bandwidth required for transmission of different sizes of information volume is different.
  • the first network bandwidth of the transmission network can be accurately determined, and based on the amount of information corresponding to the first registered user information of at least one first user, it is determined to transmit at least one first The second network bandwidth required by the user's first registered user information.
  • the first users may be grouped, and at least one first user is divided into one or more transmission groups.
  • the basis for grouping may be that the sum of the second network bandwidths corresponding to the first users in one or more transmission groups is equal to the first network bandwidth. In this way, the maximum utilization of the bandwidth of the first network can be ensured.
  • S602 Based on the user level of the first user, determine a transmission sequence among one or more transmission groups.
  • the user level may reflect the importance of the user and the urgency of the transmission of the user's registered user information. The higher the user level, the higher the importance of the user, the more urgent the transmission of the user's registered user information, and the higher the transmission order of the user's registered user information.
  • the transmission sequence for one or more transmission groups may be determined by the first user with the highest user level among the at least one first user included in the one or more transmission groups, and the transmission group including the first user with a higher user level The higher the order of transmission.
  • the user level of the first user with the highest user level in the two transmission groups is the same, it can also be determined according to the number of the first user with the highest user level, and the transmission group containing the more first users with the highest user level, The higher the order of transmission.
  • the transmission order among one or more transmission groups can be determined.
  • S603 Send the first user registration information of the first user in one or more transmission groups to at least one first target device in the first device group sequentially according to the transmission sequence.
  • the first user registration information of the first user in one or more transmission groups may be sent to at least one first target device corresponding to at least one first user according to a determined transmission sequence.
  • the first registered user information of at least one first user may be sent to at least one first target device in the first device group according to the method shown in FIG. 7 , as shown in FIG. 7
  • FIG. 7 it is a flow chart of another method for determining a first target device and delivering first registered user information to the first target device provided by an embodiment of the present disclosure, which may include the following steps:
  • S701 In response to the first task, based on the device connection states of the devices in the first device group, filter out online devices from the first device group.
  • the server may first obtain the device connection status of one or more devices in the first device group.
  • the device connection state is used to represent the online state of the device, for example, online, offline, trying to connect, and so on.
  • the server may respond to the first task, and then filter out online devices from the first device group based on the acquired device connection status of one or more devices in the first device group.
  • S702 Determine the total amount of information based on the information amount of the first registered user information of at least one first user.
  • storing the first registered user information of the first user requires at least a storage space corresponding to the information amount of the first registered user information.
  • 1M of first registered user information requires at least 1M of storage space for storage.
  • the total amount of information corresponding to the information amount of the first registered user information of at least one first user may be determined first.
  • S703 Based on the remaining storage space and the total amount of information of one or more online devices, filter out at least one first target device whose information storage amount corresponding to the remaining storage space is greater than the total amount of information from the online devices.
  • the remaining storage space is used to indicate the remaining usable storage space of the device.
  • the remaining storage space of different sizes may correspond to different information storage amounts.
  • the remaining storage space corresponding to one or more online devices may store information corresponding to the remaining The first registered user information with an information amount corresponding to the information storage amount corresponding to the storage space.
  • the server may first acquire the remaining storage space of one or more online devices, and determine the information storage amount corresponding to the remaining storage space of the one or more online devices. Determine whether the information storage capacity corresponding to the storage space of one or more online devices is greater than the total amount of information, if yes, it means that the online device has enough storage space to store all the first registered user information of the first user, and Make this device the first target device. If not, it means that the online device does not have enough storage space to store all the first registered user information of the first user.
  • At least one first target device whose remaining storage space corresponds to an information storage amount greater than the total amount of information may be screened out from the online devices.
  • S704 Encrypt sensitive information in at least one first registered user information to obtain encrypted registration information.
  • the sensitive information in the at least one first registered user information may also be encrypted, and then the encrypted registration information is obtained.
  • the first sensitive information may be private information such as ID number information, name information, and mobile phone number information of the user in the first registered user information. In this way, the probability of the problem of obtaining the sensitive information of the first user due to information leakage during the information transmission process can be reduced, and the information security of the first user is improved.
  • information in the first registered user information may be encrypted to obtain encrypted information, which is not limited here.
  • S705 Send one or more pieces of encrypted registration information to the selected at least one first target device.
  • the encrypted registration information may be sent to at least one selected target device. Further, the first target device may obtain the encrypted registration information, and decrypt the received encrypted registration information to obtain the first registered user information corresponding to the encrypted registration information, and store it.
  • the first target device may perform face recognition on the acquired face image to be recognized based on the stored first registered user information.
  • the method provided by the embodiment of the present disclosure further includes a flow chart of the method for sending registered user information as shown in FIG. 8, which is another method provided by the embodiment of the present disclosure.
  • the flow chart of the method for sending registered user information may include the following steps:
  • the second user may be a newly registered user.
  • the second user may use the management device to log in and input third registered user information. Furthermore, the management device may send the third registered user information to the server. In this way, the server can obtain the third registered user information of the second user.
  • S802 Based on the third registered user information, determine a second user group to which the second user belongs.
  • the server may determine the second user group to which the second user belongs according to the method of determining the first user group of the first user in the above embodiment.
  • the server may first store it in the information storage queue, and then, when the task of obtaining information at a preset timing reaches the scheduled time, start from Obtain the third registered user information from the information storage queue. In this way, the waste of server resources can be reduced by periodically acquiring the information of the third registered user.
  • the task of obtaining information at a preset time may be a task of trapping leaks.
  • the associated task may be a generated task corresponding to the second user group, and the task may be are completed tasks, unexecuted tasks, or ongoing tasks.
  • the task may be used as a second task corresponding to the second user. Furthermore, based on the second task, the second device group corresponding to the second task may be determined.
  • the third registered user information may be sent to one or more second target devices in the second device group.
  • the third registered user information may be sent to one or more second target devices in the second device group.
  • the newly registered user does not initiate a request to generate a task, so the server cannot obtain the task, and then cannot send the registered user information of the newly registered user to the device in time according to the task, resulting in the probability that the device will misidentify the user.
  • At least one first target device can also be acquired A storage result of the first registered user information fed back by any first target device in the device.
  • the first target device after receiving the first registered user information from the server, the first target device needs to store the first registered user information, and generate a storage result for the first registered user information.
  • the storage result includes two results of storage failure and storage success.
  • the first target device may feed back the generated storage result to the server, so that the server may acquire one or more storage results of the first target device.
  • the server determines that the storage result indicates that the first registered user information is stored successfully, determine the task of sending the first registered user information to the first target device has been completed, the new first registered user information can continue to be sent.
  • the server may resend the first registered user information to the first target device, so that the first target device re-attempts to store the first registered user information. 1. Registered user information.
  • the first registered user information can also be resent according to the method shown in FIG. 9, as shown in FIG.
  • a flowchart of the method may include the following steps:
  • the server may obtain the current status of the first target device. storage failures.
  • the number of storage failures may include the current storage failure.
  • the server may acquire the historical storage failure times of the first target device, and then add 1 to the historical storage failure times as the current storage failure times.
  • S902 If the number of storage failures is less than a preset threshold, determine a storage failure cause of any first target device based on a storage result.
  • the preset threshold is used to characterize the maximum storage failure times of the first target device.
  • the storage result may also include storage failure reasons, and the storage failure reasons may include storage failure caused by changes in the external environment of the device, or storage failure due to the device itself.
  • the external environment may include the network environment, manual control, information format error, etc., and its own reasons may include equipment failure, etc.
  • the number of storage failures may be compared with a preset threshold to determine the magnitude relationship between the number of storage failures and the preset threshold. In a case where it is determined that the number of storage failures is less than the preset threshold, it indicates that the first target device can store the first registered user information under normal circumstances. Furthermore, based on the obtained storage result, the storage failure cause of the first target device may be determined.
  • the preset storage format is an information format supported by the first target device for storage.
  • the information format may include the image format of the user's face image in the registered user information, the digits of the user's ID card number, the digits of the mobile phone number, and the like.
  • the target device supports storing user's face image in jpg format, and the user's face image sent by the server is in png format, then the first During the process of storing the user's face image in png format, the target device will fail to store it because the format of the image is not in jpg format, and then, the first target device will determine the storage result and feed it back to the server.
  • the target device supports storing mobile phone numbers with 11 digits. If the mobile phone number issued by the server is lower than or higher than 11 digits, the first target The device will not be able to store the mobile phone number, and will generate a storage result indicating storage failure and send it to the server.
  • the format of the first registered user information can be adjusted according to the preset storage format corresponding to the first target device, and the first registered user information The information format of the user information is adjusted to a preset storage format, and the adjusted first registered user information is obtained. In this way, by adjusting the first registered user information, it can be ensured that the adjusted first registered user information has a correct format.
  • S904 Send the adjusted first registered user information to any first target device.
  • the adjusted first registered user information can be sent to the first target device. Since the information format of the adjusted first registered user information is consistent with the preset storage format, the first target device can obtain the adjusted After the first registered user information, the storage of the adjusted first registered user information may be completed.
  • the server may directly determine the number of times of the first target device corresponding to the number of storage failures.
  • the device status is running fault status.
  • the location information of the first target device and the location information of all registered devices corresponding to the server can be obtained, and then, based on the location information corresponding to the first target device and the location information of all registered devices, from all A temporary replacement device corresponding to the first target device is selected from the registered devices.
  • the selected temporary replacement device may be the device whose location information corresponds to the location closest to the location information corresponding to the first target device.
  • the device information of the temporary replacement device may be determined, and the device information of the temporary replacement device and the device status of the first target device may be fed back to the management device. Furthermore, the management device can display the device information of the temporary replacement device and the device status of the first target device to the first user, and further, the first user can choose to send the first registered user information to the temporary replacement device, and use the temporary replacement device The identification of the first user is realized.
  • the first user may obtain, through the management device, that the device status of the first target device is a malfunctioning state, and further, may make timely adjustments to the first target device.
  • an embodiment of the present disclosure provides an information processing system corresponding to the above information processing method, wherein the system includes the server 1001 and the first target device 1002 in each embodiment mentioned in the above information processing method and management device 1003.
  • FIG. 10 it is a schematic diagram of an information processing system provided by an embodiment of the present disclosure.
  • the server 1001 may obtain the first task, determine the first user group and the first device group corresponding to the first user, and then obtain the first registered user information of at least one first user in the first user group, and Send the first registered user information of the at least one first user to at least one first target device 1002 selected from the devices corresponding to the first device group through the communication network.
  • the first target device 1002 can obtain the first user registration information, store the first user registration information, and perform face recognition on the face image to be recognized based on the stored first registered user information; the first target device 1002 can also pass the communication network The storage result is fed back to the server 1001.
  • the management device 1003 can be used for the registration of the first user, and sends the first registered user information input by the first user during registration to the server 1001 through the communication network, and is used to receive the recommended user group fed back by the server 1001; based on the recommended user group Return the first user group and the specified first device group to the server 1001, so that the server 1001 generates the first task.
  • the first target device 1002 and the management device 1003 may be the same device.
  • the writing order of each step does not mean a strict execution order and constitutes any limitation on the implementation process.
  • the specific execution order of each step should be based on its function and possible
  • the inner logic is OK.
  • the embodiment of the present disclosure also provides an information processing device corresponding to the information processing method. Since the problem-solving principle of the device in the embodiment of the present disclosure is similar to that of the above-mentioned information processing method in the embodiment of the present disclosure, the implementation of the device Reference can be made to the implementation of the method, and repeated descriptions will not be repeated.
  • FIG. 11 it is a schematic diagram of an information processing device provided by an embodiment of the present disclosure, including: a first acquiring module 1101, configured to acquire a first task; a determining module 1102, configured to determine based on the first task A first user group and a first device group corresponding to the first task; a second obtaining module 1103, configured to obtain pre-stored first registered user information of at least one first user in the first user group;
  • the first registered user information includes user face images;
  • the sending module 1104 is configured to send at least one first registered user information of the first user to the first device group in response to the first task At least one first target device; the first target device is configured to perform face recognition based on the stored first registered user information on the face image to be recognized.
  • the device further includes: a first generating module 1105, configured to, before acquiring the first task, based on the first registered user information input by the first user during registration, from Selecting a recommended user group associated with the first registered user information from the generated at least one user group; sending the recommended user group to the management device; receiving the information returned by the management device based on the recommended user group The first user group and the first device group specified by the management device; and the first task is generated based on the first user group and the first device group.
  • a first generating module 1105 configured to, before acquiring the first task, based on the first registered user information input by the first user during registration, from Selecting a recommended user group associated with the first registered user information from the generated at least one user group; sending the recommended user group to the management device; receiving the information returned by the management device based on the recommended user group The first user group and the first device group specified by the management device; and the first task is generated based on the first user group and the first device group.
  • the device further includes: a second generation module 1106, before acquiring the first task, based on the registered user information of at least one user, determine that the at least one user is in the preset attribute type
  • the first attribute feature under: Based on the preset attribute feature and the first attribute feature, filter out at least one first user from the at least one user; based on the screened out at least one first user, generate the the first user group; obtain the device attribute characteristics that match the first user group; screen the devices with the device attribute characteristics from a plurality of registered devices; generate the first device based on the screened out devices
  • a device group generating the first task based on the first user group and the first device group.
  • the device further includes: a third generating module 1107, configured to determine at least one registered user specified by any first user before acquiring the first task;
  • the first registered user information of the first user and the second registered user information of the at least one registered user respectively determine the second attribute characteristic of any first user and the third attribute characteristic of the at least one registered user;
  • Based on the second attribute feature of any first user and the third attribute feature of at least one registered user determine the degree of matching between at least one registered user and any first user; according to the degree of matching , determining a target user grouped with the any first user from the at least one registered user; generating the first user group based on the determined target user and the any first user.
  • the first obtaining module 1101 is configured to determine the threshold of the number of concurrent tasks according to the real-time network status and the network bandwidth required by one or more tasks; according to the threshold of the number of concurrent tasks, obtain At least one first task.
  • the sending module 1104 is configured to, in response to the first task, for at least one first user, based on information corresponding to one or more devices in the first device group Issuing records, judging whether the first registered user information of the first user has been issued to one or more devices corresponding to the information issuing records; if the first registered user information of the first user has not been issued Sending to the device corresponding to the information distribution record, determining the undelivered device as at least one first target device; sending the first registered user information of the first user to the at least one first target device .
  • the sending module 1104 is configured to, in response to the first task, based on the network bandwidth information of the transmission network and the information amount corresponding to the first registered user information of at least one first user , dividing at least one of the first users into one or more transmission groups; determining the transmission order among one or more transmission groups based on the user level of the first user; sequentially dividing one or more transmission groups according to the transmission order
  • the first user registration information of the first user in the multiple transmission groups is sent to at least one first target device in the first device group.
  • the sending module 1104 is configured to send the first registered user information of at least one first user to the first device group in response to the first task at least one first target device, including: in response to the first task, based on the device connection status of one or more devices in the first device group, filtering out online devices from the first device group ; Based on the amount of information of at least one first registered user information of the first user, determine the total amount of information; based on the remaining storage space of one or more online devices and the total amount of information, from the online device Screening out at least one first target device whose information storage capacity corresponding to the remaining storage space is greater than the total amount of information; encrypting sensitive information in at least one of the first registered user information to obtain encrypted registration information; converting at least A piece of the encrypted registration information is sent to the at least one selected first target device.
  • the device further includes: a third obtaining module 1108, configured to obtain third registered user information of the second user; based on the third registered user information, determine the second user group; the sending module 1104 is further configured to send the third registered user information of the second user to the At least one second target device in the second device group corresponding to the second task.
  • a third obtaining module 1108 configured to obtain third registered user information of the second user; based on the third registered user information, determine the second user group
  • the sending module 1104 is further configured to send the third registered user information of the second user to the At least one second target device in the second device group corresponding to the second task.
  • the sending module 1104 is further configured to, in the response to the first task, send at least one first registered user information of the first user to the first device After at least one first target device in the group, obtain a storage result for the first registered user information fed back by any first target device in the at least one first target device; when the storage result indicates the If the first registered user information is not successfully stored, resend the first registered user information to any one of the first target devices.
  • the sending module 1104 is configured to, when the storage result indicates that the first registered user information has not been successfully stored, obtain the storage failure corresponding to any first target device number of times; when the storage failure times are less than a preset threshold, based on the storage result, determine the storage failure reason of any first target device; when the storage failure reason indicates the first registered user information If the format of the information is wrong, adjust the format of the first registered user information according to the preset storage format corresponding to any one of the first target devices to obtain the adjusted first registered user information; The subsequent first registered user information is sent to any one of the first target devices.
  • the sending module 1104 is further configured to, after acquiring the number of storage failures corresponding to any first target device, if the number of storage failures is greater than a preset threshold , determining that the device state of any target device is a faulty state; based on the location information corresponding to any target device and the location information of all registered devices, filter out the any one from all registered devices A temporary replacement device corresponding to the target device; feeding back the device information of the temporary replacement device and the device status of any target device to the management device.
  • FIG. 12 is a schematic structural diagram of a computer device provided by an embodiment of the present disclosure, including: a processor 1201 and a memory 1202; the memory 1202 stores a processor 1201 Executable machine-readable instructions, the processor 1201 is used to execute the machine-readable instructions stored in the memory 1202, when the machine-readable instructions are executed by the processor 1201, the processor 1201 performs the following steps: S101: Acquire the first Task; S102: Based on the first task, determine the first user group and the first device group corresponding to the first task; S103: Obtain the first registered user information of at least one first user in the pre-stored first user group and S104: In response to the first task, send first registered user information of at least one first user to at least one first target device in the first device group.
  • S101 Acquire the first Task
  • S102 Based on the first task, determine the first user group and the first device group corresponding to the first task
  • S103 Obtain the first registered user information of at least one first user in the pre-stored first user group
  • the above-mentioned memory 1202 includes a memory 1221 and an external memory 1222; the memory 1221 here is also called an internal memory, and is used to temporarily store the calculation data in the processor 1201 and the data exchanged with the external memory 1222 such as a hard disk.
  • the external memory 1222 performs data exchange.
  • Embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a processor, the steps of the information processing method described in the foregoing method embodiments are executed.
  • the storage medium may be a volatile or non-volatile computer-readable storage medium.
  • the computer program product of the information processing method provided by the embodiments of the present disclosure includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the steps of the information processing method described in the above method embodiments
  • program code can be used to execute the steps of the information processing method described in the above method embodiments
  • Another computer program product of the information processing method provided by the embodiments of the present disclosure includes computer-readable codes, or a volatile computer-readable storage medium or a non-volatile computer-readable storage medium bearing computer-readable codes , when the computer-readable code runs in a processor of the electronic device, the processor in the electronic device is used to execute the steps of the information processing method described in the above method embodiment, for details, please refer to the above method embodiment, I won't repeat them here.
  • the computer program product can be specifically realized by means of hardware, software or a combination thereof.
  • the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK) etc. Wait.
  • a software development kit Software Development Kit, SDK
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units may be selected according to actual needs to implement the technical solution provided by this embodiment.
  • multiple functional units in various embodiments of the present disclosure may be integrated into one processing unit, or one unit may physically exist alone, or two or more units may be integrated into one unit.
  • the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium executable by a processor.
  • the technical solution of the present disclosure is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present disclosure.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present disclosure provides an information processing method, system, and apparatus, a computer device, and a storage medium. The method comprises: obtaining a first task; determining, on the basis of the first task, a first user group and a first device group corresponding to the first task; obtaining pre-stored first registered user information of at least one first user in the first user group, the first registered user information comprising a user's face image; and in response to the first task, sending the first registered user information of at least one first user to at least one first target device in the first device group, the first target device being configured to perform, on the basis of the stored first registered user information, face recognition on a face image to be recognized.

Description

信息处理方法、系统、装置、计算机设备和存储介质Information processing method, system, device, computer equipment and storage medium
本申请要求2021年06月30日提交、申请号为202110738779.7,发明名称为“信息处理方法、系统、装置、计算机设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application filed on June 30, 2021, with the application number 202110738779.7, and the title of the invention is "Information Processing Method, System, Device, Computer Equipment, and Storage Medium", the entire contents of which are incorporated herein by reference. Applying.
技术领域technical field
本公开涉及物联网技术领域,具体而言,涉及一种信息处理方法、装置、系统、计算机设备和存储介质。The present disclosure relates to the technical field of the Internet of Things, and in particular, to an information processing method, device, system, computer equipment, and storage medium.
背景技术Background technique
随着物联网技术的快速发展,物联网设备开始被广泛应用于多种场景中,例如,人脸识别系统,给人们的生活带来了极大的便利。现有的物联网识别设备中,针对用户的识别大多是在设备获取用户的识别图像之后,将图像上传至服务器,由服务器基于已存储在图库中的认证图像,与识别图像进行全量对比,从而确定识别图像对应的识别结果并将识别结果下发至设备中,从而完成识别。With the rapid development of Internet of Things technology, Internet of Things devices have been widely used in various scenarios, such as face recognition systems, which bring great convenience to people's lives. In the existing IoT identification devices, most of the identification for users is to upload the image to the server after the device obtains the user's identification image, and the server performs a full comparison with the identification image based on the authentication image stored in the gallery, so that Determine the recognition result corresponding to the recognition image and deliver the recognition result to the device, thereby completing the recognition.
发明内容Contents of the invention
本公开实施例至少提供一种信息处理方法、系统、装置、计算机设备和存储介质,以提高识别速度、效率和精度。Embodiments of the present disclosure at least provide an information processing method, system, device, computer equipment, and storage medium, so as to improve recognition speed, efficiency, and accuracy.
第一方面,本公开实施例提供了一种信息处理方法,包括:In a first aspect, an embodiment of the present disclosure provides an information processing method, including:
获取第一任务;Get the first task;
基于所述第一任务,确定与所述第一任务对应的第一用户组和第一设备组;Based on the first task, determining a first user group and a first device group corresponding to the first task;
获取预先存储的所述第一用户组中的至少一个第一用户的第一注册用户信息;所述第一注册用户信息中包括用户人脸图像;Acquiring pre-stored first registered user information of at least one first user in the first user group; the first registered user information includes user face images;
响应于所述第一任务,将至少一个所述第一用户的第一注册用户信息发送至所述第一设备组中的至少一个第一目标设备;所述第一目标设备用于基于存储的所述第一注册用户信息对待识别人脸图像进行人脸识别。In response to the first task, sending first registered user information of at least one of the first users to at least one first target device in the first device group; the first target device is used for storage-based The first registered user information performs face recognition on the face image to be recognized.
基于第一任务对应的第一用户组和第一设备组,能够确定至少一个第一用户对应的第一注册用户信息所需要存储的设备。在获取至少一个第一用户的第一注册用户信息之后,基于第一任务,能够实现预先将至少一个第一用户对应的第一注册用户消息下发至第一设备组中的至少一个第一目标设备,从而第一目标设备可以存储接收到的第一注册用户信息。第一目标设备可以基于存储的第一注册用户信息对第一用户进行识别认证,不需要将获取的第一注册用户信息发送至服务器进行识别,利用预先下发并存储第一注册用户信息的方式,提高了识别速度和识别效率,第一目标设备可以使用存储的第一注册用户信息对第一用户进行认证,在减少需要对比的注册用户信息的基础上,能够提高识别结果的准确性。Based on the first user group and the first device group corresponding to the first task, the device that needs to be stored for the first registered user information corresponding to the at least one first user can be determined. After obtaining the first registered user information of at least one first user, based on the first task, it is possible to pre-deliver the first registered user message corresponding to the at least one first user to at least one first target in the first device group device, so that the first target device can store the received first registered user information. The first target device can identify and authenticate the first user based on the stored first registered user information, without sending the obtained first registered user information to the server for identification, by sending and storing the first registered user information in advance , improving the recognition speed and recognition efficiency, the first target device can use the stored first registered user information to authenticate the first user, and on the basis of reducing the registered user information that needs to be compared, the accuracy of the recognition result can be improved.
在一种可能的实施方式中,在所述获取第一任务之前,所述方法还包括:In a possible implementation manner, before the acquiring the first task, the method further includes:
基于所述第一用户在注册时输入的第一注册用户信息,从已生成的至少一个用户组中选取与所 述第一注册用户信息存在关联关系的推荐用户组;Based on the first registered user information input by the first user during registration, select a recommended user group associated with the first registered user information from at least one generated user group;
将所述推荐用户组发送给管理设备;sending the recommended user group to the management device;
接收所述管理设备基于所述推荐用户组返回的所述第一用户组以及所述管理设备指定的第一设备组;receiving the first user group returned by the management device based on the recommended user group and the first device group specified by the management device;
基于所述第一用户组和所述第一设备组,生成所述第一任务。The first task is generated based on the first user group and the first device group.
通过管理设备指定第一用户组,以及指定第一设备组的方式,能够提高确定第一用户组和第一设备组的灵活性,进而,可以提高生成第一任务的灵活性。By specifying the first user group and the first device group by the management device, the flexibility of determining the first user group and the first device group can be improved, and further, the flexibility of generating the first task can be improved.
在一种可能的实施方式中,在所述获取第一任务之前,所述方法还包括:In a possible implementation manner, before the acquiring the first task, the method further includes:
基于至少一个用户的注册用户信息,确定所述至少一个用户在预设属性类型下的第一属性特征;Based on the registered user information of at least one user, determine the first attribute feature of the at least one user under the preset attribute type;
基于预设的属性特征以及所述第一属性特征,从所述至少一个用户中筛选出至少一个第一用户;Screening out at least one first user from the at least one user based on a preset attribute feature and the first attribute feature;
基于筛选出的所述至少一个第一用户,生成所述第一用户组;generating the first user group based on the at least one first user screened out;
获取与所述第一用户组相匹配的设备属性特征;Obtaining device attribute features matching the first user group;
从多个已注册的设备中筛选具有所述设备属性特征的设备;screening devices having the device attribute characteristics from a plurality of registered devices;
基于筛选出的设备,生成所述第一设备组;generating the first device group based on the screened devices;
基于所述第一用户组和所述第一设备组,生成所述第一任务。The first task is generated based on the first user group and the first device group.
不同的预设属性类型能够反映用户不同的属性特征,例如,白名单属性、黑名单属性。因此,基于至少一个用户的注册用户信息和预设属性类型,能够确定至少一个用户对应的第一属性特征。预设的属性特征为预设的第一用户组的属性特征,从而,基于预设的属性特征以及至少一个用户的第一属性特征,能够准确地筛选出与第一用户组相匹配的第一用户。与第一用户组相匹配的设备属性特征为第一设备组相对应的属性,因此,基于设备属性特征,能够准确地筛选出用户组成第一设备组的设备。Different preset attribute types can reflect different attribute characteristics of users, for example, whitelist attributes and blacklist attributes. Therefore, based on the registered user information and the preset attribute type of at least one user, the first attribute feature corresponding to at least one user can be determined. The preset attribute feature is the attribute feature of the preset first user group, so based on the preset attribute feature and the first attribute feature of at least one user, the first user group matching the first user group can be accurately screened out. user. The device attribute features that match the first user group are attributes corresponding to the first device group. Therefore, based on the device attribute features, it is possible to accurately filter out the devices that the user forms the first device group.
在一种可能的实施方式中,在所述获取第一任务之前,所述方法还包括:In a possible implementation manner, before the acquiring the first task, the method further includes:
确定任一第一用户指定的至少一个注册用户;identifying at least one registered user designated by any first user;
基于所述任一第一用户的第一注册用户信息和所述至少一个注册用户的第二注册用户信息,分别确定所述任一第一用户的第二属性特征和所述至少一个注册用户的第三属性特征;Based on the first registered user information of any first user and the second registered user information of the at least one registered user, respectively determine the second attribute characteristics of the any first user and the at least one registered user The third attribute characteristic;
基于所述任一第一用户的第二属性特征和至少一个注册用户的第三属性特征,确定至少一个所述注册用户与所述任一第一用户之间的匹配程度;determining a matching degree between at least one registered user and any first user based on the second attribute feature of any first user and the third attribute feature of at least one registered user;
根据所述匹配程度,从所述至少一个注册用户中确定与所述任一第一用户成组的目标用户;determining a target user grouped with any first user from the at least one registered user according to the matching degree;
基于确定的目标用户与所述任一第一用户,生成所述第一用户组。The first user group is generated based on the determined target user and any first user.
基于确定任一第一用户指定的注册用户和该任一第一用户之间的匹配程度,能够确定出两个用户出现在第一用户组中的合理性,从而,基于匹配程度,能够准确地筛选出可以合理的与该任一第一用户出现在第一用户组中的目标用户,进而,提高了生成的第一用户组的合理性。Based on determining the degree of matching between the registered user specified by any first user and the first user, it is possible to determine the rationality of the two users appearing in the first user group, so that based on the degree of matching, it is possible to accurately Target users that can reasonably appear in the first user group with any first user are screened out, thereby improving the rationality of the generated first user group.
在一种可能的实施方式中,所述获取第一任务,包括:In a possible implementation manner, the acquiring the first task includes:
根据实时网络状态以及一个或多个任务所需要的网络带宽,确定并发任务数量阈值;Determine the threshold of the number of concurrent tasks according to the real-time network status and the network bandwidth required by one or more tasks;
根据所述并发任务数量阈值,获取至少一个第一任务。Acquire at least one first task according to the concurrent task quantity threshold.
并发任务数量阈值能够反映服务器当前可以同时并发执行的最大任务数量,由服务器端对应的实时网络状态以及一个或多个任务在执行时所需要的网络带宽决定。基于并发任务数量阈值,能够筛选出与并发任务数量阈值相匹配的多个第一任务,从而,可以基于筛选出的多个第一任务中的一个或多个第一任务对应的第一用户组和第一设备组,实现对筛选出的多个第一任务的并发执行,提高了任务执行的效率。The threshold of the number of concurrent tasks can reflect the maximum number of tasks that the server can concurrently execute currently, and is determined by the corresponding real-time network status on the server side and the network bandwidth required for one or more tasks to be executed. Based on the threshold of the number of concurrent tasks, a plurality of first tasks matching the threshold of the number of concurrent tasks can be screened out, thereby, based on the first user group corresponding to one or more first tasks among the screened out multiple first tasks and the first device group to implement concurrent execution of multiple first tasks that are screened out, thereby improving the efficiency of task execution.
在一种可能的实施方式中,所述响应于所述第一任务,将至少一个所述第一用户的第一注册用户信息发送至所述第一设备组中的至少一个第一目标设备,包括:In a possible implementation manner, in response to the first task, sending the first registered user information of at least one first user to at least one first target device in the first device group, include:
响应于所述第一任务,针对至少一个所述第一用户,基于所述第一设备组中一个或多个设备对应的信息下发记录,判断所述第一用户的第一注册用户信息是否已下发给一个或多个所述信息下发记录对应的设备;In response to the first task, for at least one of the first users, based on information distribution records corresponding to one or more devices in the first device group, determine whether the first registered user information of the first user is It has been sent to one or more devices corresponding to the information sending record;
若存在所述第一用户的第一注册用户信息未下发给所述信息下发记录对应的设备,将未下发到的设备确定为至少一个第一目标设备;If the first registered user information of the first user has not been delivered to the device corresponding to the information delivery record, determining the undelivered device as at least one first target device;
将所述第一用户的第一注册用户信息发送至所述至少一个第一目标设备。sending the first registered user information of the first user to the at least one first target device.
基于生成并查询设备对应的信息下发记录的方式,能够有效降低将同一第一注册用户信息重复下发至同一设备中的问题出现的概率。Based on the method of generating and querying the information distribution record corresponding to the device, it is possible to effectively reduce the probability of the problem of repeatedly sending the same first registered user information to the same device.
在一种可能的实施方式中,所述响应于所述第一任务,将至少一个所述第一用户的第一注册用户信息发送至所述第一设备组中的至少一个第一目标设备,包括:In a possible implementation manner, in response to the first task, sending the first registered user information of at least one first user to at least one first target device in the first device group, include:
响应于所述第一任务,基于传输网络的网络带宽信息和至少一个所述第一用户的第一注册用户信息对应的信息量,将至少一个所述第一用户划分为一个或多个传输组;In response to the first task, based on the network bandwidth information of the transmission network and the amount of information corresponding to the first registered user information of at least one of the first users, divide at least one of the first users into one or more transmission groups ;
基于所述第一用户的用户等级,确定一个或多个传输组之间的传输顺序;determining an order of transmissions among one or more transmission groups based on the user level of the first user;
按照所述传输顺序依次将一个或多个传输组中的第一用户的第一用户注册信息发送给所述第一设备组中的至少一个第一目标设备。Sending the first user registration information of the first user in one or more transmission groups to at least one first target device in the first device group sequentially according to the transmission sequence.
不同的第一用户注册信息对应的信息量的大小不同,不同大小的信息量传输所需要的网络带宽不同。基于传输网络的网络带宽信息,能够准确地确定出传输网络的网络带宽,进而,基于网络带宽和至少一个第一用户的第一注册用户信息对应的信息量,可以实现准确地将至少一个第一用户划分为一个或多个传输组,其中,一个或多个传输组对应的第一注册用户信息的信息量的信息总量与网络带宽相匹配。进而,基于传输顺序依次将一个或多个传输组中的第一用户的第一用户注册信息发送至第一目标设备,可以实现有序的发送第一注册用户信息,有利于提高发送第一注册用户信息的效率。The information volumes corresponding to different first user registration information are of different sizes, and the network bandwidths required for transmission of different sizes of information volumes are different. Based on the network bandwidth information of the transmission network, the network bandwidth of the transmission network can be accurately determined, and further, based on the network bandwidth and the amount of information corresponding to the first registered user information of at least one first user, it can be realized that at least one first user The users are divided into one or more transmission groups, wherein the total amount of information of the first registered user information corresponding to the one or more transmission groups matches the network bandwidth. Furthermore, based on the transmission order, the first user registration information of the first user in one or more transmission groups is sequentially sent to the first target device, which can realize orderly sending of the first registered user information, which is conducive to improving the efficiency of sending the first registration information. Efficiency of user information.
在一种可能的实施方式中,所述响应于所述第一任务,将至少一个所述第一用户的第一注册用户信息发送至所述第一设备组中的至少一个第一目标设备,包括:In a possible implementation manner, in response to the first task, sending the first registered user information of at least one first user to at least one first target device in the first device group, include:
响应于所述第一任务,基于所述第一设备组中的一个或多个设备的设备连接状态,从所述第一设备组中筛选出在线的设备;In response to the first task, based on the device connection status of one or more devices in the first device group, filter out online devices from the first device group;
基于至少一个所述第一用户的第一注册用户信息的信息量,确定信息总量;determining the total amount of information based on the information amount of the first registered user information of at least one of the first users;
基于一个或多个在线的设备的剩余存储空间和所述信息总量,从所述在线的设备中筛选出所述剩余存储空间对应的信息存储量大于所述信息总量的至少一个第一目标设备;Based on the remaining storage space of one or more online devices and the total amount of information, filter out from the online devices at least one first target whose information storage capacity corresponding to the remaining storage space is greater than the total amount of information equipment;
对至少一个所述第一注册用户信息中的敏感信息进行加密,获得加密注册信息;Encrypt sensitive information in at least one of the first registered user information to obtain encrypted registration information;
将至少一个所述加密注册信息发送至筛选出的所述至少一个第一目标设备。Sending at least one piece of encrypted registration information to the at least one selected first target device.
通过信息总量和剩余存储空间,能够筛选出有足够存储空间将至少一个第一用户的第一注册用户信息存储的第一目标设备,在通过对第一注册用户信息中的敏感信息进行加密的方式,可以有效地提升第一注册用户信息的安全性。Through the total amount of information and the remaining storage space, it is possible to filter out the first target device that has enough storage space to store the first registered user information of at least one first user, and encrypt the sensitive information in the first registered user information. In this way, the security of the first registered user information can be effectively improved.
在一种可能的实施方式中,所述方法还包括:In a possible implementation manner, the method also includes:
获取第二用户的第三注册用户信息;Obtain the third registered user information of the second user;
基于所述第三注册用户信息,确定所述第二用户所属的第二用户组;determining a second user group to which the second user belongs based on the third registered user information;
在存在与所述第二用户组相关联的第二任务的情况下,将所述第二用户的第三注册用户信息发送至所述第二任务对应的第二设备组中的至少一个第二目标设备。If there is a second task associated with the second user group, send the third registered user information of the second user to at least one second user in the second device group corresponding to the second task target device.
基于确定第二用户是否存在相关联的第二任务的方式,能够实现基于相关联的第二任务对应的第二用户组和第二设备组,将第二用户的第三注册用户信息及时地下发至第二设备组中的至少一个设备中,从而实现对第三注册用户信息的及时存储。Based on the method of determining whether there is an associated second task for the second user, it can be realized that the third registered user information of the second user is distributed in a timely manner based on the second user group and the second device group corresponding to the associated second task to at least one device in the second device group, thereby realizing the timely storage of the third registered user information.
在一种可能的实施方式中,在所述响应于所述第一任务,将至少一个所述第一用户的第一注册用户信息发送至所述第一设备组中的至少一个第一目标设备之后,还包括:In a possible implementation manner, in the response to the first task, sending the first registered user information of at least one first user to at least one first target device in the first device group After that, also include:
获取所述至少一个第一目标设备中的任一第一目标设备反馈的针对所述第一注册用户信息的存储结果;Acquiring a storage result of the first registered user information fed back by any first target device in the at least one first target device;
在所述存储结果指示所述第一注册用户信息未存储成功的情况下,重新将所述第一注册用户信息发送至所述任一第一目标设备。If the storage result indicates that the first registered user information has not been successfully stored, resend the first registered user information to any one of the first target devices.
基于获取的存储结果,能够实现对第一目标设备存储失败的第一注册用户信息的重新发送,进而,第一目标设备可以尝试对重新接收到的第一注册用户信息的再次存储,以实现第一目标设备能够及时地存储第一注册用户信息。Based on the obtained storage result, it is possible to resend the first registered user information that failed to be stored on the first target device, and then, the first target device may try to store the re-received first registered user information to achieve the second A target device can store the first registered user information in time.
在一种可能的实施方式中,所述在所述存储结果指示所述第一注册用户信息未存储成功的情况下,重新将所述第一注册用户信息发送至所述任一第一目标设备,包括:In a possible implementation manner, when the storage result indicates that the first registered user information has not been successfully stored, resending the first registered user information to any one of the first target devices ,include:
在所述存储结果指示所述第一注册用户信息未存储成功的情况下,获取所述任一第一目标设备对应的存储失败次数;If the storage result indicates that the first registered user information has not been successfully stored, acquiring the storage failure times corresponding to any one of the first target devices;
在所述存储失败次数小于预设阈值的情况下,基于所述存储结果,确定所述任一第一目标设备的存储失败原因;If the number of times of storage failure is less than a preset threshold, based on the storage result, determine a storage failure cause of any one of the first target devices;
在所述存储失败原因指示所述第一注册用户信息的信息格式错误的情况下,按照所述任一第一目标设备对应的预设存储格式,对所述第一注册用户信息进行格式调整,得到调整后的第一注册用户信息;In the case where the storage failure reason indicates that the information format of the first registered user information is wrong, adjust the format of the first registered user information according to the preset storage format corresponding to any one of the first target devices, Obtain the adjusted first registered user information;
将所述调整后的第一注册用户信息发送至所述任一第一目标设备。Sending the adjusted first registered user information to any one of the first target devices.
预设阈值用于表征第一目标设备最大的存储失败次数,在确定存储失败次数小于预设阈值的情况下,说明第一目标设备在正常情况下可以实现对第一注册用户信息的存储。在存储失败原因指示第一注册用户信息的信息格式错误的情况下,通过对第一注册用户信息进行调整的方式,能够保证调整得到正确的第一注册用户信息,从而,将其下发至第一目标设备,能够实现对第一注册用户信息的及时存储。The preset threshold is used to characterize the maximum number of storage failures of the first target device. If the number of storage failures is determined to be less than the preset threshold, it means that the first target device can store the first registered user information under normal circumstances. In the case where the storage failure reason indicates that the information format of the first registered user information is wrong, by adjusting the first registered user information, it can be ensured that the correct first registered user information is obtained through adjustment, and then it is sent to the first registered user information. A target device capable of storing the information of the first registered user in time.
在一种可能的实施方式中,在所述获取所述任一第一目标设备对应的存储失败次数之后,还包括:In a possible implementation manner, after acquiring the number of storage failures corresponding to any first target device, the method further includes:
在所述存储失败次数大于预设阈值的情况下,确定所述任一目标设备的设备状态为运行故障状态;When the number of storage failures is greater than a preset threshold, determine that the device state of any target device is an operation failure state;
基于所述任一目标设备对应的位置信息和全部已注册的设备的位置信息,从全部已注册的设备中筛选出所述任一目标设备对应的临时替换设备;Based on the location information corresponding to any of the target devices and the location information of all registered devices, select a temporary replacement device corresponding to any of the target devices from all registered devices;
将所述临时替换设备的设备信息和所述任一目标设备的设备状态反馈给管理设备。Feedback the device information of the temporary replacement device and the device status of any target device to the management device.
位置信息接近的设备之间可以实现一定功能的替换,因此,基于位置信息,能够提供给管理设备可选择的暂时替代第一目标设备的临时替换设备。通过将设备状态反馈给管理设备,有利于管理设备及时获取第一目标设备的设备状态,实现对第一目标设备的设备状态的检测,并可以根据设备状态对第一目标设备进行及时调整。A certain function can be replaced between devices with close location information. Therefore, based on the location information, a temporary replacement device that can be selected by the management device to temporarily replace the first target device can be provided. By feeding back the device status to the management device, it is beneficial for the management device to obtain the device status of the first target device in time, realize the detection of the device status of the first target device, and adjust the first target device in time according to the device status.
第二方面,本公开实施例还提供一种信息处理系统,包括:如上述第一方面,或第一方面中任一种可能的实施方式中的步骤中的所述的第一目标设备,如上述第一方面,或第一方面中任一种可能的实施方式中的步骤中的服务器和如上述第一方面中可能的实施方式中的步骤中的管理设备;In a second aspect, an embodiment of the present disclosure further provides an information processing system, including: the first target device as described in the first aspect above, or the steps in any possible implementation manner of the first aspect, such as The above-mentioned first aspect, or the server in the steps in any possible implementation manner of the first aspect, and the management device in the steps in the above-mentioned possible implementation manners in the first aspect;
所述第一目标设备,用于获取第一用户注册信息,存储所述第一用户注册信息并基于存储的所述第一注册用户信息对待识别人脸图像进行人脸识别;The first target device is configured to acquire first user registration information, store the first user registration information, and perform face recognition on the face image to be recognized based on the stored first registered user information;
所述管理设备,用于接收所述服务器反馈的推荐用户组;基于所述推荐用户组向所述服务器返回第一用户组以及返回指定的第一设备组。The management device is configured to receive a recommended user group fed back by the server; and return a first user group and a designated first device group to the server based on the recommended user group.
第三方面,本公开实施例还提供一种信息处理装置,包括:In a third aspect, an embodiment of the present disclosure further provides an information processing device, including:
第一获取模块,用于获取第一任务;The first obtaining module is used to obtain the first task;
确定模块,用于基于所述第一任务,确定与所述第一任务对应的第一用户组和第一设备组;A determining module, configured to determine a first user group and a first device group corresponding to the first task based on the first task;
第二获取模块,用于获取预先存储的所述第一用户组中的至少一个第一用户的第一注册用户信息;所述第一注册用户信息中包括用户人脸图像;The second acquisition module is configured to acquire the pre-stored first registered user information of at least one first user in the first user group; the first registered user information includes user face images;
发送模块,用于响应于所述第一任务,将至少一个所述第一用户的第一注册用户信息发送至所述第一设备组中的至少一个第一目标设备;所述第一目标设备用于基于存储的所述第一注册用户信息对待识别人脸图像进行人脸识别。A sending module, configured to send at least one first registered user information of the first user to at least one first target device in the first device group in response to the first task; the first target device and performing face recognition on the face image to be recognized based on the stored first registered user information.
在一种可能的实施方式中,所述装置还包括:In a possible implementation manner, the device also includes:
第一生成模块,用于在所述获取第一任务之前,基于所述第一用户在注册时输入的第一注册用户信息,从已生成的至少一个用户组中选取与所述第一注册用户信息存在关联关系的推荐用户组;The first generation module is used to select the first registered user from at least one generated user group based on the first registered user information input by the first user during registration before the acquisition of the first task Recommended user groups whose information is related;
将所述推荐用户组发送给管理设备;sending the recommended user group to the management device;
接收所述管理设备基于所述推荐用户组返回的所述第一用户组以及所述管理设备指定的第一设备组;receiving the first user group returned by the management device based on the recommended user group and the first device group specified by the management device;
基于所述第一用户组和所述第一设备组,生成所述第一任务。The first task is generated based on the first user group and the first device group.
在一种可能的实施方式中,所述装置还包括:In a possible implementation manner, the device also includes:
第二生成模块,在所述获取第一任务之前,基于至少一个用户的注册用户信息,确定所述至少一个用户在预设属性类型下的第一属性特征;The second generation module determines the first attribute characteristics of the at least one user under the preset attribute type based on the registered user information of at least one user before the acquisition of the first task;
基于预设的属性特征以及所述第一属性特征,从所述至少一个用户中筛选出至少一个第一用户;Screening out at least one first user from the at least one user based on a preset attribute feature and the first attribute feature;
基于筛选出的所述至少一个第一用户,生成所述第一用户组;generating the first user group based on the at least one first user screened out;
获取与所述第一用户组相匹配的设备属性特征;Obtaining device attribute features matching the first user group;
从多个已注册的设备中筛选具有所述设备属性特征的设备;screening devices having the device attribute characteristics from a plurality of registered devices;
基于筛选出的设备,生成所述第一设备组;generating the first device group based on the screened devices;
基于所述第一用户组和所述第一设备组,生成所述第一任务。The first task is generated based on the first user group and the first device group.
在一种可能的实施方式中,所述装置还包括:In a possible implementation manner, the device also includes:
第三生成模块,用于在所述获取第一任务之前,确定任一第一用户指定的至少一个注册用户;The third generating module is used to determine at least one registered user designated by any first user before said obtaining the first task;
基于所述任一第一用户的第一注册用户信息和所述至少一个注册用户的第二注册用户信息,分别确定所述任一第一用户的第二属性特征和所述至少一个注册用户的第三属性特征;Based on the first registered user information of the any first user and the second registered user information of the at least one registered user, respectively determine the second attribute characteristics of the any first user and the at least one registered user The third attribute characteristic;
基于所述任一第一用户的第二属性特征和至少一个注册用户的第三属性特征,确定至少一个所述注册用户与所述任一第一用户之间的匹配程度;determining a matching degree between at least one registered user and any first user based on the second attribute feature of any first user and the third attribute feature of at least one registered user;
根据所述匹配程度,从所述至少一个注册用户中确定与所述任一第一用户成组的目标用户;determining a target user grouped with any first user from the at least one registered user according to the matching degree;
基于确定的目标用户与所述任一第一用户,生成所述第一用户组。The first user group is generated based on the determined target user and any first user.
在一种可能的实施方式中,所述第一获取模块,用于根据实时网络状态以及一个或多个任务所需要的网络带宽,确定并发任务数量阈值;In a possible implementation manner, the first acquisition module is configured to determine the threshold of the number of concurrent tasks according to the real-time network status and the network bandwidth required by one or more tasks;
根据所述并发任务数量阈值,获取至少一个第一任务。Acquire at least one first task according to the concurrent task quantity threshold.
在一种可能的实施方式中,所述发送模块,用于响应于所述第一任务,针对至少一每个所述第一用户,基于所述第一设备组中一个或多个设备对应的信息下发记录,判断所述第一用户的第一注册用户信息是否已下发给一个或多个所述信息下发记录对应的设备;In a possible implementation manner, the sending module is configured to, in response to the first task, for each of at least one first user, based on the information corresponding to one or more devices in the first device group information delivery records, judging whether the first registered user information of the first user has been delivered to one or more devices corresponding to the information delivery records;
若存在所述第一用户的第一注册用户信息未下发给所述信息下发记录对应的设备,将未下发到的设备确定为至少一个第一目标设备;If the first registered user information of the first user has not been delivered to the device corresponding to the information delivery record, determining the undelivered device as at least one first target device;
将所述第一用户的第一注册用户信息发送至所述至少一个第一目标设备。sending the first registered user information of the first user to the at least one first target device.
在一种可能的实施方式中,所述发送模块,用于响应于所述第一任务,基于传输网络的网络带宽信息和至少一个所述第一用户的第一注册用户信息对应的信息量,将至少一个所述第一用户划分为一个或多个传输组;In a possible implementation manner, the sending module is configured to, in response to the first task, based on the network bandwidth information of the transmission network and the information amount corresponding to the first registered user information of at least one first user, dividing at least one of said first users into one or more transmission groups;
基于所述第一用户的用户等级,确定一个或多个传输组之间的传输顺序;determining an order of transmissions among one or more transmission groups based on the user level of the first user;
按照所述传输顺序依次将一个或多个传输组中的第一用户的第一用户注册信息发送给所述第一设备组中的至少一个第一目标设备。Sending the first user registration information of the first user in one or more transmission groups to at least one first target device in the first device group sequentially according to the transmission order.
在一种可能的实施方式中,所述发送模块,用于所述响应于所述第一任务,将至少一个所述第一用户的第一注册用户信息发送至所述第一设备组中的至少一个第一目标设备,包括:In a possible implementation manner, the sending module is configured to send the first registered user information of at least one first user to the first device group in the first device group in response to the first task. At least one first target device comprising:
响应于所述第一任务,基于所述第一设备组中的一个或多个设备的设备连接状态,从所述第一设备组中筛选出在线的设备;In response to the first task, based on the device connection status of one or more devices in the first device group, filter out online devices from the first device group;
基于至少一个所述第一用户的第一注册用户信息的信息量,确定信息总量;determining the total amount of information based on the information amount of the first registered user information of at least one of the first users;
基于一个或多个在线的设备的剩余存储空间和所述信息总量,从所述在线的设备中筛选出所述剩余存储空间对应的信息存储量大于所述信息总量的至少一个第一目标设备;Based on the remaining storage space of one or more online devices and the total amount of information, filter out from the online devices at least one first target whose information storage capacity corresponding to the remaining storage space is greater than the total amount of information equipment;
对至少一个所述第一注册用户信息中的敏感信息进行加密,获得加密注册信息;Encrypt sensitive information in at least one of the first registered user information to obtain encrypted registration information;
将至少一个所述加密注册信息发送至筛选出的所述至少一个第一目标设备。Sending at least one piece of encrypted registration information to the at least one selected first target device.
在一种可能的实施方式中,所述装置还包括:In a possible implementation manner, the device also includes:
第三获取模块,用于获取第二用户的第三注册用户信息;A third acquiring module, configured to acquire third registered user information of the second user;
基于所述第三注册用户信息,确定所述第二用户所属的第二用户组;determining a second user group to which the second user belongs based on the third registered user information;
所述发送模块,还用于在存在与所述第二用户组相关联的第二任务的情况下,将所述第二用户的第三注册用户信息发送至所述第二任务对应的第二设备组中的至少一个第二目标设备。The sending module is further configured to send the third registered user information of the second user to the second task corresponding to the second task if there is a second task associated with the second user group. At least one second target device in the device group.
在一种可能的实施方式中,所述发送模块,还用于在所述响应于所述第一任务,将至少一个所述第一用户的第一注册用户信息发送至所述第一设备组中的至少一个第一目标设备之后,获取所述至少一个第一目标设备中的任一第一目标设备反馈的针对所述第一注册用户信息的存储结果;In a possible implementation manner, the sending module is further configured to, in the response to the first task, send at least one first registered user information of the first user to the first device group After at least one first target device in the at least one first target device, obtain the storage result of the first registered user information fed back by any first target device in the at least one first target device;
在所述存储结果指示所述第一注册用户信息未存储成功的情况下,重新将所述第一注册用户信息发送至所述任一第一目标设备。If the storage result indicates that the first registered user information has not been successfully stored, resend the first registered user information to any one of the first target devices.
在一种可能的实施方式中,所述发送模块,用于在所述存储结果指示所述第一注册用户信息未存储成功的情况下,获取所述任一第一目标设备对应的存储失败次数;In a possible implementation manner, the sending module is configured to acquire the storage failure times corresponding to any first target device when the storage result indicates that the first registered user information has not been stored successfully ;
在所述存储失败次数小于预设阈值的情况下,基于所述存储结果,确定所述任一第一目标设备的存储失败原因;If the number of times of storage failure is less than a preset threshold, based on the storage result, determine a storage failure cause of any one of the first target devices;
在所述存储失败原因指示所述第一注册用户信息的信息格式错误的情况下,按照所述任一第一目标设备对应的预设存储格式,对所述第一注册用户信息进行格式调整,得到调整后的第一注册用户信息;In the case where the storage failure reason indicates that the information format of the first registered user information is wrong, adjust the format of the first registered user information according to the preset storage format corresponding to any one of the first target devices, Obtain the adjusted first registered user information;
将所述调整后的第一注册用户信息发送至所述任一第一目标设备。Sending the adjusted first registered user information to any one of the first target devices.
在一种可能的实施方式中,所述发送模块,还用于在所述获取所述任一第一目标设备对应的存储失败次数之后,在所述存储失败次数大于预设阈值的情况下,确定所述任一目标设备的设备状态为运行故障状态;In a possible implementation manner, the sending module is further configured to, after acquiring the number of storage failures corresponding to any first target device, if the number of storage failures is greater than a preset threshold, Determining that the device state of any target device is an operation failure state;
基于所述任一目标设备对应的位置信息和全部已注册的设备的位置信息,从全部已注册的设备中筛选出所述任一目标设备对应的临时替换设备;Based on the location information corresponding to any of the target devices and the location information of all registered devices, select a temporary replacement device corresponding to any of the target devices from all registered devices;
将所述临时替换设备的设备信息和所述任一目标设备的设备状态反馈给管理设备。Feedback the device information of the temporary replacement device and the device status of any target device to the management device.
第四方面,本公开可选实现方式还提供一种计算机设备,处理器、存储器,所述存储器存储有所述处理器可执行的机器可读指令,所述处理器用于执行所述存储器中存储的机器可读指令,所述机器可读指令被所述处理器执行时,所述机器可读指令被所述处理器执行时执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤。In a fourth aspect, an optional implementation manner of the present disclosure further provides a computer device, a processor, and a memory, where the memory stores machine-readable instructions executable by the processor, and the processor is configured to execute the instructions stored in the memory. machine-readable instructions, when the machine-readable instructions are executed by the processor, when the machine-readable instructions are executed by the processor, the above-mentioned first aspect is executed, or any possible implementation of the first aspect steps in the method.
第五方面,本公开可选实现方式还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被运行时执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤。In the fifth aspect, an optional implementation mode of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed, the above-mentioned first aspect, or any one of the first aspects in the first aspect may be executed. Steps in one possible implementation.
第六方面,本公开可选实现方式还提供一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的易失性计算机可读存储介质或非易失性计算机可读存储介质,当所述计算机可读代码在电子设备的处理器中运行时,所述电子设备中的处理器执行上述第一方面,或第一方面中任一种可能的实施方式中的步骤。In the sixth aspect, an optional implementation manner of the present disclosure further provides a computer program product, including computer readable codes, or a volatile computer readable storage medium or a nonvolatile computer readable storage medium carrying computer readable codes , when the computer-readable code runs in a processor of the electronic device, the processor in the electronic device executes the steps in the above first aspect, or any possible implementation manner of the first aspect.
关于上述信息处理装置、系统、计算机设备、及计算机可读存储介质和计算机程序产品的效果描述参见上述信息处理方法的说明,这里不再赘述。For the effect description of the above-mentioned information processing apparatus, system, computer equipment, and computer-readable storage medium and computer program product, please refer to the description of the above-mentioned information processing method, which will not be repeated here.
为使本公开的上述特征和优点能更明显易懂,下文特举可选实施例,并配合所附附图,作详细说明如下。In order to make the above-mentioned features and advantages of the present disclosure more comprehensible, optional embodiments are exemplified below and described in detail in conjunction with the accompanying drawings.
附图说明Description of drawings
为了更清楚地说明本公开实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,此处的附图被并入说明书中并构成本说明书中的一部分,这些附图示出了符合本公开的实施例,并与说明书一起用于说明本公开的技术方案。应当理解,以下附图仅示出了本公开的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present disclosure more clearly, the following will briefly introduce the accompanying drawings used in the embodiments. The accompanying drawings here are incorporated into the specification and constitute a part of the specification. The drawings show the embodiments consistent with the present disclosure, and are used together with the description to explain the technical solutions of the present disclosure. It should be understood that the following drawings only show some embodiments of the present disclosure, and therefore should not be regarded as limiting the scope. For those skilled in the art, they can also make From these figures are obtained other related figures.
图1示出了本公开实施例所提供的一种应用于服务器的信息处理方法的流程图;FIG. 1 shows a flowchart of an information processing method applied to a server provided by an embodiment of the present disclosure;
图2示出了本公开实施例所提供的一种生成第一任务的方法的流程图;FIG. 2 shows a flowchart of a method for generating a first task provided by an embodiment of the present disclosure;
图3示出了本公开实施例所提供的另一种生成第一任务的方法的流程图;FIG. 3 shows a flow chart of another method for generating a first task provided by an embodiment of the present disclosure;
图4示出了本公开实施例所提供的一种生成第一用户组的方法的流程图;FIG. 4 shows a flowchart of a method for generating a first user group provided by an embodiment of the present disclosure;
图5示出了本公开实施例所提供的一种确定第一目标设备并向第一目标设备下发第一注册用户信息的方法的流程图;FIG. 5 shows a flow chart of a method for determining a first target device and delivering first registered user information to the first target device according to an embodiment of the present disclosure;
图6示出了本公开实施例所提供的一种将第一注册用户信息发送至第一目标设备的方法的流程图;FIG. 6 shows a flow chart of a method for sending first registered user information to a first target device provided by an embodiment of the present disclosure;
图7示出了本公开实施例所提供的另一种确定第一目标设备并向第一目标设备下发第一注册用户信息的方法的流程图;FIG. 7 shows a flow chart of another method for determining a first target device and delivering first registered user information to the first target device provided by an embodiment of the present disclosure;
图8示出了本公开实施例所提供的另一种发送注册用户信息的方法的流程图;FIG. 8 shows a flow chart of another method for sending registered user information provided by an embodiment of the present disclosure;
图9示出了本公开实施例所提供的一种重新发送第一注册用户信息的方法的流程图;FIG. 9 shows a flow chart of a method for resending first registered user information provided by an embodiment of the present disclosure;
图10示出了本公开实施例所提供的一种信息处理系统的示意图;FIG. 10 shows a schematic diagram of an information processing system provided by an embodiment of the present disclosure;
图11示出了本公开实施例所提供的一种信息处理装置的示意图;Fig. 11 shows a schematic diagram of an information processing device provided by an embodiment of the present disclosure;
图12示出了本公开实施例所提供的一种计算机设备结构示意图。Fig. 12 shows a schematic structural diagram of a computer device provided by an embodiment of the present disclosure.
具体实施方式detailed description
为使本公开实施例的技术方案和优点更加清楚,下面将结合本公开实施例中附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本公开一部分实施例,而不是全部的实施例。通常在此处描述和示出的本公开实施例的组件可以以各种不同的配置来布置和设计。因此,以下对本公开的实施例的详细描述并非旨在限制要求保护的本公开的范围,而是仅仅表示本公开的选定实施例。基于本公开的实施例,本领域技术人员在没有做出创造性劳动的前提下所获得的所有其他实施例,都属于本公开保护的范围。In order to make the technical solutions and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only the present invention. Some, but not all, embodiments are disclosed. The components of the disclosed embodiments generally described and illustrated herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the present disclosure is not intended to limit the scope of the claimed disclosure, but merely represents selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without creative effort shall fall within the protection scope of the present disclosure.
另外,本公开实施例中的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的实施例能够以除了在这里图示或描述的内容以外的顺序实施。In addition, the terms "first", "second" and the like in the description and claims in the embodiments of the present disclosure and the above drawings are used to distinguish similar objects, and not necessarily used to describe a specific sequence or sequence. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments described herein can be practiced in sequences other than those illustrated or described herein.
在本文中提及的“多个或者若干个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。"Plural or several" mentioned herein means two or more. "And/or" describes the association relationship of associated objects, indicating that there may be three types of relationships, for example, A and/or B may indicate: A exists alone, A and B exist simultaneously, and B exists independently. The character "/" generally indicates that the contextual objects are an "or" relationship.
经研究发现,随着物联网技术的快速发展,物联网设备开始被广泛应用于多种场景中,例如,人脸识别系统,给人们的生活带来了极大的便利。但现有的物联网识别设备中,针对用户的识别大多是在设备获取用户的识别图像之后,将图像上传至服务器,由服务器基于已存储在图库中的认证图像,与识别图像进行全量对比,从而确定识别图像对应的识别结果并将识别结果下发至设备中,从而完成识别。It has been found through research that with the rapid development of Internet of Things technology, Internet of Things devices have been widely used in various scenarios, for example, face recognition systems, which have brought great convenience to people's lives. However, in the existing Internet of Things identification devices, most of the identification for users is to upload the image to the server after the device obtains the user's identification image, and the server performs a full comparison with the identification image based on the authentication image stored in the gallery. In this way, the recognition result corresponding to the recognition image is determined and the recognition result is delivered to the device, thereby completing the recognition.
但是,服务器中存储的认证图像的数量十分庞大,如果每次识别都基于将识别图像依次与认证图像进行对比的方式,需要花费大量的时间,降低了识别效率。并且,由于认证图像的数量庞大,可能存在区别特征较小、且与识别图像相似度较高的多个认证图像,不仅提高了识别难度,还可能影响识别结果,降低识别精度。However, the number of authentication images stored in the server is very large. If each recognition is based on the method of comparing the recognition images with the authentication images in turn, it will take a lot of time and reduce the recognition efficiency. Moreover, due to the large number of authentication images, there may be multiple authentication images with small distinguishing features and high similarity with the recognition image, which not only increases the difficulty of recognition, but also may affect the recognition result and reduce the recognition accuracy.
基于上述研究,本公开提供了一种信息处理方法、系统、装置、计算机设备和存储介质,基于第一任务对应的第一用户组和第一设备组,能够确定至少一个第一用户对应的第一注册用户信息所需要存储的设备。在获取至少一个第一用户的第一注册用户信息之后,基于第一任务,能够实现预先将至少一个第一用户对应的第一注册用户消息下发至第一设备组中的至少一个第一目标设备,从而第一目标设备可以存储接收到的第一注册用户信息。第一目标设备可以基于存储的第一注册用户信息对第一用户进行识别认证,不需要将获取的第一注册用户信息发送至服务器进行识别,利用预先下发并存储第一注册用户信息的方式,提高了识别速度和识别效率,第一目标设备可以使用存储的第一注册用户信息对第一用户进行认证,在减少需要对比的注册用户信息的基础上,能够提高识别结果的准确性。Based on the above research, the present disclosure provides an information processing method, system, device, computer equipment, and storage medium, based on the first user group and the first equipment group corresponding to the first task, it is possible to determine the first task corresponding to at least one first user. A device that needs to store registered user information. After obtaining the first registered user information of at least one first user, based on the first task, it is possible to pre-deliver the first registered user message corresponding to the at least one first user to at least one first target in the first device group device, so that the first target device can store the received first registered user information. The first target device can identify and authenticate the first user based on the stored first registered user information, without sending the obtained first registered user information to the server for identification, by sending and storing the first registered user information in advance , improving the recognition speed and recognition efficiency, the first target device can use the stored first registered user information to authenticate the first user, and on the basis of reducing the registered user information that needs to be compared, the accuracy of the recognition result can be improved.
针对以上方案所存在的缺陷,均是发明人在经过实践并仔细研究后得出的结果,因此,上述问题的发现过程以及下文中本公开针对上述问题所提出的解决方案,都应该是发明人在本公开过程中对本公开做出的贡献。The defects in the above solutions are all the results obtained by the inventor after practice and careful research. Therefore, the discovery process of the above problems and the solutions proposed by the present disclosure below for the above problems should be the result of the inventor Contributions made to this disclosure during the course of this disclosure.
应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that like numerals and letters denote similar items in the following figures, therefore, once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.
为便于对本实施例进行理解,首先对本公开实施例所公开的一种信息处理方法的应用场景进行介绍。管理员可以在任一管理设备上注册第一用户。其中,管理设备可以为任一物联网设备,管理员可以为第一用户。以管理设备为第一人脸识别设备,管理员为第一用户为例,第一用户可以在第一人脸识别设备注册第一用户,在注册时,可以输入第一注册用户信息。To facilitate understanding of this embodiment, an application scenario of an information processing method disclosed in an embodiment of the present disclosure is firstly introduced. The administrator can register the first user on any management device. Wherein, the management device may be any IoT device, and the administrator may be the first user. Taking the management device as the first face recognition device and the administrator as the first user as an example, the first user can register the first user on the first face recognition device, and can input the first registered user information during registration.
然后服务器可以获取到管理设备反馈的第一注册用户信息并将其进行存储。其中,第一注册用户信息可以为第一用户的图像、手机号等。Then the server can acquire the first registered user information fed back by the management device and store it. Wherein, the first registered user information may be an image of the first user, a mobile phone number, and the like.
之后,第一用户可以指定其所需要的加入的第一用户组,以及指定注册用户信息需要发送的设备,并发起生成任务的指令。这里,第一用户指定的设备均为物联网设备,具体的,第一用户指定的设备均可以为第二人脸识别设备,其中,第二人脸识别设备可以包括第一人脸识别设备。Afterwards, the first user can designate the first user group to join and the device to which the registered user information needs to be sent, and initiate an instruction to generate a task. Here, the devices designated by the first user are all Internet of Things devices. Specifically, the devices designated by the first user may all be second face recognition devices, where the second face recognition devices may include the first face recognition device.
进而,服务器可以获取到管理设备反馈的第一用户组、用户指定的设备、以及生成任务的指令。服务器可以基于用户指定的设备生成第一设备组,并相应于生成任务的指令,建立第一设备组和第一用户组之间的关联关系,并生成第一任务。Furthermore, the server may acquire the first user group fed back by the management device, the device specified by the user, and the instruction for generating the task. The server may generate the first device group based on the device specified by the user, and establish an association relationship between the first device group and the first user group corresponding to the instruction for generating the task, and generate the first task.
然后,服务器定时获取已生成的第一任务,基于获取的第一任务,确定第一设备组和第一用户组,进而,可以获取存储的第一用户组中的至少一个第一用户的第一注册用户信息,响应于获取的第一任务,将至少一个第一用户的第一注册用户信息发送至第一设备组的至少一个目标设备。Then, the server regularly acquires the generated first task, and based on the acquired first task, determines the first device group and the first user group, and further, may acquire the first Registered user information, in response to the acquired first task, sending the first registered user information of at least one first user to at least one target device of the first device group.
最后,目标设备接收到第一注册用户信息,并在获取到待识别人脸图像时,利用存储的第一注册用户信息对待识别人脸图像进行识别,确定待识别人脸图像对应的用户是否为合法用户,如果是,则可以打开目标设备对应的门禁,允许该用户进入,如果否,则拒绝该用户进入。Finally, the target device receives the first registered user information, and when obtaining the face image to be recognized, uses the stored first registered user information to identify the face image to be recognized, and determines whether the user corresponding to the face image to be recognized is If it is a valid user, the door corresponding to the target device can be opened to allow the user to enter, and if not, the user is denied to enter.
下面对本公开实施例所提供信息处理方法进行详细介绍,本公开实施例所提供信息处理方法的执行主体一般为具有一定计算能力的计算机设备,在一些可能的实现方式中,该信息处理方法可以通过处理器调用存储器中存储的计算机可读指令的方式来实现。The following is a detailed introduction to the information processing method provided by the embodiment of the present disclosure. The execution subject of the information processing method provided by the embodiment of the present disclosure is generally a computer device with certain computing capabilities. In some possible implementations, the information processing method can be implemented by It is implemented by a processor calling computer-readable instructions stored in a memory.
这里,以执行主体为服务器例对本公开实施例提供的信息处理方法加以说明。Here, the information processing method provided by the embodiment of the present disclosure is described by taking the execution subject as a server example.
如图1所示,为本公开实施例提供的一种应用于服务器的信息处理方法的流程图,可以包括以下步骤:As shown in FIG. 1, a flow chart of an information processing method applied to a server provided by an embodiment of the present disclosure may include the following steps:
S101:获取第一任务。S101: Obtain a first task.
这里,第一任务可以是预先生成的信息下发任务。第一任务中可以包括具有关联关系的第一用户组和第一设备组,其中,第一用户组中包括至少一个第一用户,第一设备组中包括至少一个设备。设备为需要接收并存储第一用户对应的第一注册用户信息的设备,并且可以是由服务器进行管理的任一物联网设备。例如,第一目标设备可以是针对人脸识别的自主售货设备、针对人脸设备的智能门禁设备等。Here, the first task may be a pre-generated information delivery task. The first task may include a first user group and a first device group that have an association relationship, where the first user group includes at least one first user, and the first device group includes at least one device. The device is a device that needs to receive and store the first registered user information corresponding to the first user, and may be any IoT device managed by the server. For example, the first target device may be an autonomous vending device for face recognition, an intelligent access control device for face recognition, and the like.
第一注册用户信息可以是一种能够表征第一用户的身份信息、属性信息等的信息,可以包括目标用户的图像信息、文字简介信息、手机号信息、身份证号信息、邮箱信息等。例如,第一注册用户信息可以为第一用户的用户人脸图像、工作部门、工作年限、姓名、邮箱、性别等信息。The first registered user information may be information that can represent the identity information, attribute information, etc. of the first user, and may include image information, text profile information, mobile phone number information, ID number information, email information, etc. of the target user. For example, the first registered user information may be the user's face image, work department, working years, name, email address, gender and other information of the first user.
第一用户可以是需要第一设备组中的设备进行识别的用户。例如,设备为针对人脸识别的智能门禁设备,第一用户在需要通过门禁时,则可以在设备处进行人脸识别,设备在获取到第一用户的待识别人脸图像之后,基于存储的第一注册用户信息对其进行识别,在识别通过的情况下,允许通过门禁。The first user may be a user who needs to be identified by devices in the first device group. For example, the device is an intelligent access control device for face recognition. When the first user needs to pass through the access control, face recognition can be performed at the device. After the device obtains the face image of the first user to be recognized, it The first registered user information identifies it, and if the identification is passed, it is allowed to pass through the gate.
第一用户组中的第一用户为注册在服务器的用户,第一设备组中的设备为注册在服务器的设备,服务器可以对注册的设备进行管理。服务器可以对应于若干个注册的用户(包括第一用户)和若干个注册的设备(包括设备),不同的用户可以组成不同的用户组,不同的设备可以组成不同的设备组。The first users in the first user group are users registered in the server, the devices in the first device group are devices registered in the server, and the server can manage the registered devices. The server may correspond to several registered users (including the first user) and several registered devices (including devices), different users may form different user groups, and different devices may form different device groups.
第一任务可以是在服务器获取到任一第一用户的第一注册用户信息之后、生成的将第一注册用户信息的任务下发至设备中的任务。不同的第一任务中可以包括不同的用户组和设备组的关联关系。The first task may be a task of sending the first registered user information to the device generated after the server acquires the first registered user information of any first user. Different first tasks may include different association relationships between user groups and device groups.
服务器可以基于不同用户组和设备组之间的关联关系,生成不同的任务,并在确定可以执行任务的情况下,获取任务并执行。The server can generate different tasks based on the association relationship between different user groups and device groups, and obtain and execute the tasks when it is determined that the tasks can be executed.
针对本步骤,具体实施时,服务器在生成第一任务之后,可以直接将其作为获取到第一任务。或者,服务器中可以设置一个定时获取任务,基于该定时获取任务,定时从已生成的多个任务中,确定出当前可以执行的第一任务。Regarding this step, during specific implementation, after the server generates the first task, it may directly use it as the acquired first task. Alternatively, a timing acquisition task may be set in the server, and based on the timing acquisition task, the first task that can be executed at present is determined periodically from the multiple generated tasks.
并且,任务在生成之后,服务器可以将任务的状态设置为初始状态,用以指示任务还未开始执行。具体的,服务器可以定时从已生成的多个任务中,获取状态为初始状态的第一任务。Moreover, after the task is generated, the server may set the state of the task to an initial state to indicate that the execution of the task has not yet started. Specifically, the server may regularly acquire the first task whose state is the initial state from the multiple generated tasks.
S102:基于第一任务,确定与第一任务对应的第一用户组和第一设备组。S102: Based on the first task, determine a first user group and a first device group corresponding to the first task.
本步骤中,服务器在获取到第一任务之后,可以对第一任务进行解析,确定第一任务中的具有关联关系的第一用户组和第一设备组。In this step, after acquiring the first task, the server may analyze the first task, and determine the first user group and the first device group that have an association relationship in the first task.
S103:获取预先存储的第一用户组中的至少一个第一用户的第一注册用户信息。S103: Acquire first registered user information of at least one first user in the pre-stored first user group.
其中,第一注册用户信息中至少包括用户人脸图像。Wherein, the first registered user information includes at least the user's face image.
这里,服务器对应的云端系统的管理员(可以为第一用户),可以利用管理设备登录云端系统,并在云端系统录入第一用户的第一注册用户信息。之后,服务器基于录入的第一注册用户信息,生成与第一注册用户信息相对应的记录信息,并将记录信息存储在数据库中。其中,记录信息包括第一注册用户信息。Here, the administrator of the cloud system corresponding to the server (which may be the first user) can use the management device to log in to the cloud system, and enter the first registered user information of the first user in the cloud system. Afterwards, the server generates record information corresponding to the first registered user information based on the entered first registered user information, and stores the record information in the database. Wherein, the record information includes the first registered user information.
或者,管理员在云端系统录入第一用户的第一注册用户信息之后,服务器也可以直接将第一注册用户信息存储在数据库中,这里不进行限定。Alternatively, after the administrator enters the first registered user information of the first user in the cloud system, the server may directly store the first registered user information in the database, which is not limited here.
其中,管理员可以为任一具有登录云端系统权限的用户,可以为第一用户、也可以为目标用户的管理用户等,这里不进行限定。Wherein, the administrator may be any user who has the authority to log in to the cloud system, may be the first user, or may be a management user of the target user, etc., which is not limited here.
针对本步骤,在确定第一用户组之后,可以确定第一用户组中包括的至少一个第一用户,然后,可以在数据库中获取预先存储的至少一个第一用户对应的第一注册用户信息。For this step, after the first user group is determined, at least one first user included in the first user group may be determined, and then the pre-stored first registered user information corresponding to the at least one first user may be acquired in the database.
具体的,若第一设备组对应的设备为针对人脸识别的物联网设备,则可以直接在数据库中获取至少一个第一用户对应的人像或图像。Specifically, if the device corresponding to the first device group is an Internet of Things device for face recognition, at least one portrait or image corresponding to the first user may be directly obtained from the database.
S104:响应于第一任务,将至少一个第一用户的第一注册用户信息发送至第一设备组中的至少一个第一目标设备。S104: In response to the first task, send first registered user information of at least one first user to at least one first target device in the first device group.
这里,第一目标设备为第一设备组对应的一个或多个设备中的设备。第一目标设备用于接收第一注册用户信息并存储,以及基于存储的第一注册用户信息对待识别人脸图像进行人脸识别。Here, the first target device is a device in one or more devices corresponding to the first device group. The first target device is configured to receive and store the first registered user information, and perform face recognition on the face image to be recognized based on the stored first registered user information.
在确定第一任务对应的第一设备组之后,可以确定第一设备组对应的一个或多个设备。然后,可以在服务器管理的若干个设备中,确定出上述一个或多个设备,进而,可以在确定出的一个或多 个设备中,筛选至少一个设备作为第一目标设备。具体实施时,可以将第一设备组中的一个或多个设备均作为第一目标设备。After the first device group corresponding to the first task is determined, one or more devices corresponding to the first device group may be determined. Then, among the several devices managed by the server, the above one or more devices may be determined, and then, among the determined one or more devices, at least one device may be selected as the first target device. During specific implementation, one or more devices in the first device group may be used as the first target device.
然后,可以响应于第一任务,将获取的至少一个第一用户的第一注册用户信息发送至一个或多个筛选的第一目标设备中。之后,一个或多个第一目标设备可以在接收到服务器下发的第一注册用户信息之后,将其存储在本地,以用于后续基于存储的第一注册用户信息,对获取的待识别人脸图像进行人脸识别。Then, in response to the first task, the acquired first registered user information of at least one first user may be sent to one or more screened first target devices. Afterwards, after receiving the first registered user information from the server, one or more first target devices can store it locally, so as to be used for subsequent identification of the acquired person to be identified based on the stored first registered user information. face images for face recognition.
这样,基于第一任务对应的第一用户组和第一设备组,能够确定至少一个第一用户对应的第一注册用户信息所需要存储的设备。在获取至少一个第一用户的第一注册用户信息之后,基于第一任务,能够实现预先将至少一个第一用户对应的第一注册用户消息下发至第一设备组中的至少一个第一目标设备,从而第一目标设备可以存储接收到的第一注册用户信息。第一目标设备可以基于存储的第一注册用户信息对第一用户进行识别认证,不需要将获取的第一注册用户信息发送至服务器进行识别,利用预先下发并存储第一注册用户信息的方式,提高了识别速度和识别效率,第一目标设备可以使用存储的第一注册用户信息对第一用户进行认证,在减少需要对比的注册用户信息的基础上,能够提高识别结果的准确性。In this way, based on the first user group and the first device group corresponding to the first task, the device that needs to be stored for the first registered user information corresponding to at least one first user can be determined. After obtaining the first registered user information of at least one first user, based on the first task, it is possible to pre-deliver the first registered user message corresponding to the at least one first user to at least one first target in the first device group device, so that the first target device can store the received first registered user information. The first target device can identify and authenticate the first user based on the stored first registered user information, without sending the obtained first registered user information to the server for identification, by sending and storing the first registered user information in advance , improving the recognition speed and recognition efficiency, the first target device can use the stored first registered user information to authenticate the first user, and on the basis of reducing the registered user information that needs to be compared, the accuracy of the recognition result can be improved.
在一种实施例中,在获取第一任务之前,还需要生成第一任务,如图2所示,为本公开实施例所提供给的一种生成第一任务的方法的流程图,可以包括以下步骤:In one embodiment, before obtaining the first task, the first task needs to be generated, as shown in FIG. 2 , which is a flow chart of a method for generating the first task provided by an embodiment of the present disclosure, which may include The following steps:
S201:基于第一用户在注册时输入的第一注册用户信息,从已生成的至少一个用户组中选取与第一注册用户信息存在关联关系的推荐用户组。S201: Based on the first registered user information input by the first user during registration, select a recommended user group associated with the first registered user information from at least one generated user group.
这里,已生成的用户组可以包括云端服务器预先生成的一些普适性较强的用户组,例如,白班组、晚班组、员工组、领导组等。以及,已生成的用户组还可以包括在第一用户注册之前,由其他已注册的用户组成的用户组。Here, the generated user groups may include some universal user groups pre-generated by the cloud server, for example, a day shift group, an evening shift group, an employee group, a leadership group, and the like. And, the generated user group may also include a user group composed of other registered users before the first user registers.
推荐用户组为确定的与第一注册用户信息对应的第一用户存在较高的关联程度,且为服务器确定的第一用户可选择加入的最优的用户组。针对确定的推荐用户组,第一用户加入推荐用户组的可能性大于已生成的用户组中的备选用户组。其中,备选用户组为已生成的用户组中除推荐用户组以外的用户组。The recommended user group is an optimal user group determined by the server that has a high degree of association with the first user corresponding to the first registered user information and that the first user can choose to join. For the determined recommended user group, the possibility of the first user joining the recommended user group is greater than that of the candidate user groups in the generated user groups. Wherein, the candidate user groups are user groups other than the recommended user groups in the generated user groups.
本步骤中,在获取到第一用户在注册时输入的第一注册用户信息之后,可以根据第一注册用户信息确定第一用户的用户属性信息,例如,用户属性信息可以为该用户的工作部门为白班部门。In this step, after obtaining the first registered user information input by the first user during registration, the user attribute information of the first user can be determined according to the first registered user information. For example, the user attribute information can be the user's work department For the day shift department.
之后,可以根据已生成的至少一个用户组中的用户的用户属性信息或用户组的属性信息,确定与第一用户的用户属性信息关联程度较高的用户组,然后,将上述用户组作为与第一注册用户信息存在关联关系的推荐用户组。并且,推荐用户组可以包括多个。Afterwards, according to the user attribute information of the users in at least one user group that has been generated or the attribute information of the user group, determine the user group with a higher degree of association with the user attribute information of the first user, and then use the above user group as the relevant A recommended user group whose information is associated with the first registered user. Also, the recommended user group may include multiple groups.
S202:将推荐用户组发送给管理设备。S202: Send the recommended user group to the management device.
这里,将推荐用户组发送给管理设备,可以使管理设备在接收到推荐用户组之后,将推荐用户组展示在云端系统对应的展示页面的第一预设位置,其中,第一预设位置可以为展示页面的中心区域位置,这样,第一用户可以在展示页面中优先关注到推荐用户组,并可以优先从推荐用户组中选取第一用户组,不需要从所有的已生成的用户组中选取第一用户组,提高了确定第一用户组的速度。Here, sending the recommended user group to the management device can make the management device display the recommended user group at the first preset position of the display page corresponding to the cloud system after receiving the recommended user group, wherein the first preset position can be In order to display the central area of the page, in this way, the first user can give priority to the recommended user group on the display page, and can preferentially select the first user group from the recommended user group, instead of selecting from all generated user groups Selecting the first user group improves the speed of determining the first user group.
另外,管理设备在展示推荐用户组的同时,还可以将已生成的用户组中除推荐用户组以外的备选用户组展示在展示页面的第二预设位置,其中,第二预设位置可以为展示页面的边缘区域。这样, 如果推荐用户组中不存在第一用户需要选取的用户组,则还可以在第二预设位置处的备选用户组中选取第一用户组。In addition, while displaying the recommended user groups, the management device may also display alternative user groups in the generated user groups at a second preset position on the display page, wherein the second preset position may be To display the margin area of the page. In this way, if there is no user group to be selected by the first user in the recommended user group, the first user group may also be selected from the candidate user groups at the second preset position.
S203:接收管理设备基于推荐用户组返回的第一用户组以及管理设备指定的第一设备组。S203: Receive the first user group returned by the management device based on the recommended user group and the first device group specified by the management device.
这里,在第一用户从推荐用户组或备选用户组中确定选取的第一用户组之后,管理设备可以将第一用户选取的第一用户组反馈给服务器,之后,服务器可以基于管理设备的反馈,确定第一用户选择的第一用户组。Here, after the first user determines the selected first user group from the recommended user group or candidate user groups, the management device may feed back the first user group selected by the first user to the server, and then the server may Feedback, determining the first user group selected by the first user.
并且,第一用户还可以在选取第一用户组之后,利用管理设备对应的展示页面,指定与第一用户组对应的第一设备组。其中,第一用户指定的第一设备组可以是已生成的设备组,也可以是服务器端对应的已注册设备中的至少一个设备。在第一用户指定设备组成第一设备组的情况下,管理设备可以基于第一用户指定的设备确定出第一设备组。之后,可以将第一设备组反馈给服务器。进而,服务器可以接收到管理设备指定的第一设备组。In addition, after selecting the first user group, the first user may use the display page corresponding to the management device to designate the first device group corresponding to the first user group. Wherein, the first device group specified by the first user may be a generated device group, or may be at least one device among registered devices corresponding to the server. In the case that the devices designated by the first user form the first device group, the management device may determine the first device group based on the devices designated by the first user. Afterwards, the first device group may be fed back to the server. Furthermore, the server may receive the first device group specified by the management device.
S204:基于第一用户组和第一设备组,生成第一任务。S204: Generate a first task based on the first user group and the first device group.
具体实施时,在确定第一用户组和第一设备组之后,服务器可以建立第一用户组和第一设备组之间的关联关系,并基于该关联关系,生成第一任务。During specific implementation, after determining the first user group and the first device group, the server may establish an association relationship between the first user group and the first device group, and generate the first task based on the association relationship.
在一种实施例中,还可以按照图3所示的方法,生成第一任务。如图3所示,为本公开实施例所提供的另一种生成第一任务的方法的流程图,可以包括以下步骤:In an embodiment, the first task may also be generated according to the method shown in FIG. 3 . As shown in FIG. 3 , it is a flow chart of another method for generating a first task provided by an embodiment of the present disclosure, which may include the following steps:
S301:基于至少一个用户的注册用户信息,确定至少一个用户在预设属性类型下的第一属性特征。S301: Based on registered user information of at least one user, determine a first attribute characteristic of at least one user under a preset attribute type.
这里,不同的预设属性类型能够反映用户不同的属性特征,例如,白班属性、黑名单属性。第一属性特征用于反映用户是否具有与预设属性类型相对应的属性特征。例如,预设属性类型为夜班工作人员,用户A为的注册用户信息对应的用户属性信息为白班部门,则可以确定用户A在夜班工作人员的预设属性类型下的第一属性特征为用户A不属于夜班工作人员。Here, different preset attribute types can reflect different attribute characteristics of users, for example, day shift attribute and blacklist attribute. The first attribute feature is used to reflect whether the user has an attribute feature corresponding to a preset attribute type. For example, if the preset attribute type is night shift worker, and the user attribute information corresponding to the registered user information of user A is the day shift department, then it can be determined that the first attribute feature of user A under the preset attribute type of night shift worker is user A Does not belong to night shift workers.
由上述实施例可知,基于用户的注册用户信息,可以确定用户的用户属性信息。进而,如果预设属性类型包括多个,针对至少一个预设属性类型,基于至少一个用户的注册用户信息对应的用户属性信息,可以确定至少一个用户在该预设属性类型的第一属性特征。It can be known from the above embodiments that based on the registered user information of the user, the user attribute information of the user can be determined. Furthermore, if there are multiple preset attribute types, for at least one preset attribute type, based on the user attribute information corresponding to the registered user information of at least one user, the first attribute feature of at least one user in the preset attribute type can be determined.
基于此,基于至少一个用户的注册用户信息,可以确定至少一个用户在一个或多个预设属性类型下的第一属性特征。Based on this, based on the registered user information of at least one user, the first attribute characteristics of at least one user under one or more preset attribute types may be determined.
S302:基于预设的属性特征以及第一属性特征,从至少一个用户中筛选出至少一个第一用户。S302: Screen out at least one first user from at least one user based on the preset attribute feature and the first attribute feature.
这里,预设的属性特征为预设的第一用户组的属性特征,或者,可以为第一用户组中的第一用户需要有的属性特征。预设的属性特征可以是管理员在确定需要组成具有目标属性(即预设的属性特征)的第一用户组之后,在云端系统预先设定的第一用户组的属性特征。Here, the preset attribute feature is a preset attribute feature of the first user group, or may be an attribute feature required by the first user in the first user group. The preset attribute feature may be the attribute feature of the first user group preset in the cloud system after the administrator determines that the first user group with the target attribute (ie, the preset attribute feature) needs to be formed.
具体实施时,根据预设的属性特征和至少一个用户的第一属性特征,可以从至少一个用户中筛选出第一属性特征与预设的属性特征相匹配的至少一个第一用户。具体的,可以将第一属性特征与预设的属性特征相同的至少一个用户作为第一用户。During specific implementation, according to the preset attribute feature and the first attribute feature of at least one user, at least one first user whose first attribute feature matches the preset attribute feature can be screened out from at least one user. Specifically, at least one user whose first attribute characteristic is the same as a preset attribute characteristic may be used as the first user.
S303:基于筛选出的至少一个第一用户,生成第一用户组。S303: Generate a first user group based on the at least one filtered first user.
S304:获取与第一用户组相匹配的设备属性特征。S304: Obtain device attribute features matching the first user group.
这里,与第一用户组相匹配的设备属性特征为第一设备组相对应的属性,可以是预先设定的,可以是服务器基于第一用户组的预设的属性特征确定的。例如,第一用户组的预设的属性特征为实验室组人员,则与第一用户组相匹配的设备属性特征可以为部署在实验室的设备。Here, the device attributes matching the first user group are attributes corresponding to the first device group, which may be preset or determined by the server based on the preset attribute characteristics of the first user group. For example, if the preset attribute characteristic of the first user group is laboratory group personnel, then the device attribute characteristic matching the first user group may be the equipment deployed in the laboratory.
具体实施时,在确定出第一用户组之后,服务器可以获取与第一用户组相匹配的设备属性特征。During specific implementation, after the first user group is determined, the server may acquire device attribute features matching the first user group.
S305:从多个已注册的设备中筛选具有设备属性特征的设备。S305: Screen devices with device attribute characteristics from multiple registered devices.
这里,不同的设备在注册时,也会对应输入设备注册信息,例如,设备的位置信息、设备的管理人员信息、设备的使用限制信息等。Here, when registering different devices, corresponding device registration information will also be input, for example, device location information, device manager information, device use restriction information, and the like.
具体的,基于多个已注册的设备中的一个或多个设备的设备注册信息,可以确定一个或多个设备与设备属性特征对应的设备属性信息。例如,设备属性特征为部署在实验室的设备,则可以基于一个或多个设备的设备注册信息,确定一个或多个设备的位置信息。Specifically, based on the device registration information of one or more devices among the multiple registered devices, device attribute information corresponding to one or more devices and device attribute features may be determined. For example, if the device attribute is characterized as a device deployed in a laboratory, location information of one or more devices may be determined based on device registration information of one or more devices.
进而,可以基于确定出的设备属性信息和设备属性特征,从多个已注册的设备中筛选具有设备属性特征的设备。Furthermore, based on the determined device attribute information and device attribute characteristics, devices with device attribute characteristics can be screened from multiple registered devices.
S306:基于筛选出的设备,生成第一设备组。S306: Generate a first device group based on the filtered devices.
S307:基于第一用户组和第一设备组,生成第一任务。S307: Generate a first task based on the first user group and the first device group.
这里,在确定出第一用户组和第一设备组之后,服务器可以建立第一用户组和第一设备组之间的关联关系,并基于该关联关系,生成第一任务。Here, after the first user group and the first device group are determined, the server may establish an association relationship between the first user group and the first device group, and generate the first task based on the association relationship.
在一种实施例中,在获取第一任务之前,还可以按照图4所示的方法,生成第一用户组,如图4所示,为本公开实施例所提供的一种生成第一用户组的方法的流程图,可以包括以下步骤:In one embodiment, before obtaining the first task, the first user group can also be generated according to the method shown in FIG. 4 , as shown in FIG. A flowchart of a method of setting may include the following steps:
S401:确定任一第一用户指定的至少一个注册用户。S401: Determine at least one registered user designated by any first user.
这里,第一用户组可以是该用户组中的任一第一用户主动生成的。注册用户为该第一用户在主动生成第一用户组之前,已经注册在服务器的用户。Here, the first user group may be actively generated by any first user in the user group. A registered user is a user who has registered with the server before the first user actively generates the first user group.
具体实施时,第一用户组中的任一第一用户在注册时,可以选取已经注册在服务器的注册用户,然后基于选取的注册用户,通过管理设备向服务器发起生成第一用户组的请求。During specific implementation, any first user in the first user group may select a registered user who has registered in the server when registering, and then initiate a request to the server through the management device to generate the first user group based on the selected registered user.
进而,服务器可以获取到生成第一用户组的请求,并基于该请求,确定任一第一用户指定的至少一个注册用户。Furthermore, the server may obtain the request for generating the first user group, and based on the request, determine at least one registered user designated by any first user.
S402:基于任一第一用户的第一注册用户信息和至少一个注册用户的第二注册用户信息,确定任一第一用户的第二属性特征和至少一个注册用户的第三属性特征。S402: Based on the first registered user information of any first user and the second registered user information of at least one registered user, determine a second attribute feature of any first user and a third attribute feature of at least one registered user.
这里,第二属性特征可以为第一用户的地域性特征、年龄特征、性别特征、用户等级特征等中的一种或多种。第三属性特征可以为注册用户的地域性特征、年龄特征、性别特征、用户等级特征等中的一种或多种。Here, the second attribute feature may be one or more of the first user's regional feature, age feature, gender feature, user level feature, and the like. The third attribute feature may be one or more of the registered user's regional feature, age feature, gender feature, user level feature, and the like.
针对本步骤,第二属性特征和第三属性特征可以是相对应的属性特征。例如,第二属性特征为第一用户的地域性特征,则第三属性特征为注册用户的地域性特征。For this step, the second attribute feature and the third attribute feature may be corresponding attribute features. For example, the second attribute feature is the regional feature of the first user, and the third attribute feature is the regional feature of the registered user.
示例性的,针对任一第一用户,基于该第一用户的第一注册用户信息,可以先确定第一用户的地址信息,再根据确定的地址信息以及预先划定的不同地域的地域范围,可以确定该第一用户的第二属性特征。其中,地址信息可以是工作地址、居住地址等。Exemplarily, for any first user, based on the first registered user information of the first user, the address information of the first user may be determined first, and then according to the determined address information and the pre-delineated geographical ranges of different regions, A second attribute characteristic of the first user may be determined. Wherein, the address information may be a work address, a residential address, and the like.
同时,基于至少一个注册用户中的至少一个注册用户的第二注册用户信息,也可以确定至少一个注册用户的地址信息,进而,可以确定至少一个注册用户的第三属性特征。At the same time, based on the second registered user information of at least one registered user among the at least one registered user, the address information of at least one registered user can also be determined, and further, the third attribute characteristic of at least one registered user can be determined.
关于年龄特征、用户等级特征和性别特征的确定过程,可以参考地域性特征的确定,这里不再赘述。Regarding the determination process of age characteristics, user level characteristics and gender characteristics, you can refer to the determination of regional characteristics, which will not be repeated here.
S403:基于任一第一用户的第二属性特征和至少一个注册用户的第三属性特征,确定至少一个注册用户与任一第一用户之间的匹配程度。S403: Based on the second attribute feature of any first user and the third attribute feature of at least one registered user, determine a matching degree between at least one registered user and any first user.
这里,匹配程度可以表征任一第一用户和注册用户组成第一用户组的合理性,以及两个用户之间的指代相同的属性特征的兼容性。Here, the matching degree may characterize the rationality of any first user and registered user forming the first user group, and the compatibility between the two users referring to the same attribute feature.
这里,仍以第二属性特征为地域性特征为例进行说明,针对至少一个注册用户,基于请求生成第一用户组的第一用户(即任一第一用户)的第二属性特征和该注册用户的第三属性特征,可以确定两个用户之间的地域性特征之间的相似程度,然后将确定出的相似程度作为匹配程度。Here, still taking the second attribute feature as an example of a regional feature for illustration, for at least one registered user, the second attribute feature and the registration The third attribute feature of the user may determine the degree of similarity between the regional characteristics of two users, and then use the determined similarity degree as the matching degree.
其中,如果两个用户之间的地域性特征相同,则可以确定相似程度为1,也即确定匹配程度为1。如果两个用户之间的地域性特征不一致,则可以确定两个用户分别的地域性特征对应的地域之间的距离,距离越近,则可以确定两个用户之间的地域性特征的相似程度越高,距离越远,相似程度越低,进而,可以确定出两用户之间的匹配程度。Wherein, if the regional characteristics between two users are the same, the degree of similarity can be determined to be 1, that is, the degree of matching can be determined to be 1. If the regional characteristics between two users are inconsistent, the distance between regions corresponding to the respective regional characteristics of the two users can be determined, and the closer the distance, the similarity of the regional characteristics between the two users can be determined The higher the value is, the farther the distance is, and the lower the degree of similarity is, and then, the degree of matching between two users can be determined.
基于上述步骤,可以确定任一第一用户和至少一个注册用户对应的两人组的匹配程度。Based on the above steps, it is possible to determine the degree of matching between any first user and the two-person group corresponding to at least one registered user.
S404:根据匹配程度,从至少一个注册用户中确定与任一第一用户成组的目标用户。S404: Determine a target user grouped with any first user from at least one registered user according to the matching degree.
具体实施时,可以根据确定出的至少一个注册用户和任一第一用户组成的两人组对应的匹配程度和预设的匹配程度阈值,筛选出匹配程度大于匹配程度阈值的目标两人组。之后,可以将一个或多个目标两人组中的注册用户作为可以与上述任一第一用户成组的目标用户。During specific implementation, according to the determined matching degree corresponding to the two-person group composed of at least one registered user and any first user and the preset matching degree threshold, target two-person groups whose matching degree is greater than the matching degree threshold can be screened out. Afterwards, registered users in one or more target two-person groups can be used as target users who can be grouped with any of the above-mentioned first users.
S405:基于确定的目标用户与任一第一用户,生成第一用户组。S405: Generate a first user group based on the determined target user and any first user.
这样,确定任一第一用户指定的注册用户和该任一第一用户之间的匹配程度,能够确定出两个用户出现在第一用户组中的合理性,从而,基于匹配程度,能够准确地筛选出可以合理的与该任一第一用户出现在第一用户组中的目标用户,进而,提高了生成的第一用户组的合理性。In this way, by determining the matching degree between the registered user specified by any first user and the first user, it is possible to determine the rationality of the two users appearing in the first user group, so that based on the matching degree, it is possible to accurately The target user that can reasonably appear in the first user group with any first user is screened out, thereby improving the rationality of the generated first user group.
例如,第一用户组对应的第一设备组中的设备为部署在机密实验室的针对人脸识别的门禁设备,能够进入机密实验室的用户的用户等级特征对应的用户等级最高,低用户等级的用户是无权进入的,因此,低用户等级的用户和用户等级最高的用户组成第一用户组的匹配程度应该较低。For example, the devices in the first device group corresponding to the first user group are access control devices for face recognition deployed in a confidential laboratory. The users who have no right to enter, therefore, the matching degree of the first user group composed of users with low user level and users with the highest user level should be relatively low.
进而,可以在确定注册用户和任一第一用户之间的匹配程度的过程中,如果注册用户的用户等级特征为为低用户等级,则可以直接确定两用户之间的匹配程度为较低,例如,可以确定匹配程度为0。之后,可以确定出至少一个注册用户和任一第一用户之间的匹配程度,进而,可以筛选出匹配程度高于匹配程度阈值的目标用户。这样,筛选出的目标用户均为用户等级最高的用户,均有进入机密实验室的权限,从而,可以生成第一用户组。Furthermore, in the process of determining the degree of matching between the registered user and any first user, if the user level of the registered user is characterized as a low user level, it can be directly determined that the degree of matching between the two users is low, For example, it may be determined that the degree of matching is 0. Afterwards, the matching degree between at least one registered user and any first user may be determined, and further, target users whose matching degree is higher than a matching degree threshold may be screened out. In this way, the selected target users are all users with the highest user level, and all have the authority to enter the confidential laboratory, so that the first user group can be generated.
在一种实施例中,针对S101,由于服务器的计算能力和信息处理能力较强,因此,获取的第一任务可以包括多个,具体实施时,可以按照以下步骤获取第一任务:In one embodiment, for S101, since the server has strong computing and information processing capabilities, the obtained first task may include multiple ones. During specific implementation, the first task may be obtained according to the following steps:
步骤一、根据实时网络状态以及一个或多个任务所需要的网络带宽,确定并发任务数量阈值。Step 1. Determine the threshold of the number of concurrent tasks according to the real-time network status and the network bandwidth required by one or more tasks.
这里,实时网络状态能够反映服务器当前的计算能力、网络带宽等。在具体实施时,可以在任 务列表中存在多个等待执行的、已生成的任务,任务的执行需要一定的网络带宽、计算能力等。Here, the real-time network status can reflect the current computing capability, network bandwidth, etc. of the server. During specific implementation, there may be multiple generated tasks waiting to be executed in the task list, and the execution of the tasks requires certain network bandwidth, computing power, etc.
具体实施时,在确定服务器需要执行任务的情况下,例如,到达定时执行任务的时间的情况下,可以先确定服务器对应的实时网络状态,以及确定任务列表中的每个任务所需要的网络带宽。During specific implementation, when it is determined that the server needs to perform a task, for example, when it is time to execute the task regularly, the real-time network status corresponding to the server can be determined first, and the network bandwidth required by each task in the task list can be determined .
然后,可以根据服务器对应的实时网络状态以及一个或多个任务所需要的网络带宽,确定在当前的网络状态下,服务器可以并发执行的任务数量。例如,每个任务所需要的网络带宽为1MB/s,而实时网络状态对应的网络带宽为10MB/s,且实时网络状态对应的计算能力足够,则可以确定并发任务数量阈值为10。Then, according to the real-time network status corresponding to the server and the network bandwidth required by one or more tasks, the number of tasks that the server can execute concurrently under the current network status can be determined. For example, if the network bandwidth required by each task is 1MB/s, and the network bandwidth corresponding to the real-time network status is 10MB/s, and the computing power corresponding to the real-time network status is sufficient, the threshold for the number of concurrent tasks can be determined to be 10.
步骤二、根据并发任务数量阈值,获取至少一个第一任务。Step 2: Obtain at least one first task according to the threshold of the number of concurrent tasks.
具体实施时,可以任务列表中筛选出并发任务数量阈值对应的数量个第一任务,且筛选出的一个或多个第一任务的任务状态为初始状态。During specific implementation, the number of first tasks corresponding to the threshold of the number of concurrent tasks may be screened out from the task list, and the task status of the one or more screened out first tasks is the initial status.
这里,如果任务列表中任务状态为初始状态的任务数量小于并发任务数量阈值,则可以将任务列表中的一个或多个任务作为第一任务进行执行。如果任务列表中任务状态为初始状态的任务数量大于并发任务数量阈值,则可以随机选取并发任务数量阈值对应的数量个任务,或者,可以根据一个或多个任务的执行紧急程度,选取第一任务,这里不进行限定。Here, if the number of tasks in the task list whose task status is the initial state is less than the threshold of the number of concurrent tasks, one or more tasks in the task list may be executed as the first task. If the number of tasks in the task list whose task status is the initial state is greater than the threshold of the number of concurrent tasks, the number of tasks corresponding to the threshold of the number of concurrent tasks can be randomly selected, or the first task can be selected according to the urgency of execution of one or more tasks , is not limited here.
另外,在另一种实施方式中,并发任务数量阈值也可以是预先指定的,这里不进行限定。In addition, in another implementation manner, the threshold of the number of concurrent tasks may also be pre-specified, which is not limited here.
并且,在服务器将获取的第一任务执行完成之后,可以将第一任务的任务状态由初始状态更新为执行完成状态。In addition, after the server finishes executing the acquired first task, the task status of the first task may be updated from an initial status to an execution completion status.
在一种实施例中,针对S104,可以按照图5所示的方法,将一个或多个第一用户的第一注册用户信息发送至第一设备组中的至少一个第一目标设备中,如图5所示,为本公开实施例所提供的一种确定第一目标设备并向第一目标设备下发第一注册用户信息的方法的流程图,可以包括以下步骤:In one embodiment, for S104, the first registered user information of one or more first users may be sent to at least one first target device in the first device group according to the method shown in FIG. 5 , such as As shown in FIG. 5 , it is a flow chart of a method for determining a first target device and delivering first registered user information to the first target device provided by an embodiment of the present disclosure, which may include the following steps:
S501:响应于第一任务,针对至少一个第一用户,基于第一设备组中一个或多个设备对应的信息下发记录,判断第一用户的注册用户信息是否已下发给一个或多个信息下发记录对应的设备。S501: In response to the first task, for at least one first user, based on the information delivery records corresponding to one or more devices in the first device group, determine whether the registered user information of the first user has been delivered to one or more The device corresponding to the information delivery record.
这里,信息下发记录为记录一个或多个第一设备组中的设备是否接收到服务器下发的第一注册用户信息的记录。一个设备对应于一个信息下发记录。其中,服务器在下发至少一个第一用户的第一注册用户信息之后,都可以基于该第一注册用户信息和下发到的设备,生成与该设备和该第一注册用户信息对应的信息下发记录。若第一用户的第一注册用户信息未下发给设备,则该设备对应于该第一用户的第一注册用户信息的信息下发记录可以为空,或者为未接收到该第一注册用户信息。Here, the information sending record is a record recording whether the devices in one or more first device groups have received the first registered user information sent by the server. One device corresponds to one information delivery record. Wherein, after the server sends the first registered user information of at least one first user, it can generate information corresponding to the device and the first registered user information based on the first registered user information and the sent device. Record. If the first registered user information of the first user has not been sent to the device, the device's information distribution record corresponding to the first registered user information of the first user may be empty, or the first registered user information has not been received. information.
本步骤中,在获取到至少一个第一用户的第一注册用户信息之后,可以响应于获取的第一任务,针对至少一个第一用户,如第一用户B,可以先获取第一设备组中一个或多个设备对应的信息下发记录,确定一个或多个设备是否已经接收到第一用户B的第一注册用户信息。其中,若确定某设备已经接收到第一用户B的第一注册用户信息,则可能是第一用户B为已执行完的任务对应的用户组中的用户,该设备为上述已执行完的任务对应的设备组中的设备。In this step, after obtaining the first registered user information of at least one first user, in response to the obtained first task, for at least one first user, such as the first user B, first obtain the information in the first device group The information delivery record corresponding to one or more devices determines whether the first registered user information of the first user B has been received by one or more devices. Among them, if it is determined that a certain device has received the first registered user information of the first user B, it may be that the first user B is a user in the user group corresponding to the completed task, and the device is the user of the above-mentioned completed task. Devices in the corresponding device group.
S502:若存在第一用户的第一注册用户信息未下发给信息下发记录对应的设备,将未下发到的设备确定为至少一个第一目标设备。S502: If the first registered user information of the first user has not been delivered to a device corresponding to the information delivery record, determine the undelivered device as at least one first target device.
这里,仍以上述第一用户B为例进行说明,若基于一个或多个设备对应的信息下发记录,确定存在第一用户B的第一注册用户信息未下发给该设备,则可以将该设备作为筛选出的第一目标设备。Here, the above-mentioned first user B is still taken as an example for illustration. If it is determined based on the information delivery records corresponding to one or more devices that the first registered user information of the first user B has not been delivered to the device, then the This device is selected as the first target device.
进而,基于上述步骤,可以确定出第一用户组中的至少一个第一用户对应的第一目标设备Furthermore, based on the above steps, the first target device corresponding to at least one first user in the first user group can be determined
S503:将第一用户的第一注册用户信息发送至至少一个第一目标设备。S503: Send the first registered user information of the first user to at least one first target device.
具体实施时,可以将至少一个第一用户的第一注册用户信息发送给该第一用户对应的至少一个第一目标设备中。During specific implementation, the first registered user information of at least one first user may be sent to at least one first target device corresponding to the first user.
另外,在将第一用户注册信息发送给第一目标设备之后,可以生成该第一目标设备和该第一用户注册信息对应的信息下发记录,并利用该信息下发记录更新第一目标设备对应的已生成的信息下发记录并存储,从而,实现对此次下发的记录。In addition, after the first user registration information is sent to the first target device, an information distribution record corresponding to the first target device and the first user registration information may be generated, and the information distribution record is used to update the first target device The corresponding generated information is issued, recorded and stored, thereby realizing the record of this delivery.
在一种实施例中,针对S104,还可以按照图6所示的方法,将至少一个第一用户的第一注册用户信息发送至第一设备组中的至少一个第一目标设备中,如图6所示,为本公开实施例所提供的一种将第一注册用户信息发送至第一目标设备的方法的流程图,可以包括以下步骤:In one embodiment, for S104, the first registered user information of at least one first user may also be sent to at least one first target device in the first device group according to the method shown in FIG. 6 , as shown in FIG. 6, it is a flow chart of a method for sending the first registered user information to the first target device provided by the embodiment of the present disclosure, which may include the following steps:
S601:响应于第一任务,基于传输网络的网络带宽信息和至少一个第一用户的第一注册用户信息对应的信息量,将至少一个第一用户划分为一个或多个传输组。S601: In response to the first task, divide at least one first user into one or more transmission groups based on the network bandwidth information of the transmission network and the information volume corresponding to the first registered user information of the at least one first user.
这里,传输网络的网络带宽信息为表征服务器每次传输对应的最大网络带宽的信息。不同的第一用户注册信息对应的信息量的大小可能不同,不同大小的信息量传输所需要的网络带宽不同。Here, the network bandwidth information of the transmission network is information representing the maximum network bandwidth corresponding to each transmission of the server. The size of information volume corresponding to different first user registration information may be different, and the network bandwidth required for transmission of different sizes of information volume is different.
响应于第一任务,基于传输网络的网络带宽信息,能够准确地确定出传输网络的第一网络带宽,基于至少一个第一用户的第一注册用户信息对应的信息量,确定传输至少一个第一用户的第一注册用户信息所需要的第二网络带宽。然后,可以对第一用户进行分组,将至少一个第一用户划分为一个或多个传输组。其中,分组的根据可以是一个或多个传输组中的第一用户对应的第二网络带宽之和等于第一网络带宽。这样,可以保证最大限度的利用第一网络带宽。In response to the first task, based on the network bandwidth information of the transmission network, the first network bandwidth of the transmission network can be accurately determined, and based on the amount of information corresponding to the first registered user information of at least one first user, it is determined to transmit at least one first The second network bandwidth required by the user's first registered user information. Then, the first users may be grouped, and at least one first user is divided into one or more transmission groups. Wherein, the basis for grouping may be that the sum of the second network bandwidths corresponding to the first users in one or more transmission groups is equal to the first network bandwidth. In this way, the maximum utilization of the bandwidth of the first network can be ensured.
S602:基于第一用户的用户等级,确定一个或多个传输组之间的传输顺序。S602: Based on the user level of the first user, determine a transmission sequence among one or more transmission groups.
这里,用户等级可以反映出用户的重要程度以及用户的注册用户信息的传输紧急程度。用户等级越高,用户的重要程度越高,用户的注册用户信息的传输紧急程度越紧急,用户的注册用户信息的传输顺序越靠前。Here, the user level may reflect the importance of the user and the urgency of the transmission of the user's registered user information. The higher the user level, the higher the importance of the user, the more urgent the transmission of the user's registered user information, and the higher the transmission order of the user's registered user information.
针对一个或多个传输组的传输顺序,可以由一个或多个传输组中包括的至少一个第一用户中的用户等级最高的第一用户决定,包括用户等级越高的第一用户的传输组的传输顺序越靠前。The transmission sequence for one or more transmission groups may be determined by the first user with the highest user level among the at least one first user included in the one or more transmission groups, and the transmission group including the first user with a higher user level The higher the order of transmission.
若两个传输组中的用户等级最高的第一用户的用户等级相同,则还可以根据用户等级最高的第一用户的数量决定,包含用户等级最高的第一用户的数量越多的传输组,传输顺序越靠前。If the user level of the first user with the highest user level in the two transmission groups is the same, it can also be determined according to the number of the first user with the highest user level, and the transmission group containing the more first users with the highest user level, The higher the order of transmission.
从而,基于上述步骤,可以确定出一个或多个传输组之间的传输顺序。Therefore, based on the above steps, the transmission order among one or more transmission groups can be determined.
S603:按照传输顺序依次将一个或多个传输组中的第一用户的第一用户注册信息发送给第一设备组中的至少一个第一目标设备。S603: Send the first user registration information of the first user in one or more transmission groups to at least one first target device in the first device group sequentially according to the transmission sequence.
这里,可以按照确定的传输顺序,将一个或多个传输组中的第一用户的第一用户注册信息发送给至少一个第一用户对应的至少一个第一目标设备。Here, the first user registration information of the first user in one or more transmission groups may be sent to at least one first target device corresponding to at least one first user according to a determined transmission sequence.
在一种实施例中,针对S104,可以按照图7所示的方法,将至少一个第一用户的第一注册用户信息发送至第一设备组中的至少一个第一目标设备中,如图7所示,为本公开实施例所提供的另一种确定第一目标设备并向第一目标设备下发第一注册用户信息的方法的流程图,可以包括以下步骤:In one embodiment, for S104, the first registered user information of at least one first user may be sent to at least one first target device in the first device group according to the method shown in FIG. 7 , as shown in FIG. 7 As shown, it is a flow chart of another method for determining a first target device and delivering first registered user information to the first target device provided by an embodiment of the present disclosure, which may include the following steps:
S701:响应于第一任务,基于第一设备组中的设备的设备连接状态,从第一设备组中筛选出在线的设备。S701: In response to the first task, based on the device connection states of the devices in the first device group, filter out online devices from the first device group.
这里,服务器可以先获取第一设备组中的一个或多个设备的设备连接状态。其中,设备连接状态用于表征该设备的在线状态,如,在线、离线、尝试连接中等。Here, the server may first obtain the device connection status of one or more devices in the first device group. Wherein, the device connection state is used to represent the online state of the device, for example, online, offline, trying to connect, and so on.
具体实施时,服务器可以响应于第一任务,然后基于获取的第一设备组中的一个或多个设备的设备连接状态,从第一设备组中筛选出在线的设备。During specific implementation, the server may respond to the first task, and then filter out online devices from the first device group based on the acquired device connection status of one or more devices in the first device group.
S702:基于至少一个第一用户的第一注册用户信息的信息量,确定信息总量。S702: Determine the total amount of information based on the information amount of the first registered user information of at least one first user.
这里,存储第一用户的第一注册用户信息都至少需要与第一注册用户信息的信息量相对应的存储空间。例如,1M的第一注册用户信息需要至少1M的存储空间进行存储。Here, storing the first registered user information of the first user requires at least a storage space corresponding to the information amount of the first registered user information. For example, 1M of first registered user information requires at least 1M of storage space for storage.
由于需要将至少一个第一用户的第一注册用户信息都发送至设备进行存储,因此,可以先确定至少一个第一用户的第一注册用户信息的信息量对应的信息总量。Since all the first registered user information of at least one first user needs to be sent to the device for storage, the total amount of information corresponding to the information amount of the first registered user information of at least one first user may be determined first.
S703:基于一个或多个在线的设备的剩余存储空间和信息总量,从在线的设备中筛选出剩余存储空间对应的信息存储量大于信息总量的至少一个第一目标设备。S703: Based on the remaining storage space and the total amount of information of one or more online devices, filter out at least one first target device whose information storage amount corresponding to the remaining storage space is greater than the total amount of information from the online devices.
这里,剩余存储空间用于指示设备当前剩余的可使用的存储空间,不同大小的剩余存储空间可以对应于不同的信息存储量,一个或多个在线的设备对应的剩余存储空间可以存储与该剩余存储空间对应的信息存储量相一致的信息量的第一注册用户信息。Here, the remaining storage space is used to indicate the remaining usable storage space of the device. The remaining storage space of different sizes may correspond to different information storage amounts. The remaining storage space corresponding to one or more online devices may store information corresponding to the remaining The first registered user information with an information amount corresponding to the information storage amount corresponding to the storage space.
具体的,服务器可以先获取一个或多个在线的设备的剩余存储空间,确定一个或多个在线的设备的剩余存储空间对应的信息存储量。确定一个或多个在线的设备的存储空间对应的信息存储量是否大于信息总量,如果是,则说明该在线的设备有足够的存储空间存储全部的第一用户的第一注册用户信息,并将该设备作为第一目标设备。如果否,则说明该在线的设备没有足够的存储空间存储全部的第一用户的第一注册用户信息。Specifically, the server may first acquire the remaining storage space of one or more online devices, and determine the information storage amount corresponding to the remaining storage space of the one or more online devices. Determine whether the information storage capacity corresponding to the storage space of one or more online devices is greater than the total amount of information, if yes, it means that the online device has enough storage space to store all the first registered user information of the first user, and Make this device the first target device. If not, it means that the online device does not have enough storage space to store all the first registered user information of the first user.
进而,基于一个或多个在线的设备的剩余存储空间和信息总量,可以从在线的设备中筛选出剩余存储空间对应的信息存储量大于信息总量的至少一个第一目标设备。Furthermore, based on the remaining storage space and the total amount of information of one or more online devices, at least one first target device whose remaining storage space corresponds to an information storage amount greater than the total amount of information may be screened out from the online devices.
S704:对至少一个第一注册用户信息中的敏感信息进行加密,获得加密注册信息。S704: Encrypt sensitive information in at least one first registered user information to obtain encrypted registration information.
本步骤中,在将至少一个第一注册用户信息发送至第一目标设备之前,还可以对至少一个第一注册用户信息中的敏感信息进行加密,之后,得到加密注册信息。其中,第一敏感信息可以为第一注册用户信息中的用户的身份证号信息、姓名信息、手机号信息等私密性信息。这样,可以降低信息传输过程中信息泄露而导致第一用户的敏感信息被获取的问题出现的概率,提高了第一用户的信息安全性。In this step, before sending the at least one first registered user information to the first target device, the sensitive information in the at least one first registered user information may also be encrypted, and then the encrypted registration information is obtained. Wherein, the first sensitive information may be private information such as ID number information, name information, and mobile phone number information of the user in the first registered user information. In this way, the probability of the problem of obtaining the sensitive information of the first user due to information leakage during the information transmission process can be reduced, and the information security of the first user is improved.
或者,也可以不止针对敏感信息,而是对第一注册用户信息中的信息进行加密,得到加密信息,这里不进行限定。Alternatively, not only sensitive information may be used, but information in the first registered user information may be encrypted to obtain encrypted information, which is not limited here.
S705:将一个或多个加密注册信息发送至筛选出的至少一个第一目标设备。S705: Send one or more pieces of encrypted registration information to the selected at least one first target device.
具体实施时,在对第一注册用户信息加密,得到加密注册信息之后,可以将加密注册信息发送至筛选出的至少一个目标设备中。进而,第一目标设备可以获取到加密注册信息,并对接收到的加密注册信息进行解密处理,得到与加密注册信息相对应的第一注册用户信息,并将其进行存储。During specific implementation, after encrypting the first registered user information to obtain encrypted registration information, the encrypted registration information may be sent to at least one selected target device. Further, the first target device may obtain the encrypted registration information, and decrypt the received encrypted registration information to obtain the first registered user information corresponding to the encrypted registration information, and store it.
之后,第一目标设备可以基于存储的第一注册用户信息对获取的待识别人脸图像进行人脸识别。Afterwards, the first target device may perform face recognition on the acquired face image to be recognized based on the stored first registered user information.
在一种实施例中,本公开实施例所提供的方法还包括如下图8所示的发送注册用户信息的方法的流程图,如图8所示,为本公开实施例所提供的另一种发送注册用户信息的方法的流程图,可以包括以下步骤:In one embodiment, the method provided by the embodiment of the present disclosure further includes a flow chart of the method for sending registered user information as shown in FIG. 8, which is another method provided by the embodiment of the present disclosure. The flow chart of the method for sending registered user information may include the following steps:
S801:获取第二用户的第三注册用户信息。S801: Obtain third registered user information of the second user.
这里,第二用户可以新注册的用户。Here, the second user may be a newly registered user.
具体的,第二用户可以利用管理设备进行登录,输入第三注册用户信息。进而,管理设备可以将第三注册用户信息发送至服务器。这样,服务器可以获取到第二用户的第三注册用户信息。Specifically, the second user may use the management device to log in and input third registered user information. Furthermore, the management device may send the third registered user information to the server. In this way, the server can obtain the third registered user information of the second user.
S802:基于第三注册用户信息,确定第二用户所属的第二用户组。S802: Based on the third registered user information, determine a second user group to which the second user belongs.
这里,服务器可以基于获取的第三注册用户信息,按照上述实施例中确定第一用户的第一用户组的方式,确定第二用户所属的第二用户组。Here, based on the obtained third registered user information, the server may determine the second user group to which the second user belongs according to the method of determining the first user group of the first user in the above embodiment.
在一种实施方式中,服务器在获取到第三注册用户信息之后,可以先将其存储在信息存储队列中,然后,利用预设的定时获取信息的任务,在到达定时时间的情况下,从信息存储队列中获取第三注册用户信息。这样,通过定时获取第三注册用户信息的方式,能够减少服务器资源的浪费。In one embodiment, after the server obtains the information of the third registered user, it may first store it in the information storage queue, and then, when the task of obtaining information at a preset timing reaches the scheduled time, start from Obtain the third registered user information from the information storage queue. In this way, the waste of server resources can be reduced by periodically acquiring the information of the third registered user.
其中,预设的定时获取信息的任务可以是补漏任务。Wherein, the task of obtaining information at a preset time may be a task of trapping leaks.
S803:在存在与第二用户组相关联的第二任务的情况下,将第二用户的第三注册用户信息发送至第二任务对应的第二设备组中的至少一个第二目标设备。S803: If there is a second task associated with the second user group, send the third registered user information of the second user to at least one second target device in the second device group corresponding to the second task.
这里,在确定第二用户所属的第二用户组之后,可以确定第二用户组是否存在相关联的任务,其中,相关联的任务可以为第二用户组对应的已生成的任务,该任务可以是已执行完成的任务、未执行的任务或者正在执行的任务。Here, after determining the second user group to which the second user belongs, it may be determined whether there is an associated task in the second user group, wherein the associated task may be a generated task corresponding to the second user group, and the task may be are completed tasks, unexecuted tasks, or ongoing tasks.
若确定第二用户组存在相关联的任务,可以将该任务作为第二用户对应的第二任务。进而,可以基于第二任务,确定第二任务对应的第二设备组。If it is determined that there is an associated task in the second user group, the task may be used as a second task corresponding to the second user. Furthermore, based on the second task, the second device group corresponding to the second task may be determined.
之后,可以将第三注册用户信息发送至第二设备组中的一个或多个第二目标设备中。这样,不仅不需要重新生成第二用户对应的任务以完成第三注册用户信息的下发,减少了服务器资源的浪费,还可以降低新注册的用户(如第二用户)的注册用户信息,由于新注册的用户未发起生成任务的请求,而导致服务器获取不到任务,进而无法根据任务将新注册的用户的注册用户信息及时下发至设备,导致设备对用户识别出错的问题出现的概率。Afterwards, the third registered user information may be sent to one or more second target devices in the second device group. In this way, not only does it not need to regenerate the task corresponding to the second user to complete the delivery of the third registered user information, which reduces the waste of server resources, but also reduces the registered user information of newly registered users (such as the second user). The newly registered user does not initiate a request to generate a task, so the server cannot obtain the task, and then cannot send the registered user information of the newly registered user to the device in time according to the task, resulting in the probability that the device will misidentify the user.
在一种实施例中,在响应于第一任务,将至少一个第一用户的第一注册用户信息发送至第一设备组中的至少一个第一目标设备之后,还可以获取至少一个第一目标设备中的任一第一目标设备反馈的针对第一注册用户信息的存储结果。In one embodiment, after the first registered user information of at least one first user is sent to at least one first target device in the first device group in response to the first task, at least one first target device can also be acquired A storage result of the first registered user information fed back by any first target device in the device.
这里,第一目标设备在接收到服务器下发的第一注册用户信息之后,需要对第一注册用户信息进行存储,并生成针对该第一注册用户信息的存储结果。其中,存储结果包括存储失败和存储成功两种结果。Here, after receiving the first registered user information from the server, the first target device needs to store the first registered user information, and generate a storage result for the first registered user information. Wherein, the storage result includes two results of storage failure and storage success.
然后,第一目标设备可以将生成的存储结果反馈给服务器,从而,服务器可以获取到一个或多个第一目标设备的存储结果。Then, the first target device may feed back the generated storage result to the server, so that the server may acquire one or more storage results of the first target device.
进而,针对获取的任一第一目标设备反馈的存储结果,服务器在确定存储结果指示第一注册用户信息存储成功的情况下,确定将该第一注册用户信息发送至该第一目标设备的任务已经完成,可 以继续发送新的第一注册用户信息。Furthermore, for the acquired storage result fed back by any first target device, if the server determines that the storage result indicates that the first registered user information is stored successfully, determine the task of sending the first registered user information to the first target device has been completed, the new first registered user information can continue to be sent.
在另一种实施方式中,在存储结果指示第一注册用户信息未存储成功的情况下,服务器可以将第一注册用户信息重新发送至第一目标设备,以使第一目标设备重新尝试存储第一注册用户信息。In another embodiment, when the storage result indicates that the first registered user information has not been stored successfully, the server may resend the first registered user information to the first target device, so that the first target device re-attempts to store the first registered user information. 1. Registered user information.
在一种实施例中,还可以按照如图9所示的方法,重新发送第一注册用户信息,如图9所示,为本公开实施例所提供的一种重新发送第一注册用户信息的方法的流程图,可以包括以下步骤:In one embodiment, the first registered user information can also be resent according to the method shown in FIG. 9, as shown in FIG. A flowchart of the method may include the following steps:
S901:在存储结果指示第一注册用户信息未存储成功的情况下,获取任一第一目标设备对应的存储失败次数。S901: In a case where the storage result indicates that the first registered user information has not been successfully stored, acquire the storage failure times corresponding to any first target device.
本步骤中,针对获取的任一第一目标设备反馈的存储结果,在该第一目标设备的存储结果指示第一注册用户信息未存储成功的情况下,服务器可以获取该第一目标设备的当前的存储失败次数。In this step, for any storage result fed back by any first target device, if the storage result of the first target device indicates that the first registered user information has not been successfully stored, the server may obtain the current status of the first target device. storage failures.
其中,存储失败次数可以包括当前次存储失败,具体的,服务器可以获取该第一目标设备的历史存储失败次数,然后将历史存储失败次数加1,作为当前的存储失败次数。The number of storage failures may include the current storage failure. Specifically, the server may acquire the historical storage failure times of the first target device, and then add 1 to the historical storage failure times as the current storage failure times.
S902:在存储失败次数小于预设阈值的情况下,基于存储结果,确定任一第一目标设备的存储失败原因。S902: If the number of storage failures is less than a preset threshold, determine a storage failure cause of any first target device based on a storage result.
这里,预设阈值用于表征第一目标设备最大的存储失败次数。并且,存储结果中还可以包括存储失败原因,存储失败原因可以包括因设备的外部环境的变化造成的存储失败、因设备的自身原因而存储失败。其中,外部环境可以包括网络环境、人工控制、信息格式错误等,自身原因可以包括设备故障等。Here, the preset threshold is used to characterize the maximum storage failure times of the first target device. Moreover, the storage result may also include storage failure reasons, and the storage failure reasons may include storage failure caused by changes in the external environment of the device, or storage failure due to the device itself. Among them, the external environment may include the network environment, manual control, information format error, etc., and its own reasons may include equipment failure, etc.
具体实施时,可以将存储失败次数和预设阈值进行比较,确定存储失败次数和预设阈值之间的大小关系。在确定存储失败次数小于预设阈值的情况下,说明第一目标设备在正常情况下可以实现对第一注册用户信息的存储。进而,可以基于获取的存储结果,确定该第一目标设备的存储失败原因。During specific implementation, the number of storage failures may be compared with a preset threshold to determine the magnitude relationship between the number of storage failures and the preset threshold. In a case where it is determined that the number of storage failures is less than the preset threshold, it indicates that the first target device can store the first registered user information under normal circumstances. Furthermore, based on the obtained storage result, the storage failure cause of the first target device may be determined.
S903:在存储失败原因指示第一注册用户信息的信息格式错误的情况下,按照任一第一目标设备对应的预设存储格式,对第一注册用户信息进行格式调整,得到调整后的第一注册用户信息。S903: When the storage failure reason indicates that the information format of the first registered user information is wrong, adjust the format of the first registered user information according to the preset storage format corresponding to any first target device, and obtain the adjusted first registered user information. Register user information.
这里,预设存储格式为第一目标设备支持存储的信息格式。信息格式可以包括注册用户信息中的用户人脸图像的图像格式、用户的身份证号的位数、手机号的位数等。Here, the preset storage format is an information format supported by the first target device for storage. The information format may include the image format of the user's face image in the registered user information, the digits of the user's ID card number, the digits of the mobile phone number, and the like.
以第一注册用户信息中包括的用户人脸图像为例,如果目标设备支持存储jpg格式的用户人脸图像,而服务器下发的用户人脸图像为png格式的用户人脸图像,那么第一目标设备在存储png格式的用户人脸图像的过程中,将会因为该图像的格式不是jpg格式而存储失败,进而,第一目标设备将确定存储结果并反馈给服务器。Taking the user's face image included in the first registered user information as an example, if the target device supports storing user's face image in jpg format, and the user's face image sent by the server is in png format, then the first During the process of storing the user's face image in png format, the target device will fail to store it because the format of the image is not in jpg format, and then, the first target device will determine the storage result and feed it back to the server.
或者,以第一注册用户信息中包括的手机号信息为例,目标设备支持存储11位数的手机号,如果服务器下发的手机号低于11位数或高于11位数,第一目标设备将无法存储该手机号,并生成指示存储失败的存储结果发送给服务器。Or, taking the mobile phone number information included in the first registered user information as an example, the target device supports storing mobile phone numbers with 11 digits. If the mobile phone number issued by the server is lower than or higher than 11 digits, the first target The device will not be able to store the mobile phone number, and will generate a storage result indicating storage failure and send it to the server.
具体实施时,在存储失败原因指示第一注册用户信息的信息格式错误的情况下,可以按照该第一目标设备对应的预设存储格式,对第一注册用户信息进行格式调整,将第一注册用户信息的信息格式调整为预设存储格式,并得到调整后的第一注册用户信息。这样,通过对第一注册用户信息进行调整的方式,能够保证调整得到格式正确的第一注册用户信息。During specific implementation, if the cause of storage failure indicates that the information format of the first registered user information is wrong, the format of the first registered user information can be adjusted according to the preset storage format corresponding to the first target device, and the first registered user information The information format of the user information is adjusted to a preset storage format, and the adjusted first registered user information is obtained. In this way, by adjusting the first registered user information, it can be ensured that the adjusted first registered user information has a correct format.
S904:将调整后的第一注册用户信息发送至任一第一目标设备。S904: Send the adjusted first registered user information to any first target device.
这里,可以将调整后的第一注册用户信息发送至该第一目标设备,由于调整后的第一注册用户信息的信息格式与预设存储格式一致,该第一目标设备在获取到调整后的第一注册用户信息之后,可以完成对调整后的第一注册用户信息的存储。Here, the adjusted first registered user information can be sent to the first target device. Since the information format of the adjusted first registered user information is consistent with the preset storage format, the first target device can obtain the adjusted After the first registered user information, the storage of the adjusted first registered user information may be completed.
在一种实施例中,在获取任一第一目标设备对应的存储失败次数之后,在确定存储失败次数大于预设阈值的情况下,服务器可以直接确定该存储失败次数对应的第一目标设备的设备状态为运行故障状态。In an embodiment, after acquiring the number of storage failures corresponding to any first target device, if it is determined that the number of storage failures is greater than a preset threshold, the server may directly determine the number of times of the first target device corresponding to the number of storage failures. The device status is running fault status.
进而,可以获取该第一目标设备的位置信息以及服务器对应的全部已注册的设备的位置信息,然后,可以基于该第一目标设备对应的位置信息和全部已注册的设备的位置信息,从全部已注册的设备中筛选出该第一目标设备对应的临时替换设备。Furthermore, the location information of the first target device and the location information of all registered devices corresponding to the server can be obtained, and then, based on the location information corresponding to the first target device and the location information of all registered devices, from all A temporary replacement device corresponding to the first target device is selected from the registered devices.
由于位置信息接近的设备对应管理的范围存在重复性,从而可以实现一定功能的替换。因此,筛选出的临时替换设备可以是其位置信息对应的位置为与该第一目标设备对应的位置信息的位置最接近的设备。Due to the duplication of corresponding management ranges for devices with close location information, certain functions can be replaced. Therefore, the selected temporary replacement device may be the device whose location information corresponds to the location closest to the location information corresponding to the first target device.
之后,可以确定临时替换设备的设备信息,并将临时替换设备的设备信息和该第一目标设备的设备状态反馈给管理设备。进而,管理设备可以将临时替换设备的设备信息和该第一目标设备的设备状态展示第一用户,进而,第一用户可以选择将第一注册用户信息下发至临时替换设备,利用临时替换设备实现对第一用户的识别。Afterwards, the device information of the temporary replacement device may be determined, and the device information of the temporary replacement device and the device status of the first target device may be fed back to the management device. Furthermore, the management device can display the device information of the temporary replacement device and the device status of the first target device to the first user, and further, the first user can choose to send the first registered user information to the temporary replacement device, and use the temporary replacement device The identification of the first user is realized.
并且,第一用户可以通过管理设备获取到该第一目标设备的设备状态为运行故障状态,进而,可以对该第一目标设备进行及时调整。In addition, the first user may obtain, through the management device, that the device status of the first target device is a malfunctioning state, and further, may make timely adjustments to the first target device.
另外,本公开实施例提供了一种与上述信息处理方法相对应的信息处理系统,其中,该系统包括如上述信息处理方法中所提及的各实施例中的服务器1001、第一目标设备1002和管理设备1003。如图10所示,为本公开实施例提供的一种信息处理系统的示意图。其中,服务器1001可以获取第一任务,确定第一用户对应的第一用户组和第一设备组,之后,可以获取到第一用户组中的至少一个第一用户的第一注册用户信息,并将至少一个第一用户的第一注册用户信息通过通信网络发送至从第一设备组对应的设备中的筛选出至少一个第一目标设备1002。In addition, an embodiment of the present disclosure provides an information processing system corresponding to the above information processing method, wherein the system includes the server 1001 and the first target device 1002 in each embodiment mentioned in the above information processing method and management device 1003. As shown in FIG. 10 , it is a schematic diagram of an information processing system provided by an embodiment of the present disclosure. Wherein, the server 1001 may obtain the first task, determine the first user group and the first device group corresponding to the first user, and then obtain the first registered user information of at least one first user in the first user group, and Send the first registered user information of the at least one first user to at least one first target device 1002 selected from the devices corresponding to the first device group through the communication network.
之后,第一目标设备1002可以获取第一用户注册信息,存储第一用户注册信息并基于存储的第一注册用户信息对待识别人脸图像进行人脸识别;第一目标设备1002还可以通过通信网络向服务器1001反馈存储结果。Afterwards, the first target device 1002 can obtain the first user registration information, store the first user registration information, and perform face recognition on the face image to be recognized based on the stored first registered user information; the first target device 1002 can also pass the communication network The storage result is fed back to the server 1001.
管理设备1003,可以用于第一用户的注册,将第一用户在注册时输入的第一注册用户信息通过通信网络发送至服务器1001,并用于接收服务器1001反馈的推荐用户组;基于推荐用户组向服务器1001返回第一用户组以及返回指定的第一设备组,以使服务器1001生成第一任务。The management device 1003 can be used for the registration of the first user, and sends the first registered user information input by the first user during registration to the server 1001 through the communication network, and is used to receive the recommended user group fed back by the server 1001; based on the recommended user group Return the first user group and the specified first device group to the server 1001, so that the server 1001 generates the first task.
并且,在一种实施例中,第一目标设备1002和管理设备1003可以是同一个设备。Moreover, in an embodiment, the first target device 1002 and the management device 1003 may be the same device.
关于信息处理系统中的服务器1001、第一目标设备1002和管理设备1003的具体介绍,可以参照上述信息处理方法中所提及的各实施例中的介绍,这里不再赘述。For the specific introduction of the server 1001, the first target device 1002, and the management device 1003 in the information processing system, reference may be made to the introductions in the various embodiments mentioned in the information processing method above, and details will not be repeated here.
本领域技术人员可以理解,在具体实施方式的上述方法中,各步骤的撰写顺序并不意味着严格的执行顺序而对实施过程构成任何限定,各步骤的具体执行顺序应当以其功能和可能的内在逻辑确定。Those skilled in the art can understand that in the above method of specific implementation, the writing order of each step does not mean a strict execution order and constitutes any limitation on the implementation process. The specific execution order of each step should be based on its function and possible The inner logic is OK.
基于同一发明构思,本公开实施例中还提供了与信息处理方法对应的信息处理装置,由于本公开实施例中的装置解决问题的原理与本公开实施例上述信息处理方法相似,因此装置的实施可以参见方法的实施,重复之处不再赘述。Based on the same inventive concept, the embodiment of the present disclosure also provides an information processing device corresponding to the information processing method. Since the problem-solving principle of the device in the embodiment of the present disclosure is similar to that of the above-mentioned information processing method in the embodiment of the present disclosure, the implementation of the device Reference can be made to the implementation of the method, and repeated descriptions will not be repeated.
如图11所示,为本公开实施例提供的一种信息处理装置的示意图,包括:第一获取模块1101,用于获取第一任务;确定模块1102,用于基于所述第一任务,确定与所述第一任务对应的第一用户组和第一设备组;第二获取模块1103,用于获取预先存储的所述第一用户组中的至少一个第一用户的第一注册用户信息;所述第一注册用户信息中包括用户人脸图像;发送模块1104,用于响应于所述第一任务,将至少一个所述第一用户的第一注册用户信息发送至所述第一设备组中的至少一个第一目标设备;所述第一目标设备用于基于存储的所述第一注册用户信息对待识别人脸图像进行人脸识别。As shown in FIG. 11 , it is a schematic diagram of an information processing device provided by an embodiment of the present disclosure, including: a first acquiring module 1101, configured to acquire a first task; a determining module 1102, configured to determine based on the first task A first user group and a first device group corresponding to the first task; a second obtaining module 1103, configured to obtain pre-stored first registered user information of at least one first user in the first user group; The first registered user information includes user face images; the sending module 1104 is configured to send at least one first registered user information of the first user to the first device group in response to the first task At least one first target device; the first target device is configured to perform face recognition based on the stored first registered user information on the face image to be recognized.
在一种可能的实施方式中,所述装置还包括:第一生成模块1105,用于在所述获取第一任务之前,基于所述第一用户在注册时输入的第一注册用户信息,从已生成的至少一个用户组中选取与所述第一注册用户信息存在关联关系的推荐用户组;将所述推荐用户组发送给管理设备;接收所述管理设备基于所述推荐用户组返回的所述第一用户组以及所述管理设备指定的第一设备组;基于所述第一用户组和所述第一设备组,生成所述第一任务。In a possible implementation manner, the device further includes: a first generating module 1105, configured to, before acquiring the first task, based on the first registered user information input by the first user during registration, from Selecting a recommended user group associated with the first registered user information from the generated at least one user group; sending the recommended user group to the management device; receiving the information returned by the management device based on the recommended user group The first user group and the first device group specified by the management device; and the first task is generated based on the first user group and the first device group.
在一种可能的实施方式中,所述装置还包括:第二生成模块1106,在所述获取第一任务之前,基于至少一个用户的注册用户信息,确定所述至少一个用户在预设属性类型下的第一属性特征;基于预设的属性特征以及所述第一属性特征,从所述至少一个用户中筛选出至少一个第一用户;基于筛选出的所述至少一个第一用户,生成所述第一用户组;获取与所述第一用户组相匹配的设备属性特征;从多个已注册的设备中筛选具有所述设备属性特征的设备;基于筛选出的设备,生成所述第一设备组;基于所述第一用户组和所述第一设备组,生成所述第一任务。In a possible implementation manner, the device further includes: a second generation module 1106, before acquiring the first task, based on the registered user information of at least one user, determine that the at least one user is in the preset attribute type The first attribute feature under: Based on the preset attribute feature and the first attribute feature, filter out at least one first user from the at least one user; based on the screened out at least one first user, generate the the first user group; obtain the device attribute characteristics that match the first user group; screen the devices with the device attribute characteristics from a plurality of registered devices; generate the first device based on the screened out devices A device group: generating the first task based on the first user group and the first device group.
在一种可能的实施方式中,所述装置还包括:第三生成模块1107,用于在所述获取第一任务之前,确定任一第一用户指定的至少一个注册用户;基于所述任一第一用户的第一注册用户信息和所述至少一个注册用户的第二注册用户信息,分别确定所述任一第一用户的第二属性特征和所述至少一个注册用户的第三属性特征;基于所述任一第一用户的第二属性特征和至少一个注册用户的第三属性特征,确定至少一个所述注册用户与所述任一第一用户之间的匹配程度;根据所述匹配程度,从所述至少一个注册用户中确定与所述任一第一用户成组的目标用户;基于确定的目标用户与所述任一第一用户,生成所述第一用户组。In a possible implementation manner, the device further includes: a third generating module 1107, configured to determine at least one registered user specified by any first user before acquiring the first task; The first registered user information of the first user and the second registered user information of the at least one registered user respectively determine the second attribute characteristic of any first user and the third attribute characteristic of the at least one registered user; Based on the second attribute feature of any first user and the third attribute feature of at least one registered user, determine the degree of matching between at least one registered user and any first user; according to the degree of matching , determining a target user grouped with the any first user from the at least one registered user; generating the first user group based on the determined target user and the any first user.
在一种可能的实施方式中,所述第一获取模块1101,用于根据实时网络状态以及一个或多个任务所需要的网络带宽,确定并发任务数量阈值;根据所述并发任务数量阈值,获取至少一个第一任务。In a possible implementation manner, the first obtaining module 1101 is configured to determine the threshold of the number of concurrent tasks according to the real-time network status and the network bandwidth required by one or more tasks; according to the threshold of the number of concurrent tasks, obtain At least one first task.
在一种可能的实施方式中,所述发送模块1104,用于响应于所述第一任务,针对至少一个所述第一用户,基于所述第一设备组中一个或多个设备对应的信息下发记录,判断所述第一用户的第一注册用户信息是否已下发给一个或多个所述信息下发记录对应的设备;若存在所述第一用户的第一注册用户信息未下发给所述信息下发记录对应的设备,将未下发到的设备确定为至少一个第一目标设备;将所述第一用户的第一注册用户信息发送至所述至少一个第一目标设备。In a possible implementation manner, the sending module 1104 is configured to, in response to the first task, for at least one first user, based on information corresponding to one or more devices in the first device group Issuing records, judging whether the first registered user information of the first user has been issued to one or more devices corresponding to the information issuing records; if the first registered user information of the first user has not been issued Sending to the device corresponding to the information distribution record, determining the undelivered device as at least one first target device; sending the first registered user information of the first user to the at least one first target device .
在一种可能的实施方式中,所述发送模块1104,用于响应于所述第一任务,基于传输网络的网络带宽信息和至少一个所述第一用户的第一注册用户信息对应的信息量,将至少一个所述第一用户 划分为一个或多个传输组;基于所述第一用户的用户等级,确定一个或多个传输组之间的传输顺序;按照所述传输顺序依次将一个或多个传输组中的第一用户的第一用户注册信息发送给所述第一设备组中的至少一个第一目标设备。In a possible implementation manner, the sending module 1104 is configured to, in response to the first task, based on the network bandwidth information of the transmission network and the information amount corresponding to the first registered user information of at least one first user , dividing at least one of the first users into one or more transmission groups; determining the transmission order among one or more transmission groups based on the user level of the first user; sequentially dividing one or more transmission groups according to the transmission order The first user registration information of the first user in the multiple transmission groups is sent to at least one first target device in the first device group.
在一种可能的实施方式中,所述发送模块1104,用于所述响应于所述第一任务,将至少一个所述第一用户的第一注册用户信息发送至所述第一设备组中的至少一个第一目标设备,包括:响应于所述第一任务,基于所述第一设备组中的一个或多个设备的设备连接状态,从所述第一设备组中筛选出在线的设备;基于至少一个所述第一用户的第一注册用户信息的信息量,确定信息总量;基于一个或多个在线的设备的剩余存储空间和所述信息总量,从所述在线的设备中筛选出所述剩余存储空间对应的信息存储量大于所述信息总量的至少一个第一目标设备;对至少一个所述第一注册用户信息中的敏感信息进行加密,获得加密注册信息;将至少一个所述加密注册信息发送至筛选出的所述至少一个第一目标设备。In a possible implementation manner, the sending module 1104 is configured to send the first registered user information of at least one first user to the first device group in response to the first task at least one first target device, including: in response to the first task, based on the device connection status of one or more devices in the first device group, filtering out online devices from the first device group ; Based on the amount of information of at least one first registered user information of the first user, determine the total amount of information; based on the remaining storage space of one or more online devices and the total amount of information, from the online device Screening out at least one first target device whose information storage capacity corresponding to the remaining storage space is greater than the total amount of information; encrypting sensitive information in at least one of the first registered user information to obtain encrypted registration information; converting at least A piece of the encrypted registration information is sent to the at least one selected first target device.
在一种可能的实施方式中,所述装置还包括:第三获取模块1108,用于获取第二用户的第三注册用户信息;基于所述第三注册用户信息,确定所述第二用户所属的第二用户组;所述发送模块1104,还用于在存在与所述第二用户组相关联的第二任务的情况下,将所述第二用户的第三注册用户信息发送至所述第二任务对应的第二设备组中的至少一个第二目标设备。In a possible implementation manner, the device further includes: a third obtaining module 1108, configured to obtain third registered user information of the second user; based on the third registered user information, determine the the second user group; the sending module 1104 is further configured to send the third registered user information of the second user to the At least one second target device in the second device group corresponding to the second task.
在一种可能的实施方式中,所述发送模块1104,还用于在所述响应于所述第一任务,将至少一个所述第一用户的第一注册用户信息发送至所述第一设备组中的至少一个第一目标设备之后,获取所述至少一个第一目标设备中的任一第一目标设备反馈的针对所述第一注册用户信息的存储结果;在所述存储结果指示所述第一注册用户信息未存储成功的情况下,重新将所述第一注册用户信息发送至所述任一第一目标设备。In a possible implementation manner, the sending module 1104 is further configured to, in the response to the first task, send at least one first registered user information of the first user to the first device After at least one first target device in the group, obtain a storage result for the first registered user information fed back by any first target device in the at least one first target device; when the storage result indicates the If the first registered user information is not successfully stored, resend the first registered user information to any one of the first target devices.
在一种可能的实施方式中,所述发送模块1104,用于在所述存储结果指示所述第一注册用户信息未存储成功的情况下,获取所述任一第一目标设备对应的存储失败次数;在所述存储失败次数小于预设阈值的情况下,基于所述存储结果,确定所述任一第一目标设备的存储失败原因;在所述存储失败原因指示所述第一注册用户信息的信息格式错误的情况下,按照所述任一第一目标设备对应的预设存储格式,对所述第一注册用户信息进行格式调整,得到调整后的第一注册用户信息;将所述调整后的第一注册用户信息发送至所述任一第一目标设备。In a possible implementation manner, the sending module 1104 is configured to, when the storage result indicates that the first registered user information has not been successfully stored, obtain the storage failure corresponding to any first target device number of times; when the storage failure times are less than a preset threshold, based on the storage result, determine the storage failure reason of any first target device; when the storage failure reason indicates the first registered user information If the format of the information is wrong, adjust the format of the first registered user information according to the preset storage format corresponding to any one of the first target devices to obtain the adjusted first registered user information; The subsequent first registered user information is sent to any one of the first target devices.
在一种可能的实施方式中,所述发送模块1104,还用于在所述获取所述任一第一目标设备对应的存储失败次数之后,在所述存储失败次数大于预设阈值的情况下,确定所述任一目标设备的设备状态为运行故障状态;基于所述任一目标设备对应的位置信息和全部已注册的设备的位置信息,从全部已注册的设备中筛选出所述任一目标设备对应的临时替换设备;将所述临时替换设备的设备信息和所述任一目标设备的设备状态反馈给管理设备。In a possible implementation manner, the sending module 1104 is further configured to, after acquiring the number of storage failures corresponding to any first target device, if the number of storage failures is greater than a preset threshold , determining that the device state of any target device is a faulty state; based on the location information corresponding to any target device and the location information of all registered devices, filter out the any one from all registered devices A temporary replacement device corresponding to the target device; feeding back the device information of the temporary replacement device and the device status of any target device to the management device.
关于装置中的各模块的处理流程、以及各模块之间的交互流程的描述可以参照上述方法实施例中的相关说明,这里不再详述。For the description of the processing flow of each module in the device and the interaction flow between the modules, reference may be made to the relevant description in the above method embodiment, and details will not be described here.
本公开实施例还提供了一种计算机设备,如图12所示,为本公开实施例提供的一种计算机设备结构示意图,包括:处理器1201和存储器1202;所述存储器1202存储有处理器1201可执行的机器可读指令,处理器1201用于执行存储器1202中存储的机器可读指令,所述机器可读指令被处理器1201执行时,处理器1201执行下述步骤:S101:获取第一任务;S102:基于第一任务,确定与第一任务对应的第一用户组和第一设备组;S103:获取预先存储的第一用户组中的至少一个第一用 户的第一注册用户信息以及S104:响应于第一任务,将至少一个第一用户的第一注册用户信息发送至第一设备组中的至少一个第一目标设备。An embodiment of the present disclosure also provides a computer device, as shown in FIG. 12 , which is a schematic structural diagram of a computer device provided by an embodiment of the present disclosure, including: a processor 1201 and a memory 1202; the memory 1202 stores a processor 1201 Executable machine-readable instructions, the processor 1201 is used to execute the machine-readable instructions stored in the memory 1202, when the machine-readable instructions are executed by the processor 1201, the processor 1201 performs the following steps: S101: Acquire the first Task; S102: Based on the first task, determine the first user group and the first device group corresponding to the first task; S103: Obtain the first registered user information of at least one first user in the pre-stored first user group and S104: In response to the first task, send first registered user information of at least one first user to at least one first target device in the first device group.
上述存储器1202包括内存1221和外部存储器1222;这里的内存1221也称内存储器,用于暂时存放处理器1201中的运算数据,以及与硬盘等外部存储器1222交换的数据,处理器1201通过内存1221与外部存储器1222进行数据交换。The above-mentioned memory 1202 includes a memory 1221 and an external memory 1222; the memory 1221 here is also called an internal memory, and is used to temporarily store the calculation data in the processor 1201 and the data exchanged with the external memory 1222 such as a hard disk. The external memory 1222 performs data exchange.
上述指令的具体执行过程可以参考本公开实施例中所述的信息处理方法的步骤,此处不再赘述。For the specific execution process of the above instructions, reference may be made to the steps of the information processing method described in the embodiments of the present disclosure, which will not be repeated here.
本公开实施例还提供一种计算机可读存储介质,该计算机可读存储介质上存储有计算机程序,该计算机程序被处理器运行时执行上述方法实施例中所述的信息处理方法的步骤。其中,该存储介质可以是易失性或非易失的计算机可读取存储介质。Embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a processor, the steps of the information processing method described in the foregoing method embodiments are executed. Wherein, the storage medium may be a volatile or non-volatile computer-readable storage medium.
本公开实施例所提供的信息处理方法的计算机程序产品,包括存储了程序代码的计算机可读存储介质,所述程序代码包括的指令可用于执行上述方法实施例中所述的信息处理方法的步骤,具体可参见上述方法实施例,在此不再赘述。The computer program product of the information processing method provided by the embodiments of the present disclosure includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the steps of the information processing method described in the above method embodiments For details, reference may be made to the foregoing method embodiments, and details are not repeated here.
本公开实施例所提供的信息处理方法的另一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的易失性计算机可读存储介质或非易失性计算机可读存储介质,当所述计算机可读代码在电子设备的处理器中运行时,所述电子设备中的处理器用于执行上述方法实施例中所述的信息处理方法的步骤,具体可参见上述方法实施例,在此不再赘述。Another computer program product of the information processing method provided by the embodiments of the present disclosure includes computer-readable codes, or a volatile computer-readable storage medium or a non-volatile computer-readable storage medium bearing computer-readable codes , when the computer-readable code runs in a processor of the electronic device, the processor in the electronic device is used to execute the steps of the information processing method described in the above method embodiment, for details, please refer to the above method embodiment, I won't repeat them here.
该计算机程序产品可以具体通过硬件、软件或其结合的方式实现。在一个可选实施例中,所述计算机程序产品具体体现为计算机存储介质,在另一个可选实施例中,计算机程序产品具体体现为软件产品,例如软件开发包(Software Development Kit,SDK)等等。The computer program product can be specifically realized by means of hardware, software or a combination thereof. In an optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (Software Development Kit, SDK) etc. Wait.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统和装置的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。在本公开所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,又例如,多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些通信接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working process of the above-described system and device can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed systems, devices and methods may be implemented in other ways. The device embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some communication interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例提供的技术方案。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units may be selected according to actual needs to implement the technical solution provided by this embodiment.
另外,在本公开各个实施例中的多个功能单元可以集成在一个处理单元中,也可以是一个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, multiple functional units in various embodiments of the present disclosure may be integrated into one processing unit, or one unit may physically exist alone, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个处理器可执行的非易失的计算机可读取存储介质中。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory, RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium executable by a processor. Based on this understanding, the technical solution of the present disclosure is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in various embodiments of the present disclosure. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disc and other media that can store program codes. .
最后应说明的是:以上所述实施例,仅为本公开的具体实施方式,用以说明本公开的技术方案,而非对其限制,本公开的保护范围并不局限于此,尽管参照前述实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,其依然可以对前述实施例所记载的技术方案进行修改或可轻易想到变化,或者对其中部分技术特征进行等同替换;而这些修改、变化或者替换,并不使相应技术方案的本质脱离本公开实施例技术方案的精神和范围,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应所述以权利要求的保护范围为准。Finally, it should be noted that: the above-mentioned embodiments are only specific implementations of the present disclosure, and are used to illustrate the technical solutions of the present disclosure, rather than limit them, and the protection scope of the present disclosure is not limited thereto, although referring to the aforementioned The embodiments have described the present disclosure in detail, and those skilled in the art should understand that any person familiar with the technical field can still modify the technical solutions described in the foregoing embodiments within the technical scope disclosed in the present disclosure Changes can be easily imagined, or equivalent replacements can be made to some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in this disclosure. within the scope of protection. Therefore, the protection scope of the present disclosure should be defined by the protection scope of the claims.

Claims (17)

  1. 一种信息处理方法,应用于服务器,包括:An information processing method applied to a server, comprising:
    获取第一任务;Get the first task;
    基于所述第一任务,确定与所述第一任务对应的第一用户组和第一设备组;Based on the first task, determining a first user group and a first device group corresponding to the first task;
    获取预先存储的所述第一用户组中的至少一个第一用户的第一注册用户信息;所述第一注册用户信息中包括用户人脸图像;Acquiring pre-stored first registered user information of at least one first user in the first user group; the first registered user information includes user face images;
    响应于所述第一任务,将至少一个所述第一用户的第一注册用户信息发送至所述第一设备组中的至少一个第一目标设备;所述第一目标设备用于基于存储的所述第一注册用户信息对待识别人脸图像进行人脸识别。In response to the first task, sending first registered user information of at least one of the first users to at least one first target device in the first device group; the first target device is used for storage-based The first registered user information performs face recognition on the face image to be recognized.
  2. 根据权利要求1所述的方法,其中,在所述获取第一任务之前,所述方法还包括:The method according to claim 1, wherein, before said obtaining the first task, said method further comprises:
    基于所述第一用户在注册时输入的第一注册用户信息,从已生成的至少一个用户组中选取与所述第一注册用户信息存在关联关系的推荐用户组;Selecting a recommended user group associated with the first registered user information from at least one generated user group based on the first registered user information input by the first user during registration;
    将所述推荐用户组发送给管理设备;sending the recommended user group to the management device;
    接收所述管理设备基于所述推荐用户组返回的所述第一用户组以及所述管理设备指定的第一设备组;receiving the first user group returned by the management device based on the recommended user group and the first device group specified by the management device;
    基于所述第一用户组和所述第一设备组,生成所述第一任务。The first task is generated based on the first user group and the first device group.
  3. 根据权利要求1所述的方法,其中,在所述获取第一任务之前,所述方法还包括:The method according to claim 1, wherein, before said obtaining the first task, said method further comprises:
    基于至少一个用户的注册用户信息,确定所述至少一个用户在预设属性类型下的第一属性特征;Based on the registered user information of at least one user, determine the first attribute feature of the at least one user under the preset attribute type;
    基于预设的属性特征以及所述第一属性特征,从所述至少一个用户中筛选出至少一个第一用户;Screening out at least one first user from the at least one user based on a preset attribute feature and the first attribute feature;
    基于筛选出的所述至少一个第一用户,生成所述第一用户组;generating the first user group based on the at least one first user screened out;
    获取与所述第一用户组相匹配的设备属性特征;Obtaining device attribute features matching the first user group;
    从多个已注册的设备中筛选具有所述设备属性特征的设备;screening devices having the device attribute characteristics from a plurality of registered devices;
    基于筛选出的设备,生成所述第一设备组;generating the first device group based on the screened devices;
    基于所述第一用户组和所述第一设备组,生成所述第一任务。The first task is generated based on the first user group and the first device group.
  4. 根据权利要求1所述的方法,其中,在所述获取第一任务之前,所述方法还包括:The method according to claim 1, wherein, before said obtaining the first task, said method further comprises:
    确定任一第一用户指定的至少一个注册用户;identifying at least one registered user designated by any first user;
    基于所述任一第一用户的第一注册用户信息和所述至少一个注册用户的第二注册用户信息,分别确定所述任一第一用户的第二属性特征和所述至少一个注册用户的第三属性特征;Based on the first registered user information of any first user and the second registered user information of the at least one registered user, respectively determine the second attribute characteristics of the any first user and the at least one registered user The third attribute characteristic;
    基于所述任一第一用户的第二属性特征和至少一个注册用户的第三属性特征,确定至少一个所述注册用户与所述任一第一用户之间的匹配程度;determining a matching degree between at least one registered user and any first user based on the second attribute feature of any first user and the third attribute feature of at least one registered user;
    根据所述匹配程度,从所述至少一个注册用户中确定与所述任一第一用户成组的目标用户;determining a target user grouped with any first user from the at least one registered user according to the matching degree;
    基于确定的目标用户与所述任一第一用户,生成所述第一用户组。The first user group is generated based on the determined target user and any first user.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,所述获取第一任务,包括:The method according to any one of claims 1 to 4, wherein said acquiring the first task comprises:
    根据实时网络状态以及一个或多个任务所需要的网络带宽,确定并发任务数量阈值;Determine the threshold of the number of concurrent tasks according to the real-time network status and the network bandwidth required by one or more tasks;
    根据所述并发任务数量阈值,获取至少一个第一任务。Acquire at least one first task according to the concurrent task quantity threshold.
  6. 根据权利要求1至5任一项所述的方法,其中,所述响应于所述第一任务,将至少一个所述第一用户的第一注册用户信息发送至所述第一设备组中的至少一个第一目标设备,包括:The method according to any one of claims 1 to 5, wherein, in response to the first task, sending the first registered user information of at least one of the first users to the first device group in the first device group At least one first target device comprising:
    响应于所述第一任务,针对至少一个所述第一用户,基于所述第一设备组中一个或多个设备对应的信息下发记录,判断所述第一用户的第一注册用户信息是否已下发给一个或多个所述信息下发记录对应的设备;In response to the first task, for at least one of the first users, based on information distribution records corresponding to one or more devices in the first device group, determine whether the first registered user information of the first user is It has been sent to one or more devices corresponding to the information sending record;
    若存在所述第一用户的第一注册用户信息未下发给所述信息下发记录对应的设备,将未下发到的设备确定为至少一个第一目标设备;If the first registered user information of the first user has not been delivered to the device corresponding to the information delivery record, determining the undelivered device as at least one first target device;
    将所述第一用户的第一注册用户信息发送至所述至少一个第一目标设备。sending the first registered user information of the first user to the at least one first target device.
  7. 根据权利要求1至5任一项所述的方法,其中,所述响应于所述第一任务,将至少一个所述第一用户的第一注册用户信息发送至所述第一设备组中的至少一个第一目标设备,包括:The method according to any one of claims 1 to 5, wherein, in response to the first task, sending the first registered user information of at least one of the first users to the first device group in the first device group At least one first target device comprising:
    响应于所述第一任务,基于传输网络的网络带宽信息和至少一个所述第一用户的第一注册用户信息对应的信息量,将至少一个所述第一用户划分为一个或多个传输组;In response to the first task, based on the network bandwidth information of the transmission network and the amount of information corresponding to the first registered user information of at least one of the first users, divide at least one of the first users into one or more transmission groups ;
    基于所述第一用户的用户等级,确定一个或多个传输组之间的传输顺序;determining an order of transmissions among one or more transmission groups based on the user level of the first user;
    按照所述传输顺序依次将一个或多个传输组中的第一用户的第一用户注册信息发送给所述第一设备组中的至少一个第一目标设备。Sending the first user registration information of the first user in one or more transmission groups to at least one first target device in the first device group sequentially according to the transmission order.
  8. 根据权利要求1至5任一项所述的方法,其中,所述响应于所述第一任务,将至少一个所述第一用户的第一注册用户信息发送至所述第一设备组中的至少一个第一目标设备,包括:The method according to any one of claims 1 to 5, wherein, in response to the first task, sending the first registered user information of at least one of the first users to the first device group in the first device group At least one first target device comprising:
    响应于所述第一任务,基于所述第一设备组中的一个或多个设备的设备连接状态,从所述第一设备组中筛选出在线的设备;In response to the first task, based on the device connection status of one or more devices in the first device group, filter out online devices from the first device group;
    基于至少一个所述第一用户的第一注册用户信息的信息量,确定信息总量;determining the total amount of information based on the information amount of the first registered user information of at least one of the first users;
    基于一个或多个在线的设备的剩余存储空间和所述信息总量,从所述在线的设备中筛选出所述剩余存储空间对应的信息存储量大于所述信息总量的至少一个第一目标设备;Based on the remaining storage space of one or more online devices and the total amount of information, filter out from the online devices at least one first target whose information storage capacity corresponding to the remaining storage space is greater than the total amount of information equipment;
    对至少一个所述第一注册用户信息中的敏感信息进行加密,获得加密注册信息;Encrypt sensitive information in at least one of the first registered user information to obtain encrypted registration information;
    将至少一个所述加密注册信息发送至筛选出的所述至少一个第一目标设备。Sending at least one piece of encrypted registration information to the at least one selected first target device.
  9. 根据权利要求1至8任一项所述的方法,其中,所述方法还包括:The method according to any one of claims 1 to 8, wherein the method further comprises:
    获取第二用户的第三注册用户信息;Obtain the third registered user information of the second user;
    基于所述第三注册用户信息,确定所述第二用户所属的第二用户组;determining a second user group to which the second user belongs based on the third registered user information;
    在存在与所述第二用户组相关联的第二任务的情况下,将所述第二用户的第三注册用户信息发送至所述第二任务对应的第二设备组中的至少一个第二目标设备。If there is a second task associated with the second user group, send the third registered user information of the second user to at least one second user in the second device group corresponding to the second task target device.
  10. 根据权利要求1至9任一项所述的方法,其中,在所述响应于所述第一任务,将至少一个 所述第一用户的第一注册用户信息发送至所述第一设备组中的至少一个第一目标设备之后,还包括:The method according to any one of claims 1 to 9, wherein, in the response to the first task, sending at least one first registered user information of the first user to the first device group After at least one of the first target devices, also include:
    获取所述至少一个第一目标设备中的任一第一目标设备反馈的针对所述第一注册用户信息的存储结果;Acquiring a storage result of the first registered user information fed back by any first target device in the at least one first target device;
    在所述存储结果指示所述第一注册用户信息未存储成功的情况下,重新将所述第一注册用户信息发送至所述任一第一目标设备。If the storage result indicates that the first registered user information has not been successfully stored, resend the first registered user information to any one of the first target devices.
  11. 根据权利要求10所述的方法,其中,所述在所述存储结果指示所述第一注册用户信息未存储成功的情况下,重新将所述第一注册用户信息发送至所述任一第一目标设备,包括:The method according to claim 10, wherein when the storage result indicates that the first registered user information has not been stored successfully, resending the first registered user information to any first registered user information Target devices, including:
    在所述存储结果指示所述第一注册用户信息未存储成功的情况下,获取所述任一第一目标设备对应的存储失败次数;If the storage result indicates that the first registered user information has not been successfully stored, acquiring the storage failure times corresponding to any one of the first target devices;
    在所述存储失败次数小于预设阈值的情况下,基于所述存储结果,确定所述任一第一目标设备的存储失败原因;If the number of times of storage failure is less than a preset threshold, based on the storage result, determine a storage failure cause of any one of the first target devices;
    在所述存储失败原因指示所述第一注册用户信息的信息格式错误的情况下,按照所述任一第一目标设备对应的预设存储格式,对所述第一注册用户信息进行格式调整,得到调整后的第一注册用户信息;In the case where the storage failure reason indicates that the information format of the first registered user information is wrong, adjust the format of the first registered user information according to the preset storage format corresponding to any one of the first target devices, Obtain the adjusted first registered user information;
    将所述调整后的第一注册用户信息发送至所述任一第一目标设备。Sending the adjusted first registered user information to any one of the first target devices.
  12. 根据权利要求11所述的方法,其中,在所述获取所述任一第一目标设备对应的存储失败次数之后,还包括:The method according to claim 11, wherein, after acquiring the number of storage failures corresponding to any first target device, further comprising:
    在所述存储失败次数大于预设阈值的情况下,确定所述任一目标设备的设备状态为运行故障状态;When the number of storage failures is greater than a preset threshold, determine that the device state of any target device is an operation failure state;
    基于所述任一目标设备对应的位置信息和全部已注册的设备的位置信息,从全部已注册的设备中筛选出所述任一目标设备对应的临时替换设备;Based on the location information corresponding to any of the target devices and the location information of all registered devices, select a temporary replacement device corresponding to any of the target devices from all registered devices;
    将所述临时替换设备的设备信息和所述任一目标设备的设备状态反馈给管理设备。Feedback the device information of the temporary replacement device and the device status of any target device to the management device.
  13. 一种信息处理系统,包括:如权利要求1至12任一项所述的第一目标设备、如权利要求1至12任一项所述的服务器,和如权利要求2或12中所述的管理设备。An information processing system, comprising: the first target device according to any one of claims 1 to 12, the server according to any one of claims 1 to 12, and the server according to any one of claims 2 or 12 Manage devices.
  14. 一种信息处理装置,包括:An information processing device, comprising:
    第一获取模块,用于获取第一任务;The first obtaining module is used to obtain the first task;
    确定模块,用于基于所述第一任务,确定与所述第一任务对应的第一用户组和第一设备组;A determining module, configured to determine a first user group and a first device group corresponding to the first task based on the first task;
    第二获取模块,用于获取预先存储的所述第一用户组中的至少一个第一用户的第一注册用户信息;所述第一注册用户信息中包括用户人脸图像;The second acquisition module is configured to acquire the pre-stored first registered user information of at least one first user in the first user group; the first registered user information includes user face images;
    发送模块,用于响应于所述第一任务,将至少一个所述第一用户的第一注册用户信息发送至所述第一设备组中的至少一个第一目标设备;所述第一目标设备用于基于存储的所述第一注册用户信息对待识别人脸图像进行人脸识别。A sending module, configured to send at least one first registered user information of the first user to at least one first target device in the first device group in response to the first task; the first target device and performing face recognition on the face image to be recognized based on the stored first registered user information.
  15. 一种计算机设备,包括:处理器、存储器,所述存储器存储有所述处理器可执行的机器可读指令,所述处理器用于执行所述存储器中存储的机器可读指令,所述机器可读指令被所述处理器 执行时,所述处理器执行如权利要求1至12任意一项所述的信息处理方法。A computer device, comprising: a processor and a memory, the memory stores machine-readable instructions executable by the processor, the processor is configured to execute the machine-readable instructions stored in the memory, and the machine can When the read instruction is executed by the processor, the processor executes the information processing method according to any one of claims 1 to 12.
  16. 一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被计算机设备运行时,所述计算机设备执行如权利要求1至12任意一项所述的信息处理方法。A computer-readable storage medium, on which a computer program is stored, and when the computer program is run by a computer device, the computer device executes the information processing according to any one of claims 1 to 12 method.
  17. 一种计算机程序产品,包括计算机可读代码,或者承载有计算机可读代码的易失性计算机可读存储介质或非易失性计算机可读存储介质,当所述计算机可读代码在电子设备的处理器中运行时,所述电子设备中的处理器执行用于实现权利要求1-12任意一项所述的信息处理方法。A computer program product, comprising computer readable codes, or a volatile computer readable storage medium or a nonvolatile computer readable storage medium bearing computer readable codes, when the computer readable codes are stored in an electronic device When running in the processor, the processor in the electronic device implements the information processing method described in any one of claims 1-12.
PCT/CN2021/126455 2021-06-30 2021-10-26 Information processing method, system, and apparatus, computer device, and storage medium WO2023273051A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110738779.7 2021-06-30
CN202110738779.7A CN113343915A (en) 2021-06-30 2021-06-30 Information processing method, system, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
WO2023273051A1 true WO2023273051A1 (en) 2023-01-05

Family

ID=77481806

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/126455 WO2023273051A1 (en) 2021-06-30 2021-10-26 Information processing method, system, and apparatus, computer device, and storage medium

Country Status (2)

Country Link
CN (1) CN113343915A (en)
WO (1) WO2023273051A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113343915A (en) * 2021-06-30 2021-09-03 成都商汤科技有限公司 Information processing method, system, device, computer equipment and storage medium
CN113763604A (en) * 2021-09-07 2021-12-07 山东产研信息与人工智能融合研究院有限公司 Electronic tag lock operator management method, device and equipment
CN116896550B (en) * 2023-09-11 2023-11-21 东莞信宝电子产品检测有限公司 Software updating method, system and storage medium for reducing server pressure

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104537351A (en) * 2014-12-31 2015-04-22 深圳泰山在线科技有限公司 Quick large-number face recognition method and system
US20150125046A1 (en) * 2013-11-01 2015-05-07 Sony Corporation Information processing device and information processing method
CN109951437A (en) * 2019-01-14 2019-06-28 平安科技(深圳)有限公司 Safety certifying method, device and server based on recognition of face
CN110765842A (en) * 2019-09-03 2020-02-07 阿里巴巴集团控股有限公司 Identity recognition preprocessing and identity recognition method and equipment
CN112464198A (en) * 2019-07-18 2021-03-09 创新先进技术有限公司 Identity recognition preprocessing and identity recognition method and system
CN113343915A (en) * 2021-06-30 2021-09-03 成都商汤科技有限公司 Information processing method, system, device, computer equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685426B (en) * 2012-09-25 2017-11-03 联想(北京)有限公司 Message processing device and information processing method
CN107992312A (en) * 2016-10-25 2018-05-04 中兴通讯股份有限公司 A kind of upgrade package delivery method and device
CN106850235A (en) * 2017-04-08 2017-06-13 普拉斯旺(深圳)商贸有限公司 A kind of identity identifying method
KR101962753B1 (en) * 2017-07-31 2019-03-27 주식회사 에스티씨 Digital Door System for preventing Crime and Robbery Preventing Method by Using thereof
CN109981726A (en) * 2019-02-01 2019-07-05 中国电力科学研究院有限公司 A kind of distribution method of memory node, server and system
CN112232103A (en) * 2019-07-15 2021-01-15 北京蜂盒科技有限公司 Face recognition method and system, storage medium, terminal and server
CN112612769A (en) * 2020-12-16 2021-04-06 深圳前海微众银行股份有限公司 File processing method, device and storage medium
CN112910697B (en) * 2021-01-22 2022-05-27 新华三大数据技术有限公司 Fault processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150125046A1 (en) * 2013-11-01 2015-05-07 Sony Corporation Information processing device and information processing method
CN104537351A (en) * 2014-12-31 2015-04-22 深圳泰山在线科技有限公司 Quick large-number face recognition method and system
CN109951437A (en) * 2019-01-14 2019-06-28 平安科技(深圳)有限公司 Safety certifying method, device and server based on recognition of face
CN112464198A (en) * 2019-07-18 2021-03-09 创新先进技术有限公司 Identity recognition preprocessing and identity recognition method and system
CN110765842A (en) * 2019-09-03 2020-02-07 阿里巴巴集团控股有限公司 Identity recognition preprocessing and identity recognition method and equipment
CN113343915A (en) * 2021-06-30 2021-09-03 成都商汤科技有限公司 Information processing method, system, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN113343915A (en) 2021-09-03

Similar Documents

Publication Publication Date Title
WO2023273051A1 (en) Information processing method, system, and apparatus, computer device, and storage medium
US11604787B2 (en) Method of generating globally verifiable unique identifiers using a scalable interlinked blockchain structure
US10705801B2 (en) Data processing systems for identity validation of data subject access requests and related methods
US10803097B2 (en) Data processing systems for generating and populating a data inventory
US11240273B2 (en) Data processing and scanning systems for generating and populating a data inventory
US10282370B1 (en) Data processing systems for generating and populating a data inventory
US10275614B2 (en) Data processing systems for generating and populating a data inventory
US10181051B2 (en) Data processing systems for generating and populating a data inventory for processing data access requests
US20200042738A1 (en) Data processing systems for generating and populating a data inventory
CN108769212B (en) Data synchronization method and device, computer equipment and storage medium
US11916920B2 (en) Account access security using a distributed ledger and/or a distributed file system
CN110032571A (en) Business flow processing method, apparatus, storage medium and calculating equipment
US11620401B2 (en) System and method for automatically securing sensitive data in public cloud using a serverless architecture
US11411888B2 (en) Distributed policy enforcement with optimizing policy transformations
WO2019019642A1 (en) Application information pushing method and apparatus, and computer device and storage medium
US11157876B1 (en) Intelligent employment-based blockchain
CN113900598B (en) Data storage method, device, equipment and storage medium based on block chain
CN113204598A (en) Data synchronization method, system and storage medium
CN109583615B (en) Conference room booking method, conference room booking system, conference room booking server and computer readable storage medium
CN116009791A (en) Data classified storage management method, device, equipment and medium
CN114722118A (en) Data synchronization method and system, computer readable storage medium
US11645659B2 (en) Facilitating customers to define policies for their clouds
US10691369B2 (en) Pool partner based replication
CN109801029B (en) Cross-node service cooperation system and method
CN116959185A (en) Method, apparatus, device, medium and program product for providing deposit and withdrawal service

Legal Events

Date Code Title Description
NENP Non-entry into the national phase

Ref country code: DE