CN107302597B - Message file pushing method and device - Google Patents

Message file pushing method and device Download PDF

Info

Publication number
CN107302597B
CN107302597B CN201710708543.2A CN201710708543A CN107302597B CN 107302597 B CN107302597 B CN 107302597B CN 201710708543 A CN201710708543 A CN 201710708543A CN 107302597 B CN107302597 B CN 107302597B
Authority
CN
China
Prior art keywords
pushed
message
information
target
target receiver
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.)
Expired - Fee Related
Application number
CN201710708543.2A
Other languages
Chinese (zh)
Other versions
CN107302597A (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 Xingxuan Technology Co Ltd
Original Assignee
Beijing Xingxuan 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 Xingxuan Technology Co Ltd filed Critical Beijing Xingxuan Technology Co Ltd
Priority to CN201710708543.2A priority Critical patent/CN107302597B/en
Publication of CN107302597A publication Critical patent/CN107302597A/en
Application granted granted Critical
Publication of CN107302597B publication Critical patent/CN107302597B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a message file pushing method and device. One embodiment of the method comprises: receiving a pushing request of a message document to be pushed, wherein the pushing request of the message document to be pushed comprises an information identifier to be pushed and a variable message identifier to be pushed; based on the information identifier to be pushed, finding out information in a pre-configured information set as the information to be pushed, wherein the information comprises fixed information, and the information to be pushed comprises the fixed information to be pushed; generating a message file to be pushed based on the variable message identifier to be pushed and the fixed message to be pushed; acquiring a target receiver information set corresponding to a message file to be pushed; and pushing the message to be pushed to a target receiver indicated by at least one piece of target receiver information in the target receiver information set. The implementation mode improves the pushing efficiency of the message file.

Description

Message file pushing method and device
Technical Field
The application relates to the technical field of computers, in particular to the technical field of internet, and particularly relates to a message and file pushing method and device.
Background
With the rapid development of the internet, more and more APPs (applications) push message documents to recipients through information push technology. The information push technology is to actively transmit information required by a user on the internet through a certain technical standard or protocol.
The existing message pattern pushing mode generally receives a message set sent by an upstream server through a message queue, and splices the message pattern by using the message set, so as to push the message pattern to a corresponding receiver. However, when the content of the message document is slightly changed, the message set including the changed messages sent by the upstream server needs to be received again through the message queue, and the message set including the changed messages is used to splice the changed message document, which results in low pushing efficiency of the message document.
Disclosure of Invention
An object of the embodiments of the present application is to provide an improved message document pushing method and apparatus, so as to solve the technical problems mentioned in the above background.
In a first aspect, an embodiment of the present application provides a1, a method for pushing a message document, where the method includes: receiving a pushing request of a message document to be pushed, wherein the pushing request of the message document to be pushed comprises an information identifier to be pushed and a variable message identifier to be pushed; based on the information identifier to be pushed, finding out information in a pre-configured information set as the information to be pushed, wherein the information comprises fixed information, and the information to be pushed comprises the fixed information to be pushed; generating a message file to be pushed based on the variable message identifier to be pushed and the fixed message to be pushed; acquiring a target receiver information set corresponding to a message file to be pushed; and pushing the message to be pushed to a target receiver indicated by at least one piece of target receiver information in the target receiver information set.
A2, the method as in a1, generating a message to be pushed file based on the variable message identifier to be pushed and the fixed message to be pushed, including: analyzing the variable message identification to be pushed to obtain the variable message to be pushed corresponding to the variable message identification to be pushed; and splicing the variable message to be pushed and the fixed information to be pushed to generate a message pattern to be pushed.
A3, the method as in a1, the push request to push the message copy further comprising a first set of recipient information; before acquiring the target receiver information set corresponding to the message file to be pushed, the method further comprises the following steps: the first set of recipient information is added to the set of target recipient information.
A4, the method as in a1 or A3, the information comprising a set of recipient information, the information to be pushed comprising a second set of recipient information; before acquiring the target receiver information set corresponding to the message file to be pushed, the method further comprises the following steps: the second set of recipient information is added to the set of target recipient information.
A5, the method as in a1, for pushing the message to be pushed to the target receiver indicated by at least one piece of target receiver information in the set of target receiver information, including: acquiring message pattern receiving authority of a category to which information to be pushed set by a target receiver indicated by target receiver information in a target receiver information set belongs, wherein the message receiving authority comprises at least one of the following items: subscribing the message file, setting the message file on top and avoiding disturbing the message file; and selecting the target receiver information from the target receiver information set based on the message pattern receiving authority of the category to which the information to be pushed set by the target receiver indicated by the target receiver information in the target receiver information set belongs, and pushing the message pattern to be pushed to the target receiver indicated by the selected target receiver information.
In a second aspect, an embodiment of the present application provides B1, a message document pushing apparatus, including: the receiving unit is configured to receive a push request of a message document to be pushed, wherein the push request of the message document to be pushed comprises an information identifier to be pushed and a variable message identifier to be pushed; the searching unit is configured to search information in a pre-configured information set as information to be pushed based on the information identifier to be pushed, wherein the information comprises fixed information, and the information to be pushed comprises the fixed information to be pushed; the generating unit is configured to generate a message pattern to be pushed based on the variable message identifier to be pushed and the fixed message to be pushed; the acquisition unit is configured to acquire a target receiver information set corresponding to the message file to be pushed; and the pushing unit is configured to push the message pattern to be pushed to a target receiver indicated by at least one piece of target receiver information in the target receiver information set.
B2, the device as B1, the generating unit comprises: the analysis subunit is configured to analyze the variable message identifier to be pushed, and acquire the variable message to be pushed corresponding to the variable message identifier to be pushed; and the splicing subunit is configured to splice the variable message to be pushed and the fixed information to be pushed so as to generate a message pattern to be pushed.
B3, the device as in B1, the push request to push the message document further comprising a first set of recipient information; and the apparatus further comprises: a first adding unit configured to add the first recipient information set to the target recipient information set.
B4, the device as B1 or B3, the information includes receiver information set, the information to be pushed includes second receiver information set; and the apparatus further comprises: a second adding unit configured to add the second set of recipient information to the set of target recipient information.
B5, the device as B1, the pushing unit comprises: the obtaining subunit is configured to obtain message pattern receiving permissions of categories to which information to be pushed set by a target recipient indicated by target recipient information in a target recipient information set belongs, where the message receiving permissions include at least one of the following: subscribing the message file, setting the message file on top and avoiding disturbing the message file; and the pushing subunit is configured to select the target recipient information from the target recipient information set based on the message pattern receiving authority of the category to which the to-be-pushed information set by the target recipient indicated by the target recipient information in the target recipient information set belongs, and push the to-be-pushed message pattern to the target recipient indicated by the selected target recipient information.
In a third aspect, an embodiment of the present application provides C1, an electronic device, including: one or more processors; storage means for storing one or more programs; when executed by one or more processors, cause the one or more processors to implement a method as described in any of implementations a1 through a 5.
In a fourth aspect, embodiments of the present application provide D1, a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method as described in any of implementations a1 to a 5.
According to the message file pushing method and device provided by the embodiment of the application, firstly, based on the information identification to be pushed in the received pushing request of the message file to be pushed, the information to be pushed is searched in a pre-configured information set; then based on the variable message identification to be pushed in the pushing request of the received message pattern to be pushed and the fixed message to be pushed in the message to be pushed, generating the message pattern to be pushed; and finally, pushing the message file to be pushed to a target receiver indicated by at least one piece of target receiver information in a target receiver information set corresponding to the message file to be pushed. The fixed messages of the message files of various types are stored locally in advance, so that the message files can be spliced only by receiving the variable messages from the upstream server, the cost for generating the message files is reduced, and the pushing efficiency of the message files is improved.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is an exemplary system architecture diagram to which embodiments of the present application may be applied;
FIG. 2 is a flow diagram of one embodiment of a message document push method according to the present application;
fig. 3 is a schematic diagram of an application scenario of a message document pushing method according to an embodiment of the present application;
FIG. 4 is a schematic structural diagram of one embodiment of a message document pushing device according to the present application;
FIG. 5 is a schematic block diagram of a computer system suitable for use in implementing an electronic device according to embodiments of the present application.
Detailed Description
The present application will be described in further detail with reference to the following drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the relevant invention and not restrictive of the invention. It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings.
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
Fig. 1 shows an exemplary system architecture 100 to which embodiments of the message document pushing method or device of the present application may be applied.
As shown in fig. 1, the system architecture 100 may include an upstream server 101, a server 102, terminal devices 103, 104, 105, and networks 106, 107. Network 106 is used to provide a medium for communication links between upstream server 101 and server 102. The network 107 serves as a medium for providing communication links between the server 102 and the terminal devices 103, 104, 105. The networks 106, 107 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
The user may use the terminal devices 103, 104, 105 to interact with the server 102 via the network 107 to receive or send messages or the like. The terminal devices 103, 104, 105 may have installed thereon various communication client applications, such as a web browser application, a shopping-like application, a search-like application, an instant messaging tool, a mailbox client, social platform software, and the like.
The terminal devices 103, 104, 105 may be various electronic devices having a display screen and supporting message and document browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The upstream server 101 may send a push request of a message to be pushed to the server 102 through the network 106; the server 102 may analyze and/or otherwise process data such as a push request for a message document to be pushed, and transmit a processing result (e.g., the message document to be pushed) to the terminal devices 103, 104, 105.
It should be noted that the message document pushing method provided in the embodiment of the present application is generally executed by the server 102, and accordingly, the message document pushing apparatus is generally disposed in the server 102.
It should be understood that the number of upstream servers, terminal devices, and networks in fig. 1 is merely illustrative. There may be any number of upstream servers, terminal devices, and networks, as desired for implementation.
With continued reference to fig. 2, a flow 200 of one embodiment of a message document push method according to the present application is shown. The message file pushing method comprises the following steps:
step 201, a push request of a message to be pushed is received.
In this embodiment, the electronic device (for example, the server 102 shown in fig. 1) on which the message document pushing method operates may receive a pushing request of a message document to be pushed from an upstream server (for example, the upstream server 101 shown in fig. 1) through a wired connection manner or a wireless connection manner. As an example, the electronic device may receive a push request to push a message copy from an upstream server through a message queue.
In this embodiment, the message copy may be generally displayed in a notification bar of the terminal device, so as to push the content required by the user to the user. Message scripts typically consist of variable messages and fixed messages. For message documents of the same category, part of the messages are all fixed and invariable in a plurality of message documents of the same category, the part of the messages are fixed messages, the part of the messages may be different in a plurality of message documents of the same category, and the part of the messages are variable messages. For example, there is a message document "merchant [ x ] in-store order [ x ] 5 minutes has not been connected, next time [ x ] please know", and for different orders, the merchant name, order number, and time of placing the order of the merchant may be different, so the message in the "[ of the message document" is the message variable, and the message outside the "[ of the message document" is the fixed message.
In this embodiment, the push request of the message document may include an information identifier and a variable message identifier. Wherein, the information indicated by the information identifier may include a fixed message in a message document. The variable message indicated by the variable message identification may be a variable message in a message document. The push request of the message to be pushed file can comprise the information to be pushed identifier and the variable message to be pushed identifier. The information to be pushed indicated by the information to be pushed identifier may include a fixed message to be pushed in the message to be pushed document, and the variable message to be pushed indicated by the variable message to be pushed may be a variable message to be pushed in the message to be pushed document.
In this embodiment, since there is diversity in message data, the data structure of messages sent from different upstream servers may be different. Therefore, the electronic equipment can maintain a set of data resolvers, and the data resolvers can convert messages with different data structures sent by different upstream servers into messages with a uniform data structure so as to facilitate subsequent processing of the messages.
It should be noted that the push request of the message document to be pushed may be a push request of any one of the push requests of the message documents, and the message document to be pushed may be any one of the message documents.
Step 202, based on the information identifier to be pushed, finding out information in a preconfigured information set as the information to be pushed.
In this embodiment, based on the push request of the message to be pushed document received in step 201, the electronic device may match the information identifier to be pushed in the push request of the message to be pushed document with each information identifier in the information set; and if one information identifier is the same as the information identifier to be pushed, matching is successful, and the information indicated by the successfully matched information identifier is used as the information to be pushed. The information may include a fixed message, and the information to be pushed may include a fixed message to be pushed.
In this embodiment, the electronic device may pre-configure the information set. Wherein each message in the set of messages may comprise a fixed message in a category of message copy. When a new type of message record needs to be added, only the information corresponding to the new type of message record needs to be newly established in the electronic equipment.
Step 203, generating a message pattern to be pushed based on the variable message identifier to be pushed and the fixed message to be pushed.
In this embodiment, the electronic device may generate the message to be pushed pattern based on the variable message identifier to be pushed in the push request of the message to be pushed pattern received in step 201 and the fixed message to be pushed in the information to be pushed found in step 202.
In some optional implementation manners of this embodiment, the electronic device may first determine whether the variable message identifier to be pushed is a variable message to be pushed, and in a case that the variable message identifier to be pushed is a variable message to be pushed, the electronic device may directly find a position of the variable message to be pushed in the fixed message to be pushed, and insert the variable message identifier to be pushed into the found position.
In some optional implementation manners of this embodiment, in a case that the variable message identifier to be pushed is not a variable message to be pushed, the electronic device may first parse the variable message identifier to be pushed to obtain a variable message to be pushed corresponding to the variable message identifier to be pushed; and then splicing the variable message to be pushed and the fixed information to be pushed to generate a message pattern to be pushed. As an example, if the identifier of the variable message to be pushed is a merchant ID (Identity, identification number), the electronic device may find a merchant name indicated by the merchant ID, find a location of the merchant name in the fixed message to be pushed, and then insert the merchant name into the found location.
Step 204, obtaining a target receiver information set corresponding to the message to be pushed.
In this embodiment, the electronic device may obtain a target recipient information set corresponding to the message document to be pushed. The recipient information may include, but is not limited to, a recipient account number, a recipient mobile phone number, a device number of a terminal device of the recipient, a business circle where the recipient is located, an area where the recipient is located, and the like. As an example, the electronic device may first obtain an area where a merchant indicated by a merchant name in the message to be pushed is located; recipient information is then obtained for recipients in the area where the merchant is located.
In some optional implementations of this embodiment, if the push request to push the message document includes the first recipient information set, the electronic device may add the first recipient information set to the target recipient information set. As an example, if the message to be pushed file is specified to be sent to certain recipients, the push request of the message to be pushed file may include recipient information of these specified recipients.
In some optional implementation manners of this embodiment, if the push request of the message to be pushed includes no first recipient information set, and the information includes a recipient information set, and the information to be pushed includes a second recipient information set, the electronic device may add the second recipient information set to the target recipient information set.
In some optional implementation manners of this embodiment, the electronic device may first obtain a first recipient information set from a push request of a message document to be pushed, and obtain a second recipient information set from the message to be pushed; the first set of recipient information and the second set of recipient information are then both added to the target set of recipient information.
Step 205, pushing the message to be pushed to a target recipient indicated by at least one piece of target recipient information in the target recipient information set.
In this embodiment, based on the message to be pushed pattern generated in step 203 and the target recipient information acquired in step 204, the electronic device may push the message to be pushed pattern to a target recipient indicated by at least one target recipient information in the target recipient information set.
In some optional implementations of the embodiment, the electronic device may push the message to be pushed to the target recipients indicated by the respective target recipient information in the target recipient information set.
In some optional implementations of this embodiment, since the message patterns have various categories and huge data size, we can classify the categories of the message patterns in advance. For example, the categories of the message copy may be ranked in a three-level tree structure from top to bottom. For different classes of message documents, the receiver can set the message receiving authority. Wherein the message reception authority may include, but is not limited to, at least one of: subscribing the message record, setting the message record on top and avoiding disturbance of the message record. At this time, the electronic device may first obtain a message pattern receiving authority of a category to which information to be pushed set by a target recipient indicated by target recipient information in a target recipient information set belongs; and then, based on the message pattern receiving authority of the category to which the information to be pushed set by the target receiver indicated by the target receiver information in the target receiver information set belongs, selecting the target receiver information from the target receiver information set, and pushing the message pattern to be pushed to the target receiver indicated by the selected target receiver information. As an example, the electronic device may select, from the set of target recipient information, recipient information whose message document reception permission of the category to which the to-be-pushed information belongs is message document subscription and message document top, and push the to-be-pushed message document to a target recipient indicated by the selected target recipient information.
With continued reference to fig. 3, fig. 3 is a schematic diagram of an application scenario of the message document pushing method according to the embodiment of the present application. In the application scenario of fig. 3, first, the electronic device may receive a push request of a message document to be pushed sent by an upstream server, where the push request of the message document to be pushed includes an identifier of information to be pushed and an identifier of a variable message to be pushed, the identifier of information to be pushed is "111", the identifier of the variable message to be pushed includes a merchant ID, an order number and a placing time, the merchant ID is "a 123", the order number is "1234567890", and the placing time is "2017/8911: 30: 00". Then, the electronic device may match the information identifier "111" to be pushed with the information identifiers of the respective information in the information set to obtain the information to be pushed indicated by the information identifier "111", where the information to be pushed includes a fixed message to be pushed, where the fixed message to be pushed is "an order [ for ] in the store [ for ] business [ for ] 5 minutes is not yet connected, and a next time [ for ] is left, please know". Then, the electronic device may parse out the merchant name "XX" corresponding to the merchant ID "a 123", and concatenate the merchant name "XX", the order number "1234567890", and the ordering time "2017/8911: 30: 00" into the fixed message to be pushed, so as to generate a message to be pushed "merchant [ XX ] in-store order [ 1234567890 ] that has not been ordered for 5 minutes, and ordering time [ 2017/8911: 30:00 ] that is known. Finally, the electronic device may obtain the region manager information of the region where the merchant [ XX ] is located, and push the message to be pushed to the region manager indicated by the region manager information of the region where the merchant [ XX ] is located. The message to be pushed on the terminal device of the regional manager may be as shown in 301.
The message file pushing method provided by the embodiment of the application comprises the steps of firstly, searching information to be pushed in a pre-configured information set based on an information identifier to be pushed in a received pushing request of the message file to be pushed; then based on the variable message identification to be pushed in the pushing request of the received message pattern to be pushed and the fixed message to be pushed in the message to be pushed, generating the message pattern to be pushed; and finally, pushing the message file to be pushed to a target receiver indicated by at least one piece of target receiver information in a target receiver information set corresponding to the message file to be pushed. The fixed messages of the message files of various types are stored locally in advance, so that the message files can be spliced only by receiving the variable messages from the upstream server, the cost for generating the message files is reduced, and the pushing efficiency of the message files is improved.
With further reference to fig. 4, as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of a message document pushing apparatus, where the embodiment of the apparatus corresponds to the embodiment of the method shown in fig. 2, and the apparatus may be specifically applied to various electronic devices.
As shown in fig. 4, the message pattern pushing apparatus 400 of the present embodiment may include: a receiving unit 401, a searching unit 402, a generating unit 403, an obtaining unit 404 and a pushing unit 405. The receiving unit 401 is configured to receive a push request of a message document to be pushed, where the push request of the message document to be pushed includes an information identifier to be pushed and a variable message identifier to be pushed; a searching unit 402, configured to search information as to-be-pushed information in a pre-configured information set based on an identifier of the to-be-pushed information, where the information includes a fixed message, and the to-be-pushed information includes the to-be-pushed fixed message; a generating unit 403, configured to generate a message document to be pushed based on the variable message identifier to be pushed and the fixed message to be pushed; an obtaining unit 404 configured to obtain a target recipient information set corresponding to a message pattern to be pushed; the pushing unit 405 is configured to push the message pattern to be pushed to a target recipient indicated by at least one piece of target recipient information in the target recipient information set.
In the present embodiment, in the message document pushing device 400: the specific processing and technical effects of the receiving unit 401, the searching unit 402, the generating unit 403, the obtaining unit 404, and the pushing unit 405 may refer to the related descriptions of step 201, step 202, step 203, step 204, and step 205 in the corresponding embodiment of fig. 2, which are not described herein again.
In some optional implementations of this embodiment, the generating unit 403 may include: the analysis subunit (not shown in the figure) is configured to analyze the variable message identifier to be pushed, and acquire the variable message to be pushed corresponding to the variable message identifier to be pushed; and a splicing subunit (not shown in the figure) configured to splice the variable message to be pushed and the fixed information to be pushed, so as to generate a message pattern to be pushed.
In some optional implementations of this embodiment, the push request of the message to be pushed may further include the first set of recipient information; and the message document pushing device 400 may further include: a first adding unit (not shown in the figure) configured to add the first set of recipient information to the set of target recipient information.
In some optional implementations of this embodiment, the information may include a recipient information set, and the information to be pushed may include a second recipient information set; and the message document pushing device 400 may further include: a second adding unit (not shown in the figure) configured to add the second set of recipient information to the set of target recipient information.
In some optional implementations of this embodiment, the pushing unit 405 may include: an obtaining subunit (not shown in the figure), configured to obtain message pattern receiving authority of a category to which information to be pushed set by a target recipient indicated by target recipient information in the target recipient information set belongs, where the message receiving authority includes at least one of: subscribing the message file, setting the message file on top and avoiding disturbing the message file; and a pushing subunit (not shown in the figure), configured to select the target recipient information from the target recipient information set based on the message pattern receiving authority of the category to which the to-be-pushed information set by the target recipient indicated by the target recipient information in the target recipient information set belongs, and push the to-be-pushed message pattern to the target recipient indicated by the selected target recipient information.
Referring now to FIG. 5, shown is a block diagram of a computer system 500 suitable for use in implementing the electronic device of an embodiment of the present application. The electronic device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU)501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage section 508 into a Random Access Memory (RAM) 503. In the RAM 503, various programs and data necessary for the operation of the system 500 are also stored. The CPU 501, ROM 502, and RAM 503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511. The computer program performs the above-described functions defined in the method of the present application when executed by the Central Processing Unit (CPU) 501.
It should be noted that the computer readable medium mentioned above in the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. The computer-readable storage medium may be, for example but not limited to: an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software or hardware. The described units may also be provided in a processor, and may be described as: a processor includes a receiving unit, a searching unit, a generating unit, an obtaining unit, and a pushing unit. Where the names of these units do not in some cases constitute a limitation of the unit itself, for example, a receiving unit may also be described as a "unit that receives a push request for a message document to be pushed".
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: receiving a pushing request of a message document to be pushed, wherein the pushing request of the message document to be pushed comprises an information identifier to be pushed and a variable message identifier to be pushed; based on the information identifier to be pushed, finding out information in a pre-configured information set as the information to be pushed, wherein the information comprises fixed information, and the information to be pushed comprises the fixed information to be pushed; generating a message file to be pushed based on the variable message identifier to be pushed and the fixed message to be pushed; acquiring a target receiver information set corresponding to a message file to be pushed; and pushing the message to be pushed to a target receiver indicated by at least one piece of target receiver information in the target receiver information set.
The above description is only a preferred embodiment of the application and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention herein disclosed is not limited to the particular combination of features described above, but also encompasses other arrangements formed by any combination of the above features or their equivalents without departing from the spirit of the invention. For example, the above features may be replaced with (but not limited to) features having similar functions disclosed in the present application.

Claims (10)

1. A message document pushing method, the method comprising:
receiving a pushing request of a message record to be pushed, wherein the pushing request of the message record to be pushed comprises an information identifier to be pushed and a variable message identifier to be pushed;
based on the information identifier to be pushed, finding out information in a pre-configured information set as the information to be pushed, wherein the information comprises fixed information, and the information to be pushed comprises the fixed information to be pushed;
generating a message pattern to be pushed based on the variable message identification to be pushed and the fixed message to be pushed;
acquiring a target receiver information set corresponding to the message file to be pushed;
pushing the message pattern to be pushed to a target receiver indicated by at least one piece of target receiver information in the target receiver information set;
wherein, the pushing the message to be pushed to the target receiver indicated by at least one piece of target receiver information in the target receiver information set includes:
acquiring message pattern receiving authority of a category to which the information to be pushed belongs, which is set by a target receiver indicated by the target receiver information in the target receiver information set, wherein the message pattern receiving authority comprises at least one of the following items: subscribing the message file, setting the message file on top and avoiding disturbing the message file;
and selecting the target receiver information from the target receiver information set based on the message pattern receiving authority of the category to which the to-be-pushed information set by the target receiver indicated by the target receiver information in the target receiver information set belongs, and pushing the to-be-pushed message pattern to the target receiver indicated by the selected target receiver information.
2. The method according to claim 1, wherein the generating a message to be pushed pattern based on the variable message to be pushed identifier and the fixed message to be pushed comprises:
analyzing the variable message identification to be pushed to obtain the variable message to be pushed corresponding to the variable message identification to be pushed;
and splicing the variable message to be pushed and the fixed information to be pushed to generate a message pattern to be pushed.
3. The method of claim 1, wherein the push request for the message to be pushed copy further comprises a first set of recipient information; and
before the obtaining of the target receiver information set corresponding to the message to be pushed, the method further includes:
adding the first set of recipient information to a set of target recipient information.
4. The method of claim 1 or 3, wherein the information comprises a set of recipient information, and wherein the information to be pushed comprises a second set of recipient information; and
before the obtaining of the target receiver information set corresponding to the message to be pushed, the method further includes:
adding the second set of recipient information to a set of target recipient information.
5. A message document pushing apparatus, the apparatus comprising:
the device comprises a receiving unit, a sending unit and a sending unit, wherein the receiving unit is configured to receive a pushing request of a message pattern to be pushed, and the pushing request of the message pattern to be pushed comprises an information identifier to be pushed and a variable message identifier to be pushed;
the searching unit is configured to search information in a pre-configured information set as information to be pushed based on the information identifier to be pushed, wherein the information comprises fixed information, and the information to be pushed comprises the fixed information to be pushed;
the generating unit is configured to generate a message pattern to be pushed based on the variable message identifier to be pushed and the fixed message to be pushed;
the acquisition unit is configured to acquire a target receiver information set corresponding to the message file to be pushed;
the pushing unit is configured to push the message to be pushed to a target receiver indicated by at least one piece of target receiver information in the target receiver information set;
wherein the pushing unit includes:
an obtaining subunit, configured to obtain message pattern receiving permissions of categories to which the information to be pushed belongs, the categories being set by target recipients indicated by target recipient information in the target recipient information set, where the message pattern receiving permissions include at least one of: subscribing the message file, setting the message file on top and avoiding disturbing the message file;
and the pushing subunit is configured to select the target recipient information from the target recipient information set based on the message pattern receiving authority of the category to which the to-be-pushed information set by the target recipient indicated by the target recipient information in the target recipient information set belongs, and push the to-be-pushed message pattern to the target recipient indicated by the selected target recipient information.
6. The apparatus of claim 5, wherein the generating unit comprises:
the analysis subunit is configured to analyze the variable message identifier to be pushed, and acquire a variable message to be pushed corresponding to the variable message identifier to be pushed;
and the splicing subunit is configured to splice the variable message to be pushed and the fixed information to be pushed so as to generate a message pattern to be pushed.
7. The apparatus of claim 5, wherein the push request to push the message document further comprises a first set of recipient information; and
the device further comprises:
a first adding unit configured to add the first recipient information set to a target recipient information set.
8. The apparatus of claim 5 or 7, wherein the information comprises a set of recipient information, and the information to be pushed comprises a second set of recipient information; and
the device further comprises:
a second adding unit configured to add the second recipient information set to a target recipient information set.
9. An electronic device, characterized in that the electronic device comprises:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-4.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-4.
CN201710708543.2A 2017-08-17 2017-08-17 Message file pushing method and device Expired - Fee Related CN107302597B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710708543.2A CN107302597B (en) 2017-08-17 2017-08-17 Message file pushing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710708543.2A CN107302597B (en) 2017-08-17 2017-08-17 Message file pushing method and device

Publications (2)

Publication Number Publication Date
CN107302597A CN107302597A (en) 2017-10-27
CN107302597B true CN107302597B (en) 2020-06-16

Family

ID=60131775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710708543.2A Expired - Fee Related CN107302597B (en) 2017-08-17 2017-08-17 Message file pushing method and device

Country Status (1)

Country Link
CN (1) CN107302597B (en)

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107943775A (en) * 2017-11-24 2018-04-20 泰康保险集团股份有限公司 Method, apparatus, storage medium and the electronic equipment of message push
CN109194714B (en) * 2018-08-02 2021-05-04 深圳鼎盛电脑科技有限公司 File pushing method and device, terminal device and storage medium
CN109728997A (en) * 2018-12-06 2019-05-07 珠海格力电器股份有限公司 Ordering method, device, system, computing equipment and medium for information push
CN110245257B (en) * 2019-05-31 2023-11-21 创新先进技术有限公司 Push information generation method and device
CN112016286A (en) * 2020-07-24 2020-12-01 上海淇玥信息技术有限公司 File generation method and device and electronic equipment
CN113282597A (en) * 2021-04-25 2021-08-20 北京淇瑀信息科技有限公司 File updating method and system based on resource guarantee investment and electronic equipment
CN114553815A (en) * 2022-01-29 2022-05-27 北京金堤科技有限公司 Method and device for processing message
CN114979256B (en) * 2022-05-19 2024-06-18 北京京东乾石科技有限公司 Message pushing method and device, electronic equipment and computer readable medium
CN116319645A (en) * 2023-03-13 2023-06-23 北京水滴科技集团有限公司 Message sending method, device, computer equipment and computer readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656928A (en) * 2008-08-20 2010-02-24 华为软件技术有限公司 Short message processing method, system and assembly program unit
WO2013123550A1 (en) * 2012-02-20 2013-08-29 Other Levels Pty Ltd Notification message generation
CN103458379A (en) * 2012-05-31 2013-12-18 腾讯科技(深圳)有限公司 Information sending method, device and system and information push method, device and system
CN103973461A (en) * 2013-02-06 2014-08-06 阿里巴巴集团控股有限公司 Notification message pushing method and message server
CN104679753A (en) * 2013-11-26 2015-06-03 腾讯科技(深圳)有限公司 Information pushing method and information pushing device
CN104767746A (en) * 2015-03-26 2015-07-08 上海大唐移动通信设备有限公司 Push message receiving method, message pushing method, client and server
CN106302103A (en) * 2015-06-29 2017-01-04 腾讯科技(深圳)有限公司 A kind of information processing method and system, application server

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101656928A (en) * 2008-08-20 2010-02-24 华为软件技术有限公司 Short message processing method, system and assembly program unit
WO2013123550A1 (en) * 2012-02-20 2013-08-29 Other Levels Pty Ltd Notification message generation
CN103458379A (en) * 2012-05-31 2013-12-18 腾讯科技(深圳)有限公司 Information sending method, device and system and information push method, device and system
CN103973461A (en) * 2013-02-06 2014-08-06 阿里巴巴集团控股有限公司 Notification message pushing method and message server
CN104679753A (en) * 2013-11-26 2015-06-03 腾讯科技(深圳)有限公司 Information pushing method and information pushing device
CN104767746A (en) * 2015-03-26 2015-07-08 上海大唐移动通信设备有限公司 Push message receiving method, message pushing method, client and server
CN106302103A (en) * 2015-06-29 2017-01-04 腾讯科技(深圳)有限公司 A kind of information processing method and system, application server

Also Published As

Publication number Publication date
CN107302597A (en) 2017-10-27

Similar Documents

Publication Publication Date Title
CN107302597B (en) Message file pushing method and device
CN107622135B (en) Method and apparatus for displaying information
CN110708346B (en) Information processing system and method
CN109582873B (en) Method and device for pushing information
US20170109371A1 (en) Method and Apparatus for Processing File in a Distributed System
CN110473036B (en) Method and device for generating order number
US10614621B2 (en) Method and apparatus for presenting information
CN109446442B (en) Method and apparatus for processing information
CN111324786A (en) Method and device for processing consultation problem information
CN109413056B (en) Method and apparatus for processing information
CN112835904A (en) Data processing method and data processing device
CN108924183B (en) Method and device for processing information
CN113010405A (en) Application program testing method and device
CN113076153A (en) Interface calling method and device
CN110543604A (en) information processing method and device
CN107330087B (en) Page file generation method and device
CN112948138A (en) Method and device for processing message
CN110647327A (en) Method and device for dynamic control of user interface based on card
CN111460020B (en) Method, device, electronic equipment and medium for resolving message
CN112836201A (en) Method, device, equipment and computer readable medium for multi-platform information intercommunication
CN111460273B (en) Information pushing method and device
CN112445987A (en) Webpage updating method, device and system
CN113448652A (en) Request processing method and device
CN110858240A (en) Front-end module loading method and device
CN114253520B (en) Interface code generation method and device

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

Address after: 100085 Beijing, Haidian District on the road to the information on the ground floor of the 1 to the 3 floor of the 2 floor, room 11, 202

Applicant after: Beijing Xingxuan Technology Co.,Ltd.

Address before: 100085 Beijing, Haidian District on the road to the information on the ground floor of the 1 to the 3 floor of the 2 floor, room 11, 202

Applicant before: Beijing Xiaodu Information Technology Co.,Ltd.

GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200616