CN114218908A - Information pushing method and device and electronic equipment - Google Patents

Information pushing method and device and electronic equipment Download PDF

Info

Publication number
CN114218908A
CN114218908A CN202111328635.0A CN202111328635A CN114218908A CN 114218908 A CN114218908 A CN 114218908A CN 202111328635 A CN202111328635 A CN 202111328635A CN 114218908 A CN114218908 A CN 114218908A
Authority
CN
China
Prior art keywords
information
pushing
channel
pushed
push
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111328635.0A
Other languages
Chinese (zh)
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN202111328635.0A priority Critical patent/CN114218908A/en
Publication of CN114218908A publication Critical patent/CN114218908A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Human Computer Interaction (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The disclosure relates to an information pushing method, an information pushing device and electronic equipment, and belongs to the technical field of artificial intelligence recognition and classification. The information pushing method comprises the following steps: receiving configuration information of information to be pushed, which is sent by a pushing object, wherein the configuration information comprises a 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 pushing channel based on the information pushing template and the variable text; and pushing the corresponding information to be pushed to a receiving object through the information pushing channel. Therefore, the information to be pushed can be automatically generated based on the variable text and the information pushing template in the configuration information, the method is suitable for pushing scenes of different pushing objects and receiving objects, the expansibility is good, and the development difficulty and the cost of information pushing are greatly reduced.

Description

Information pushing method and device and electronic equipment
Technical Field
The disclosure relates to the technical field of artificial intelligence recognition and classification, and in particular relates to an information pushing method and device and electronic equipment.
Background
Currently, with the development of internet technology, pushing information to a user based on a network has the advantages of large coverage area, strong instantaneity and the like, and is widely applied, for example, pushing information to the user through channels such as APP (Application), mail, short message and the like. However, in the prior art, the development difficulty and cost of information push are high.
Disclosure of Invention
The present disclosure provides an information push method, an information push apparatus, an electronic device, a computer-readable storage medium, and a computer program product, so as to at least solve the problem of difficulty and high cost in development of information push in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided an information pushing method, including: receiving configuration information of information to be pushed, which is sent by a pushing object, wherein the configuration information comprises a 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 pushing channel based on the information pushing template and the variable text; and pushing the corresponding information to be pushed to a receiving object through the information pushing channel.
In an embodiment of the present disclosure, the generating the to-be-pushed information 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 pushing channel based on the target text.
In an embodiment of the present disclosure, the information push template further includes a template information display style, and the 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, and generating the information to be pushed corresponding to the information pushing channel.
In an embodiment of the present disclosure, the configuration information further includes a priority of the information pushing channel, and pushing the corresponding information to be pushed to a receiving object through the information pushing channel includes: sorting the information push channels from high to low according to the priority; identifying whether the current traversed information push channel meets information push conditions or not from the first sequenced information push channel, responding to the situation that the current information push channel does not meet the information push conditions, updating the current information push channel based on a sequencing result, and returning to continuously execute the steps of identifying whether the current traversed information push channel meets the information push conditions or not and the subsequent steps; or responding to the current information pushing channel meeting the information pushing condition, and pushing the corresponding information to be pushed to the receiving object through the current information pushing channel.
In an embodiment of the present disclosure, after the pushing the corresponding information to be pushed to the receiving object through the current information pushing channel, the method further includes: and updating the current information pushing channel based on the sorting result, and returning to continuously execute the steps of identifying whether the current traversed current information pushing channel meets the information pushing condition and the subsequent steps.
In an embodiment of the present disclosure, after the pushing the corresponding information to be pushed to the receiving object through the current information pushing channel, the method further includes: and stopping traversing the information push channel.
In an embodiment of the present disclosure, after the pushing the corresponding information to be pushed to the receiving object through the current information pushing channel, the method further includes: acquiring identification information of the current information push channel; and sending the identification information to the push object.
According to a second aspect of the embodiments of the present disclosure, there is provided an information pushing apparatus including: the system comprises a receiving module, a sending module and a sending module, wherein the receiving module is configured to receive configuration information of information to be pushed sent by a pushing object, and the configuration information comprises a variable text of the information to be pushed; the acquisition module is configured to acquire an information push template corresponding to the information push channel; the generating module is configured to generate the information to be pushed corresponding to the information pushing channel based on the information pushing template and the variable text; and the pushing module is configured to push the corresponding information to be pushed to a receiving object through the information pushing channel.
In one embodiment of the disclosure, the information push template includes template text, and the generation module is further configured to: 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 pushing channel based on the target text.
In an embodiment of the disclosure, the information push template further includes a template information presentation style, and the generation module is further configured to: rendering the target text according to the template information display style, and generating the information to be pushed corresponding to the information pushing channel.
In an embodiment of the present disclosure, the configuration information further includes a priority of the information push channel, and the push module is further configured to: sorting the information push channels from high to low according to the priority; identifying whether the current traversed information push channel meets information push conditions or not from the first sequenced information push channel, responding to the situation that the current information push channel does not meet the information push conditions, updating the current information push channel based on a sequencing result, and returning to continuously execute the steps of identifying whether the current traversed information push channel meets the information push conditions or not and the subsequent steps; or responding to the current information pushing channel meeting the information pushing condition, and pushing the corresponding information to be pushed to the receiving object through the current information pushing channel.
In an embodiment of the disclosure, after the pushing the corresponding information to be pushed to the receiving object through the current information pushing channel, the pushing module is further configured to: and updating the current information pushing channel based on the sorting result, and returning to continuously execute the steps of identifying whether the current traversed current information pushing channel meets the information pushing condition and the subsequent steps.
In an embodiment of the disclosure, after the pushing the corresponding information to be pushed to the receiving object through the current information pushing channel, the pushing module is further configured to: and stopping traversing the information push channel.
In an embodiment of the disclosure, after the pushing the corresponding information to be pushed to the receiving object through the current information pushing channel, the pushing module is further configured to: acquiring identification information of the current information push channel; and sending the identification information to the push object.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the information pushing method as described above.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions of the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the information pushing method as described above.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product comprising a computer program which, when executed by a processor, implements the information pushing method as described above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: the method comprises the steps of receiving configuration information of information to be pushed sent by a pushing object, wherein the configuration information comprises a variable text of the information to be pushed, generating the information to be pushed corresponding to an information pushing channel based on an information pushing template and the variable text corresponding to the information pushing channel, and pushing the corresponding information to be pushed to a receiving object through the information pushing channel. Therefore, information to be pushed can be automatically generated based on variable texts and information pushing templates in configuration information, compared with the related technology that information pushing logic needs to be developed according to different pushing objects and receiving objects, the technical problem that the development difficulty and cost of information pushing are high exists.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1 is a schematic flow chart of an information pushing method according to a first embodiment of the present disclosure.
Fig. 2 is a flowchart illustrating an information pushing method according to a second embodiment of the disclosure.
Fig. 3 is a flowchart illustrating an information pushing method according to a third embodiment of the present disclosure.
Fig. 4 is a block diagram of an information pushing apparatus according to a first embodiment of the present disclosure.
FIG. 5 is a block diagram illustrating an electronic device in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1 is a schematic flow chart of an information pushing method according to a first embodiment of the present disclosure.
As shown in fig. 1, an information pushing method according to a first embodiment of the present disclosure includes the following steps:
in step S101, configuration information of information to be pushed sent by a push object is received, where the configuration information includes a variable text of the information to be pushed.
It should be noted that the execution subject of the information push method of the present disclosure is an electronic device. The information pushing method of the embodiment of the disclosure may be executed by the information pushing device of the embodiment of the disclosure, and the information pushing device of the embodiment of the disclosure may be configured in any electronic device to execute the information pushing method of the embodiment of the disclosure.
In the embodiment of the disclosure, configuration information of information to be pushed, which is sent by a pushing object, may be received, where the configuration information includes a variable text of the information to be pushed. It should be noted that the types of the pushing object and the information to be pushed are not limited too much, for example, the pushing object includes but is not limited to an APP (Application), a web page, and the information to be pushed includes a text, and may also include a picture, an audio, a video, and the like.
In an embodiment of the present disclosure, the configuration information includes a variable text of the information to be pushed. It is understood that the variable text refers to the variable text in the text contained in the information to be pushed.
For example, in a banking application scenario, the variable text includes, but is not limited to, a transaction account number, a transaction time, a transaction amount, and the like.
For example, in an insurance business application scenario, the variable text includes, but is not limited to, an insurance policy number, an effective date, an insurance name, and the like.
For example, in the context of a telephone service application, the variable text includes, but is not limited to, a mobile phone number, a telephone balance, a telephone consumption amount, a recharge amount, and the like.
In step S102, an information push template corresponding to the information push channel is acquired.
In the embodiment of the disclosure, the information push channel can be set according to actual conditions, and is not limited too much here. For example, the information push channel includes but is not limited to APP, short message, mail, etc. The APP comprises an APP related to the push object and an 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.
In the embodiment of the disclosure, an information push template corresponding to an information push channel can be obtained. It is understood that different information push channels may correspond to different information push templates. It should be noted that the type of the information pushing template is not limited too much, for example, the information pushing template may be a pure text type, or may be a combination type of text and at least one of pictures, audio, video, and the like.
In one embodiment, the obtaining of 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 the identification information of the information push channel. The information push template database is used for storing at least one information push template.
In an embodiment, a mapping relation or a mapping table between the information push channel and the information push template may be established in advance, and after the information push channel is obtained, the mapping relation or the mapping table may be queried, so that the information push template mapped by the information push channel may be obtained and used as the information push template corresponding to the information push channel. It should be noted that the mapping relationship or the mapping table may be set according to actual situations, and is not limited herein.
In step S103, information to be pushed corresponding to the information pushing channel is generated based on the information pushing template and the variable text.
In the embodiment of the 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 the variable text corresponding to any information push channel.
It can be understood that the information push templates corresponding to different information push channels may be different, and the information to be pushed corresponding to different information push channels may also be different.
In one embodiment, generating the information to be pushed corresponding to the information pushing channel based on the information pushing template and the variable text may include injecting the variable text into the information pushing template and loading the information pushing template to generate the information to be pushed.
In step S104, the corresponding information to be pushed is pushed to the receiving object through the information pushing channel.
It should be noted that the type of the receiving object is not limited too much, for example, the receiving object includes but is not limited to APP, terminal, and the like. The terminal includes, but is not limited to, a mobile phone, a tablet computer, a vehicle-mounted terminal, a smart appliance, and the like.
It can be understood that different information push channels may correspond to different information push modes.
In an embodiment, when the information push channel is an APP, the information push channel can log in the APP by using an account, establish a session page with a receiving object, and send information to be pushed to the receiving object through the session page.
In one embodiment, when the information push channel is a mail, an account can be used to log in a mailbox, and the mail carrying the information to be pushed is sent to a receiving object.
In one embodiment, when the information push channel is a short message, the information to be pushed can be sent to a communication operator, and the short message carrying the information to be pushed is sent to the receiving object through the communication operator.
In summary, according to the information pushing method provided by the embodiment of the present disclosure, the configuration information of the information to be pushed, which is sent by the pushing object, may be received, where the configuration information includes the variable text of the information to be pushed, which is corresponding to the information pushing channel, is generated based on the information pushing template and the variable text corresponding to the information pushing channel, and the corresponding information to be pushed is pushed to the receiving object through the information pushing channel. Therefore, information to be pushed can be automatically generated based on variable texts and information pushing templates in configuration information, compared with the related technology that information pushing logic needs to be developed according to different pushing objects and receiving objects, the technical problem that the development difficulty and cost of information pushing are high exists.
Fig. 2 is a flowchart illustrating an information pushing method according to a second embodiment of the disclosure.
As shown in fig. 2, an information pushing method according to a second embodiment of the present disclosure includes the following steps:
in step S201, configuration information of information to be pushed sent by a push object is received, where the configuration information includes a variable text of the information to be pushed.
In step S202, an information push template corresponding to the information push channel is obtained, where the information push template includes a template text.
The relevant contents of steps S201-S202 can be referred to the above embodiments, and are not described herein again.
In step S203, the text to be replaced in the template text is replaced with a variable text, and a target text is generated.
In an embodiment of the present disclosure, the information push template includes template text. It will be appreciated that different information push templates may correspond to different template text. Further, the text to be replaced in the template text can be replaced by the variable text, and the target text is generated.
For example, in a banking application scenario, the template text may be "your 11 account remits 11 yuan in 11 th of the 11 th of 11 th of 10 th of 11 th of the first of 11 th of the first of the 8 th of 11 th of the 8 th of the first of the 8 th of the 10 th of the first of the 11 th of the 8 th of the 11 th of the first of the 8 th of the first of the 8 th of the first of the second of the first of the second.
For example, in the insurance business application scenario, the template text may be "your electronic insurance policy with insurance policy number 11 takes effect at 11 months and 11 days", the variable text may include "a" and "8 months and 10 days", where a is the insurance policy number and 8 months and 10 days are the effective dates, the text to be replaced in the template text may be replaced with the variable text, and the generated target text may be "your electronic insurance policy with insurance policy number a takes effect at 8 months and 10 days".
For example, in a call charge service application scenario, the template text may be "call charge of your month is 10 yuan", and the variable text may include "100", where 100 is the amount of call charge consumption of this month, the text to be replaced in the template text may be replaced by the variable text, and the generated target text may be "call charge of your month is 100 yuan".
In step S204, information to be pushed corresponding to the information pushing channel is generated based on the target text.
In one embodiment, generating the information to be pushed corresponding to the information pushing channel based on the target text may include using the target text as the information to be pushed corresponding to the information pushing channel. For example, when the information push channel is a short message, the target text can be directly used as the information to be pushed corresponding to the short message channel.
In an embodiment, the information push template further includes a template information display style, and the information to be pushed corresponding to the information push channel is generated based on the target text, and the information to be pushed corresponding to the information push channel may be generated by rendering the target text according to the template information display style.
It is understood that the template information presentation style may be different for different information push templates. It should be noted that the type of the template information presentation style is not limited too much, for example, the template information presentation style includes, but is not limited to, a font size, a font color, a presentation position, a presentation size, a background color, a presentation background image, background music, and the like.
Therefore, the method can render the target text according to the template information display style and generate the information to be pushed corresponding to the information pushing channel, so that the generated information to be pushed conforms to the template information display style corresponding to the information pushing channel, and the display style of the information to be pushed is enriched.
In step S205, the corresponding information to be pushed is pushed to the receiving object through the information pushing channel.
The related content of step S205 can be referred to the above embodiments, and is not described herein again.
In summary, according to the information push method provided by the embodiment of the present disclosure, the information push template includes the template text, the text to be replaced in the template text can be replaced by the variable text, the target text is generated, and the information to be pushed corresponding to the information push channel is generated based on the target text. Therefore, the target text can be automatically generated based on the variable text and the template text in the configuration information, the information to be pushed is automatically generated based on the target text, the method and the device are suitable for pushing scenes of different pushing objects and receiving objects, the expansibility is good, and the development difficulty and the cost of information pushing are greatly reduced.
Fig. 3 is a flowchart illustrating an information pushing method according to a third embodiment of the present disclosure.
As shown in fig. 3, an information pushing method according to a third embodiment of the present disclosure includes the following steps:
in step S301, configuration information of information to be pushed sent by a pushing object is received, where the configuration information includes a variable text of the information to be pushed and a priority of an information pushing channel.
In the embodiment of the disclosure, the priority of the information push channel can be preset according to the actual situation.
In an embodiment, a mapping relation or a mapping table between the information push channel and the priority may be established in advance, and after the information push channel is obtained, the mapping relation or the mapping table may be queried, so that the priority mapped by the information push channel may be obtained and used as the priority of the information push channel. It should be noted that the mapping relationship or the mapping table may be set according to actual situations, and is not limited herein.
In step S302, an information push template corresponding to the information push channel is obtained.
In step S303, information to be pushed corresponding to the information push channel is generated based on the information push template and the variable text.
The relevant contents of steps S301 to S303 can be referred to the above embodiments, and are not described herein again.
In step S304, the information push channels are sorted from high to low according to priority.
In the embodiment of the disclosure, the information push channels can be sorted from high to low according to the priority, that is, the information push channel with high priority is ranked at the front, and the information push channel with low priority is ranked at the back.
In an embodiment, the information push channels with the same priority may have the same ranking position, and at this time, the information to be pushed corresponding to the information push channels with the same priority may be pushed in parallel.
In one embodiment, the information push channels with the same priority may have different ranking positions, and the ranking positions of the information push channels with the same priority may be randomly generated, and the ranking positions of the information push channels with the same priority are consecutive.
In step S305, it is identified whether the current information push channel traversed currently satisfies the information push condition, starting from the information push channel ranked first.
If not, executing step S306; if so, step S307 is executed.
In step S306, the current information push channel is updated based on the sorting result, and the steps of continuously identifying whether the current information push channel traversed currently meets the information push condition and the subsequent steps are returned.
In step S307, the corresponding information to be pushed is pushed to the receiving object through the current information pushing channel.
In the embodiment of the disclosure, the information push condition of the information push channel can be preset according to the actual situation. It is understood that different information push channels may correspond to different information push conditions.
In the embodiment of the disclosure, whether the currently traversed current information push channel meets the information push condition may be identified, starting from the information push channel ranked first.
In one embodiment, in response to that the current information push channel does not satisfy the information push condition, indicating that the current information push channel cannot perform information push, the current information push channel may be updated based on the sorting result, that is, the next information push channel is updated to the current information push channel, and the method returns to continue to perform the steps of identifying whether the current information push channel traversed currently satisfies the information push condition and the subsequent steps.
In one embodiment, in response to that the current information push channel satisfies 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.
In an embodiment, after the corresponding information to be pushed is pushed to the receiving object through the current information pushing channel, the current information pushing channel can be updated based on the sorting result, and whether the current traversed current information pushing channel meets the information pushing condition or not and subsequent steps are returned to be continuously executed. Therefore, after the corresponding information to be pushed is pushed to the receiving object through the current information pushing channel, the information pushing channel can be continuously traversed until the last information pushing channel in the sequence is traversed, at the moment, the information to be pushed can be pushed to the receiving object through at least one information pushing channel, and the diversity and the pushing effect of information pushing are improved.
In one embodiment, after the corresponding information to be pushed is pushed to the receiving object through the current information pushing channel, traversing the information pushing channel can be stopped, and at the moment, the information to be pushed can be pushed to the receiving object through only one information pushing channel, which is beneficial to saving the information pushing cost.
In an embodiment, after pushing the corresponding information to be pushed to the receiving object through the current information pushing channel, the method further includes obtaining the identification information of the current information pushing channel, and sending the identification information to the pushing object. Therefore, the identification information of the actually pushed information pushing channel can be timely fed back to the pushing object, so that the pushing object can timely know the actually pushed information pushing channel, and the information pushing result can be conveniently confirmed.
In summary, according to the information push method provided by the embodiment of the present disclosure, based on the priority of the information push channel, the traversal order of the information push channel can be determined, and whether the currently traversed current information push channel meets the information push condition is identified, so that the order of information push can be ensured.
Fig. 4 is a block diagram of an information pushing apparatus according to a first embodiment of the present disclosure.
As shown in fig. 4, the information pushing apparatus 400 according to the embodiment of the present disclosure includes: a receiving module 401, an obtaining module 402, a generating module 403 and a pushing module 404.
A receiving module 401 configured to receive configuration information of information to be pushed, which is sent by a pushing object, wherein the configuration information includes a variable text of the information to be pushed;
an obtaining module 402 configured to obtain an information push template corresponding to an information push channel;
a generating module 403, configured to generate the information to be pushed corresponding to the information pushing channel based on the information pushing template and the variable text;
a pushing module 404 configured to push the corresponding information to be pushed to a receiving object through the information pushing channel.
In an embodiment of the present disclosure, the information pushing template includes a template text, and the generating module 403 is further configured to: 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 pushing channel based on the target text.
In an embodiment of the present disclosure, the information pushing template further includes a template information presentation style, and the generating module 403 is further configured to: rendering the target text according to the template information display style, and generating the information to be pushed corresponding to the information pushing channel.
In an embodiment of the present disclosure, the configuration information further includes a priority of the information push channel, and the push module 404 is further configured to: sorting the information push channels from high to low according to the priority; identifying whether the current traversed information push channel meets information push conditions or not from the first sequenced information push channel, responding to the situation that the current information push channel does not meet the information push conditions, updating the current information push channel based on a sequencing result, and returning to continuously execute the steps of identifying whether the current traversed information push channel meets the information push conditions or not and the subsequent steps; or responding to the current information pushing channel meeting the information pushing condition, and pushing the corresponding information to be pushed to the receiving object through the current information pushing channel.
In an embodiment of the disclosure, after the pushing the corresponding information to be pushed to the receiving object through the current information pushing channel, the pushing module 404 is further configured to: and updating the current information pushing channel based on the sorting result, and returning to continuously execute the steps of identifying whether the current traversed current information pushing channel meets the information pushing condition and the subsequent steps.
In an embodiment of the disclosure, after the pushing the corresponding information to be pushed to the receiving object through the current information pushing channel, the pushing module 404 is further configured to: and stopping traversing the information push channel.
In an embodiment of the disclosure, after the pushing the corresponding information to be pushed to the receiving object through the current information pushing channel, the pushing module 404 is further configured to: acquiring identification information of the current information push channel; and sending the identification information to the push object.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In summary, the information pushing apparatus provided in the embodiment of the present disclosure may receive configuration information of information to be pushed, where the configuration information includes a variable text of the information to be pushed, generate information to be pushed corresponding to an information pushing channel based on an information pushing template and the variable text corresponding to the information pushing channel, and push the corresponding information to be pushed to a receiving object through the information pushing channel. Therefore, information to be pushed can be automatically generated based on variable texts and information pushing templates in configuration information, compared with the related technology that information pushing logic needs to be developed according to different pushing objects and receiving objects, the technical problem that the development difficulty and cost of information pushing are high exists.
FIG. 5 is a block diagram illustrating an electronic device in accordance with an example embodiment.
As shown in fig. 5, the electronic device 500 includes:
a memory 510 and a processor 520, a bus 530 connecting different components (including the memory 510 and the processor 520), wherein the memory 510 stores computer programs, and when the processor 520 executes the programs, the information pushing method according to the embodiment of the disclosure is implemented.
Bus 530 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such 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.
The electronic device 500 typically includes a variety of electronic device readable media. Such media may be any available media that is accessible by electronic device 500 and includes both volatile and nonvolatile media, removable and non-removable media.
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/nonvolatile computer system storage media. By way of example only, storage system 560 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard drive"). Although not shown in FIG. 5, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 530 by one or more data media interfaces. Memory 510 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the disclosure.
A program/utility 580 having a set (at least one) of program modules 570 may be stored, for instance, in 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 examples or some combination thereof may comprise an implementation of a network environment. The program modules 570 generally perform the functions and/or methods of the embodiments described in this disclosure.
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 devices (e.g., network card, modem, etc.) that enable the electronic device 500 to communicate with one or more other computing devices. Such communication may occur over input/output (I/O) interfaces 592. Also, the electronic device 500 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 593. As shown in FIG. 5, the network adapter 593 communicates with the other modules of the electronic device 500 via the bus 530. It should be appreciated that although not shown in the figures, other hardware and/or software modules may 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, among others.
The processor 520 executes various functional applications and data processing by executing programs stored in the memory 510.
It should be noted that, for the implementation process and the technical principle of the electronic device of the embodiment, reference is made to the foregoing explanation of the information pushing method of the embodiment of the present disclosure, and details are not described here again.
In summary, the electronic device provided in the embodiment of the present disclosure may execute the information pushing method as described above, and may receive configuration information of information to be pushed sent by a pushing object, where the configuration information includes a variable text of the information to be pushed, generate information to be pushed corresponding to an information pushing channel based on an information pushing template and the variable text corresponding to the information pushing channel, and push the corresponding information to be pushed to a receiving object through the information pushing channel. Therefore, information to be pushed can be automatically generated based on variable texts and information pushing templates in configuration information, compared with the related technology that information pushing logic needs to be developed according to different pushing objects and receiving objects, the technical problem that the development difficulty and cost of information pushing are high exists.
In order to implement the above embodiments, the present disclosure also proposes a computer-readable storage medium.
Wherein the instructions in the computer readable storage medium, when executed by the processor of the electronic device, enable the electronic device to perform the information push method as described above. Alternatively, the computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In order to implement the above embodiments, the present disclosure also provides a computer program product, including a computer program, wherein the computer program is implemented to implement the information pushing method as described above when executed by a processor.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements 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 (17)

1. An information pushing method, comprising:
receiving configuration information of information to be pushed, which is sent by a pushing object, wherein the configuration information comprises a 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 pushing channel based on the information pushing template and the variable text;
and pushing the corresponding information to be pushed to a receiving object through the information pushing channel.
2. The method according to claim 1, wherein 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 pushing channel based on the target text.
3. The method of claim 2, wherein the information push template further comprises a template information presentation style, and the generating the information to be pushed corresponding to the information push channel based on the target text comprises:
rendering the target text according to the template information display style, and generating the information to be pushed corresponding to the information pushing channel.
4. The method of claim 1, wherein the configuration information further includes a priority of the information push channel through which the corresponding information to be pushed is pushed to a receiving object, and the pushing includes:
sorting the information push channels from high to low according to the priority;
identifying whether the current traversed information push channel meets information push conditions or not from the first sequenced information push channel, responding to the situation that the current information push channel does not meet the information push conditions, updating the current information push channel based on a sequencing result, and returning to continuously execute the steps of identifying whether the current traversed information push channel meets the information push conditions or not and the subsequent steps; alternatively, the first and second electrodes may be,
and responding to the situation that the current information pushing channel meets the information pushing condition, and pushing the corresponding information to be pushed to the receiving object through the current information pushing channel.
5. The method according to claim 4, after the pushing the corresponding information to be pushed to the receiving object through the current information pushing channel, further comprising:
and updating the current information pushing channel based on the sorting result, and returning to continuously execute the steps of identifying whether the current traversed current information pushing channel meets the information pushing condition and the subsequent steps.
6. The method according to claim 4, after the pushing the corresponding information to be pushed to the receiving object through the current information pushing channel, further comprising:
and stopping traversing the information push channel.
7. The method according to claim 4, after the pushing the corresponding information to be pushed to the receiving object through the current information pushing channel, further comprising:
acquiring identification information of the current information push channel;
and sending the identification information to the push object.
8. An information pushing apparatus, comprising:
the system comprises a receiving module, a sending module and a sending module, wherein the receiving module is configured to receive configuration information of information to be pushed sent by a pushing object, and the configuration information comprises a variable text of the information to be pushed;
the acquisition module is configured to acquire an information push template corresponding to the information push channel;
the generating module is configured to generate the information to be pushed corresponding to the information pushing channel based on the information pushing template and the variable text;
and the pushing module is configured to push the corresponding information to be pushed to a receiving object through the information pushing channel.
9. The apparatus of claim 8, wherein the information push template comprises template text, and wherein the generation module is further configured to:
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 pushing channel based on the target text.
10. The apparatus of claim 9, wherein the information push template further comprises a template information presentation style, and wherein the generation module is further configured to:
rendering the target text according to the template information display style, and generating the information to be pushed corresponding to the information pushing channel.
11. The apparatus of claim 8, wherein the configuration information further comprises a priority of the information push channel, and wherein the push module is further configured to:
sorting the information push channels from high to low according to the priority;
identifying whether the current traversed information push channel meets information push conditions or not from the first sequenced information push channel, responding to the situation that the current information push channel does not meet the information push conditions, updating the current information push channel based on a sequencing result, and returning to continuously execute the steps of identifying whether the current traversed information push channel meets the information push conditions or not and the subsequent steps; alternatively, the first and second electrodes may be,
and responding to the situation that the current information pushing channel meets the information pushing condition, and pushing the corresponding information to be pushed to the receiving object through the current information pushing channel.
12. The apparatus of claim 11, wherein after the pushing the corresponding information to be pushed to the receiving object through the current information pushing channel, the pushing module is further configured to: and updating the current information pushing channel based on the sorting result, and returning to continuously execute the steps of identifying whether the current traversed current information pushing channel meets the information pushing condition and the subsequent steps.
13. The apparatus of claim 11, wherein after the pushing the corresponding information to be pushed to the receiving object through the current information pushing channel, the pushing module is further configured to:
and stopping traversing the information push channel.
14. The apparatus of claim 11, wherein after the pushing the corresponding information to be pushed to the receiving object through the current information pushing channel, the pushing module is further configured to:
acquiring identification information of the current information push channel;
and sending the identification information to the push object.
15. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the information pushing method of any one of claims 1-7.
16. A computer-readable storage medium, wherein instructions, when executed by a processor of an electronic device, enable the electronic device to perform the information pushing method of any one of claims 1-7.
17. A computer program product comprising a computer program, characterized in that the computer program realizes the information push method of any of claims 1-7 when executed by a processor.
CN202111328635.0A 2021-11-10 2021-11-10 Information pushing method and device and electronic equipment Pending CN114218908A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111328635.0A CN114218908A (en) 2021-11-10 2021-11-10 Information pushing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111328635.0A CN114218908A (en) 2021-11-10 2021-11-10 Information pushing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114218908A true CN114218908A (en) 2022-03-22

Family

ID=80696850

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111328635.0A Pending CN114218908A (en) 2021-11-10 2021-11-10 Information pushing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114218908A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595283A (en) * 2018-05-11 2018-09-28 深圳壹账通智能科技有限公司 A kind of information push method, electronic device, computer equipment and storage medium
CN109948046A (en) * 2018-01-05 2019-06-28 深圳壹账通智能科技有限公司 Information push method, device, mobile terminal and storage medium
CN111090810A (en) * 2019-12-20 2020-05-01 北京奇艺世纪科技有限公司 Application message pushing method and device and electronic equipment
CN111614718A (en) * 2020-04-10 2020-09-01 广州市玄武无线科技股份有限公司 Enterprise communication channel fusion method, device, equipment and readable storage medium
CN111953776A (en) * 2020-08-12 2020-11-17 江苏云柜网络技术有限公司 Application service message pushing method and device, computer equipment and computer storage medium
CN112073308A (en) * 2020-09-16 2020-12-11 京东数字科技控股股份有限公司 Information pushing method, device, equipment and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109948046A (en) * 2018-01-05 2019-06-28 深圳壹账通智能科技有限公司 Information push method, device, mobile terminal and storage medium
CN108595283A (en) * 2018-05-11 2018-09-28 深圳壹账通智能科技有限公司 A kind of information push method, electronic device, computer equipment and storage medium
CN111090810A (en) * 2019-12-20 2020-05-01 北京奇艺世纪科技有限公司 Application message pushing method and device and electronic equipment
CN111614718A (en) * 2020-04-10 2020-09-01 广州市玄武无线科技股份有限公司 Enterprise communication channel fusion method, device, equipment and readable storage medium
CN111953776A (en) * 2020-08-12 2020-11-17 江苏云柜网络技术有限公司 Application service message pushing method and device, computer equipment and computer storage medium
CN112073308A (en) * 2020-09-16 2020-12-11 京东数字科技控股股份有限公司 Information pushing method, device, equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN108920675B (en) Information processing method and device, computer storage medium and terminal
WO2015055067A1 (en) Method and apparatus for pushing messages
CN105719104B (en) Intelligent approval method and device
CN112162965B (en) Log data processing method, device, computer equipment and storage medium
CN108073429B (en) Payment mode configuration method, device, equipment and storage medium
CN112000911B (en) Page management method, device, electronic equipment and storage medium
CN112417274A (en) Message pushing method and device, electronic equipment and storage medium
US20070158403A1 (en) Business card information exchange device and method
CN112258214A (en) Video delivery method and device and server
CN112000412A (en) Data acquisition method, device, equipment and storage medium
US20140289742A1 (en) Method of sharing contents
CN110377891B (en) Method, device and equipment for generating event analysis article and computer readable storage medium
CN114218908A (en) Information pushing method and device and electronic equipment
CN114022300A (en) Social dynamic information publishing method and device, storage medium and electronic equipment
CN114490990A (en) Method, device and equipment for determining text to be marked and storage medium
CN113420042A (en) Data statistics method, device, equipment and storage medium based on presentation
CN113114557A (en) Message sending method and device, electronic equipment and storage medium
WO2021043034A1 (en) Service query method, and related device
CN112100187A (en) Student learning data storage method and device based on VueJS
CN111221817A (en) Service information data storage method and device, computer equipment and storage medium
CN111652747B (en) Electronic policy processing method, device, equipment and computer readable storage medium
US11543959B1 (en) Method for inserting hand-written text
CN114281981B (en) News brief report generation method and device and electronic equipment
US20230119741A1 (en) Picture annotation method, apparatus, electronic device, and storage medium
CN115550859A (en) Information pushing method and device and electronic 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