CN110213302A - A kind of method, computer-readable medium and system pushing welcome's message - Google Patents
A kind of method, computer-readable medium and system pushing welcome's message Download PDFInfo
- Publication number
- CN110213302A CN110213302A CN201910626359.2A CN201910626359A CN110213302A CN 110213302 A CN110213302 A CN 110213302A CN 201910626359 A CN201910626359 A CN 201910626359A CN 110213302 A CN110213302 A CN 110213302A
- Authority
- CN
- China
- Prior art keywords
- message
- client
- push
- server
- welcome
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06N—COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
- G06N3/00—Computing arrangements based on biological models
- G06N3/02—Neural networks
- G06N3/04—Architecture, e.g. interconnection topology
- G06N3/045—Combinations of networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/161—Detection; Localisation; Normalisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V40/00—Recognition of biometric, human-related or animal-related patterns in image or video data
- G06V40/10—Human or animal bodies, e.g. vehicle occupants or pedestrians; Body parts, e.g. hands
- G06V40/16—Human faces, e.g. facial parts, sketches or expressions
- G06V40/168—Feature extraction; Face representation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/18—Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Theoretical Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Oral & Maxillofacial Surgery (AREA)
- General Physics & Mathematics (AREA)
- General Health & Medical Sciences (AREA)
- Multimedia (AREA)
- Human Computer Interaction (AREA)
- Evolutionary Computation (AREA)
- Mathematical Physics (AREA)
- Computational Linguistics (AREA)
- Molecular Biology (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Biophysics (AREA)
- Data Mining & Analysis (AREA)
- Software Systems (AREA)
- Biomedical Technology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention relates to a kind of methods for pushing welcome's message, method includes the following steps: step S1: server-side obtains the face information into customer family based on message channel;Step S2: it is matched based on the face information of acquisition with user information in a pre-stored data library, and obtains matching result;Step S3: matching result is pushed to by client based on message push protocol and is shown;Wherein, server-side combination Asynchronous Event Driven Model is obtained into customer family, and will be sent in message channel into the face information at customer family;The message channel includes the combination of one or more of Redis, kafka, RabbitMQ, RocketMQ;The message push protocol includes combination any one or several in short poll, long poll and WebSocket.So that staff's timely learning prevents the case where receiving not in time and leads to customer churn to the client in shop in shop.The present invention also provides a kind of computer-readable mediums.The present invention also provides a kind of message push systems.
Description
[technical field]
The present invention relates to welcomes to receive field more particularly to a kind of method for pushing welcome's message, computer-readable medium
And system.
[background technique]
Current most of entity shops manually carry out old and new customers mainly by foreground and identify and receive into shop.Due to shops
The influence of the factors such as employee turnover and memory, it is easy to it is received not in time when there is a situation where old and new customers into shop, or
It does not identify frequent customer etc., reduces client to the reception experience sense of shops, or even customer churn can be made.
[summary of the invention]
Of the existing technology to overcome the problems, such as, the present invention provides a kind of method, computer-readable for pushing welcome's message
Medium and system.
The scheme that the present invention solves technical problem is to provide a kind of method for pushing welcome's message, and this method includes following step
Rapid: step S1: server-side obtains the face information into customer family based on message channel;Step S2: the face information based on acquisition
It is matched with user information in a pre-stored data library, and obtains matching result;Step S3: it will be matched based on message push protocol
As a result client is pushed to be shown;Wherein, server-side combination Asynchronous Event Driven Model is obtained into customer family, and will be into shop
The face information of client is sent in message channel;The message channel includes Redis, kafka, RabbitMQ, RocketMQ
One or more of combination;The message push protocol includes any or several in short poll, long poll and WebSocket
The combination of kind.
Preferably, Redis cache match result in the cache-time of setting.
Preferably, a call back function is set between the server-side and the client, with statistical fractals end PUSH message
Arrival rate.
Preferably, a threshold value is set in conjunction with the arrival rate of the message, to take within the set time by threshold decision
End be engaged in the presence or absence of abnormal.
Preferably, in step S2, the user information in the pre-stored data library includes the identity information and face characteristic of client
Information.
Preferably, the face characteristic in above-mentioned steps S2, in face information and the pre-stored data library based on acquisition
Information is matched, if successful match, determines the client for frequent customer;If it fails to match, determine that the client is new client.
Preferably, the facial characteristics of a deep learning model extraction client is provided to carry out recognition of face, and then obtains people
Face information.
The present invention also provides a kind of computer-readable medium, it is stored with computer program in the computer-readable medium,
Wherein, the computer program is arranged to the method that above-mentioned push welcome's message is executed when operation.
The present invention also provides a kind of message push system, the message push system includes: read module, is configured as taking
The face information that business end group is obtained in message channel;Memory module is configured as the face information and one based on acquisition and prestores number
It is matched according to user information in library, and obtains matching result;And pushing module, it is configured as based on message push protocol general
Client is pushed to result to be shown;Wherein, server-side combination Asynchronous Event Driven Model is obtained into customer family, and will be into
The face information at customer family is sent in message channel;The message channel include Redis, kafka, RabbitMQ,
The combination of one or more of RocketMQ;The message push protocol includes appointing in short poll, long poll and WebSocket
One or more of combinations.
Preferably, Redis cache match result in the cache-time of setting.
Compared with prior art, the method for push welcome's message of the invention, computer-readable medium and message push system
System has the advantage that
1. server-side obtains the face information into customer family based on message channel, the face information of client is formed into message
Queue obtains the user information of client in combination with Asynchronous Event Driven Model, to initiate to call in Asynchronous Event Driven Model
Afterwards, thread continues to execute downwards, and before calling return, can do more extra works, the thread etc. of release busy
Resource avoids blocking;User information in the face information that will acquire after obtaining face information and pre-stored data library carries out
Matching, and obtains matching result, and matching result is pushed to client finally by message push protocol, guarantee push client into
The real-time of shop message so that in shop staff's timely learning to the client in shop, the case where preventing reception not in time and
Lead to customer churn.
2. then the face information obtained by server-side carries out the user information in face information and pre-stored data library
Matching, obtaining the client into shop is new client or frequent customer as a result, and by the people in the result and redis in cache-time
Face information is inquired, and then when to client push client into shop message, is pushed in combination with query result, to prevent
Same client repeats disengaging shops in cache-time, and cause server-side repeat to push during this period of time the user into shop
Message.
3. one or more of kafka, RabbitMQ, RocketMQ are set by message channel, to form face letter
The message queue of breath increases the diversity of storage user information.
4. user information is stored in advance by pre-stored data library, in order to which server-side detects the face information into customer family
Later, by being matched with the user information in pre-stored data library, and then identify that the client into shop is new client or old
Client, so that staff carries out different services according to different clients.
5. by any one or several combinations in short poll, long poll and WebSocket as message push protocol, with
Convenient for client to server-side PUSH message, guarantee the real-time of PUSH message.
6. a call back function is arranged between server-side and client, with the arrival rate of statistical fractals end PUSH message, into
And guarantee the real-time and accuracy of PUSH message.
7. the method for pushing welcome's message is stored in computer program, in order to which computer-readable medium runs the meter
Calculation machine program makes staff's timely learning in shop prevent reception to the client in shop to guarantee the real-time of message push
Not in time the case where and lead to customer churn.
8. read module, memory module and pushing module is arranged, in message push system to guarantee the reality of message push
Shi Xing makes staff's timely learning in shop prevent the case where receiving not in time to the client in shop and lead to customer churn.
[Detailed description of the invention]
Fig. 1 is the flow diagram of the method for first embodiment of the invention push welcome's message.
Fig. 2 is the module diagram of third embodiment of the invention message push system.
Description of symbols: 1, message push system;11, read module;12, memory module;13, pushing module.
[specific embodiment]
In order to make the purpose of the present invention, technical solution and advantage are more clearly understood, below in conjunction with attached drawing and embodiment,
The present invention will be described in further detail.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention,
It is not intended to limit the present invention.
Referring to Fig. 1, first embodiment of the invention provides a kind of method for pushing welcome's message, this method includes following step
It is rapid:
Step S1: server-side obtains the face information into customer family based on message channel;
Step S2: it is matched, and is matched with user information in a pre-stored data library based on the face information of acquisition
As a result;
Step S3: matching result is pushed to by client based on message push protocol and is shown;
Wherein, server-side combination Asynchronous Event Driven Model is obtained into customer family, and will be passed into the face information at customer family
It send into message channel;
The message channel includes the combination of one or more of Redis, kafka, RabbitMQ, RocketMQ;
The message push protocol includes combination any one or several in short poll, long poll and WebSocket.
Firstly, the video that server-side is shot based on monitoring device, obtains the face information of client, and the face of client is believed
It ceases in incoming message channel;The face information for being then based on acquisition is matched with user information in a pre-stored data library, and is obtained
Obtain matching result;Matching result is finally pushed to client based on message push protocol to be shown.
It is appreciated that the mode for obtaining face information can be face of the setting based on deep learning model in server-side
Message push system, i.e., by the facial characteristics of deep learning model extraction client to carry out recognition of face, then to extraction
Facial characteristics is analyzed, and then the face information obtained, and then face information is passed to message channel.Deep learning model packet
It includes but is not limited to convolutional neural networks RCNN (Region Convolutional Neural Network) and Recognition with Recurrent Neural Network
RNN (Recurrent Neural Network) etc. does not carry out the detailed process of recognition of face herein not using deep learning model
It repeats;
The Asynchronous Event Driven Model be process and or thread method of calling, Asynchronous Event Driven Model initiate adjust
With rear, thread continues to execute downwards, when call return after, notify caller, therefore, during this period may be used by the means of setting
To do more extra works, the resources such as thread of release busy avoid blocking, until result generation reacquires at thread again
Reason;
Event-driven programming is a kind of programming paradigm, and the execution stream of program is determined by external event here.Its feature
It is that corresponding processing is triggered using callback mechanism when external event occurs comprising an event loop.
The short poll is that client sends HTTP request (HTTP request) to server-side within the set time, clothes
Be engaged in end after receiving the request, whether have data update, all directly responded, i.e., regardless of server-side either with or without detect into
Customer family, whether client all can have the request into customer family to server-side transmission within the set time, also, server-side exists
After receiving request, it can all be responded according to real-time detection situation, i.e., to client push with or without the message into customer family;
The long poll is after server-side receives the HTTP request that client is sent, and server-side will not directly be rung
It answers, but first hangs up this request, only after server-side has data update, just responded, i.e., sent in client
Whether have into after the request at customer family, only when server-side has been detected into customer family, just has to client push into shop
The message of client;
The WebSocket is to set up a connection in client and server-side, and client and server-side are at flat
Deng status, can mutually send data, there is no request and response difference, i.e., client and server-side by establish company
It connects, so that it may realize two-way communication, client can send whether have data of the client into shop to server-side, and server-side can also be with
Whether there are data of the client into shop to client transmission, i.e., whether has message of the client into shop to client push.
Due to the header (head) that short poll and long poll send HTTP request be it is very long, the inside includes useful
Data may be the value of a very little, can occupy many bandwidth in this way, result in waste of resources, while cannot guarantee that in time
Update up-to-date information;Therefore message push protocol uses WebSocket agreement, and webSocket can save bandwidth, and can be with
Guarantee the real-time of message.
The type of the message channel can for redis (Remote Dictionary Server, remote date transmission),
Kafka (a kind of open source stream process platform), RabbitMQ (Rabbit Message Queue), RocketMQ (Rocket
Message Queue) one or more of combination, monitoring device get client into after the information of shop, identify
The face information of client is passed in above-mentioned message channel by the face information of client, server-side, makes being formed into shop information for client
Message queue.In conjunction with the caching function of redis, can make redis in the cache-time of setting cache match as a result, with it is pre-
After deposit data storehouse matching obtains matching result, the matching result in matching result combination redis in cache-time is gone
Inquiry is reviewed, to prevent from repeating being somebody's turn to do the message into customer family in cache-time to client push.
In application scenes, for client's first into after shop, server-side obtains regarding into shop for client's first based on monitoring device
Frequently, it and identifies the face information of client's first, then the face information of client's first is passed in redis, and then by client's first
Face information matched with the user information in pre-stored data library, to identify that client's first is new client or frequent customer,
And matching result is obtained, last matching result pushes to client and is shown, so that the staff in shop is according to push
Message receives client's first;
When client's first be new client when, then to staff push new client into shop notice so that staff receive
The user information of client's first and typing client's first, with when client's first next time is into shop, identification client's first is frequent customer, and then to work
Make personnel push frequent customer into shop notice so that staff can provide the service of customization for client's first.
Redis cache match result in the cache-time of setting, wherein cache-time can be according to the frequency into customer family
Rate setting can be one minute, five minutes, ten minutes etc., in cache-time, to repeat to pass in and out shops, quilt in same client
Server-side identifies, and then duplicate removal processing is carried out in redis in combination with cache-time, i.e., by matching result combination redis
Matching result in middle cache-time carries out duplication elimination query, if user information identical with matching result is inquired, not to this
Client's pushes into shop information, if not inquiring user information identical with matching result, to believing into shop for the client
Breath is pushed, to prevent server-side in cache-time frequently to client push same client into shop information.
The type in pre-stored data library can be MySQL (relevant database), face information of the server-side in acquisition
Before, the user information of pre-stored data library storage client is first passed through, user information includes the identity information i.e. face characteristic of client
Information, and then the client's face information that will acquire and the face characteristic information stored in pre-stored data library match, if matching
Success, then determine the client for frequent customer;If it fails to match, determine that the client is new client;
Face information is that monitoring device detection has into after customer family, and server-side is detected according to monitor video into customer family
Face;Face characteristic information is the feature extracted from face information, and the feature extracted in the face information of a client
Face information with the client is one-to-one relationship;Identity information include client name, address, telephone number and last time into
Shop record etc.;
In application scenes, client's first, which had into shop, to be recorded, and client's second did not had to record into shop, therefore, according to visitor
Family first can will be in the user information typing pre-stored data library of client's first into shop record;
When client's first is again introduced into shops, server-side obtains the face information of client's first by monitoring device, and then will
The face information of client's first is matched with the face characteristic information in pre-stored data library, due to typing visitor in pre-stored data library
The user information of family first, therefore face characteristic information corresponding with the face information of client's first can be matched, and then determine client
First is frequent customer;
When client's second enters shops, server-side obtains the face information of client's second by monitoring device, and then by client
The face information of second is matched with the face characteristic information in pre-stored data library, due to not having typing client in pre-stored data library
The user information of second, therefore it fails to match for meeting when the face characteristic information of matching client's second, and then determines that client's second is new client.
Further, server-side disposes two ways, i.e., the face information of incoming message channel by local disposition and cloud
Message queue can be formed by local disposition, to reduce network delay when server-side transmits user information, realize PUSH message
Real-time;It can also dispose to form message queue by cloud, to carry out strange land (client in such as non-local net) PUSH message.
Further, a call back function is set between server-side and client, with the arrival of statistical fractals end PUSH message
Rate.Such as have to client push into after the message at customer family in server-side, client may be due to network delay or disconnected
The message that the factors such as network connection do not receive push is opened, at this point, server-side is to judge client by calling call back function
It is no to receive PUSH message.
Further, when Message arrival rate is lower than preset threshold value within the set time, it is believed that server-side
There are exception, i.e., server-side detects multiple into customer family and to after client push message, obtains person in charge of reception at ceremonies by call back function
Family end does not receive the message of push, and then can be handled and be asked in time by staff in the means notice such as alarm, log shop
Topic.
Second embodiment of the invention provides a kind of computer-readable medium, and computer journey is stored in computer-readable medium
Sequence, wherein computer program is arranged to the method that above-mentioned push welcome's message is executed when operation.
In accordance with an embodiment of the present disclosure, it may be implemented as computer software journey above with reference to the process of flow chart description
Sequence.For example, embodiment of the disclosure includes a kind of computer program product comprising carry meter on a computer-readable medium
Calculation machine program, the computer program include the program code for method shown in execution flow chart.In such embodiments,
The computer program can be downloaded and installed from network by communications portion, and/or be mounted from detachable media.At this
When computer program is executed by central processing unit (CPU), the above-mentioned function of limiting in the present processes is executed.It needs to illustrate
, computer-readable medium described herein can be computer-readable signal media or computer readable storage medium
Either the two any combination.Computer readable storage medium for example including but be not limited to electricity, magnetic, optical, electromagnetic, infrared
The system of line or semiconductor, device or device, or any above combination.Computer readable storage medium it is more specific
Example can include but is not limited to: have electrical connection, portable computer diskette, hard disk, the random visit of one or more conducting wires
Ask memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable
Compact disc read-only memory (CD-ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.?
In the application, computer readable storage medium can be any tangible medium for including or store program, which can be referred to
Enable execution system, device or device use or in connection.And in this application, computer-readable signal media
It may include in a base band or as the data-signal that carrier wave a part is propagated, wherein carrying computer-readable program generation
Code.The data-signal of this propagation can take various forms, including but not limited to electromagnetic signal, optical signal or above-mentioned any
Suitable combination.Computer-readable signal media can also be any computer-readable other than computer readable storage medium
Medium, the computer-readable medium can be sent, propagated or transmitted for being used by instruction execution system, device or device
Or program in connection.The program code for including on computer-readable medium can pass with any suitable medium
It is defeated, including but not limited to: wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
The calculating of the operation for executing the application can be write with one or more programming languages or combinations thereof
Machine program code, described program design language include object oriented program language such as Java, Smalltalk, C++,
It further include conventional procedural programming language such as " C " language or similar programming language.Program code can be complete
It executes, partly executed on the user computer on the user computer entirely, being executed as an independent software package, part
Part executes on the remote computer or executes on remote computer or server-side completely on the user computer.It is relating to
And in the situation of remote computer, remote computer can include local area network (LAN) or wide area network by the network of any kind
(WAN) it is connected to subscriber computer, or, it may be connected to outer computer (such as led to using ISP
Cross internet connection).
Referring to Fig. 2, third embodiment of the invention provides a kind of message push system 1, including read module 11, storage mould
Block 12 and pushing module 13;Read module 11 is configured as the recognition of face information of server-side acquisition;Memory module 12 is configured
Matched for the recognition of face information based on acquisition with user information in a pre-stored data library, and by matching result with it is corresponding
User information is stored to a message channel and is cached, and concurrently sets a cache-time;And pushing module 13 is configured as to disappear
User information pushing to the client stored in breath channel is shown;Wherein, server-side combination Asynchronous Event Driven Model obtains
The user information of client is taken, and the user information of client is sent in message channel;The message channel include Redis,
The combination of one or more of kafka, RabbitMQ, RocketMQ;The message push protocol includes short poll, long poll
And any one or several combination in WebSocket.
Further, message channel receives and caches the matching result, a cache-time is concurrently set, in setting
Matched result is cached in cache-time.
Definitions relevant content in first embodiment is equally applicable to the present embodiment.
Compared with prior art, the method for push welcome's message of the invention, computer-readable medium and message push system
System has the advantage that
1. server-side obtains the face information into customer family based on message channel, the face information of client is formed into message
Queue obtains the user information of client in combination with Asynchronous Event Driven Model, to initiate to call in Asynchronous Event Driven Model
Afterwards, thread continues to execute downwards, and before calling return, can do more extra works, the thread etc. of release busy
Resource avoids blocking;User information in the face information that will acquire after obtaining face information and pre-stored data library carries out
Matching, and obtains matching result, and matching result is pushed to client finally by message push protocol, guarantee push client into
The real-time of shop message so that in shop staff's timely learning to the client in shop, the case where preventing reception not in time and
Lead to customer churn.
2. then the face information obtained by server-side carries out the user information in face information and pre-stored data library
Matching, obtaining the client into shop is new client or frequent customer as a result, and by the result and redis in cache-time
Duplication elimination query is carried out with result, and then when to client push client into shop message, is pushed in combination with query result, with
It prevents same client from repeating disengaging shops in cache-time, and server-side is caused to repeat to push the user's during this period of time
Into shop message.
3. one or more of kafka, RabbitMQ, RocketMQ are set by message channel, to form face letter
The message queue of breath increases the diversity of storage user information.
4. user information is stored in advance by pre-stored data library, in order to which server-side detects the face information into customer family
Later, by being matched with the user information in pre-stored data library, and then identify that the client into shop is new client or old
Client, so that staff carries out different services according to different clients.
5. by any one or several combinations in short poll, long poll and WebSocket as message push protocol, with
Convenient for client to server-side PUSH message, guarantee the real-time of PUSH message.
6. a call back function is arranged between server-side and client, with the arrival rate of statistical fractals end PUSH message, into
And guarantee the real-time and accuracy of PUSH message.
7. the method for pushing welcome's message is stored in computer program, in order to which computer-readable medium runs the meter
Calculation machine program makes staff's timely learning in shop prevent reception to the client in shop to guarantee the real-time of message push
Not in time the case where and lead to customer churn.
8. read module, memory module and pushing module is arranged, in message push system to guarantee the reality of message push
Shi Xing makes staff's timely learning in shop prevent the case where receiving not in time to the client in shop and lead to customer churn.
The foregoing is merely present pre-ferred embodiments, are not intended to limit the invention, it is all principle of the present invention it
Any modification made by interior, equivalent replacement and improvement etc. should all be comprising within protection scope of the present invention.
Claims (10)
1. a kind of method for pushing welcome's message, it is characterised in that: method includes the following steps:
Step S1: server-side obtains the face information into customer family based on message channel;
Step S2: it is matched based on the face information of acquisition with user information in a pre-stored data library, and obtains matching result;
Step S3: matching result is pushed to by client based on message push protocol and is shown;
Wherein, server-side combination Asynchronous Event Driven Model is obtained into customer family, and will be sent into the face information at customer family
In message channel;
The message channel includes the combination of one or more of Redis, kafka, RabbitMQ, RocketMQ;
The message push protocol includes combination any one or several in short poll, long poll and WebSocket.
2. the method for push welcome's message as claimed in claim 2, it is characterised in that: the Redis is in the caching of setting
Interior cache match result.
3. the method for push welcome's message as described in claim 1, it is characterised in that: the server-side and the client it
Between a call back function is set, with the arrival rate of statistical fractals end PUSH message.
4. the method for push welcome's message as claimed in claim 3, it is characterised in that: set in conjunction with the arrival rate of the message
One threshold value, to pass through threshold decision server-side within the set time with the presence or absence of abnormal.
5. the method for push welcome's message as described in claim 1, it is characterised in that: in step S2, the pre-stored data library
User information include client identity information and face characteristic information.
6. the method for push welcome's message as claimed in claim 5, it is characterised in that: in above-mentioned steps S2, based on acquisition
Face information matched with the face characteristic information in the pre-stored data library, if successful match, determine that the client is
Frequent customer;If it fails to match, determine that the client is new client.
7. the method for push welcome's message as described in claim 1, it is characterised in that: provide a deep learning model extraction visitor
The facial characteristics at family obtains face information to carry out recognition of face.
8. a kind of computer-readable medium, it is characterised in that: it is stored with computer program in the computer-readable medium,
In, the computer program is arranged to perform claim when operation and requires push welcome's message described in any one of 1-7
Method.
9. a kind of message push system, it is characterised in that: the message push system includes:
Read module is configured as the face information that server-side is obtained based on message channel;
Memory module is configured as the face information based on acquisition and is matched with user information in a pre-stored data library, and obtains
Obtain matching result;And
Pushing module is configured as matching result is pushed to client being shown based on message push protocol;
Wherein, server-side combination Asynchronous Event Driven Model is obtained into customer family, and will be sent into the face information at customer family
In message channel;
The message channel includes the combination of one or more of Redis, kafka, RabbitMQ, RocketMQ;
The message push protocol includes combination any one or several in short poll, long poll and WebSocket.
10. the method for push welcome's message as claimed in claim 9, it is characterised in that: the Redis is in the caching of setting
Interior cache match result.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910626359.2A CN110213302A (en) | 2019-07-11 | 2019-07-11 | A kind of method, computer-readable medium and system pushing welcome's message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910626359.2A CN110213302A (en) | 2019-07-11 | 2019-07-11 | A kind of method, computer-readable medium and system pushing welcome's message |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110213302A true CN110213302A (en) | 2019-09-06 |
Family
ID=67797140
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910626359.2A Pending CN110213302A (en) | 2019-07-11 | 2019-07-11 | A kind of method, computer-readable medium and system pushing welcome's message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110213302A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111049846A (en) * | 2019-12-20 | 2020-04-21 | 北京明略软件系统有限公司 | Data processing method and device, electronic equipment and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104519095A (en) * | 2013-09-29 | 2015-04-15 | 重庆新媒农信科技有限公司 | Dynamic message pushing method and system thereof, server-side, and client |
CN108989429A (en) * | 2018-07-19 | 2018-12-11 | 平安科技(深圳)有限公司 | The method, apparatus of real-time update page data, electronic equipment |
CN109101580A (en) * | 2018-07-20 | 2018-12-28 | 北京北信源信息安全技术有限公司 | A kind of hot spot data caching method and device based on Redis |
CN109872177A (en) * | 2018-12-24 | 2019-06-11 | 深圳市珍爱捷云信息技术有限公司 | Flow path processing method, device, computer equipment and computer readable storage medium |
-
2019
- 2019-07-11 CN CN201910626359.2A patent/CN110213302A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104519095A (en) * | 2013-09-29 | 2015-04-15 | 重庆新媒农信科技有限公司 | Dynamic message pushing method and system thereof, server-side, and client |
CN108989429A (en) * | 2018-07-19 | 2018-12-11 | 平安科技(深圳)有限公司 | The method, apparatus of real-time update page data, electronic equipment |
CN109101580A (en) * | 2018-07-20 | 2018-12-28 | 北京北信源信息安全技术有限公司 | A kind of hot spot data caching method and device based on Redis |
CN109872177A (en) * | 2018-12-24 | 2019-06-11 | 深圳市珍爱捷云信息技术有限公司 | Flow path processing method, device, computer equipment and computer readable storage medium |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111049846A (en) * | 2019-12-20 | 2020-04-21 | 北京明略软件系统有限公司 | Data processing method and device, electronic equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106534257B (en) | A kind of the multi-source security log acquisition system and method for multi-level concentrating type framework | |
US8976938B2 (en) | Deluxe emergency notification | |
CN112953971B (en) | Network security flow intrusion detection method and system | |
CN106100914B (en) | Cloud AC alarm information pushing method and system | |
CN110445856A (en) | A kind of Internet of Things communication part managing and control system and method for supporting multi-protocols access | |
CN104468833B (en) | The method and apparatus that solicited message is uniformly processed | |
CN107172058B (en) | Web attack real-time online detection system based on stream data analysis | |
CN111049673A (en) | Method and system for counting and monitoring API call in service gateway | |
CN113572757B (en) | Server access risk monitoring method and device | |
CN112954031B (en) | Equipment state notification method based on cloud mobile phone | |
CN108090419B (en) | Dynamic face recognition method based on WebSocket protocol | |
CN110213302A (en) | A kind of method, computer-readable medium and system pushing welcome's message | |
CN112969172B (en) | Communication flow control method based on cloud mobile phone | |
CN105933217B (en) | Message synchronization method and platform, network server and adaptive server | |
CN111654499B (en) | Method and device for identifying attack breach based on protocol stack | |
WO2016037489A1 (en) | Method, device and system for monitoring rcs spam messages | |
CN106850404B (en) | Information security processing method and system, first terminal and second terminal | |
CN111614630A (en) | Network security monitoring method and device and cloud WEB application firewall | |
CN115361450A (en) | Request information processing method, apparatus, electronic device, medium, and program product | |
CN111935316B (en) | Method and device for acquiring front-end equipment catalog | |
CN105991845B (en) | Miscommunication calling identifying method and system | |
CN113760726A (en) | Method, device, electronic equipment and medium for testing configuration file | |
CN107564250B (en) | A kind of alarm method and system | |
CN107547853A (en) | Video monitoring system and its monitoring method based on multi-protocol video monitoring device | |
CN113572899A (en) | Method and system for preventing telephone fraud based on end-side network cloud cooperation |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190906 |