Information push method, device and electronic device

By receiving and generating information to be pushed in the information push channel, the problem of high difficulty and cost of information push development in the existing technology is solved, and the flexibility and accuracy of information push is achieved.

CN114218908BActive Publication Date: 2025-05-13CHINA CONSTRUCTION BANK
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111328635.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-10
Publication Date
2025-05-13
Estimated Expiration
2041-11-10

AI Technical Summary

Technical Problem

In the prior art, the development of information push is difficult and costly, and it is necessary to change the information push logic according to different push objects and receiving objects.

Method used

By receiving the configuration information to be pushed, including variable text, the information push template corresponding to the information push channel is obtained, the information push template to be pushed is generated based on the template and variable text, and push it to the receiving object through the information push channel.

Benefits of technology

It reduces the difficulty, cost and workload of information push, improves the accuracy and flexibility of information push, and is suitable for push scenarios of different push objects and receiving objects.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114218908B_ABST
    Figure CN114218908B_ABST
Patent Text Reader

Abstract

The present disclosure relates to an information push method, device and electronic device, and belongs to the field of artificial intelligence recognition and classification technology. Among them, the information push method includes: receiving configuration information of the information to be pushed sent by the push object, wherein the configuration information includes the variable text of the information to be pushed; obtaining the information push template corresponding to the information push channel; based on the information push template and the variable text, generating the information to be pushed corresponding to the information push channel; through the information push channel, pushing the corresponding information to be pushed to the receiving object. Thus, the information to be pushed can be automatically generated based on the variable text and the information push template in the configuration information, which is suitable for push scenarios of different push objects and receiving objects, has good scalability, and greatly reduces the development difficulty and cost of information push.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of artificial intelligence recognition and classification technology, and in particular to an information push method, device and electronic device. Background Art

[0002] At present, with the development of Internet technology, information push to users based on the network has the advantages of wide coverage and strong immediacy, and has been widely used. For example, information can be pushed to users through APP (Application), email, SMS and other channels. However, in the existing technology, the development difficulty and cost of information push are relatively high. Summary of the invention

[0003] The present disclosure provides an information push method, device, electronic device, computer-readable storage medium and computer program product to at least solve the problem of high development difficulty and cost of information push in related technologies. The technical solution of the present disclosure is as follows:

[0004] According to a first aspect of an embodiment of the present disclosure, there is provided an information push method, comprising: receiving configuration information of information to be pushed sent by a push object, wherein the configuration information includes variable text of the information to be pushed; acquiring an information push template corresponding to an information push channel; generating the information to be pushed corresponding to the information push channel based on the information push template and the variable text; and pushing the corresponding information to be pushed to the receiving object through the information push channel.

[0005] In one embodiment of the present disclosure, the information push template includes a template text, and generating the information to be pushed corresponding to the information push channel based on the information push template and the variable text includes: replacing the text to be replaced in the template text with the variable text to generate a target text; and generating the information to be pushed corresponding to the information push channel based on the target text.

[0006] In one embodiment of the present disclosure, the information push template also includes a template information display style, and generating the information to be pushed corresponding to the information push channel based on the target text includes: rendering the target text according to the template information display style to generate the information to be pushed corresponding to the information push channel.

[0007] In one embodiment of the present disclosure, the configuration information also includes the priority of the information push channel, and the pushing of the corresponding information to be pushed to the receiving object through the information push channel includes: sorting the information push channels from high to low according to priority; starting from the information push channel ranked first, identifying whether the current information push channel currently traversed meets the information push conditions; in response to the current information push channel not meeting the information push conditions, updating the current information push channel based on the sorting result, and returning to continue to execute the identification of whether the current information push channel currently traversed meets the information push conditions and its subsequent steps; or, in response to the current information push channel meeting the information push conditions, pushing the corresponding information to be pushed to the receiving object through the current information push channel.

[0008] In one embodiment of the present disclosure, after pushing the corresponding information to be pushed to the receiving object through the current information push channel, it also includes: updating the current information push channel based on the sorting result, and returning to continue executing to identify whether the current information push channel currently traversed meets the information push conditions and its subsequent steps.

[0009] In one embodiment of the present disclosure, after the corresponding information to be pushed is pushed to the receiving object through the current information push channel, the method further includes: stopping traversing the information push channel.

[0010] In one embodiment of the present disclosure, after pushing the corresponding information to be pushed to the receiving object through the current information push channel, it also includes: acquiring identification information of the current information push channel; and sending the identification information to the push object.

[0011] According to a second aspect of an embodiment of the present disclosure, there is provided an information push device, comprising: a receiving module, configured to receive configuration information of information to be pushed sent by a push object, wherein the configuration information includes variable text of the information to be pushed; an acquisition module, configured to acquire an information push template corresponding to an information push channel; a generation module, configured to generate the information to be pushed corresponding to the information push channel based on the information push template and the variable text; and a push module, configured to push the corresponding information to be pushed to the receiving object through the information push channel.

[0012] In one embodiment of the present disclosure, the information push template includes a template text, and the generation module is further configured to: replace the text to be replaced in the template text with the variable text to generate a target text; and based on the target text, generate the information to be pushed corresponding to the information push channel.

[0013] In one embodiment of the present disclosure, the information push template also includes a template information display style, and the generation module is further configured to: render the target text according to the template information display style to generate the information to be pushed corresponding to the information push channel.

[0014] In one embodiment of the present disclosure, the configuration information also includes the priority of the information push channel, and the push module is further configured to: sort the information push channels from high to low priority; starting from the information push channel ranked first, identify whether the current information push channel currently traversed meets the information push conditions; in response to the current information push channel not meeting the information push conditions, update the current information push channel based on the sorting result, and return to continue to execute the identification of whether the current information push channel currently traversed meets the information push conditions and its subsequent steps; or, in response to the current information push channel meeting the information push conditions, push the corresponding information to be pushed to the receiving object through the current information push channel.

[0015] In one embodiment of the present disclosure, after the corresponding information to be pushed is pushed to the receiving object through the current information push channel, the push module is also configured to: update the current information push channel based on the sorting result, and return to continue executing the identification of whether the current information push channel currently traversed meets the information push conditions and its subsequent steps.

[0016] In one embodiment of the present disclosure, after the corresponding information to be pushed is pushed to the receiving object through the current information push channel, the push module is further configured to: stop traversing the information push channel.

[0017] In one embodiment of the present disclosure, after the corresponding information to be pushed is pushed to the receiving object through the current information push channel, the push module is further configured to: obtain identification information of the current information push channel; and send the identification information to the push object.

[0018] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the information push method as described above.

[0019] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the information push method as described above.

[0020] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the information push method as described above is implemented.

[0021] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects: it can receive configuration information of the information to be pushed sent by the push object, the configuration information includes the variable text of the information to be pushed, generate the information to be pushed corresponding to the information push channel based on the information push template and the variable text corresponding to the information push channel, and push the corresponding information to be pushed to the receiving object through the information push channel. Thus, the information to be pushed can be automatically generated based on the variable text and the information push template in the configuration information. Compared with the related technology that needs to develop information push logic according to different push objects and receiving objects, there are technical problems such as high development difficulty and cost of information push. This solution does not need to change the information push logic according to different push objects and receiving objects, is suitable for push scenarios of different push objects and receiving objects, has good scalability, greatly reduces the development difficulty, cost and workload of information push, and helps to improve the accuracy and flexibility of information push.

[0022] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The drawings herein are incorporated into and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the description are used to explain the principles of the present disclosure, and do not constitute improper limitations on the present disclosure.

[0024] Figure 1 It is a flowchart of the information push method according to the first embodiment of the present disclosure.

[0025] Figure 2 It is a flowchart of the information push method according to the second embodiment of the present disclosure.

[0026] Figure 3 It is a flowchart of the information push method according to the third embodiment of the present disclosure.

[0027] Figure 4 is a block diagram of an information push device according to the first embodiment of the present disclosure.

[0028] Figure 5 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0029] In order to enable ordinary persons in the art to better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings.

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present disclosure and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present disclosure described herein can be implemented in an order other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are merely examples of devices and methods consistent with some aspects of the present disclosure as detailed in the appended claims.

[0031] Figure 1 It is a flowchart of the information push method according to the first embodiment of the present disclosure.

[0032] like Figure 1 As shown, the information push method of the first embodiment of the present disclosure includes the following steps:

[0033] In step S101, configuration information of the information to be pushed sent by the push object is received, wherein the configuration information includes variable text of the information to be pushed.

[0034] It should be noted that the information push method of the present disclosure is performed by an electronic device. The information push method of the present disclosure embodiment can be performed by an information push device of the present disclosure embodiment, and the information push device of the present disclosure embodiment can be configured in any electronic device to perform the information push method of the present disclosure embodiment.

[0035] In the embodiments of the present disclosure, configuration information of information to be pushed sent by a push object may be received, wherein the configuration information includes variable text of the information to be pushed. It should be noted that there are no excessive restrictions on the types of push objects and information to be pushed. For example, push objects include but are not limited to APP (Application), web pages, etc., and information to be pushed includes text, and may also include pictures, audio, video, etc.

[0036] In the embodiment of the present disclosure, the configuration information includes the variable text of the information to be pushed. It can be understood that the variable text refers to the variable text in the text included in the information to be pushed.

[0037] For example, in a banking application scenario, variable text includes but is not limited to transaction account number, transaction time, transaction amount, etc.

[0038] For example, in insurance business application scenarios, variable text includes but is not limited to insurance policy number, effective date, insurance name, etc.

[0039] For example, in the application scenario of the phone charge service, the variable text includes but is not limited to the mobile phone number, phone charge balance, phone charge consumption amount, recharge amount, etc.

[0040] In step S102, an information push template corresponding to the information push channel is obtained.

[0041] In the embodiments of the present disclosure, the information push channel can be set according to the actual situation, and no excessive restrictions are made here. For example, the information push channel includes but is not limited to APP, SMS, email, etc. Among them, APP includes APP related to the push object, and instant messaging APP. For example, when the push object is an air conditioner APP, the information push channel may include the air conditioner APP, and when the push object is a shopping APP, the information push channel may include the shopping APP.

[0042] In the embodiments of the present disclosure, an information push template corresponding to an information push channel may be obtained. It is understandable that different information push channels may correspond to different information push templates. It should be noted that there are no excessive restrictions on the type of information push template. For example, the information push template may be a plain text type, or a combination type of text and at least one of a picture, audio, video, etc.

[0043] In one embodiment, obtaining the information push template corresponding to the information push channel may include obtaining a matching information push template from an information push template database according to identification information of the information push channel, wherein the information push template database is used to store at least one information push template.

[0044] In one implementation, a mapping relationship or mapping table between an information push channel and an information push template may be pre-established. After the information push channel is acquired, the mapping relationship or mapping table may be queried to acquire the information push template mapped by the information push channel and use it as the information push template corresponding to the information push channel. It should be noted that the mapping relationship or mapping table may be set according to actual conditions and is not limited here.

[0045] In step S103, based on the information push template and the variable text, the information to be pushed corresponding to the information push channel is generated.

[0046] In the embodiments of the present disclosure, for any information push channel, the information to be pushed corresponding to any information push channel can be generated based on the information push template and variable text corresponding to any information push channel.

[0047] It is understandable that different information push channels may correspond to different information push templates, and thus different information push channels may correspond to different information to be pushed.

[0048] In one embodiment, based on the information push template and the variable text, generating the information to be pushed corresponding to the information push channel may include injecting the variable text into the information push template and loading the information push template to generate the information to be pushed.

[0049] In step S104, the corresponding information to be pushed is pushed to the receiving object through the information push channel.

[0050] It should be noted that there are no excessive restrictions on the types of receiving objects, for example, receiving objects include but are not limited to APPs, terminals, etc. Among them, terminals include but are not limited to mobile phones, tablet computers, car terminals, smart home appliances, etc.

[0051] It is understandable that different information push channels may correspond to different information push methods.

[0052] In one implementation, when the information push channel is an APP, the account can be used to log in to the APP, a conversation page can be established with the recipient, and the information to be pushed can be sent to the recipient through the conversation page.

[0053] In one implementation, when the information push channel is email, the account can be used to log in to the mailbox, and the email carrying the information to be pushed can be sent to the recipient.

[0054] In one implementation, when the information push channel is SMS, the information to be pushed can be sent to a communication operator, and the SMS carrying the information to be pushed can be sent to a recipient through the communication operator.

[0055] In summary, according to the information push method provided by the embodiment of the present disclosure, the configuration information of the information to be pushed sent by the push object can be received, the configuration information includes the variable text of the information to be pushed, based on the information push template and the variable text corresponding to the information push channel, the information to be pushed corresponding to the information push channel is generated, and the corresponding information to be pushed is pushed to the receiving object through the information push channel. Thus, the information to be pushed can be automatically generated based on the variable text and the information push template in the configuration information. Compared with the related technology that needs to develop information push logic according to different push objects and receiving objects, there are technical problems such as high development difficulty and cost of information push. This solution does not need to change the information push logic according to different push objects and receiving objects, is suitable for push scenarios of different push objects and receiving objects, has good scalability, greatly reduces the development difficulty, cost and workload of information push, and helps to improve the accuracy and flexibility of information push.

[0056] Figure 2 It is a flowchart of the information push method according to the second embodiment of the present disclosure.

[0057] like Figure 2As shown, the information push method of the second embodiment of the present disclosure includes the following steps:

[0058] In step S201, configuration information of the information to be pushed sent by the push object is received, wherein the configuration information includes variable text of the information to be pushed.

[0059] In step S202, an information push template corresponding to the information push channel is obtained, wherein the information push template includes a template text.

[0060] The relevant contents of steps S201 - S202 can be found in the above embodiment and will not be described again here.

[0061] In step S203, the text to be replaced in the template text is replaced with the variable text to generate the target text.

[0062] In the embodiments of the present disclosure, the information push template includes a template text. It is understandable that different information push templates may correspond to different template texts. Further, the text to be replaced in the template text may be replaced with a variable text to generate a target text.

[0063] For example, in a banking application scenario, the template text may be "Your account number 11 remitted 11 yuan on November 11", and the variable text may include "A", "August 10", and "1000", where A is the transaction account, August 10 is the transaction time, and 1000 is the transaction amount. The text to be replaced in the template text can be replaced with the variable text, and the generated target text can be "Your account number A remitted 1000 yuan on August 10".

[0064] For example, in an insurance business application scenario, the template text may be "Your electronic policy with policy number 11 takes effect on November 11", and the variable text may include "A" and "August 10", where A is the policy number and August 10 is the effective date. The text to be replaced in the template text can be replaced with the variable text, and the generated target text can be "Your electronic policy with policy number A takes effect on August 10".

[0065] For example, in the application scenario of the phone bill service, the template text may be "Your phone bill this month is 10 yuan", and the variable text may include "100", where 100 is the amount of phone bill consumption this month. The text to be replaced in the template text can be replaced with the variable text, and the generated target text can be "Your phone bill this month is 100 yuan".

[0066] In step S204, based on the target text, information to be pushed corresponding to the information push channel is generated.

[0067] In one embodiment, generating the information to be pushed corresponding to the information push channel based on the target text may include using the target text as the information to be pushed corresponding to the information push channel. For example, when the information push channel is a text message, the target text may be directly used as the information to be pushed corresponding to the text message channel.

[0068] In one embodiment, the information push template also includes a template information display style, and based on the target text, generates the information to be pushed corresponding to the information push channel, which may include rendering the target text according to the template information display style to generate the information to be pushed corresponding to the information push channel.

[0069] It is understandable that different information push templates may correspond to different template information display styles. It should be noted that there are no excessive restrictions on the types of template information display styles. For example, template information display styles include but are not limited to fonts, font sizes, font colors, display positions, display sizes, background colors, display background images, background music, etc.

[0070] Therefore, the method can render the target text according to the template information display style, generate the information to be pushed corresponding to the information push channel, so that the generated information to be pushed conforms to the template information display style corresponding to the information push channel, and enriches the display style of the information to be pushed.

[0071] In step S205, the corresponding information to be pushed is pushed to the receiving object through the information push channel.

[0072] The relevant contents of step S205 can be found in the above embodiment and will not be described again here.

[0073] In summary, according to the information push method provided by the embodiment of the present disclosure, the information push template includes a template text, and the text to be replaced in the template text can be replaced with a variable text to generate a target text, and based on the target text, the information to be pushed corresponding to the information push channel is generated. Therefore, the target text can be automatically generated based on the variable text and the template text in the configuration information, and the information to be pushed can be automatically generated based on the target text. It is suitable for push scenarios of different push objects and receiving objects, has good scalability, and greatly reduces the development difficulty and cost of information push.

[0074] Figure 3 It is a flowchart of the information push method according to the third embodiment of the present disclosure.

[0075] like Figure 3 As shown, the information push method of the third embodiment of the present disclosure includes the following steps:

[0076] In step S301, configuration information of the information to be pushed sent by the push object is received, wherein the configuration information includes variable text of the information to be pushed and the priority of the information push channel.

[0077] In the embodiments of the present disclosure, the priority of the information push channel can be preset according to actual conditions.

[0078] In one implementation, a mapping relationship or mapping table between information push channels and priorities may be pre-established. After the information push channel is acquired, the mapping relationship or mapping table may be queried to acquire the priority mapped by the information push channel and use it as the priority of the information push channel. It should be noted that the mapping relationship or mapping table may be set according to actual conditions and is not limited here.

[0079] In step S302, an information push template corresponding to the information push channel is obtained.

[0080] In step S303, based on the information push template and the variable text, the information to be pushed corresponding to the information push channel is generated.

[0081] The relevant contents of steps S301 - S303 can be found in the above embodiment and will not be described again here.

[0082] In step S304, the information push channels are sorted from high to low according to priority.

[0083] In an embodiment of the present disclosure, the information push channels may be sorted from high to low according to priority, that is, the information push channels with high priority are sorted at the front, and the information push channels with low priority are sorted at the back.

[0084] In one implementation, the information push channels with the same priority may have the same ranking positions. In this case, the to-be-pushed information corresponding to the information push channels with the same priority may be pushed in parallel.

[0085] In one implementation, the ranking positions of information push channels with the same priority may be different, the ranking positions of information push channels with the same priority may be randomly generated, and the ranking positions of information push channels with the same priority are continuous.

[0086] In step S305, starting from the first ranked information push channel, it is identified whether the current information push channel currently traversed meets the information push condition.

[0087] If no, execute step S306; if yes, execute step S307.

[0088] In step S306, the current information push channel is updated based on the sorting result, and the process returns to continue to identify whether the current information push channel currently traversed meets the information push condition and its subsequent steps.

[0089] In step S307, the corresponding information to be pushed is pushed to the receiving object through the current information push channel.

[0090] In the embodiments of the present disclosure, the information push conditions of the information push channels can be preset according to the actual situation. It is understandable that different information push channels can correspond to different information push conditions.

[0091] In the embodiment of the present disclosure, it is possible to start from the information push channel ranked first and identify whether the current information push channel currently traversed meets the information push condition.

[0092] In one embodiment, in response to the current information push channel not satisfying the information push conditions, indicating that the current information push channel cannot perform information push, the current information push channel can be updated based on the sorting result, that is, the next information push channel is updated to the current information push channel, and the process returns to continue executing the identification of whether the current information push channel currently traversed satisfies the information push conditions and its subsequent steps.

[0093] In one implementation, in response to the current information push channel satisfying the information push condition, indicating that the current information push channel can perform information push, the corresponding information to be pushed can be pushed to the receiving object through the current information push channel.

[0094] In one embodiment, after the corresponding information to be pushed is pushed to the receiving object through the current information push channel, the current information push channel can be updated based on the sorting result, and the current information push channel traversed can be returned to continue to identify whether the current information push channel currently traversed meets the information push conditions and its subsequent steps. Therefore, after the corresponding information to be pushed is pushed to the receiving object through the current information push channel, the method can continue to traverse the information push channel until the traversal of the last sorted information push channel is completed. At this time, the information to be pushed can be pushed to the receiving object through at least one information push channel, which improves the diversity and push effect of information push.

[0095] In one embodiment, after the corresponding information to be pushed is pushed to the receiving object through the current information push channel, the traversal of the information push channel can be stopped. At this time, the information to be pushed can only be pushed to the receiving object through one information push channel, which helps to save information push costs.

[0096] In one embodiment, after the corresponding information to be pushed is pushed to the receiving object through the current information push channel, the identification information of the current information push channel is obtained and the identification information is sent to the push object. Thus, the identification information of the information push channel actually pushed can be fed back to the push object in time, so that the push object can know the information push channel actually pushed in time, which is convenient for confirming the information push result.

[0097] In summary, according to the information push method provided by the embodiment of the present disclosure, the traversal order of the information push channels can be determined based on the priority of the information push channels, and it can be identified whether the current information push channel traversed meets the information push conditions, thereby ensuring the orderliness of the information push.

[0098] Figure 4 4 is a block diagram of an information push device according to the first embodiment of the present disclosure.

[0099] like Figure 4 As shown, the information pushing device 400 of the embodiment of the present disclosure includes: a receiving module 401, an acquiring module 402, a generating module 403 and a pushing module 404.

[0100] The receiving module 401 is configured to receive configuration information of the information to be pushed sent by the push object, wherein the configuration information includes a variable text of the information to be pushed;

[0101] The acquisition module 402 is configured to acquire an information push template corresponding to the information push channel;

[0102] A generating module 403 is configured to generate the information to be pushed corresponding to the information push channel based on the information push template and the variable text;

[0103] The push module 404 is configured to push the corresponding information to be pushed to the receiving object through the information push channel.

[0104] In one embodiment of the present disclosure, the information push template includes a template text, and the generation module 403 is further configured to: replace the text to be replaced in the template text with the variable text to generate a target text; and based on the target text, generate the information to be pushed corresponding to the information push channel.

[0105] In one embodiment of the present disclosure, the information push template also includes a template information display style, and the generation module 403 is further configured to: render the target text according to the template information display style to generate the information to be pushed corresponding to the information push channel.

[0106] In one embodiment of the present disclosure, the configuration information also includes the priority of the information push channel, and the push module 404 is further configured to: sort the information push channels from high to low priority; starting from the information push channel ranked first, identify whether the current information push channel currently traversed meets the information push conditions; in response to the current information push channel not meeting the information push conditions, update the current information push channel based on the sorting result, and return to continue to execute the identification of whether the current information push channel currently traversed meets the information push conditions and its subsequent steps; or, in response to the current information push channel meeting the information push conditions, push the corresponding information to be pushed to the receiving object through the current information push channel.

[0107] In one embodiment of the present disclosure, after the corresponding information to be pushed is pushed to the receiving object through the current information push channel, the push module 404 is also configured to: update the current information push channel based on the sorting result, and return to continue executing to identify whether the current information push channel currently traversed meets the information push conditions and its subsequent steps.

[0108] In one embodiment of the present disclosure, after the corresponding information to be pushed is pushed to the receiving object through the current information push channel, the push module 404 is further configured to: stop traversing the information push channel.

[0109] In one embodiment of the present disclosure, after the corresponding information to be pushed is pushed to the receiving object through the current information push channel, the push module 404 is also configured to: obtain identification information of the current information push channel; and send the identification information to the push object.

[0110] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0111] In summary, the information push device provided by the embodiment of the present disclosure can receive the configuration information of the information to be pushed sent by the push object, the configuration information includes the variable text of the information to be pushed, based on the information push template and the variable text corresponding to the information push channel, generate the information to be pushed corresponding to the information push channel, and push the corresponding information to be pushed to the receiving object through the information push channel. Therefore, the information to be pushed can be automatically generated based on the variable text and the information push template in the configuration information. Compared with the related technology that needs to develop information push logic according to different push objects and receiving objects, there are technical problems such as high development difficulty and cost of information push. This solution does not need to change the information push logic according to different push objects and receiving objects, is suitable for push scenarios of different push objects and receiving objects, has good scalability, greatly reduces the development difficulty, cost and workload of information push, and helps to improve the accuracy and flexibility of information push.

[0112] Figure 5 It is a block diagram of an electronic device according to an exemplary embodiment.

[0113] like Figure 5 As shown, the electronic device 500 includes:

[0114] The memory 510 and the processor 520, a bus 530 connecting different components (including the memory 510 and the processor 520), the memory 510 stores a computer program, and when the processor 520 executes the program, the information push method described in the embodiment of the present disclosure is implemented.

[0115] Bus 530 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.

[0116] The electronic device 500 typically includes a variety of electronic device readable media. These media can be any available media that can be accessed by the electronic device 500, including volatile and non-volatile media, removable and non-removable media.

[0117] The memory 510 may also include computer system readable media in the form of volatile memory, such as random access memory (RAM) 540 and / or cache memory 550. The electronic device 500 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 560 may be used to read and write non-removable, non-volatile magnetic media ( Figure 5 not shown, usually called a "hard drive"). Although Figure 5 Not shown, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 530 via one or more data medium interfaces. The memory 510 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present disclosure.

[0118] A program / utility 580 having a set (at least one) of program modules 570 may be stored, for example, in the memory 510, such program modules 570 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 570 generally perform the functions and / or methods of the embodiments described in the present disclosure.

[0119] The electronic device 500 may also communicate with one or more external devices 590 (e.g., keyboard, pointing device, display 591, etc.), one or more devices that enable a user to interact with the electronic device 500, and / or any device that enables the electronic device 500 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 592. Furthermore, the electronic device 500 may also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN) and / or public network, such as the Internet) through a network adapter 593. Figure 5 As shown, the network adapter 593 communicates with other modules of the electronic device 500 via the bus 530. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device 500, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0120] The processor 520 executes various functional applications and data processing by running the programs stored in the memory 510 .

[0121] It should be noted that the implementation process and technical principles of the electronic device of this embodiment refer to the aforementioned explanation of the information push method of the embodiment of the present disclosure, and will not be repeated here.

[0122] In summary, the electronic device provided by the embodiment of the present disclosure can execute the information push method as described above, can receive the configuration information of the information to be pushed sent by the push object, the configuration information includes the variable text of the information to be pushed, based on the information push template and the variable text corresponding to the information push channel, generates the information to be pushed corresponding to the information push channel, and pushes the corresponding information to be pushed to the receiving object through the information push channel. Thus, the information to be pushed can be automatically generated based on the variable text and the information push template in the configuration information. Compared with the related technology that needs to develop information push logic according to different push objects and receiving objects, there are technical problems such as high development difficulty and cost of information push. This solution does not need to change the information push logic according to different push objects and receiving objects, is suitable for push scenarios of different push objects and receiving objects, has good scalability, greatly reduces the development difficulty, cost and workload of information push, and helps to improve the accuracy and flexibility of information push.

[0123] In order to implement the above embodiments, the present disclosure also proposes a computer-readable storage medium.

[0124] When the instructions in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device can execute the information push method as described above. Optionally, the computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0125] In order to implement the above embodiments, the present disclosure further provides a computer program product, including a computer program, characterized in that when the computer program is executed by a processor, the information push method as described above is implemented.

[0126] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.

[0127] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. An information push method, characterized in that: include: Receiving configuration information of the information to be pushed sent by the push object, the configuration information including variable text of the information to be pushed and the priority of the information push channel; According to the identification information of the information push channel, an information push template corresponding to the information to be pushed is obtained, wherein the information push template includes a template text and a template information display style, and the template information display style includes a font, a font size, a font color, a display position, a display size, a background color, a display background image, and / or background music; Based on the variable text and the template text, a target text is automatically generated; based on the target text and the template information display style, the information to be pushed corresponding to the information push channel is automatically generated; The information push channels are sorted from high to low according to priority, starting from the information push channel that is ranked first, identifying whether the current information push channel that is currently traversed meets the information push conditions, and in response to the current information push channel meeting the information push conditions, the corresponding information to be pushed is pushed to the receiving object through the current information push channel, and the identification information of the current information push channel is sent to the push object, so that the push object can promptly know the push channel of the actual pushed information and confirm the information push result, wherein, when the current information push channel is an APP, use the account to log in to the APP, establish a session page with the receiving object, and send the push information to the receiving object through the session page.

2. The method according to claim 1, characterized in that Starting from the information push channel ranked first, identifying whether the current information push channel traversed currently meets the information push condition, further comprising: In response to the current information push channel not satisfying the information push condition, the current information push channel is updated based on the sorting result, and the process returns to continue to identify whether the current information push channel currently traversed satisfies the information push condition and subsequent steps.

3. The method according to claim 1, characterized in that After the corresponding information to be pushed is pushed to the receiving object through the current information push channel, the method further includes: The current information push channel is updated based on the sorting result, and the process returns to continue to identify whether the current information push channel currently traversed meets the information push condition and subsequent steps.

4. The method according to claim 1, characterized in that: After the corresponding information to be pushed is pushed to the receiving object through the current information push channel, the method further includes: Stop traversing the information push channel.

5. An information push device, characterized in that: include: A receiving module, configured to receive configuration information of the information to be pushed sent by the push object, wherein the configuration information includes a variable text of the information to be pushed and a priority of the information push channel; an acquisition module, configured to acquire, according to identification information of an information push channel, an information push template corresponding to the information to be pushed, wherein the information push template includes a template text and a template information display style, wherein the template information display style includes a font, a font size, a font color, a display position, a display size, a background color, a display background image, and / or background music; A generating module is configured to automatically generate a target text based on the variable text and the template text, and automatically generate the information to be pushed corresponding to the information push channel based on the target text and the template information display style; The push module is configured to sort the information push channels from high to low priority, starting from the information push channel that is ranked first, identify whether the current information push channel currently traversed meets the information push conditions, and in response to the current information push channel satisfying the information push conditions, push the corresponding information to be pushed to the receiving object through the current information push channel, and send the identification information of the current information push channel to the push object, so that the push object can promptly know the push channel of the actual pushed information and confirm the information push result, wherein, when the current information push channel is an APP, use the account to log in to the APP, establish a session page with the receiving object, and send the push information to the receiving object through the session page.

6. The device according to claim 5, characterized in that Starting from the information push channel ranked first, identifying whether the current information push channel traversed currently meets the information push condition, further comprising: In response to the current information push channel not satisfying the information push condition, the current information push channel is updated based on the sorting result, and the process returns to continue to identify whether the current information push channel currently traversed satisfies the information push condition and subsequent steps.

7. The device according to claim 5, characterized in that After pushing the corresponding information to be pushed to the receiving object through the current information push channel, the push module is also configured to: update the current information push channel based on the sorting result, and return to continue executing to identify whether the current information push channel currently traversed meets the information push conditions and its subsequent steps.

8. The device according to claim 5, characterized in that After the corresponding information to be pushed is pushed to the receiving object through the current information push channel, the push module is further configured to: Stop traversing the information push channel.

9. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the information push method as described in any one of claims 1-4.

10. A computer-readable storage medium, when instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the information push method according to any one of claims 1 to 4.

11. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the information pushing method according to any one of claims 1 to 4 is implemented.

Citation Information

Patent Citations

  • Enterprise communication channel fusion method, device and equipment, and readable storage medium

    CN111614718A

  • Information pushing method, device and equipment and computer readable storage medium

    CN112073308A