CN112367241A - Message generation and message transmission method, device, equipment and computer readable medium - Google Patents
Message generation and message transmission method, device, equipment and computer readable medium Download PDFInfo
- Publication number
- CN112367241A CN112367241A CN202011111893.9A CN202011111893A CN112367241A CN 112367241 A CN112367241 A CN 112367241A CN 202011111893 A CN202011111893 A CN 202011111893A CN 112367241 A CN112367241 A CN 112367241A
- Authority
- CN
- China
- Prior art keywords
- target
- notification
- data processing
- message
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/224—Monitoring or handling of messages providing notification on incoming messages, e.g. pushed notifications of received messages
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/21—Monitoring or handling of messages
- H04L51/234—Monitoring or handling of messages for tracking messages
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Artificial Intelligence (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Information Transfer Between Computers (AREA)
Abstract
Embodiments of the present disclosure disclose message generation and message sending methods, apparatuses, electronic devices and computer readable media. The specific implementation of the message generation method includes: determining a notification mode according to the service type, wherein the notification mode is used for representing the type of media used for sending notification messages to target users; acquiring target data for generating a target notification message; sending a data processing request to a data processing terminal, wherein the data processing request comprises the target data and the notification mode; and receiving a target notification message returned by the data processing terminal, wherein the target notification message is generated by the data processing terminal based on the notification mode and the target data. The implementation mode overcomes the defect of single service notification mode by introducing the module for selecting different notification modes based on the service types.
Description
Technical Field
Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a message generation method, a message transmission method, a message generation apparatus, a message transmission device, and a computer-readable medium.
Background
With the development of internet technology, more and more services are implemented by means of virtual technology, and in such an implementation mode, a large number of service notification requirements are included. For example, if a user makes a consumption in an electronic product, the electronic product may somehow present the user with details of the consumption. The related service notification is mainly linked, and the notification mode is single.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose message generation and message transmission methods, apparatuses, devices and computer readable media to solve the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a message generation method, including: determining a notification mode according to the service type, wherein the notification mode is used for representing the type of media used for sending notification messages to target users; acquiring target data for generating a target notification message; sending a data processing request to a data processing terminal, wherein the data processing request comprises the target data and the notification mode; and receiving a target notification message returned by the data processing terminal, wherein the target notification message is generated by the data processing terminal based on the notification mode and the target data.
In a second aspect, some embodiments of the present disclosure provide a message sending method, including: receiving a data processing request sent by a client, wherein the data processing request comprises target data and a notification mode; generating a target notification message based on the target data and the notification mode; determining the number of notification messages which are sent in a target time period before the current time point and have not received the reply; and sending the target notification message to the client in response to determining that the number is smaller than a preset threshold.
In a third aspect, some embodiments of the present disclosure provide a message generating apparatus, including: the first determining unit is configured to determine a notification mode according to the service type, wherein the notification mode is used for representing the type of media used for sending the notification message to the target user; an acquisition unit configured to acquire target data for generating a target notification message; a first sending unit, configured to send a data processing request to a data processing end, where the data processing request includes the target data and the notification manner; a first receiving unit, configured to receive a target notification message returned by the data processing side, where the target notification message is generated by the data processing side based on the notification method and the target data.
In a fourth aspect, some embodiments of the present disclosure provide a message sending apparatus, comprising: the second receiving unit is configured to receive a data processing request sent by a client, wherein the data processing request comprises target data and a notification mode; a generation unit configured to generate a target notification message based on the target data and the notification manner; a second determination unit configured to determine the number of notification messages that have not received a reply and are transmitted within a target time period before a current time point; a second sending unit configured to send the target notification message to the client in response to determining that the number is smaller than a preset threshold.
In a fifth aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method as described in any of the implementations of the first or second aspects.
In a sixth aspect, some embodiments of the disclosure provide a computer readable medium having a computer program stored thereon, where the program, when executed by a processor, implements a method as described in any of the implementations of the first or second aspects.
One of the above-described various embodiments of the present disclosure has the following advantageous effects: the defect of single service notification mode is overcome. Specifically, the inventors have found that the reason why the related art notification manner is too single is that templates of different notification manners are not set according to specific service types. That is, different notification modes are not supported to be selected according to different service types. Based on this, the scheme introduces a module for selecting different notification modes based on the service types. Specifically, the message generation method provided by the present solution may determine the notification mode according to the service type. And then the selected notification method is used for notification. Therefore, the scheme realizes the notification by using a plurality of notification modes.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
FIG. 1 is a schematic diagram of one application scenario of a message generation method of some embodiments of the present disclosure;
fig. 2 is a schematic diagram of an application scenario of a messaging method of some embodiments of the present disclosure;
fig. 3 is a flow diagram of some embodiments of a message generation method according to the present disclosure;
fig. 4 is a flow diagram of some embodiments of a messaging method according to the present disclosure;
FIG. 5 is a flow diagram of further embodiments of a message generation method according to the present disclosure;
fig. 6 is a flow diagram of further embodiments of a method of messaging according to the present disclosure;
fig. 7 is a schematic block diagram of some embodiments of a message generation apparatus according to the present disclosure;
fig. 8 is a schematic block diagram of some embodiments of a messaging device according to the present disclosure;
FIG. 9 is a schematic structural diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 shows a schematic diagram of one application scenario in which the message generation method of some embodiments of the present disclosure may be applied.
In the application scenario shown in fig. 1, first, the computing device 101 may determine a notification manner 103 according to the service type 102. In the user application scenario, the service type is accounting service. The corresponding notification mode is to use the image-text link for notification. Thereafter, target data 104 for generating a target notification message 106 may be obtained. In this application scenario, the target data is data generated after the user completes an order. The method comprises the following steps: amount of the order: "256-tuple", order completion time: "2010/3/618: 34: 56", payment user: "user 3498" and purchase content: "sports shoes". After that, the computing device 101 may send a data processing request to the data processing terminal 105, where the data processing request includes the target data 104 and the notification method 103. Optionally, the data processing end is a cloud end. Finally, an object notification message 106 returned by the data processing terminal 105 is received, where the object notification message 106 is generated by the data processing terminal 105 based on the notification method 103 and the object data 104.
The computing device 101 may be hardware or software. When the computing device is hardware, it may be implemented as a distributed cluster composed of a plurality of servers or electronic devices, or may be implemented as a single server or a single electronic device. When the computing device is embodied as software, it may be implemented as multiple pieces of software or software modules, for example, to provide distributed services, or as a single piece of software or software module. And is not particularly limited herein.
It should be understood that the number of computing devices 101 in FIG. 1 is merely illustrative. There may be any number of computing devices 101, as desired for implementation.
With continued reference to fig. 2, fig. 2 shows a schematic diagram of one application scenario of a messaging method to which some embodiments of the present disclosure may be applied.
In the application scenario shown in fig. 2, first, the computing device 201 may receive a data processing request 202 sent by a client 207, where the data processing request 202 includes target data 204 and a notification manner 203. In this application scenario, the notification mode is to use a text link for notification. And the target data is data generated after the user completes the order. The method comprises the following steps: order amount, order completion time, payment user information, and purchase content. Then, a target notification message 206 is generated based on the target data 204 and the notification method 203. Thereafter, the number of notification messages sent within the target time period before the current point in time without receiving a reply is determined 205. In the context of this application, the number is "3". Finally, in response to determining that the number is less than a preset threshold, the target notification message 206 is sent to the client 207. In this application scenario, the preset threshold is 5.
The computing device 201 may be hardware or software. When the computing device is hardware, it may be implemented as a distributed cluster composed of a plurality of servers or electronic devices, or may be implemented as a single server or a single electronic device. When the computing device is embodied as software, it may be implemented as multiple pieces of software or software modules, for example, to provide distributed services, or as a single piece of software or software module. And is not particularly limited herein.
It should be understood that the number of computing devices 201 in FIG. 1 is merely illustrative. There may be any number of computing devices 201, as implementation needs dictate.
With continued reference to fig. 3, a flow 300 of some embodiments of a message generation method according to the present disclosure is shown. The message generation method comprises the following steps:
In some embodiments, the above-described notification approach is used to characterize the type of media used to send the notification message to the target user.
In some embodiments, the correspondence between the service type and the notification manner may be preset and stored in a file. As an example, it may be stored in a table file. As yet another example, it may also be stored in a database file.
For example, the service types may include counseling service, accounting service, reminding service, and recommending service. The notification method may include: using text messages for notification, using teletext links for notification, using pictures for notification. On the basis, the notification mode of the consultation service can be to use a text message for notification. The accounting service and the reminding service can be notified by using a graphic link or a text link. The notification method of the recommendation service may be notification using a picture.
As an example, a specific example of the above-mentioned reminder service may be: after a user pays attention to a platform, the platform sends a notification message to the user, namely 'thank you for attention, and clicks the message to view historical articles'. The notification message is a text link message.
In some embodiments, an execution subject (e.g., the computing device in fig. 1) of the message generation method may obtain the target data through an interface provided by an operating system in the execution subject.
In some embodiments, the target data is data used by a configurable portion of the target notification message. For example, when the target notification message is an order message, the target data may include: amount of the order, completion time of the order, order payment user information.
In some embodiments, the data processing terminal may include a background server terminal.
In some optional implementation manners of some embodiments, the data processing end may further include a cloud end having a visualization control platform. With the embodiments of the implementation, data processing is performed by using a cloud with a visual control platform. And developers can directly develop, deploy and maintain the data processing terminal in the front-end environment. The interactive logic and the data processing method are managed in a front end centralized mode. And complicated data interaction of the front end and the back end is avoided. The development period is shortened. And the maintenance cost of the system is saved.
And step 304, receiving the target notification message returned by the data processing terminal.
In some embodiments, the target notification message is generated by the data processing side based on the notification method and the target data.
In some embodiments, the data processing end may first determine a notification message template from a plurality of notification message templates generated in advance according to the notification manner. And finally, filling the target data into the corresponding position in the notification message template to obtain the target notification message.
The method provided by some embodiments of the present disclosure breaks the barrier of single service notification manner by introducing modules that select different notification manners based on the service type.
With further reference to fig. 4, a flow 400 of some embodiments of a message sending method is shown. The process 400 of the message sending method includes the following steps:
In some embodiments, the business types may include consulting services, accounting services, reminding services, recommending services, and the like. And, the notification method may include: notification using text messages, notification using teletext links, notification using pictures, etc. On the basis, the notification mode of the consultation service can be to use a text message for notification. The accounting service and the reminding service can be notified by using a graphic link or a text link. The notification method of the recommendation service may be notification using a picture.
As an example, a specific example of the above-mentioned reminder service may be: after a user pays attention to a platform, the platform sends a notification message to the user, namely 'thank you for attention, and clicks the message to view historical articles'. The notification message is a text link message.
In some embodiments, the data processing end may first determine a notification message template from a plurality of notification message templates generated in advance according to the notification manner. And finally, filling the target data into the corresponding position in the notification message template to obtain the target notification message.
In step 403, the number of notification messages sent in the target time period before the current time point and for which no reply is received is determined.
In some embodiments, the target time period may be one day, as an example. On this basis, the executing agent of the messaging method (e.g., the computing device in fig. 2) may clear the statistics to zero before the end time of the day preceding the day, e.g., 23: 59. And counting the notification messages sent each time at the beginning time of the day, for example, 00: 00. That is, every time a notification message is sent, the above-mentioned statistical value is incremented by one. Every time a reply is received, the above statistical value is reduced by one.
In some embodiments, on the basis of determining, by using the statistical value, the number of notification messages that are sent in a target time period before a current time point and have not received a reply, the execution subject of the message sending method may send the target notification message to the client in response to determining that the statistical value is smaller than a preset threshold.
Some embodiments of the present disclosure provide methods by determining the number of notification messages sent within a target time period before a current point in time that have not received a reply. And determining whether to send the target notification message according to the number. Excessive notification is avoided. Thereby improving the user experience.
With further reference to fig. 5, a flow 500 of further embodiments of a message generation method is illustrated. The process 500 of the message generating method includes the following steps:
In some embodiments, the specific implementation of steps 501 and 502 and the technical effects thereof can refer to steps 301 and 302 in the embodiment corresponding to fig. 3, which are not described herein again.
In some embodiments, the static resources may include: and (6) pictures. On the basis, the notification method of using pictures for notification and using the image-text links belongs to the notification method of using static resources for notification.
In some embodiments, the target storage space may be a storage space in a memory of the backend server.
In some optional implementations of some embodiments, the target storage space may also be a cloud storage space in a cloud with a visualization control platform.
In some embodiments, the data processing request includes the target data, the notification method, and the storage address.
And step 505, receiving the target notification message returned by the data processing terminal.
In some embodiments, the target notification message is generated by the data processing side based on the notification method, the target data, and the storage address.
In some embodiments, the message generation method execution main body may first determine a storage unit storing the static resource according to the storage address. And then, determining the data stored in the storage unit as the static resource.
In some embodiments, the message generation method execution body may first determine a notification message template among a plurality of notification message templates generated in advance according to the notification manner. And finally, filling the target data and the static resource into the corresponding position in the notification message template to obtain the target notification message.
As can be seen from fig. 5, compared with the description of some embodiments corresponding to fig. 3, the solution described in some embodiments corresponding to fig. 5 stores a static resource to be used in a process of generating a message into a target storage space, and acquires a storage address of the static resource in the target storage space. The configuration change of the preset static resource can be carried out by changing the content of the storage space pointed by the storage address before the message is generated, so that the form of the notification message is richer. Facilitating accurate representation of the content of the notification message. The user experience is improved.
With further reference to fig. 6, a flow 600 of further embodiments of a method of messaging is shown. The process 600 of the message sending method includes the following steps:
In some embodiments, the specific implementation of step 601 and the technical effect thereof may refer to step 401 in the embodiment corresponding to fig. 4, and are not described herein again.
In some embodiments, the storage address is a storage address of a static resource included in the data processing request in the target storage space. The static resource is used for generating the target notification message.
In some embodiments, the target storage space may be a storage space pre-specified in an execution subject of the message sending method.
In some embodiments, the executing body of the message sending method may first determine a storage unit storing the static resource according to the storage address. And then, determining the data stored in the storage unit as the static resource.
In some embodiments, the executing agent of the message sending method may first determine a notification message template from a plurality of notification message templates generated in advance according to the notification manner. And finally, filling the target data and the static resource into the corresponding position in the notification message template to obtain the target notification message.
In some embodiments, the target storage space may be a preset storage space in an execution body of the message sending method. For example, the target storage space may be a storage space from x00FFH to xfffh in the execution main memory of the message sending method.
In some embodiments, the specific implementation of steps 605 and 606 and the technical effects thereof can refer to steps 403 and 404 in the embodiment corresponding to fig. 4, which are not described herein again.
As can be seen from fig. 6, compared with the description of some embodiments corresponding to fig. 4, the scheme described in some embodiments corresponding to fig. 6 can support the user to perform configuration change on the static resource according to the storage address by generating the target notification message using the static resource determined according to the storage address, so as to further enrich the form of the notification message. Facilitating accurate representation of the content of the notification message. The user experience is improved. And storing the target notification message into the target storage space, thereby providing conditions for subsequent response of a request of a user for viewing the history message.
With further reference to fig. 7, as an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a message generating apparatus, which correspond to those shown in fig. 3, and which may be applied in various electronic devices in particular.
As shown in fig. 7, the message generation apparatus 700 of some embodiments includes: a first determining unit 701, an acquiring unit 702, a first transmitting unit 703 and a first receiving unit 704. The first determining unit 701 is configured to determine, according to the service type, a notification manner, where the notification manner is used to characterize a type of a media used for sending a notification message to a target user; an acquisition unit 702 configured to acquire target data for generating a target notification message; a first sending unit 703 configured to send a data processing request to a data processing end, where the data processing request includes the target data and the notification manner; a first receiving unit 704 configured to receive a target notification message returned by the data processing side, where the target notification message is generated by the data processing side based on the notification method and the target data.
In an optional implementation of some embodiments, the apparatus 700 further comprises: the first storage unit is configured to store a static resource acquired in advance into a target storage space and acquire a storage address of the static resource in the target storage space in response to determining that the notification mode is notification using the static resource.
In an optional implementation manner of some embodiments, the data processing request further includes the storage address.
In an optional implementation manner of some embodiments, the data processing end includes a cloud end having a visual control platform, and the target storage space includes a cloud storage space in the cloud end.
It will be understood that the elements described in the apparatus 700 correspond to various steps in the method described with reference to fig. 3. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 700 and the units included therein, and will not be described herein again.
With further reference to fig. 8, as an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a message sending apparatus, which correspond to those shown in fig. 4, and which may be applied in various electronic devices in particular.
As shown in fig. 8, the message sending apparatus 800 of some embodiments includes: a second receiving unit 801, a generating unit 802, a second determining unit 803, and a second transmitting unit 804. The second receiving unit 801 is configured to receive a data processing request sent by a client, where the data processing request includes target data and a notification manner; a generating unit 802 configured to generate a target notification message based on the target data and the notification manner; a second determining unit 803 configured to determine the number of notification messages that have not received a reply and are transmitted within a target time period before the current time point; a second sending unit 804, configured to send the target notification message to the client in response to determining that the number is smaller than a preset threshold.
In an optional implementation manner of some embodiments, the data processing request further includes: the storage address of the static resource used for generating the target notification message in the target storage space; and the generating unit 802 is further configured to: acquiring the static resource from the target storage space based on the storage address; and generating a target notification message based on the target data, the notification mode and the static resource.
In an optional implementation of some embodiments, the apparatus 800 further comprises: a second storage unit configured to store the target notification message to a target storage space.
It will be understood that the elements described in the apparatus 800 correspond to various steps in the method described with reference to fig. 4. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 800 and the units included therein, and are not described herein again.
Referring now to FIG. 9, shown is a schematic block diagram of an electronic device (e.g., the computing device of FIG. 1) 900 suitable for use in implementing some embodiments of the present disclosure. The electronic device in some embodiments of the present disclosure may include, but is not limited to, a mobile terminal such as a mobile phone, a notebook computer, a digital broadcast receiver, a PDA (personal digital assistant), a PAD (tablet computer), a PMP (portable multimedia player), a vehicle-mounted terminal (e.g., a car navigation terminal), and the like, and a stationary terminal such as a digital TV, a desktop computer, and the like. The electronic device shown in fig. 9 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 9, the electronic device 900 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 901 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)902 or a program loaded from a storage means 908 into a Random Access Memory (RAM) 903. In the RAM903, various programs and data necessary for the operation of the electronic apparatus 900 are also stored. The processing apparatus 901, the ROM 902, and the RAM903 are connected to each other through a bus 904. An input/output (I/O) interface 905 is also connected to bus 904.
Generally, the following devices may be connected to the I/O interface 905: input devices 906 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 907 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage 908 including, for example, magnetic tape, hard disk, etc.; and a communication device 909. The communication device 909 may allow the electronic apparatus 900 to perform wireless or wired communication with other apparatuses to exchange data. While fig. 9 illustrates an electronic device 900 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 9 may represent one device or may represent multiple devices as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some 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 some such embodiments, the computer program may be downloaded and installed from a network through the communication device 909, or installed from the storage device 908, or installed from the ROM 902. The computer program, when executed by the processing apparatus 901, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium described above in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. 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 some embodiments of the disclosure, 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 some embodiments of the present disclosure, 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: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; 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: determining a notification mode according to the service type, wherein the notification mode is used for representing the type of media used for sending notification messages to target users; acquiring target data for generating a target notification message; sending a data processing request to a data processing terminal, wherein the data processing request comprises the target data and the notification mode; and receiving a target notification message returned by the data processing terminal, wherein the target notification message is generated by the data processing terminal based on the notification mode and the target data.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
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 disclosure. 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 some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor includes a first determining unit, an obtaining unit, a first transmitting unit, and a first receiving unit. Here, the names of these units do not constitute a limitation to the unit itself in some cases, and for example, the acquisition unit may also be described as "a unit that acquires target data".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
According to one or more embodiments of the present disclosure, there is provided a message generation method including: determining a notification mode according to the service type, wherein the notification mode is used for representing the type of media used for sending notification messages to target users; acquiring target data for generating a target notification message; sending a data processing request to a data processing terminal, wherein the data processing request comprises the target data and the notification mode; and receiving a target notification message returned by the data processing terminal, wherein the target notification message is generated by the data processing terminal based on the notification mode and the target data.
In accordance with one or more embodiments of the present disclosure, a method further comprises: and in response to the fact that the notification mode is determined to be the notification mode using the static resources, storing the static resources acquired in advance into a target storage space, and acquiring the storage addresses of the static resources in the target storage space.
According to one or more embodiments of the present disclosure, the storage address is further included in the data processing request.
According to one or more embodiments of the present disclosure, the data processing end includes a cloud end having a visual control platform, and the target storage space includes a cloud storage space in the cloud end.
According to one or more embodiments of the present disclosure, there is provided a message transmitting method including: receiving a data processing request sent by a client, wherein the data processing request comprises target data and a notification mode; generating a target notification message based on the target data and the notification mode; determining the number of notification messages which are sent in a target time period before the current time point and have not received the reply; and sending the target notification message to the client in response to determining that the number is smaller than a preset threshold.
According to one or more embodiments of the present disclosure, the data processing request further includes: the storage address of the static resource used for generating the target notification message in the target storage space; and generating a target notification message based on the target data and the notification manner, the generating including: acquiring the static resource from the target storage space based on the storage address; and generating the target notification message based on the target data, the notification mode and the static resource.
In accordance with one or more embodiments of the present disclosure, a method further comprises: and storing the target notification message to a target storage space.
According to one or more embodiments of the present disclosure, there is provided a message generating apparatus including: the first determining unit is configured to determine a notification mode according to the service type, wherein the notification mode is used for representing the type of media used for sending the notification message to the target user; an acquisition unit configured to acquire target data for generating a target notification message; a first sending unit, configured to send a data processing request to a data processing end, where the data processing request includes the target data and the notification manner; a first receiving unit, configured to receive a target notification message returned by the data processing side, where the target notification message is generated by the data processing side based on the notification method and the target data.
According to one or more embodiments of the present disclosure, an apparatus further comprises: the first storage unit is configured to store a static resource acquired in advance into a target storage space and acquire a storage address of the static resource in the target storage space in response to determining that the notification mode is notification using the static resource.
According to one or more embodiments of the present disclosure, the data processing request further includes the storage address.
According to one or more embodiments of the present disclosure, the data processing end includes a cloud end having a visual control platform, and the target storage space includes a cloud storage space in the cloud end.
According to one or more embodiments of the present disclosure, there is provided a message transmitting apparatus including: the second receiving unit is configured to receive a data processing request sent by a client, wherein the data processing request comprises target data and a notification mode; a generation unit configured to generate a target notification message based on the target data and the notification manner; a second determination unit configured to determine the number of notification messages that have not received a reply and are transmitted within a target time period before a current time point; a second sending unit configured to send the target notification message to the client in response to determining that the number is smaller than a preset threshold.
According to one or more embodiments of the present disclosure, the data processing request further includes: the storage address of the static resource used for generating the target notification message in the target storage space; and the generating unit is further configured to: acquiring the static resource from the target storage space based on the storage address; and generating the target notification message based on the target data, the notification mode and the static resource.
According to one or more embodiments of the present disclosure, an apparatus further comprises: a second storage unit configured to store the target notification message to a target storage space.
According to one or more embodiments of the present disclosure, there is provided an electronic device including: one or more processors; a storage device having one or more programs stored thereon which, when executed by one or more processors, cause the one or more processors to implement a method as in any above.
According to one or more embodiments of the present disclosure, a computer-readable medium is provided, on which a computer program is stored, wherein the program, when executed by a processor, implements the method as any one of the above.
The foregoing description is only exemplary of the preferred embodiments of the disclosure 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 in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.
Claims (11)
1. A method of message generation, comprising:
determining a notification mode according to the service type, wherein the notification mode is used for representing the type of media used for sending notification messages to target users;
acquiring target data for generating a target notification message;
sending a data processing request to a data processing end, wherein the data processing request comprises the target data and the notification mode;
and receiving a target notification message returned by the data processing terminal, wherein the target notification message is generated by the data processing terminal based on the notification mode and the target data.
2. The method of claim 1, wherein after the obtaining target data for generating a target notification message, the method further comprises:
and in response to the fact that the notification mode is determined to be the notification mode using the static resources, storing the static resources acquired in advance into a target storage space, and acquiring the storage addresses of the static resources in the target storage space.
3. The method of claim 2, wherein the memory address is further included in the data processing request.
4. The method of claim 2, wherein the data processing end comprises a cloud end having a visual control platform, and the target storage space comprises a cloud storage space in the cloud end.
5. A method for sending a message, comprising:
receiving a data processing request sent by a client, wherein the data processing request comprises target data and a notification mode;
generating a target notification message based on the target data and the notification mode;
determining the number of notification messages which are sent in a target time period before the current time point and have not received the reply;
and in response to determining that the number is less than a preset threshold, sending the target notification message to the client.
6. The method of claim 5, wherein the data processing request further comprises: the storage address of the static resource used for generating the target notification message in the target storage space; and
generating a target notification message based on the target data and the notification mode includes:
acquiring the static resource from the target storage space based on the storage address;
and generating the target notification message based on the target data, the notification mode and the static resource.
7. The method of claim 5, wherein after said generating a target notification message based on said target data and said notification mode, said method further comprises:
and storing the target notification message to a target storage space.
8. A message generating apparatus, comprising:
the first determining unit is configured to determine a notification mode according to the service type, wherein the notification mode is used for representing the type of media used for sending the notification message to the target user;
an acquisition unit configured to acquire target data for generating a target notification message;
the first sending unit is configured to send a data processing request to a data processing terminal, wherein the data processing request comprises the target data and the notification mode;
a first receiving unit, configured to receive a target notification message returned by the data processing end, where the target notification message is generated by the data processing end based on the notification manner and the target data.
9. A message transmitting apparatus comprising:
the second receiving unit is configured to receive a data processing request sent by a client, wherein the data processing request comprises target data and a notification mode;
a generation unit configured to generate a target notification message based on the target data and the notification manner;
a second determination unit configured to determine the number of notification messages that have not received a reply and are transmitted within a target time period before a current time point;
a second sending unit configured to send the target notification message to the client in response to determining that the number is less than a preset threshold.
10. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon,
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 or any one of claims 5-7.
11. A computer readable medium, having a computer program stored thereon, wherein the program, when executed by a processor, implements the method of any of claims 1-4 or any of claims 5-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011111893.9A CN112367241A (en) | 2020-10-16 | 2020-10-16 | Message generation and message transmission method, device, equipment and computer readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011111893.9A CN112367241A (en) | 2020-10-16 | 2020-10-16 | Message generation and message transmission method, device, equipment and computer readable medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112367241A true CN112367241A (en) | 2021-02-12 |
Family
ID=74508300
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011111893.9A Pending CN112367241A (en) | 2020-10-16 | 2020-10-16 | Message generation and message transmission method, device, equipment and computer readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112367241A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112995347A (en) * | 2021-05-11 | 2021-06-18 | 北京沃丰时代数据科技有限公司 | Method, device, equipment and storage medium for realizing end-to-end real-time data display |
CN114979256A (en) * | 2022-05-19 | 2022-08-30 | 北京京东乾石科技有限公司 | Message pushing method and device, electronic equipment and computer readable medium |
CN116260783A (en) * | 2022-09-07 | 2023-06-13 | 深圳市永兴元科技股份有限公司 | Message event pushing method, message pushing terminal and readable storage medium |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101170611A (en) * | 2007-11-16 | 2008-04-30 | 中兴通讯股份有限公司 | Method and system for realizing audio and video mailbox service |
CN101309162A (en) * | 2008-06-23 | 2008-11-19 | 华为技术有限公司 | Method, system, apparatus and user terminal realizing interaction of multimedia information |
CN101557267A (en) * | 2008-04-11 | 2009-10-14 | 华为技术有限公司 | Method for informing message presentation way in BCAST and device thereof |
CN102111344A (en) * | 2009-12-29 | 2011-06-29 | 腾讯科技(深圳)有限公司 | Method for reminding business updating and device adopting same |
CN105530523A (en) * | 2014-09-29 | 2016-04-27 | 中兴通讯股份有限公司 | Method and equipment for business realization |
CN106330582A (en) * | 2015-06-18 | 2017-01-11 | 中兴通讯股份有限公司 | Method and device for detecting quantity of mobile terminals sharing Internet |
CN109447192A (en) * | 2018-09-04 | 2019-03-08 | 西安艾润物联网技术服务有限责任公司 | Information-pushing method and Related product |
CN110601952A (en) * | 2018-06-12 | 2019-12-20 | 北京京东尚科信息技术有限公司 | Multi-channel message notification sending method and device |
CN111211972A (en) * | 2020-01-10 | 2020-05-29 | 青岛特来电云科技有限公司 | Message notification system and method supporting information pulling and multi-channel pushing |
CN111371892A (en) * | 2020-03-05 | 2020-07-03 | 中国银行股份有限公司 | High-concurrency distributed message pushing system and method |
CN111460780A (en) * | 2020-03-19 | 2020-07-28 | 中国平安人寿保险股份有限公司 | Notification method, device, equipment and readable storage medium |
CN111726456A (en) * | 2019-03-22 | 2020-09-29 | 腾讯科技(深圳)有限公司 | Data processing method and related device |
-
2020
- 2020-10-16 CN CN202011111893.9A patent/CN112367241A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101170611A (en) * | 2007-11-16 | 2008-04-30 | 中兴通讯股份有限公司 | Method and system for realizing audio and video mailbox service |
CN101557267A (en) * | 2008-04-11 | 2009-10-14 | 华为技术有限公司 | Method for informing message presentation way in BCAST and device thereof |
CN101309162A (en) * | 2008-06-23 | 2008-11-19 | 华为技术有限公司 | Method, system, apparatus and user terminal realizing interaction of multimedia information |
CN102111344A (en) * | 2009-12-29 | 2011-06-29 | 腾讯科技(深圳)有限公司 | Method for reminding business updating and device adopting same |
CN105530523A (en) * | 2014-09-29 | 2016-04-27 | 中兴通讯股份有限公司 | Method and equipment for business realization |
CN106330582A (en) * | 2015-06-18 | 2017-01-11 | 中兴通讯股份有限公司 | Method and device for detecting quantity of mobile terminals sharing Internet |
CN110601952A (en) * | 2018-06-12 | 2019-12-20 | 北京京东尚科信息技术有限公司 | Multi-channel message notification sending method and device |
CN109447192A (en) * | 2018-09-04 | 2019-03-08 | 西安艾润物联网技术服务有限责任公司 | Information-pushing method and Related product |
CN111726456A (en) * | 2019-03-22 | 2020-09-29 | 腾讯科技(深圳)有限公司 | Data processing method and related device |
CN111211972A (en) * | 2020-01-10 | 2020-05-29 | 青岛特来电云科技有限公司 | Message notification system and method supporting information pulling and multi-channel pushing |
CN111371892A (en) * | 2020-03-05 | 2020-07-03 | 中国银行股份有限公司 | High-concurrency distributed message pushing system and method |
CN111460780A (en) * | 2020-03-19 | 2020-07-28 | 中国平安人寿保险股份有限公司 | Notification method, device, equipment and readable storage medium |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112995347A (en) * | 2021-05-11 | 2021-06-18 | 北京沃丰时代数据科技有限公司 | Method, device, equipment and storage medium for realizing end-to-end real-time data display |
CN112995347B (en) * | 2021-05-11 | 2021-08-10 | 北京沃丰时代数据科技有限公司 | Method, device, equipment and storage medium for realizing end-to-end real-time data display |
CN114979256A (en) * | 2022-05-19 | 2022-08-30 | 北京京东乾石科技有限公司 | Message pushing method and device, electronic equipment and computer readable medium |
CN116260783A (en) * | 2022-09-07 | 2023-06-13 | 深圳市永兴元科技股份有限公司 | Message event pushing method, message pushing terminal and readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112311656B (en) | Message aggregation and display method and device, electronic equipment and computer readable medium | |
CN110378743B (en) | Application invitation method, terminal device, server and medium | |
CN110781373B (en) | List updating method and device, readable medium and electronic equipment | |
CN110098998B (en) | Method and apparatus for processing information | |
CN112367241A (en) | Message generation and message transmission method, device, equipment and computer readable medium | |
CN110569057A (en) | gray scale distribution method and device, electronic equipment and computer readable medium | |
CN111931962A (en) | Information display method and device and electronic equipment | |
CN111596991A (en) | Interactive operation execution method and device and electronic equipment | |
CN110658960A (en) | Message processing method and device and electronic equipment | |
CN110619101B (en) | Method and apparatus for processing information | |
CN114428925A (en) | Page rendering method and device, electronic equipment and computer readable medium | |
CN111641693B (en) | Session data processing method and device and electronic equipment | |
CN115022269A (en) | Message processing method, device, equipment and medium | |
CN111596992B (en) | Navigation bar display method and device and electronic equipment | |
CN112148744A (en) | Page display method and device, electronic equipment and computer readable medium | |
CN111798251A (en) | Verification method and device of house source data and electronic equipment | |
CN113138707B (en) | Interaction method, interaction device, electronic equipment and computer-readable storage medium | |
CN111212296B (en) | Live broadcast room gift list configuration method, device, medium and electronic equipment | |
CN109727072B (en) | Method and apparatus for processing information | |
JP2024500300A (en) | Information interaction methods, devices, and equipment | |
CN111367592B (en) | Information processing method and device | |
CN113220293A (en) | Page display method and device, electronic equipment and computer readable medium | |
CN111897620A (en) | Interaction method and device and electronic equipment | |
CN112637048B (en) | Information sending method, information sending device, electronic equipment and computer readable medium | |
CN111291254A (en) | Information processing 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 |