CN112699294A - Software head portrait management method, system, equipment and computer storage medium - Google Patents

Software head portrait management method, system, equipment and computer storage medium Download PDF

Info

Publication number
CN112699294A
CN112699294A CN202011643283.3A CN202011643283A CN112699294A CN 112699294 A CN112699294 A CN 112699294A CN 202011643283 A CN202011643283 A CN 202011643283A CN 112699294 A CN112699294 A CN 112699294A
Authority
CN
China
Prior art keywords
head portrait
avatar
software
head
server
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
CN202011643283.3A
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.)
WeBank Co Ltd
Original Assignee
WeBank 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 WeBank Co Ltd filed Critical WeBank Co Ltd
Priority to CN202011643283.3A priority Critical patent/CN112699294A/en
Publication of CN112699294A publication Critical patent/CN112699294A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the technical field of financial technology (Fintech) and discloses a software head portrait management method, which comprises the following steps: acquiring the associated head portraits of all users in the associated software associated with the head portraits server based on a preset timing time interval; traversing each associated head portrait, determining a traversal user corresponding to the traversed associated head portrait, and determining whether the head portrait of the traversal user in the head portrait service end is matched with the traversed associated head portrait; and if not, adjusting the traversed associated head portrait in the associated software to be the same as the head portrait of the traversed user in the head portrait service end. The invention also discloses a software avatar management system, equipment and a computer storage medium. The invention intelligently improves the consistency of the head portrait types in the software.

Description

Software head portrait management method, system, equipment and computer storage medium
Technical Field
The invention relates to the technical field of financial technology (Fintech), in particular to a software avatar management method, a system, equipment and a computer storage medium.
Background
With the development of computer technology, more and more technologies (big data, distributed, Blockchain, artificial intelligence, etc.) are applied to the financial field, and the traditional financial industry is gradually changing to financial technology (Fintech), but because of the requirements of security and real-time performance of the financial industry, higher requirements are also put forward on software avatar management technology. At present, the avatar allocation mode of most enterprise office chat software is generally that when an account is created, an avatar is allocated by default, for example, the avatar of an enterprise WeChat defaults to a WeChat avatar bound by a user, or the avatar is modified by the user. However, both of the two methods have certain defects, the default head portrait distribution method has the defects that the types of the head portraits of the users are more and most of the head portraits are non-personal craft head portraits, the types of the head portraits are difficult to unify, the method for the users to modify the head portraits by themselves is not controllable, each user needs to manually operate to modify the head portraits, and the types of the head portraits are difficult to unify. Therefore, how to intelligently achieve the consistency of all the avatar types in the software becomes a problem which needs to be solved at present.
Disclosure of Invention
The invention mainly aims to provide a software avatar management method, a system, equipment and a computer storage medium, aiming at solving the technical problem of intelligently realizing the consistency of all avatar types in software.
In order to achieve the above object, the present invention provides a software avatar management method, where the software avatar management method is applied to an avatar server, and the software avatar management method includes the following steps:
acquiring the associated head portraits of all users in the associated software associated with the head portraits server based on a preset timing time interval;
traversing each associated head portrait, determining a traversal user corresponding to the traversed associated head portrait, and determining whether the head portrait of the traversal user in the head portrait service end is matched with the traversed associated head portrait;
and if not, adjusting the traversed associated head portrait in the associated software to be the same as the head portrait of the traversed user in the head portrait service end.
Optionally, the step of determining whether the avatar of the traversal user in the avatar server matches the traversed associated avatar includes:
performing gray processing on the traversed associated head portrait to obtain a first gray image, and calculating a first sparse coefficient of the first gray image;
performing gray processing on the head portrait of the traversal user in the head portrait service end to obtain a second gray image, and calculating a second sparse coefficient of the second gray image;
calculating similarity values of the first sparse coefficient and the second sparse coefficient, detecting whether the similarity values are smaller than a preset threshold value, and determining whether the head portrait of the traversal user in the head portrait service end is matched with the traversed associated head portrait according to a detection result of whether the similarity values are smaller than the preset threshold value.
Optionally, the step of calculating a first sparse coefficient of the first grayscale image includes:
acquiring all preset sample plate images, and performing overlapping block-taking processing on all the sample plate images to acquire a preset number of image blocks;
and performing sparse coding on each image block according to the column vector of each image block, constructing a dictionary according to each sparse coding, and determining a first sparse coefficient of the first gray image in the dictionary.
Optionally, the step of calculating the similarity value of the first sparse coefficient and the second sparse coefficient includes:
calculating a brightness value, a contrast value and a structure value of the first and second grayscale images based on the first and second sparse coefficients;
determining similarity values of the first sparse coefficient and the second sparse coefficient according to the brightness value, the contrast value and the structure value.
Optionally, the software avatar management method further includes:
acquiring head portraits of all users in a head portraits server, and detecting whether updated head portraits exist in the head portraits;
and if the updated head portrait exists, determining an updated user corresponding to the updated head portrait, and updating the head portrait of the updated user in the associated software associated with the head portrait server into the updated head portrait.
Optionally, the step of detecting whether there is an updated avatar in each of the avatars includes:
determining whether to send the request data in the avatar server to a cloud server corresponding to the avatar server;
if yes, acquiring an avatar file fed back by the cloud server based on the request data, determining a first avatar of a user corresponding to the avatar file in the avatar server, and detecting whether the avatar file is matched with the first avatar;
and determining whether updated head portraits exist in the head portraits or not based on the matching result of detecting whether the head portrait file is matched with the first head portraits or not.
In addition, in order to achieve the above object, the present invention further provides a software avatar management method, where the software avatar management method is applied to a cloud server, and the software avatar management method includes the following steps:
if request data for acquiring the head portrait file sent by the head portrait server is received, whether a signature in the request data is valid is detected;
and if the signature is valid, determining the head portrait file in the private barrel according to the unique identifier in the request data, and feeding back the head portrait file to the head portrait server.
Optionally, before the step of receiving the request data for acquiring the avatar file sent by the avatar server, the method includes:
storing the received head portrait file to a preset private bucket, determining a unique identifier of the private bucket with the head portrait file, generating request data based on the unique identifier, and feeding the request data back to a head portrait server.
Optionally, the step of storing the received avatar file to a preset private bucket includes:
determining a request instruction corresponding to the received head portrait file;
mapping all request parameters in the request instruction to obtain a first mapping table, and splicing all key value pairs in the first mapping table to obtain a first splicing key value pair; and/or
Mapping the request head corresponding to each request parameter to obtain a second mapping table, and splicing all key value pairs in the second mapping table to obtain a second spliced key value pair;
splicing a preset effective time period, a request path corresponding to the request instruction, the first splicing key value pair and/or the second splicing key value pair to obtain a signature character string, determining a signature corresponding to the signature character string, and storing the received head portrait file to a preset private barrel according to the signature.
In addition, in order to achieve the above object, the present invention further provides a software avatar management system, where the software avatar management system includes an avatar server, a cloud server, and associated software;
the cloud server is used for detecting whether a signature in request data is valid or not if the request data for acquiring the head portrait file sent by the head portrait server is received; if the signature is valid, determining the head portrait file in the private barrel according to the unique identifier in the request data, and feeding back the head portrait file to the head portrait server;
the head portrait server is used for determining an updated head portrait according to the received head portrait file, determining an updated user corresponding to the updated head portrait, and updating the head portrait of the updated user in the associated software associated with the head portrait server into the updated head portrait;
the head portrait server is used for acquiring the associated head portraits of all users in the associated software associated with the head portrait server based on a preset timing time interval; traversing each associated head portrait, determining a traversal user corresponding to the traversed associated head portrait, and determining whether the head portrait of the traversal user in the head portrait service end is matched with the traversed associated head portrait; and if so, adjusting the traversed associated head portrait in the associated software to be the same as the head portrait of the traversed user in the head portrait service end.
Optionally, the cloud server is further configured to store the received avatar file to a preset private bucket, determine a unique identifier of the private bucket with the avatar file, generate request data based on the unique identifier, and feed the request data back to the avatar server;
the head portrait server is further used for acquiring head portraits of all users in the head portrait server and determining whether to send request data in the head portrait server to a cloud server corresponding to the head portrait server according to the head portraits; and if so, sending the request data to the cloud server.
In addition, to achieve the above object, the present invention also provides a software avatar management apparatus, including: the software avatar management system comprises a memory, a processor and a software avatar management program stored on the memory and capable of running on the processor, wherein the software avatar management program realizes the steps of the software avatar management method when being executed by the processor.
In addition, to achieve the above object, the present invention further provides a computer storage medium having a software avatar management program stored thereon, the software avatar management program implementing the steps of the software avatar management method as described above when executed by a processor.
Acquiring the associated head portraits of all users in the associated software associated with the head portraits server side based on a preset timing interval; traversing each associated head portrait, determining a traversal user corresponding to the traversed associated head portrait, and determining whether the head portrait of the traversal user in the head portrait service end is matched with the traversed associated head portrait; and if not, adjusting the traversed associated head portrait in the associated software to be the same as the head portrait of the traversed user in the head portrait service end. All the associated head portraits in the associated software are obtained according to the timing time interval, each associated head portrait is traversed, and when the traversed associated head portraits correspond to the head portraits of the traversal user in the head portrait service end and the traversed associated head portraits are not matched, the traversed associated head portraits in the associated software are adjusted to be the same as the head portraits of the traversal user in the head portrait service end, so that the head portraits which are inconsistent in the associated software and the head portrait service end are effectively screened out, the phenomenon that in the prior art, the head portraits are various and cannot be guaranteed in a self-adjusting or default distribution mode of the user is avoided, and the consistency of the head portraits in the software is intelligently improved.
Drawings
FIG. 1 is a schematic diagram of a software avatar management device of a hardware operating environment according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of a method for managing a software avatar according to the present invention;
FIG. 3 is a flowchart illustrating a software avatar management method according to a third embodiment of the present invention;
FIG. 4 is a schematic flow chart of an avatar management module in the software avatar management method of the present invention;
FIG. 5 is a schematic flow chart illustrating the storage of a cloud server in the software avatar management method according to the present invention;
FIG. 6 is a schematic flow chart of the software avatar management method of the present invention for updating at regular time;
FIG. 7 is a schematic flow chart of the method for managing a software avatar according to the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, fig. 1 is a schematic structural diagram of a software avatar management device in a hardware operating environment according to an embodiment of the present invention.
The software avatar management device in the embodiment of the invention can be a PC or a server device, and a Java virtual machine runs on the software avatar management device.
As shown in fig. 1, the software avatar management apparatus may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, a communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display), an input unit such as a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface, a wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (e.g., a magnetic disk memory). The memory 1005 may alternatively be a storage device separate from the processor 1001.
Those skilled in the art will appreciate that the software avatar managing device configuration shown in fig. 1 does not constitute a limitation of the device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
As shown in fig. 1, a memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a software avatar management program.
In the software avatar management device shown in fig. 1, the network interface 1004 is mainly used for connecting to a background server and performing data communication with the background server; the user interface 1003 is mainly used for connecting a client (user side) and performing data communication with the client; and the processor 1001 may be configured to call the software avatar management program stored in the memory 1005 and perform the operations in the software avatar management method described below.
Based on the hardware structure, the embodiment of the software avatar management method is provided.
Referring to fig. 2, fig. 2 is a flowchart illustrating a first embodiment of a software avatar management method according to the present invention, where the software avatar management method is applied to an avatar service, and the software avatar management method includes:
step S10, acquiring the associated head portraits of all users in the associated software associated with the head portraits server based on the preset timing time interval;
in this embodiment, the software avatar management method is applied to the avatar server. The head portrait management and the timing task processing can be carried out in the head portrait service terminal. The head portrait management comprises two functions of head portrait uploading and head portrait storage, and the head portrait uploading function provides a web (webpage) page for uploading the head portraits of the staff. And the head portrait storage function is used for storing the uploaded head portrait information of the user. The timing task process is used for managing various head portraits, such as head portraits in associated software (such as synchronous staff enterprise WeChat head portraits) associated with a timing synchronization and head server; regularly reminding a manager to upload a new job user head portrait of which the head portrait is not uploaded to the head portrait service at present, namely reminding the manager in time when the head portrait of a new user is found to be absent in the head portrait service; and comparing the head portrait of the non-work card regularly, and informing an administrator of updating or uploading the head portrait regularly. For example, as shown in fig. 4, the avatar management module (i.e., the avatar service) includes an avatar uploading module and an avatar storage module, and sets a timing task, such as a timing synchronization avatar module, to the avatar management module to complete synchronization of the enterprise WeChat avatar. Or the non-worker head portrait timing notification module and the head portrait administrator are notified in time.
In addition, the software avatar management method in this embodiment can uniformly manage the user avatar as a standard avatar, such as a work card avatar, and can uniformly store and manage the user avatar, such as the avatar of a user of the whole company. Moreover, the system can provide an avatar interface outwards, provide employee job cards of the whole company for office chat software, and provide other office systems such as an entrance guard face recognition system, an approval system and the like, and has the advantages of convenience in access and high usability. In this embodiment, the personnel information is periodically pulled from the storage system storing the personnel data of the whole company, and the personnel information is compared with the head portrait in the head portrait service, so as to screen out the user information (such as a new user) in the storage system, but the head portrait service does not have the head portrait of the user, and timely remind the administrator to upload the head portrait file (such as a work card head portrait) of the user in the head portrait service.
Therefore, in this embodiment, the avatar server periodically detects the avatars of all users in the associated software, such as the WeChat avatars of the personnel of the whole company, according to the preset timing time interval. Therefore, the user information of the personnel of the whole company is determined, enterprise WeChat head portraits of the personnel, namely head portraits of all users in the association software, are pulled from the association software, such as enterprise WeChat, according to the user information, the head portraits of the users in the association software are used as the association head portraits, and the association head portraits are matched with the head portraits of the users which are set in the head portraits service in advance, so that whether the head portraits in the association software need to be adjusted or not is determined.
Step S20, traversing each associated head portrait, determining a traversal user corresponding to the traversed associated head portrait, and determining whether the head portrait of the traversal user in the head portrait service terminal is matched with the traversed associated head portrait;
in this embodiment, the head portrait in the head portrait service end can be set as a worker card head portrait (blue/white/black solid background, head-to-body ratio of 1:2, clear front photograph) so as to rapidly identify the head portrait in the following. In this embodiment, all the extracted associated avatars are traversed, and whether the traversed associated avatars are matched with the avatars of the user corresponding to the traversed associated avatars in the avatar server is detected, where the method for detecting matching may be to determine the traversed associated avatars I firstyCorresponding traversal user, and determining the head portrait I of the traversal user in the head portrait service endxIf the head portrait service end does not have the head portrait I of the traversal user in the head portrait service endxRecording and reminding the administrator in batch to upload the work card head images of the part of users to the head image service, and not performing work card head image pairAnd (4) the ratio. If the head portrait service end has the head portrait I of the traversal user in the head portrait service endxComparison of IxAnd IyJudgment of IyWhether the head portrait is a work card head portrait or not is determined, and the traversed associated head portrait I is determined according to the judgment resultyWhether or not to agree with the head portrait IxAnd (6) matching. And IxAnd IyThe comparison process of (A) can be to the head portrait I firstxAnd traversed associated avatar IyPerforming sparse representation, calculating a similarity value, judging whether the similarity value is greater than a preset threshold value, and if so, determining IxAnd IySimilarly, the traversed associated avatar matches the standard avatar.
Step S30, if not, adjusting the traversed associated avatar in the associated software to be the same as the avatar of the traversed user in the avatar server.
When the judgment shows that the head portrait of the traversal user in the head portrait service end is not matched with the traversed associated head portrait, the head portrait of the traversal user in the head portrait service end and the traversed associated head portrait can be determined to be different, and the head portrait in the associated software needs to be adjusted. Therefore, prompt information that the head portrait of the traversal user in the associated software is wrong and needs to be adjusted (namely, the traversed associated head portrait) in the associated software is output to the administrator, an adjusting instruction input by the administrator is received, and the target head portrait in the associated software is adjusted to be the same as the head portrait of the traversal user in the head portrait service end according to the adjusting instruction, so that consistency of the head portrait types in the associated software and the head portrait service end is maintained. And if the head portrait of the traversal user in the head portrait service end is matched with the traversed associated head portrait, determining that the head portrait of the traversal user in the head portrait service end is not different from the traversed associated head portrait, and traversing the next associated head portrait, and if all the associated head portraits are matched with the head portraits of the users corresponding to the associated head portraits in the head portrait service end, keeping the head portraits in the associated software unchanged.
In the embodiment, the associated head portraits of all users in the associated software associated with the head portraits server are obtained based on the preset timing time interval; traversing each associated head portrait, determining a traversal user corresponding to the traversed associated head portrait, and determining whether the head portrait of the traversal user in the head portrait service end is matched with the traversed associated head portrait; and if not, adjusting the traversed associated head portrait in the associated software to be the same as the head portrait of the traversed user in the head portrait service end. All the associated head portraits in the associated software are obtained according to the timing time interval, each associated head portrait is traversed, and when the traversed associated head portraits correspond to the head portraits of the traversal user in the head portrait service end and the traversed associated head portraits are not matched, the traversed associated head portraits in the associated software are adjusted to be the same as the head portraits of the traversal user in the head portrait service end, so that the head portraits which are inconsistent in the associated software and the head portrait service end are effectively screened out, the phenomenon that in the prior art, the head portraits are various and cannot be guaranteed in a self-adjusting or default distribution mode of the user is avoided, and the consistency of the head portraits in the software is intelligently improved.
Further, based on the first embodiment of the present invention, a second embodiment of the software avatar management method of the present invention is provided, in this embodiment, in step S20 in the above embodiment, the step of determining whether the avatar of the traversal user in the avatar server matches the traversed associated avatar includes:
step a, performing gray processing on a traversed associated head portrait to obtain a first gray image, and calculating a first sparse coefficient of the first gray image;
in this embodiment, after obtaining each associated avatar, the associated avatar may be traversed, and the traversed associated avatar may be subjected to gray processing, for example, red, green, and blue components of each pixel point in an image corresponding to the traversed associated avatar are all set to be fixed gray values, so as to implement graying of the traversed associated avatar, and obtain a corresponding gray image, that is, a first gray image. After the first gray image is obtained, a dictionary trained in the avatar server may be obtained first, and a sparse coefficient of the first gray image in the dictionary, that is, a first sparse coefficient, may be determined.
B, performing gray processing on the head portrait of the traversal user in the head portrait service end to obtain a second gray image, and calculating a second sparse coefficient of the second gray image;
and then determining user information corresponding to the traversed associated head portrait, namely determining a traversed user, acquiring the head portrait of the traversed user in the head portrait service end, and performing gray processing on the head portrait of the traversed user in the head portrait service end, for example, setting red, green and blue components of each pixel point in an image corresponding to the head portrait of the traversed user in the head portrait service end to be fixed gray values identical to those of the first gray image, so that graying of the head portrait of the traversed user in the head portrait service end is realized, and a corresponding gray image, namely a second gray image is obtained. After the second gray image is obtained, a dictionary trained in the avatar server may be obtained first, and a sparse coefficient, that is, a second sparse coefficient, of the second gray image in the dictionary may be determined.
And c, calculating the similarity value of the first sparse coefficient and the second sparse coefficient, detecting whether the similarity value is smaller than a preset threshold value, and determining whether the head portrait of the traversal user in the head portrait service end is matched with the traversed associated head portrait according to the detection result of whether the similarity value is smaller than the preset threshold value.
After the first sparse coefficient and the second sparse coefficient are obtained, similarity analysis needs to be performed on the first sparse coefficient and the second sparse coefficient, namely the similarity value of the first sparse coefficient and the second sparse coefficient is calculated, so that the second sparse coefficient X is calculated firstxMean value u ofxStandard deviation σxSum variance
Figure BDA0002872465770000091
First sparse coefficient XyMean value u ofyStandard deviation σyStandard deviation σySum variance
Figure BDA0002872465770000092
Then, the first sparse coefficient X is calculatedyAnd a second sparse coefficient XxOf (2) covariance σxy. According to different set constantsCalculating the brightness value, the contrast value and the structure value, namely:
Figure BDA0002872465770000093
Figure BDA0002872465770000094
Figure BDA0002872465770000101
wherein, C1、C2、C3L is the brightness value of the two avatars, C is the contrast value of the two avatars, and S is the structure value of the two avatars.
After the brightness value, the contrast value and the structure value are obtained through calculation, the similarity value of the first sparse coefficient and the second sparse coefficient can be determined according to the brightness value, the contrast value and the structure value, then whether the similarity value is smaller than a preset threshold value (a value smaller than 1 preset by a user) is detected, if the similarity value is smaller than the preset threshold value, it is determined that the head portrait of the traversal user in the head portrait service end is not matched with the traversed associated head portrait, and the traversed associated head portrait in the associated software needs to be adjusted. And if the similarity value is larger than or equal to the preset threshold value, determining that the head portrait of the traversal user in the head portrait service end is matched with the traversed associated head portrait.
In this embodiment, both the traversed associated avatar and the traversed user are subjected to gray processing in the avatar server to obtain a first gray image and a second gray image, a similarity value between a first sparse coefficient of the first gray image and a second sparse coefficient of the second gray image is calculated, and whether the avatar of the traversed user in the avatar server matches the traversed associated avatar is determined according to a detection result of whether the similarity value is smaller than a preset threshold, that is, whether the avatar of the traversed user in the avatar server matches the traversed associated avatar is determined by calculating the similarity value between the two avatars, so that the avatar that is inconsistent in the associated software and the avatar server can be effectively screened out.
Specifically, the step of calculating a first sparse coefficient of the first grayscale image includes:
step d, acquiring all preset sample plate images, and performing overlapping block-taking processing on each sample plate image to acquire a preset number of image blocks;
in this embodiment, when calculating the first sparse coefficient, a trained dictionary needs to be obtained first, that is, a plurality of template images set in advance, such as images corresponding to each tool and card head portrait, are obtained in the head portrait service end, and then each template image is overlapped and block-fetched to obtain the number M of image blocks, that is, the preset number, and the image blocks are all the same in size and are all n × n.
And e, performing sparse coding on each image block according to the column vector of each image block, constructing a dictionary according to each sparse coding, and determining a first sparse coefficient of the first gray image in the dictionary.
After M n × n image blocks are obtained, sparse coding may be performed according to the image blocks to obtain a dictionary, that is:
Figure BDA0002872465770000102
where Y is the image original signal, i.e. each template image. D is a dictionary. X represents a sparse coefficient matrix for an image block. Epsilon is the maximum error value allowed in the image block sparse coding. In this embodiment, the M image blocks are taken as the column vector yjSatisfy the following requirements
Figure BDA0002872465770000111
Wherein j is n, and M > j.
And in formula (1)
Figure BDA0002872465770000112
Can be calculated by the following formula.
Figure BDA0002872465770000113
Wherein d isjFor the jth column of the dictionary,
Figure BDA0002872465770000114
is d in the sparse coefficient matrix XjCorresponding j row, EKIs the current error matrix.
In this embodiment, the process of constructing the dictionary may be to determine a preset initial dictionary according to the number of the image blocks (that is, the number of columns in the initial dictionary is M columns), where each column in the initial dictionary may be
Figure BDA0002872465770000115
And then, under the condition that the initial dictionary is fixed, updating the sparse matrix X, wherein the updating operation can be decomposed into k times of independent updating of each column of the sparse matrix X. And decomposing DX into a sum of K rank 1 matrices when updating the initial dictionary, and each rank 1 matrix is the kth column in the initial dictionary multiplied by the kth row in X (K1, 2. And in updating the initial dictionary in your k column and X corresponding to it in the k row
Figure BDA0002872465770000116
And fixing other rows in the initial dictionary and other columns in the sparse matrix X until all columns in the initial dictionary and all rows in the sparse matrix X are updated. And using the updated initial dictionary as a constructed dictionary. And after the dictionary is built, a first sparse coefficient of the first gray image in the dictionary and a second sparse coefficient of the second gray image in the dictionary can be directly determined.
In this embodiment, the specific process of calculating the second sparse coefficient of the second gray scale image is the same as the process of calculating the second sparse coefficient of the first gray scale image, and is not described herein again.
In this embodiment, a preset number of image blocks are obtained by performing overlapping block processing on all sample images, each image block is subjected to sparse coding to construct a dictionary, and a first sparse coefficient of the first grayscale image in the dictionary is determined, that is, the dictionary is constructed first, and then the first sparse coefficient of the first grayscale image is determined from the dictionary, so that a data basis is provided for subsequent similarity value calculation.
Specifically, if the similarity value between the first sparse coefficient and the second sparse coefficient is smaller than a preset threshold, the step of taking the traversed associated avatar as the target avatar includes:
step f, calculating brightness values, contrast values and structure values of the first gray image and the second gray image based on the first sparse coefficient and the second sparse coefficient;
after the first sparse coefficient and the second sparse coefficient are obtained, the mean value, the standard deviation, the variance and the covariance value of the first sparse coefficient are calculated, and the mean value, the standard deviation, the variance and the covariance value of the second sparse coefficient are calculated. Then, calculating the brightness value, the contrast value and the structure value of the first gray level image and the second gray level image according to a formula, namely:
Figure BDA0002872465770000121
Figure BDA0002872465770000122
Figure BDA0002872465770000123
wherein u isx,uyAre each XxAnd XyMean value of (a)x,σyAre each XxAnd XyThe standard deviation of (a) is determined,
Figure BDA0002872465770000124
and
Figure BDA0002872465770000125
are each XxAnd XyVariance of (a)xyRepresents XxAnd XyCovariance of (C)1、C2、C3As a constant, L is the luminance (i.e., luminance value) of the two avatars, C is the contrast (i.e., contrast value) of the two avatars, and S is the structure (i.e., structure value) of the two avatars.
And g, determining the similarity value of the first sparse coefficient and the second sparse coefficient according to the brightness value, the contrast value and the structure value.
And then, calculating the product of the brightness value, the contrast value and the structure value, and taking the product as the similarity value between the first sparse coefficient and the second sparse coefficient. Namely:
SSIM(x,y)=[L(x,y)αC(x,y)βS(x,y)γ]
then setting alpha, beta and gamma to be 1, and setting
Figure BDA0002872465770000126
The similarity value SSIM (x, y) may be:
Figure BDA0002872465770000127
in this embodiment, the brightness value, the contrast value and the structure value are calculated according to the first sparse coefficient and the second sparse coefficient, and the similarity value of the first sparse coefficient and the second sparse coefficient is determined according to the brightness value, the contrast value and the structure value, that is, the similarity value of the first sparse coefficient and the second sparse coefficient is determined through multiple angles of the brightness value, the contrast value and the structure value, so that the phenomenon that the first sparse coefficient and the second sparse coefficient are simply and directly compared in the prior art is avoided, the obtained similarity value is low in accuracy, the accuracy of the calculated similarity value is improved, and whether the head portrait of the traversal user in the head portrait service end is matched with the traversed associated head portrait according to the similarity value is determined more accurately.
Further, in this embodiment, the software avatar management method further includes:
step t, acquiring the head portraits of all users in a head portraits server, and detecting whether updated head portraits exist in all the head portraits;
in this embodiment, the avatars of all users in the avatar server are obtained in real time or at regular time according to a fixed time period, the avatars of all users are detected, whether the avatar with the changed avatar exists in the fixed time period before the current time is determined, and if the avatar with the changed avatar exists, the avatar with the changed avatar is used as the updated avatar. For example, if a user does not upload a head portrait within a fixed time period before the current time, that is, a new job user who does not upload a head portrait exists, a timing task is created to output prompt information to inform an administrator, so as to obtain a work card head portrait of the new job user uploaded by the administrator on a webpage, name the work card head portrait (for example, named by the english name of the new user), upload the work card head portrait to a cloud server connected to a head portrait service, and receive a unique identifier fileid (character string type) fed back by the cloud server. And then, parameters such as request data with a unique identifier, updating time, uploading time and the like fed back by the cloud server are stored in a database of the avatar server, and at the moment, a new entry user in the avatar server also has a corresponding avatar and the avatar is used as an updated avatar. And because the storage bucket space of the cloud server has no capacity upper limit, the cloud server can contain mass data and can store the head portraits of the employees for an unlimited long time. And purchase as required is supported, capacity expansion is supported, and resources are not wasted.
For example, as shown in fig. 5, an image may be uploaded on a head portrait uploading page in a web interface, the head portrait may be displayed through a display layer, after an error is determined, a head portrait file is uploaded to a cloud server, permission verification is performed, the head portrait file is stored in a private bucket of the cloud server after passing the verification, a corresponding identifier fileid is generated, request data is generated according to the identifier fileid, and the request data is stored in a database. When a user needs to inquire the head portrait, the head portrait can be requested through a head portrait list page in the web page, the identification fileid in the request data is inquired in the database, the returned head portrait file is obtained in the cloud server according to the identification fileid, and the head portrait is displayed in the display layer.
And u, if the updated head portrait exists, determining an updated user corresponding to the updated head portrait, and updating the head portrait of the updated user in the associated software associated with the head portrait server into the updated head portrait.
In this embodiment, data in associated software (such as a WeChat) associated with the avatar server is detected based on a preset time interval set in advance by the user, that is, the data is detected once every preset time interval, and if it is found that the avatar of the user does not match the avatar of the user in the avatar service in the associated software, the avatar of the user in the associated software is updated. For example, when the user is a new user, after the administrator uploads the new user avatar of the new user to the avatar server and stores the new user avatar in the cloud server, the administrator may update the new user avatar in the associated software associated with the avatar service. For example, as shown in fig. 6, in the morning, 10:00 a day, the staff data of the whole company is acquired from hrm (an office oa system, which stores the whole-row staff data and organizes the architecture data), the database is used for inquiring whether the head portrait data exists in the head portrait service, if not, the manager is notified in batch, which staff does not have head portrait in the head portrait service, and the staff head portrait needs to be uploaded. And the general administrator receives the mail notification and uploads the head portrait of the work card of the employee to the head portrait service. And the enterprise WeChat head portrait of the staff (namely synchronous associated software) can be synchronized regularly, the staff which is detected to be changed as the head portrait is taken as a person, and the enterprise WeChat head portrait of the corresponding staff is updated regularly on the next day to be the work card head portrait in the head portrait service. Hrm is a system that stores corporate personnel data. In the embodiment, whether the avatar in the associated software is updated or not can be determined by detecting whether the avatar data in the avatar service is updated or not. For example, as shown in fig. 7, when the avatar service process is started, the avatar server provides an avatar person list that changes within a specified time period. And acquiring the head portrait staff list from the head portrait service terminal every morning, inquiring the head portrait staff list, acquiring a head portrait from another interface of the head portrait service terminal to the cloud server based on an inquiry result (comprising a user English name, a file name, update time, upload time and the like), and updating the head portrait in associated software such as enterprise WeChat according to the acquired head portrait. And carrying out full quantity comparison, namely regularly comparing whether the head portraits of all the employee data in the head portraits server side are consistent with the head portraits in the associated software, and if not, updating the head portraits in the associated software to make the head portraits consistent with the corresponding head portraits in the head portraits server side. And if the head portrait does not exist in the head portrait service end, the administrator is informed to upload the head portrait.
In this embodiment, by obtaining the head portraits of all users in the head portraits server, and when an updated head portraits exists, determining the updated user corresponding to the updated head portraits first, and updating the head portraits of the updated user in the associated software into the updated head portraits, the phenomenon that in the prior art, the head portraits are of multiple types and cannot be consistent due to self adjustment or default allocation of the users is avoided, and the consistency of the head portraits in the software is intelligently improved.
Specifically, the step of detecting whether an updated avatar exists in each of the avatars includes:
step h, determining whether to send the request data in the avatar server to a cloud server corresponding to the avatar server;
in this embodiment, the head portraits of all users in the head portrait service end are obtained in real time or at regular time according to a fixed time period, the head portraits of all users are detected, whether the head portraits of all users need to be updated or not is detected, whether all users have respective corresponding head portraits in the head portrait service end or not is detected, and if the head portraits of the users need to be updated or the head portraits of a certain user do not exist in the head portrait service end, request data in the head portrait service end is sent to a cloud server corresponding to the head portrait service end, so as to obtain head portrait data fed back by the cloud server. The request data is data fed back to the head portrait server by the cloud server after the head portrait is stored in the cloud server.
Step k, if yes, acquiring an avatar file fed back by the cloud server based on the request data, determining a first avatar of a user corresponding to the avatar file at the avatar server, and detecting whether the avatar file is matched with the first avatar;
and y, determining whether updated head portraits exist in the head portraits or not based on the matching result of detecting whether the head portrait file is matched with the first head portraits or not.
And when the fact that the request data need to be sent to the cloud server is found through judgment, acquiring the head portrait file fed back by the cloud server according to the request data, determining a user corresponding to the head portrait file, detecting whether the head portrait of the user exists in the head portrait server, and if the head portrait does not exist in the head portrait server, directly updating the head portrait in the head portrait file to the head portrait server as an updated head portrait. And if the user has the head portrait in the head portrait service end, the user takes the head portrait as a first head portrait, whether the head portrait in the head portrait file is matched with the first head portrait is detected, and if the head portrait is not matched with the first head portrait, the head portrait in the head portrait file is directly taken as an updated head portrait and is updated to the head portrait service end. And if the matching is carried out, keeping the head portrait in the head portrait service end unchanged.
In this embodiment, after the request data is determined to be sent to the cloud server, the avatar file fed back by the cloud server is obtained, the first avatar of the user in the avatar server corresponding to the avatar file is determined, whether an updated avatar exists in the avatar server is determined according to a matching result of whether the avatar file matches the first avatar, that is, whether the updated avatar exists is determined directly by comparing the avatar in the cloud server with the avatar in the avatar server, so that accuracy of detecting the updated avatar in the avatar server is achieved.
Further, referring to fig. 3, fig. 3 is a flowchart illustrating a third embodiment of the software avatar management method of the present invention, where the software avatar management method is applied to a cloud server, and a software avatar manager implements the following steps:
step S100, if request data for acquiring the head portrait file sent by the head portrait server is received, whether a signature in the request data is valid is detected;
in this embodiment, the software avatar management method is applied to a cloud server. In addition, in the embodiment, the head portrait file is uploaded to a private bucket (namely, a storage bucket) in the cloud server, and only the user verified by the signature parameters has authority to access the head portrait, so that the security of head portrait access is guaranteed, and the phenomenon of head portrait information leakage of the user is avoided.
In this embodiment, when receiving, in the cloud server, request data requesting for obtaining the avatar file sent by the avatar server, the cloud server needs to first detect whether the request data carries a signature, and if the request data does not carry a signature, the cloud server prohibits feedback of the avatar file to the avatar server. If the signature is carried, whether the signature in the request data is valid needs to be detected, namely, the signature is compared with the signature corresponding to the private barrel, and if the signature is not the signature corresponding to the private barrel, the feedback of the head portrait file to the head portrait server side is forbidden. If the signature is the signature corresponding to the private barrel, whether the current time is within the valid time range of the signature corresponding to the private barrel needs to be detected, if not, the signature is determined to be invalid, the feedback of the head portrait file to the head portrait server side is forbidden, and if so, the signature is determined to be valid, and the subsequent operation is continued.
And step S200, if the signature is valid, determining the head portrait file in the private barrel according to the unique identifier in the request data, and feeding back the head portrait file to the head portrait server.
And when the signature in the request data is found to be effective through judgment, determining the position of the private barrel according to the unique identifier carried in the request data, acquiring the head portrait file in the private barrel, and feeding the head portrait file back to the head portrait server.
In this embodiment, if request data for acquiring a head portrait file sent by the head portrait server is received, whether a signature in the request data is valid is detected; and if the signature is valid, determining the head portrait file in the private barrel according to the unique identifier in the request data, and feeding back the head portrait file to the head portrait server. If request data sent by the head portrait server is received and the signature in the request data is valid, the head portrait file in the private barrel is fed back to the head portrait server, so that the phenomenon that in the prior art, the head portrait is directly distributed in a default mode or a user randomly modifies the head portrait to cause reduction of the safety of the head portrait is avoided, the safety of head portrait protection is improved, the consistency of the head portrait types in software can be controlled according to the head portrait file in the cloud server, and the phenomenon that the head portrait types are inconsistent is avoided.
Further, before the step of receiving the request data for acquiring the avatar file sent by the avatar server, the method includes:
step z, storing the received head portrait file to a preset private bucket, determining a unique identifier of the private bucket with the head portrait file, generating request data based on the unique identifier, and feeding the request data back to the head portrait server;
in this embodiment, before receiving an avatar file input by an avatar server or a user in a cloud server, an account id of the cloud server needs to be registered first, and a security credential SecretId and SecretKey are acquired to generate a signature. When receiving a head portrait file input by a head portrait server or a user in a cloud server, authenticating the signature of the head portrait server or the user, if the authentication is passed, creating a private bucket in the cloud server, storing the new head portrait file in the private bucket, regenerating a unique identifier of the position information of the private bucket of the new head portrait file, and compressing the unique identifier and the signature to form request data to be fed back to the head portrait server. The SecretId is used for identifying the identity of the interface caller, and the SecretKey is a key used for encrypting the signature string and verifying the signature string by the cloud server. The private bucket is a private storage bucket in the cloud server and can be accessed only by a user with authority.
Specifically, the step of storing the received head portrait file to a preset private bucket includes:
step q, determining a request instruction corresponding to the received head portrait file;
step x, mapping all request parameters in the request instruction to obtain a first mapping table, and splicing all key value pairs in the first mapping table to obtain a first splicing key value pair; and/or
Step w, mapping the request head corresponding to the request parameter to obtain a second mapping table, and splicing all key value pairs in the second mapping table to obtain a second spliced key value pair;
and r, splicing a preset effective time period, a request path corresponding to the request instruction, the first splicing key value pair and/or the second splicing key value pair to obtain a signature character string, determining a signature corresponding to the signature character string, and storing the received head portrait file to a preset private barrel according to the signature.
In this embodiment, since the private bucket can only be used by a user with authority, the request instruction corresponding to the avatar file may be obtained first, and then a signature is generated according to the SecretId and secretidkey of the security credential, that is, the valid time period KeyTime of the signature is set first, and the start time StartTimestamp and the end time EndTimestamp (unix timestamp) of the valid time period KeyTime are determined. And then, calculating a message digest SignKey by using the encryption algorithm and the security certificate SecretKey as a key and the valid time period KeyTime as a message. In addition, in this embodiment, when calculating the signature, only all key-value pairs of the HTTP request parameters in the request instruction may be spliced, or only all key-value pairs in the HTTP request avatar may be spliced. Or simultaneously performing key value pair splicing process of the HTTP request parameters and the HTTP request head portrait.
Therefore, it is possible to traverse all HTTP request parameters in the request instruction, generate a mapping Map of keys to values and a list KeyList of keys (i.e. a first mapping table), sort the first mapping table in lexicographic order, and concatenate each key-value pair in the Map according to the sorted result, with the format of key1 value1& key2 value2& key3 value3, and use it as HTTP parameters (i.e. a first concatenated key-value pair). Splicing each item in the first mapping table according to the sequencing result in the first mapping table, wherein the format is key 1; key 2; key3, and treats it as urlpamlist.
It is also possible to traverse all HTTP request headers in the request instruction, and generate a Map of key to value and a list KeyList of key (i.e. a second mapping table), where key is encoded using UrlEncode (percentile code) and converted into a lower case mode, and value is encoded using UrlEncode. Sorting the second mapping table according to the lexicographic order, and splicing each key-value pair in the Map according to the sorting result, wherein the format is ke 1 (value 1& key2 (value 2& key 3) value3, and the result is taken as http contacts (namely the second spliced key-value pair). Splicing each item in the first mapping table according to the sequencing result in the first mapping table, wherein the format is key 1; key 2; key3, and treats it as a HeaderList.
And splicing the HTTP method, the HTTP request path, the HttpParameters (first splicing key value pair) and/or the HttpHeaders (second splicing key value pair) to generate the HttpString. And splicing the effective time period KeyTime and the HttpString to obtain a request string StringToSign with the format sha1\ nKeyTime \ nSHA1(HttpString) \\ n. And finally, calculating a new message digest, namely Signature (Signature character string), by using the encryption algorithm and the SignKey as keys and StringToSign as messages, and using the new message digest as a Signature.
After the signature is acquired, the private barrel can be started through the signature, and the head portrait file is stored in the preset private barrel. In the cloud server, the operations of uploading the head portrait file, requesting the file, deleting the file and the like need to be carried with the signature to determine whether the cloud server has the authority, and the signature can ensure the safe access of the user to the cloud server, so that the head portrait is prevented from being accessed by an illegal user, and the phenomenon of information leakage is effectively avoided.
Further, the invention also provides a software avatar management system, which comprises an avatar service, a cloud server and associated software;
the cloud server is used for detecting whether a signature in request data is valid or not if the request data for acquiring the head portrait file sent by the head portrait server is received; if the signature is valid, determining the head portrait file in the private barrel according to the unique identifier in the request data, and feeding back the head portrait file to the head portrait server;
the head portrait server is used for determining an updated head portrait according to the received head portrait file, determining an updated user corresponding to the updated head portrait, and updating the head portrait of the updated user in the associated software associated with the head portrait server into the updated head portrait;
the head portrait server is used for acquiring the associated head portraits of all users in the associated software associated with the head portrait server based on a preset timing time interval; traversing each associated head portrait, determining a traversal user corresponding to the traversed associated head portrait, and determining whether the head portrait of the traversal user in the head portrait service end is matched with the traversed associated head portrait; and if so, adjusting the traversed associated head portrait in the associated software to be the same as the head portrait of the traversed user in the head portrait service end.
Optionally, the cloud server is further configured to store the received avatar file to a preset private bucket, determine a unique identifier of the private bucket with the avatar file, generate request data based on the unique identifier, and feed the request data back to the avatar server;
the head portrait server is further used for acquiring head portraits of all users in the head portrait server and determining whether to send request data in the head portrait server to a cloud server corresponding to the head portrait server according to the head portraits; and if so, sending the request data to the cloud server.
The invention also provides a computer storage medium.
The computer storage medium of the present invention stores a software avatar management program thereon, which when executed by a processor implements the steps of the software avatar management method as described above.
The method implemented when the software avatar management program running on the processor is executed may refer to various embodiments of the software avatar management method of the present invention, and will not be described herein again.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) as described above and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method according to the embodiments of the present invention.
The above description is only a preferred embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.

Claims (13)

1. A software avatar management method is characterized in that the software avatar management method is applied to an avatar server and comprises the following steps:
acquiring the associated head portraits of all users in the associated software associated with the head portraits server based on a preset timing time interval;
traversing each associated head portrait, determining a traversal user corresponding to the traversed associated head portrait, and determining whether the head portrait of the traversal user in the head portrait service end is matched with the traversed associated head portrait;
and if not, adjusting the traversed associated head portrait in the associated software to be the same as the head portrait of the traversed user in the head portrait service end.
2. The software avatar management method of claim 1, wherein said step of determining whether said traversal user's avatar in said avatar server matches said traversal's associated avatar comprises:
performing gray processing on the traversed associated head portrait to obtain a first gray image, and calculating a first sparse coefficient of the first gray image;
performing gray processing on the head portrait of the traversal user in the head portrait service end to obtain a second gray image, and calculating a second sparse coefficient of the second gray image;
calculating similarity values of the first sparse coefficient and the second sparse coefficient, detecting whether the similarity values are smaller than a preset threshold value, and determining whether the head portrait of the traversal user in the head portrait service end is matched with the traversed associated head portrait according to a detection result of whether the similarity values are smaller than the preset threshold value.
3. The software avatar management method of claim 2, wherein said step of calculating a first sparse coefficient for said first gray scale image comprises:
acquiring all preset sample plate images, and performing overlapping block-taking processing on all the sample plate images to acquire a preset number of image blocks;
and performing sparse coding on each image block according to the column vector of each image block, constructing a dictionary according to each sparse coding, and determining a first sparse coefficient of the first gray image in the dictionary.
4. The method of managing a software avatar of claim 2, wherein said step of calculating a similarity value between said first sparse coefficient and said second sparse coefficient comprises:
calculating a brightness value, a contrast value and a structure value of the first and second grayscale images based on the first and second sparse coefficients;
determining similarity values of the first sparse coefficient and the second sparse coefficient according to the brightness value, the contrast value and the structure value.
5. The software avatar management method of any of claims 1-4, further comprising:
acquiring head portraits of all users in a head portraits server, and detecting whether updated head portraits exist in the head portraits;
and if the updated head portrait exists, determining an updated user corresponding to the updated head portrait, and updating the head portrait of the updated user in the associated software associated with the head portrait server into the updated head portrait.
6. The method for managing a software avatar of claim 5, wherein said step of detecting whether an updated avatar exists in each of said avatars comprises:
determining whether to send the request data in the avatar server to a cloud server corresponding to the avatar server;
if yes, acquiring an avatar file fed back by the cloud server based on the request data, determining a first avatar of a user corresponding to the avatar file in the avatar server, and detecting whether the avatar file is matched with the first avatar;
and determining whether updated head portraits exist in the head portraits or not based on the matching result of detecting whether the head portrait file is matched with the first head portraits or not.
7. A software avatar management method is applied to a cloud server, and is characterized by comprising the following steps:
if request data for acquiring the head portrait file sent by a head portrait server is received, whether a signature in the request data is valid is detected;
and if the signature is valid, determining the head portrait file in the private barrel according to the unique identifier in the request data, and feeding back the head portrait file to the head portrait server.
8. The method for managing a software avatar of claim 7, wherein said step of receiving the request data for obtaining the avatar file sent by said avatar server comprises:
storing the received head portrait file to a preset private bucket, determining a unique identifier of the private bucket with the head portrait file, generating request data based on the unique identifier, and feeding the request data back to a head portrait server.
9. The software avatar management method of claim 8, wherein said step of storing the received avatar files in a preset private bucket comprises:
determining a request instruction corresponding to the received head portrait file;
mapping all request parameters in the request instruction to obtain a first mapping table, and splicing all key value pairs in the first mapping table to obtain a first splicing key value pair; and/or
Mapping the request head corresponding to the request parameter to obtain a second mapping table, and splicing all key value pairs in the second mapping table to obtain a second spliced key value pair;
splicing a preset effective time period, a request path corresponding to the request instruction, the first splicing key value pair and/or the second splicing key value pair to obtain a signature character string, determining a signature corresponding to the signature character string, and storing the received head portrait file to a preset private barrel according to the signature.
10. The software avatar management system is characterized by comprising an avatar server, a cloud server and associated software;
the cloud server is used for detecting whether a signature in request data is valid or not if the request data for acquiring the head portrait file sent by the head portrait server is received; if the signature is valid, determining the head portrait file in the private barrel according to the unique identifier in the request data, and feeding back the head portrait file to the head portrait server;
the head portrait server is used for determining an updated head portrait according to the received head portrait file, determining an updated user corresponding to the updated head portrait, and updating the head portrait of the updated user in the associated software associated with the head portrait server into the updated head portrait;
the head portrait server is used for acquiring the associated head portraits of all users in the associated software associated with the head portrait server based on a preset timing time interval; traversing each associated head portrait, determining a traversal user corresponding to the traversed associated head portrait, and determining whether the head portrait of the traversal user in the head portrait service end is matched with the traversed associated head portrait; and if so, adjusting the traversed associated head portrait in the associated software to be the same as the head portrait of the traversed user in the head portrait service end.
11. The software avatar management system of claim 10,
the cloud server is further used for storing the received head portrait file to a preset private bucket, determining a unique identifier of the private bucket with the head portrait file, generating request data based on the unique identifier, and feeding the request data back to a head portrait server;
the head portrait server is further used for acquiring head portraits of all users in the head portrait server and determining whether to send request data in the head portrait server to a cloud server corresponding to the head portrait server according to the head portraits; and if so, sending the request data to the cloud server.
12. A software avatar management apparatus, comprising: a memory, a processor and a software avatar management program stored on said memory and executable on said processor, said software avatar management program when executed by said processor implementing the steps of the software avatar management method as claimed in any one of claims 1 to 6, 7-9.
13. A computer storage medium having a software avatar management program stored thereon, the software avatar management program when executed by a processor implementing the steps of the software avatar management method of any of claims 1-6, 7-9.
CN202011643283.3A 2020-12-30 2020-12-30 Software head portrait management method, system, equipment and computer storage medium Pending CN112699294A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011643283.3A CN112699294A (en) 2020-12-30 2020-12-30 Software head portrait management method, system, equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011643283.3A CN112699294A (en) 2020-12-30 2020-12-30 Software head portrait management method, system, equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN112699294A true CN112699294A (en) 2021-04-23

Family

ID=75514179

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011643283.3A Pending CN112699294A (en) 2020-12-30 2020-12-30 Software head portrait management method, system, equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN112699294A (en)

Similar Documents

Publication Publication Date Title
US11386224B2 (en) Method and system for managing personal digital identifiers of a user in a plurality of data elements
US7487348B2 (en) System for authenticating and screening grid jobs on a computing grid
CN112860778B (en) Database management method, device, equipment and medium for desktop application program
CN110750766B (en) Authority verification method, device, computer equipment and storage medium
CN116167031A (en) Face authentication machine and face authentication method
CN112487490A (en) Tamper recognition method, device, and medium
US8020007B1 (en) System and method for obtaining identities
CN112597511A (en) Remote government affair service cooperation method and device
CN111708498A (en) Method and device for monitoring document printing
CN112699294A (en) Software head portrait management method, system, equipment and computer storage medium
CN115756255A (en) Method, device and equipment for processing equipment parameters of parking lot equipment and storage medium
CN115499120A (en) Data storage method and data storage platform based on cloud computing
CN112000727B (en) Desensitization display method for dynamically configured service data
JP2022176383A (en) Face authentication system, face authentication management device, face authentication management method, and face authentication management program
US6681233B1 (en) Data circulation between servers and clients
JP4890372B2 (en) Portable information processing device, electronic device, operation control method, and operation control program
JP7108884B2 (en) Face authentication server device, registration processing method and registration processing program
CN112395476A (en) Engineering data management method
CN108270865B (en) Job scheduling method of high-performance cloud computing platform
US8311340B2 (en) Document processing device, document processing system, computer readable medium, and document processing method
CN111475802A (en) Authority control method and device
JPH08227453A (en) Decentralized image editing system
CN111507813B (en) Bidder identity identification method and bidding method
CN116450745B (en) Multi-device-based note file operation method, system and readable storage medium
JP7378034B2 (en) Face recognition system, face recognition machine, face recognition method and face recognition program

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