Disclosure of Invention
In order to overcome the technical problems, in particular to the problem that the prior art cannot flexibly and efficiently push the message, the following technical scheme is proposed:
in a first aspect, the present application provides a message pushing method, including:
comparing, in response to currently received configuration information, the configuration information with preconfigured trigger conditions;
if the configuration information meets the pre-configured triggering condition, determining a target object to be pushed and target message content to be pushed according to the configuration information and the pre-configured triggering condition;
and pushing the target message content to the target object.
Further, the responding to the currently received configuration information includes:
configuration information generated in response to a currently received behavior operation of the client;
the determining of the target object to be pushed and the target message content to be pushed according to the configuration information and the preconfigured trigger condition includes:
determining the client as a target object to be pushed;
and determining corresponding target message content to be pushed according to the behavior operation of the client.
Further, the determining a target object to be pushed and a target message content to be pushed according to the configuration information and the preconfigured trigger condition includes:
determining a target area according to the configuration information and a pre-configured trigger condition;
acquiring target message contents to be pushed in each target area;
the pushing the target message content to the target object includes:
and pushing the target message content of the corresponding area to the target object of each target area.
Further, the target area is determined according to the identification of the client.
Further, after the pushing the target message content to the target object, the method further includes:
receiving feedback information of a target object to the content of the target message;
generating feature description information of the target object according to the feedback information;
and determining the next target message content of the target object according to the feature description information.
Further, the pushing the target message content to the target object includes:
and pushing display form data of the target message content to the target object so that the target object displays the target message content based on the display form data.
Further, after the pushing the target message content to the target object, the method further includes:
acquiring the related message content of the target message content;
and pushing the target message content and the associated message content to a ticker component of a target object so that the ticker component of the target object displays the target message content and the associated message content in a carousel form.
In a second aspect, the present application provides a message pushing apparatus, including:
a response module: for comparing, in response to a currently received configuration information, the configuration information with a preconfigured trigger condition;
a determination module: the device comprises a configuration information acquisition module, a display module and a display module, wherein the configuration information acquisition module is used for acquiring configuration information of a target object to be pushed and a target message content to be pushed;
a pushing module: for pushing the target message content to the target object.
In a third aspect, the present application further provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the message pushing method described above.
In a fourth aspect, the present application also provides a control terminal comprising one or more processors, a memory, one or more computer programs, wherein the one or more computer programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to perform the above-mentioned message push method.
Compared with the prior art, the application has the following beneficial effects:
the application provides a method for triggering and automatically pushing messages based on preset conditions, a background server is configured with a series of conditions and specific pushing contents, when the background server receives configuration information, the configuration information is compared with the preconfigured triggering conditions in response to the received configuration information, the conditions triggered by different configuration information are different, the corresponding message contents to be pushed are different, simultaneously, the objects to be pushed are different, if the current configuration information meets the preconfigured triggering conditions, the target objects to be pushed and the target contents to be pushed are determined according to the configuration information and the triggering conditions, and after the target objects are determined, the target message contents are pushed to the target objects to enable the target objects to display the corresponding target message contents, the message pushing does not need to be updated in real time by operators, but the message pushing is carried out by presetting a trigger condition when the received configuration information meets the trigger condition, so that diversified operation requirements are met, the application universality of the message pushing is expanded, and the flexibility of the message pushing and the efficiency of the diversified message pushing are improved.
Further, the target message content and the associated message content are pushed to a ticker component of a target object, so that the ticker component of the target object displays the target message content and the associated message content in a carousel manner, a plurality of message contents can be displayed on the target object, and the target message content and the associated message content are displayed in the carousel manner of the ticker component, so that the occupancy rate of the message contents on a display interface of the target object can be reduced, and the utilization rate of the display interface of the target object is improved.
Additional aspects and advantages of the present application will be set forth in part in the description which follows and, in part, will be obvious from the description, or may be learned by practice of the present application.
Detailed Description
Reference will now be made in detail to embodiments of the present application, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary only for the purpose of explaining the present application and are not to be construed as limiting the present application.
As used herein, the singular forms "a", "an", "the" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will be further understood that the terms "comprises" and/or "comprising," when used in this specification, specify the presence of stated features, integers, steps, or operations, but do not preclude the presence or addition of one or more other features, integers, steps, operations, or groups thereof.
It will be understood by those within the art that, unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. It will be further understood that terms, such as those defined in commonly used dictionaries, should be interpreted as having a meaning that is consistent with their meaning in the context of the prior art and will not be interpreted in an idealized or overly formal sense unless expressly so defined herein.
An embodiment of the present application provides a message pushing method, as shown in fig. 1, the method includes the following steps:
s10: in response to currently received configuration information, the configuration information is compared to preconfigured trigger conditions.
The embodiment is applied to a background server, which configures a series of conditions and specific push contents, where the conditions are triggering conditions for message push, and the triggering conditions determine the push of the message by comparing with received configuration information, and specifically, when the background server receives the configuration information, the configuration information is compared with the preconfigured triggering conditions in response to the received configuration information. The configuration information comprises configuration information generated by behaviors of the client, namely the specific behavior of the client can generate corresponding configuration information, such as behaviors of singing a specified song by the client, scanning and logging in by the client, purchasing a specified package commodity by the client and the like; the configuration information comprises time configuration information, and if the Beijing time reaches 2019, 10, month, 1, day 00:00, corresponding time configuration information is generated; the configuration information comprises climate information, such as climate configuration information generated by acquiring weather data of a weather platform; when the background server receives the configuration information, the configuration information is compared to preconfigured trigger conditions in response to the received configuration information.
S20: and if the configuration information meets the preconfigured trigger condition, determining a target object to be pushed and target message content to be pushed according to the configuration information and the preconfigured trigger condition.
In this embodiment, if the current configuration information meets the preconfigured trigger condition, the target object to be pushed and the target content to be pushed are determined according to the configuration information and the trigger condition. In one embodiment, the configuration information is a specific behavior of the client, such as code scanning by a user, and after being compared with a preconfigured trigger condition, it is determined that the configuration information meets the preconfigured trigger condition, so that a target object is determined to be the code scanning user, and pushed target message content is login information; in another embodiment, the configuration information is time configuration information, and when the beijing time reaches 2019, 10, 1, 00:00, and is compared with a preconfigured trigger condition, it is determined that the configuration information meets the preconfigured trigger condition, so that the target objects are determined to be all client users, and the pushed target message content is national celebration soldier information.
S30: and pushing the target message content to the target object.
After the target object is determined, the target message content is pushed to the target object so that the target object displays the corresponding target message content, the message is pushed without being updated in real time by an operator, and the message is pushed when the received configuration information meets the trigger condition through presetting the trigger condition, so that diversified operation requirements are met, the application universality of message pushing is expanded, and the flexibility of message pushing and the efficiency of diversified message pushing are improved.
The embodiment provides a method for triggering and automatically pushing a message based on preset conditions, where a background server configures a series of conditions and specific push contents, when the background server receives configuration information, in response to the received configuration information, the configuration information is compared with preconfigured trigger conditions, where different conditions that can be triggered by different configuration information are different, corresponding message contents to be pushed are also different, and simultaneously, an object to be pushed is also different, if the current configuration information meets the preconfigured trigger conditions, a target object to be pushed and target contents to be pushed are determined according to the configuration information and the trigger conditions, and after a target object is determined, the target message contents are pushed to the target object to allow the target object to display the corresponding target message contents, the message pushing does not need to be updated in real time by operators, but the message pushing is carried out by presetting a trigger condition when the received configuration information meets the trigger condition, so that diversified operation requirements are met, the application universality of the message pushing is expanded, and the flexibility of the message pushing and the efficiency of the diversified message pushing are improved.
In an embodiment of the present application, the responding to the currently received configuration information includes:
configuration information generated in response to a currently received behavior operation of the client;
the determining of the target object to be pushed and the target message content to be pushed according to the configuration information and the preconfigured trigger condition includes:
determining the client as a target object to be pushed;
and determining corresponding target message content to be pushed according to the behavior operation of the client.
In this embodiment, the configuration information received by the server background is configuration information generated by the client, and the configuration information is configuration information generated by behavior operation of the client, that is, corresponding configuration information is generated by specific behavior operation of the client, after the server background responds to the configuration information generated by the behavior operation of the client currently received, the configuration information is matched with a preconfigured trigger condition, if the configuration information satisfies the preconfigured trigger condition, the client is determined to be a target object to be pushed at this time, meanwhile, corresponding target message content to be pushed is determined according to the behavior operation of the client, the target message content is subsequently pushed to the client, different target message contents are pushed based on different behavior operations of different clients, and a message customized pushing manner is expanded, and corresponding target message content is determined according to the behavior of the client, so that the personalized message pushing efficiency is improved.
In an embodiment of the application, as shown in fig. 2, if the configuration information satisfies the preconfigured trigger condition, determining the target object to be pushed and the target message content to be pushed according to the configuration information and the preconfigured trigger condition includes:
s21: if the configuration information meets the pre-configured triggering condition, determining a target area according to the configuration information and the pre-configured triggering condition; acquiring target message contents to be pushed in each target area;
the pushing the target message content to the target object includes:
s31: and pushing the target message content of the corresponding area to the target object of each target area.
In this embodiment, after the server background receives the configuration information, it is determined that the configuration information meets a preconfigured trigger condition, at this time, a target region is determined according to the configuration information and the preconfigured trigger condition, different target regions are provided with different target contents, at this time, target message contents to be pushed in each target region are obtained, then, the target message contents are pushed to the target object, target objects in different target regions are determined, then, the target message contents of the target region are pushed for the target objects in different target regions, a message customized pushing manner is expanded, and corresponding target message contents are determined according to a region where a client is located, so that efficiency of personalized message pushing is improved.
In an embodiment of the application, the target area is determined according to an identification of the client.
In the above embodiment, the target area is determined according to the identification identifier of the client, where the identification identifier includes one or more of a network connection identifier of the client, an IP information identifier of the client, and a GPS information identifier of the client, and also includes personal information of a client account, including personal identity information, and the target area to which the client belongs is determined according to the identification identifier of the client, and then the target area may be determined according to the identification identifier of the client, and target message content of a specific target area is pushed to the client.
In an embodiment of the present application, as shown in fig. 3, after pushing the target message content to the target object, the method further includes:
s40: receiving feedback information of a target object to the content of the target message;
s41: generating feature description information of the target object according to the feedback information;
s42: and determining the next target message content of the target object according to the feature description information.
In this embodiment, after target message content is pushed to a target object, the target object receives the target message content and then performs a certain feedback, after the target object (i.e., a client) feeds back the target message content, corresponding feedback information is sent to a server background, the server background receives feedback information of the target object on the target message content, and then generates feature description information of the target object according to the feedback information, where the feature description information describes a reaction state of the target object on the pushed target message content, and then determines a next target message content of the target object according to the feature description information, and when the configuration information is triggered again and satisfies a preconfigured trigger condition, pushes the next target message content to the target object, so that the target object can be quickly, and efficiently, the target object can be updated in a short time, and the target information can be updated in a, And pushing the message to the target object in an associated manner.
In an embodiment of the present application, the pushing the target message content to the target object includes:
and pushing display form data of the target message content to the target object so that the target object displays the target message content based on the display form data.
In this embodiment, the target message content is pushed to the target object, and meanwhile, the presentation form data of the target message content is pushed to the target object, for example, a plurality of different presentation form data are set, after the target message content is determined, the presentation form data corresponding to the target message content is correspondingly obtained, then, the target message content and the presentation form data corresponding to the target message content are pushed to the target object, and after the target object receives the target message content and the presentation form data, the target message content is presented according to the presentation form data, so as to maintain the uniformity of presentation of the target message content.
In an embodiment of the present application, after pushing the target message content to the target object, the method further includes:
acquiring the related message content of the target message content;
and pushing the target message content and the associated message content to a ticker component of a target object so that the ticker component of the target object displays the target message content and the associated message content in a carousel form.
After the target message content is pushed to the target object, because the target message content may include a plurality of pieces of content or the target message content is associated with the existing message content, at this time, the associated message content of the target message content is acquired, and the target message content and the associated message content are pushed to the target object, in this embodiment, the target message content and the associated message content are pushed to a marquee component of the target object, after the marquee component of the target object receives the target message content and the corresponding associated message content, the target message content and the associated message content are displayed in a carousel form, and the target message content and the associated message content are sequentially displayed, so that the plurality of pieces of message content can be displayed on the target object, and the target message content and the associated message content are displayed in the carousel form of the marquee component at the same time, the occupancy rate of the message content to the display interface of the target object can be reduced, and the utilization rate of the display interface of the target object is improved.
As shown in fig. 4, in another embodiment, the present application provides a message pushing apparatus, including:
the response module 10: for comparing, in response to a currently received configuration information, the configuration information with a preconfigured trigger condition;
the determination module 20: the device comprises a configuration information acquisition module, a display module and a display module, wherein the configuration information acquisition module is used for acquiring configuration information of a target object to be pushed and a target message content to be pushed;
the pushing module 30: for pushing the target message content to the target object.
In an embodiment of the present application, the response module 10 further performs: configuration information generated in response to a currently received behavior operation of the client;
the determination module 20 further comprises performing: determining the client as a target object to be pushed; and determining corresponding target message content to be pushed according to the behavior operation of the client.
In an embodiment of the present application, the determining module 20 further performs: determining a target area according to the configuration information and a pre-configured trigger condition; acquiring target message contents to be pushed in each target area;
the push module 30 further performs:
and pushing the target message content of the corresponding area to the target object of each target area.
In an embodiment of the application, the target area is determined according to an identification of the client.
In one embodiment of the present application, the apparatus further comprises:
a feedback module: the system comprises a receiving module, a processing module and a display module, wherein the receiving module is used for receiving feedback information of a target object on the content of the target message; generating feature description information of the target object according to the feedback information; and determining the next target message content of the target object according to the feature description information.
In an embodiment of the present application, the pushing module 30 further performs:
and pushing display form data of the target message content to the target object so that the target object displays the target message content based on the display form data.
In an embodiment of the present application, the pushing module 30 further performs:
acquiring the related message content of the target message content;
and pushing the target message content and the associated message content to a ticker component of a target object so that the ticker component of the target object displays the target message content and the associated message content in a carousel form.
In another embodiment, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program, when executed by a processor, implements the message pushing method described in the above embodiment. The computer-readable storage medium includes, but is not limited to, any type of disk including floppy disks, hard disks, optical disks, CD-ROMs, and magneto-optical disks, ROMs (Read-Only memories), RAMs (Random AcceSS memories), EPROMs (EraSable Programmable Read-Only memories), EEPROMs (Electrically EraSable Programmable Read-Only memories), flash memories, magnetic cards, or optical cards. That is, a storage device includes any medium that stores or transmits information in a form readable by a device (e.g., a computer, a cellular phone), and may be a read-only memory, a magnetic or optical disk, or the like.
A computer-readable storage medium provided by an embodiment of the present application may enable comparing, in response to currently received configuration information, the configuration information with a preconfigured trigger condition; if the configuration information meets the pre-configured triggering condition, determining a target object to be pushed and target message content to be pushed according to the configuration information and the pre-configured triggering condition; and pushing the target message content to the target object. By providing a method for triggering and automatically pushing a message based on preset conditions, a background server is configured with a series of conditions and specific pushing contents, when the background server receives configuration information, the configuration information is compared with the preconfigured triggering conditions in response to the received configuration information, the conditions which can be triggered by different configuration information are different, the corresponding message contents to be pushed are different, and simultaneously, the object to be pushed is different, if the current configuration information meets the preconfigured triggering conditions, a target object to be pushed and the target content to be pushed are determined according to the configuration information and the triggering conditions, and after the target object is determined, the target message content is pushed to the target object to enable the target object to display the corresponding target message content, the message pushing does not need to be updated in real time by operators, but the message pushing is carried out by presetting a trigger condition when the received configuration information meets the trigger condition, so that diversified operation requirements are met, the application universality of the message pushing is expanded, and the flexibility of the message pushing and the efficiency of the diversified message pushing are improved.
The computer-readable storage medium provided in the embodiment of the present application may implement the embodiment of the message pushing method, and for specific function implementation, reference is made to the description in the embodiment of the method, which is not described herein again.
In addition, in another embodiment, the present application further provides a control terminal, as shown in fig. 5, the control terminal includes a processor 503, a memory 505, an input unit 507, a display unit 509, and other devices. Those skilled in the art will appreciate that the structural devices illustrated in fig. 5 do not constitute a limitation of all control terminals and may include more or fewer components than those illustrated, or some components in combination. The memory 505 may be used to store the computer program 501 and the functional modules, and the processor 503 executes the computer program 501 stored in the memory 505, thereby executing various functional applications of the device and data processing. The memory 505 may be an internal memory or an external memory, or include both internal and external memories. The memory may comprise read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), flash memory, or random access memory.
The input unit 507 is used for receiving signal input and receiving user input, and the input unit 507 may include a touch panel and other input devices, where the touch panel may collect touch operations of a user on or near the touch panel and drive a corresponding connection device according to a preset program. The display unit 509 may be used to display information input by a user or information provided to the user and various menus of the computer device. The display unit 509 may take the form of a liquid crystal display, an organic light emitting diode, or the like. The processor 503 is a control center of the computer device, connects various parts of the entire computer using various interfaces and lines, and performs various functions and processes data by operating or executing software programs and/or modules stored in the memory 503 and calling data stored in the memory.
In one embodiment, the control terminal includes one or more processors 503, one or more memories 505, and one or more computer programs 501, wherein the one or more computer programs 501 are stored in the memory 505 and configured to be executed by the one or more processors 503, and the one or more computer programs 501 are configured to perform the message pushing method described in the above embodiment. The one or more processors 503 shown in fig. 5 can execute and implement the functions of the response module 10, the determination module 20, and the push module 30 shown in fig. 4.
The control terminal provided by the embodiment of the application can compare the configuration information with the preconfigured trigger condition in response to the currently received configuration information; if the configuration information meets the pre-configured triggering condition, determining a target object to be pushed and target message content to be pushed according to the configuration information and the pre-configured triggering condition; and pushing the target message content to the target object. By providing a method for triggering and automatically pushing a message based on preset conditions, a background server is configured with a series of conditions and specific pushing contents, when the background server receives configuration information, the configuration information is compared with the preconfigured triggering conditions in response to the received configuration information, the conditions which can be triggered by different configuration information are different, the corresponding message contents to be pushed are different, and simultaneously, the object to be pushed is different, if the current configuration information meets the preconfigured triggering conditions, a target object to be pushed and the target content to be pushed are determined according to the configuration information and the triggering conditions, and after the target object is determined, the target message content is pushed to the target object to enable the target object to display the corresponding target message content, the message pushing does not need to be updated in real time by operators, but the message pushing is carried out by presetting a trigger condition when the received configuration information meets the trigger condition, so that diversified operation requirements are met, the application universality of the message pushing is expanded, and the flexibility of the message pushing and the efficiency of the diversified message pushing are improved.
The control terminal provided in the embodiment of the present application may implement the embodiment of the message pushing method provided above, and for implementing the specific function, reference is made to the description in the embodiment of the method, which is not described herein again.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for those skilled in the art, several modifications and decorations can be made without departing from the principle of the present application, and these modifications and decorations should also be regarded as the protection scope of the present application.