CN115510366A - Business message pushing method and device, computer equipment and storage medium - Google Patents

Business message pushing method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN115510366A
CN115510366A CN202211456820.2A CN202211456820A CN115510366A CN 115510366 A CN115510366 A CN 115510366A CN 202211456820 A CN202211456820 A CN 202211456820A CN 115510366 A CN115510366 A CN 115510366A
Authority
CN
China
Prior art keywords
message
service
target
template
pushed
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211456820.2A
Other languages
Chinese (zh)
Inventor
于志杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Bailong Mayun Technology Co ltd
Original Assignee
Beijing Bailong Mayun Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Bailong Mayun Technology Co ltd filed Critical Beijing Bailong Mayun Technology Co ltd
Priority to CN202211456820.2A priority Critical patent/CN115510366A/en
Publication of CN115510366A publication Critical patent/CN115510366A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application relates to a business message pushing method, a business message pushing device, a computer device and a storage medium, wherein the method comprises the following steps: acquiring a service message body of a service system, wherein the service message body comprises service template matching information; acquiring a target message template according to the service template matching information; acquiring configuration information of a target message template, and determining one or more target channels pushed by service messages according to the configuration information; and acquiring the message to be pushed of the target message template, and pushing the message to be pushed to one or more target channels. The method can decouple the service push message from the service system, the message can be quickly pushed through the message template without coupling the push message in the service code, the code research and development workload of message push is reduced, and the message push efficiency of new services is improved.

Description

Business message pushing method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of message pushing technologies, and in particular, to a method and an apparatus for pushing a service message, a computer device, and a storage medium.
Background
In the age when app is prevalent, message pushing is used for enhancing the interactive experience among users, so that it is particularly important to be able to flexibly reach the users with messages. Most of the existing access schemes are coupled with a service system, and a message pushing file is coupled in a service code, so that the service system can push messages immediately when the messages are needed to be pushed.
However, each time there is a new push request, the business code needs to be redeveloped. Therefore, the code development workload is increased, resulting in inefficient development of new business codes.
Disclosure of Invention
Therefore, it is necessary to provide a method, an apparatus, a computer device and a storage medium for pushing a service message, which can decouple the service push message from a service system, and can quickly push the message through a message template without coupling the push message in a service code, thereby reducing the code research and development workload of message push and improving the message push efficiency of a new service.
A service message pushing method comprises the following steps: acquiring a service message body of a service system, wherein the service message body comprises service template matching information; acquiring a target message template according to the service template matching information; acquiring configuration information of a target message template, and determining one or more target channels pushed by a service message according to the configuration information; and acquiring the message to be pushed of the target message template, and pushing the message to be pushed to one or more target channels.
In one embodiment, the obtaining of the target message template according to the service template matching information includes: pulling a corresponding template list according to the basic service matching information; acquiring a plurality of message templates corresponding to the template list; matching the service management and control matching information with each message template; and taking the successfully matched message template as a target message template.
In one embodiment, the basic service matching information includes a service line, a scene type and a primary service scene, and the service management and control matching information includes a management and control source and a secondary service scene of the primary service scene; pulling a corresponding template list according to the basic service matching information, comprising: pulling a corresponding list template list according to the service line, the scene type and the primary service scene; matching the service management and control matching information with each message template, comprising: and respectively matching the control source and the secondary service scene with each message template.
In one embodiment, the method includes the steps of obtaining configuration information of a plurality of target message templates, determining one or more target channels pushed by a service message according to the configuration information, and including: acquiring configuration information of each target message template; determining the priority of each target message template according to the configuration information of each target message template; determining one or more target message templates according to the priority of each target message template; determining one or more target channels pushed by the business messages according to the configuration information of one or more target message templates; pushing a message to be pushed to one or more target channels, comprising: and pushing the messages to be pushed of the one or more target message templates to one or more target channels.
In one embodiment, determining one or more target message templates according to the priority of each target message template comprises: identifying a plurality of target message templates with the top priority from high to low according to the priority; determining one or more target channels for pushing the business messages according to the configuration information of one or more target message templates, wherein the method comprises the following steps: determining one or more target channels pushed by the business messages according to the configuration information of a plurality of target message templates with the top priority ranking; pushing messages to be pushed of one or more target message templates to one or more target channels, comprising: and pushing the messages to be pushed in the target message templates with the top priority to one or more target channels.
In one embodiment, a method for pushing a service message further includes: determining reissue strategy information pushed by the service message according to the configuration information, wherein the reissue strategy information comprises an alternative channel of the target channel; and when determining that the pushing of the message to be pushed to one or more target channels fails, pushing the message to be pushed to an alternative channel.
In one embodiment, a method for pushing a service message further includes: determining message display style information pushed by the service message according to the configuration information, wherein the message display style information corresponds to a target channel; pushing a message to be pushed to one or more target channels, including: and pushing the message to be pushed and the message display style information to one or more target channels.
A service message pushing device, comprising: the first acquisition module is used for acquiring a service message body of the service system, wherein the service message body comprises service template matching information; the second acquisition module is used for acquiring a target message template according to the service template matching information; the determining module is used for acquiring configuration information of the target message template and determining one or more target channels pushed by the service messages according to the configuration information; and the pushing module is used for acquiring the message to be pushed of the target message template and pushing the message to be pushed to one or more target channels.
A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of any of the above embodiments when executing the computer program.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any of the above embodiments.
The service message pushing method, the service message pushing device, the computer equipment and the storage medium acquire a service message body of a service system, wherein the service message body comprises service template matching information, acquire a target message template according to the service template matching information, acquire configuration information of the target message template, determine one or more target channels for pushing the service message according to the configuration information, acquire a message to be pushed of the target message template, and push the message to be pushed to the one or more target channels.
Therefore, the service push message and the service system are decoupled, the push message does not need to be coupled in the service code, when the service push message of the service system is received, the target message template is obtained, the channel for message push is determined based on the configuration information of the target message template, and then the message to be pushed in the target message template is sent to the corresponding channel, so that the code research and development workload of message push is reduced, and the message push efficiency of a new service is improved.
Drawings
Fig. 1 is a diagram of an application environment of a service message pushing method in an embodiment;
fig. 2 is a schematic flowchart of a service message pushing method in an embodiment;
FIG. 3 is a schematic diagram illustrating a configuration interface of service template matching information according to an embodiment;
FIG. 4 is a flow diagram of matching message templates, in one embodiment;
FIG. 5 is a schematic diagram illustrating a configuration interface for reissuing policy information, according to an embodiment;
FIG. 6 is a diagram of a configuration interface for message presentation style information, according to an embodiment;
FIG. 7 is a flow diagram illustrating template matching and variable replacement in one embodiment;
fig. 8 is a block diagram illustrating a structure of a service message pushing apparatus in an embodiment;
FIG. 9 is a diagram illustrating an internal structure of a computer device according to an embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
The application provides a service message pushing method, which is applied to an application environment shown in fig. 1. As shown in fig. 1, the reach center is used for executing a service message pushing method of the present application. Specifically, as shown in fig. 1, the business system is used for managing various businesses, such as scheduling services, order services, management of user assets, service management, and marketing services. Based on the internal service management requirement, when a message needs to be pushed to a client of a user, a service message body is sent to a touch-to-center station by the service system, wherein the service message body comprises service template matching information, and the service template matching information is used for matching a corresponding target message template by the touch-to-center station.
The touchup center receives a service message body sent by a service system through an RPC (Remote Procedure Call) layer. The touch-to-reach center station comprises a template buffer, a template matcher, a protocol converter and a voice and short message sending function. The touch center obtains a plurality of corresponding templates from a template service system, a template management system and a template verification system.
The touch center acquires a service message body of a service system, acquires a target message template according to service template matching information, acquires configuration information of the target message template, determines one or more target channels pushed by the service message according to the configuration information, acquires a message to be pushed of the target message template, and pushes the message to be pushed to one or more target channels of a channel layer through a channel route. The channel layer comprises a channel pushed inside the terminal, a channel of message box service, a channel pushed outside the terminal, a channel of short messages and a channel of voice. The target channel may be any of the channels described above. In addition, the background can also be provided with an active pushing module, namely, the touch-up middle station does not need to wait for the indication of the service system and actively pushes the service message to the channel layer.
In one embodiment, as shown in fig. 2, a service message pushing method is provided, which is described by taking the application of the method to reach middleboxes in fig. 1 as an example, and includes the following steps:
s202, acquiring a service message body of the service system, wherein the service message body comprises service template matching information.
In this embodiment, as shown in fig. 1, the business system is used to manage various businesses, such as scheduling service, order service, user asset management service, service management and control, marketing service, and the like. And when the service system needs to push a message to the client of the user based on the internal service management requirement, sending a service message body to the touch relay. For example, the business message body may be a message body of a push message of a marketing service, a message body of a push message of a service administration, a message body of a push message of an order service, and the like.
The service message body comprises service template matching information, and the service template matching information is used for touching the relay station to match out a corresponding target message template. For example, the service template matching information includes identification information for identifying the target message template. Or, the service template matching information includes a plurality of matching conditions.
And S204, acquiring a target message template according to the service template matching information.
In this embodiment, the touchup center matches a target message template based on the service template matching information. For example, the service template matching information includes identification information for identifying the target message template, and the target message template is matched by the identification information. The service template matching information may include a plurality of matching conditions, and the target message template is matched according to each matching condition.
S206, obtaining the configuration information of the target message template, and determining one or more target channels pushed by the service message according to the configuration information.
In this embodiment, information configuration is performed on each message template in advance to obtain configuration information of each message template. The configuration information includes channel information of one or more target channels pushed by the message, and may also include template matching information of each message template, and the like.
And determining one or more target channels pushed by the business messages according to the configuration information. Can be as follows: and acquiring channel identification information from the configuration information, and identifying a target channel according to the channel identification information. The channel identification information may be a channel code or a channel name. And when the configuration information comprises channel information of a plurality of target channels, determining the plurality of target channels. For example, the one or more target channels include an app internal push channel, a message bar push channel, a short message push channel, a telephone voice message push channel, and the like. Therefore, various channels for pushing the messages can be integrated, and the channels for pushing the messages can be flexibly selected singly or combined and selected aiming at the same message template, so that the reach rate is greatly improved.
And S208, obtaining the message to be pushed of the target message template, and pushing the message to be pushed to one or more target channels.
In this embodiment, the target message template is pre-configured with the message to be pushed. For example, the message to be pushed is an epidemic prevention message, marketing campaign information, and the like. Can be as follows: and directly extracting the message to be pushed from the target message template. And identifying an interface of the target channel through the port parameters, and then sending the message to be pushed to the target channel through the interface of the target channel.
According to the service message pushing method, the service pushing message and the service system are decoupled, the pushing message does not need to be coupled in the service code, when the service pushing message of the service system is received, the target message template is obtained, the channel for message pushing is determined based on the configuration information of the target message template, and then the message to be pushed in the target message template is sent to the corresponding channel, so that the code research and development workload of message pushing is reduced, and the message pushing efficiency of a new service is improved.
In an embodiment, the service template matching information includes basic service matching information and service management and control matching information, and the step of obtaining the target message template according to the service template matching information includes: pulling a corresponding template list according to the basic service matching information; acquiring a plurality of message templates corresponding to the template list; matching with each message template according to the service management and control matching information; and taking the successfully matched message template as a target message template.
In this embodiment, the basic service matching information contains basic service information used for template matching. For example, the basic service matching information includes basic information such as a service line, a service scene, and a service type. The service management and control matching information includes management information and control information of the service. For example, the service management matching information includes a secondary service scenario that manages the source and the primary service scenario.
And pulling the corresponding template list according to the basic service matching information, and preliminarily screening a plurality of message templates meeting the basic service requirements. Wherein, the template list records a plurality of message templates corresponding to the basic service matching information. And matching the service management and control matching information with each message template and taking the successfully matched message template as a target message template. Therefore, the target message template can be accurately determined.
In one embodiment, the basic service matching information includes a service line, a scene type and a primary service scene, and the service management and control matching information includes a management and control source and a secondary service scene of the primary service scene; the step of pulling the corresponding template list according to the basic service matching information includes: pulling a corresponding list template list according to the service line, the scene type and the primary service scene; the matching with each message template according to the service management and control matching information includes: and respectively matching the control source and the secondary service scene with each message template.
In this embodiment, as shown in fig. 3, the basic service matching information includes a service line, a scene type, and a primary service scene. For example, a business line includes an interurban, a scenario type includes a governing service, and a primary business scenario includes a violation. In addition, the basic service matching information may further include a template name. The service management and control matching information comprises a management and control source and a secondary service scene of the primary service scene. For example, the governing source includes a primary channel. The secondary service scenario refers to a branch scenario under the primary service scenario. For example, the primary business scenario includes an violation, and the secondary business scenario includes a malicious cash-out under the violation scenario. Therefore, through multi-level information matching, an accurate message template can be obtained.
Respectively matching the control source and the secondary service scene with each message template, comprising the following steps: and matching the key value pair representing the control source with the key value pair of each message template, and matching the key value pair representing the secondary service scene with the key value pair of each message template. And when the two are successfully matched, determining the target message template.
The specific matching process comprises the following steps: the touch-to-center platform pulls a corresponding template list according to the service line, the scene type and the primary service scene; and traversing each message template, and matching the key value pair of the service management and control matching information transmitted by the service system according to the key value pair in the configuration information of the message template. And when the key value pair of the message template is matched with the key value pair of the service management and control matching information transmitted by the service system, determining the corresponding message template as a target message template.
In an embodiment, the obtaining of the configuration information of the target message template and determining one or more target channels pushed by the service message according to the configuration information includes: acquiring configuration information of each target message template; determining the priority of each target message template according to the configuration information of each target message template; determining one or more target message templates according to the priority of each target message template; determining one or more target channels pushed by the business messages according to the configuration information of one or more target message templates; the pushing of the message to be pushed to one or more target channels includes: and pushing the messages to be pushed of the one or more target message templates to one or more target channels.
In this embodiment, a plurality of target message templates are obtained according to the service template matching information. The configuration information of the target message templates is provided with priorities, one or more target message templates are determined according to the priority sequence, and then the messages to be pushed of the one or more target message templates are pushed to a target channel. Therefore, the message to be pushed can be accurately acquired and pushed.
In an embodiment, the step of determining one or more target message templates according to the priority of each target message template includes: identifying a plurality of target message templates with the top priority ranking according to the priorities from high to low; the determining one or more target channels for pushing the service messages according to the configuration information of the one or more target message templates includes: determining one or more target channels pushed by the service messages according to the configuration information of a plurality of target message templates with the top priority ranking; the pushing of the messages to be pushed of the one or more target message templates to the one or more target channels includes: and pushing the messages to be pushed in the target message templates with the top priority to one or more target channels.
In this embodiment, a plurality of target message templates with higher priority levels are screened out, and each target message template corresponds to a different message to be pushed. And determining a target channel corresponding to each target message template according to the configuration information of each target message template, and further pushing the message to be pushed corresponding to each target message template to the target channel corresponding to each target message template. And if the target channels corresponding to the target message templates are the same, simultaneously pushing a plurality of messages to be pushed to the same target channel.
Specifically, as shown in fig. 4, when the matching of the message templates is performed, if a plurality of message templates are matched, the priorities of the message templates are sorted, and the message template with the highest priority is selected as the target message template. Or filtering out message templates with lower priority, and taking a plurality of message templates with higher priority as target message templates.
In an embodiment, after the step of pushing the message to be pushed to one or more target channels, the method further includes: determining reissue strategy information pushed by the service message according to the configuration information, wherein the reissue strategy information comprises an alternative channel of the target channel; and when determining that the message to be pushed is failed to be pushed to one or more target channels, pushing the message to be pushed to an alternative channel.
In this embodiment, the configuration information of the target message template is also configured with reissue policy information. The reissue strategy information comprises alternative channels of the target channel. When the message to be pushed fails to be pushed to the target channel, the message to be pushed is pushed to the alternative channel, so that the pushing accuracy of the message to be pushed can be ensured. For example, the target channel is an app end, and the alternative channel is a short message end. If the message to be pushed fails to be pushed to the app end, the message to be pushed can be pushed in a short message mode.
In one example, as shown in FIG. 5. The reissue strategy information comprises configuration information of whether the message to be pushed is reissued after being sent to the target channel, and configuration information of the target channel and the alternative channel. Therefore, various sending channels are integrated, backup channel sending can be performed after the first-choice channel fails, and the reach rate of the message to be pushed is greatly improved.
In an embodiment, before the step of pushing the message to be pushed to one or more target channels, the method further includes: determining message display style information pushed by the service message according to the configuration information, wherein the message display style information corresponds to a target channel; the step of pushing the message to be pushed to one or more target channels includes: and pushing the message to be pushed and the message display style information to one or more target channels.
In this embodiment, the client displays the message to be pushed according to the message display style information. The message presentation style information corresponds to the target channel. Namely, the target channel is an app end and corresponds to one message display style information. The target channel is a short message and shows style information corresponding to another message. The specific message presentation style is determined by the configuration information of the target message template. For example, as shown in fig. 6, the target channel includes a client and a short message. The message display style information comprises display setting, voice broadcasting, broadcasting sound effect, voice characteristics and the like. And pushing the message to be pushed and the message display style information to the client side, and displaying the message to be pushed by the client side according to the message display style information.
In an embodiment, the step of obtaining the message to be pushed of the target message template includes: and acquiring tenant information, city information and additional information corresponding to one or more target channels, replacing the tenant information, the city information and the additional information with a tenant information variable, a city information variable and an additional information variable of a target information template respectively, and generating a message to be pushed according to the replaced target information template.
Specifically, the flow of template matching and variable replacement is shown in fig. 7. As shown in fig. 7, when the target message template specifies an additional template for the platform, tenant information matching, city information matching, and additional message matching are performed, and corresponding variable replacement is performed. After the variable replacement is completed, the target message template contains specific information of the target channel, so that the message to be pushed of the target channel can be generated. Therefore, the specified message content can be further decoupled from the service code, and the specified message content is loaded into the target message template in a variable replacement mode, so that the development amount of the service code is reduced.
In the service message pushing method in the embodiment, the pushed message can be extracted in a message template mode, the message template can be flexibly configured in a unified management mode, and the content of the template in the message template can be flexibly replaced and assembled in a variable replacement mode according to a specific scene. Therefore, the push message and the service code are decoupled, and the unified management of the push message is realized. When a new pushing requirement exists, the pushing message is directly obtained in a template matching mode, the pushing channel is determined, and the pushing message of the template is directly pushed to the channel, so that the code development amount of the pushing service is reduced.
It should be understood that, although the steps in the flowchart are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in the figures may include multiple sub-steps or multiple stages that are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or stages is not necessarily sequential, but may be performed alternately or alternately with other steps or at least some of the sub-steps or stages of other steps.
As shown in fig. 8, the apparatus includes a first obtaining module 802, a second obtaining module 804, a determining module 806, and a pushing module 808. A first obtaining module 802, configured to obtain a service message body of a service system, where the service message body includes service template matching information; a second obtaining module 804, configured to obtain a target message template according to the service template matching information; a determining module 806, configured to obtain configuration information of a target message template, and determine one or more target channels pushed by a service message according to the configuration information; the pushing module 808 is configured to obtain a message to be pushed of the target message template, and push the message to be pushed to one or more target channels.
In one embodiment, the service template matching information includes basic service matching information and service management and control matching information, and the obtaining of the target message template according to the service template matching information includes: pulling a corresponding template list according to the basic service matching information; acquiring a plurality of message templates corresponding to the template list; matching the service management and control matching information with each message template; and taking the successfully matched message template as a target message template.
In one embodiment, the basic service matching information includes a service line, a scene type and a primary service scene, and the service management and control matching information includes a management and control source and a secondary service scene of the primary service scene; pulling a corresponding template list according to the basic service matching information, comprising: pulling a corresponding list template list according to the service line, the scene type and the primary service scene; matching the service management and control matching information with each message template, including: and respectively matching the control source and the secondary service scene with each message template.
In one embodiment, the method includes the steps of obtaining configuration information of a plurality of target message templates, determining one or more target channels pushed by a service message according to the configuration information, and including: acquiring configuration information of each target message template; determining the priority of each target message template according to the configuration information of each target message template; determining one or more target message templates according to the priority of each target message template; determining one or more target channels pushed by the business messages according to the configuration information of one or more target message templates; pushing a message to be pushed to one or more target channels, comprising: and pushing the messages to be pushed of the one or more target message templates to one or more target channels.
In one embodiment, determining one or more target message templates according to the priority of each target message template comprises: identifying a plurality of target message templates with the top priority from high to low according to the priority; determining one or more target channels for pushing the business messages according to the configuration information of one or more target message templates, wherein the method comprises the following steps: determining one or more target channels pushed by the business messages according to the configuration information of a plurality of target message templates with the top priority ranking; pushing messages to be pushed of one or more target message templates to one or more target channels, comprising: and pushing the messages to be pushed in the target message templates with the top priority to one or more target channels.
In one embodiment, a service message pushing apparatus further includes a reissue template, configured to determine reissue policy information for pushing a service message according to configuration information, where the reissue policy information includes an alternative channel of a target channel; and when determining that the pushing of the message to be pushed to one or more target channels fails, pushing the message to be pushed to an alternative channel.
In one embodiment, the service message pushing device further includes an identification module, configured to determine, according to configuration information, message display style information pushed by the service message, where the message display style information corresponds to a target channel; pushing a message to be pushed to one or more target channels, comprising: and pushing the message to be pushed and the message display style information to one or more target channels.
For specific definition of the service message pushing device, refer to the above definition of the service message pushing method, which is not described herein again. The modules in the service message pushing device may be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a server supporting touch-to-desktop operation, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, a network interface, and a database connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for connecting with the service system so as to receive the service message body sent by the service system. The computer program is executed by a processor to implement a method of pushing a business message.
Those skilled in the art will appreciate that the architecture shown in fig. 9 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program: acquiring a service message body of a service system, wherein the service message body comprises service template matching information; acquiring a target message template according to the service template matching information; acquiring configuration information of a target message template, and determining one or more target channels pushed by a service message according to the configuration information; and acquiring the message to be pushed of the target message template, and pushing the message to be pushed to one or more target channels.
In one embodiment, the service template matching information includes basic service matching information and service management and control matching information, and when the processor executes the computer program to implement the step of obtaining the target message template according to the service template matching information, the following steps are specifically implemented: pulling a corresponding template list according to the basic service matching information; acquiring a plurality of message templates corresponding to the template list; matching the service management and control matching information with each message template; and taking the successfully matched message template as a target message template.
In one embodiment, the basic service matching information includes a service line, a scene type and a primary service scene, and the service management and control matching information includes a management and control source and a secondary service scene of the primary service scene; when the processor executes the computer program to realize the step of pulling the corresponding template list according to the basic service matching information, the following steps are specifically realized: pulling a corresponding list template list according to the service line, the scene type and the primary service scene; when the processor executes the computer program to realize the step of matching the service management and control matching information with each message template, the following steps are specifically realized: and respectively matching the control source and the secondary service scene with each message template.
In one embodiment, the number of the target message templates is multiple, and the processor executes the computer program to implement the step of obtaining the configuration information of the target message template, and when determining one or more target channels for pushing the service message according to the configuration information, the following steps are specifically implemented: acquiring configuration information of each target message template; determining the priority of each target message template according to the configuration information of each target message template; determining one or more target message templates according to the priority of each target message template; determining one or more target channels pushed by the business messages according to the configuration information of one or more target message templates; when the processor executes the computer program to realize the step of pushing the message to be pushed to one or more target channels, the following steps are specifically realized: and pushing the messages to be pushed of the one or more target message templates to one or more target channels.
In one embodiment, when the processor executes the computer program to implement the step of determining one or more target message templates according to the priority of each target message template, the following steps are specifically implemented: identifying a plurality of target message templates with the top priority from high to low according to the priority; when the processor executes the computer program to realize the step of determining one or more target channels for pushing the service messages according to the configuration information of one or more target message templates, the following steps are specifically realized: determining one or more target channels pushed by the service messages according to the configuration information of a plurality of target message templates with the top priority ranking; when the processor executes the computer program to realize the step of pushing the message to be pushed of the one or more target message templates to the one or more target channels, the following steps are specifically realized: and pushing the messages to be pushed in the target message templates with the top priority to one or more target channels.
In one embodiment, the processor, when executing the computer program, performs the steps of: determining reissue strategy information pushed by the service message according to the configuration information, wherein the reissue strategy information comprises an alternative channel of the target channel; and when determining that the pushing of the message to be pushed to one or more target channels fails, pushing the message to be pushed to an alternative channel.
In one embodiment, the processor when executing the computer program implements the steps of: determining message display style information pushed by the service message according to the configuration information, wherein the message display style information corresponds to a target channel; when the processor executes the computer program to realize the step of pushing the message to be pushed to one or more target channels, the following steps are specifically realized: and pushing the message to be pushed and the message display style information to one or more target channels.
In one embodiment, a computer-readable storage medium is provided, having a computer program stored thereon, which when executed by a processor, performs the steps of: acquiring a service message body of a service system, wherein the service message body comprises service template matching information; acquiring a target message template according to the service template matching information; acquiring configuration information of a target message template, and determining one or more target channels pushed by a service message according to the configuration information; and acquiring the message to be pushed of the target message template, and pushing the message to be pushed to one or more target channels.
In one embodiment, the service template matching information includes basic service matching information and service management and control matching information, and when the processor executes the step of obtaining the target message template according to the service template matching information, the following steps are specifically implemented: pulling a corresponding template list according to the basic service matching information; acquiring a plurality of message templates corresponding to the template list; matching the service management and control matching information with each message template; and taking the successfully matched message template as a target message template.
In one embodiment, the basic service matching information includes a service line, a scene type and a primary service scene, and the service management and control matching information includes a management and control source and a secondary service scene of the primary service scene; when the computer program is executed by the processor to realize the step of pulling the corresponding template list according to the basic service matching information, the following steps are specifically realized: pulling a corresponding list template list according to the service line, the scene type and the primary service scene; when the computer program is executed by the processor to implement the step of matching the service management and control matching information with each message template, the following steps are specifically implemented: and respectively matching the control source and the secondary service scene with each message template.
In one embodiment, the number of the target message templates is multiple, and the computer program is executed by the processor to implement the step of obtaining the configuration information of the target message template, and when determining one or more target channels for pushing the service message according to the configuration information, the following steps are specifically implemented: acquiring configuration information of each target message template; determining the priority of each target message template according to the configuration information of each target message template; determining one or more target message templates according to the priority of each target message template; determining one or more target channels pushed by the business messages according to the configuration information of one or more target message templates; when the computer program is executed by the processor to realize the step of pushing the message to be pushed to one or more target channels, the following steps are specifically realized: and pushing the messages to be pushed of the one or more target message templates to one or more target channels.
In one embodiment, when the computer program is executed by the processor to implement the above step of determining one or more target message templates according to the priority of each target message template, the following steps are specifically implemented: identifying a plurality of target message templates with the top priority ranking according to the priorities from high to low; when the computer program is executed by the processor to implement the step of determining one or more target channels for pushing the service message according to the configuration information of the one or more target message templates, the following steps are specifically implemented: determining one or more target channels pushed by the business messages according to the configuration information of a plurality of target message templates with the top priority ranking; when the computer program is executed by the processor to realize the step of pushing the message to be pushed of the one or more target message templates to the one or more target channels, the following steps are specifically realized: and pushing the messages to be pushed in the target message templates with the top priority to one or more target channels.
In one embodiment, the computer program when executed by the processor performs the steps of: determining reissue strategy information pushed by the service message according to the configuration information, wherein the reissue strategy information comprises an alternative channel of the target channel; and when determining that the pushing of the message to be pushed to one or more target channels fails, pushing the message to be pushed to an alternative channel.
In one embodiment, the computer program when executed by a processor performs the steps of: determining message display style information pushed by the service message according to the configuration information, wherein the message display style information corresponds to a target channel; when the computer program is executed by the processor to realize the step of pushing the message to be pushed to one or more target channels, the following steps are specifically realized: and pushing the message to be pushed and the message display style information to one or more target channels.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above may be implemented by hardware instructions of a computer program, which may be stored in a non-volatile computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically Programmable ROM (EPROM), electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous Link DRAM (SLDRAM), rambus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is specific and detailed, but not to be understood as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. A method for pushing service messages is characterized by comprising the following steps:
acquiring a service message body of a service system, wherein the service message body comprises service template matching information;
acquiring a target message template according to the service template matching information;
acquiring configuration information of the target message template, and determining one or more target channels pushed by the service message according to the configuration information;
and acquiring the message to be pushed of the target message template, and pushing the message to be pushed to the one or more target channels.
2. The method according to claim 1, wherein the service template matching information includes basic service matching information and service management and control matching information, and the obtaining a target message template according to the service template matching information includes:
pulling a corresponding template list according to the basic service matching information;
acquiring a plurality of message templates corresponding to the template list;
matching the service management and control matching information with each message template;
and taking the successfully matched message template as the target message template.
3. The method of claim 2, wherein the basic service matching information comprises a service line, a scene type and a primary service scene, and the service management and control matching information comprises a secondary service scene which manages a source and the primary service scene;
the pulling of the corresponding template list according to the basic service matching information includes:
pulling a corresponding list template list according to the service line, the scene type and the primary service scene;
the matching the service management and control matching information with each message template includes:
and respectively matching the control source and the secondary service scene with each message template.
4. The method of claim 1, wherein the plurality of target message templates are provided, and the obtaining configuration information of the target message template and determining one or more target channels for pushing the service message according to the configuration information comprise:
acquiring configuration information of each target message template;
determining the priority of each target message template according to the configuration information of each target message template;
determining one or more target message templates according to the priority of each target message template;
determining one or more target channels pushed by the business messages according to the configuration information of the one or more target message templates;
the pushing the message to be pushed to the one or more target channels comprises:
and pushing the messages to be pushed of the one or more target message templates to the one or more target channels.
5. The method of claim 4, wherein determining one or more target message templates according to the priority of each target message template comprises:
identifying a plurality of target message templates with the top priority ranking according to the priorities from high to low;
the determining one or more target channels for pushing the service messages according to the configuration information of the one or more target message templates comprises:
determining one or more target channels pushed by the service messages according to the configuration information of the target message templates with the top priority ranking;
the pushing the messages to be pushed of the one or more target message templates to the one or more target channels comprises:
and pushing the messages to be pushed in the target message templates with the top priority to the one or more target channels.
6. The method of claim 1, further comprising:
determining the reissue strategy information pushed by the service message according to the configuration information, wherein the reissue strategy information comprises an alternative channel of the target channel;
and when determining that the message to be pushed is failed to be pushed to the one or more target channels, pushing the message to be pushed to the alternative channel.
7. The method of claim 1, further comprising:
determining message display style information pushed by a service message according to the configuration information, wherein the message display style information corresponds to the target channel;
the pushing the message to be pushed to the one or more target channels comprises:
and pushing the message to be pushed and the message display style information to the one or more target channels.
8. A service message push apparatus, wherein the apparatus comprises:
the first acquisition module is used for acquiring a service message body of a service system, wherein the service message body comprises service template matching information;
the second acquisition module is used for acquiring a target message template according to the service template matching information;
the determining module is used for acquiring the configuration information of the target message template and determining one or more target channels pushed by the service message according to the configuration information;
and the pushing module is used for acquiring the message to be pushed of the target message template and pushing the message to be pushed to the one or more target channels.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the steps of the method of any of claims 1 to 7 are implemented when the computer program is executed by the processor.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN202211456820.2A 2022-11-21 2022-11-21 Business message pushing method and device, computer equipment and storage medium Pending CN115510366A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211456820.2A CN115510366A (en) 2022-11-21 2022-11-21 Business message pushing method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211456820.2A CN115510366A (en) 2022-11-21 2022-11-21 Business message pushing method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115510366A true CN115510366A (en) 2022-12-23

Family

ID=84514284

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211456820.2A Pending CN115510366A (en) 2022-11-21 2022-11-21 Business message pushing method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115510366A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116112547A (en) * 2022-12-28 2023-05-12 广州市玄武无线科技股份有限公司 Message pushing method, system, device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104591A (en) * 2014-08-06 2014-10-15 携程计算机技术(上海)有限公司 Message pushing method and system
CN104580179A (en) * 2014-12-27 2015-04-29 腾讯科技(深圳)有限公司 Message processing method and device, as well as server
CN105354284A (en) * 2015-10-30 2016-02-24 小米科技有限责任公司 Template processing method and apparatus and short message identification method and apparatus
US20160142505A1 (en) * 2014-11-17 2016-05-19 Samsung Electronics Co., Ltd. Method and apparatus for processing message
CN106096995A (en) * 2016-05-31 2016-11-09 腾讯科技(深圳)有限公司 Advertising creative processing method and advertising creative processing means
CN108595283A (en) * 2018-05-11 2018-09-28 深圳壹账通智能科技有限公司 A kind of information push method, electronic device, computer equipment and storage medium
CN113839977A (en) * 2020-06-24 2021-12-24 顺丰科技有限公司 Message pushing method and device, computer equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104591A (en) * 2014-08-06 2014-10-15 携程计算机技术(上海)有限公司 Message pushing method and system
US20160142505A1 (en) * 2014-11-17 2016-05-19 Samsung Electronics Co., Ltd. Method and apparatus for processing message
CN104580179A (en) * 2014-12-27 2015-04-29 腾讯科技(深圳)有限公司 Message processing method and device, as well as server
CN105354284A (en) * 2015-10-30 2016-02-24 小米科技有限责任公司 Template processing method and apparatus and short message identification method and apparatus
CN106096995A (en) * 2016-05-31 2016-11-09 腾讯科技(深圳)有限公司 Advertising creative processing method and advertising creative processing means
CN108595283A (en) * 2018-05-11 2018-09-28 深圳壹账通智能科技有限公司 A kind of information push method, electronic device, computer equipment and storage medium
CN113839977A (en) * 2020-06-24 2021-12-24 顺丰科技有限公司 Message pushing method and device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116112547A (en) * 2022-12-28 2023-05-12 广州市玄武无线科技股份有限公司 Message pushing method, system, device and storage medium

Similar Documents

Publication Publication Date Title
CN109474578B (en) Message checking method, device, computer equipment and storage medium
CN110572450B (en) Data synchronization method and device, computer readable storage medium and computer equipment
CN109767240A (en) Cloud customer service distribution method, device, computer equipment and storage medium
CN109039751B (en) Method, device, computer equipment and storage medium for configuring route
CN110490594B (en) Service data processing method and device, computer equipment and storage medium
CN110750267A (en) Service information updating method and device, computer equipment and storage medium
WO2020248375A1 (en) Method and system for synchronizing data between databases, computer device and storage medium
CN108052553B (en) Method and device for generating electronic manual, computer equipment and storage medium
CN110647540A (en) Business data query method and device, computer equipment and storage medium
CN108966159B (en) Short message withdrawing method, system, computer equipment and storage medium
CN108052550B (en) Annuity data receiving method and device, computer equipment and storage medium
CN111522874A (en) Block chain consensus method, block chain consensus device, computer equipment and storage medium
CN111159233A (en) Distributed caching method, system, computer device and storage medium
CN115510366A (en) Business message pushing method and device, computer equipment and storage medium
CN109766316A (en) File acquisition method, device, computer equipment and storage medium
CN115396192A (en) User identity verification method and device, computer equipment and storage medium
CN112311902A (en) File sending method and device based on micro-service
CN111260475A (en) Data processing method, block chain node point equipment and storage medium
CN114640957A (en) Short message sending method, system, equipment and computer readable storage medium
CN110659272A (en) Data cleaning method and system
CN112132671A (en) Invoice information acquisition method and device, computer equipment and storage medium
CN116414628A (en) Transaction request processing method and device in new and old system switching process
CN113742681B (en) Account management method and device, computer equipment and storage medium
CN107784548B (en) Order processing method and device
CN116107801A (en) Transaction processing method and related product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20221223

RJ01 Rejection of invention patent application after publication