CN111400066A - Message distribution method and device - Google Patents

Message distribution method and device Download PDF

Info

Publication number
CN111400066A
CN111400066A CN202010179395.1A CN202010179395A CN111400066A CN 111400066 A CN111400066 A CN 111400066A CN 202010179395 A CN202010179395 A CN 202010179395A CN 111400066 A CN111400066 A CN 111400066A
Authority
CN
China
Prior art keywords
message
binding
sending
field
fields
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010179395.1A
Other languages
Chinese (zh)
Other versions
CN111400066B (en
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 Yunji Technology Co Ltd
Original Assignee
Beijing Yunji 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 Yunji Technology Co Ltd filed Critical Beijing Yunji Technology Co Ltd
Priority to CN202010179395.1A priority Critical patent/CN111400066B/en
Publication of CN111400066A publication Critical patent/CN111400066A/en
Application granted granted Critical
Publication of CN111400066B publication Critical patent/CN111400066B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application provides a message distribution method and a device, wherein the message distribution method comprises the following steps: receiving a message sending request from a first message sending end, wherein the message sending request comprises message content and a message receiver; packaging the message content according to the binding relation corresponding to the first message sending end to generate a binding message; and sending the binding message to a message receiving end according to the message receiver. The message distribution method provided by the embodiment of the application can enable a plurality of applications with message sending requests to share one message pushing system, and reduces the workload of developing the message pushing system.

Description

Message distribution method and device
Technical Field
The present application relates to the field of message sending, and in particular, to a message distribution method and apparatus.
Background
Currently, people are increasingly using mobile phones to handle daily life or work, and therefore, applications developed in internet companies are also increasing, for example: APP, WeChat applet, WeChat public number, Paibao applet, and the like. This causes more and more ways that the system needs to push the message to the user, for example, sending the message generated by the system to the APP on the mobile phone, the wechat platform, the short message, the interphone, the intelligent device of the internet of things, and the like.
At present, each application can only implement customized development based on the business requirement of the application, so that if a plurality of applications in a company need to be developed by each development team to develop the same function, the wheel is repeatedly manufactured, and unnecessary workload is increased. Currently, the technical stacks used by applications in internet companies are more and more, and if each application is still used to develop an own message push system, the development workload and the redundancy of codes are increased. When a business changes and creates a vulnerability, developers need to change programs frequently.
Disclosure of Invention
An object of the embodiments of the present application is to provide a method and an apparatus for distributing a message, which enable a plurality of applications having a message sending request to share a message pushing system, and reduce workload of developing the message pushing system.
In a first aspect, an embodiment of the present application provides a message distribution method, where the message distribution method includes: receiving a message sending request from a first message sending end, wherein the message sending request comprises message content and a message receiver; packaging the message content according to the binding relation corresponding to the first message sending end to generate a binding message; and sending the binding message to a message receiving end according to the message receiver.
The message distribution method provided by the embodiment of the application can enable a plurality of message sending ends or a plurality of applications to share one message pushing system, and reduces the workload for developing the message pushing system.
In some embodiments, the message content of the first message sender includes a plurality of first fields, and the message distribution method further includes: and binding each first field in the plurality of first fields with each field in a message template of a first message receiving end respectively to obtain the binding relationship corresponding to the first message sending end and the first message receiving end.
The field binding function of the embodiment of the application enables other application demand systems to be more easily accessed to the message distribution system to achieve message sending.
In some embodiments, the first message receiving end is a WeChat end, and the binding each of the plurality of first fields with each of fields in a message template of the first message receiving end includes: and dynamically binding each first field in the plurality of first fields with a meaningless field in a message template of the WeChat end.
The method and the device realize dynamic binding of the meaningless field of the WeChat and the meaningful fields of other message sending ends, and avoid the work that the message sending ends need to encapsulate the fields in the sending process of the messages.
In some embodiments, the first message sender is a mall sender, and the plurality of first fields include: an order status field, an address field and a remark field; the dynamically binding each first field in the plurality of first fields with the meaningless field in the message template of the WeChat end respectively comprises: and respectively binding the order state field, the address field and the remark field with the three meaningless fields in the message template.
According to the method and the device, the three meaningless fields of the WeChat (namely the message receiving end) are bound with the meaningful fields of the mall system (namely the message sending end), and the work that the mall system needs to encapsulate the fields when sending the messages is avoided.
In some embodiments, the message distribution method further comprises: generating identity information of the first message sending end; and providing the identity information to the first message sending terminal.
The embodiment of the application allocates one identity information to each message sending end, so that identity authentication of a plurality of message sending ends is facilitated.
In some embodiments, the messaging request includes the identity information; the receiving a message sending request from a first message sending end includes: receiving the identity information from the first message sending end; the message distribution method further comprises: and authenticating the first message sending terminal according to the identity information.
The authentication process of the message sending end is completed by combining the identity information, which aims to verify the correctness of the message generating party and prevent the message sending end from falsely sending the message to the user.
In some embodiments, the first message sending end includes an upper layer service system, and the message receiving end includes a WeChat end or an internet of things device; the upper layer service system sends the message sending request through various open interfaces; the sending the binding message to a message receiving end according to the message receiver comprises: and sending the binding message to the WeChat terminal or the Internet of things equipment according to the message receiver.
The embodiment of the application realizes the directional sending of the message by providing a plurality of open interfaces for the message sending end, and can realize the function of group sending or single sending of the message.
In a second aspect, an embodiment of the present application provides a message distribution apparatus, including: the message sending module is configured to send a message to a first message sender, wherein the message comprises a message content and a message receiver; the binding module is configured to package the message content according to the binding relation corresponding to the first message sending end and generate a binding message; a sending module configured to send the binding message to a message receiving end according to the message recipient.
In a third aspect, embodiments of the present application provide a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, can implement the method of the first aspect.
In a fourth aspect, an embodiment of the present application provides an information processing apparatus, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the program according to the method of the first aspect.
In a fifth aspect, the present application provides a computer program product which, when run on a computer, causes the computer to perform the method of the first aspect or any possible implementation manner of the first aspect.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments of the present application will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and that those skilled in the art can also obtain other related drawings based on the drawings without inventive efforts.
Fig. 1 is a block diagram of a message distribution system according to an embodiment of the present disclosure;
fig. 2 is a flowchart of a message distribution method according to an embodiment of the present application;
fig. 3 is a schematic diagram illustrating a binding of a message sending end field and a message receiving end field according to an embodiment of the present application;
fig. 4 is a schematic diagram of a binding mall end field and a WeChat end field according to an embodiment of the present application;
FIG. 5 is a flow chart of yet another message distribution method according to an embodiment of the present application;
fig. 6 is a block diagram of a message distribution apparatus according to an embodiment of the present application;
fig. 7 is a block diagram of an information processing apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
The message distribution system of the embodiment of the application comprises a message sending end, a message distribution end and a message receiving end, wherein the message sending end generates message content, and the message distribution end is used for receiving the message content and sending the message content to the message receiving end. It should be noted that, in the message distribution end of the embodiment of the present application, a plurality of fields of message content generated by the first message sending end and a plurality of fields in the message template of the first message receiving end need to be bound in advance to obtain a binding relationship; then, when the message sending end has specific message content to send, the message distributing end will bind a plurality of fields of the message content according to the established binding relation, and finally generate the message content which can be read and identified by the message receiving end.
The message distribution system of the embodiment of the present application is exemplarily described below with reference to fig. 1.
Fig. 1 is a block diagram of a message distribution system according to an embodiment of the present application.
The message distribution system of fig. 1 includes an upper layer service end 200 (i.e., fig. 1 exemplarily takes the upper layer service end 200 as a message sending end), a message distribution end 100, and a message receiving end (i.e., the message receiving end of fig. 1 exemplarily includes a wechat applet 111, a wechat public number 112, a short message 121, an android application 122, an apple application 123, an intercom 131, and an internet of things device 132).
The upper-layer service end 200 of fig. 1 is connected to the message distribution end 100 through a variety of open interfaces (e.g., google remote procedure call interface (i.e., gPRC interface), message queue interface (i.e., kafka interface), or hypertext transfer protocol interface (i.e., http interface)), and the upper-layer service end 200 may call the open interfaces as needed, so as to implement directional transmission of messages (e.g., implement a group transmission function and a single transmission function of messages).
The message distribution terminal 100 of fig. 1 is connected with the wechat applet 111 and the wechat public number 112 through the wechat interface 110, the message distribution terminal 100 of fig. 1 is connected with the short message 121, the android application 122 and the apple application 123 through the third party platform interface 120, and the message distribution terminal 100 of fig. 1 is connected with the interphone 131 and the internet of things device 132 through the internet of things device 130.
That is, in some embodiments, the message sending end is an upper layer service system, and the message receiving end includes a wechat end or an internet of things device; the upper layer service system may send the message sending request to the message sending end 100 through a plurality of open interfaces (e.g., a gprs interface, a kafka interface, or an http interface), where the message sending request at least includes a message content and a message recipient; the message distribution terminal 100 sends the binding message to the wechat terminal or the internet of things device according to the message receiver in the message sending request, wherein the binding message is obtained by the message distribution terminal 100 according to the message content generated by the message sending terminal and according to the pre-established binding relationship between the message sending terminal and the message receiving terminal.
The message distribution end 100 of the embodiment of the present application opens a message binding interface to the outside, and other message sending ends (for example, the upper service end 200 of fig. 1) can freely bind message fields. After the binding is completed, when the message sending end needs to send a message, the correspondence between the message field of the message sending end and the message field of the message receiving end does not need to be processed, and the corresponding binding interface in the message forwarding end 100 only needs to be called according to the binding relationship, so that the decoupling between the applications is easily realized.
The message receiving end of the message distribution system in the embodiment of the present application has access to a wechat applet, a wechat public number, a short message, an android application, an IOS application, an intercom and other manners (any one of these manners may correspond to the first message receiving end), and the message distribution end of the message distribution system in the embodiment of the present application opens various (for example, a gprs interface, a kafka interface, and an http interface) interfaces to the message sending end, and different message sending ends may call the open interfaces as needed, so as to implement directional sending of message content, for example, may implement a function of group sending and single sending of messages.
The process of message distribution performed by the message distributor 100 of fig. 1 is described below in conjunction with fig. 2.
As can be seen from fig. 2, the message distribution method according to the embodiment of the present application includes: s101, receiving a message sending request from a first message sending end, wherein the message sending request comprises message content and a message receiver; s102, packaging the message content according to the binding relation corresponding to the first message sending end to generate a binding message; s103, sending the binding message to a message receiving end according to the message receiver. The message distribution method provided by the embodiment of the application can enable a plurality of applications with message sending requests to share one message pushing system, and reduces the workload of developing the message pushing system.
The first message sending end involved in S101 may be the upper layer service end 200 shown in fig. 1. S101 refers to a message content, that is, a message with a specific meaning that a message sending end needs to transmit to a message receiving end, where the message content generally includes a plurality of fields with specific meaning, for example, the message content of the transaction information for an order generated by a robot service mall includes: order status, name, address, contact phone, and notes.
The message originator 100 of S101 receives a message transmission request from the first message sender through one of a plurality of open interfaces (e.g., a gPRC interface, a kafka interface, an http interface). For example, the upper service 200 sends a message sending request to be sent to the message forwarding end 100 through the HTTP interface, that is, the message forwarding end 100 receives the message sending request from the first message sending end through the HTTP interface.
In S102, the message forwarding terminal 100 forwards the binding message to the message receiving terminal after binding the message content to be sent according to the binding relationship pre-established between the message forwarding terminal 100 and the first message sending terminal, where the bound message content is the binding message.
The process of establishing a binding relationship between the message originator 100 and the first message sender in advance is described below in connection with several examples.
Example 1
In example 1, a message content of a first message sending end includes a plurality of first fields, and the message sending method according to the embodiment of the present application further includes: and binding each first field in the plurality of first fields with each field in a message template of a first message receiving end respectively to obtain the binding relationship corresponding to the first message receiving end. The field binding function of the embodiment of the application enables other application demand systems to be more easily accessed to the message distribution system to achieve message sending. That is to say, the message forwarding end 100 of the embodiment of the present application provides a field binding function, so as to easily implement decoupling between other message sending ends and message content, and make the message sending end more easily access the message forwarding end to implement message sending.
Example 2
In example 2, the first message receiving end is a WeChat end, and the binding of each of the plurality of first fields by the message distribution end 100 with each of the fields in the message template of the first message receiving end includes: and dynamically binding each first field in the plurality of first fields with a meaningless field in a message template of the WeChat end.
The process of the message originator 100 for binding the plurality of first fields (i.e., the first meaningful field 1, the second meaningful field 2, the third meaningful field 3, the fourth meaningful field 4, and the fifth meaningful field 5 of fig. 3) of the message sender with the blank fields of the wechat message receiver is illustrated below with reference to fig. 3. The binding process shown in fig. 3 is to bind five meaningful fields (respectively: a first meaningful field 1, a second meaningful field 2, a third meaningful field 3, a fourth meaningful field 4, and a fifth meaningful field 5) generated by the message sending end and five blank message fields of the message receiving end (i.e., the wechat end) one by one. Specifically, a first meaningful field 1 of a message sending end is bound with a meaningless field D of a message receiving end, a second meaningful field 2 of the message sending end is bound with the meaningless field D of the message receiving end, a third meaningful field 3 of the message sending end is bound with a meaningless field C of the message receiving end, a fourth meaningful field 4 of the message sending end is bound with a meaningless field A of the message receiving end, and a fifth meaningful field 5 of the message sending end is bound with a meaningless field E of the message receiving end.
The method and the device realize dynamic binding of the meaningless field of the WeChat and the meaningful field of the message sending end, and avoid the work that the message sending end needs to package the field by self-saving when sending the message to the WeChat end.
S103, sending the binding message to a message receiving end according to the message receiver, namely, sending the binding message obtained after the binding in the previous step to one or more message receiving ends according to the message receiver.
It should be noted that the message distribution method according to the embodiment of the present application may include, in addition to the three steps shown in fig. 2, a process of authenticating an identity of a sender of the message (not shown in the figure).
The following briefly describes a technical solution for the message distributor 100 to authenticate the identity of the message sender.
In order to complete the identity authentication of the message distribution end 100 to the message sending end, the message distribution method according to the embodiment of the present application further includes: generating identity information of the first message sending end; and providing the identity information to the first message sending terminal. The message sender stores the identity information and then, when the message sender has a specific message to send, it sends a message sending request including the message content, the message receiver, and the identity information to the message originator 100. That is to say, the message distribution terminal 100 of the embodiment of the present application may allocate one identity information to each message sending terminal, so that the message distribution terminal 100 can confirm the identities of all message sending terminals.
For example, for a specific message sending process, a message sending request sent by a first message sending end to a message distribution end includes the identity information; and the message transmitting terminal receives the identity information from the first message transmitting terminal and authenticates the first message transmitting terminal according to the identity information. The authentication process of the message sending end is completed by combining the identity information, which aims to verify the correctness of the message generating party and prevent the message from being sent to the user by impersonation.
The following describes an exemplary binding process and a message distribution process of a field of a message sending end and a field of a message receiving end by taking a robot service mall (referred to as a mall system for short) as the message sending end and a WeChat end as the message receiving end, with reference to fig. 4 and 5.
The first message sending end of this example is a mall end, and the message content in the message sending request generated by the mall end includes a plurality of first fields, which are, as examples, respectively: an order status field, an address field, and a remark field. The process executed in the message distribution terminal 100 for dynamically binding each of the plurality of first fields with the meaningless field in the message template of the wechat terminal may include: and respectively binding the order state field, the address field and the remark field with the three meaningless fields in the message template. The embodiment of the application realizes the binding of the three meaningless fields of the WeChat and the meaningful fields of the mall system, and avoids the work that the mall system needs to encapsulate the fields in the sending of the message.
First, the binding of the mall side (i.e., the first message sending side) and the WeChat side (i.e., the message receiving side) fields is exemplarily set forth.
After receiving an order from a user and paying, a robot service mall (referred to as a mall system for short, namely a message sending end) needs to send transaction information (i.e., message content) of the order to the user. When a WeChat end (i.e. a message receiving end) sends a message to a user, a corresponding template (i.e. a message template of the message receiving end) is needed. Therefore, the mall system needs to first invoke the binding function of the message distribution end to bind the meaningful field of the mall system with the field of the WeChat end. As shown in fig. 4, the order status field at the wechat end is the first meaningless field things1, and the status field at the mall end is status. A binding relationship between these two fields needs to be established. Specifically, the message content of the mall side of fig. 4 includes: the order status, name, address, contact phone and remark have five fields with specific meanings, the binding process of the mall end field and the WeChat end field is executed by taking FIG. 4 as an example, referring to FIG. 4, the order status of the message content is bound with the first meaningless field through 1 field of the WeChat field, the name field is bound with the fourth name field through 4 of the WeChat end, the address field is bound with the second meaningless field through 2 field, the contact phone field is bound with the fifth phone number field phone-numbers5 of the WeChat end, and the remark field is bound with the meaningless field through of the WeChat end field.
Secondly, after the binding relationship of fig. 4 is created, the mall system sends the information that is desired to be sent to the user to the message distributor 100 through the interface of the message distributor 100 (i.e. the message distributor has a specific message to send). When the message sending end sends a message to the message receiving end through the message forwarding end, the message sending end sends a message sending request to the message forwarding end 100, where the message sending request may include: message recipient, system ID, message content. The system ID (i.e. the identity information, sent by the message distribution terminal 100 to the mall system) is issued by the message distribution terminal 100 to the mall system, so as to verify the correctness of the message generator and prevent the imposition of sending the message to the user. The message sending end adopts the binding relation obtained in the above steps to bind the message content field to obtain the binding message, and the message content corresponding to the binding message is only required to write the field of the mall into the message template of the WeChat. For example, for a specific transaction process, the message sending request code generated by the mall system is as follows (it should be noted that the phone number in the following message sending request is obfuscated in consideration of protecting the personal privacy information):
Figure BDA0002411093880000111
after receiving a message sending request of the mall system, the message forwarding terminal 100 automatically searches for a binding relationship (refer to fig. 4) established in advance, encapsulates the message content transmitted by the mall system according to the binding relationship, encapsulates the message content into a message template pattern of the wechat terminal (i.e., obtains the bound message), calls a corresponding interface of the wechat terminal, and finally pushes the message to a specified user. Specifically, referring to fig. 5, the method for the message originator 100 to send the message includes: s501, receiving a message sending request and starting message sending; s502, filling in a user ID according to a message receiver in the message sending request message, if the user ID is successfully filled, executing S503, otherwise executing S507; s503, filling the system ID according to the system ID in the message sending request (namely the identity information sent to the message sending end by the message distributing end), if the filling is successful, executing S504, otherwise executing S507; s504, filling the message content in the message sending request according to the pre-established binding relationship, if the filling is successful, executing S505, otherwise executing S507; s505, invoking a sending interface (e.g., invoking a wechat port when the message receiving end is a wechat applet or wechat public number, invoking a third party platform interface when the message receiving end is a short message, an android application, or an apple application, invoking an internet of things device interface when the message receiving end is an interphone or an internet of things device), if the sending is successful, executing S506, otherwise executing S507; s506, the message content is successfully sent; s507, the sending fails, and the sending is retried or the next message sending request is waited.
Referring to fig. 6, fig. 6 shows a device corresponding to a message distribution method according to an embodiment of the present application, it should be understood that the device corresponds to the above-described method embodiment of fig. 2, and is capable of performing various steps related to the above-described method embodiment, and specific functions of the device may be referred to the above description, and a detailed description is appropriately omitted here to avoid redundancy. The message distribution device includes at least one software functional module which can be stored in a memory in the form of software or firmware or solidified in an operating system of the message distribution device, such as the message distribution device of fig. 6, including: a receiving module 601 configured to receive a message sending request from a first message sender, wherein the message sending request includes message content and a message recipient; an encapsulating module 602, configured to encapsulate the message content according to a binding relationship corresponding to the first message sending end, and generate a binding message; a sending module 603 configured to send the binding message to a message receiving end according to the message recipient.
It should be noted that the message distribution apparatus in the embodiment of the present application further includes a binding module, configured to pre-establish a binding relationship between multiple fields of the message sending end and multiple fields of the message receiving end. The specific binding process may refer to the description of fig. 3 or fig. 4, and the binding process disclosed in the above technical solution.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the above-described apparatus may refer to the corresponding processes in fig. 2, fig. 3 and fig. 4, and will not be described in detail herein.
As shown in fig. 7, an information processing apparatus 700 (i.e., the message distribution terminal of fig. 1) is further provided in the embodiments of the present application, and includes a memory 710, a processor 720, and a computer program stored in the memory 710 and executable on the processor 720, where the processor 720 can implement the methods shown in fig. 2, 3, 4, and 5 when executing the programs (and reading the programs from the memory 710 and executing them via the bus 730), and can also be used to implement the methods described in the embodiments.
For example, the processor 720 of the embodiment of the present application executing the computer program may implement the following method: s101, receiving a message sending request from a first message sending end, wherein the message sending request comprises message content and a message receiver; s102, packaging the message content according to the binding relation corresponding to the first message sending end to generate a binding message; s103, sending the binding message to a message receiving end according to the message receiver. In some examples, the information processing device 700 further includes a transceiver 740, the binding information is transmitted through the transceiver 740, and the transceiver 740 may be a communication interface or a transceiver antenna.
Processor 720 may process digital signals and may include various computing structures. Such as a complex instruction set computer architecture, a structurally reduced instruction set computer architecture, or an architecture that implements a combination of instruction sets. In some examples, processor 720 may be a microprocessor.
Memory 710 may be used to store instructions that are executed by processor 720 or data related to the execution of the instructions. The instructions and/or data may include code for performing some or all of the functions of one or more of the modules described in embodiments of the application. The processor 720 of the disclosed embodiments may be used to execute instructions in the memory 710 to implement the method shown in fig. 2. Memory 710 includes dynamic random access memory, static random access memory, flash memory, optical memory, or other memory known to those skilled in the art.
The above description is only an example of the present application and is not intended to limit the scope of the present application, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, improvement and the like made within the spirit and principle of the present application shall be included in the protection scope of the present application. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A message distribution method, characterized in that the message distribution method comprises:
receiving a message sending request from a first message sending end, wherein the message sending request comprises message content and a message receiver;
packaging the message content according to the binding relation corresponding to the first message sending end to generate a binding message;
and sending the binding message to a message receiving end according to the message receiver.
2. The message distribution method of claim 1, wherein the message content of the first message sender includes a plurality of first fields, the message distribution method further comprising: and binding each first field in the plurality of first fields with each field in a message template of a first message receiving end respectively to obtain the binding relationship corresponding to the first message sending end and the first message receiving end.
3. The message distribution method according to claim 2, wherein the first message receiving end is a WeChat end, and the binding each of the plurality of first fields with each of the fields in the message template of the first message receiving end comprises: and dynamically binding each first field in the plurality of first fields with a meaningless field in a message template of the WeChat end.
4. The message distribution method of claim 3, wherein the first message sender is a mall sender, and the plurality of first fields comprise: an order status field, an address field and a remark field;
the dynamically binding each first field in the plurality of first fields with the meaningless field in the message template of the WeChat end respectively comprises: and respectively binding the order state field, the address field and the remark field with the three meaningless fields in the message template.
5. The message distribution method according to claim 1, wherein the message distribution method further comprises:
generating identity information of the first message sending end;
and providing the identity information to the first message sending terminal.
6. The message distribution method according to claim 5, wherein the message sending request includes the identity information;
the receiving a message sending request from a first message sending end includes: receiving the identity information from the first message sending end;
the message distribution method further comprises: and authenticating the first message sending terminal according to the identity information.
7. The message distribution method according to claim 1, wherein the first message sending end comprises an upper layer service system, and the message receiving end comprises a WeChat end or an Internet of things device;
the upper layer service system sends the message sending request through various open interfaces;
the sending the binding message to a message receiving end according to the message receiver comprises: and sending the binding message to the WeChat terminal or the Internet of things equipment according to the message receiver.
8. A message distribution apparatus, characterized in that the message distribution apparatus comprises:
the message sending module is configured to send a message to a first message sender, wherein the message comprises a message content and a message receiver;
the binding module is configured to package the message content according to the binding relation corresponding to the first message sending end and generate a binding message;
a sending module configured to send the binding message to a message receiving end according to the message recipient.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, is adapted to carry out the method of any one of claims 1 to 7.
10. An information processing apparatus comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor when executing the computer program is operable to implement the method of any one of claims 1 to 7.
CN202010179395.1A 2020-03-13 2020-03-13 Message distribution method and device Active CN111400066B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010179395.1A CN111400066B (en) 2020-03-13 2020-03-13 Message distribution method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010179395.1A CN111400066B (en) 2020-03-13 2020-03-13 Message distribution method and device

Publications (2)

Publication Number Publication Date
CN111400066A true CN111400066A (en) 2020-07-10
CN111400066B CN111400066B (en) 2024-05-28

Family

ID=71436961

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010179395.1A Active CN111400066B (en) 2020-03-13 2020-03-13 Message distribution method and device

Country Status (1)

Country Link
CN (1) CN111400066B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113379501A (en) * 2021-06-21 2021-09-10 广东三维家信息科技有限公司 Message pushing method and device, electronic equipment and storage medium
CN113411250A (en) * 2021-06-03 2021-09-17 重庆锐云科技有限公司 Real-time message processing method, system, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130084896A1 (en) * 2011-09-29 2013-04-04 International Business Machines Corporation Pushing Secure Notifications to Mobile Computing Devices
US20150081817A1 (en) * 2013-09-13 2015-03-19 Electronics And Telecommunications Research Institute Method for delivering push notification and push notification server for performing the same
KR101545285B1 (en) * 2014-10-16 2015-08-19 주식회사 소프트잼 Server for manufacturing push motification message
CN110149363A (en) * 2019-04-15 2019-08-20 深圳壹账通智能科技有限公司 A kind of information push method, device and storage medium
CN110519711A (en) * 2019-06-26 2019-11-29 中国移动通信集团江西有限公司 A kind of information push method, device, storage medium and server
CN110601952A (en) * 2018-06-12 2019-12-20 北京京东尚科信息技术有限公司 Multi-channel message notification sending method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130084896A1 (en) * 2011-09-29 2013-04-04 International Business Machines Corporation Pushing Secure Notifications to Mobile Computing Devices
US20150081817A1 (en) * 2013-09-13 2015-03-19 Electronics And Telecommunications Research Institute Method for delivering push notification and push notification server for performing the same
KR101545285B1 (en) * 2014-10-16 2015-08-19 주식회사 소프트잼 Server for manufacturing push motification message
CN110601952A (en) * 2018-06-12 2019-12-20 北京京东尚科信息技术有限公司 Multi-channel message notification sending method and device
CN110149363A (en) * 2019-04-15 2019-08-20 深圳壹账通智能科技有限公司 A kind of information push method, device and storage medium
CN110519711A (en) * 2019-06-26 2019-11-29 中国移动通信集团江西有限公司 A kind of information push method, device, storage medium and server

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113411250A (en) * 2021-06-03 2021-09-17 重庆锐云科技有限公司 Real-time message processing method, system, equipment and storage medium
CN113379501A (en) * 2021-06-21 2021-09-10 广东三维家信息科技有限公司 Message pushing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111400066B (en) 2024-05-28

Similar Documents

Publication Publication Date Title
CN110515965B (en) Business document processing method and device, computer equipment and storage medium
CN109067728A (en) Access control method, device, server and the storage medium of application programming interfaces
CN104081742A (en) Method and apparatus for providing federated service accounts
CN111400066B (en) Message distribution method and device
WO2006134434A1 (en) A method of authenticating a message transmitted on a communications network and a system therefor
CN211127902U (en) Electronic device and cellular phone
CN112596931B (en) Cross-process communication method and device, electronic equipment and storage medium
CN114281573A (en) Workflow data interaction method and device, electronic device and readable storage medium
CN102780561A (en) Method and system for achieving user-informed digital signature by using mobile terminal
CN111741161A (en) Electronic system
CN113472807A (en) Private communication method and device between users
CN111314309B (en) Data transmission method and device, electronic equipment and computer readable storage medium
CN112165727A (en) Parallel network distribution system and method and mobile terminal
CN107203877B (en) Method and device for realizing service between accounts in close range
CN105306577A (en) Data sharing system and method between handheld devices based on APP
CN111125667A (en) Roaming key calling method, device and system
CN111738713A (en) Electronic system
CN110673970A (en) Cross-process calling system and method based on web application
CN102547661B (en) Method and device for establishing communication between Android system and telecommunications smart card
JP6972417B2 (en) Mobile devices, systems, access methods, and programs
US11093309B1 (en) Communication hub for information technology (IT) services
CN109582481B (en) Transmission method, device and equipment of call result and storage medium
CN111092916B (en) File uploading method and device, electronic equipment and medium
CN114331447B (en) Cross-link message submitting method and device
CN116170506B (en) System and method for realizing loose coupling butt joint of mobile terminal signature service and reader

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: Room 201, building 4, courtyard 8, Dongbeiwang West Road, Haidian District, Beijing

Applicant after: Beijing Yunji Technology Co.,Ltd.

Address before: Room 201, building 4, courtyard 8, Dongbeiwang West Road, Haidian District, Beijing

Applicant before: BEIJING YUNJI TECHNOLOGY Co.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant