CN111027298A - Message sending method, system, computer device and storage medium - Google Patents

Message sending method, system, computer device and storage medium Download PDF

Info

Publication number
CN111027298A
CN111027298A CN201910480209.5A CN201910480209A CN111027298A CN 111027298 A CN111027298 A CN 111027298A CN 201910480209 A CN201910480209 A CN 201910480209A CN 111027298 A CN111027298 A CN 111027298A
Authority
CN
China
Prior art keywords
message
data
sent
custom
sending
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
CN201910480209.5A
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.)
Zhuhai Suibian Technology Co ltd
Original Assignee
Zhuhai Suibian 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 Zhuhai Suibian Technology Co ltd filed Critical Zhuhai Suibian Technology Co ltd
Priority to CN201910480209.5A priority Critical patent/CN111027298A/en
Publication of CN111027298A publication Critical patent/CN111027298A/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
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/01Customer relationship services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • Accounting & Taxation (AREA)
  • General Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Databases & Information Systems (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention relates to a message sending method, a message sending system, computer equipment and a storage medium, wherein the method comprises the following steps: determining a message template according to a message to be sent; acquiring system data corresponding to system variables containing messages to be sent; receiving custom data corresponding to the custom variables sent by the service server; generating a message body based on the message template according to the system data and the custom data; sending the message body to a corresponding client; the content data of the message to be sent can be obtained through the system variable and the user-defined variable, the message template is selected according to the opportunity of the service scene, the dependence of a third-party template is reduced, when a new message to be sent is added into the system to be sent, the message template only needs to be added or changed, and the flexible matching of the message is realized.

Description

Message sending method, system, computer device and storage medium
Technical Field
The present invention relates to the field of communications, and in particular, to a message sending method, system, computer device, and storage medium.
Background
In the e-commerce operation process, along with the sending and receiving of multiple channels of messages, each service system in the current environment is directly connected with the bottom layer service of a message center in a butt joint mode, sending rules are involved, content editing is processed by each service system, and the service parties need to re-encode, test and online if the information file is replaced by an operator, a platform template is replaced by a three-party platform, and the like, so that the operation can be completed.
However, the existing scheme has the problem of high code intrusiveness, and has a sending requirement, a set of sending package codes needs to be maintained, the maintenance cost is high, one-time change needs to correspond to one or more systems and simultaneously be on line, and the management and the maintenance are inconvenient.
Disclosure of Invention
In view of the above, to solve the technical problems or some technical problems, embodiments of the present invention provide a message sending method, a message sending system, a computer device, and a storage medium.
In a first aspect, an embodiment of the present invention provides a message sending method, applied to a message sending system, including:
determining a message template according to a message to be sent;
acquiring system data corresponding to system variables containing messages to be sent;
receiving custom data corresponding to the custom variables sent by the service server;
generating a message body based on the message template according to the system data and the custom data;
and sending the message body to a corresponding client.
In one possible embodiment, before the generating a message body based on the message template according to the system data and the custom data, the method further includes:
analyzing the system data and the user-defined data to obtain corresponding variable values;
verifying whether the variable value is correct, and verifying whether the variable value meets a message publishing condition.
In a possible embodiment, the receiving the customized data corresponding to the customized variable sent by the service server includes:
and receiving the custom data corresponding to the custom variable sent by the service server and the authorization parameter corresponding to the custom variable through an interface of the service server by adopting a protocol corresponding to the interface.
In a possible embodiment, the parsing the system data and the custom data to obtain corresponding variable values includes:
analyzing the system data and the user-defined data according to the authorization parameters;
and determining the variable values corresponding to the system data and the custom data.
In one possible embodiment, the generating a message body based on the message template according to the system data and the custom data includes:
and if the variable value is correct and meets the message release condition, generating a message body by the variable value based on the message template.
In one possible embodiment, the method further comprises: determining the scene type of the message to be sent; determining a channel template according to the scene type;
the sending the message body to the corresponding client includes: and sending the message body to a corresponding client according to the channel template.
In one possible embodiment, the custom variable is determined by;
and configuring the custom variable according to the service type, the scene type and the opportunity type of the message to be sent.
In a second aspect, an embodiment of the present invention provides a message sending method, applied to a service server, including:
generating system data according to a message to be sent;
receiving user-defined information input by a user, and generating user-defined data according to the user-defined information;
and sending the system data and the custom data to a message sending system through a data transmission interface.
In a third aspect, an embodiment of the present invention provides a message sending system, including:
the determining module is used for determining a message template of the message to be sent;
the acquisition module is used for acquiring system data corresponding to system variables containing messages to be sent;
the receiving module is used for receiving custom data corresponding to the custom variables sent by the service server;
the generating module is used for generating a message body based on the message template according to the system data and the custom data;
and the sending module is used for sending the message body to the corresponding client.
In a fourth aspect, an embodiment of the present invention provides a computer device, where the computer device includes a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute a message sending program stored in the memory to implement the message sending method according to any one of the first aspect and the second aspect.
In a fifth aspect, an embodiment of the present invention provides a storage medium, where the storage medium stores one or more programs, and the one or more programs are executable by one or more processors to perform the method for sending a message according to any one of the first aspect or the second aspect.
According to the message sending scheme provided by the embodiment of the invention, a message template is determined according to a message to be sent; acquiring system data corresponding to system variables containing messages to be sent; receiving custom data corresponding to the custom variables sent by the service server; generating a message body based on the message template according to the system data and the custom data; sending the message body to a corresponding client; the content data of the message to be sent can be obtained through the system variable and the user-defined variable, the dependence of a third-party template is reduced by selecting the message template according to the opportunity of a service scene, when a new message to be sent is added into the system to be sent, the message template only needs to be added or changed, and the flexible matching of the message is realized.
Drawings
Fig. 1 is a schematic structural diagram of a message sending system according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a message sending method according to an embodiment of the present invention;
fig. 3 is a schematic flowchart of another message sending method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of another message sending system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a service server according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in 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 derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
For the convenience of understanding of the embodiments of the present invention, the following description will be further explained with reference to specific embodiments, which are not to be construed as limiting the embodiments of the present invention.
Fig. 1 is a schematic structural diagram of a message sending system according to an embodiment of the present invention, and as shown in fig. 1, the message sending system 10 specifically includes:
the system comprises a service management module 11, a variable library module 12, a platform template module 13, a service template module 14, a permission management module 15 and a message encapsulation module 16.
Further, the message sending system 10 provided in this embodiment is applied to send messages through multiple channels, and send the current message to different types of carriers for displaying the message through different channels, such as applying the message sending system to update of e-commerce messages, which may be, but is not limited to: the e-commerce message can be displayed and updated on clients in various channels, such as a micro-mail public number, a short message, a small program, an AppPush, a webpage message and the like.
The service management module 11 is configured to manage various services (e.g., delivery messages, logistics messages, preferential spot messages, etc.) of messages to be sent in the message sending system; the variable library module 12 stores a custom variable and a system variable, acquires message content to be sent from a service party through the system variable, and acquires the message content to be sent input by a user through the custom variable; the platform template module 13 stores channel templates corresponding to a plurality of channels, and calls the corresponding channel templates according to the channel of the message to be sent; the service template module 14 stores service modules corresponding to a plurality of services, and calls corresponding message templates according to the service types of messages to be sent; the authority management module 15 is used for authorizing operations such as configuration and execution of the message sending system; the message encapsulation module 16 is configured to encapsulate a message to be sent, and then send the encapsulated message to corresponding clients according to different channels.
Fig. 2 is a schematic flowchart of a message sending method according to an embodiment of the present invention, and as shown in fig. 2, the method specifically includes:
and S21, determining a message template according to the message to be sent.
Further, a message template used for sending the message is determined according to the service scene opportunity of the message to be sent, for example, the message of the notification service corresponds to the message template of the notification service.
Further, the service scene timing can be understood as: the service corresponds to a unique sending opportunity of the message under different scenes, that is, a point for triggering message sending, for example, a time point 5 minutes after a user purchases a commodity and places an order, a time point when the user successfully combines the commodities, or a time point set at will.
Specifically, when the message template is determined, a system variable, a custom variable and a message body generation rule for acquiring content data of a message to be sent are correspondingly determined, and the content data of the message to be sent is acquired from the service server according to the system variable and the custom variable, wherein the message generation rule is used for indicating generation of the message body.
And S22, acquiring system data corresponding to the system variables containing the messages to be sent.
And S23, receiving the custom data corresponding to the custom variables sent by the service server.
In this embodiment, the message sending system determines a system variable and a custom variable of a message to be sent according to a message template of the message to be sent, acquires corresponding system data (such as order data, logistics data, and the like) from the service server according to the system variable, and acquires corresponding custom data (such as a merchant-defined shop benefit spot message opening and robbing time point, coupon issuing number, and the like) from the service server according to the custom variable.
And S24, generating a message body according to the system data and the custom data.
And S25, sending the message body to the corresponding client.
And determining content data of the message to be sent according to the acquired system data and the custom data, generating a message body according to the content data corresponding to the message to be sent based on a message template, and sending the message body to a corresponding client.
Specifically, the system data corresponding to the system variable and the custom data corresponding to the custom variable are generated into the message body based on the generation rule of the message body corresponding to the message template.
In an alternative of the embodiment of the present invention, the message body may also be sent to the corresponding client through multiple channels, for example, sent to the wechat applet through a wechat channel, or sent to the short message client through a short message channel.
The message sending method of the embodiment of the invention determines the message template according to the message to be sent; acquiring system data corresponding to system variables containing messages to be sent; receiving custom data corresponding to the custom variables sent by the service server; generating a message body based on the message template according to the system data and the custom data; the message body is sent to the corresponding client, the content data of the message to be sent can be obtained through the system variable and the user-defined variable, the dependence of a third-party template is reduced by selecting the message template according to the opportunity of a service scene, when a new message to be sent is added into the system to be sent, the message template only needs to be added or changed, and the flexible matching of the message is realized.
Fig. 3 is a schematic flowchart of another message sending method according to an embodiment of the present invention, and as shown in fig. 3, the method specifically includes:
and S31, determining a message template according to the message to be sent.
And S32, acquiring system data corresponding to the system variables containing the messages to be sent.
S33, receiving the self-defined data corresponding to the self-defined variable sent by the service server and the authorization parameter corresponding to the self-defined variable through the interface of the service server by adopting a protocol corresponding to the interface.
In this embodiment, the service server may complete the data sending process by calling an interface of the message sending system, and the system variable and the custom variable transmitted through the interface may be json format parameters.
Further, the message notification system acquires system data from the service server according to the system variables, and receives the custom data from the service server through the custom variables.
Specifically, the system data may be data information (e.g., order data, logistics update data, etc.) stored in the service server, and in this embodiment, the message notification system acquires the stored data information from the service server in the form of system variables; besides the data information stored in the service server, the system also comprises some information which is customized by some users according to the actual requirements of the users (such as the time point of opening and robbing of special preference field information, the number of issued coupons and the like), and the customized information is obtained from the service server in the form of customized variables.
And S34, analyzing the system data and the custom data to obtain corresponding variable values.
Specifically, according to the authorization parameter, analyzing the system data and the user-defined data; and determining the variable values corresponding to the system data and the custom data.
S35, verifying whether the variable value is correct and verifying whether the variable value meets the message issuing condition.
Verifying whether a variable value corresponding to the system data is correct (e.g., verifying whether order information obtained through the system variable is correct) according to the authorization parameter, verifying whether the system data is matched with the custom data, and verifying whether the variable value meets a message publishing condition, where the message publishing condition may be a rule for a client to publish a message, such as whether the message belongs to a violation message, whether the message is yellow-related, toxic-related, and the like.
S36, determining the scene type of the message to be sent, and determining a channel template according to the scene type.
The message sending system determines a corresponding scene type according to the message to be sent, for example, when the message to be sent is a delivery message, the scene type is a notification type message; and then determining corresponding channel templates according to the scene types, namely determining the corresponding channel templates to be respectively as follows when the message needs to be sent to the client through which channels, if the scene is a notification message, and when the notification message is determined to be sent through three channels, namely a micro signal public number channel, a short message channel and an applet channel: a micro message public signal notification type message module, a short message notification type message module and an applet notification type message module.
And S37, if the variable value is correct and meets the message release condition, generating a message body by the variable value based on the message template.
And if the variable values corresponding to the system data and the custom data are correct and the variable values accord with the message release conditions, generating a message body by the variable values based on the message template.
For example, the message template may be:
honored relatives, your order has been shipped.
The specific data corresponding to the variable values are: receiver name (li XX), order number (XXX), commodity (V), delivery location (VV);
the message body generated by basing the variable value on the message template may be:
respected plum XX:
goods V in your order XXX have been shipped out of VV.
And S38, sending the message body to the corresponding client according to the channel template.
For example, system data a corresponding to a system variable A is obtained, custom data B corresponding to a custom variable B is obtained, and a message body D (a + B) is generated by basing the system data a and the custom data B on a message template C; the channel template E corresponds to the WeChat public number, the channel template F corresponds to the short message, D (a + b) is sent to the WeChat client through the channel template E so that the small program of the WeChat client displays D (a + b), and D (a + b) is sent to the short message client through the channel template F so that the short message client displays D (a + b).
The message sending method of the embodiment of the invention determines a message template according to a message to be sent, and obtains system data corresponding to a system variable containing the message to be sent; receiving custom data corresponding to the custom variables sent by the service server; the message body is generated based on the message template according to the system data and the custom data, the message body is sent to the corresponding client, the content data of the message to be sent can be obtained through the system variable and the custom variable, the message template is selected according to the opportunity of the service scene, the dependence of a third-party template is reduced, when a new message to be sent is added into the system to be sent, the message template only needs to be added or changed, the flexible matching of the message is achieved, the message can be synchronously sent to different clients according to the channel template, and the message publishing efficiency is improved.
Fig. 4 is a schematic structural diagram of another message sending system according to an embodiment of the present invention, and as shown in fig. 4, the message sending system specifically includes:
a determining module 401, configured to determine a message template according to a message to be sent;
an obtaining module 402, configured to obtain system data corresponding to a system variable including a message to be sent;
a receiving module 403, configured to receive custom data corresponding to a custom variable sent by a service server;
a generating module 404, configured to generate a message body based on the message template according to the system data and the custom data;
and a sending module 405, configured to send the message body to a corresponding client according to the channel template.
Optionally, the apparatus further comprises: the verification module 406 is configured to analyze the system data and the custom data to obtain a corresponding variable value; verifying whether the variable value is correct, and verifying whether the variable value meets a message publishing condition.
Optionally, the receiving module 403 is further configured to receive, through an interface of a service server, custom data corresponding to the custom variable sent by the service server and an authorization parameter corresponding to the custom variable by using a protocol corresponding to the interface.
Optionally, the determining module 401 is further configured to analyze the system data and the custom data according to the authorization parameter; and determining the variable values corresponding to the system data and the custom data.
Optionally, the generating module 404 is specifically configured to generate a message body based on the message template by using the variable value if the variable value is correct and meets the message publishing condition.
Optionally, the determining module 401 is further configured to determine a scene type of the message to be sent; determining a channel template according to the scene type;
the sending module 405 is specifically configured to send the message body to a corresponding client according to the channel template.
The message sending system provided in this embodiment may be the message sending system shown in fig. 4, and may execute all the steps of the message sending method shown in fig. 2 to 3, so as to achieve the technical effect of the message sending method shown in fig. 2 to 3, which please refer to the related description of fig. 2 to 3 for brevity, which is not described herein again.
Fig. 5 is a schematic structural diagram of a service server according to an embodiment of the present invention, and as shown in fig. 5, the service server specifically includes:
a generating module 501, configured to generate system data according to a message to be sent;
a receiving module 502, configured to receive user-defined information input by a user;
the generating module 501 is further configured to generate custom data according to the custom information;
a sending module 503, configured to send the system data and the custom data to a message sending system through a data transmission interface.
Fig. 6 is a schematic structural diagram of a computer device according to an embodiment of the present invention, where the computer device 600 shown in fig. 6 includes: at least one processor 601, memory 602, at least one network interface 604, and other user interfaces 603. The various components in the mobile terminal 600 are coupled together by a bus system 605. It is understood that the bus system 605 is used to enable communications among the components. The bus system 605 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 605 in fig. 6.
The user interface 603 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It will be appreciated that the memory 602 in embodiments of the invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (PROM), an erasable programmable Read-only memory (erasabprom, EPROM), an electrically erasable programmable Read-only memory (EEPROM), or a flash memory. The volatile memory may be a Random Access Memory (RAM) which functions as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (staticiram, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (syncronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced synchronous SDRAM (ESDRAM), synchronous link SDRAM (SLDRAM), and direct memory bus SDRAM (DRRAM). The memory 602 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 602 stores the following elements, executable units or data structures, or a subset thereof, or an expanded set thereof: an operating system 6021 and application programs 6022.
The operating system 6021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, and is used for implementing various basic services and processing hardware-based tasks. The application program 6022 includes various application programs such as a media player (MediaPlayer), a Browser (Browser), and the like, and is used to implement various application services. A program implementing the method of an embodiment of the invention can be included in the application program 6022.
In the embodiment of the present invention, by calling a program or an instruction stored in the memory 602, specifically, a program or an instruction stored in the application program 6022, the processor 601 is configured to execute the method steps provided by the method embodiments, for example, including:
determining a message template according to a message to be sent; acquiring system data corresponding to system variables containing messages to be sent; receiving custom data corresponding to the custom variables sent by the service server; generating a message body based on the message template according to the system data and the custom data; and sending the message body to a corresponding client.
Optionally, analyzing the system data and the custom data to obtain corresponding variable values; verifying whether the variable value is correct, and verifying whether the variable value meets a message publishing condition.
Optionally, receiving, by an interface of a service server, custom data corresponding to the custom variable sent by the service server and an authorization parameter corresponding to the custom variable by using a protocol corresponding to the interface.
Optionally, analyzing the system data and the custom data according to the authorization parameter; and determining the variable values corresponding to the system data and the custom data.
Optionally, if the variable value is correct and meets the message publishing condition, the variable value is used to generate a message body based on the message template.
Optionally, determining a scene type of the message to be sent; determining a channel template according to the scene type;
and sending the message body to a corresponding client according to the channel template.
Optionally, the custom variable is configured according to the service type, the scene type, and the opportunity type of the message to be sent.
Alternatively, the first and second electrodes may be,
generating a system variable according to a message to be sent; receiving user-defined information input by a user, and generating a user-defined variable according to the user-defined information; and sending the system variable and the custom variable to a message sending system through a data transmission interface.
The method disclosed by the above-mentioned embodiment of the present invention can be applied to the processor 601, or implemented by the processor 601. The processor 601 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 601. The processor 601 may be a general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software elements in the decoding processor. The software elements may be located in ram, flash, rom, prom, or eprom, registers, among other storage media that are well known in the art. The storage medium is located in the memory 602, and the processor 601 reads the information in the memory 602 and completes the steps of the method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units performing the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
The computer device provided in this embodiment may be the computer device shown in fig. 6, and may execute all the steps of the message sending method shown in fig. 2 to 3, so as to achieve the technical effect of the message sending method shown in fig. 2 to 3, which please refer to the related description of fig. 2 to 3 for brevity, which is not described herein again.
The embodiment of the invention also provides a storage medium (computer readable storage medium). The storage medium herein stores one or more programs. Among others, the storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
When one or more programs in the storage medium are executable by one or more processors to implement the above-described message transmission method performed at the message transmission device side.
The processor is configured to execute a message sending program stored in the memory to implement the following steps of a message sending method executed on a message sending device side:
determining a message template according to a message to be sent; acquiring system data corresponding to system variables containing messages to be sent; receiving custom data corresponding to the custom variables sent by the service server; generating a message body based on the message template according to the system data and the custom data; and sending the message body to a corresponding client.
Optionally, analyzing the system data and the custom data to obtain corresponding variable values; verifying whether the variable value is correct, and verifying whether the variable value meets a message publishing condition.
Optionally, receiving, by an interface of a service server, custom data corresponding to the custom variable sent by the service server and an authorization parameter corresponding to the custom variable by using a protocol corresponding to the interface.
Optionally, analyzing the system data and the custom data according to the authorization parameter; and determining the variable values corresponding to the system data and the custom data.
Optionally, if the variable value is correct and meets the message publishing condition, the variable value is used to generate a message body based on the message template.
Optionally, determining a scene type of the message to be sent; determining a channel template according to the scene type;
and sending the message body to a corresponding client according to the channel template.
Optionally, the custom variable is configured according to the service type, the scene type, and the opportunity type of the message to be sent.
Alternatively, the first and second electrodes may be,
generating system data according to a message to be sent; receiving user-defined information input by a user, and generating user-defined data according to the user-defined information; and sending the system data and the custom data to a message sending system through a data transmission interface.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (11)

1. A message sending method is applied to a message sending system and comprises the following steps:
determining a message template according to a message to be sent;
acquiring system data corresponding to system variables containing the message to be sent;
receiving custom data corresponding to the custom variables sent by the service server;
generating a message body based on the message template according to the system data and the custom data;
and sending the message body to a corresponding client.
2. The method of claim 1, further comprising, prior to said generating a message body based on the message template according to the system data and the custom data:
analyzing the system data and the user-defined data to obtain corresponding variable values;
verifying whether the variable value is correct, and verifying whether the variable value meets a message publishing condition.
3. The method of claim 2, wherein the receiving the customization data corresponding to the customization variables sent by the service server comprises:
and receiving the custom data corresponding to the custom variable sent by the service server and the authorization parameter corresponding to the custom variable through an interface of the service server by adopting a protocol corresponding to the interface.
4. The method of claim 3, wherein parsing the system data and the custom data to obtain corresponding variable values comprises:
analyzing the system data and the user-defined data according to the authorization parameters;
and determining the variable values corresponding to the system data and the custom data.
5. The method of claim 4, wherein generating a message body based on the message template according to the system data and the custom data comprises:
and if the variable value is correct and meets the message release condition, generating a message body by the variable value based on the message template.
6. The method of claim 1, further comprising:
determining the scene type of the message to be sent;
determining a channel template according to the scene type;
the sending the message body to the corresponding client includes:
and sending the message body to a corresponding client according to the channel template.
7. The method of claim 1 or 6, wherein the custom variable is determined by;
and configuring the custom variable according to the service type, the scene type and the opportunity type of the message to be sent.
8. A message sending method is applied to a service server and comprises the following steps:
generating system data according to a message to be sent;
receiving user-defined information input by a user, and generating user-defined data according to the user-defined information;
and sending the system data and the custom data to a message sending system through a data transmission interface.
9. A messaging system, comprising:
the determining module is used for determining a message template of the message to be sent;
the acquisition module is used for acquiring system data corresponding to system variables containing messages to be sent;
the receiving module is used for receiving custom data corresponding to the custom variables sent by the service server;
the generating module is used for generating a message body based on the message template according to the system data and the custom data;
and the sending module is used for sending the message body to the corresponding client.
10. A computer device, comprising a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute a message sending program stored in the memory to implement the message sending method according to any one of claims 1 to 8.
11. A storage medium storing one or more programs executable by one or more processors to implement the method of any one of claims 1-8.
CN201910480209.5A 2019-05-31 2019-05-31 Message sending method, system, computer device and storage medium Pending CN111027298A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910480209.5A CN111027298A (en) 2019-05-31 2019-05-31 Message sending method, system, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910480209.5A CN111027298A (en) 2019-05-31 2019-05-31 Message sending method, system, computer device and storage medium

Publications (1)

Publication Number Publication Date
CN111027298A true CN111027298A (en) 2020-04-17

Family

ID=70199945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910480209.5A Pending CN111027298A (en) 2019-05-31 2019-05-31 Message sending method, system, computer device and storage medium

Country Status (1)

Country Link
CN (1) CN111027298A (en)

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111953579A (en) * 2020-07-15 2020-11-17 广州市玄武无线科技股份有限公司 Message generation method, system, terminal and storage medium
CN112152912A (en) * 2020-09-21 2020-12-29 中国建设银行股份有限公司 Message notification method and device
CN112187616A (en) * 2020-08-31 2021-01-05 五八到家有限公司 Message sending method, device and storage medium
CN112468387A (en) * 2020-11-25 2021-03-09 银盛通信有限公司 Template message sending method, computer equipment and computer storage medium
CN112689005A (en) * 2020-12-21 2021-04-20 青岛海尔科技有限公司 Message sending method and device, storage medium and electronic device
CN112799650A (en) * 2021-01-19 2021-05-14 汇通数科智能科技有限公司 System for realizing multi-dimensional message assembly
CN113014475A (en) * 2021-03-12 2021-06-22 中国平安财产保险股份有限公司 Message pushing integration method and device
CN113505577A (en) * 2021-08-18 2021-10-15 上海通联金融服务有限公司 Template engine-based method for dynamically customizing short message
CN113536064A (en) * 2021-07-12 2021-10-22 杭州隆埠科技有限公司 Message sending method and device based on system data
CN113572680A (en) * 2021-07-30 2021-10-29 康键信息技术(深圳)有限公司 Template message sending method, device, equipment and storage medium
CN113656735A (en) * 2021-08-19 2021-11-16 携程商旅信息服务(上海)有限公司 Message pushing system, method, electronic equipment and storage medium
CN113992622A (en) * 2021-09-08 2022-01-28 上海易立德信息技术股份有限公司 Multi-template aggregation message notification sending system and method based on unified model
CN114090126A (en) * 2021-11-23 2022-02-25 浩云科技股份有限公司 Method and device for customizing system variable, terminal equipment and storage medium
CN114615153A (en) * 2022-03-08 2022-06-10 北京商联在线科技有限公司 Message management method, device and system based on user customized information
CN114938357A (en) * 2022-06-07 2022-08-23 中国人民解放军国防科技大学 Open source group cooperative message notification method, device, computer equipment and medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778160A (en) * 2010-01-08 2010-07-14 中兴通讯股份有限公司 Method and device for dynamically presetting message
US20120303724A1 (en) * 2010-02-11 2012-11-29 Zte Corporation Method for realizing a short message customization service and a short message customization service platform
CN104580179A (en) * 2014-12-27 2015-04-29 腾讯科技(深圳)有限公司 Message processing method and device, as well as server
CN105391803A (en) * 2015-12-15 2016-03-09 腾讯科技(深圳)有限公司 Message pushing method and device
CN106384225A (en) * 2016-09-20 2017-02-08 焦点教育科技有限公司 Method for batch transmission of point-to-point notifications based on customized variable fields
CN106533920A (en) * 2016-12-02 2017-03-22 北京红马传媒文化发展有限公司 Customized short message sending system
CN107404431A (en) * 2017-08-22 2017-11-28 国网江苏省电力公司电力科学研究院 A kind of message of account universal retrievals more by all kinds of means sends system of selection and system
CN109639824A (en) * 2018-12-28 2019-04-16 深圳市恒创智达信息技术有限公司 A kind of message push management system and method
CN109788014A (en) * 2017-11-14 2019-05-21 阿里巴巴集团控股有限公司 The message treatment method and device of a kind of Message Processing, Internet of things system

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101778160A (en) * 2010-01-08 2010-07-14 中兴通讯股份有限公司 Method and device for dynamically presetting message
US20120303724A1 (en) * 2010-02-11 2012-11-29 Zte Corporation Method for realizing a short message customization service and a short message customization service platform
CN104580179A (en) * 2014-12-27 2015-04-29 腾讯科技(深圳)有限公司 Message processing method and device, as well as server
CN105391803A (en) * 2015-12-15 2016-03-09 腾讯科技(深圳)有限公司 Message pushing method and device
CN106384225A (en) * 2016-09-20 2017-02-08 焦点教育科技有限公司 Method for batch transmission of point-to-point notifications based on customized variable fields
CN106533920A (en) * 2016-12-02 2017-03-22 北京红马传媒文化发展有限公司 Customized short message sending system
CN107404431A (en) * 2017-08-22 2017-11-28 国网江苏省电力公司电力科学研究院 A kind of message of account universal retrievals more by all kinds of means sends system of selection and system
CN109788014A (en) * 2017-11-14 2019-05-21 阿里巴巴集团控股有限公司 The message treatment method and device of a kind of Message Processing, Internet of things system
CN109639824A (en) * 2018-12-28 2019-04-16 深圳市恒创智达信息技术有限公司 A kind of message push management system and method

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111953579A (en) * 2020-07-15 2020-11-17 广州市玄武无线科技股份有限公司 Message generation method, system, terminal and storage medium
CN112187616A (en) * 2020-08-31 2021-01-05 五八到家有限公司 Message sending method, device and storage medium
CN112152912A (en) * 2020-09-21 2020-12-29 中国建设银行股份有限公司 Message notification method and device
CN112468387A (en) * 2020-11-25 2021-03-09 银盛通信有限公司 Template message sending method, computer equipment and computer storage medium
CN112689005A (en) * 2020-12-21 2021-04-20 青岛海尔科技有限公司 Message sending method and device, storage medium and electronic device
CN112689005B (en) * 2020-12-21 2023-04-07 青岛海尔科技有限公司 Message sending method and device, storage medium and electronic device
CN112799650A (en) * 2021-01-19 2021-05-14 汇通数科智能科技有限公司 System for realizing multi-dimensional message assembly
CN113014475A (en) * 2021-03-12 2021-06-22 中国平安财产保险股份有限公司 Message pushing integration method and device
CN113536064A (en) * 2021-07-12 2021-10-22 杭州隆埠科技有限公司 Message sending method and device based on system data
CN113572680A (en) * 2021-07-30 2021-10-29 康键信息技术(深圳)有限公司 Template message sending method, device, equipment and storage medium
CN113505577A (en) * 2021-08-18 2021-10-15 上海通联金融服务有限公司 Template engine-based method for dynamically customizing short message
CN113656735A (en) * 2021-08-19 2021-11-16 携程商旅信息服务(上海)有限公司 Message pushing system, method, electronic equipment and storage medium
CN113992622A (en) * 2021-09-08 2022-01-28 上海易立德信息技术股份有限公司 Multi-template aggregation message notification sending system and method based on unified model
CN114090126A (en) * 2021-11-23 2022-02-25 浩云科技股份有限公司 Method and device for customizing system variable, terminal equipment and storage medium
CN114615153A (en) * 2022-03-08 2022-06-10 北京商联在线科技有限公司 Message management method, device and system based on user customized information
CN114938357A (en) * 2022-06-07 2022-08-23 中国人民解放军国防科技大学 Open source group cooperative message notification method, device, computer equipment and medium
CN114938357B (en) * 2022-06-07 2024-03-12 中国人民解放军国防科技大学 Open source group collaboration message notification method, device, computer equipment and medium

Similar Documents

Publication Publication Date Title
CN111027298A (en) Message sending method, system, computer device and storage medium
US20200196131A1 (en) Profile Download Method and System, and Related Device
US20220116751A1 (en) Messaging service application programming interface
CN101771993B (en) System and method thereof for realizing polymerization application based on mobile network
JP2021531604A (en) Electronic document signature using blockchain
CN109726571B (en) Electronic signature method and device for document, storage medium and electronic equipment
EP2410771B1 (en) Method and system for implementing location service
CN109818957B (en) Intelligent contract calling method, device and system based on visual interface
KR20140098912A (en) A system and method for distributing allication
US20150358478A1 (en) Systems and methods for identifying and updating service account information
CN113190229A (en) Method and device for generating government affair page
US10979514B2 (en) Flexible message transformation and delivery
EP3713183A1 (en) Network interaction method, electronic device, client, and server
CN105515906A (en) Traffic information calibration method, device and terminal
US10997539B2 (en) Supplier analysis and verification system and method
CN116627666A (en) Processing method and device of notification message, computer equipment and storage medium
CN114697117A (en) Verification method, device, scrambler and system based on positioning information
CN113965360A (en) Intelligent device cloud server access method, device, medium, device and system
CN111767221A (en) Interface test method, device, equipment and storage medium
CN112596812B (en) Response method, device, equipment and storage medium of operation request
CN114546867A (en) Application program interface testing method and device and electronic equipment
CN115426210B (en) Equipment control method, device and system
CN115757191B (en) Data processing method and device
US20230061362A1 (en) Message delivery in cellular roaming scenarios
CN112019584B (en) Resource access control method and device and computer system

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
CB02 Change of applicant information

Address after: 519080 Building 8, No.1, Harbin Institute of technology, Tangjiawan Town, Zhuhai City, Guangdong Province

Applicant after: Zhuhai necessary Industrial Technology Co.,Ltd.

Address before: Building 8, No.1, hagongda Road, Tangjiawan Town, Zhuhai City, Guangdong Province

Applicant before: ZHUHAI SUIBIAN TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
RJ01 Rejection of invention patent application after publication

Application publication date: 20200417

RJ01 Rejection of invention patent application after publication