CN115828205A - Business resource sharing method and device, electronic equipment and storage medium - Google Patents

Business resource sharing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115828205A
CN115828205A CN202111055637.7A CN202111055637A CN115828205A CN 115828205 A CN115828205 A CN 115828205A CN 202111055637 A CN202111055637 A CN 202111055637A CN 115828205 A CN115828205 A CN 115828205A
Authority
CN
China
Prior art keywords
service
target
resource
information
service resource
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111055637.7A
Other languages
Chinese (zh)
Inventor
王少鸣
郭润增
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Tencent Technology Co Ltd
Original Assignee
Guangzhou Tencent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Tencent Technology Co Ltd filed Critical Guangzhou Tencent Technology Co Ltd
Priority to CN202111055637.7A priority Critical patent/CN115828205A/en
Publication of CN115828205A publication Critical patent/CN115828205A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The present application relates to the field of data processing technologies, and in particular, to a method, an apparatus, an electronic device, and a storage medium for sharing service resources, where the method includes: the server receives a service resource query request sent by a client, acquires biological characteristic information of a target object and service identification information of the target service carried in the service resource query request, determines a target service resource shared by the target object and other objects under the target service based on the biological characteristic information of the target object, and feeds the target service resource back to the client so that the client continues to execute subsequent operations triggered by the target object based on the target service resource.

Description

Business resource sharing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to a method and an apparatus for sharing a service resource, an electronic device, and a storage medium.
Background
With the continuous development of internet technology, after the target object completes the binding of resources according to the identity authentication information of the target object, the target object can use the resources bound by the target object to perform various operations.
For example, if the resource bound by the target object is a member authority, in the business process, after the target object completes the identity verification for the member authority, operations such as accumulation, transfer and cancellation of member points can be performed based on the member authority.
However, since the target object can only use the resources bound to itself, it is not possible to ensure effective utilization of the resources, which reduces the utilization rate of the resources and causes waste of processing resources.
Disclosure of Invention
Embodiments of the present application provide a method and an apparatus for sharing a service resource, an electronic device, and a storage medium, so as to improve a utilization rate of the service resource by sharing the service resource among associated objects.
The embodiment of the application provides the following specific technical scheme:
in a first aspect, a method for sharing service resources is provided, which is applied to a server and includes:
receiving a service resource query request sent by a client, and acquiring biological characteristic information of a target object carried in the service resource query request and service identification information of a target service corresponding to a target application program, wherein the service resource query request is generated by the client in response to a resource using operation triggered by the target object for the target application program;
determining that a target service resource shared by the target object and other objects exists corresponding to the target service based on the biological characteristic information and the service identification information, and acquiring resource attribute information of the target service resource;
and sending the resource attribute information to the client so that the client uses the target service resource based on the resource attribute information to continuously execute the subsequent operation triggered by the target object aiming at the target application program.
Optionally, after the sending the resource attribute information to the client, before the enabling the client to use the target service resource based on the resource attribute information and continue to execute the subsequent operation triggered by the target object for the target application program, the method further includes:
and receiving confirmation information fed back by the client based on the resource attribute information.
In a second aspect, a method for sharing service resources is provided, which is applied to a client, and includes:
responding to a resource use operation triggered by a target object aiming at a target application program, and sending a service resource query request to a server, wherein the service resource query request carries biological characteristic information of the target object and service identification information of a target service corresponding to the target application program;
receiving resource attribute information of a target service resource fed back by the server based on the biological characteristic information and the service identification information, wherein the target service resource is a resource shared in the target service by the target object and other objects;
and based on the resource attribute information, using the target service resource to continuously execute the subsequent operation triggered by the target object aiming at the target service.
In a third aspect, an apparatus for sharing service resources is provided, including:
a receiving unit, configured to receive a service resource query request sent by a client, and acquire biometric information of a target object carried in the service resource query request and service identification information of a target service corresponding to a target application program, where the service resource query request is generated by the client in response to a resource usage operation triggered by the target object for the target application program;
a determining unit, configured to determine, based on the biometric information and the service identification information, that a target service resource exists, which is shared by the target object and another object, and corresponds to the target service, and obtain resource attribute information of the target service resource;
and the sending unit is used for sending the resource attribute information to the client so as to enable the client to use the target service resource based on the resource attribute information and continue to execute the subsequent operation triggered by the target object aiming at the target application program.
Optionally, before receiving the service resource query request sent by the client, the receiving unit is further configured to:
receiving a service resource registration request sent by a client aiming at a target service, acquiring identity authentication information of a registration object carried in the service resource registration request, establishing a corresponding service resource based on the identity authentication information, and configuring resource attribute information corresponding to the service resource;
and establishing a sharing relation between the registered object and the other objects for the business resources based on the biological characteristic information of the registered object, the biological characteristic information of the other objects and the resource attribute information of the business resources.
Optionally, when the biometric information is face feature information and the biometric information of the target object carried in the service resource query request is obtained, the receiving unit is configured to perform any one of the following operations:
acquiring the face feature information of a target object carried in the service resource query request, wherein the face feature information is obtained by extracting the face feature of the acquired key frame of the face image of the target object by the client;
acquiring a face image key frame of a target object carried in the service resource query request, extracting face features of the face image key frame, and taking the extracted face feature information as the face feature information of the target object;
acquiring the face image stream of the target object carried in the service resource query request, respectively determining the image quality results of all face image frames included in the face image stream according to preset image quality indexes, screening out the face image frames with the image quality results meeting preset screening conditions as face image key frames, and extracting face features of the face image key frames and then taking the extracted face feature information as the face feature information of the target object.
Optionally, when the image quality results of the face image frames included in the face image stream are respectively determined according to the preset image quality indexes, the receiving unit is configured to:
respectively setting corresponding weighted values aiming at each preset image quality index;
performing framing processing on the obtained face image stream to obtain each face image frame, and respectively executing the following operations for each face image frame:
respectively determining the quality scores of the face image frames corresponding to the image quality indexes;
and calculating the weighting result of each obtained quality score according to the weight value corresponding to each image quality index, and taking the obtained weighting result as the image quality result of the face image frame.
Optionally, after the resource attribute information is sent to the client, before the client uses the target service resource based on the resource attribute information and continues to execute the subsequent operation triggered by the target object for the target application program, the sending unit is further configured to:
and receiving confirmation information fed back by the client based on the resource attribute information.
Optionally, when determining that a target service resource shared by the target object and another object exists corresponding to the target service based on the biometric information and the service identification information, the determining unit is configured to:
determining a target service corresponding to the service identification information, determining each service resource stored corresponding to the target service, and determining biological characteristic information to be matched of each object sharing the service resources;
respectively calculating the similarity between the biological characteristic information and each biological characteristic information to be matched, and screening out the biological characteristic information to be matched, wherein the corresponding similarity meets the set similarity screening condition;
and determining an effective object corresponding to the screened biological characteristic information to be matched, and taking the business resource configured corresponding to the effective object as a target business resource shared by the target object and other objects.
In a fourth aspect, an apparatus for sharing service resources is provided, including:
a response unit, configured to send a service resource query request to a server in response to a resource usage operation triggered by a target object for a target application, where the service resource query request carries biometric information of the target object and service identification information of a target service corresponding to the target application;
a receiving unit, configured to receive resource attribute information of a target service resource, which is fed back by the server based on the biometric information and the service identification information, where the target service resource is a resource shared in the target service between the target object and another object;
and the execution unit is used for using the target service resource based on the resource attribute information and continuously executing the subsequent operation triggered by the target object aiming at the target service.
Optionally, before responding to the resource usage operation triggered by the target object for the target application, the response unit is further configured to:
responding to a service resource registration operation triggered by a registration object based on a sub-application in an interactive application program, and sending a service resource registration request to a server, wherein the service resource registration request carries identity authentication information of the registration object and service identification information of a target service for which the registered service resource is directed;
collecting the biological characteristic information of the registered object and other objects in response to the information collection operation triggered by the registered object based on the sub-application;
and responding to information acquisition termination operation triggered by the registered object based on the sub-application, and sending the acquired biological characteristic information of the registered object and other objects to the server, so that the server establishes a sharing relation between the registered object and other objects and business resources registered by the registered object.
Optionally, when the service resource query request is sent to the server in response to the resource usage operation triggered by the target object for the target application, the response unit is configured to perform any one of the following operations:
responding to a resource use operation triggered by a target object aiming at a target application program, acquiring biological characteristic information of the target object, and sending a service resource query request carrying the biological characteristic information to a server;
responding to resource use operation triggered by a target object aiming at sub-applications in a target application program, acquiring biological characteristic information of the target object, and sending a business resource query request carrying the biological characteristic information to a server.
Optionally, when the biometric information is face feature information and the biometric information of the target object is collected, the response unit is configured to:
adopting image acquisition equipment to acquire a face image stream containing the target object, wherein the face image stream comprises face characteristic information of the target object;
when the service resource query request carrying the biological characteristic information is sent to a server, the response unit is configured to perform any one of the following operations:
screening out a face image key frame in the face image stream according to each preset image quality index, generating a service resource query request based on face characteristic information extracted from the face image key frame, and sending the service resource query request to a server;
screening out a face image key frame in the face image stream according to each preset image quality index, generating a service resource query request based on the face key frame, and sending the service resource query request to a server;
and generating a service resource query request containing the face image stream, and sending the service resource query request to a server.
Optionally, when the face image key frame in the face image stream is screened out according to each preset image quality index, the response unit is configured to:
respectively determining the picture quality results of each face image frame included in the face image stream according to each preset image quality index and the weight value respectively set for each image quality index;
and screening out the face image frames with the image quality results meeting preset screening conditions as face image key frames in the face image stream.
Optionally, when receiving the resource attribute information of the target service resource, which is fed back by the server based on the biometric information and the service identification information, the receiving unit is configured to:
receiving resource attribute information of a target service resource fed back by the server based on the biological characteristic information and the service identification information, and displaying the resource attribute information in an operable page;
and responding to a confirmation operation triggered by the target object based on the resource attribute information, and sending a confirmation instruction aiming at the resource attribute information to the server.
In a fifth aspect, an electronic device is proposed, which comprises a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of any of the above methods when executing the program.
In a sixth aspect, a computer-readable storage medium is proposed, on which a computer program is stored, which computer program, when being executed by a processor, carries out the steps of the method of any of the above.
In a seventh aspect, a computer program product is proposed, which comprises a computer program, which when executed by a processor, performs the steps of the method of any of the above-mentioned.
The beneficial effects of this application are as follows:
the server receives a service resource query request sent by the client, acquires biological characteristic information of a target object and service identification information of the target service carried in the service resource query request, determines a target service resource shared by the target object and other objects under the target service based on the biological characteristic information of the target object, and further feeds the target service resource back to the client so that the client continues to execute subsequent operations triggered by the target object based on the target service resource.
Therefore, the server can store the sharing relation of a plurality of objects to the same business resource, and provide the target object with the available target business resource when the business resource shared by the target object and other objects is determined to exist based on the biological characteristic information of the target object, so that the occurrence of the situation that the business resource is stolen can be reduced and the safety of the use of the business resource is improved under the condition that the determination of the target business resource available for the target object is completed based on the biological characteristic information of the target object.
Correspondingly, the client sends a service resource query request to the server in response to the resource use operation triggered by the target object for the target application program, so as to request the server to query the target service resource shared by the target object and other objects based on the target service corresponding to the target application program and the biological characteristic information of the target object, and continue to execute the subsequent operation of the target object based on the target service resource which can be used by the target object and fed back by the server.
Therefore, the client supports a plurality of objects to execute operation based on the same service resource, the target object can obtain the bound service resource shared with other objects based on the biological characteristic information of the target object, the utilization rate of the service resource is improved while the safe utilization of the service resource is ensured, the limitation that each object using the service resource needs to finish registration by self is avoided, and the operability of using the service resource is effectively improved for related objects.
Additional features and advantages of the application will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the application. The objectives and other advantages of the application may be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
Drawings
Fig. 1a is a schematic view of an application scenario in an embodiment of the present application;
FIG. 1b is a schematic diagram of an architecture of a device involved in an embodiment of the present application;
fig. 1c is a schematic view of an application scenario in an embodiment of the present application;
FIG. 1d is a schematic diagram of an architecture of a device involved in an embodiment of the present application;
FIG. 2a is a schematic diagram illustrating a resource sharing process in an embodiment of the present application;
fig. 2b is a schematic flowchart of establishing a sharing relationship for a service resource in an embodiment of the present application;
fig. 2c is a schematic diagram of a sharing relationship established by a server in the embodiment of the present application;
fig. 2d is a schematic diagram of a sharing relationship established by a server in an embodiment of the present application;
FIG. 2e is a schematic flow chart illustrating a result of determining image quality according to an embodiment of the present disclosure;
FIG. 2f is a schematic flow chart illustrating the result of determining image quality in the embodiment of the present application;
fig. 2g is a schematic flow chart of determining a target service resource in the embodiment of the present application;
FIG. 3a is a schematic flow chart illustrating resource sharing in an embodiment of the present application;
fig. 3b is a schematic flowchart of a process of requesting to establish a sharing relationship for a service resource in an embodiment of the present application;
FIG. 3c is a schematic diagram illustrating a process of triggering a service resource registration request by a registration object according to an embodiment of the present application;
FIG. 3d is a schematic diagram of a biometric acquisition process performed in an embodiment of the present application;
FIG. 3e is a schematic diagram illustrating an operation process of collecting biometric information according to an embodiment of the present application;
FIG. 3f is a schematic process diagram illustrating a service resource available for a target object according to an embodiment of the present disclosure;
fig. 3g is a schematic diagram of a target object executing an operation based on a target service resource in an embodiment of the present application;
fig. 4 is an interaction diagram for implementing service resource sharing in the embodiment of the present application;
fig. 5 is a schematic logic structure diagram of a service resource sharing apparatus in an embodiment of the present application;
fig. 6 is a schematic logic structure diagram of a service resource sharing apparatus in an embodiment of the present application;
fig. 7 is a schematic diagram of a hardware component structure of an electronic device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of a computing device in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments, but not all embodiments, of the technical solutions of the present application. All other embodiments obtained by a person skilled in the art without any inventive step based on the embodiments described in the present application are within the scope of the protection of the present application.
The terms "first," "second," and the like in the description and in the claims of the present application and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein.
Some terms in the embodiments of the present application are explained below to facilitate understanding by those skilled in the art.
Sub-applications: the mobile terminal application program is developed based on a specific programming language and can be used without downloading and installing, and the mobile terminal application program can run on a cross-platform mobile client terminal. The sub-applications can include applets and the like which run based on native applications, wherein the applets have the greatest characteristic of being convenient to use and free of additional installation.
Biometric information: the biometric information may be at least one or a combination of face feature information, fingerprint information, iris information, retina information, palm shape information, vein information, ear shape information, DNA (Deoxyribonucleic acid) information, and the like of a related object, where, in view of different types of biometric information corresponding to different information acquisition manners, in the embodiment of the present application, corresponding information acquisition modules may be adaptively integrated according to types of biometric information actually used, so as to acquire corresponding biometric information.
Image quality index: in the embodiment of the application, when the biological characteristic information is face characteristic information, a face image key frame can be screened out from a face image stream containing the face characteristic information of a related object according to an image quality index, wherein the image quality index specifically can be at least one or a combination of face size, face angle, image contrast, image definition and image brightness.
Service resources: the service resources correspond to different existing forms in different application scenarios, for example, on a self-service settlement device in an entity shop, the service resources may be member accounts or point accounts.
Face recognition: the method is a technology for exchanging human identity information by human face multimedia information.
The following briefly introduces the design concept of the embodiments of the present application:
in the related art, the target object completes registration of the service resource of the specified service according to the identity authentication information of the target object, and after the binding relationship between the target object and the registered service resource is established at the server, the target object can use the service resource to process the corresponding service, but the target object can only use the service resource bound by the target object, so that the service resource cannot be fully utilized, and the utilization rate of the service resource is reduced.
In view of this, in the embodiment of the present application, a method, an apparatus, an electronic device, and a storage medium for sharing a service resource are provided, where from the perspective of a server, the server receives a service resource query request sent by a client, obtains biometric information of a target object and service identification information of a target service, which are carried in the service resource query request, determines, based on the biometric information of the target object, a target service resource shared by the target object and another object under the target service, and further feeds the target service resource back to the client, so that the client continues to execute a subsequent operation triggered by the target object based on the target service resource. From the perspective of the client, the client sends a service resource query request to the server in response to a resource use operation triggered by the target object for the target application program, so as to request the server to query the target service resource shared by the target object and other objects based on the target service corresponding to the target application program and the biological characteristic information of the target object, and continue to execute subsequent operations of the target object based on the target service resource that can be used by the target object and fed back by the server.
In this way, from the perspective of the server, the server can store the sharing relationship of a plurality of objects to the same business resource, and when the business resource shared by the target object and other objects is determined to exist based on the biological characteristic information of the target object, the server can provide the target object with the available target business resource, so that the occurrence of the situation that the business resource is stolen can be reduced and the safety of the use of the business resource can be improved under the condition that the determination of the target business resource available for the target object is completed based on the biological characteristic information of the target object.
From the perspective of the client, after the client sends the biological characteristic information of the target object and the target service requesting the operation to the server, the client can continue to execute the subsequent operation triggered by the target object according to the target service resource shared by the target object and other objects inquired by the server, that is, the client supports a plurality of objects to execute the operation based on the same service resource, the target object can acquire the bound service resource shared with other objects based on the biological characteristic information of the target object, the utilization rate of the service resource is improved while the safe utilization of the service resource is ensured, the limitation that each object using the service resource needs to finish the registration by itself is avoided, and the operability of using the service resource is improved for related objects.
The preferred embodiments of the present application will be described in conjunction with the drawings of the specification, it should be understood that the preferred embodiments described herein are for illustration and explanation only, and are not intended to limit the present application, and that the embodiments and features of the embodiments may be combined with each other without conflict.
Fig. 1a is a schematic view of an application scenario in the embodiment of the present application. In the schematic diagram of the application scenario, the client corresponds to the device 110, and the server corresponds to the device 120, wherein the device 110 and the device 120 may communicate with each other through a communication network, and the communication network used by the device 110 and the device 120 may be a wired network or a wireless network.
In this embodiment of the application, the device 110 is an offline device having an information acquisition function, and according to the type of the configured acquired biometric information, an acquisition function and a processing function that are adaptive to the biometric information may be adaptively configured, and in a specific application scenario, the device 110 may be a self-service settlement device that is deployed in an offline entity shop and has a face recognition function, or may be an offline device that has a biometric information acquisition function.
The device 120 may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, web service, cloud communication, middleware service, domain name service, security service, CDN (Content Delivery Network), big data, and an artificial intelligence platform.
It should be noted that, in this application scenario, the device 110 completes processing operations corresponding to the client, where the corresponding processing operations include: responding to a business resource registration operation triggered by a registration object, sending a business resource registration request to the equipment 120, and sending the collected registration object and the biological characteristic information of other objects sharing the business resources with the registration object to the equipment 120, so that the equipment 120 establishes a sharing relation between the registration object and each other object and the business resources registered by the registration object; further, in the service processing process, in response to the resource usage operation triggered by the target object, a service resource query request carrying the biometric information of the target object and the service identification information of the processed target service is sent to the device 120, a target service resource that can be shared by the target object sent by the device 120 is obtained, and the subsequent operation of the target object is continuously executed based on the obtained target service resource.
In the embodiment of the present application, the application scenario illustrated in fig. 1a is only used as an exemplary illustration, and in fact, the number of the devices 110 and 120 is not limited, and is not specifically limited in the embodiment of the present application.
It should be noted that, in an actual application process, the resource sharing method disclosed in the present application may be specifically applied in a scenario where a member account is shared in an offline entity store, or in a scenario where a stored-value card is shared, or in a scenario where a virtual authority account in a multimedia application is shared. Taking a client as a self-service settlement device in an offline entity shop as an example, a device architecture possibly involved in a process of implementing sharing of a member account in the entity shop is described based on the device involved in fig. 1a, which is shown in fig. 1b and is a schematic view of the device architecture involved in the embodiment of the present application.
In the device architecture illustrated in fig. 1b, in the case of building a member account sharing relationship based on an applet, the device 120 at the server side at least includes a database capable of implementing a member login service, a face recognition service, a member sharing service based on face feature information, and a database for storing a member sharing relationship, where the database may be a SQLite-type database, and the SQLite database is a lightweight database and is a relational database management system that complies with Atomicity (Atomicity), consistency (Consistency), isolation (Isolation), and Durability (durabilty).
It should be noted that, based on the face recognition service, the biometric information of the object may be extracted according to actual processing requirements, and the feature information matched with the biometric information in the database is compared, for example, if the biometric information is face feature information in a member system, the face feature information is extracted from an image key frame under the condition that the image key frame is received, and then the face feature information is compared with the feature information in the database to find out feature data with the highest similarity score, and in the member system, member account information corresponding to the face feature information and bound to the cloud may be returned.
The member sharing service based on the face feature information can receive a registration request based on the identity verification information and the biological feature information, establish a binding relationship between the identity verification information and the biological feature information, and write the binding relationship into a database, for example, register a service resource for a mobile phone number based on the registration request of the face feature information and the mobile phone number, and establish the binding relationship between the face feature information and the service resource.
Based on the member login service, after the target business resource corresponding to the object is determined, the related service can be called, and the operation that the object uses the target business resource to continue executing is supported.
Correspondingly, the device 110 of the client includes at least: merchant applications, face recognition applications, 3D cameras, and interactive applications, wherein,
the merchant application can use a member account, a member module is arranged in the merchant application and used for providing a member login entrance, when an object needs to log in a member, the face recognition application can be called to collect face feature information, a member account corresponding to the face feature information is obtained, and operation is continuously executed based on the member account;
the face recognition application comprises a face optimization module, a face acquisition module and a member authorization module, wherein the face optimization module is used for determining a face image key frame from a face image stream based on an image quality evaluation index; the face acquisition module is used for calling the 3D camera to acquire images, and can acquire Red Green Blue (RGB) image streams, depth image streams and infrared image streams.
Three-dimensional (3D) camera can gather The face characteristic information of object, and 3D camera compares in traditional camera, has added The relevant software and hardware of live body detection, including depth camera and infrared camera to guarantee The safety of information, wherein, in this application embodiment, in order to strengthen The security of object face identification, use 3D camera as thing networking (The Internet of things, ioT) image acquisition equipment.
The interactive application can be an instant messaging application, and is internally provided with an applet module and a face entry module, and the interactive application can acquire authentication information when an object logs in the application, and has applet running capability (runtime) and face feature information acquisition and binding capability so as to establish a binding relationship between the object and the acquired face feature information, and the authentication information may be account information of the object in the interactive application, such as information of a mobile phone number of the object.
In other possible embodiments of the present application, referring to fig. 1c, an application scenario diagram in the embodiment of the present application is shown, in which a client corresponds to the device 110 and the device 130, and a server corresponds to the device 120, in this application scenario, the device 110 and the device 130 are combined to complete an operation independently completed by the device 110 in the application scenario illustrated in fig. 1a, where the device 130 communicates with the device 120 through a communication network, and the communication network may be a wired network or a wireless network.
In this embodiment, the device 110 and the device 120 correspond to the device types illustrated in fig. 1a, the device 130 shares part of the processing content in the device 110 in fig. 1a, the device 130 is an electronic device used by an object, the electronic device may be a personal computer, a mobile phone, a tablet computer, a notebook, an electronic book reader, a smart home, or other computer device that has a certain computing capability and runs instant messaging software and a website or social contact software and a website, and the electronic device has a function of acquiring biometric information.
Continuing with the scenario of sharing a member account as an example, at this time, the client corresponds to the device 110 and the device 130 of the object in the offline entity store, and a device architecture possibly involved in the process of implementing sharing a member account in the online entity store is described below based on the devices involved in fig. 1c, which is shown in fig. 1d and is a schematic diagram of the device architecture involved in the embodiment of the present application.
In the device architecture illustrated in fig. 1d, the device 110 and the device 130 jointly implement the content implemented by the device 110 in fig. 1a, and in a case where the device 130 shares initiation of a registration request of a business resource and sends acquired biometric information of an object to be bound, the device 110 at least includes a merchant application capable of using a member account, where the object to be bound is each object that requests to share a specified business resource, and a member module is built in the merchant application, where the member module is used to maintain a member system corresponding to a merchant when performing business processing based on the merchant application; the system comprises a 3D camera used for collecting the face feature information of an object, wherein compared with the traditional camera, the 3D camera is added with software and hardware related to living body detection, including a depth camera and an infrared camera, so that the safety of information is ensured; including face recognition applications to process and filter the acquired facial image stream. The device 130 includes at least an interactive application that enables the request initiation of a shared membership account and triggers image capture.
It should be noted that, in this embodiment of the application, the device for registering the object and the device for acquiring the biometric information of the object to be bound may be the same device or different devices, and this application is not particularly limited, where the object to be bound includes a registered object for registering the service resource and includes other objects for allowing sharing of the service resource registered by the registered object.
In the processing process illustrated by the arrow in fig. 1d, it can be understood that, the registered object initiates a service resource registration request on the device 130 based on a merchant member applet in an interactive application, where the device 130 has an interactive application installed therein, the interactive application may be an instant messaging application, by which authentication information when the object logs in the application can be obtained, and the interactive application has a applet running capability (runtime) and a capability of collecting and binding facial feature information to establish a binding relationship between the object and the collected facial feature information, and the authentication information may be account information of the object in the interactive application, such as information of a mobile phone number of the object.
Then, the device 120 determines authentication information of the registered object through a member sharing service based on the facial feature information, and establishes a member account corresponding to the registered object based on the authentication information, and the device 130 receives the facial feature information of the registered object and facial feature information of other objects transmitted by the device 120. The device 130 establishes a sharing relationship between the registered object and other objects with respect to the member account, and stores the sharing relationship in a database, wherein the sharing relationship may be embodied as a corresponding relationship between account attribute information of the member account and a set of facial feature information of the object.
Further, in the offline application, the device 110 acquires the face information of the target object in response to a service resource usage operation triggered by the target object based on the merchant application, and sends the processed face feature information to the device 120, and the device 120 determines a target service resource shared by the target object and other objects based on the received face feature information of the target object, and provides the target service resource to the device 110 for use in the merchant application.
It should be noted that, in the embodiment of the present application, the service functions included in the devices illustrated in fig. 1b and 1d are only schematic illustrations, and the specifically included functions may be adjusted according to actual processing needs, and will not be described in detail in the present application. For example, in the case that there is a processing need, a face recognition module may be added to the interactive application of the client to implement the filtering and processing of the acquired face image stream.
In addition, in this embodiment, in consideration of different triggered acquisition forms when acquiring the biometric information of the object, the client device may further include other object devices of other objects that allow sharing of the business resource while including the object device of the registered object, and the other object devices may also establish a communication connection with the server to acquire the biometric information of the other objects, which will not be described in detail herein.
Referring to fig. 2a, which is a schematic view of a resource sharing process in the embodiment of the present application, the following describes a process of resource sharing by a server in the embodiment of the present application with reference to fig. 2 a:
step 201: and the server receives a service resource query request sent by the client, and acquires the biological characteristic information of the target object carried in the service resource query request and the service identification information of the target service corresponding to the target application program.
In the embodiment of the application, before the service resource query request sent by the client can be effectively responded, the server needs to receive a service resource registration request initiated by the client, and establish a sharing relationship between the registered object and other objects for the service resource registered by the registered object based on the registered object sent by the client, the biological characteristic information of other objects, and the authentication information of the registered object, wherein the service resource registered by the registered object is registered based on the authentication information of the registered object.
It should be noted that, in this embodiment of the present application, the client device that initiates the service resource registration and the client device that performs the service operation based on the determined service resource may be the same client device or may be different client devices, and the specific configuration is shown in the scenarios illustrated in fig. 1a and 1c, which is not described herein again.
Specifically, when the sharing relationship between the registration object and the service resource is established, the server may complete the establishment of the sharing relationship by executing the operation illustrated in fig. 2 b.
Referring to fig. 2b, which is a schematic flow chart illustrating establishment of a sharing relationship with respect to a service resource in an embodiment of the present application, the establishment of the sharing relationship is described in detail below with reference to fig. 2 b:
step 20: the server receives a service resource registration request sent by the client aiming at the target service, acquires the identity authentication information of a registration object carried in the service resource registration request, establishes a corresponding service resource based on the identity authentication information, and configures resource attribute information corresponding to the service resource.
Specifically, after a service resource registration operation is triggered by a registration object on a client, a server receives a service resource registration request sent by the client for a target service, acquires identity verification information of the registration object carried in the service resource registration request, establishes a service resource corresponding to the registration object under the target service based on the identity verification information, and configures resource attribute information for the created service resource, wherein the resource attribute information is used for representing information of the service resource registered by the registration object, and the information may include indication information of the target service to which the service resource is applicable, so as to uniquely determine at least one or a combination of identification information of the service resource and registration object information of the registration object of the registration service resource.
For example, assuming that there is a client device capable of completing service resource registration and performing service processing operation based on service resources, after a service resource registration operation for a target service is triggered when a registration object a is on the client device, a server receives authentication information of the registration object a carried in a service resource registration request, where the authentication information may be a mobile phone number and an identity card number of the registration object a, or information capable of uniquely representing the identity of the registration object a. Further, illustratively, the server may establish a service resource of the registration object a under the target service based on the mobile phone number of the registration object a, and may establish a binding relationship between the registration object a and the service resource.
For another example, in some possible embodiments, when there are two types of client devices that respectively implement service resource registration and operation for executing service processing based on service resources, and when the registration object B triggers the service resource registration operation based on a sub-application in a specified application program on the offline device, the server receives the authentication information of the registration object B carried in the service resource registration request sent by the offline device, e.g., the registration object B may trigger the service resource registration operation based on a small program in a communication application on a mobile phone. Furthermore, the server establishes service resources which can be used when the registered object processes the target service based on the identity authentication information of the registered object B.
Step 21: the server receives the biological characteristic information of the registered object sent by the client, receives the biological characteristic information of other objects sharing the business resources sent by the client, and establishes the sharing relation between the registered object and the other objects for the business resources based on the biological characteristic information of the registered object, the biological characteristic information of the other objects and the resource attribute information of the business resources.
Specifically, after establishing a service resource for a registered object, the server continues to receive the biometric information of the registered object sent by the client, and receives the biometric information of other objects sent by the client according to actual processing requirements, so as to establish the registered object and the other objects, and regarding the sharing relationship of the service resource registered by the registered object, where the other objects mentioned herein refer to objects permitted by the registered object and commonly use the service resource registered by the registered object with the registered object.
It should be noted that, in this embodiment of the present application, when the server establishes a sharing relationship between different objects and the same service resource, the sharing relationship between the corresponding objects and the same service resource may be established based on the biometric information of the object sent by the client at different times for the same service resource, where the server may store the biometric information of the objects in the sharing relationship for the service resource in the same type according to the actual processing requirement and the device configuration, or the biometric information of the stored objects may be in different types, and in addition, for the way in which the client sends the biometric information of other objects, detailed description will be performed in the processing flow of the client side to be described later, which is not described herein again.
For example, after the registration object X requests to register the service resource 1 for the target service on the mobile phone, the server may receive the biometric information of the registration object X collected by the mobile phone, and may receive the biometric information of another object collected by the mobile phone, where the another object is an object capable of sharing the service resource 1 with the registration object 1, and the manner for triggering the mobile phone to collect the biometric information of the another object may be: the registration object 1, based on a sub-application in the interactive application, triggers an instruction to continue to acquire biometric information of other objects, and then continues to acquire biometric information of other objects based on the sub-application, or, the registration object is based on a sub-application in the interactive application, determines an object that allows sharing of the business resource 1 among objects having an association relationship in the interactive application, and prompts the determined object by means of the interactive application, so that the objects receiving the related prompts can complete acquisition of respective biometric information by means of respective devices.
For another example, as shown in fig. 2c, which is a schematic view of a sharing relationship established by a server in an embodiment of the present application, fig. 2c schematically shows content in a stored sharing relationship by taking a scene of a sharing member account as an example, that is, in the stored sharing relationship, biometric information of the same type, such as facial feature information, may be stored corresponding to each object.
For another example, referring to fig. 2d, which is a schematic diagram of a sharing relationship established by a server in the embodiment of the present application, and fig. 2d continues to take a scene of a sharing member account as an example, and schematically shows contents in the stored sharing relationship, that is, different types of biometric information may be stored in the stored sharing relationship corresponding to each object, for example, the stored biometric information may be face feature information, fingerprint information, or iris information.
It should be noted that, in the embodiment of the present application, in order to ensure that the business resources are fully used, it may be selectively set that, for each object under the target service, one object can only use one business resource, that is, one business resource may correspond to multiple shared objects, but one object has only one available business resource under the target service, where, for the available business resources of one object under the target application, the establishment of the usage relationship between the business resource and the one object may be originated from the registration relationship of the object to the business resource, or from the sharing relationship between the objects to the business resource.
Therefore, the server can respond to the request sent by the client, establish the service resource under the target service for the registered object, establish the sharing relationship of the registered object and other objects to the service resource according to the indication of the client, provide a basis for the subsequent multiple objects to use the same service resource to perform service processing, so that the subsequent objects with the sharing relationship to the service resource can directly use the service resource to complete the processing of the target service, reduce the complexity of the target service processing, and ensure the reliability and the safety of the service resource and avoid the condition that the service resource is stolen because the service resource is registered by the registered object and the identity verification information of the registered object is used in the registration process.
Further, after the server establishes a sharing relationship of the object to the service resource for the target service, the server may receive a service resource query request sent by the client, and obtain the biometric information of the target object carried in the service resource query request, where the service resource query request is generated by the client in response to a resource use operation triggered by the target object for the target application program.
Specifically, after the client responds to a resource use operation triggered by a target object for a target application program, the server receives a service resource query request which is sent by the client and carries biological characteristic information of the target object, wherein the target application program is an application program used when target service processing is performed.
In the embodiment of the present application, taking the biometric information as the face feature information as an example, when the server side obtains the biometric information of the target object carried in the service resource query request, the following different forms of face feature information may be obtained according to the processing degree of the client side on the acquired face image stream:
in the first form, the service resource query request carries the face feature information processed by the client.
Under the existence form of the face feature information, the server side obtains the face feature information of the target object carried in the service resource query request, wherein the face feature information is obtained by the client side through face feature extraction aiming at the collected face image key frame of the target object.
Specifically, after a client screens a face key frame from an acquired face image stream including a target object and performs face feature extraction on the face key frame to obtain face feature information, a server receives a service resource query request sent by the client and acquires the face feature information carried in the service resource query request, wherein the face image stream may include an RGB image stream and a depth image stream.
And in the second form, the service resource query request carries the face image key frame screened by the client.
Under the existence form of the face feature information, the server side obtains a face image key frame of the target object carried in the service resource query request, extracts the face feature aiming at the face image key frame, and takes the extracted face feature information as the face feature information of the target object.
And in the third form, the service resource query request carries the image stream acquired by the client aiming at the target object.
Under the existence form of the face feature information, the server side obtains a face image stream of a target object carried in the service resource query request, respectively determines picture quality results of face image frames included in the face image stream according to preset image quality indexes, screens out the face image frames of which the picture quality results meet preset screening conditions and uses the face image frames as face image key frames, and after face feature extraction is carried out on the face image key frames, the extracted face feature information is used as the face feature information of the target object.
Therefore, the existence form of the face feature information related in the form one to the form three is equivalent to the limitation of the existence form of the face feature information which can be obtained by the server under different implementation modes, the implementation process of resource sharing is enriched, and the processing process can be adaptively matched with the client to complete.
It should be noted that, in the process of screening out a face image key frame from a face image stream, referred to in the first to third forms, an image quality result of each face image frame included in the face image stream may be determined according to each preset image quality index, and a face image key frame satisfying a preset screening condition may be screened out according to the determined image quality result of each face image frame, where the preset screening condition may be a face image frame with the highest image quality result.
In specific implementation, the server may determine the image quality result of each face image frame included in the face image stream in the following manner, as shown in fig. 2e, which is a schematic flow chart of determining the image quality result in the embodiment of the present application, and the following process of determining the image quality result is described in detail with reference to fig. 2 e:
step A1: and the server side respectively sets corresponding weighted values aiming at each preset image quality index.
Specifically, the server may select an image quality index capable of evaluating image quality according to actual processing requirements, for example, the preset image quality index may be at least one or a combination of a size of the content to be recognized, an angle of the content to be recognized, an image contrast, an image sharpness, and an image brightness.
In the embodiment of the application, for the size of the content to be recognized, the proportion of the area where the content to be recognized occupies the whole image can be used as a basis for evaluating the size of the content to be recognized; for the angle of the content to be recognized, for example, in the case that the biometric information is the face feature information, an included angle between a connecting line between the key points of the left eye and the right eye with respect to a designated plane may be determined as the angle of the content to be recognized, where the value of the angle of the content to be recognized is [0, 90], the key point of the left eye and the key point of the right eye are symmetric with respect to a vertical dividing line where the nose is located, and the designated plane may be a horizontal plane. In addition, since the determination of the image contrast, the image definition, and the image brightness is a conventional technique in the art, it is not described herein again.
It should be noted that, in the embodiment of the present application, in consideration that, for some image quality indexes, the corresponding quantization result is too large or too small, and information in the image cannot be accurately identified, a value range corresponding to the image quality index may be configured in a targeted manner, and a corresponding quality score may be configured for each value range.
For example, for an image quality index: for the size of the content to be recognized, the proportion of the area where the content to be recognized occupies the whole image is too large or too small, which affects the normal processing of the image, so that a proportion interval can be set for the proportion, and different proportion value intervals correspond to different quantization results, so as to represent the result obtained when the image frame is evaluated based on the size of the content to be recognized.
For another example, assuming that the best image recognition effect is obtained when the ratio of the area where the content to be recognized occupies the entire image is g1 to g2, the corresponding quality score of 100, the quality scores of 65 and the like corresponding to [ g0, g1] and [ g2, g3] may be set in the corresponding ratio interval [ g1, g2 ].
After the server determines the image quality indexes, corresponding weight values can be set for the image quality indexes according to actual use requirements and attention degrees of the image quality indexes.
For example, assuming that there are five image quality indicators, i.e., the size of the content to be recognized, the angle of the content to be recognized, the image contrast, the image sharpness, and the image brightness, corresponding weight values may be configured for the respective image quality indicators, respectively, with the result that, for example, the size of the content to be recognized is set to 0.6, the angle of the content to be recognized is set to 0.4, the image contrast is set to 0.5, the image sharpness is set to 0.6, and the image brightness is set to 0.4.
Step A2: and the server performs framing processing on the obtained face image stream to obtain each face image frame, and respectively determines the image quality result of each face image frame.
In the embodiment of the application, the server performs framing processing on the obtained face image stream to obtain each face image frame, and then determines an image quality result corresponding to each face image frame, wherein the framing processing on the image stream to obtain the image frame is a conventional technology in the field and is not repeated herein.
Referring to fig. 2f, which is a schematic flow chart illustrating the process of determining the image quality result according to the embodiment of the present application, the following description will be made with reference to fig. 2f to determine the image quality result of a face image frame:
step A2.1: and the server side respectively determines the quality scores of the image quality indexes corresponding to one face image frame.
Specifically, the server determines, for one face image frame, a quality score corresponding to each preset image quality index according to each quality evaluation index determined in step A1, where the quality score corresponds to a quantization result of the quality evaluation index.
For example, for the size of the content to be recognized, after determining the area where the content to be recognized is located and occupying the proportion of the whole image, determining the proportion interval to which the proportion belongs, and determining the correspondingly set quality score; for the angle of the content to be identified, the cosine result of the determined angle can be used as the quality score; for the image contrast, the image definition, and the image brightness, the corresponding quantization result may be directly used as the quality score, or corresponding value intervals may be respectively set corresponding to the image contrast, the image definition, and the image brightness, and different quality scores may be respectively configured corresponding to the value intervals.
Step A2.2: and the server calculates the obtained weighting result of each quality score according to the weight value corresponding to each image quality index, and uses the obtained weighting result as the image quality result of one face image frame.
Specifically, after determining each quality score corresponding to each image quality index for one face image frame, the server determines a weighting result of each quality score based on each quality score and a weight value set for each image quality index, and takes the obtained weighting result as an image quality result of the corresponding face image frame.
Further, after the server determines the image quality result corresponding to each face image frame in the face image stream, one face image frame with the highest image quality result is screened out from each face image frame and used as the key frame of the face image.
Therefore, by means of the quantifiable image quality index, the image quality can be visually and quantitatively evaluated, a basis is provided for screening image frames, the image frames with high image quality can be screened out, meanwhile, convenience is provided for subsequent operation of feature recognition or detection processing based on the screened-out images, and the accuracy of results obtained based on the image frames is guaranteed to the greatest extent.
Meanwhile, after the client responds to the resource use operation triggered by the target object aiming at the target application program, the server can receive the business resource query request sent by the client to obtain the biological characteristic information of the target object, and a basis is provided for the follow-up process of determining the shared business resource based on the biological characteristic information of the target object.
Step 202: and the server side determines the corresponding target service based on the biological characteristic information and the service identification information, and acquires the resource attribute information of the target service resource when the target service resource shared by the target object and other objects exists.
Specifically, when executing step 202, the processing device participates in fig. 2g, which is a schematic flow diagram of determining a target service resource in this embodiment of the application, and the server may specifically implement the determination of the target service resource by executing the step illustrated in fig. 2 g:
step 2021: the server determines the target service corresponding to the service identification information, determines each service resource stored corresponding to the target service, and determines the biological characteristic information to be matched of each object sharing the service resource.
Specifically, the server determines a corresponding target service based on the service identification information, and obtains a sharing relationship of an object stored for the target service to a service resource, where the service identification information is used to indicate a specific service, and the server may store the sharing relationship of the object to the service resource for a plurality of services, respectively, and the sharing relationship may be represented in the form of a set of the service resource and an object sharing the service resource, and specifically may be represented as a corresponding relationship between resource attribute information of the service resource and a biological feature set of the object sharing the service resource.
Step 2022: and the server side respectively calculates the similarity between the biological characteristic information and each piece of biological characteristic information to be matched, and screens out the biological characteristic information to be matched, wherein the corresponding similarity meets the set similarity screening condition.
In the embodiment of the application, the server may determine the biological characteristic information of the object sharing each service resource under the target service as the biological characteristic information to be matched, and respectively calculate the similarity between the biological characteristic information of the target object and each biological characteristic information to be matched in a way of calculating the similarity, and further screen out the similarity between the biological characteristic information of the object and each determined similarity, and the biological characteristic information to be matched meeting the similarity screening condition, where the similarity screening condition may be the highest similarity, and the similarity is higher than a set value.
It should be noted that, in the embodiment of the present application, when determining the similarity between the biometric information of the target object and each piece of biometric information to be matched, the biometric information of the target object may be directly subjected to similarity calculation and screening with each piece of biometric information to be matched stored in the corresponding target service, so as to determine the screened piece of biometric information to be matched, or the server may be used to perform similarity calculation and screening on the biometric information of the target object and each piece of biometric information associated with the service resource, respectively, for each service resource, so as to determine the screened piece of biometric information to be matched.
For example, assume that the server is for the target service: the commodity settlement of the store, the corresponding business resource being a member account, the resource attribute information of the business resource being a member card number corresponding to the member account, and the biometric information of the user being face feature information specifically, the sharing relationship stored in the database by the server may be embodied as: member account 1 (member card number 1) { face feature information of object 1, face feature information of object 2, face feature information of object 3 }; member account 2 (member card number 2) { face feature information of object 4, face feature information of object 5 }; and the member account 3 (the member card number 3) { the face feature information of the object 6 } and the like, the server side can directly compare the face feature information of the target object with the stored face feature information, and further determine a shared member account based on the successfully matched face feature information, or the server side can respectively compare the face feature information of the target object with the face feature information associated with the member account aiming at each member account, and determine the member account which can be used by the target object.
Step 2023: and the server determines the screened effective object corresponding to the biological characteristic information to be matched, and takes the service resource configured to the corresponding effective object as the target service resource shared by the target object and other objects.
Specifically, when the server selects the biometric information to be matched, which is successfully matched with the target object, the server determines the object corresponding to the selected biometric information to be matched as an effective object, and uses the service resource configured corresponding to the effective object as the target service resource shared by the target object and other objects.
Therefore, the target business resources which can be used by the target object are determined based on the biological characteristic information of the target object, the safety of the use of the business resources can be improved, and the possibility of stealing the business resources is reduced.
Step 203: and the server side sends the resource attribute information to the client side so that the client side uses the target service resource based on the resource attribute information and continues to execute the subsequent operation triggered by the target object aiming at the target application program.
In the embodiment of the application, after the server determines the target service resource that can be used by the target object and sends the resource attribute information of the target service resource to the client, the server may configure and receive the confirmation information fed back by the client based on the resource attribute information, so that the client determines whether the target service resource is accurate, and then after receiving the confirmation information fed back by the target object, the server provides the target service resource to the client, so that the client uses the target service resource based on the resource attribute information and continues to execute the subsequent operation triggered by the target object for the target application program.
Therefore, by means of the confirmation information fed back by the client, the target service resource used by the target object can be further confirmed, the situation that the target service resource configuration is mistaken due to misjudgment of the server is avoided, and further guarantee is provided for accurate use of the service resource.
Meanwhile, the server side enables the target object on the client side to use the configured and shared service resource to perform service processing after verification is completed based on the biological characteristic information by means of the established sharing relation of the plurality of associated objects to the same service resource, and therefore the utilization rate of the service resource is improved.
Based on the same inventive concept, referring to fig. 3a, which is a schematic flow chart of resource sharing in the embodiment of the present application, the following describes a resource sharing process from the perspective of a client:
in the following description, the flow of resource sharing will be described directly from the perspective of the client without specifically distinguishing the client devices.
Step 301: and the client side responds to the target object and sends a service resource query request to the server side aiming at the resource use operation triggered by the target application program.
In the embodiment of the application, before the client responds to the resource use operation triggered by the target object for the target application program, the client needs to request the server to establish the service resource which can be used when the target service is processed, and establish the binding relationship between the target object and the service resource.
Referring to fig. 3b, which is a schematic flowchart illustrating a process of requesting establishment of a sharing relationship for a service resource in an embodiment of the present application, a process of requesting registration of the service resource and requesting sharing of the service resource is described below with reference to fig. 3 b:
it should be noted that, in this embodiment of the application, when receiving a service resource registration request of a registration object, a client may respond to a service resource registration operation triggered by the registration object based on a sub-application in an interactive application, or may respond to a service resource registration operation triggered by the registration object directly based on the interactive application, where the application does not specifically limit a manner in which the registration object triggers the service resource registration operation, and the following description is schematically described by taking only an example in which the registration object triggers the service resource registration request based on the sub-application in the interactive application, where an interactive application and a target application involved in subsequent service processing may correspond to the same application, or may correspond to different applications.
Step 3011: and the client side responds to the business resource registration operation triggered by the registration object based on the sub-application in the interactive application program and sends a business resource registration request to the server side.
Specifically, in this embodiment of the application, after determining that a registration object opens a sub-application in an interactive application program, a client may directly obtain authentication information used when the registration object logs in the interactive application program, and send a service resource registration request carrying the authentication information to a server, or the client may selectively display prompt information of the authentication information when the registration object logs in the interactive application program, and send the service resource registration request to the server after receiving a confirmation operation triggered by the registration object, where the service resource registration request carries the authentication information of the registration object and service identification information of a target service for which the registration object is registered.
For example, referring to fig. 3c, which is a schematic diagram of a process in which a registered object triggers a service resource registration request in this embodiment of the application, in order to increase protection of privacy security of the registered object, when the registered object accesses a sub-application in an interactive application, prompt information indicating whether to agree to acquire authentication information used when the registered object logs in the interactive application may be displayed, taking a specific scenario of member account registration as an example, at this time, the interactive application corresponds to an instant messaging application, the sub-application in the interactive application corresponds to a target service, and the member account registration under the target service can be implemented, then the sub-application in the interactive application corresponds to an XX service applet in the instant messaging application, and when the registered object gradually triggers and selects the XX service applet, an operable page displaying an information confirmation prompt is presented to the registered object, and the client sends the service resource registration request to the server in response to a confirmation operation of the registered object.
Step 3012: the client side responds to the information collection operation triggered by the registered object based on the sub-application, and collects the biological characteristic information of the registered object and other objects.
Specifically, the client responds to the information acquisition operation triggered by the registration object based on the sub-application in the interactive application program, and acquires the biological characteristic information of the registration object and other objects, wherein the client can configure corresponding acquisition functions according to actual processing requirements in consideration of different types of biological characteristic information, so as to acquire the biological characteristic information.
It should be noted that, in the embodiment of the present application, according to different triggering manners of the information acquisition operation triggered by the registration object, there may be the following different situations in which the client responds to the information acquisition operation triggered by the registration object:
in the first situation, the registered object selects a mode of simultaneously acquiring the biological characteristic information of the multi-person object, and the acquisition of the biological characteristic information of the registered object and other objects is realized at the client.
Specifically, the client may sequentially acquire the biometric information of the registered object and the biometric information of the other objects in response to an instruction that the registered object acquires the biometric information of the plurality of objects based on the sub-application in the interactive application triggered, wherein the client is capable of acquiring the biometric information of a specified number of objects at a time or acquiring the biometric information of each object at a time without limiting the number of objects according to a selection operation triggered by the registered object.
In a possible embodiment of the present application, after the client finishes the acquisition of the face video stream of an object, the client may display the face image of the object in the acquisition interface, so as to identify the object that has finished the acquisition of the biometric information schematically, and further, according to the actual processing requirement, after all the objects to be subjected to the biometric information acquisition are all acquired, the acquired biometric information of each object is uniformly sent to the server, or alternatively, according to the actual processing requirement, the acquired biometric information is sent to the server every time the biometric information of an object is acquired.
For example, referring to fig. 3d, which is a schematic diagram of a process of performing biometric acquisition in the embodiment of the present application, in the biometric information acquisition process illustrated in fig. 3d, if the registration device is preset to acquire face feature information of 3 objects, the client acquires face image streams of the 3 objects in sequence, and schematically displays the acquired images of the objects in the acquisition interface.
And secondly, selecting an object capable of establishing interaction through an interactive application program by the registered object, and sending an invitation for entering the biological characteristic information to each selected object by means of the interactive application program.
Specifically, after determining that the registration object selects an object capable of interacting based on the interactive application program, the client may send invitation information to each object interacted with the registration object by means of the interactive application program, so that the object receiving the invitation information can jump to a page capable of inputting its own biometric information by clicking the invitation message on the corresponding client device.
For example, referring to fig. 3e, which is a schematic view of an operation process of acquiring biometric information in the embodiment of the present application, fig. 3e adaptively illustrates a process of acquiring facial feature information of each object of a sharing member after a registered object completes registration in a scenario of registering a member, first, a client may send a member registration request to a server in response to a member registration operation triggered by the registered object in an "XX service" applet, and then present a selection interface for selecting an object of the sharing member in response to an acceptance operation of the registered object for acquiring biometric information, where the selected object is an object having a relationship, such as a friend relationship, with the registered object in an interactive application carrying the XX service applet. And sending invitation information to an object selected by the registered object through the interactive application, wherein the invitation information can comprise address information capable of jumping to a biological characteristic information acquisition page. Then, a collection page of the biological characteristic information is displayed to realize the collection of the biological characteristic information of the registered object.
Therefore, by means of the implementation modes of the first condition and the second condition, the collection of the biological characteristic information of the registered object and other objects can be realized under diversified implementation scenes, the collection mode is flexible, and the implementation process of resource sharing is enriched.
Step 3013: the client responds to information acquisition termination operation triggered by the registered object based on the sub-application, and sends acquired biological characteristic information of the registered object and other objects to the server, so that the server establishes a sharing relation between the registered object and other objects and business resources registered by the registered object.
Specifically, in the embodiment of the present application, the management authority for each object sharing the service resource registered by the registered object may be selectively configured for the registered object, so that the registered object can trigger the adjustment operation for the object sharing the service resource. The client responds to the information acquisition termination operation triggered by the registration object based on the sub-application in the interactive application program, and sends the acquired biological feature information of the registration object and other objects to the server, so that the server establishes the registration object and other objects, and for the sharing relationship of the service resources registered by the registration object, the establishment process of the sharing relationship by the server is explained in the process steps, and will not be described again.
Therefore, in response to the operation triggered by the registered object, the client can send the service resource registration request of the registered object to the server, so that the server can configure corresponding service resources for the registered object, and meanwhile, the client can collect the biological characteristic information of the registered object and other objects, thereby providing a basis for subsequent resource sharing operation.
Further, the client may send a service resource query request to the server in response to a resource usage operation triggered by the target object for the target application.
It should be noted that, in this embodiment of the application, the target application is an application corresponding to a target service processed by a target object, so that when the target object triggers an operation based on the target application, it can be determined that the target object intends to process the target service, and therefore, the service resource query request carries service identification information for indicating the target service and carries acquired biometric information of the target object.
In the embodiment of the present application, because the target object may adopt different triggering manners to trigger the resource usage operation, the following two manners may exist when the corresponding client sends the service resource query request to the server in response to the resource usage operation:
the first mode is to respond to the resource using operation triggered by the target object aiming at the target application program.
Specifically, the client may collect the biometric information of the target object in response to the resource usage operation triggered by the target object for the target application program, and send the service resource query request carrying the biometric information to the server.
And responding to the resource using operation triggered by the target object aiming at the sub-application in the target application program.
In a possible embodiment of the application, the client may respond to a resource use operation triggered by the target object for the sub-application in the target application program, acquire biometric information of the target object, and send a service resource query request carrying the biometric information to the server.
Therefore, the client side provides multiple possibilities for the triggering mode of the business resource query request, and provides multiple selectable triggering modes for the target object.
In the following, by taking the collected biometric information as the face feature information as an example, a process of collecting the biometric information of the target object and sending the business resource query request carrying the biometric information to the server is described with reference to the implementation manners of the first and second manners.
In the embodiment of the application, the client calls the image acquisition component to acquire the face image stream containing the target object, wherein the face image stream comprises the face characteristic information of the target object. Furthermore, according to the processing requirements, after the collected face image stream is processed to different degrees, the processed face image stream is carried in the service resource query request and sent to the server, so that when the client sends the service resource query request carrying the biological characteristic information to the server, the following different implementation manners may exist:
in the implementation mode A1, the service resource query request carries face feature information extracted based on the face image stream.
Specifically, after the client acquires the face image stream of the target object, the client can screen out a face image key frame in the face image stream according to preset image quality indexes, generate a service resource query request based on face feature information extracted from the face image key frame, and send the service resource query request to the server.
In the implementation mode A2, the service resource query request carries the face key frame obtained by screening based on the face image stream.
Specifically, after the client collects the face image stream of the target object, the client can screen out a face image key frame in the face image stream according to preset image quality indexes, generate a service resource query request based on the face key frame, and send the service resource query request to the server.
In the implementation mode A3, the service resource query request carries the face image stream.
Specifically, after the client collects the target object face image stream, a service resource query request containing the face image stream can be generated, and the generated service resource query request is sent to the server.
Therefore, the client can perform adaptive processing on the acquired facial image stream according to actual processing requirements and the processing capacity of the client, and carry the obtained processing result in the service resource query request, so that the server receiving the service resource query request can perform subsequent operation based on the obtained information, and the flexibility and the coordination of the operation are ensured.
In this embodiment of the application, in the implementation manners A1-A2, when the client screens out the face image key frame from the face image stream according to each preset image quality index, the client may respectively determine the picture quality result of each face image frame included in the face image stream according to each preset image quality index and the weight value respectively set for each image quality index, and further screen out the face image frame whose image quality result meets the preset screening condition, as the face image key frame in the face image stream.
Specifically, the client may preset each image quality index, set a corresponding weight value for each image quality index, and perform the following operations for each face image frame in the face image stream according to each image quality index: and performing quality evaluation on one face image frame according to each image quality index to obtain quality scores corresponding to each image quality index, and performing weighted summation on each obtained quality score according to a weight value corresponding to each image quality index to obtain an image quality result corresponding to one face image frame.
Furthermore, the client selects, from the obtained image quality results, a face image frame that meets a preset selection condition as a face image key frame, where the preset selection condition may be that the image quality result is the highest. The specific implementation process for screening out the key frames of the face image from the face image stream may be the same as the implementation process involved in step 201, and is not described herein again.
Therefore, under the condition that the biological characteristic information is the face characteristic information, the client can screen out the face image key frames meeting the requirements from the collected face image stream according to the comprehensive evaluation result of each image quality index, so that the subsequent operation can be carried out based on the screened face image key frames, the recognition effect is ensured, the recognition efficiency of the face characteristic is improved, and meanwhile, the accuracy and the reliability of the obtained face characteristic information are improved.
Step 302: and the client receives the resource attribute information of the target service resource, which is fed back by the server based on the biological characteristic information and the service identification information.
Specifically, after the client sends the service resource query request to the server, the client receives resource attribute information of the target service resource, which is fed back by the server based on the biometric information and the service identification information carried in the service resource query request, where the target service resource is a resource shared in the target service by the target object and other objects, in other words, the target service resource is a resource that can be used by the target object and other objects when executing target service processing, and the resource attribute information can represent the attribution condition of the service resource and/or represent specific services that can be processed. It should be noted that, the process of determining, by the server, the target business resource shared by the target object and the other object based on the biometric information has been described in detail in the process corresponding to the server, and will not be described herein again.
For example, continuing with the registration process illustrated in fig. 3e, the "Ke Ke" invites the family members after completing the registration of the member account for the target service based on its own authentication information, such as a mobile phone number: the son and the old man share a member account registered by the son, the son and the old man finish the input of face feature information on own equipment respectively, so that the service end corresponds to the registered member account of ' Ke Ke ', ke Ke ', the son and the face feature information of the old man are stored, subsequently, the client sends the face feature information of the ' old man ' of Ke Ke to the service end based on a service resource query request triggered by the ' old man ' of Ke Ke, receives the face feature information of the service end for matching based on the obtained face feature information, and feeds back the member attribute information of the registered member account of Ke Ke after finding out the registered member of Ke Ke, wherein the member attribute information may comprise at least one or a combination of a mobile phone number used by the registered person when registering the member account, nickname information of the registered person on an interactive application program, real information of the registered person and the like.
In the technical scheme provided by the application, optionally, in order to further confirm the service resource and avoid the occurrence of a server side identification error, the client side receives the resource attribute information of the target service resource fed back by the server side based on the biological characteristic information and the service identification information, displays the resource attribute information in an operable page, and further responds to a confirmation operation triggered by the target object based on the resource attribute information and sends a confirmation instruction aiming at the resource attribute information to the server side.
For example, referring to fig. 3f, which is a schematic process diagram illustrating a business resource available for a target object according to an embodiment of the present application, the process illustrated in fig. 3f is based on the process illustrated in fig. 3e, when Ke Ke completes registration of a member account, a male device and a son device of Ke Ke and Ke Ke are present, and when Ke Ke registers a sharing relationship of the member account, and then Ke Ke performs a target business on an offline device, the offline device collects face feature information of the male device of Ke Ke, and then the service end feeds back the member account attribute information of the member account registered in Ke Ke based on the face feature information of the male device of Ke Ke, and displays the member account attribute information of Ke Ke registered on an operable page, so that the male device of Ke Ke can determine whether the currently fed back member account is accurate.
Therefore, the accuracy of the service resources used by the subsequent target object can be ensured and the misoperation of the service resources of other people can be avoided by displaying the determined resource attribute information of the service resources to the target object.
Meanwhile, for a scene of sharing the member account, under the condition that the sharing relationship between the plurality of face feature information and the member account is established in advance and the binding of the plurality of objects and the member account is realized, any one object in the plurality of objects can obtain the account attribute information of the bound member account based on the face feature information of the object in the process of processing the target business, so that each object using the member account does not need to pass through a complicated member account registration process, and the convenience is brought to the use of the object which cannot complete the member account registration.
Step 303: and the client uses the target service resource based on the resource attribute information and continues to execute the subsequent operation triggered by the target object aiming at the target service.
Specifically, after the server determines the resource attribute information of the target business resource shared by the target object and other objects based on the biometric information of the target object, the client uses the corresponding target business resource based on the resource attribute information sent by the server to continue to execute the subsequent operation triggered by the target object for the target business.
For example, referring to fig. 3g, which is a schematic diagram of the target object performing an operation based on the target business resource in the embodiment of the present application, and a schematic diagram of the member account based solution operation illustrated in fig. 3g, in combination with the content illustrated in fig. 3f, ke Ke of the old public can perform a settlement of goods based on the member account registered in Ke Ke, and enjoy a discount offer of the member account.
Therefore, the client supports a plurality of objects to execute operation based on the same service resource, the target object can acquire the bound service resource shared with other objects based on the biological characteristic information of the target object, the utilization rate of the service resource is improved while the safe utilization of the service resource is ensured, the limitation that each object using the service resource needs to finish registration by self is avoided, the operability of using the service resource is improved for related objects, and the plurality of objects can share the same service resource to realize the processing of the target service.
In addition, when the technical scheme provided by the application is applied to a family sharing scene, one of family members can obtain the use permission of the service resource based on the biological characteristic information previously input by the member who has the service resource sharing permission among the family members after registering the service resource based on the identity authentication information used by the member for logging in the interactive application program, so that the operability of using the service resource is improved for the family members who are difficult to perform resource registration operation, and the use experience of users is greatly improved.
Based on the same inventive concept, referring to fig. 4, which is an interaction schematic diagram for implementing service resource sharing in the embodiment of the present application, in the following, referring to fig. 4, taking an example that a client corresponds to an offline device and an object device, and a server corresponds to a background server, the object device is used for implementing registration of a service resource and acquisition of biological feature information of an object; the offline device is used for executing the processing of the target service; the background server is used for configuring business resources for the registration object and establishing a sharing relation for the business resources.
Step 401: the object device determines that the registered object is in the logged instant messaging application and initiates a trigger operation for the specified applet.
Step 402: and the object equipment sends a service resource registration request to the background server, wherein the service resource registration request carries the identity authentication information when the registered object logs in the instant messaging application and carries the service identification information of the target service corresponding to the specified small program.
Step 403: the background server establishes a service resource when processing the target object based on the identity authentication information of the registered object.
Step 404: the subject device collects biometric information of the enrolled subject and other subjects.
Step 405: the object device transmits the registered object and the biological characteristic information of other objects to the background server.
Step 406: the background server establishes a registration object and other objects, and the sharing relation of the business resources registered by the registration object is established.
Step 407: the online device determines that the target object triggers a business resource query operation based on the sub-application in the target application program.
Step 408: and the online equipment sends a service resource query request carrying the biological characteristic information of the target object to the background server.
Step 409: and the background server determines the target business resources shared by the target object and other objects based on the biological characteristic information of the target object.
Step 410: and the background server sends the resource attribute information of the target service resource to the online equipment.
Step 411: the online device determines that the target object triggers a validation operation based on the resource attribute information.
Step 412: and the on-line equipment sends the confirmation information of the resource attribute information of the target service resource to the background server.
Step 413: and the background server sends the available target service resources to the online equipment.
Step 414: and the online equipment continuously responds to the operation triggered by the target object based on the target service resource and executes the processing of the target service.
It should be noted that, in the embodiment of the present application, in the interaction process illustrated in fig. 4, part of operations may be performed repeatedly, for example, a service resource registration request initiated by different registration objects may be received, and the operations may be performed repeatedly, or an adjustment operation for an object sharing a service resource initiated by a registration object may be responded to at any time, for example, biological characteristic information of a newly added object is collected, and the collected biological characteristic information is sent to a background server, so that the background server establishes a sharing relationship for the service resource registered by the registration object. In addition, the offline device may respond to the service resource query operation triggered by different target objects, and request the background server to search for a service resource meeting the requirement, which will not be described in detail herein.
Based on the same inventive concept, referring to fig. 5, which is a schematic diagram of a logic structure of a service resource sharing device in an embodiment of the present application, applied to a server, and including a receiving unit 501, a determining unit 502, and a sending unit 503, wherein,
a receiving unit 501, configured to receive a service resource query request sent by a client, and acquire biometric information of a target object carried in the service resource query request and service identification information of a target service corresponding to a target application program, where the service resource query request is generated by the client in response to a resource usage operation triggered by the target object for the target application program;
a determining unit 502, configured to determine, based on the biometric information and the service identification information, a corresponding target service, and obtain resource attribute information of a target service resource when the target service resource shared by the target object and another object exists;
a sending unit 503, configured to send the resource attribute information to the client, so that the client continues to execute subsequent operations triggered by the target object for the target application program by using the target service resource based on the resource attribute information.
Optionally, before receiving the service resource query request sent by the client, the receiving unit 501 is further configured to:
receiving a service resource registration request sent by a client aiming at a target service, acquiring identity authentication information of a registration object carried in the service resource registration request, establishing a corresponding service resource based on the identity authentication information, and configuring resource attribute information corresponding to the service resource;
receiving the biological characteristic information of the registered object sent by the client, receiving the biological characteristic information of other objects sharing the business resources sent by the client, and establishing the sharing relationship between the registered object and the other objects for the business resources based on the biological characteristic information of the registered object, the biological characteristic information of the other objects and the resource attribute information of the business resources.
Optionally, when the biometric information is face feature information and biometric information of a target object carried in the service resource query request is acquired, the receiving unit 501 is configured to perform any one of the following operations:
acquiring face feature information of a target object carried in a service resource query request, wherein the face feature information is obtained by extracting face features of a key frame of a face image of the target object acquired by a client;
acquiring a face image key frame of a target object carried in a service resource query request, extracting face features aiming at the face image key frame, and taking the extracted face feature information as the face feature information of the target object;
the method comprises the steps of obtaining a face image stream of a target object carried in a service resource query request, respectively determining picture quality results of face image frames included in the face image stream according to preset image quality indexes, screening out the face image frames with the picture quality results meeting preset screening conditions to serve as face image key frames, and after face feature extraction is conducted on the face image key frames, taking extracted face feature information as face feature information of the target object.
Optionally, when determining the image quality result of each face image frame included in the face image stream according to each preset image quality index, the receiving unit 501 is configured to:
respectively setting corresponding weighted values aiming at each preset image quality index;
performing framing processing on the obtained face image stream to obtain each face image frame, and respectively executing the following operations for each face image frame:
respectively determining the quality scores of the face image frames corresponding to the image quality indexes;
and calculating the weighting result of each obtained quality score according to the weight value corresponding to each image quality index, and taking the obtained weighting result as the image quality result of one face image frame.
Optionally, after the resource attribute information is sent to the client, so that before the client uses the target service resource based on the resource attribute information and continues to execute the subsequent operation triggered by the target object for the target application program, the sending unit 503 is further configured to:
and receiving confirmation information fed back by the client based on the resource attribute information.
Optionally, based on the biometric information and the service identification information, when a corresponding target service is determined and a target service resource shared by the target object and another object exists, the determining unit 502 is configured to:
determining a target service corresponding to the service identification information, determining each service resource stored corresponding to the target service, and determining biological characteristic information to be matched of each object sharing the service resource;
respectively calculating the similarity between the biological characteristic information and each biological characteristic information to be matched, and screening out the biological characteristic information to be matched, wherein the corresponding similarity meets the set similarity screening condition;
and determining the effective object corresponding to the screened biological characteristic information to be matched, and taking the service resource configured to the corresponding effective object as the target service resource shared by the target object and other objects.
Based on the same inventive concept, referring to fig. 6, which is a schematic diagram of a logic structure of a service resource sharing device in an embodiment of the present application, including a response unit 601, a receiving unit 602, and an executing unit 603, wherein,
a response unit 601, configured to send a service resource query request to a server in response to a resource usage operation triggered by a target object for a target application, where the service resource query request carries biometric information of the target object and service identification information of a target service corresponding to the target application;
a receiving unit 602, configured to receive resource attribute information of a target service resource, where the resource attribute information is fed back by a server based on the biometric information and the service identification information, where the target service resource is a resource shared in a target service between a target object and another object;
an executing unit 603, configured to use the target service resource based on the resource attribute information, and continue to execute the subsequent operation triggered by the target object for the target service.
Optionally, before responding to the resource usage operation triggered by the target object for the target application, the response unit 601 is further configured to:
responding to a service resource registration operation triggered by a registration object based on a sub-application in an interactive application program, and sending a service resource registration request to a server, wherein the service resource registration request carries identity authentication information of the registration object and service identification information of a target service for which the registered service resource is directed;
collecting the biological characteristic information of the registered object and other objects in response to the information collection operation triggered by the registered object based on the sub-application;
and responding to information acquisition termination operation triggered by the registered object based on the sub-application, and sending the acquired biological characteristic information of the registered object and other objects to the server, so that the server establishes a sharing relation between the registered object and other objects and the service resources registered by the registered object.
Optionally, when sending a service resource query request to the server in response to a resource usage operation triggered by the target object for the target application, the response unit 601 is configured to execute any one of the following operations:
responding to a resource use operation triggered by a target object aiming at a target application program, acquiring biological characteristic information of the target object, and sending a business resource query request carrying the biological characteristic information to a server;
and responding to the resource use operation triggered by the target object aiming at the sub-application in the target application program, acquiring the biological characteristic information of the target object, and sending a service resource query request carrying the biological characteristic information to the server.
Optionally, when the biometric information is the face feature information and the biometric information of the target object is acquired, the response unit 601 is configured to:
adopting image acquisition equipment to acquire a face image stream containing a target object, wherein the face image stream comprises face characteristic information of the target object;
when sending a service resource query request carrying biometric information to a server, the response unit 601 is configured to perform any one of the following operations:
screening out a face image key frame in a face image stream according to preset image quality indexes, generating a service resource query request based on face characteristic information extracted from the face image key frame, and sending the service resource query request to a server;
screening out a face image key frame in the face image stream according to each preset image quality index, generating a service resource query request based on the face image key frame, and sending the service resource query request to a server;
and generating a service resource query request containing the face image stream, and sending the service resource query request to the server.
Optionally, when the face image key frame in the face image stream is screened out according to each preset image quality index, the response unit 601 is configured to:
respectively determining the picture quality results of each face image frame in the face image stream according to each preset image quality index and the weight value respectively set for each image quality index;
and screening out the face image frames with the image quality results meeting the preset screening conditions as face image key frames in the face image stream.
Optionally, when receiving resource attribute information of the target service resource, which is fed back by the server based on the biometric information and the service identification information, the receiving unit 602 is configured to:
receiving resource attribute information of a target service resource fed back by the server based on the biological characteristic information and the service identification information, and displaying the resource attribute information in an operable page;
and responding to the confirmation operation triggered by the target object based on the resource attribute information, and sending a confirmation instruction aiming at the resource attribute information to the server.
After introducing the method and apparatus for switching management authority of an exemplary embodiment of the present application, an electronic device according to another exemplary embodiment of the present application is introduced next.
As will be appreciated by one skilled in the art, aspects of the present application may be embodied as a system, method or program product. Accordingly, various aspects of the present application may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.), or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
Based on the same inventive concept as the method embodiment, an electronic device is further provided in the embodiment of the present application, referring to fig. 7, which is a schematic diagram of a hardware component structure of an electronic device to which the embodiment of the present application is applied, and the electronic device 700 may at least include a processor 701 and a memory 702. The memory 702 stores therein a program code, which, when executed by the processor 701, causes the processor 701 to perform the steps of any one of the above-mentioned service resource sharing methods.
In some possible implementations, a computing device according to the present application may include at least one processor, and at least one memory. Wherein the memory stores program code which, when executed by the processor, causes the processor to perform the steps of the above-described sharing of business resources according to various exemplary embodiments of the present application. For example, the processor may perform the steps as shown in fig. 2a, 3 a.
A computing device 800 according to this embodiment of the application is described below with reference to fig. 8. As shown in fig. 8, computing device 800 is in the form of a general purpose computing device. Components of computing device 800 may include, but are not limited to: the at least one processing unit 801, the at least one memory unit 802, and a bus 803 that couples various system components including the memory unit 802 and the processing unit 801.
Bus 803 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a processor, or a local bus using any of a variety of bus architectures.
The storage unit 802 may include readable media in the form of volatile memory, such as Random Access Memory (RAM) 8021 and/or cache storage unit 8022, and may further include Read Only Memory (ROM) 8023.
Storage unit 802 can also include a program/utility 8025 having a set (at least one) of program modules 8024, such program modules 8024 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
The computing device 800 may also communicate with one or more external devices 804 (e.g., keyboard, pointing device, etc.), with one or more devices that enable objects to interact with the computing device 800, and/or with any devices (e.g., router, modem, etc.) that enable the computing device 800 to communicate with one or more other computing devices. Such communication may be through input/output (I/O) interfaces 805. Moreover, the computing device 800 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 806. As shown, the network adapter 806 communicates with other modules for the computing device 800 over the bus 803. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the computing device 800, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
Based on the same inventive concept as the above method embodiments, various aspects of the sharing of business resources provided by the present application may also be implemented in the form of a program product, which includes program code for causing an electronic device to perform the steps in the business resource sharing method according to various exemplary embodiments of the present application described above in this specification when the program product runs on the electronic device, for example, the electronic device may perform the steps as shown in fig. 2a and 3 a.
The program product may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (16)

1. A method for sharing service resources is applied to a server, and comprises the following steps:
receiving a service resource query request sent by a client, and acquiring biological characteristic information of a target object carried in the service resource query request and service identification information of a target service corresponding to a target application program, wherein the service resource query request is generated by the client in response to a resource use operation triggered by the target object for the target application program;
determining that a target service resource shared by the target object and other objects exists corresponding to the target service based on the biological characteristic information and the service identification information, and acquiring resource attribute information of the target service resource;
and sending the resource attribute information to the client so that the client uses the target service resource based on the resource attribute information to continuously execute the subsequent operation triggered by the target object aiming at the target application program.
2. The method of claim 1, wherein before receiving the service resource query request sent by the client, the method further comprises:
receiving a service resource registration request sent by a client aiming at a target service, acquiring identity authentication information of a registration object carried in the service resource registration request, establishing a corresponding service resource based on the identity authentication information, and configuring resource attribute information corresponding to the service resource;
and receiving the biological characteristic information of the registered object sent by the client, receiving the biological characteristic information of other objects sharing the business resources sent by the client, and establishing the sharing relationship between the registered object and the other objects for the business resources based on the biological characteristic information of the registered object, the biological characteristic information of the other objects and the resource attribute information of the business resources.
3. The method according to claim 1, wherein when the biometric information is face feature information, the obtaining of the biometric information of the target object carried in the business resource query request includes any one of:
acquiring the face feature information of a target object carried in the service resource query request, wherein the face feature information is obtained by extracting the face feature of the acquired key frame of the face image of the target object by the client;
acquiring a face image key frame of a target object carried in the service resource query request, extracting face features of the face image key frame, and taking the extracted face feature information as the face feature information of the target object;
acquiring the face image stream of the target object carried in the service resource query request, respectively determining the image quality results of all face image frames included in the face image stream according to preset image quality indexes, screening out the face image frames with the image quality results meeting preset screening conditions as face image key frames, and extracting face features of the face image key frames and then taking the extracted face feature information as the face feature information of the target object.
4. The method as claimed in claim 3, wherein said determining the image quality result of each face image frame included in the face image stream according to each preset image quality index comprises:
respectively setting corresponding weighted values aiming at each preset image quality index;
performing framing processing on the obtained face image stream to obtain each face image frame, and respectively executing the following operations for each face image frame:
respectively determining the quality scores of the face image frames corresponding to the image quality indexes;
and calculating a weighting result of each obtained quality score according to the weight value corresponding to each image quality index, and taking the obtained weighting result as the image quality result of the face image frame.
5. The method of any one of claims 1-4, wherein the determining that a target business resource exists for the target object to share with other objects corresponding to the target business based on the biometric information and the business identification information comprises:
determining a target service corresponding to the service identification information, determining each service resource stored corresponding to the target service, and determining biological characteristic information to be matched of each object sharing the service resources;
respectively calculating the similarity between the biological characteristic information and each biological characteristic information to be matched, and screening out the biological characteristic information to be matched, wherein the corresponding similarity meets the set similarity screening condition;
and determining the screened effective object corresponding to the biological characteristic information to be matched, and taking the business resource configured corresponding to the effective object as the target business resource shared by the target object and other objects.
6. A method for sharing service resources is applied to a client, and comprises the following steps:
responding to a resource using operation triggered by a target object aiming at a target application program, and sending a service resource query request to a server, wherein the service resource query request carries biological characteristic information of the target object and service identification information of a target service corresponding to the target application program;
receiving resource attribute information of a target service resource fed back by the server based on the biological characteristic information and the service identification information, wherein the target service resource is a resource shared in the target service by the target object and other objects;
and based on the resource attribute information, using the target service resource to continuously execute the subsequent operation triggered by the target object aiming at the target service.
7. The method of claim 6, wherein responding to the target object triggered resource usage operations for the target application is preceded by:
responding to a service resource registration operation triggered by a registration object based on a sub-application in an interactive application program, and sending a service resource registration request to a server, wherein the service resource registration request carries identity authentication information of the registration object and service identification information of a target service for which the registered service resource is directed;
collecting the biological characteristic information of the registered object and other objects in response to the information collection operation triggered by the registered object based on the sub-application;
and responding to information acquisition termination operation triggered by the registered object based on the sub-application, and sending the acquired biological characteristic information of the registered object and other objects to the server, so that the server establishes a sharing relation between the registered object and other objects and business resources registered by the registered object.
8. The method of claim 6, wherein the sending a business resource query request to the server in response to the target object triggering the resource usage operation for the target application comprises any one of the following operations:
responding to a resource use operation triggered by a target object aiming at a target application program, acquiring biological characteristic information of the target object, and sending a service resource query request carrying the biological characteristic information to a server;
responding to resource use operation triggered by a target object aiming at sub-applications in a target application program, acquiring biological characteristic information of the target object, and sending a business resource query request carrying the biological characteristic information to a server.
9. The method according to claim 8, wherein when the biometric information is face feature information, the acquiring the biometric information of the target object comprises:
adopting image acquisition equipment to acquire a face image stream containing the target object, wherein the face image stream comprises face characteristic information of the target object;
the sending of the business resource query request carrying the biological characteristic information to the server side comprises any one of the following operations:
screening out a face image key frame in the face image stream according to each preset image quality index, generating a service resource query request based on face characteristic information extracted from the face image key frame, and sending the service resource query request to a server;
screening out a face image key frame in the face image stream according to each preset image quality index, generating a service resource query request based on the face key frame, and sending the service resource query request to a server;
and generating a service resource query request containing the face image stream, and sending the service resource query request to a server.
10. The method of claim 9, wherein said filtering out key frames of face images in said face image stream according to preset respective image quality indicators comprises:
respectively determining the picture quality results of each face image frame included in the face image stream according to each preset image quality index and the weight value respectively set for each image quality index;
and screening out the face image frames with the image quality results meeting preset screening conditions as face image key frames in the face image stream.
11. The method according to any one of claims 6-10, wherein said receiving resource attribute information of a target service resource fed back by said server based on said biometric information and said service identification information comprises:
receiving resource attribute information of a target service resource fed back by the server based on the biological characteristic information and the service identification information, and displaying the resource attribute information in an operable page;
and responding to a confirmation operation triggered by the target object based on the resource attribute information, and sending a confirmation instruction aiming at the resource attribute information to the server.
12. An apparatus for sharing service resources, comprising:
a receiving unit, configured to receive a service resource query request sent by a client, and acquire biometric information of a target object carried in the service resource query request and service identification information of a target service corresponding to a target application program, where the service resource query request is generated by the client in response to a resource usage operation triggered by the target object for the target application program;
a determining unit, configured to determine, based on the biometric information and the service identification information, that a target service resource exists, which is shared by the target object and another object, and corresponds to the target service, and obtain resource attribute information of the target service resource;
and the sending unit is used for sending the resource attribute information to the client so as to enable the client to continue to execute the subsequent operation triggered by the target object aiming at the target application program by using the target service resource based on the resource attribute information.
13. An apparatus for sharing service resources, comprising:
a response unit, configured to send a service resource query request to a server in response to a resource usage operation triggered by a target object for a target application, where the service resource query request carries biometric information of the target object and service identification information of a target service corresponding to the target application;
a receiving unit, configured to receive resource attribute information of a target service resource, which is fed back by the server based on the biometric information and the service identification information, where the target service resource is a resource shared in the target service between the target object and another object;
and the execution unit is used for continuously executing the subsequent operation triggered by the target object aiming at the target service by using the target service resource based on the resource attribute information.
14. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the steps of the method of any of claims 1-5 or 6-11 are performed when the program is executed by the processor.
15. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program when executed by a processor implements the steps of the method of any of claims 1-5 or 6-11.
16. A computer program product comprising a computer program, wherein the computer program when executed by a processor implements the steps of the method of any one of claims 1 to 5 or 6 to 11.
CN202111055637.7A 2021-09-09 2021-09-09 Business resource sharing method and device, electronic equipment and storage medium Pending CN115828205A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111055637.7A CN115828205A (en) 2021-09-09 2021-09-09 Business resource sharing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111055637.7A CN115828205A (en) 2021-09-09 2021-09-09 Business resource sharing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115828205A true CN115828205A (en) 2023-03-21

Family

ID=85514905

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111055637.7A Pending CN115828205A (en) 2021-09-09 2021-09-09 Business resource sharing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115828205A (en)

Similar Documents

Publication Publication Date Title
US10664580B2 (en) Sign-in system, method, apparatus and server based on facial recognition
EP3005639B1 (en) Method and system for verifying the identity of a user of an online service
CN104038476B (en) It is a kind of for log in management method, equipment and system
WO2017193826A1 (en) Cloud desktop login authentication method, cloud desktop control system, and client
US20210026882A1 (en) Face retrieval method and apparatus, server, and storage medium
US12019721B2 (en) Identification system enrollment and validation and/or authentication
KR20140138991A (en) Authentication method, device and system based on biological characteristics
CN111402480A (en) Visitor information management method, device, system, equipment and storage medium
US11521208B2 (en) System and method for authenticating transactions from a mobile device
JP2021520015A (en) Image processing methods, devices, terminal equipment, servers and systems
WO2024060951A1 (en) Servicing method and apparatus for services
CN107786349B (en) Security management method and device for user account
CN107390864B (en) Network investigation method based on eyeball trajectory tracking, electronic equipment and storage medium
WO2022089220A1 (en) Image data processing method and apparatus, device, storage medium, and product
CN115828205A (en) Business resource sharing method and device, electronic equipment and storage medium
CN115906028A (en) User identity verification method and device and self-service terminal
CN110874804B (en) Resource acquisition processing method, device and system
CN115277661B (en) Illegal operation judging method and device based on Web page and storage medium
CN114548831B (en) Evaluation report generation method and device, electronic equipment and storage medium
CN113515735B (en) Data processing method, device, equipment and medium
CN116258496A (en) Payment processing method, device, equipment, medium and program product
CN117456619A (en) Palm image recognition method, palm image recognition device, palm image recognition apparatus, palm image recognition device, palm image recognition program, and palm image recognition program
CN115205918A (en) Face image data updating method, device, equipment and storage medium
CN116486494A (en) Living body detection method, training method and device of living body detection model
CN114119035A (en) Bank business processing method and device

Legal Events

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