CN109324909A - A kind of face alignment service system and method based on cloud service - Google Patents

A kind of face alignment service system and method based on cloud service Download PDF

Info

Publication number
CN109324909A
CN109324909A CN201810866974.6A CN201810866974A CN109324909A CN 109324909 A CN109324909 A CN 109324909A CN 201810866974 A CN201810866974 A CN 201810866974A CN 109324909 A CN109324909 A CN 109324909A
Authority
CN
China
Prior art keywords
face alignment
service module
facial image
message
target
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
CN201810866974.6A
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.)
ROUTON ELECTRONIC CO Ltd
Wuhan Puli Commercial Machine Co Ltd
Original Assignee
ROUTON ELECTRONIC CO Ltd
Wuhan Puli Commercial Machine 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 ROUTON ELECTRONIC CO Ltd, Wuhan Puli Commercial Machine Co Ltd filed Critical ROUTON ELECTRONIC CO Ltd
Priority to CN201810866974.6A priority Critical patent/CN109324909A/en
Publication of CN109324909A publication Critical patent/CN109324909A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V40/00Recognition of biometric, human-related or animal-related patterns in image or video data
    • G06V40/10Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
    • G06V40/16Human faces, e.g. facial parts, sketches or expressions
    • G06V40/168Feature extraction; Face representation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/54Indexing scheme relating to G06F9/54
    • G06F2209/548Queue

Abstract

The present invention provides a kind of face alignment service system and method based on cloud service, the system comprises: WebService cloud service module, Message Queuing Middleware and algorithm service module;The WebService cloud service module is connected by the Message Queuing Middleware with the algorithm service module;The WebService cloud service module is used to provide the front end calling interface for obtaining facial image, is also used to carry out high concurrent control;The Message Queuing Middleware is for storing different face alignment request messages;The algorithm service module is used for face alignment, generates comparison result.Face alignment service system and method provided by the invention based on cloud service, con current control is carried out by deployment WebService cloud service module, message storage is carried out by deployment Message Queuing Middleware, message acknowledgement mechanism is provided, guarantee that user is properly received result, the high concurrent performance for improving the face alignment based on cloud service, shortens the response time.

Description

A kind of face alignment service system and method based on cloud service
Technical field
The present invention relates to field of computer technology more particularly to a kind of face alignment service systems and side based on cloud service Method.
Background technique
In modern society, video monitoring is the main monitoring system for realizing social public security prevention and control.Everywhere throughout city Video information collection point the video information of magnanimity is pooled to monitoring center, provide magnanimity for the public safety prevention and control in city Information.But due to the massive video analytical technology of lack of wisdom, the utilization rate of these information is extremely low.In order to make full use of These information ensure social safety, and people attempt for face recognition technology to be applied in intelligent video analysis, realize suspicion of crime The quick confirmation of personal part.However, facing the human face image information of magnanimity, the search speed of recognition of face is then unable to satisfy completely The application demand of security department, there is an urgent need to a kind of quick magnanimity face image searching comparison methods.
For cloud service, in particular for the cloud service for carrying out time-consuming graphics calculations, high concurrent and response time with Growing client call demand, continuous increase of pressure will become the following difficult point for needing to capture for a long time, now Consider a kind of existing reality face alignment system deployment mode, response time and concurrency can be guaranteed.
Summary of the invention
The object of the present invention is to provide a kind of face alignment service system and method based on cloud service, solve existing skill Cloud service system high concurrent performance in art for face alignment is poor, the technical problem of response time length.
In order to solve the above-mentioned technical problem, on the one hand, the present invention provides a kind of face alignment service system based on cloud service System, comprising:
WebService cloud service module, Message Queuing Middleware and algorithm service module;
The WebService cloud service module is connected by the Message Queuing Middleware with the algorithm service module It connects;
The WebService cloud service module is used to provide the front end calling interface for obtaining facial image, is also used to carry out High concurrent control;
The Message Queuing Middleware is for storing different face alignment request messages;
The algorithm service module is used for face alignment, generates comparison result.
On the other hand, the present invention provides a kind of face comparison method based on cloud service characterized by comprising
Face alignment request message is obtained, includes the facial image got in the face alignment request message;
If judgement knows that the quantity of the face alignment request message got in the unit time is more than preset threshold, according to Priority stores face alignment request message into Message Queuing Middleware;
The target face alignment request message in the Message Queuing Middleware is obtained according to priority orders, according to described Target face alignment request message carries out face alignment, generates comparison result.
In another aspect, the present invention provides a kind of electronic equipment for the face alignment based on cloud service, comprising:
Memory and processor, the processor and the memory complete mutual communication by bus;It is described to deposit Reservoir is stored with the program instruction that can be executed by the processor, and it is above-mentioned that the processor calls described program instruction to be able to carry out Method.
Another aspect, the present invention provide a kind of computer readable storage medium, are stored thereon with computer program, the meter Calculation machine program realizes above-mentioned method when being executed by processor.
Face alignment service system and method provided by the invention based on cloud service passes through deployment WebService cloud clothes Module of being engaged in carries out con current control, carries out message storage by deployment Message Queuing Middleware, provides message acknowledgement mechanism, guarantees to use Family is properly received as a result, improve the high concurrent performance of the face alignment based on cloud service, shortens the response time.
Detailed description of the invention
Fig. 1 is the face alignment service system schematic diagram based on cloud service according to the embodiment of the present invention;
Fig. 2 is the face comparison method schematic diagram based on cloud service according to the embodiment of the present invention;
Fig. 3 is the structural representation of the electronic equipment provided in an embodiment of the present invention for the face alignment based on cloud service Figure.
Specific embodiment
In order to keep the purposes, technical schemes and advantages of the embodiment of the present invention clearer, implement below in conjunction with the present invention Attached drawing in example, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment It is a part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiment of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
Fig. 1 is the face alignment service system schematic diagram based on cloud service according to the embodiment of the present invention, as shown in Figure 1, The embodiment of the present invention provides a kind of face alignment service system based on cloud service, comprising:
WebService cloud service module 101, Message Queuing Middleware 102 and algorithm service module 103;
The WebService cloud service module 101 passes through the Message Queuing Middleware 102 and the algorithm service mould Block 103 is connected;
The WebService cloud service module 101 is used to provide the front end calling interface for obtaining facial image, is also used to Carry out high concurrent control;
The Message Queuing Middleware 102 is for storing different face alignment request messages;
The algorithm service module 103 is used for face alignment, generates comparison result.
Specifically, WebService cloud service module 101 passes through Message Queuing Middleware 102 and algorithm service module 103 It is connected;WebService cloud service module 101 is used to provide the front end calling interface for obtaining facial image, is also used to carry out height Con current control;Message Queuing Middleware 102 is for storing different face alignment request messages;Algorithm service module 103 is used for Face alignment generates comparison result.
Algorithm service module 103: the service of mainly progress face characteristic value calculates and image calculates etc., including people Face algorithm etc..The individually algorithm service module 103 of one high performance tape TITAN X GPU of deployment, convenient for quickly carrying out figure meter It calculates, can suitably expand when demand is more.
WebService cloud service module 101 disposes front end calling interface using the HTTP frame based on Restful, WebService carries out high concurrent control, disposes cluster, improves the concurrency of access;WebService is using among message queue Part 102 and arithmetic server are communicated and are received request, guarantee the reliable transmission of message, when message accumulation is excessive, and are used Message is stored and is saved by queue, is provided message acknowledgement mechanism, is guaranteed that user is properly received as a result, message is according to priority scheduling fraction Grade, needs the first processing even if response, and processing order also takes service-denial machine according to priority arrangement, when concurrency is excessively high System reminds client to retransmit.
Message Queuing Middleware 102, for guaranteeing WebService cloud service module 101 and algorithm service module 103 It communicates (the two service modules are heterogeneous systems), it can also be ensured that message is not lost, and is had and is retransmitted and message security mechanism.
The system is carried out into one below by the detailed operation of the face alignment service system based on cloud service Step explanation:
Firstly, face alignment request message is obtained, the facial image in face alignment request message comprising obtaining; WebService cloud service module 101 disposes front end calling interface using the HTTP frame based on Restful, is called by front end Interface obtains face alignment request message, and concurrent face alignment request message is controlled and managed, and improves height simultaneously Volatility.
If judgement knows that the quantity of the face alignment request message got in the unit time is more than preset threshold, that is, if Judgement knows that the concurrency of face alignment request message is more than preset threshold, then deposits face alignment request message according to priority It stores up in Message Queuing Middleware 102, needs the priority processing of summary responses, the carry out delay disposal of less demanding to response, Service-denial mechanism is also taken when concurrency is excessively high, client is reminded to retransmit.To reduce the response time to a certain extent.
Finally, obtaining the target person in Message Queuing Middleware 102 according to the priority orders of face alignment request message Face compares request message, carries out face alignment according to target face alignment request message, generates comparison result, and by comparing result Feed back to user.
Face alignment service system provided in an embodiment of the present invention based on cloud service passes through deployment WebService cloud clothes Module of being engaged in carries out con current control, carries out message storage by deployment Message Queuing Middleware and saves, provides message acknowledgement mechanism, protect Card user is properly received as a result, improve the high concurrent performance of the face alignment based on cloud service, shortens the response time.
On the basis of the above embodiments, further, the algorithm service module is specifically used for:
Obtain the target facial image that the Message Queuing Middleware is sent;
Extract the characteristic value of the target facial image;
Sample characteristics identical with the characteristic value of the target facial image, the sample are searched in the preset database Characteristic value is the characteristic value of the sample facial image stored in the presetting database, a sample facial image and a sample Characteristic value corresponds;
If judgement knows that there are a certain target sample characteristic values and the target facial image in the presetting database Characteristic value is identical, then the corresponding target sample facial image of the target sample characteristic value is exported, as comparison result.
Specifically, algorithm service module carries out face alignment, generating comparison result, detailed process is as follows:
Firstly, obtaining target facial image according to priority orders by Message Queuing Middleware.
Then, by calculating, the characteristic value of the target facial image is extracted.
Then, sample characteristics identical with the characteristic value of target facial image is searched in the preset database, and sample is special Value indicative is the characteristic value of the sample facial image stored in presetting database, a sample facial image and a sample characteristics It corresponds, sample facial image is in the database for obtaining and storing in advance in algorithm service module.
Finally, judging that the characteristic value of target facial image whether there is in presetting database, if present count is known in judgement According to there are a certain target sample characteristic value is identical as the characteristic value of target facial image, then exporting target sample characteristic value pair in library The target sample facial image answered, as comparison result, that is, compare successfully.If judgement knows that there is no appoint in presetting database One sample characteristics is identical as the characteristic value of target facial image, then exports comparison failure information.
Face alignment service system provided in an embodiment of the present invention based on cloud service passes through deployment WebService cloud clothes Module of being engaged in carries out con current control, carries out message storage by deployment Message Queuing Middleware and saves, provides message acknowledgement mechanism, protect Card user is properly received as a result, improve the high concurrent performance of the face alignment based on cloud service, shortens the response time.
On the basis of the above various embodiments, further, the WebService cloud service module is based on Restful's The deployment of HTTP frame.
Specifically, face alignment request message is obtained, the facial image in face alignment request message comprising obtaining; WebService cloud service module disposes front end calling interface using the HTTP frame based on Restful, is called and is connect by front end Mouth obtains face alignment request message, and concurrent face alignment request message is controlled and managed, and improves high concurrent Performance.
WebService cloud service module disposes front end calling interface using the HTTP frame based on Restful, WebService carries out high concurrent control, disposes cluster, improves the concurrency of access;WebService is using among message queue Part and arithmetic server are communicated and are received request, guarantee the reliable transmission of message, when message accumulation is excessive, and use queue Message is stored and is saved, message acknowledgement mechanism is provided, guarantees that user is properly received as a result, message is classified according to priority level, needs The first processing even if response is wanted, processing order also takes service-denial mechanism according to priority arrangement, when concurrency is excessively high, reminds Client retransmits.
Face alignment service system provided in an embodiment of the present invention based on cloud service passes through deployment WebService cloud clothes Module of being engaged in carries out con current control, carries out message storage by deployment Message Queuing Middleware and saves, provides message acknowledgement mechanism, protect Card user is properly received as a result, improve the high concurrent performance of the face alignment based on cloud service, shortens the response time.
On the basis of the above various embodiments, further, the Message Queuing Middleware is in Rabbit message queue Between part.
Specifically, Message Queuing Middleware is used to store different face alignment request messages, for guaranteeing The communication of WebService cloud service module and algorithm service module (the two service modules are heterogeneous systems), it can also be ensured that Message is not lost, and is had and is retransmitted and message security mechanism.
Face alignment service system provided in an embodiment of the present invention based on cloud service passes through deployment WebService cloud clothes Module of being engaged in carries out con current control, carries out message storage by deployment Message Queuing Middleware and saves, provides message acknowledgement mechanism, protect Card user is properly received as a result, improve the high concurrent performance of the face alignment based on cloud service, shortens the response time.
It further include emergency disaster recovery service module, the standby clothes of the emergency calamity further on the basis of the above various embodiments Business module is connected with the algorithm service module, for completing the algorithm clothes when the algorithm service module breaks down The unfinished task of module of being engaged in.
Specifically, the face alignment service system provided in an embodiment of the present invention based on cloud service, further includes that emergency calamity is standby Service module, emergency disaster recovery service module are connected with algorithm service module, for complete when algorithm service module breaks down Not completed at algorithm service module for task.That is, the more set services of deployment can be certainly when main service generation problem in system Other services of dynamic switching, handoff procedure is to need to carry out by the way of clustered deploy(ment), when heartbeat service module detects current clothes Business goes wrong, and other machines is immediately switched to by the way of script, switching time is substantially in 3~4S.
Face alignment service system provided in an embodiment of the present invention based on cloud service passes through deployment WebService cloud clothes Module of being engaged in carries out con current control, carries out message storage by deployment Message Queuing Middleware and saves, provides message acknowledgement mechanism, protect Card user is properly received as a result, improve the high concurrent performance of the face alignment based on cloud service, shortens the response time.
Further include heartbeat service module further on the basis of the above various embodiments, the heartbeat service module with The algorithm service module is connected, for monitoring the heartbeat message of the algorithm service module in real time, it is ensured that the stabilization of service It operates normally.
Specifically, the face alignment service system provided in an embodiment of the present invention based on cloud service, further includes heartbeat service Module, the heartbeat service module are connected with the algorithm service module, for monitoring the algorithm service module in real time Heartbeat message, it is ensured that stablizing for service operates normally.That is, more set services are disposed in system, when main service generation problem, It can automatically switch other services, handoff procedure is to need to carry out by the way of clustered deploy(ment), when the detection of heartbeat service module is worked as Preceding service goes wrong, and other machines is immediately switched to by the way of script, switching time is substantially in 3~4 seconds.
Face alignment service system provided in an embodiment of the present invention based on cloud service passes through deployment WebService cloud clothes Module of being engaged in carries out con current control, carries out message storage by deployment Message Queuing Middleware and saves, provides message acknowledgement mechanism, protect Card user is properly received as a result, improve the high concurrent performance of the face alignment based on cloud service, shortens the response time.
Fig. 2 is the face comparison method schematic diagram based on cloud service according to the embodiment of the present invention, as shown in Fig. 2, this hair Bright embodiment provides a kind of face alignment method of servicing based on cloud service, comprising:
Step S201, face alignment request message is obtained, includes the face got in the face alignment request message Image;
If step S202, judgement knows that the quantity of the face alignment request message got in the unit time is more than default threshold Value then stores face alignment request message into Message Queuing Middleware according to priority;
Step S203, the request of the target face alignment in the Message Queuing Middleware is obtained according to priority orders to disappear Breath carries out face alignment according to the target face alignment request message, generates comparison result.
Specifically, the embodiment of the present invention provides a kind of face alignment method of servicing based on cloud service, above-described embodiment is mentioned The course of work of the system of confession, it is identical as the specific steps of method described in the present embodiment, it is briefly described as follows herein:
Firstly, face alignment request message is obtained, the facial image in face alignment request message comprising obtaining; WebService cloud service module disposes front end calling interface using the HTTP frame based on Restful, is called and is connect by front end Mouth obtains face alignment request message, and concurrent face alignment request message is controlled and managed, and improves high concurrent Performance.
If judgement knows that the quantity of the face alignment request message got in the unit time is more than preset threshold, that is, if Judgement knows that the concurrency of face alignment request message is more than preset threshold, then deposits face alignment request message according to priority It stores up in Message Queuing Middleware, needs the priority processing of summary responses, to carry out delay disposal of less demanding is responded, when simultaneously Hair amount is excessively high also to take service-denial mechanism, and client is reminded to retransmit.To reduce the response time to a certain extent.
Finally, obtaining the target face in Message Queuing Middleware according to the priority orders of face alignment request message Request message is compared, face alignment is carried out according to target face alignment request message, generates comparison result, and comparing result is anti- Feed user.
Face alignment method of servicing provided in an embodiment of the present invention based on cloud service passes through deployment WebService cloud clothes Module of being engaged in carries out con current control, carries out message storage by deployment Message Queuing Middleware and saves, provides message acknowledgement mechanism, protect Card user is properly received as a result, improve the high concurrent performance of the face alignment based on cloud service, shortens the response time.
On the basis of the above embodiments, further, described that people is carried out according to the target face alignment request message Face compares, and generates comparison result, specifically:
Target facial image is parsed from the target face alignment request message;
Extract the characteristic value of the target facial image;
Sample characteristics identical with the characteristic value of the target facial image, the sample are searched in the preset database Characteristic value is the characteristic value of the sample facial image stored in the presetting database, a sample facial image and a sample Characteristic value corresponds;
If judgement knows that there are a certain target sample characteristic values and the target facial image in the presetting database Characteristic value is identical, then the corresponding target sample facial image of the target sample characteristic value is exported, as comparison result.
Specifically, carrying out face alignment according to target face alignment request message, the detailed process of comparison result is generated such as Under:
Firstly, target facial image is obtained, from target face alignment according to priority orders by Message Queuing Middleware Target facial image is parsed in request message.
Then, by calculating, the characteristic value of target facial image is extracted.
Then, sample characteristics identical with the characteristic value of target facial image is searched in the preset database, and sample is special Value indicative is the characteristic value of the sample facial image stored in presetting database, a sample facial image and a sample characteristics It corresponds, sample facial image is in the database for obtaining and storing in advance in algorithm service module.
Finally, judging that the characteristic value of target facial image whether there is in presetting database, if present count is known in judgement According to there are a certain target sample characteristic value is identical as the characteristic value of target facial image, then exporting target sample characteristic value pair in library The target sample facial image answered, as comparison result, that is, compare successfully.If judgement knows that there is no appoint in presetting database One sample characteristics is identical as the characteristic value of target facial image, then exports comparison failure information.
Face alignment method of servicing provided in an embodiment of the present invention based on cloud service passes through deployment WebService cloud clothes Module of being engaged in carries out con current control, carries out message storage by deployment Message Queuing Middleware and saves, provides message acknowledgement mechanism, protect Card user is properly received as a result, improve the high concurrent performance of the face alignment based on cloud service, shortens the response time.
Fig. 3 is the structural representation of the electronic equipment provided in an embodiment of the present invention for the face alignment based on cloud service Figure, as shown in figure 3, the equipment includes: processor 301, memory 302 and bus 303;
Wherein, processor 301 and memory 302 complete mutual communication by the bus 303;
Processor 301 is used to call the program instruction in memory 302, to execute provided by above-mentioned each method embodiment Method, for example,
Face alignment request message is obtained, includes the facial image got in the face alignment request message;
If judgement knows that the quantity of the face alignment request message got in the unit time is more than preset threshold, according to Priority stores face alignment request message into Message Queuing Middleware;
The target face alignment request message in the Message Queuing Middleware is obtained according to priority orders, according to described Target face alignment request message carries out face alignment, generates comparison result.
The embodiment of the present invention discloses a kind of computer program product, and the computer program product is non-transient including being stored in Computer program on computer readable storage medium, the computer program include program instruction, when described program instructs quilt When computer executes, computer is able to carry out method provided by above-mentioned each method embodiment, for example,
Face alignment request message is obtained, includes the facial image got in the face alignment request message;
If judgement knows that the quantity of the face alignment request message got in the unit time is more than preset threshold, according to Priority stores face alignment request message into Message Queuing Middleware;
The target face alignment request message in the Message Queuing Middleware is obtained according to priority orders, according to described Target face alignment request message carries out face alignment, generates comparison result.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage Medium storing computer instruction, the computer instruction make the computer execute side provided by above-mentioned each method embodiment Method, for example,
Face alignment request message is obtained, includes the facial image got in the face alignment request message;
If judgement knows that the quantity of the face alignment request message got in the unit time is more than preset threshold, according to Priority stores face alignment request message into Message Queuing Middleware;
The target face alignment request message in the Message Queuing Middleware is obtained according to priority orders, according to described Target face alignment request message carries out face alignment, generates comparison result.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above method embodiment can pass through The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes: ROM, RAM, magnetic disk or light The various media that can store program code such as disk.
The embodiments such as device and equipment described above are only schematical, wherein described be used as separate part description Unit may or may not be physically separated, component shown as a unit may or may not be Physical unit, it can it is in one place, or may be distributed over multiple network units.It can be according to the actual needs Some or all of the modules therein is selected to achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying In the case where creative labor, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. a kind of face alignment service system based on cloud service characterized by comprising
WebService cloud service module, Message Queuing Middleware and algorithm service module;
The WebService cloud service module is connected by the Message Queuing Middleware with the algorithm service module;
The WebService cloud service module is used to provide the front end calling interface for obtaining facial image, is also used to carry out height simultaneously Hair control;
The Message Queuing Middleware is for storing different face alignment request messages;
The algorithm service module is used for face alignment, generates comparison result.
2. system according to claim 1, which is characterized in that the algorithm service module is specifically used for:
Obtain the target facial image that the Message Queuing Middleware is sent;
Extract the characteristic value of the target facial image;
Sample characteristics identical with the characteristic value of the target facial image, the sample characteristics are searched in the preset database Value is the characteristic value of the sample facial image stored in the presetting database, a sample facial image and a sample characteristics Value corresponds;
If judgement knows that there are the features of a certain target sample characteristic value and the target facial image in the presetting database It is worth identical, then the corresponding target sample facial image of the target sample characteristic value is exported, as comparison result.
3. system according to claim 1, which is characterized in that the WebService cloud service module is based on Restful HTTP frame deployment.
4. system according to claim 1, which is characterized in that the Message Queuing Middleware is in Rabbit message queue Between part.
5. system according to claim 1, which is characterized in that further include emergency disaster recovery service module, the emergency calamity is standby Service module is connected with the algorithm service module, for completing the algorithm when the algorithm service module breaks down The unfinished task of service module.
6. system according to claim 5, which is characterized in that it further include heartbeat service module, the heartbeat service module Be connected with the algorithm service module, for monitoring the heartbeat message of the algorithm service module in real time, it is ensured that service it is steady It is fixed to operate normally.
7. a kind of face comparison method based on cloud service characterized by comprising
Face alignment request message is obtained, includes the facial image got in the face alignment request message;
If judgement knows that the quantity of the face alignment request message got in the unit time is more than preset threshold, according to preferential Grade is by the storage of face alignment request message into Message Queuing Middleware;
The target face alignment request message in the Message Queuing Middleware is obtained according to priority orders, according to the target Face alignment request message carries out face alignment, generates comparison result.
8. the method according to the description of claim 7 is characterized in that described carry out according to the target face alignment request message Face alignment generates comparison result, specifically:
Target facial image is parsed from the target face alignment request message;
Extract the characteristic value of the target facial image;
Sample characteristics identical with the characteristic value of the target facial image, the sample characteristics are searched in the preset database Value is the characteristic value of the sample facial image stored in the presetting database, a sample facial image and a sample characteristics Value corresponds;
If judgement knows that there are the features of a certain target sample characteristic value and the target facial image in the presetting database It is worth identical, then the corresponding target sample facial image of the target sample characteristic value is exported, as comparison result.
9. a kind of electronic equipment for the face alignment based on cloud service characterized by comprising
Memory and processor, the processor and the memory complete mutual communication by bus;The memory It is stored with the program instruction that can be executed by the processor, the processor calls described program instruction to be able to carry out right such as and wants Seek 7 to 8 any methods.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program Method a method as claimed in any one of claims 7 to 8 is realized when being executed by processor.
CN201810866974.6A 2018-08-01 2018-08-01 A kind of face alignment service system and method based on cloud service Pending CN109324909A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810866974.6A CN109324909A (en) 2018-08-01 2018-08-01 A kind of face alignment service system and method based on cloud service

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810866974.6A CN109324909A (en) 2018-08-01 2018-08-01 A kind of face alignment service system and method based on cloud service

Publications (1)

Publication Number Publication Date
CN109324909A true CN109324909A (en) 2019-02-12

Family

ID=65264649

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810866974.6A Pending CN109324909A (en) 2018-08-01 2018-08-01 A kind of face alignment service system and method based on cloud service

Country Status (1)

Country Link
CN (1) CN109324909A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110738156A (en) * 2019-10-10 2020-01-31 武汉普利商用机器有限公司 face recognition system and method based on message middleware
CN110928664A (en) * 2019-12-02 2020-03-27 南京甄视智能科技有限公司 Distributed face searching method and system based on multiple message threads
CN113051045A (en) * 2019-12-27 2021-06-29 南京甄视智能科技有限公司 Method and device for dynamically balancing equipment end load under IOT platform
CN113326714A (en) * 2020-02-28 2021-08-31 杭州海康威视数字技术股份有限公司 Target comparison method and device, electronic equipment and readable storage medium
CN113449628A (en) * 2021-06-24 2021-09-28 北京澎思科技有限公司 Image processing system, image processing method, image processing apparatus, storage medium, and computer program product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607387A (en) * 2013-11-14 2014-02-26 中国科学技术大学 A network login authentication cloud service system based on face identification and a method
CN104360633A (en) * 2014-10-10 2015-02-18 南开大学 Human-computer interaction system for service robot
US20160055042A1 (en) * 2014-08-25 2016-02-25 Salesforce.Com, Inc. Detecting and Managing Flooding of Multi-tenant Message Queues
CN105975948A (en) * 2016-05-23 2016-09-28 南京甄视智能科技有限公司 Cloud service platform architecture for face identification
CN106204780A (en) * 2016-07-04 2016-12-07 武汉理工大学 A kind of based on degree of depth study and the human face identification work-attendance checking system and method for cloud service
CN106327602A (en) * 2016-08-12 2017-01-11 厦门中控生物识别信息技术有限公司 Cloud architecture based on biological recognition and application system thereof

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607387A (en) * 2013-11-14 2014-02-26 中国科学技术大学 A network login authentication cloud service system based on face identification and a method
US20160055042A1 (en) * 2014-08-25 2016-02-25 Salesforce.Com, Inc. Detecting and Managing Flooding of Multi-tenant Message Queues
CN104360633A (en) * 2014-10-10 2015-02-18 南开大学 Human-computer interaction system for service robot
CN105975948A (en) * 2016-05-23 2016-09-28 南京甄视智能科技有限公司 Cloud service platform architecture for face identification
CN106204780A (en) * 2016-07-04 2016-12-07 武汉理工大学 A kind of based on degree of depth study and the human face identification work-attendance checking system and method for cloud service
CN106327602A (en) * 2016-08-12 2017-01-11 厦门中控生物识别信息技术有限公司 Cloud architecture based on biological recognition and application system thereof

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110738156A (en) * 2019-10-10 2020-01-31 武汉普利商用机器有限公司 face recognition system and method based on message middleware
CN110738156B (en) * 2019-10-10 2022-12-02 武汉普利商用机器有限公司 Face recognition system and method based on message middleware
CN110928664A (en) * 2019-12-02 2020-03-27 南京甄视智能科技有限公司 Distributed face searching method and system based on multiple message threads
CN113051045A (en) * 2019-12-27 2021-06-29 南京甄视智能科技有限公司 Method and device for dynamically balancing equipment end load under IOT platform
CN113051045B (en) * 2019-12-27 2022-08-16 南京甄视智能科技有限公司 Method and device for dynamically balancing equipment end load under IOT platform
CN113326714A (en) * 2020-02-28 2021-08-31 杭州海康威视数字技术股份有限公司 Target comparison method and device, electronic equipment and readable storage medium
CN113326714B (en) * 2020-02-28 2024-03-22 杭州海康威视数字技术股份有限公司 Target comparison method, target comparison device, electronic equipment and readable storage medium
CN113449628A (en) * 2021-06-24 2021-09-28 北京澎思科技有限公司 Image processing system, image processing method, image processing apparatus, storage medium, and computer program product

Similar Documents

Publication Publication Date Title
CN109324909A (en) A kind of face alignment service system and method based on cloud service
CN106657193B (en) A kind of request processing method, device, terminal device and server
CN106020948B (en) A kind of process dispatch method and device
CN106161060B (en) Data monitoring method and device
CN103701999A (en) Method and system for monitoring voice communication of call center
CN110764936A (en) Data acquisition method and device
CN110555019B (en) Data cleaning method based on service end
CN110795284B (en) Data recovery method, device and equipment and readable storage medium
CN106549796A (en) Resource control method and host node that a kind of firmware space is downloaded
US20130179888A1 (en) Application Load Balancing Utility
CN105162823B (en) A kind of virtual machine management method and device
US20220374219A1 (en) Deployment of service
CN113900598A (en) Block chain based data storage method, device, equipment and storage medium
CN110782341A (en) Business collection method, device, equipment and medium
CN105988886B (en) Fault handling method and device during a kind of O&M
CN112218168A (en) Method and device for playing video by browser
CN112785351A (en) Financial website monitoring method and device
CN115633039A (en) Communication establishing method, load balancing device, equipment and storage medium
CN112969172B (en) Communication flow control method based on cloud mobile phone
CN112565062B (en) Processing method, related device, equipment and medium of instant messaging order
CN107426012B (en) Fault recovery method and device based on super-fusion architecture
CN113849362A (en) Business service platform management method, device and computer readable storage medium
CN111064586A (en) Distributed parallel charging method
CN110442786A (en) A kind of method, apparatus, equipment and the storage medium of prompt information push
CN110569238A (en) data management method, system, storage medium and server based on big data

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190212

RJ01 Rejection of invention patent application after publication