CN109948046B - Message pushing method and device, mobile terminal and storage medium - Google Patents

Message pushing method and device, mobile terminal and storage medium Download PDF

Info

Publication number
CN109948046B
CN109948046B CN201810009601.7A CN201810009601A CN109948046B CN 109948046 B CN109948046 B CN 109948046B CN 201810009601 A CN201810009601 A CN 201810009601A CN 109948046 B CN109948046 B CN 109948046B
Authority
CN
China
Prior art keywords
pushing
channel
template
universal
optimal
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.)
Active
Application number
CN201810009601.7A
Other languages
Chinese (zh)
Other versions
CN109948046A (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.)
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN201810009601.7A priority Critical patent/CN109948046B/en
Publication of CN109948046A publication Critical patent/CN109948046A/en
Application granted granted Critical
Publication of CN109948046B publication Critical patent/CN109948046B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a message pushing method, a message pushing device, a mobile terminal and a storage medium, wherein the method comprises the following steps: s1, receiving a query request sent by a terminal, wherein the query request carries a target user; s2: creating a universal template, wherein the universal template has a pre-configured multi-channel pushing strategy, text content, template types, variables and corresponding variable descriptions; s3, matching a pushing channel for the universal template according to the query request; and S4, according to the matching result, the text content is pushed through the matched push channel to be displayed to the target user. The invention effectively provides the optimal channel pushing, the duplicate removal pushing is carried out on the information channel, and the operation working efficiency and the information reaching rate are greatly reduced by centralizing the information management, improving the operation efficiency and providing the personalized requirement pushing mode for meeting the requirements of the information publisher.

Description

Message pushing method and device, mobile terminal and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a message pushing method and apparatus, a mobile terminal, and a storage medium.
Background
At present, when the internet and enterprise systems construct each information platform, the operation needs template setting and document compiling in different message system services during popularization activities, and each channel is pushed to users. For different operation activities, the operation usually needs to screen out the optimal channel which needs to be pushed by the user, but the optimal pushing is not carried out through historical feedback information of the user, for example, strategy analysis is carried out on historical data such as channel clicking, channel checking, template checking and the like, the optimal channel is pushed, the operation effect is improved, the arrival rate of user information is improved, and the conversion rate of the operation activities is improved. Conversion between different templates on a message template can be performed by using a universal template analysis such as FreeMarker, which is a template engine, a universal tool for generating output text (HTML web page, e-mail, configuration file, source code, etc.) based on the template and the data to be changed. It is not end-user oriented, but a Java class library, which is a component that programmers can embed into the products they develop, but the disadvantage is that templates such as Freemarker are heavy in conversion efficiency, and the conversion efficiency is more time-consuming.
Disclosure of Invention
The invention aims to provide a message pushing method, a message pushing device and a mobile terminal, so as to solve the defects in the background art. The traditional operation of the same message needs to configure different templates in different channels, and the same push information of multiple channels needs to be pushed to different channels for multiple times. The centralized management of operators is inconvenient, the workload is increased, and the efficiency is reduced. The customer volume is difficult to maintain and only partial information can be guaranteed to be satisfied. The information is repeatedly sent for multiple times, which causes waste of information sources. The information publisher cannot meet the personalized requirements of the demander.
In order to achieve the above purpose, the invention provides the following technical scheme:
a message pushing method comprises the following specific steps:
s1, receiving a query request sent by a terminal, wherein the query request carries a target user; s2: creating a universal template, wherein the universal template has a pre-configured multi-channel pushing strategy, text content, template types, variables and corresponding variable descriptions; s3, matching a pushing channel for the universal template according to the query request; and S4, according to the matching result, the text content is pushed through the matched push channel to be displayed to the target user.
Based on the same technical concept, the invention also provides a message pushing device, which comprises:
the system comprises a sending request module, a receiving module and a sending module, wherein the sending request module is used for receiving an inquiry request sent by a terminal, and the inquiry request carries a target user; the system comprises a creating module, a judging module and a processing module, wherein the creating module is used for creating a universal template, and the universal template has a pre-configured multi-channel pushing strategy, text content, template types, variables and corresponding variable descriptions; the matching module is used for matching a pushing channel for the universal template according to the query request; and the pushing module is used for pushing the text content through a matched pushing channel according to the matching result so as to display the text content to the target user.
Based on the same technical concept, the invention also provides a mobile terminal, which comprises:
a touch-sensitive display; a memory; one or more processors;
the one or more processors are configured for performing the steps of the above-described method.
Based on the same technical concept, the present invention also provides a storage medium storing computer-readable instructions, which, when executed by one or more processors, cause the one or more processors to perform the steps of the above-mentioned method.
The message pushing method, the message pushing device, the mobile terminal and the storage medium receive a query request sent by the terminal, wherein the query request carries a target user; creating a universal template, packaging the universal template in a JSON data format, analyzing the universal template, converting the universal template into templates corresponding to different push channels according to the push channels obtained by analysis, storing the templates in a template library, and uploading the converted templates to each service system, wherein the service system comprises a WeChat push system, a short message push system and a mobile application push system, each service system returns the template ID of the converted template, and records related fields into a relation table of the universal template and each push channel, and the related fields are the universal template ID and each push channel ID; inquiring a corresponding universal template according to the inquiry request, inquiring template IDs of all push channels corresponding to the universal template through the universal template and all push channel relation tables, inquiring target users needing to be pushed, judging whether the universal template selects an optimal push channel to push or not one by one for each target user, if the universal template selects the optimal push channel to push, carrying out optimal push channel analysis, pushing the target users through the optimal push channel according to an analysis result, if the universal template does not select the optimal push channel to push, screening the connected push channels for the target users, carrying out channel-by-channel pushing on the connected push channels, and encapsulating the template IDs of the connected push channels into data formats accepted by all push channel message interfaces; and according to the matching result, the text content is pushed through the matched push channel and then displayed to the target user. The method provides optimal channel pushing, performs duplication-removing pushing on information channels, and greatly reduces operation working efficiency and information reaching rate by centralizing information management, improving operation efficiency and providing a personalized requirement pushing mode for meeting requirements of information publishers.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention.
Fig. 1 is a flowchart of a message pushing method according to an embodiment of the present invention;
FIG. 2 is a flow diagram of creating a generic template in one embodiment of the invention;
FIG. 3 is a schematic diagram of a generic template in accordance with an embodiment of the present invention;
FIG. 4 is a diagram of a message push template in accordance with one embodiment of the present invention;
FIG. 5 is a diagram illustrating a short message push template according to an embodiment of the present invention;
FIG. 6 is a block diagram of a message pushing apparatus according to an embodiment of the present invention;
FIG. 7 is a block diagram of the structure of a create module in one embodiment of the invention;
FIG. 8 is a block diagram of the structure of a matching module in one embodiment of the invention;
fig. 9 is a schematic block diagram of an embodiment of a mobile terminal part structure according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, the present invention provides a technical solution:
a message pushing method comprises the following specific steps:
s1, receiving a query request sent by a terminal, wherein the query request carries a target user;
in this embodiment, when querying information pushed to a certain user, a querying person may send a request for reproduction of the pushed information. Specifically, the inquiring person may input a target user to be inquired in an inquiry page provided by the information reproduction platform, wherein the target user is usually a user ID. For example, assuming that the inquiring person wants to inquire about the information pushed to lie four by the information pushing system, the inquiring person can input the ID of lie four (i.e. the target user) in the inquiry page provided by the information reproducing platform.
S2: creating a universal template, wherein the universal template has a pre-configured multi-channel pushing strategy, text content, template types, variables and corresponding variable descriptions;
creating a universal template, wherein the universal template is as shown in FIG. 2, and encapsulating JSON of the universal template through an interface or an interface, and the universal template needs to describe the current multi-channel strategy, the content of the file, the variables, and the corresponding variable description, the template category and the like.
S3, matching a pushing channel for the universal template according to the query request;
the push channel refers to a push mode of the update prompt information, such as short message, mail, multimedia message, APP prompt, and the like. Under different circumstances, the mode that the user wants to receive information is different, for example sometimes look over for convenient and fast, can want to use little letter propelling movement, APP to remind or pop window to remind the mode and receive information. In order to enable the user to receive information in a manner desired by the user, in the embodiment of the present invention, the user may select at least one push channel based on the generic template having at least one candidate channel.
And S4, according to the matching result, the text content is pushed through the matched push channel to be displayed to the target user.
And pushing the pushed information content according to the matched pushing channel. Subsequently, the push information content is pushed to the user terminal, and the push information content is displayed on the user terminal.
Specifically, as shown in fig. 3, the creating of the generic template in step S2 further includes the following steps:
s201: creating a universal template, and packaging the universal template in a JSON data format;
the universal template is stored in a JSON data format, the template needs to be analyzed when the front end displays the template, the data of the template is in the JSON format, the analysis is very convenient, and the configured template is displayed by dynamically splicing the HTML table through JQuery + Js. JSON (JavaScript Object Notification) is a lightweight data exchange format. Easy to read and write by people. And is easy to be analyzed and generated by a machine. It is based on a subset of the JavaScript Programming Language. JSON uses a text format that is completely language independent, but also uses conventions similar to the C language family (including C, C + +, C #, Java, JavaScript, Perl, Python, etc.), which make JSON an ideal data exchange language.
S202: analyzing the universal template, wherein the universal template data obtained by analysis comprises a push channel, text contents and variables;
the terminal sends an HTTP GET request to the background server through a data request, requested data are analyzed through HHVX1.0, and then the template codes are identified to jump to a corresponding interface according to interface jump logic specified by display logic. And (5) analyzing the JSON data. The terminal analyzes the transmitted JSON data by using a communication protocol, namely Gson in a HHVX1.0 analysis protocol. And the terminal analyzes and obtains the main information of the universal template, such as a push channel, text content and variables.
S203: converting the universal template into templates corresponding to different pushing channels according to the pushing channels obtained by analysis and storing the templates into a template library;
the push message comprises a message content which is pushed to a user in advance, the push channel comprises an APP reminder (a message template I, the message push template is shown in figure 4), a short message (a message template II, the short message push template is shown in figure 5), a micro message (a message template III) and a micro blog (a message template IV), for example, a channel of each of 5 user terminals is stored in a user channel database, specifically, the channel of the first user terminal is a micro message channel, the channel of the second user terminal is a short message channel and a micro message channel, the channel of the third user terminal is a micro blog channel and a short message channel, the channel of the fourth user terminal is a wireless APP channel and a micro blog channel, and the channel of the fifth user terminal is a wireless APP channel and a short message channel.
And S204, uploading the converted template to each service system, wherein each service system comprises a WeChat pushing system, a short message pushing system and a mobile application pushing system, each service system returns the template ID of the converted template, and relevant fields are recorded in a relation table of the universal template and each pushing channel, and the relevant fields are the universal template ID and each pushing channel ID.
The terminal unit obtains the template ID (template ID) from the data solved by the HHVX1.0 resolution protocol. And if one template ID has each push channel ID matched with the template ID in the universal template and each push channel relation table, reporting the matched template ID to the server side so that the server side can determine the information corresponding to the matched template ID according to the pre-established corresponding relation between the template ID and each push channel relation table information. And the server side returns the information corresponding to the matched template ID. Specifically, the service system includes a WeChat push system, a short message push system or a mobile application push system.
Specifically, the step S3 includes:
s301: inquiring a corresponding universal template according to the inquiry request, and inquiring the template ID of each pushing channel corresponding to the universal template through the universal template and each pushing channel relation table;
polling unexecuted tasks, reading the tasks into a memory, reading the general template information related to the tasks, reading the pushed user files, pushing each user, mainly acting on inquiring the task pushing strategy through the general template, if the pushing strategy is not optimal, pushing all channels supported by a template Trans field, and mainly logically inquiring a Common _ relationship table to inquire a third-party template ID corresponding to the general template ID of each channel. And distributing the third-party template ID, the user ID and the variable JSON to each channel for pushing, calling a pushing interface of each channel, and transmitting the third-party template ID, the user ID and the variable JSON to each channel.
S302: inquiring target users needing to be pushed, judging whether a universal template selects an optimal pushing channel to push or not one by one for each target user, if the universal template selects the optimal pushing channel to push, performing optimal pushing channel analysis, pushing the target users by the optimal pushing channel according to an analysis result, and if the universal template does not select the optimal pushing channel to push, screening connected pushing channels for the target users, performing channel-division pushing on the connected pushing channels, wherein the connected pushing channels are packaged with template IDs of the connected pushing channels and packaged into data formats received by message interfaces of the pushing channels;
and judging whether the universal template selects the optimal channel for pushing or not one by one for each target user, and if the universal template is the optimal channel for pushing, pushing the message content through the optimal channel for pushing. And judging whether the universal template selects the optimal channel for pushing, if so, screening out the channel affiliated to the user, and pushing only the affiliated channel. And the attached channel encapsulates the template ID of the attached channel, encapsulates the template ID into a data format accepted by each channel message interface, and pushes the channel by channel. If not, the user pushes the template type through the optimal channel, the optimal channel analysis is called, the channel information of the template type fed back by the user is inquired, and the number is counted according to the channels. And judging whether the template type message is fed back by a user or not, if so, carrying out channel latitude analysis, carrying out sequencing according to the statistical number of the channels, wherein the sequencing rule is that the feedback times are from large to small, and when the feedback times are the same, the channel arranged at the first position is the optimal channel according to the latest request to the farthest request of the feedback time. And calling a pushing interface, pushing according to the optimal channel, and pushing information such as the template ID, the variable content and the like which need to be transmitted into the channel. If not, carrying out user latitude analysis, inquiring the channel which is fed back by the user last time, if feedback exists, the channel is the optimal channel, and if no feedback exists, selecting the first channel in the template, the channel is the optimal channel. And calling a message pushing interface provided by the server, transmitting the template ID, the text content, the variable and the like to be pushed to the logic processing unit to trigger message pushing, and pushing the message in time.
Specifically, the optimal channel analysis in step S303 includes:
judging whether the target user feeds back the template type information or not, if the target user feeds back the template type information, carrying out pushing channel latitude analysis, sorting the pushing channels according to preset sorting rules according to the number of times of user feedback of each pushing channel, wherein the pushing channel arranged at the first position is the optimal pushing channel, if the target user does not feed back the pushing channels, carrying out user latitude analysis, inquiring the pushing channel fed back by the target user for the last time, if the pushing channel has feedback, the pushing channel is the optimal pushing channel, and if no feedback exists, selecting the first pushing channel in the template, wherein the first pushing channel is the optimal pushing channel.
And pushing each user, if the pushing is optimal, inquiring user feedback information, checking the number of each channel of the user under the template type, judging whether the value exists, pushing by adopting the channel latitude, and otherwise, pushing by adopting the user latitude. The channel latitude pushing means that the category information is queried through SQL, the number of each feedback channel is the maximum number of the channels is the optimal channel, if the maximum number of the channels is multiple channels, the last feedback time is selected as the optimal channel to push the user latitude, the channel fed back by the user last time is queried, if feedback exists, the channel is the optimal channel, and if no feedback exists, the channel fed back by the user last time is not the optimal channel, the template first channel is adopted for pushing.
Specifically, the step of the target user feeding back the template type message includes: short message reply, message click or WeChat check; the preset sequencing rule is as follows: and sorting according to the sequence from most to least feedback times, and when the feedback times are the same, sorting according to the feedback time from the latest to the earliest.
The service system returns the user feedback to the message center through the interface request. Short message reply, message click, WeChat check, and the corresponding channel template ID, trigger time, and user ID are transmitted to the user callback interface of the message center. The user callback interface forwards the request data to the analysis user feedback and recording module. And inquiring a universal template relation table, inquiring a template ID corresponding to the channel template ID, analyzing the template, and recording the type of the template and user feedback data. And feeding the data into a feedback record table for use in the previous step. MMP-CPS (message center client) provides an http request interface to receive feedback, and feedback fields comprise a channel, a third party template ID, a User ID and a Time Stamp request and then are stored in a User feedback record table. The feedback record table comprises user ID, three-party template ID, channel and feedback time.
Based on the same technical concept, the present invention further provides a message pushing apparatus, as shown in fig. 6, the message pushing apparatus includes:
the system comprises a sending request module, a receiving module and a sending module, wherein the sending request module is used for receiving an inquiry request sent by a terminal, and the inquiry request carries a target user;
the system comprises a creating module, a judging module and a processing module, wherein the creating module is used for creating a universal template, and the universal template has a pre-configured multi-channel pushing strategy, text content, template types, variables and corresponding variable descriptions;
the matching module is used for matching a pushing channel for the universal template according to the query request;
and the pushing module is used for pushing the text content through a matched pushing channel according to the matching result so as to display the text content to the target user.
Specifically, as shown in fig. 7, the creating module includes:
the packaging submodule is used for creating a universal template and packaging the universal template in a JSON data format;
the analysis submodule is used for analyzing the universal template, and the universal template data obtained by analysis comprises a push channel, text contents and variables;
the conversion submodule is used for converting the universal template into templates corresponding to different pushing channels according to the pushing channels obtained by analysis and storing the templates into a template library;
a return submodule, configured to upload the converted template to each service system, where the service system includes a WeChat push system, a short message push system, and a mobile application push system, and each service system returns a template ID of the converted template, and records relevant fields in a relation table between the universal template and each push channel, where the relevant fields are the universal template ID and each push channel ID;
as shown in fig. 8, the matching module includes:
the query submodule is used for querying the corresponding universal template according to the query request and querying the template ID of each push channel corresponding to the universal template through the universal template and each push channel relation table;
based on the same technical concept, the present invention further provides a mobile terminal for implementing a method for pushing a cross-mobile application message, as shown in fig. 9, for convenience of description, only a portion 20 related to the embodiment of the present invention is shown, and details of the specific technology are not disclosed, please refer to the method portion of the embodiment of the present invention. The terminal may be any terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales), a vehicle-mounted computer, etc., taking the mobile terminal as the mobile phone as an example:
fig. 9 is a block diagram illustrating a partial structure of a mobile phone related to a mobile terminal according to an embodiment of the present invention. Referring to fig. 9, the handset includes: baseband processing module 410, memory 420, input unit 430, display unit 440, sensor 450, audio circuit 460, Wireless Fidelity (WiFi) module 470, processor 480, and power supply 490. Those skilled in the art will appreciate that the handset configuration shown in fig. 9 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
The baseband processing module 410 may be used to synthesize a baseband signal to be transmitted or decode a received baseband signal. Specifically, the audio signal is compiled into a baseband code for transmission when being transmitted; upon reception, the received baseband code is interpreted as an audio signal. Meanwhile, the system is also responsible for compiling address information (mobile phone numbers, website addresses), text information (short message texts and website texts) and picture information (multimedia messages).
The memory 420 may be used to store software programs and modules, and the processor 480 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in the memory 420. The memory 420 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phonebook, etc.) created according to the use of the cellular phone, and the like. Further, the memory 420 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 430 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of the cellular phone. Specifically, the input unit 430 may include a touch panel 431 and other input devices 432. The touch panel 431, also called a touch screen, may collect touch operations of a user on or near the touch panel 431 (e.g., operations of the user on or near the touch panel 431 using any suitable object or accessory such as a finger or a stylus) and drive the corresponding connection device according to a preset program. Alternatively, the touch panel 431 may include two parts of a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 480, and receives and executes commands sent from the processor 480. In addition, the touch panel 431 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. The input unit 430 may include other input devices 432 in addition to the touch panel 431. In particular, other input devices 432 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 440 may be used to display information input by the user or information provided to the user and various menus of the cellular phone. The Display unit 440 may include a Display panel 441, and optionally, the Display panel 441 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 431 may cover the display panel 441, and when the touch panel 431 detects a touch operation on or near the touch panel 431, the touch panel is transmitted to the processor 480 to determine the type of the touch event, and then the processor 480 provides a corresponding visual output on the display panel 441 according to the type of the touch event. Although the touch panel 431 and the display panel 441 are shown in fig. 9 as two separate components to implement the input and output functions of the mobile phone, in some embodiments, the touch panel 431 and the display panel 441 may be integrated to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 450, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 441 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 441 and/or the backlight when the mobile phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when stationary, and can be used for applications of recognizing the posture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured on the mobile phone, further description is omitted here.
Audio circuit 460, speaker 461, microphone 462 may provide an audio interface between the user and the cell phone. The audio circuit 460 may transmit the electrical signal converted from the received audio data to the speaker 461, and convert the electrical signal into a sound signal for output by the speaker 461; on the other hand, the microphone 462 converts the collected sound signal into an electrical signal, which is received by the audio circuit 460 and converted into audio data, which is then processed by the audio data output processor 480 and then transmitted to, for example, another cellular phone via the RF circuit 410, or output to the memory 420 for further processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through the WiFi module 470, and provides wireless broadband Internet access for the user. Although fig. 9 shows the WiFi module 470, it is understood that it does not belong to the essential constitution of the handset, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 480 is a control center of the mobile phone, connects various parts of the entire mobile phone by using various interfaces and lines, and performs various functions of the mobile phone and processes data by operating or executing software programs and/or modules stored in the memory 420 and calling data stored in the memory 420, thereby integrally monitoring the mobile phone. Optionally, processor 480 may include one or more processing units; preferably, the processor 480 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 480.
The handset also includes a power supply 490 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 480 via a power management system, so that the power management system may perform functions such as managing charging, discharging, and power consumption.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which are not described herein.
In the embodiment of the present invention, the processor 480 included in the terminal may execute the steps of the message pushing method in the foregoing embodiment.
Based on the same technical concept, the present invention also provides a storage medium storing computer-readable instructions, which when executed by one or more processors, cause the one or more processors to execute the steps of the message pushing method in the above embodiments.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
It will be understood by those skilled in the art that all or part of the steps in the method for implementing the above embodiments may be implemented by hardware that is instructed to implement by a program, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above-mentioned embodiments only express some exemplary embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (6)

1. A message pushing method, the method comprising:
s1, receiving a query request sent by a terminal, wherein the query request carries a target user;
s2: creating a universal template, wherein the universal template has a pre-configured multi-channel pushing strategy, text content, template types, variables and corresponding variable descriptions, and comprises the following steps:
s201: creating a universal template, and packaging the universal template in a JSON data format;
s202: adopting Gson to analyze the universal template, wherein the universal template data obtained by analysis comprises a push channel, text contents and variables;
s203: converting the universal template into templates corresponding to different pushing channels according to the pushing channels obtained by analysis and storing the templates into a template library;
s204, uploading the converted template to each service system, wherein each service system comprises a WeChat pushing system, a short message pushing system and a mobile application pushing system, each service system returns a template ID of the converted template, and relevant fields are recorded in a relation table of the universal template and each pushing channel, wherein the relevant fields are the universal template ID and each pushing channel ID, and the universal template has a pre-configured multi-channel pushing strategy, text content, template category, variable and corresponding variable description;
s3, according to the query request, matching a push channel for the universal template, including:
s301: inquiring a corresponding universal template according to the inquiry request, inquiring a task pushing strategy through the universal template, and if the task pushing strategy is not optimal, inquiring a preset Common _ template universal template relation table to obtain a third-party template ID corresponding to each channel universal template ID supported by a template Trans field;
s302: inquiring target users needing to be pushed, judging whether a universal template selects an optimal pushing channel for pushing or not one by one for each target user, if the universal template selects the optimal pushing channel for pushing, performing optimal pushing channel analysis, pushing the target users by the optimal pushing channel according to an analysis result, if the universal template does not select the optimal pushing channel for pushing, screening connected pushing channels for the target users, performing channel-by-channel pushing on the connected pushing channels, packaging third-party template IDs (identities) of the connected pushing channels, and packaging the third-party template IDs into data formats accepted by message interfaces of the pushing channels, wherein the optimal pushing channel analysis comprises the following steps:
judging whether a target user feeds back the template type information or not, if the target user feeds back the template type information, carrying out pushing channel latitude analysis, sequencing the pushing channels according to the preset sequencing rule according to the number of times of user feedback of each pushing channel, wherein the pushing channel arranged at the first position is the optimal pushing channel, if the target user does not feed back the pushing channels, carrying out user latitude analysis, inquiring the pushing channel fed back by the target user last time, if the pushing channel has feedback, the pushing channel is the optimal pushing channel, and if no feedback exists, selecting the first pushing channel in the template, wherein the first pushing channel is the optimal pushing channel;
and S4, according to the matching result, pushing the text content through the matched pushing channel to be displayed to the target user.
2. The message pushing method according to claim 1, wherein the multi-channel pushing policy comprises: the system comprises an optimal pushing channel, a message pushing channel, a short message pushing channel, a micro message pushing channel, all pushing channels and a non-short message pushing channel.
3. The message pushing method of claim 1, wherein the target user feeds back the template category message comprises: short message reply, message click or WeChat check; the preset sequencing rule is as follows: and sorting according to the sequence from most to least feedback times, and when the feedback times are the same, sorting according to the feedback time from the latest to the earliest.
4. A message pushing apparatus, characterized in that the message pushing apparatus comprises:
the system comprises a sending request module, a receiving module and a sending module, wherein the sending request module is used for receiving an inquiry request sent by a terminal, and the inquiry request carries a target user;
the system comprises a creating module, a judging module and a processing module, wherein the creating module is used for creating a universal template, and the universal template has a pre-configured multi-channel pushing strategy, text content, template types, variables and corresponding variable descriptions;
the matching module is used for matching a pushing channel for the universal template according to the query request;
the pushing module is used for pushing the text content through a matched pushing channel according to a matching result so as to display the text content to a target user;
wherein the creation module comprises:
the packaging submodule is used for creating a universal template and packaging the universal template in a JSON data format;
the analysis submodule is used for analyzing the universal template by adopting Gson, and the universal template data obtained by analysis comprises a push channel, text content and variables;
the conversion submodule is used for converting the universal template into templates corresponding to different pushing channels according to the pushing channels obtained by analysis and storing the templates into a template library;
the return submodule is used for uploading the converted template to each service system, each service system comprises a WeChat pushing system, a short message pushing system and a mobile application pushing system, each service system returns the template ID of the converted template, and relevant fields are recorded into a relation table of the universal template and each pushing channel, wherein the relevant fields are the universal template ID and each pushing channel ID, and the universal template has a pre-configured multi-channel pushing strategy, text content, template category, variable and corresponding variable description;
the matching module includes:
the query submodule is used for querying a corresponding universal template according to the query request, querying a task pushing strategy through the universal template, and if the task pushing strategy is not optimal, obtaining a third-party template ID corresponding to each channel universal template ID supported by the template Trans field by querying a preset Common _ related universal template relation table;
the judgment matching submodule is used for inquiring target users needing to be pushed, judging whether a universal template selects an optimal pushing channel for pushing for each target user one by one, if the universal template selects the optimal pushing channel for pushing, performing optimal pushing channel analysis, pushing the target users by the optimal pushing channel according to an analysis result, if the universal template does not select the optimal pushing channel for pushing, screening a connected pushing channel for the target users, performing channel-divided pushing for the connected pushing channels, packaging a third-party template ID connected with the pushing channels by the connected pushing channels, and packaging the third-party template ID into a data format accepted by message interfaces of each pushing channel, wherein the optimal pushing channel analysis comprises: judging whether the target user feeds back the template type information or not, if the target user feeds back the template type information, carrying out pushing channel latitude analysis, sorting the pushing channels according to preset sorting rules according to the number of times of user feedback of each pushing channel, wherein the pushing channel arranged at the first position is the optimal pushing channel, if the target user does not feed back the pushing channels, carrying out user latitude analysis, inquiring the pushing channel fed back by the target user for the last time, if the pushing channel has feedback, the pushing channel is the optimal pushing channel, and if no feedback exists, selecting the first pushing channel in the template, wherein the first pushing channel is the optimal pushing channel.
5. A mobile terminal, comprising:
a touch-sensitive display;
a memory;
one or more processors;
the one or more processors are configured to perform the steps of the method of any one of claims 1 to 3.
6. A storage medium storing computer-readable instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of the method of any one of claims 1 to 3.
CN201810009601.7A 2018-01-05 2018-01-05 Message pushing method and device, mobile terminal and storage medium Active CN109948046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810009601.7A CN109948046B (en) 2018-01-05 2018-01-05 Message pushing method and device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810009601.7A CN109948046B (en) 2018-01-05 2018-01-05 Message pushing method and device, mobile terminal and storage medium

Publications (2)

Publication Number Publication Date
CN109948046A CN109948046A (en) 2019-06-28
CN109948046B true CN109948046B (en) 2021-09-28

Family

ID=67006004

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810009601.7A Active CN109948046B (en) 2018-01-05 2018-01-05 Message pushing method and device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109948046B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110296501B (en) * 2019-07-11 2021-04-02 珠海格力电器股份有限公司 Centralized management and control system and method for air conditioning system
CN110460638A (en) * 2019-07-11 2019-11-15 深圳职业技术学院 Information push method and device
CN110417884B (en) * 2019-07-23 2021-10-08 腾讯科技(深圳)有限公司 Message pushing method, device, equipment and storage medium
CN110838970B (en) * 2019-11-04 2022-03-01 宜人恒业科技发展(北京)有限公司 Message distribution method, device and system
CN111953579B (en) * 2020-07-15 2022-01-11 广州市玄武无线科技股份有限公司 Message generation method, system, terminal and storage medium
CN111953776A (en) * 2020-08-12 2020-11-17 江苏云柜网络技术有限公司 Application service message pushing method and device, computer equipment and computer storage medium
CN112445974A (en) * 2020-11-18 2021-03-05 北京易观智库网络科技有限公司 Intelligent information pushing method, system, equipment and readable storage medium
CN114640956B (en) * 2020-12-15 2024-01-19 北京金山云网络技术有限公司 Short message issuing method, device, system and electronic equipment
CN112653745B (en) * 2020-12-16 2022-08-09 中国建设银行股份有限公司 Configurable message pushing method and device
CN112650600B (en) * 2020-12-22 2023-10-27 广州市家庭医生在线信息有限公司 Method, device and computer equipment for pushing message content
CN112822286B (en) * 2021-01-27 2023-04-07 湖南快乐阳光互动娱乐传媒有限公司 Message pushing method and device
CN113742456A (en) * 2021-09-09 2021-12-03 平安科技(深圳)有限公司 Message reach method, device, equipment and storage medium based on artificial intelligence
CN114218908A (en) * 2021-11-10 2022-03-22 中国建设银行股份有限公司 Information pushing method and device and electronic equipment
CN115314459A (en) * 2022-08-12 2022-11-08 中国平安财产保险股份有限公司 Information push management method and device, computer equipment and storage medium
CN117076542B (en) * 2023-08-29 2024-06-07 中国中金财富证券有限公司 Data processing method and related device
CN116993039B (en) * 2023-09-25 2023-12-26 浙江华云信息科技有限公司 Time sequence feature-based green electricity and power data processing method and system for both sender and sender

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105337837A (en) * 2014-06-26 2016-02-17 阿里巴巴集团控股有限公司 Message transmitting method and device
CN106020889A (en) * 2016-05-24 2016-10-12 乐视控股(北京)有限公司 Installation package generating method and device, server
US9641532B2 (en) * 2013-05-06 2017-05-02 Veeva Systems Inc. System and method for controlling electronic communications
CN106708476A (en) * 2015-07-20 2017-05-24 腾讯科技(深圳)有限公司 Stand-alone application instruction processing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104104591B (en) * 2014-08-06 2017-05-17 上海携程商务有限公司 Message pushing method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9641532B2 (en) * 2013-05-06 2017-05-02 Veeva Systems Inc. System and method for controlling electronic communications
CN105337837A (en) * 2014-06-26 2016-02-17 阿里巴巴集团控股有限公司 Message transmitting method and device
CN106708476A (en) * 2015-07-20 2017-05-24 腾讯科技(深圳)有限公司 Stand-alone application instruction processing method and device
CN106020889A (en) * 2016-05-24 2016-10-12 乐视控股(北京)有限公司 Installation package generating method and device, server

Also Published As

Publication number Publication date
CN109948046A (en) 2019-06-28

Similar Documents

Publication Publication Date Title
CN109948046B (en) Message pushing method and device, mobile terminal and storage medium
US10887260B2 (en) Return to sender
CN108370347B (en) Predictive response method and system for incoming communications
US11687163B2 (en) Apparatus, system, and method for transferring data from a terminal to an electromyography (EMG) device
US8706920B2 (en) Accessory protocol for touch screen device accessibility
CN108932159B (en) Task management method and device
US20130110992A1 (en) Electronic device management using interdomain profile-based inferences
CN106341300B (en) Method, device and system for task release
CN109309696B (en) Folder transmission method, sender, receiver, and storage medium
CN111447483A (en) Live broadcast room barrage sending method and device and corresponding terminal
CN109726367A (en) A kind of method and relevant apparatus of annotation displaying
CN104965842A (en) Search recommending method and apparatus
CN112637039A (en) Information processing method, device and storage medium
US20170090705A1 (en) Conversation and version control for objects in communications
CN112732386A (en) Message processing method, device, terminal and storage medium
JP2018506793A (en) Method, apparatus, system and computer program for providing a rich menu of official accounts in an instant messaging service
CN112540996B (en) Service data verification method and device, electronic equipment and storage medium
JP2021502631A (en) Application processing methods for terminal devices, and terminal devices
CN110647827A (en) Comment information processing method and device, electronic equipment and storage medium
EP3387556B1 (en) Providing automated hashtag suggestions to categorize communication
CN108605009B (en) Mail grouping method and device
KR102146261B1 (en) Electronic Device And Method For Extracting And Using Semantic Entity In Conversation Message Of The Same
CN109739409B (en) Batch processing method and device and terminal equipment
CN110493447A (en) A kind of message treatment method and relevant device
CN110381341B (en) Data processing method and related equipment

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
GR01 Patent grant
GR01 Patent grant