CN114726914A - Cross-service provider information sending method and device and electronic equipment - Google Patents

Cross-service provider information sending method and device and electronic equipment Download PDF

Info

Publication number
CN114726914A
CN114726914A CN202210383387.8A CN202210383387A CN114726914A CN 114726914 A CN114726914 A CN 114726914A CN 202210383387 A CN202210383387 A CN 202210383387A CN 114726914 A CN114726914 A CN 114726914A
Authority
CN
China
Prior art keywords
template
message
sending
service
target message
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
CN202210383387.8A
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 Ziroom Information Technology Co Ltd
Original Assignee
Beijing Ziroom Information 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 Ziroom Information Technology Co Ltd filed Critical Beijing Ziroom Information Technology Co Ltd
Priority to CN202210383387.8A priority Critical patent/CN114726914A/en
Publication of CN114726914A publication Critical patent/CN114726914A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a method, a device and electronic equipment for sending cross-service provider information, wherein the method is applied to a message sending platform, the message sending platform comprises a plurality of third-party Service (SDK), and the method comprises the following steps: receiving service data sent by a service system, and matching a corresponding target message template from prestored message templates according to service actions in the service data; extracting filling information from the business data based on the vacancy variables in the target message template, and filling the filling information to the vacancy variables of the target message template; and routing the filled target message template to the corresponding third-party service SDK according to a preset sending object in the target message template so as to generate a target message based on the target message template through the corresponding third-party service SDK and send the target message to the preset sending object. The technical scheme provided by the invention reduces the maintenance cost of the business system on the premise of keeping the function of sending messages to various third-party services by the business system.

Description

Cross-service provider information sending method and device and electronic equipment
Technical Field
The invention relates to the field of communication, in particular to a cross-service provider information sending method, a cross-service provider information sending device and electronic equipment.
Background
With the diversified development of business of enterprises, business systems are increasing, for example, a certain enterprise includes banking business, insurance business, real estate business, etc., each business system needs to regularly send messages to a large number of users through third-party services such as wechat public numbers, short messages, wechat robots, App push, etc., in the prior art, a large number of SDKs of the third-party services are generally integrated in each business system, and the messages are sent to the corresponding third-party services by calling the SDKs in the business system. Because the message forms sent by different service systems are various, in the prior art, research and development personnel need to learn how the SDKs provided by various information sending service providers are integrated in different service systems and need to be familiar with how different APIs are used in different service systems, so that the problems of high learning cost and high research and development cost occur. And the SDKs of various service providers are directly integrated into the service system, so that the service system and the SDKs provided by the service providers have high coupling degree and poor compatibility, and the upgrading and maintenance cost of the service system is greatly increased. Therefore, how to realize lightweight cross-service provider information transmission of a business system is an urgent problem to be solved.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method, an apparatus, and an electronic device for sending cross-service provider information, so as to implement a function of sending a custom message to any third-party service without integrating a third-party service SDK in a service system, and reduce maintenance cost of the service system.
According to a first aspect, the present invention provides a cross-service provider information sending method, which is applied to a message sending platform, wherein the message sending platform comprises a plurality of third party service SDKs, and the method comprises: receiving service data sent by a service system, and matching a corresponding target message template from a pre-stored message template according to service actions in the service data; extracting filling information from the business data based on a vacancy variable in a target message template, and filling the filling information to the vacancy variable of the target message template; and routing the filled target message template to a corresponding third-party service SDK according to a preset sending object in the target message template, so as to generate a target message based on the target message template through the corresponding third-party service SDK, and sending the target message to the preset sending object.
Optionally, the step of configuring and generating the message template in the message sending platform includes: the method comprises the steps of displaying a template configuration page, and receiving template configuration information input based on the template configuration page, wherein the template configuration information at least comprises a template name, remark information, a template type, a template state representing whether a template is started or not and a template number used for associating business actions; displaying a message content configuration page corresponding to the template type; receiving a message text, a vacancy variable key value and a sending object which are input based on the message content configuration page; a message template is generated in response to input template configuration information, a message body, a null variable key value, and a transmission object.
Optionally, when the template type is a short message, the message content configuration page further includes an operator template number control, and the operator template number control is configured to receive an input operator template number, where when the operator template number control is triggered, the message content pre-stored in the operator is synchronized into the message content configuration page.
Optionally, when the template type is a WeChat public number, the sending object is a WeChat public number, the message content configuration page further includes a first information receiving component for receiving external input, and the first information receiving component receives at least one of a message text format, a jump webpage address and a jump applet address;
optionally, when the template type is a push message, the sending object is an application program, the message content configuration page further includes a second information receiving component for receiving an external input, and the second information receiving component receives at least one of a message title and jump application interface information.
Optionally, the extracting filling information from the service data based on the empty variable in the target message template, and filling the filling information to the empty variable of the target message template includes: converting the service data into a service data table in a key value pair form; retrieving a corresponding value in the business data table based on a vacancy variable key value in the target message template; and replacing the vacant variable key value in the target message template by the retrieved value so as to update the message text in the target message template.
Optionally, the method further comprises: and generating a sending log for sending the target message, and storing the sending log in a classified manner according to the target object.
According to a second aspect, an embodiment of the present invention provides a cross-service provider information sending apparatus, which is applied to a message sending platform, where the message sending platform includes a plurality of third party services SDKs, and the apparatus includes: the template matching module is used for receiving service data sent by a service system and matching a corresponding target message template from prestored message templates according to service actions in the service data; the variable replacing module is used for extracting filling information from the business data based on the vacancy variables in the target message template and filling the filling information to the vacancy variables of the target message template; and the message sending module is used for routing the filled target message template to a corresponding third-party service SDK according to a preset sending object in the target message template, generating a target message based on the target message template through the corresponding third-party service SDK, and sending the target message to the preset sending object.
According to a third aspect, an embodiment of the present invention provides an electronic device, including: a memory and a processor, the memory and the processor being communicatively coupled to each other, the memory having stored therein computer instructions, and the processor performing the method of the first aspect, or any one of the optional embodiments of the first aspect, by executing the computer instructions.
According to a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores computer instructions for causing a computer to thereby perform the method of the first aspect, or any one of the optional implementation manners of the first aspect.
The technical scheme provided by the application has the following advantages:
according to the technical scheme, multiple third-party Services (SDKs) are integrated in a message sending platform, the platform is in communication connection with multiple service systems, when the service systems need to send messages, the service systems directly send service data to the message sending platform through an http protocol, a large number of message templates are prestored in the message sending platform, different message templates correspond to different service actions in different service systems, and based on the message templates, the message sending platform matches corresponding target message templates from the prestored message templates according to the service actions in the service data; then, retrieving in the service data according to the vacancy variables in the target message template, identifying and extracting filling information corresponding to the vacancy variables, and filling the filling information to the vacancy variables of the target message template; the message template also records a third-party object to be sent by the message in advance, and the message sending platform routes the filled target message template to the corresponding third-party service SDK so as to generate a target message based on the target message template through the corresponding third-party service SDK and send the target message to a preset sending object. Through the steps, message sending services such as WeChat, short message, push, enterprise WeChat robots and the like are uniformly centralized on a message sending platform, centralized configuration type template management is easier to maintain and upgrade, and a service system does not need to maintain a large amount of template data. The information sending SDK deployed in the service system is reduced from multiple different SDKs to one SDK used for communicating with the information platform, and the learning cost of research personnel is effectively reduced. The service system does not need to redeploy a large number of SDKs during upgrading, the coupling degree of the service system and the three-party service code is reduced, the compatibility problem is avoided, the upgrading difficulty of the service system is reduced, and the light cross-service provider information sending function of the service system is realized.
Drawings
The features and advantages of the present invention will be more clearly understood by reference to the accompanying drawings, which are illustrative and not to be construed as limiting the invention in any way, and in which:
FIG. 1 is a diagram illustrating steps of a cross-server message sending method according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram illustrating a cross-server information sending method according to an embodiment of the present invention;
FIG. 3 shows a schematic diagram of a template configuration page in one embodiment of the invention;
FIG. 4 is a diagram illustrating a message content configuration page of a short message template in one embodiment of the invention;
FIG. 5 is a diagram illustrating a message content configuration page of a WeChat public number template in one embodiment of the invention;
FIG. 6 is a diagram illustrating a message content configuration page of a push message template in one embodiment of the invention;
FIG. 7 is a diagram illustrating a message content configuration page of an enterprise micro-ensemble robot template in one embodiment of the present invention;
FIG. 8 is a schematic structural diagram of a cross-server information transmitting apparatus according to an embodiment of the present invention;
fig. 9 shows a schematic structural diagram of an electronic device in an embodiment of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings of the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without inventive step based on the embodiments of the present invention, are within the scope of the present invention.
Referring to fig. 1 and fig. 2, in an embodiment, a cross-server information sending method is applied to a message sending platform, where the message sending platform includes a plurality of third-party services SDKs, and the method includes:
step S101: and receiving service data sent by the service system, and matching a corresponding target message template from pre-stored message templates according to service actions in the service data.
Step S102: and extracting filling information from the business data based on the vacancy variables in the target message template, and filling the filling information to the vacancy variables of the target message template.
Step S103: and routing the filled target message template to the corresponding third-party service SDK according to a preset sending object in the target message template so as to generate a target message based on the target message template through the corresponding third-party service SDK and send the target message to the preset sending object.
Specifically, the message sending platform is deployed in the embodiment of the invention and used as an intermediate platform for docking multiple service systems, so that messages are forwarded to corresponding third-party services according to the message sending requirements of each service system. Firstly, integrating multiple third-party service SDKs in a message sending platform, configuring the SDK of the message sending platform, establishing communication connection between other service systems and the message sending platform through the SDK provided with the message sending platform, when the service systems need to send messages, directly sending service data to the message sending platform by the service systems through an http protocol based on the SDK of the message sending platform, and analyzing service actions in the service data by the message sending platform, for example: the business system is a financial system, the financial system needs to urge to pay the renting of a certain user, the related personal information of the user is sent as business data, and the business data further comprises business actions for urging to pay the renting of the certain user. According to the method, a large number of message templates are prestored in a message sending platform, different message templates are generated by being configured in advance corresponding to different business actions, and based on the message templates, the message sending platform matches corresponding target message templates from the prestored message templates; and then, retrieving in the service data according to the vacancy variables in the target message template, identifying and extracting filling information corresponding to the vacancy variables, and filling the filling information to the vacancy variables of the target message template. For example: a message template includes a message body: "please XX pay house rent before XXX", where "XX" and "XXX" are vacancy variables, the messaging platform may use text recognition methods including, but not limited to, cyclic neural network, convolutional neural network, naive bayes, etc. to recognize the filling information of the current user from the business data according to the semantic meaning of the template context, including name, gender name "mr. birth/woman" and time "2022X month X day". And filling the empty variable with corresponding filling information to generate a complete message text.
In this embodiment, the message template further records a third-party object to be sent by the message in advance, for example, the current template specifies to send the message to the user by a short message. The message sending platform routes the filled target message template to the corresponding third-party service SDK, namely, the target message template is analyzed through the short message SDK to generate the target message, and the target message is sent. Based on the steps in the embodiment, message sending services such as WeChat, short message, push, enterprise WeChat robots and the like are uniformly centralized on a message sending platform, centralized configuration type template management is easier to maintain and upgrade, and a service system does not need to maintain a large amount of template data. The information sending SDK deployed in the service system is reduced from multiple different SDKs to one SDK used for communicating with the information platform, and the learning cost of research personnel is effectively reduced. The service system does not need to redeploy a large number of SDKs during upgrading, the coupling degree of the service system and the three-party service code is reduced, the compatibility problem is avoided, the upgrading difficulty of the service system is reduced, and the light cross-service provider information sending function of the service system is realized.
Specifically, in an embodiment, the step of configuring and generating the message template in the message sending platform includes:
the method comprises the following steps: and displaying a template configuration page, and receiving template configuration information input based on the template configuration page, wherein the template configuration information at least comprises a template name, remark information, a template type, a template state representing whether the template is started or not and a template number for associating business actions.
Step two: and displaying a message content configuration page corresponding to the template type.
Step three: and receiving a message text, a vacancy variable key value and a sending object which are input based on the message content configuration page.
Step four: a message template is generated in response to input template configuration information, a message body, a null variable key value, and a transmission object.
Specifically, research personnel carry out template configuration through a Web UI of an information sending platform, message template configuration is managed in a unified mode, the code amount of service system information sending configuration is reduced, management and multiplexing of the information sending templates are facilitated, and real-time configuration validation can be supported. As shown in fig. 3, a template configuration page is opened through a Web UI of a messaging platform, where the page includes a plurality of fill controls and option controls for prompting a user to input template configuration information, where the template configuration information at least includes a template name, remark information, a template type, a template state representing whether a template is enabled, and a template number for associating a service action. The template name and the remark information are respectively used for simply describing and describing the purpose of the template in detail, so that the later maintenance of research and development personnel is facilitated. The template enabling state is used for determining whether the current template is enabled or not along with the upgrading of an external business system, the template can be disabled at any time when not used and opened when needed, the message template is not required to be deleted, and the subsequent configuration workload of research personnel is reduced. Where the template type predetermines to which third party service the current template needs to be sent. Including but not limited to short messages, WeChat public, Enterprise WeChat swarm Robots, and push messages. When a developer clicks any template type in the page, the Web UI pops up another page, namely a message content configuration page. Different third-party service template contents are usually different, so different parameters can be flexibly configured in a message content configuration page, different message content configurations show different prompt messages, but each message content configuration page at least comprises a message body, a vacancy variable key value and prompt messages of a sending object. Thereby prompting the user to input a message body to be sent, a vacant variable key value for replacement in the message body, and a specific sending object (e.g., a user's mobile phone number or a WeChat public number). The Key value of the vacant variable is a Key in a Key value pair (Key-value) form, and the vacant variable is filled in the Key value form, so that the filling information can be conveniently replaced when the message is sent. The template number is a unique identifier associated with the business action and is used for matching with the business action. And finally, combining all the template information input by the research and development personnel by the message sending platform to generate a message template.
In another embodiment, the template types further support multiple options, multiple template types are configured in one message template to generate a combined template, when service data of the service system is received, the template numbers are matched according to service actions in the service data, if the template numbers show that the corresponding template is the combined template, the message sending platform routes the target message template to multiple third-party service SDKs, and sends the target message at the same time, so that the message sending efficiency is improved.
Specifically, in an embodiment, when the template type is a short message, the message content configuration page further includes an operator template number control, and the operator template number control is configured to receive an input operator template number, where when the operator template number control is triggered, the message content pre-stored in the operator is synchronized into the message content configuration page.
Specifically, in this embodiment, as shown in fig. 4, the message content configuration page is a short message type page, and the page includes an operator template number control, which is used to receive an operator template number input by a research and development staff, and the control is associated with a synchronization template button. The operator template number is the short message template number of the operator, and the short message template needs to be configured and checked in advance at the operator providing the short message service, so that the same template number is used in the message sending platform, and the synchronous template button is clicked. The message sending platform obtains the latest template configuration content through the api interface of the operator according to the template number of the operator, and fills the data of the template content, so that repeated configuration of the message sending platform can be avoided, and the working difficulty of research personnel is reduced.
Specifically, in one embodiment, when the template type is WeChat public number, the sending object is WeChat public number, the message content configuration page further comprises a first information receiving component for receiving external input, and the first information receiving component receives at least one of a message text format, a jump webpage address and a jump applet address.
Specifically, as shown in fig. 5, in this embodiment, when the template type is the wechat public number, the sending object is the specific wechat public number, and the popped message content configuration interface includes a special input control and prompt information for prompting and receiving a developer to input at least one of a message text format, a jump webpage address and a jump applet address. The display function of the WeChat is stronger than that of the short message after the current third-party service is determined to be the WeChat public number, so that more message text plates (such as a row arrangement mode, a picture arrangement mode and the like) can be configured. In addition, research and development personnel input a jump webpage address or a jump small program address in advance, so that a user clicks a received message in a third-party service, a preset webpage or a small program is automatically jumped, and the efficiency of responding the message by the user is improved. For example: and after the user clicks the WeChat public number message, the user can automatically jump to an online renting page, so that the efficiency of responding to the message by the user is improved.
Specifically, in an embodiment, when the template type is a push message, the sending object is an application program, and the message content configuration page further includes a second information receiving component for receiving an external input, where the second information receiving component receives at least one of a message title and jump application interface information.
Specifically, as shown in fig. 6, in this embodiment, when the template type is a PUSH message (i.e. a PUSH in the drawing, such as a pop-up message at a mobile phone or a computer), a message title is also filled in the message content configuration page, so that the user can see a striking title when the client device receives the PUSH message, thereby improving the information receiving efficiency of the user. Research personnel fill in jump application interface information in a message content configuration page, the jump application interface information comprises specific application interface addresses and jump parameters, for example, the application interface is a query interface in an application program, a report number is required to be input when a report is queried, and the jump parameter is input, namely the report number is input in advance. And the user can automatically jump to the corresponding application software interface when clicking the push message, thereby further improving the efficiency of responding to the message by the user.
Specifically, in an embodiment, as shown in fig. 7, when the template type selects "enterprise wechat group robot", a Webhook Key and a message format need to be filled, where the Webhook Key is an identity token of the enterprise wechat robot and indicates that a message is sent to the robot having the token, and in this embodiment, the message format supports a markdown type text, which is a text format supported by the enterprise wechat, which is by way of example and not by way of limitation.
Specifically, in an embodiment, the step S102 specifically includes the following steps:
step five: and converting the service data into a service data table in a key-value pair form.
Step six: and retrieving a corresponding value in the business data table based on the vacancy variable key value in the target message template.
Step seven: and replacing the vacant variable key value in the target message template by the retrieved value so as to update the message text in the target message template.
Specifically, after receiving the service data, the messaging platform first converts the service data, for example, including the user personal information, the contract description information, the contract amount, and the like, into a data table in the form of key value pairs. Then, based on the vacant variable key values pre-configured by the research and development personnel in the fourth step, searching corresponding values in the service data table, for example, the message text is "please { name } { gender name } pay for { date }, the vacant variable key values are { name }, { gender } and { date }, and it is assumed that the message sending platform converts the service data into the service data table by using a text recognition technology, including:
TABLE 1 Business data sheet
{ name } Zhang San
{ sex title } Mr. first
{ date } Year 2022 and month 3
The message sending platform searches corresponding values of Zhang III, Mister and 3 months in 2022 in a service data table through key values, and then replaces vacant variable key values in the target message template by the searched values, so that the message text in the target message template is accurately updated.
Specifically, in an embodiment, the message sending platform provided in the embodiment of the present invention further generates a sending log of a sending target message, and performs classified storage on the sending log according to a target object. In the prior art, history tracing of data provided by each business system or each service provider is needed from sending history logs in modes of WeChat, short message, push, enterprise WeChat robot message and the like, so that positioning is difficult when the message is sent in a problem. The method is convenient for data statistics and historical message query, and greatly improves the positioning speed of the problems on the information sending line.
Through the steps, according to the technical scheme provided by the application, multiple third-party Services (SDKs) are integrated in a message sending platform, the platform is in communication connection with multiple service systems, when the service systems need to send messages, the service systems directly send service data to the message sending platform through an http protocol, a large number of message templates are prestored in the message sending platform, different message templates correspond to different service actions in different service systems, and based on the message templates, the message sending platform matches corresponding target message templates from the prestored message templates according to the service actions in the service data; then, retrieving in the service data according to the vacancy variables in the target message template, identifying and extracting filling information corresponding to the vacancy variables, and filling the filling information to the vacancy variables of the target message template; the message template also records a third-party object to be sent by the message in advance, and the message sending platform routes the filled target message template to the corresponding third-party service SDK so as to generate a target message based on the target message template through the corresponding third-party service SDK and send the target message to a preset sending object. Through the steps, message sending services such as WeChat, short message, push, enterprise WeChat robots and the like are uniformly centralized on a message sending platform, centralized configuration type template management is easier to maintain and upgrade, and a service system does not need to maintain a large amount of template data. The information sending SDK deployed in the service system is reduced from multiple original SDKs to one SDK used for communicating with the information platform, and the learning cost of research and development personnel is effectively reduced. The service system does not need to redeploy a large number of SDKs during upgrading, the coupling degree of the service system and the three-party service code is reduced, the compatibility problem is avoided, the upgrading difficulty of the service system is reduced, and the light cross-service provider information sending function of the service system is realized.
As shown in fig. 8, this embodiment further provides a cross-service provider information sending apparatus, which is applied to a message sending platform, where the message sending platform includes a plurality of third party services SDKs, and the apparatus includes:
the template matching module 101 is configured to receive service data sent by a service system, and match a corresponding target message template from pre-stored message templates according to a service action in the service data. For details, refer to the related description of step S101 in the above method embodiment, and no further description is provided here.
And the variable replacing module 102 is configured to extract filling information from the business data based on the empty variable in the target message template, and fill the filling information to the empty variable of the target message template. For details, refer to the related description of step S102 in the above method embodiment, and no further description is provided here.
The message sending module 103 is configured to route the filled target message template to the corresponding third-party service SDK according to a preset sending object in the target message template, so as to generate a target message based on the target message template through the corresponding third-party service SDK, and send the target message to the preset sending object. For details, refer to the related description of step S103 in the above method embodiment, and details are not repeated herein.
The cross-service provider information sending device provided in the embodiment of the present invention is configured to execute the cross-service provider information sending method provided in the above embodiment, and the implementation manner and the principle thereof are the same, and the details are referred to the related description of the above method embodiment and are not described again.
Through the cooperative cooperation of the above components, the technical scheme provided by the application integrates multiple third-party Services (SDKs) in a message sending platform, the platform establishes communication connection with multiple service systems, when the service systems need to send messages, the service systems directly send service data to the message sending platform through an http protocol, a large number of message templates are prestored in the message sending platform, different message templates correspond to different service actions in different service systems, and based on the message templates, the message sending platform matches corresponding target message templates from the prestored message templates according to the service actions in the analysis service data; then, retrieving in the service data according to the vacancy variables in the target message template, identifying and extracting filling information corresponding to the vacancy variables, and filling the filling information to the vacancy variables of the target message template; the message template also records a third-party object to be sent by the message in advance, and the message sending platform routes the filled target message template to the corresponding third-party service SDK so as to generate a target message based on the target message template through the corresponding third-party service SDK and send the target message to a preset sending object. Through the steps, message sending services such as WeChat, short message, push, enterprise WeChat robots and the like are uniformly centralized on a message sending platform, centralized configuration type template management is easier to maintain and upgrade, and a service system does not need to maintain a large amount of template data. The information sending SDK deployed in the service system is reduced from multiple different SDKs to one SDK used for communicating with the information platform, and the learning cost of research personnel is effectively reduced. The service system does not need to redeploy a large number of SDKs during upgrading, the coupling degree of the service system and the three-party service code is reduced, the compatibility problem is avoided, the upgrading difficulty of the service system is reduced, and the light cross-service provider information sending function of the service system is realized.
Fig. 9 shows an electronic device according to an embodiment of the present invention, where the device includes a processor 901 and a memory 902, which may be connected by a bus or by other means, and fig. 9 illustrates an example of a connection by a bus.
Processor 901 may be a Central Processing Unit (CPU). The Processor 901 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or combinations thereof.
The memory 902, which is a non-transitory computer-readable storage medium, may be used to store non-transitory software programs, non-transitory computer-executable programs, and modules, such as program instructions/modules corresponding to the methods in the above-described method embodiments. The processor 901 executes various functional applications and data processing of the processor by executing non-transitory software programs, instructions and modules stored in the memory 902, that is, implements the methods in the above-described method embodiments.
The memory 902 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor 901, and the like. Further, the memory 902 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 902 may optionally include memory located remotely from the processor 901, which may be connected to the processor 901 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
One or more modules are stored in the memory 902, which when executed by the processor 901 performs the methods in the above-described method embodiments.
The specific details of the electronic device may be understood by referring to the corresponding related descriptions and effects in the above method embodiments, and are not described herein again.
Those skilled in the art will understand that all or part of the processes in the methods of the embodiments described above may be implemented by instructing the relevant hardware through a computer program, and the implemented program may be stored in a computer-readable storage medium, and when executed, may include the processes of the embodiments of the methods described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk Drive (Hard Disk Drive, abbreviated as HDD), or a Solid State Drive (SSD); the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (10)

1. A cross-service provider information sending method is applied to a message sending platform, wherein the message sending platform comprises a plurality of third party Service (SDKs), and the method comprises the following steps:
receiving service data sent by a service system, and matching a corresponding target message template from a pre-stored message template according to service actions in the service data;
extracting filling information from the business data based on a vacancy variable in a target message template, and filling the filling information to the vacancy variable of the target message template;
and routing the filled target message template to a corresponding third-party service SDK according to a preset sending object in the target message template, so as to generate a target message based on the target message template through the corresponding third-party service SDK, and sending the target message to the preset sending object.
2. The method of claim 1, wherein the step of configuring the message template in the messaging platform comprises:
the method comprises the steps of displaying a template configuration page, and receiving template configuration information input based on the template configuration page, wherein the template configuration information at least comprises a template name, remark information, a template type, a template state representing whether a template is started or not and a template number used for associating business actions;
displaying a message content configuration page corresponding to the template type;
receiving a message text, a vacancy variable key value and a sending object which are input based on the message content configuration page;
a message template is generated in response to input template configuration information, a message body, a null variable key value, and a transmission object.
3. The method according to claim 2, wherein when the template type is short message, the message content configuration page further comprises an operator template number control, and the operator template number control is used for receiving an input operator template number, wherein when the operator template number control is triggered, the message content pre-stored in the operator is synchronized into the message content configuration page.
4. The method of claim 2, wherein when the template type is WeChat public number, the transmission object is WeChat public number, and the message content configuration page further comprises a first information receiving component for receiving an external input, wherein the first information receiving component receives at least one of a message body format, a jump web page address, and a jump applet address.
5. The method of claim 2, wherein when the template type is a push message, the sending object is an application program, and the message content configuration page further comprises a second information receiving component for receiving an external input, wherein the second information receiving component receives at least one of a message title and jump application interface information.
6. The method of claim 2, wherein the extracting the filling information from the service data based on the empty variable in the target message template and filling the filling information to the empty variable of the target message template comprises:
converting the service data into a service data table in a key value pair form;
retrieving a corresponding value in the business data table based on a vacancy variable key value in the target message template;
and replacing the vacant variable key value in the target message template by the retrieved value so as to update the message text in the target message template.
7. The method of claim 1, further comprising:
and generating a sending log for sending the target message, and storing the sending log in a classified manner according to the target object.
8. A cross-service provider information sending device is applied to a message sending platform, wherein the message sending platform comprises a plurality of third-party service SDKs, and the device comprises:
the template matching module is used for receiving service data sent by a service system and matching a corresponding target message template from prestored message templates according to service actions in the service data;
the variable replacing module is used for extracting filling information from the business data based on the vacancy variables in the target message template and filling the filling information to the vacancy variables of the target message template;
and the message sending module is used for routing the filled target message template to a corresponding third-party service SDK according to a preset sending object in the target message template, so as to generate a target message based on the target message template through the corresponding third-party service SDK, and sending the target message to the preset sending object.
9. An electronic device, comprising:
a memory and a processor communicatively coupled to each other, the memory having stored therein computer instructions, the processor executing the computer instructions to perform the method of any of claims 1-7.
10. A computer-readable storage medium having stored thereon computer instructions for causing a computer to thereby perform the method of any one of claims 1-7.
CN202210383387.8A 2022-04-12 2022-04-12 Cross-service provider information sending method and device and electronic equipment Pending CN114726914A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210383387.8A CN114726914A (en) 2022-04-12 2022-04-12 Cross-service provider information sending method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210383387.8A CN114726914A (en) 2022-04-12 2022-04-12 Cross-service provider information sending method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114726914A true CN114726914A (en) 2022-07-08

Family

ID=82243659

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210383387.8A Pending CN114726914A (en) 2022-04-12 2022-04-12 Cross-service provider information sending method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114726914A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115600010A (en) * 2022-11-29 2023-01-13 云账户技术(天津)有限公司(Cn) Enterprise information management method and device, electronic equipment and readable storage medium
CN115796143A (en) * 2023-01-18 2023-03-14 鲁班(北京)电子商务科技有限公司 Cross-platform message template configuration method and device
WO2024065112A1 (en) * 2022-09-26 2024-04-04 华为技术有限公司 Packet conversion method and apparatus, and packet receiving method and apparatus

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120179677A1 (en) * 2010-10-27 2012-07-12 Hsbc Technologies Inc. Integrated customer communications computer system and process for implementing same
CN110278220A (en) * 2018-03-14 2019-09-24 广东亿迅科技有限公司 A kind of multimedia message processing method and device
CN110601952A (en) * 2018-06-12 2019-12-20 北京京东尚科信息技术有限公司 Multi-channel message notification sending method and device
CN111614718A (en) * 2020-04-10 2020-09-01 广州市玄武无线科技股份有限公司 Enterprise communication channel fusion method, device, equipment and readable storage medium
CN113014475A (en) * 2021-03-12 2021-06-22 中国平安财产保险股份有限公司 Message pushing integration method and device
US11115373B1 (en) * 2020-06-11 2021-09-07 Movius Interactive Corporation Multi-channel engagement platform converter
CN113760147A (en) * 2021-09-08 2021-12-07 深圳腾银信息咨询有限责任公司 Method for sending interactive message
CN113992622A (en) * 2021-09-08 2022-01-28 上海易立德信息技术股份有限公司 Multi-template aggregation message notification sending system and method based on unified model
CN114301859A (en) * 2022-01-17 2022-04-08 杭萧钢构股份有限公司 Notification message sending method and device, electronic equipment and medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120179677A1 (en) * 2010-10-27 2012-07-12 Hsbc Technologies Inc. Integrated customer communications computer system and process for implementing same
CN110278220A (en) * 2018-03-14 2019-09-24 广东亿迅科技有限公司 A kind of multimedia message processing method and device
CN110601952A (en) * 2018-06-12 2019-12-20 北京京东尚科信息技术有限公司 Multi-channel message notification sending method and device
CN111614718A (en) * 2020-04-10 2020-09-01 广州市玄武无线科技股份有限公司 Enterprise communication channel fusion method, device, equipment and readable storage medium
US11115373B1 (en) * 2020-06-11 2021-09-07 Movius Interactive Corporation Multi-channel engagement platform converter
CN113014475A (en) * 2021-03-12 2021-06-22 中国平安财产保险股份有限公司 Message pushing integration method and device
CN113760147A (en) * 2021-09-08 2021-12-07 深圳腾银信息咨询有限责任公司 Method for sending interactive message
CN113992622A (en) * 2021-09-08 2022-01-28 上海易立德信息技术股份有限公司 Multi-template aggregation message notification sending system and method based on unified model
CN114301859A (en) * 2022-01-17 2022-04-08 杭萧钢构股份有限公司 Notification message sending method and device, electronic equipment and medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024065112A1 (en) * 2022-09-26 2024-04-04 华为技术有限公司 Packet conversion method and apparatus, and packet receiving method and apparatus
CN115600010A (en) * 2022-11-29 2023-01-13 云账户技术(天津)有限公司(Cn) Enterprise information management method and device, electronic equipment and readable storage medium
CN115796143A (en) * 2023-01-18 2023-03-14 鲁班(北京)电子商务科技有限公司 Cross-platform message template configuration method and device

Similar Documents

Publication Publication Date Title
US10523627B1 (en) Integrating offsite data records with online data records
CN114726914A (en) Cross-service provider information sending method and device and electronic equipment
CN109344170B (en) Stream data processing method, system, electronic device and readable storage medium
CN113987074A (en) Distributed service full-link monitoring method and device, electronic equipment and storage medium
BR112016009199B1 (en) VOICE CALLS TRACKING AND MANAGEMENT METHOD AND FORM SUBMISSIONS RELATED TO ACCESS TO NETWORK-BASED CONTENT
US20200349920A1 (en) Organizational-based language model generation
CN111090423B (en) Webhook framework system and method for realizing active calling and event triggering
US11502899B2 (en) Dynamic product installation based on user feedback
US11379446B1 (en) Session-based data storage for chat-based communication sessions
US20180046984A1 (en) Managing the generation of text messages
CN109981745A (en) A kind of journal file processing method and server
CN106603593A (en) HTTP calling method and device based on adaption
CN114816499A (en) Electronic resource sharing method and device and storage medium
CN113760722A (en) Test system and test method
CN115357761A (en) Link tracking method and device, electronic equipment and storage medium
CN111881392A (en) Page display method and device
CN110807535A (en) Construction method and construction device of unified reservation platform and unified reservation platform system
AU2018390863B2 (en) Computer system and method for extracting dynamic content from websites
US7558733B2 (en) System and method for dialog caching
CN116112457A (en) Method, device, computer equipment and storage medium for notifying message
WO2022078397A1 (en) Communication method and apparatus, device, and storage medium
US10938931B1 (en) Central subscription platform
CN110764931B (en) Processing method, system, equipment and storage medium for OTA website uploading certificate
CN111176982A (en) Test interface generation method and device
CN112527290A (en) Method and device for building page based on biological characteristic information

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