CN109450772A - A kind of message method, server and computer readable storage medium - Google Patents
A kind of message method, server and computer readable storage medium Download PDFInfo
- Publication number
- CN109450772A CN109450772A CN201811122690.2A CN201811122690A CN109450772A CN 109450772 A CN109450772 A CN 109450772A CN 201811122690 A CN201811122690 A CN 201811122690A CN 109450772 A CN109450772 A CN 109450772A
- Authority
- CN
- China
- Prior art keywords
- message
- template
- target
- user
- message template
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/06—Message adaptation to terminal or network requirements
- H04L51/066—Format adaptation, e.g. format conversion or compression
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/06—Message adaptation to terminal or network requirements
- H04L51/063—Content adaptation, e.g. replacement of unsuitable content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/06—Network architectures or network communication protocols for network security for supporting key management in a packet data network
- H04L63/062—Network architectures or network communication protocols for network security for supporting key management in a packet data network for key distribution, e.g. centrally by trusted party
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0815—Network architectures or network communication protocols for network security for authentication of entities providing single-sign-on or federations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0876—Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
- H04L9/0869—Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3247—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials involving digital signatures
Abstract
The present invention is suitable for field of artificial intelligence, provides a kind of message method, server and computer readable storage medium, comprising: receives message and sends request;The message sends the identity verifying information of the user of the request carrying initiation message transmission request and the message sends the message identifier for requesting the target message of transmission;The identity verifying information that the user that request carries is sent based on the message carries out proof of identity to the user;If proof of identity passes through, the message identifier that request carries is sent based on the message, obtains and shows the message template to match with the message identifier;The user is obtained for the configuration content of each preset configuration item input in the message template, target message is generated for the configuration content of each preset configuration item input and the message template based on the user, and the target message is sent to target object, to improve message transmitting efficiency, message sending time has been saved.
Description
Technical field
The invention belongs to field of artificial intelligence more particularly to a kind of message method, server and computer can
Read storage medium.
Background technique
In daily life, people are frequently necessary to identical message while being communicated to multiple people, for example, intra-company is different
Message between department is conveyed, the message between corporate business sector and client is conveyed etc..And it is identical being conveyed to multiple people
When message, the prior art works as the message to be conveyed and belongs to same type usually by sender of the message's manual editing's entire message
When message, a large amount of time can be wasted by sender of the message manual editing entire message every time, reduce message transmitting efficiency.
Summary of the invention
In view of this, the embodiment of the invention provides a kind of message method, server and computer-readable storage mediums
Matter, to solve the problems, such as that message transmitting efficiency is low existing for existing message method, wastes time.
The first aspect of the embodiment of the present invention provides a kind of message method, comprising:
It receives message and sends request;The message sends request and carries the identity for initiating the user that the message sends request
Check information and the message send the message identifier for requesting the target message sent;
The identity verifying information that the user that request carries is sent based on the message carries out identity school to the user
It tests;
If proof of identity passes through, based on the message send request carry the message identifier, obtain and show with
The message template that the message identifier matches;
The user is obtained for the configuration content of each preset configuration item input in the message template, based on described
User generates target message for the configuration content of each preset configuration item input and the message template, and to mesh
It marks object and sends the target message.
The second aspect of the embodiment of the present invention provides a kind of server, including memory, processor and is stored in institute
The computer program that can be run in memory and on the processor is stated, the processor executes real when the computer program
Existing following steps:
It receives message and sends request;The message sends request and carries the identity for initiating the user that the message sends request
Check information and the message send the message identifier for requesting the target message sent;
The identity verifying information that the user that request carries is sent based on the message carries out identity school to the user
It tests;
If proof of identity passes through, based on the message send request carry the message identifier, obtain and show with
The message template that the message identifier matches;
The user is obtained for the configuration content of each preset configuration item input in the message template, based on described
User generates target message for the configuration content of each preset configuration item input and the message template, and to mesh
It marks object and sends the target message.
The third aspect of the embodiment of the present invention provides a kind of computer readable storage medium, the computer-readable storage
Media storage has computer program, and the computer program realizes following steps when being executed by processor:
It receives message and sends request;The message sends request and carries the identity for initiating the user that the message sends request
Check information and the message send the message identifier for requesting the target message sent;
The identity verifying information that the user that request carries is sent based on the message carries out identity school to the user
It tests;
If proof of identity passes through, based on the message send request carry the message identifier, obtain and show with
The message template that the message identifier matches;
The user is obtained for the configuration content of each preset configuration item input in the message template, based on described
User generates target message for the configuration content of each preset configuration item input and the message template, and to mesh
It marks object and sends the target message.
Implementing a kind of message method, server and computer readable storage medium provided in an embodiment of the present invention has
Below the utility model has the advantages that
The embodiment of the present invention by being pre-configured with message template in the server, can be with so that user is when sending message
Corresponding message template is obtained by requesting the message identifier of the target message sent, in this way, user need to only be directed to message
The corresponding configuration content of each preset configuration item input in template, the configuration content and disappear that server can be inputted based on user
Template generation target message to be sent is ceased, and target message is sent to object, it is complete without manually editing message
Text improves message transmitting efficiency, has saved the time.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art
Needed in attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is only of the invention some
Embodiment for those of ordinary skill in the art without any creative labor, can also be according to these
Attached drawing obtains other attached drawings.
Fig. 1 is a kind of implementation flow chart for message method that first embodiment of the invention provides;
Fig. 2 is the specific implementation flow chart of S13 in a kind of message method of second embodiment of the invention offer;
Fig. 3 is the specific implementation flow chart of S133 in a kind of message method of second embodiment of the invention offer;
Fig. 4 is a kind of structural block diagram of server provided in an embodiment of the present invention;
Fig. 5 be another embodiment of the present invention provides a kind of server structural block diagram.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
Referring to Fig. 1, Fig. 1 is a kind of implementation flow chart for message method that first embodiment of the invention provides.This
In embodiment, the executing subject of message method is the background server that message sends platform.Message as shown in Figure 1 is sent
Method the following steps are included:
S11: it receives message and sends request;The message sends request and carries the user's for initiating the message transmission request
Identity verifying information and the message send the message identifier for requesting the target message sent.
When user has the demand of Batch sending message, provided in an embodiment of the present invention disappear can be entered by terminal device
Breath sends platform, and the message provided through the embodiment of the present invention sends platform and carrys out Batch sending message.
Wherein, Batch sending message refers to while sending message to multiple and different target objects.Target object can be with
There is the client of business contact in business department belonging to user, be also possible to have with business department belonging to user work to come and go its
The colleague of his department, herein with no restrictions.
Before user sends platform transmission message by message, need first to send platform registration user account in message.Tool
Body, the account that user can send platform interactive interface by triggering message registers option to register user account.Terminal is set
If standby detect that user triggers the account registration option that message sends platform interactive interface, the backstage for sending platform to message is taken
Business device sends account registration request.After server receives the account registration request of terminal device transmission, returned to terminal device
Presupposed information item.Wherein, presupposed information item is the item of information registered user account and need to fill in, and presupposed information item, which includes at least, to be used
The item of information of unique identification is carried out in the identity to user, the item of information for carrying out unique identification for the identity to user can be
The items of information such as work number, identification card number, the cell-phone number of user are arranged, herein with no restrictions with specific reference to actual demand.
After terminal device receives the presupposed information item of server return, presupposed information item is shown in interactive interface, and obtain
The content that family is directed to the input of each presupposed information item is taken, and user is sent to for the content of each presupposed information item input
Server.Content of the server based on the item of information for carrying out unique identification in presupposed information item for the identity to user, detection
Whether the user of current request register account number is the preset user for being authorized to use message and sending platform.Wherein, it can be awarded
Power can be preset using the user that message sends platform by platform administrator, specifically, the administrator that message sends platform can
Safeguard authorized user's inventory in the server in advance, which, which is used to record, can be authorized to use the use that message sends platform
The identity information at family, the identity information of user include but is not limited to the information such as the work number of user, identification card number or cell-phone number.
After server receives the content of each presupposed information item of terminal device return, detect for the identity to user
Whether carrying out the content of the item of information of unique identification, be included in can be in authorized user's inventory.If server is detected for user
The content of the identity item of information that carries out unique identification be included in and can then determine that current request registers user in authorized user's inventory
The user of account is the user that can be authorized to use message and send platform, and server is active user's distributing user account at this time.
In the embodiment of the present invention, in order to improve the safety of user account, server is for user's distributing user account
Meanwhile a key for being verified to its identity can be also distributed for user.It should be noted that server is user point
What the key matched was randomly generated, server is that different users distributes different keys, and server can distribute user
The user account of key and user is associated storage.
When needing to send platform transmission message by message, user can pass through its user account log messages registered
Platform is sent, and triggers the message delivery option that message sends platform.If terminal device detects that user triggers message desk
Message delivery option then reminds user's input for verifying the key of its identity and its requesting the message of the target message sent
Mark.Wherein, message sends the background service of platform when the key for verifying user identity is user's registration user account
The key that device distributes for it;Message identifier can be the type of service mark of the affiliated business of message, be also possible to message template volume
Number, herein with no restrictions.
The key and predetermined encryption rule generation identity verifying information that terminal device is inputted based on user, and identity-based school
The message identifier of user account and target message testing information, currently logging in generates message and sends request, and message transmission is asked
It asks and is sent to the background server that message sends platform.Wherein, message sends and requests to carry identity verifying information, currently logs in
The message identifier of user account and target message.In practical applications, predetermined encryption rule can determine according to actual needs, herein
With no restrictions.
After the message that the background server that message sends platform receives terminal device transmission sends request, message hair is extracted
The message identifier of the identity verifying information, user account and target message that send request to carry.
S12: sending the identity verifying information for the user that request carries based on the message, carries out body to the user
Part verification.
In the embodiment of the present invention, the background server that message sends platform is sent in request from message extracts initiation message
Send request user identity verifying information after, be based on the identity verifying information, to initiate message send request user into
Row proof of identity.
Specifically, server is sent the user account of request carrying, pre-stored user account based on message and is to use
Default corresponding relationship between the key of family distribution determines that message sends the corresponding key of user account that request carries, and base
The corresponding key of user account that request carries is sent in message and predetermined encryption rule generates electronic signature.Wherein, it presets and adds
Close rule is that message sends the background server of platform and sends the encryption that the terminal device of platform is appointed for disposing message
Rule.
Server by message send request carry identity verifying information be compared with the electronic signature of generation, based on than
Compared with as a result, sending the user's progress proof of identity requested to message is initiated.Specifically, if server detects that message sends request
The identity verifying information of carrying and the electronic signature of generation are identical, then are determined as that proof of identity passes through, at this point, server is held
Row S13;It requests the identity verifying information of carrying different from the electronic signature of generation if server detects that message is sent, determines
For proof of identity failure, requested at this point, server is not responding to the message transmission that terminal device is sent.
S13: if proof of identity passes through, the message identifier that request carries is sent based on the message, obtains and opens up
Show the message template to match with the message identifier.
In practical applications, multiple and different message templates can be pre-configured in the server according to business demand, and
It is numbered for each message template.Wherein, the message template of different messages template is numbered different, and each message template is corresponding
A kind of type of service, different message templates can correspond to different types of service, can also correspond to identical type of service, i.e.,
Multiple and different message templates can be configured under same type of service.Server can be by message template number, message template pair
The type of service mark and message template answered are associated storage.It should be noted that each message template be each equipped with it is multiple
Preset configuration item.Wherein, type of service belonging to preset configuration Xiang Weiyu message template is related and/or related to message recipient
Item of information, the content of preset configuration item needs user to input, and the preset configuration item that different messages template includes is different.
Illustratively, for the message template of this type of service of premium collection, the content of message template can be with are as follows: ××
You are good, you have the insurance of a ×× type will expire need it is continuous pay premium, premium is continuous, and to pay day be the × moon × day, current period premium
For ×× member, troublesome you continue insurance as early as possible.Correspondingly, the preset configuration item that message template includes includes: insurer's name, wait continue insurance
The type of insurance, premium is continuous pays day, premium to be paid.
In practical applications, message identifier can be the type of service mark of the affiliated business of message, be also possible to message mould
Plate number.In the embodiment of the present invention, if server passes through the proof of identity for initiating the user that message sends request, it is based on disappearing
Breath sends the message identifier for the target message for requesting to send that request carries, and ceases template number, the corresponding business of message template
Default corresponding relationship between type identification and message template determines message mould associated with the message identifier of target message
Plate, and the message template is determined as to the message template to match with the message identifier of target message, meanwhile, server will be with mesh
The message template that the message identifier of mark message matches shows user, so that user is for the message identifier phase with target message
The corresponding configuration content of each preset configuration item input in matched message template.
S14: the user is obtained for the configuration content of each preset configuration item input in the message template, is based on
The user generates target message for the configuration content of each preset configuration item input and the message template, and
The target message is sent to target object.
After the message template that message identifier with target message matches is showed user by server, obtains user and be directed to
The configuration content of each preset configuration item input in the message template, and based on user for each pre- in the message template
If the configuration content and the message template of configuration item input generate target message.Specifically, user is directed to message mould by server
The configuration content of each preset configuration item input in plate is combined with message template, and then generates the target for requesting to send
Message.
Illustratively, in conjunction with the example in S13, if user is for the configuration content point of above-mentioned each preset configuration item input
Not are as follows: Li little Jie, whole-life insurance, May 20,1000 yuan, then these configuration contents are combined by server with message template
Obtained target message are as follows: you are good by Miss Li, you have the insurance of a whole-life insurance type will expire need it is continuous pay premium, protect
Fei Xu pays day as May 20, and current period premium is 1000 yuan, and troublesome you continue insurance as early as possible.
After server generates target message, which is sent to target object.In practical application, server can be with
Target message is sent to target object in the form of mail, short message or instant communication information.
Wherein, the contact method of target object can be the identity school in server to the user for initiating message transmission request
It tests by rear, reminds user to input or import by server, be arranged with specific reference to actual demand, herein with no restrictions.
As another embodiment of the present invention, after S12, can with the following steps are included:
If proof of identity fails, it is not responding to the message and sends request.
In the present embodiment, if server fails to the proof of identity for initiating the user that message sends request, illustrate to initiate
The user that message sends request is not the user for being authorized to use message and sending platform, is set at this point, server is not responding to terminal
The message that preparation is sent sends request.
Above as can be seen that a kind of message method provided in this embodiment, is disappeared by being pre-configured in the server
Template is ceased, so that user when sending message, can obtain corresponding by requesting the message identifier of the target message sent
Message template, in this way, user only need to be for the corresponding configuration content of each preset configuration item input in message template, service
The configuration content and message template that device can be inputted based on user generate target message to be sent, and target message is sent to
Object improves message transmitting efficiency, has saved the time without manually editing entire message.
Referring to Fig. 2, Fig. 2 is the specific implementation of S13 in a kind of message method of second embodiment of the invention offer
Flow chart.In the present embodiment, the message identifier that message sends the target message that request carries is the industry of the affiliated business of target message
Service type mark, relative to the corresponding embodiment of Fig. 1, in a kind of message method provided in this embodiment, S13 specifically can be with
Including S131~S132, details are as follows:
S131: if proof of identity passes through, the affiliated business of the target message that request carries is sent based on the message
Type of service mark, the default corresponding relationship between type of service mark and message template, it is determining with the target message institute
The type of service of category business identifies associated message template.
It is previously stored in the background server of message transmission platform default between type of service mark and message template
Corresponding relationship.In the present embodiment, if server passes through the proof of identity for initiating the user that message sends request, it is based on message
It sends default between the type of service mark, type of service mark and message template of the affiliated business of target message that request carries
Corresponding relationship determines message template associated with the type of service of the affiliated business of target message mark.
In practical applications, since same type of service can configure multiple and different message templates, disappear with target
It may be one that the type of service of business belonging to ceasing, which identifies associated message template, it is also possible to be multiple.In the present embodiment, clothes
After business device has determined message template associated with the type of service of the affiliated business of target message mark, statistics and target message institute
The type of service of category business identifies the number of associated message template.If server detects and the affiliated business of target message
It is one that type of service, which identifies associated message template, then executes S132.
S132: if message template associated with the type of service of the affiliated business of target message mark is one,
Message template associated with the type of service of the affiliated business of target message mark is determined as and the message identifier phase
Matched message template.
In the present embodiment, if server detects message associated with the type of service of the affiliated business of target message mark
Template is one, then a message template is directly determined as the message template to match with the message identifier of target message.
Can also include S133, details are as follows after S131 as another embodiment of the present invention:
S133: if message template associated with the type of service of the affiliated business of target message mark is at least two
It is a, it is determined that the priority of at least two message template, by the institute of highest priority at least two message template
It states message template and is determined as the message template to match with the message identifier.
In the present embodiment, if server detects message associated with the type of service of the affiliated business of target message mark
Template is at least two, it is determined that the priority of at least two message template, and will be preferential at least two message template
The high message template of grade is determined as the message template to match with the message identifier of template message.
Specifically, server can be determined and the affiliated business of target message based on S1331~S1333 as shown in Figure 3
Type of service identify the priority of associated at least two message template, details are as follows:
S1331: the frequency of usage and response rate of at least two message template are obtained.
S1332: the frequency of usage of at least two message template and response rate are input to preset message template and obtained
Score value computation model calculates the score value of each message template at least two message template;The message template
Score value computation model are as follows:
Score=a × fre+b × ln (1+reply);
Wherein, Score is the score value of the message template, and a and b are preset weight coefficient, and fre is the message mould
The frequency of usage of plate, reply are the response rate of the message template.
S1333: the priority of the message template is determined based on the score value of the message template.
In the present embodiment, server can count and store frequency of usage and the reply of preconfigured each message template
Rate.Wherein, the frequency of usage of message template refers to the total degree that message template is used, and the response rate of message template refers to using message
After template sends target message to target object, the quantity of the target object of the target message and the total quantity of target object are replied
Ratio.
After server has determined message template associated with the type of service of the affiliated business of target message mark, if detection
It is at least two to message template associated with the type of service of the affiliated business of target message mark, then from its memory space
Obtain the frequency of usage and response rate of at least two message template.Server gets the business with the affiliated business of target message
After the frequency of usage and response rate of associated at least two message template of type identification, respectively by the use of each message template
The frequency and response rate are input to preset message template score value computation model, to pass through message template score value computation model point
The score value of each message template at least two message template is not calculated,
Server calculates at least two message template associated with the type of service of the affiliated business of target message mark
In each message template score value after, the priority of at least two message template is determined based on the score value of message template.
Specifically, the highest message template of score value is determined as the message template of highest priority by server.
Above as can be seen that a kind of message method provided in this embodiment, when being stored at least two in server
With when the type of service of the affiliated business of target message sent being requested to identify associated message template, server integrates this extremely
The frequency of usage and response rate of few two message templates, automatically select out highest priority from least two message template
The message template that message template matches as the message identifier with target message, in this way, server based on it is selected go out disappear
The target message for ceasing the configuration content generation of template and user for each preset configuration item input in the message template can be more
With specific aim, message transmitting efficiency is improved.
Referring to Fig. 4, Fig. 4 is a kind of structural block diagram of server provided in an embodiment of the present invention.Clothes in the present embodiment
Business device is the background server that message sends platform.The each unit that the server includes is for executing the corresponding implementation of Fig. 1 to Fig. 3
Each step in example.Referring specifically to the associated description in embodiment corresponding to Fig. 1 to Fig. 3 and Fig. 1 to Fig. 3.In order to just
In explanation, only the parts related to this embodiment are shown.Referring to fig. 4, server 400 includes: communication unit 41, proof of identity
Unit 42, display unit 43 and message sending unit 44.Wherein:
Communication unit 41 sends request for receiving message;The message sends the request carrying initiation message transmission and asks
The identity verifying information of the user asked and the message send the message identifier for requesting the target message sent.
Proof of identity unit 42 is used to send the identity verifying information for the user that request carries based on the message, right
The user carries out proof of identity.
If display unit 43 passes through for proof of identity, the message mark that request carries is sent based on the message
Know, obtains and show the message template to match with the message identifier.
Message sending unit 44 is used to obtain the user for each preset configuration item input in the message template
Configuration content, based on the user for the configuration content and the message template of each preset configuration item input
Target message is generated, and sends the target message to target object.
As an embodiment of the present invention, the message identifier of the target message is the business of the affiliated business of the target message
Type identification;Display unit 43 includes: the first determination unit and the second determination unit.Wherein:
If the first determination unit passes through for proof of identity, the target that request carries is sent based on the message and is disappeared
Default corresponding relationship between the type of service mark of business belonging to ceasing, type of service mark and message template, it is determining with it is described
The type of service of the affiliated business of target message identifies associated message template.
If the second determination unit is used for message mould associated with the type of service of the affiliated business of target message mark
Plate be one, then by message template associated with the type of service of the affiliated business of target message mark be determined as with it is described
The message template that message identifier matches.
As an embodiment of the present invention, display unit 43 further include: third determination unit.
If third determination unit is used for message mould associated with the type of service of the affiliated business of target message mark
Plate is at least two, it is determined that the priority of at least two message template, it will be preferential at least two message template
The highest message template of grade is determined as the message template to match with the message identifier.
As an embodiment of the present invention, third determination unit includes: that first acquisition unit, computing unit and the 4th are determining single
Member.Wherein:
First acquisition unit is used to obtain the frequency of usage and response rate of at least two message template.
Computing unit is used to the frequency of usage of at least two message template and response rate being input to preset message
Template score value computation model calculates the score value of each message template at least two message template;It is described to disappear
Cease template score value computation model are as follows:
Score=a × fre+b × ln (1+reply);
Wherein, Score is the score value of the message template, and a and b are preset weight coefficient, and fre is the message mould
The frequency of usage of plate, reply are the response rate of the message template;
4th determination unit is used to determine the priority of the message template based on the score value of the message template.
As an embodiment of the present invention, server further includes information process unit.
If information process unit fails for proof of identity, it is not responding to the message and sends request.
Above as can be seen that a kind of server provided in this embodiment, by being pre-configured with message template in the server,
So that user when sending message, can obtain corresponding message mould by requesting the message identifier of the target message sent
Plate, in this way, user only need to be for the corresponding configuration content of each preset configuration item input in message template, server can base
Target message to be sent is generated in the configuration content and message template of user's input, and target message is sent to object, from
Without manually editing entire message, message transmitting efficiency is improved, the time has been saved.
Fig. 5 be another embodiment of the present invention provides a kind of server structural block diagram.As shown in figure 5, the embodiment
Server 5 includes: processor 50, memory 51 and is stored in the memory 51 and can run on the processor 50
Computer program 52, such as the program of message method.Processor 50 is realized above-mentioned when executing the computer program 52
Step in each each embodiment of message method, such as S11 shown in FIG. 1 to S14.Alternatively, the processor 50 executes
The function of each unit in the corresponding embodiment of above-mentioned Fig. 4 is realized when the computer program 52, for example, unit shown in Fig. 4 41
It is not repeated herein to 44 function referring specifically to the associated description in the corresponding embodiment of Fig. 4.
Illustratively, the computer program 52 can be divided into one or more units, one or more of
Unit is stored in the memory 51, and is executed by the processor 50, to complete the present invention.One or more of lists
Member can be the series of computation machine program instruction section that can complete specific function, and the instruction segment is for describing the computer journey
Implementation procedure of the sequence 52 in the server 5.For example, the computer program 52 can be divided into communication unit, identity
Verification unit, display unit and message sending unit, each unit concrete function are as described above.
The server may include, but be not limited only to, processor 50, memory 51.It will be understood by those skilled in the art that
Fig. 5 is only the example of server 5, does not constitute the restriction to server 5, may include than illustrating more or fewer portions
Part perhaps combines certain components or different components, such as the server can also include input-output equipment, network
Access device, bus etc..
Alleged processor 50 can be central processing unit (Central Processing Unit, CPU), can also be
Other general processors, digital signal processor (Digital Signal Processor, DSP), specific integrated circuit
(Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-
Programmable Gate Array, FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components etc..General processor can be microprocessor or the processor is also possible to any conventional processor
Deng.
The memory 51 can be the internal storage unit of the server 5, such as the hard disk or memory of server 5.
The memory 51 is also possible to the External memory equipment of the server 5, such as the plug-in type being equipped on the server 5 is hard
Disk, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card
(Flash Card) etc..Further, the memory 51 can also both include the internal storage unit of the server 5 or wrap
Include External memory equipment.The memory 51 is for other programs needed for storing the computer program and the server
And data.The memory 51 can be also used for temporarily storing the data that has exported or will export.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although referring to aforementioned reality
Applying example, invention is explained in detail, those skilled in the art should understand that: it still can be to aforementioned each
Technical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modified
Or replacement, the spirit and scope for technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution should all
It is included within protection scope of the present invention.
Claims (10)
1. a kind of message method characterized by comprising
It receives message and sends request;The message sends request and carries the proof of identity for initiating the user that the message sends request
Information and the message send the message identifier for requesting the target message sent;
The identity verifying information that the user that request carries is sent based on the message carries out proof of identity to the user;
If proof of identity passes through, based on the message send request carry the message identifier, obtain and show with it is described
The message template that message identifier matches;
The user is obtained for the configuration content of each preset configuration item input in the message template, is based on the user
The configuration content and the message template for each preset configuration item input generate target message, and to target pair
As sending the target message.
2. message method according to claim 1, which is characterized in that the message identifier of the target message is described
The type of service of the affiliated business of target message identifies;
If the proof of identity passes through, based on the message send request carry the message identifier, obtain and show with
The message template that the message identifier matches, comprising:
If proof of identity passes through, the type of service for the affiliated business of the target message that request carries is sent based on the message
Default corresponding relationship between mark, type of service mark and message template, the determining industry with the affiliated business of the target message
Service type identifies associated message template;
If message template associated with the type of service of the affiliated business of target message mark is one, will be with the mesh
The type of service of the mark affiliated business of message identifies associated message template and is determined as the message to match with the message identifier
Template.
3. message method according to claim 2, which is characterized in that if the proof of identity passes through, be based on institute
State type of service mark, type of service mark and message template that message sends the affiliated business of the target message that request carries
Between default corresponding relationship, determine associated with the type of service of the affiliated business of target message mark message template it
Afterwards, further includes:
If message template associated with the type of service of the affiliated business of target message mark is at least two, it is determined that institute
The priority for stating at least two message templates, the message template of highest priority at least two message template is true
It is set to the message template to match with the message identifier.
4. message method according to claim 3, which is characterized in that determination at least two message template
Priority, comprising:
Obtain the frequency of usage and response rate of at least two message template;
The frequency of usage of at least two message template and response rate are input to preset message template score value and calculate mould
Type calculates the score value of each message template at least two message template;The message template score value calculates
Model are as follows:
Score=a × fre+b × ln (1+reply);
Wherein, Score is the score value of the message template, and a and b are preset weight coefficient, and fre is the message template
Frequency of usage, reply are the response rate of the message template;
The priority of the message template is determined based on the score value of the message template.
5. message method according to claim 1-4, which is characterized in that described to be sent based on the message
The identity verifying information for requesting the user carried, after user progress proof of identity, further includes:
If proof of identity fails, it is not responding to the message and sends request.
6. a kind of server, which is characterized in that the server includes memory, processor and stores in the memory
And the computer program that can be run on the processor, the processor realize following step when executing the computer program
It is rapid:
It receives message and sends request;The message sends request and carries the proof of identity for initiating the user that the message sends request
Information and the message send the message identifier for requesting the target message sent;
The identity verifying information that the user that request carries is sent based on the message carries out proof of identity to the user;
If proof of identity passes through, based on the message send request carry the message identifier, obtain and show with it is described
The message template that message identifier matches;
The user is obtained for the configuration content of each preset configuration item input in the message template, is based on the user
The configuration content and the message template for each preset configuration item input generate target message, and to target pair
As sending the target message.
7. server according to claim 6, which is characterized in that the message identifier of the target message is that the target disappears
The type of service mark of business belonging to ceasing;
If the proof of identity passes through, based on the message send request carry the message identifier, obtain and show with
The message template that the message identifier matches, comprising:
If proof of identity passes through, the type of service for the affiliated business of the target message that request carries is sent based on the message
Default corresponding relationship between mark, type of service mark and message template, the determining industry with the affiliated business of the target message
Service type identifies associated message template;
If message template associated with the type of service of the affiliated business of target message mark is one, will be with the mesh
The type of service of the mark affiliated business of message identifies associated message template and is determined as the message to match with the message identifier
Template.
8. server according to claim 7, which is characterized in that if the proof of identity passes through, be based on the message
It sends between the type of service mark, type of service mark and message template of the affiliated business of the target message that request carries
Default corresponding relationship, after determining message template associated with the type of service of the affiliated business of target message mark, also
Include:
If message template associated with the type of service of the affiliated business of target message mark is at least two, it is determined that institute
The priority for stating at least two message templates, the message template of highest priority at least two message template is true
It is set to the message template to match with the message identifier.
9. server according to claim 7, which is characterized in that determination at least two message template it is preferential
Grade, comprising:
Obtain the frequency of usage and response rate of at least two message template;
The frequency of usage of at least two message template and response rate are input to preset message template score value and calculate mould
Type calculates the score value of each message template at least two message template;The message template score value calculates
Model are as follows:
Score=a × fre+b × ln (1+reply);
Wherein, Score is the score value of the message template, and a and b are preset weight coefficient, and fre is the message template
Frequency of usage, reply are the response rate of the message template;
The priority of the message template is determined based on the score value of the message template.
10. a kind of computer readable storage medium, the computer-readable recording medium storage has computer program, and feature exists
In when the computer program is executed by processor the step of any one of such as claim 1 to 5 of realization the method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811122690.2A CN109450772B (en) | 2018-09-26 | 2018-09-26 | Message sending method, server and computer readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811122690.2A CN109450772B (en) | 2018-09-26 | 2018-09-26 | Message sending method, server and computer readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109450772A true CN109450772A (en) | 2019-03-08 |
CN109450772B CN109450772B (en) | 2022-08-02 |
Family
ID=65544545
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811122690.2A Active CN109450772B (en) | 2018-09-26 | 2018-09-26 | Message sending method, server and computer readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109450772B (en) |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110336786A (en) * | 2019-05-23 | 2019-10-15 | 平安科技(深圳)有限公司 | Message method, device, computer equipment and storage medium |
CN110782355A (en) * | 2019-11-05 | 2020-02-11 | 泰康保险集团股份有限公司 | Method, device, equipment and storage medium for processing annuity investment supervision information |
CN111049727A (en) * | 2019-11-22 | 2020-04-21 | 用友网络科技股份有限公司 | Message processing method, message processing apparatus, and computer-readable storage medium |
CN111756620A (en) * | 2020-06-28 | 2020-10-09 | 中国银行股份有限公司 | Message pushing method and device |
CN111984901A (en) * | 2020-08-31 | 2020-11-24 | 上海博泰悦臻电子设备制造有限公司 | Message pushing method and related product thereof |
CN112015979A (en) * | 2020-07-24 | 2020-12-01 | 上海淇玥信息技术有限公司 | Method and device for sending information to target crowd and electronic equipment |
CN112182400A (en) * | 2020-10-16 | 2021-01-05 | 中国工商银行股份有限公司 | Message processing method, message processing device, electronic device and storage medium |
CN112383584A (en) * | 2020-10-12 | 2021-02-19 | 联通智网科技有限公司 | Message pushing method, message display method and communication system |
CN114222256A (en) * | 2021-11-16 | 2022-03-22 | 中国建设银行股份有限公司 | Message sending method and device and electronic equipment |
CN114338584A (en) * | 2022-01-11 | 2022-04-12 | 平安科技(深圳)有限公司 | Message withdrawing method and message transmission system |
CN114615221A (en) * | 2020-12-07 | 2022-06-10 | 腾讯科技(深圳)有限公司 | Reply content control method, device, equipment and computer storage medium |
CN114610511A (en) * | 2022-03-07 | 2022-06-10 | 北京百度网讯科技有限公司 | Input verification method and device, electronic equipment and storage medium |
CN114760600A (en) * | 2022-04-01 | 2022-07-15 | 中国银行股份有限公司 | Expense notice sending method and device, storage medium and electronic equipment |
CN116384956A (en) * | 2023-06-05 | 2023-07-04 | 天津金城银行股份有限公司 | Message batch sending method, device, equipment and storage medium |
CN116708025A (en) * | 2023-07-31 | 2023-09-05 | 厦门起量科技有限公司 | Account management method and device based on cloud computing |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104270223A (en) * | 2014-09-10 | 2015-01-07 | 四川九洲电器集团有限责任公司 | Message transmitting method and device |
CN105635464A (en) * | 2015-12-30 | 2016-06-01 | 厦门欣欣信息有限公司 | Message processing method and apparatus |
CN106302116A (en) * | 2016-08-12 | 2017-01-04 | 北京小米移动软件有限公司 | Message method and device |
US20170302455A1 (en) * | 2016-04-15 | 2017-10-19 | International Business Machines Corporation | Construction of digital identity documents in a manner that allows the user to select which attributes are to be revealed |
CN107943775A (en) * | 2017-11-24 | 2018-04-20 | 泰康保险集团股份有限公司 | Method, apparatus, storage medium and the electronic equipment of message push |
CN108235092A (en) * | 2016-12-14 | 2018-06-29 | 杭州芯讯科技有限公司 | information issuing method and device |
CN108337296A (en) * | 2018-01-12 | 2018-07-27 | 深圳壹账通智能科技有限公司 | Message push processing method, device, computer equipment and storage medium |
-
2018
- 2018-09-26 CN CN201811122690.2A patent/CN109450772B/en active Active
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104270223A (en) * | 2014-09-10 | 2015-01-07 | 四川九洲电器集团有限责任公司 | Message transmitting method and device |
CN105635464A (en) * | 2015-12-30 | 2016-06-01 | 厦门欣欣信息有限公司 | Message processing method and apparatus |
US20170302455A1 (en) * | 2016-04-15 | 2017-10-19 | International Business Machines Corporation | Construction of digital identity documents in a manner that allows the user to select which attributes are to be revealed |
CN106302116A (en) * | 2016-08-12 | 2017-01-04 | 北京小米移动软件有限公司 | Message method and device |
CN108235092A (en) * | 2016-12-14 | 2018-06-29 | 杭州芯讯科技有限公司 | information issuing method and device |
CN107943775A (en) * | 2017-11-24 | 2018-04-20 | 泰康保险集团股份有限公司 | Method, apparatus, storage medium and the electronic equipment of message push |
CN108337296A (en) * | 2018-01-12 | 2018-07-27 | 深圳壹账通智能科技有限公司 | Message push processing method, device, computer equipment and storage medium |
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110336786A (en) * | 2019-05-23 | 2019-10-15 | 平安科技(深圳)有限公司 | Message method, device, computer equipment and storage medium |
CN110336786B (en) * | 2019-05-23 | 2022-02-11 | 平安科技(深圳)有限公司 | Message sending method, device, computer equipment and storage medium |
CN110782355A (en) * | 2019-11-05 | 2020-02-11 | 泰康保险集团股份有限公司 | Method, device, equipment and storage medium for processing annuity investment supervision information |
CN111049727A (en) * | 2019-11-22 | 2020-04-21 | 用友网络科技股份有限公司 | Message processing method, message processing apparatus, and computer-readable storage medium |
CN111756620A (en) * | 2020-06-28 | 2020-10-09 | 中国银行股份有限公司 | Message pushing method and device |
CN111756620B (en) * | 2020-06-28 | 2022-05-27 | 中国银行股份有限公司 | Message pushing method and device |
CN112015979A (en) * | 2020-07-24 | 2020-12-01 | 上海淇玥信息技术有限公司 | Method and device for sending information to target crowd and electronic equipment |
CN111984901A (en) * | 2020-08-31 | 2020-11-24 | 上海博泰悦臻电子设备制造有限公司 | Message pushing method and related product thereof |
CN112383584A (en) * | 2020-10-12 | 2021-02-19 | 联通智网科技有限公司 | Message pushing method, message display method and communication system |
CN112182400A (en) * | 2020-10-16 | 2021-01-05 | 中国工商银行股份有限公司 | Message processing method, message processing device, electronic device and storage medium |
CN112182400B (en) * | 2020-10-16 | 2024-03-29 | 中国工商银行股份有限公司 | Message processing method, message processing device, electronic equipment and storage medium |
CN114615221A (en) * | 2020-12-07 | 2022-06-10 | 腾讯科技(深圳)有限公司 | Reply content control method, device, equipment and computer storage medium |
CN114222256A (en) * | 2021-11-16 | 2022-03-22 | 中国建设银行股份有限公司 | Message sending method and device and electronic equipment |
CN114222256B (en) * | 2021-11-16 | 2023-10-20 | 中国建设银行股份有限公司 | Message sending method and device and electronic equipment |
CN114338584A (en) * | 2022-01-11 | 2022-04-12 | 平安科技(深圳)有限公司 | Message withdrawing method and message transmission system |
CN114338584B (en) * | 2022-01-11 | 2023-11-14 | 平安科技(深圳)有限公司 | Message withdraw method and message transmission system |
CN114610511A (en) * | 2022-03-07 | 2022-06-10 | 北京百度网讯科技有限公司 | Input verification method and device, electronic equipment and storage medium |
CN114760600A (en) * | 2022-04-01 | 2022-07-15 | 中国银行股份有限公司 | Expense notice sending method and device, storage medium and electronic equipment |
CN116384956A (en) * | 2023-06-05 | 2023-07-04 | 天津金城银行股份有限公司 | Message batch sending method, device, equipment and storage medium |
CN116384956B (en) * | 2023-06-05 | 2023-08-15 | 天津金城银行股份有限公司 | Message batch sending method, device, equipment and storage medium |
CN116708025A (en) * | 2023-07-31 | 2023-09-05 | 厦门起量科技有限公司 | Account management method and device based on cloud computing |
CN116708025B (en) * | 2023-07-31 | 2023-11-28 | 厦门起量科技有限公司 | Account management method and device based on cloud computing |
Also Published As
Publication number | Publication date |
---|---|
CN109450772B (en) | 2022-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109450772A (en) | A kind of message method, server and computer readable storage medium | |
WO2019214312A1 (en) | Blockchain-based logistics information transmission method, system and device | |
JP6935406B2 (en) | Service implementation method and equipment | |
US20160342977A1 (en) | Device, method and system for virtual asset transactions | |
CN108765023A (en) | A kind of commodity evaluation management method, system and equipment | |
CN107979525A (en) | A kind of red packet distribution method, equipment and medium | |
CN110266872B (en) | Address book data management and control method and device, cloud address book system, computer equipment and computer readable storage medium | |
CN109446788A (en) | A kind of identity identifying method and device, computer storage medium of equipment | |
CN108337210A (en) | Equipment configuration method and device, system | |
CN109214807A (en) | Method, apparatus, computer equipment and the storage medium of management contribution information | |
CN107967759A (en) | Mobile power leasing method, device, terminal and computer-readable recording medium | |
CN111414434B (en) | Block chain-based data transaction management network, transaction device and storage medium | |
CN108718323A (en) | A kind of identity identifying method and system | |
CN107493326A (en) | Network voting processing method, device, server and computer-readable recording medium | |
CN110941840B (en) | Data processing method, system and terminal | |
CN111724146A (en) | Block chain-based digital asset transfer method and device | |
CN114218591A (en) | Digital asset management method capable of realizing anonymous transaction | |
CN115186301B (en) | Information processing method, information processing device, computer equipment and computer readable storage medium | |
CN110135190B (en) | Data management method, server and computer storage medium | |
CN110347750B (en) | Block chain-based data processing method and device | |
CN109872223B (en) | Virtual article transaction method, device, equipment and storage medium | |
CN113946739A (en) | Sensitive data query method, device, equipment and storage medium | |
CN104009955B (en) | A kind of processing method of associated person information, device and system | |
CN111861611A (en) | Resource processing method and device based on block chain, electronic equipment and storage medium | |
CN109544380A (en) | Claims Resolution method and Related product based on location-based service |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |