CN115550859A - Information pushing method and device and electronic equipment - Google Patents
Information pushing method and device and electronic equipment Download PDFInfo
- Publication number
- CN115550859A CN115550859A CN202211182649.0A CN202211182649A CN115550859A CN 115550859 A CN115550859 A CN 115550859A CN 202211182649 A CN202211182649 A CN 202211182649A CN 115550859 A CN115550859 A CN 115550859A
- Authority
- CN
- China
- Prior art keywords
- information
- candidate
- push
- target
- template
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 66
- 238000000605 extraction Methods 0.000 claims abstract description 17
- 238000013507 mapping Methods 0.000 claims description 22
- 238000009877 rendering Methods 0.000 claims description 13
- 238000004590 computer program Methods 0.000 claims description 10
- 239000000284 extract Substances 0.000 claims description 5
- 230000004044 response Effects 0.000 claims description 5
- 230000008569 process Effects 0.000 abstract description 14
- 238000013473 artificial intelligence Methods 0.000 abstract description 2
- 238000010586 diagram Methods 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 239000000945 filler Substances 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000012015 optical character recognition Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 238000012545 processing Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/12—Messaging; Mailboxes; Announcements
- H04W4/14—Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/18—Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- User Interface Of Digital Computer (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 candidate push information sent by a short message server; performing text feature extraction on the candidate push information to obtain a target feature text of the candidate push information; after a target feature text is obtained, a target push template corresponding to the target feature text is obtained; carrying out filling area identification on the target pushing template, and extracting filling contents required by each filling area from the candidate pushing information; and filling the filling content into the target pushing template according to the filling area to obtain target pushing information. Therefore, the push template is obtained without adding links in the candidate push information, and the corresponding push template is obtained through the target feature text, so that the risk in the information push process is reduced, and the reliability and the safety in the information push process are improved.
Description
Technical Field
The disclosure relates to the technical field of artificial intelligence recognition and classification, and in particular to an information pushing method and device and electronic equipment.
Background
With the popularization of smart phones and the rapid development of various Application program (APP) messages, the short message messages are generally used for identifying code notification, key service notification, customer marketing and the like, and are important means for reaching customers, and the common short message messages only have text styles, cannot further interact with the customers and conveniently guide the customers.
Disclosure of Invention
The present disclosure provides an information pushing method, an information pushing apparatus, an electronic device, a computer-readable storage medium, and a computer program product, so as to at least solve the risk problems that information to be pushed is easy to counterfeit and unsafe in the information pushing process 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, executed by a terminal device, including: receiving candidate push information sent by a short message server; extracting text features of the candidate push information to obtain a target feature text of the candidate push information; after the target characteristic text is obtained, obtaining a target push template corresponding to the target characteristic text; performing filling area identification on the target pushing template, and extracting filling contents required by each filling area from the candidate pushing information; and according to the filling area, filling the filling content into the target pushing template to obtain target pushing information.
In an embodiment of the present disclosure, before receiving the candidate push information sent by the short message server, the method includes: and receiving template configuration information sent by the short message server, wherein the template configuration information at least comprises a candidate push template and a candidate feature text corresponding to the candidate push template.
In an embodiment of the present disclosure, before receiving the candidate push information sent by the short message server, the method includes: and receiving template configuration information sent by the short message server, wherein the template configuration information at least comprises a candidate push template and a candidate feature text corresponding to the candidate push template.
In an embodiment of the present disclosure, the obtaining a target push template corresponding to the target feature text includes: acquiring a mapping relation between a candidate feature text and the candidate pushing template; and inquiring the mapping relation, and acquiring a target pushing template corresponding to the target characteristic text from the candidate pushing templates.
In an embodiment of the present disclosure, the identifying filling areas of the target push template, and extracting filling contents required by each filling area from the candidate push information includes: acquiring identification information of filling contents in different areas in the target pushing template; and acquiring the filling content of each area from the candidate pushing information according to the identification information.
In an embodiment of the present disclosure, the filling, according to the filling area, the filling content into the target push template to obtain target push information includes: acquiring a display style of each region; and performing style rendering on the filling content of the region according to the display style of the region aiming at each region to acquire the target push information.
According to a second aspect of the embodiments of the present disclosure, there is provided an information push method, executed by a short message server, including: sending template configuration information to terminal equipment, wherein the template configuration information at least comprises a candidate push template and a candidate feature text corresponding to the candidate push template; and sending candidate push information to the terminal equipment, wherein a target feature text in the candidate push information is used for acquiring a corresponding target push template, and the target push template and the candidate push information are used for acquiring the target push information.
According to a third aspect of the embodiments of the present disclosure, there is provided an information pushing apparatus including: the receiving module is configured to receive candidate push information sent by the short message server; the first acquisition module is configured to perform text feature extraction on the candidate push information to acquire a target feature text of the candidate push information; the second acquisition module is configured to acquire a target push template corresponding to the target feature text after acquiring the target feature text; the extraction module is configured to perform filling area identification on the target push template and extract filling content required by each filling area from the candidate push information; and the third acquisition module is configured to fill the filling content into the target push template according to the filling area to obtain target push information.
In an embodiment of the disclosure, before the receiving the candidate push information sent by the short message server, the receiving module is further configured to: and receiving template configuration information sent by the short message server, wherein the template configuration information at least comprises a candidate push template and a candidate feature text corresponding to the candidate push template.
In one embodiment of the disclosure, the apparatus is further configured to: in response to that the target feature text is not acquired, directly determining the candidate push information as the target push information; or rendering the candidate push information according to a default push template to acquire the target push information.
In an embodiment of the disclosure, the second obtaining module is further configured to: acquiring a mapping relation between the candidate feature text and the candidate pushing template; and inquiring the mapping relation, and acquiring a target pushing template corresponding to the target feature text from the candidate pushing templates.
In one embodiment of the disclosure, the extraction module is further configured to: acquiring identification information of filling contents in different areas in the target pushing template; and acquiring the filling content of each area from the candidate pushing information according to the identification information.
In an embodiment of the disclosure, the third obtaining module is further configured to: acquiring a display style of each region; and performing style rendering on the filling content of each region according to the display style of the region so as to acquire the target push information.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an information pushing apparatus including: the terminal equipment comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is configured to send template configuration information to the terminal equipment, and the template configuration information at least comprises one candidate push template and candidate feature texts corresponding to the candidate push templates; a second sending module, configured to send candidate push information to the terminal device, where a target feature text in the candidate push information is used to obtain a corresponding target push template, and the target push template and the candidate push information are used to obtain target push information.
According to a fifth aspect of 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 of the first aspect or the second aspect.
According to a sixth aspect of 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 according to the first aspect or the second aspect.
According to a seventh 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 of the first aspect or the second aspect.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects: receiving candidate push information sent by a short message server, performing text feature extraction on the candidate push information to obtain a target feature text of the candidate push information, after the target feature text is obtained, obtaining a target push template corresponding to the target feature text, performing filling area identification on the target push template, extracting filling content required by each filling area from the candidate push information, and filling the filling content into the target push template according to the filling areas to obtain the target push information. Therefore, the target push template can be obtained based on the target feature text of the candidate push information, the information to be pushed is automatically generated according to the candidate push information and the target push template, compared with the method that links need to be added in the candidate push information in the related technology, the corresponding template is obtained through analyzing the links, the technical problems that the links are faked and the risk is high in the information push process are solved, the scheme does not need to add the links in the candidate push information to obtain the push template, the corresponding push template is obtained through the target feature text, the risk in the information push process is reduced, and the reliability and the safety of information push are improved.
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 flowchart illustrating an information push method according to a first embodiment of the 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 disclosure.
Fig. 4 is a flowchart illustrating an information pushing method according to a fourth embodiment of the disclosure.
Fig. 5 is a block diagram of an information pushing apparatus according to a first embodiment of the present disclosure.
Fig. 6 is a block diagram of an information pushing apparatus according to a second embodiment of the present disclosure.
FIG. 7 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 other sequences than those illustrated or 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 push method according to a first embodiment of the present disclosure is executed by a terminal device, and includes the following steps:
in step S101, candidate push information sent by the short message server is received.
It should be noted that the candidate push information may be a short message. The Short Message Service (SMS) is a text or numeric Message that a user directly sends or receives through a mobile phone or other communication terminal, and the number of characters that the user can receive and send a Short Message each time is 160 english or numeric characters, or 70 chinese characters.
It should be noted that the type of the terminal device is not limited in this disclosure, for example, the terminal device includes, but is not limited to, a mobile phone, a tablet computer, and the like.
For example, when the terminal device is a mobile phone device, the candidate push information sent by the short message server may be received through a communication operator.
It should be noted that there may be a variety of application scenarios for the candidate push information. For example: for the banking business scenario, the candidate push information includes, but is not limited to, candidate push information for banking business, candidate push information for bank promotion, and the like; another example is: for a shopping business scenario, the candidate push information includes, but is not limited to, candidate push information for activity notification, and the like.
In the embodiment of the present disclosure, before receiving the candidate push information sent by the short message server, the template configuration information sent by the short message server may be received, where the template configuration information at least includes one candidate push template and a candidate feature text corresponding to the candidate push template.
In step S102, text feature extraction is performed on the candidate push information to obtain a target feature text of the candidate push information.
It should be noted that the present disclosure does not limit the setting of the target feature text.
Optionally, the target feature of the candidate push information may be set as a special character; alternatively, the target characteristics of the candidate push information can be set to be a combination of special characters and numbers, and the like.
It should be noted that, the method for extracting the text features of the candidate push information is not limited in the present disclosure, and may be selected according to actual situations.
Optionally, the candidate pushed information may be subjected to text feature extraction based on an Optical Character Recognition (OCR) technology.
It should be noted that target feature texts of different candidate push information may be the same or different, and are not limited herein.
In step S103, after the target feature text is acquired, a target push template corresponding to the target feature text is acquired.
In the embodiment of the disclosure, after the target feature text is obtained, an information push template corresponding to the target feature text may be obtained according to the target feature text. It will be appreciated that different target feature texts may correspond to different target information push templates.
In the present disclosure, the setting of the target push template is not limited, and may be set according to actual situations.
For example, the information push template may include, but is not limited to, a format of the candidate push information, a combination type of the candidate push information and at least one of a picture, audio, video, etc., a link jump page of the candidate push information, a candidate feature text, etc.
It should be noted that, the present disclosure does not limit the specific manner of obtaining the target push template corresponding to the target feature text, and may select the target push template according to the actual situation.
Optionally, a mapping relationship between the candidate feature text and the candidate pushing template may be pre-established, and after the target feature text is obtained, the target pushing template corresponding to the target feature text is obtained by querying the mapping relationship.
In step 104, filling area identification is performed on the target push template, and filling content required by each filling area is extracted from the candidate push information.
Optionally, identification information of the filling content in different areas in the target push template may be obtained, and the filling content required by each filling area may be extracted from the candidate push information according to the identification information.
In step 105, filling the filling content into the target push template according to the filling area to obtain the target push information.
In the embodiment of the present disclosure, after the filling content required by the template is obtained, the display style of each region may be obtained, and style rendering is performed on the filling content of the region according to the display style of the region, so as to obtain the target push information.
Further, in response to that the target feature text is not obtained, the candidate push information may be directly determined as the target push information, or the candidate push information is rendered according to a default push template to obtain the target push information.
According to the information push method provided by the embodiment of the disclosure, candidate push information sent by a short message server is received, text feature extraction is performed on the candidate push information to obtain a target feature text of the candidate push information, after the target feature text is obtained, a target push template corresponding to the target feature text is obtained, filling area identification is performed on the target push template, filling content required by each filling area is extracted from the candidate push information, and the filling content is filled into the target push template according to the filling areas to obtain the target push information. Therefore, the target push template can be obtained based on the target feature text of the candidate push information, the information to be pushed is automatically generated according to the candidate push information and the target push template, compared with the technical problem that links need to be added in the candidate push information in the related technology, and the corresponding template is obtained through analyzing the links, so that the link is faked and the risk is high in the information push process.
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, candidate push information sent by the short message server is received.
In the embodiment of the present disclosure, before receiving the candidate push information sent by the short message server, the method includes: receiving template configuration information sent by a short message server, wherein the template configuration information at least comprises a candidate push template and a candidate feature text corresponding to the candidate push template.
In step S202, text feature extraction is performed on the candidate push information to obtain a target feature text of the candidate push information.
If the target characteristic text of the candidate push information is acquired, executing steps S203-S206; if the target feature text of the candidate push information is not acquired, step S207 is executed.
The relevant contents of steps S201-S202 can be referred to the above embodiments, and are not described herein again.
In step S203, a mapping relationship between the candidate feature text and the candidate pushed template is obtained.
It should be noted that, in the related art, the short message link is often added to the short message text, and the link is analyzed to render the text short message into a template corresponding to the link, and since the link is added to the short message text, the security is reduced in the information pushing process.
In the embodiment of the present disclosure, a mapping relationship between the candidate feature text and the candidate pushed template may be pre-established to obtain the mapping relationship between the candidate feature text and the candidate pushed template.
Optionally, a mapping table between the candidate feature text and the candidate pushed template may be established in advance to obtain a mapping relationship between the candidate feature text and the candidate pushed template.
In step S204, the mapping relationship is queried, and a target push template corresponding to the target feature text is obtained from the candidate push templates.
In the embodiment of the present disclosure, after the mapping relationship is obtained, a target push template corresponding to the target feature text may be obtained from the candidate push templates by querying the mapping relationship.
In step S205, filling area identification is performed on the target push template, and filling content required for each filling area is extracted from the candidate push information.
In step S206, the filling content is filled into the target push template according to the filling area to obtain the target push information.
In the embodiment of the disclosure, based on the target information push template, the filling area identification may be performed on the target push template, and the filling content required by each filling area is extracted from the candidate push information, so that the filling content is filled into the target push template according to the filling area to obtain the target push information.
It should be noted that the filling content required for different information push templates may be different. It should be noted that the required filling content is not limited too much, for example, the required filling content includes, but is not limited to, font color, display position, display size, background color, display background image, background music, and the like.
In step S207, directly determining candidate push information as target push information; or rendering the candidate push information according to a default push template to acquire the target push information.
In the embodiment of the disclosure, if the target feature text is not obtained, the candidate push information is directly determined as the target push information, that is, the candidate push information does not need to be rendered according to the push template; or a default push template may be acquired, that is, when the target feature text is not acquired, the default push template is configured uniformly for the candidate push information, and then the candidate push information is rendered according to the default push template to acquire the target push information.
In summary, according to the information pushing method provided by the embodiment of the present disclosure, the mapping relationship between the candidate feature text and the candidate pushing template may be obtained, and the target pushing template corresponding to the target feature text is obtained from the candidate pushing template by querying the mapping relationship, so as to generate the target pushing information according to the candidate pushing information and the target pushing template.
Fig. 3 is a flowchart illustrating an information pushing method according to a third embodiment of the disclosure.
As shown in fig. 3, an information push method according to a third embodiment of the present disclosure includes the following steps:
in step S301, candidate push information sent by the short message server is received.
In the embodiment of the present disclosure, before receiving the candidate push information sent by the short message server, the method includes: receiving template configuration information sent by a short message server, wherein the template configuration information at least comprises a candidate push template and a candidate feature text corresponding to the candidate push template.
In step S302, text feature extraction is performed on the candidate push information to obtain a target feature text of the candidate push information.
In step S303, after the target feature text is obtained, a target push template corresponding to the target feature text is obtained.
The relevant contents of steps S301 to S303 can be referred to the above embodiments, and are not described herein again.
In step S304, identification information of the filler content of different areas in the target push template is acquired.
It should be noted that the identification information may be used to indicate the filling content of different areas in the target push template.
In step S305, the filling content required for each filling area is extracted from the candidate push information based on the identification information.
In the embodiment of the present disclosure, after the identification information is obtained, the filling content of each area may be obtained from the candidate push information. For example, background pictures, background music, videos, pictures, etc.
In step S306, the presentation style of each region is acquired.
In step S307, for each region, style rendering is performed on the filling content of the region according to the display style of the region to obtain target push information.
Further, after the filler content is obtained, style rendering may be performed on the filler content of the region according to the display style of the region, so as to obtain the target push information.
In summary, according to the information push method provided by the embodiment of the disclosure, the candidate push information can be displayed and rendered according to the target push template to obtain the target push information, so that only text styles in the candidate push information are avoided, interaction with a user is facilitated, meanwhile, risks in an information push process are reduced, and reliability and safety in the information push process are improved.
Fig. 4 is a flowchart illustrating an information pushing method according to a fourth embodiment of the disclosure.
As shown in fig. 4, an information push method according to a fourth embodiment of the present disclosure is executed by a short message server, and includes the following steps:
in step S401, template configuration information is sent to the terminal device, where the template configuration information at least includes one candidate pushed template and a candidate feature text corresponding to the candidate pushed template.
It should be noted that the template configuration information may include, but is not limited to, an information format, feature text, font size, font color, display position, display size, background color, display background image, background music, and the like of the candidate push information.
It should be noted that the present disclosure does not limit the setting of the candidate feature text.
Alternatively, the candidate feature text may be set to be a special character; alternatively, the candidate feature text may be a special symbol or the like.
In step S402, candidate push information is sent to the terminal device, a target feature text in the candidate push information is used to obtain a corresponding target push template, and the target push template and the candidate push information are used to obtain the target push information.
It should be noted that, when the candidate push information includes the target feature text, the corresponding target push template may be obtained according to the target feature text, and further, the target push information may be obtained according to the target push template and the candidate push information. Namely, the candidate push information is displayed and rendered according to the target push template so as to obtain the target push information.
It should be noted that, the present disclosure does not limit the specific manner of sending the candidate push information to the terminal device, and may select the candidate push information according to the actual situation.
Alternatively, a sending time for sending the candidate push information to the terminal device may be set, and the candidate push information may be sent to the terminal device according to the sending time.
In summary, according to the information pushing method provided by the embodiment of the present disclosure, template configuration information is sent to a terminal device, where the template configuration information at least includes a candidate push template and a candidate feature text corresponding to the candidate push template, the candidate push information is sent to the terminal device, a target feature text in the candidate push information is used to obtain a corresponding target push template, and the target push template and the candidate push information are used to obtain the target push information.
Fig. 5 is a block diagram of an information pushing apparatus according to a first embodiment of the present disclosure.
As shown in fig. 5, an information pushing apparatus 500 according to an embodiment of the present disclosure includes: a receiving module 501, a first obtaining module 502, a second obtaining module 503, an extracting module 504 and a third obtaining module 505.
A receiving module 501 configured to receive candidate push information sent by a short message server;
a first obtaining module 502, configured to perform text feature extraction on the candidate push information to obtain a target feature text of the candidate push information;
the second obtaining module 503 is configured to, after the target feature text is obtained, obtain a target push template corresponding to the target feature text;
an extracting module 504, configured to perform filling area identification on the target push template, and extract filling content required by each filling area from the candidate push information;
a third obtaining module 505, configured to fill the filling content into the target push template according to the filling area to obtain target push information.
In an embodiment of the present disclosure, before the receiving the candidate push information sent by the short message server, the receiving module 501 is further configured to: and receiving template configuration information sent by the short message server, wherein the template configuration information at least comprises a candidate push template and a candidate feature text corresponding to the candidate push template.
In an embodiment of the present disclosure, the apparatus 500 is further configured to: in response to that the target feature text is not obtained, directly determining the candidate push information as the target push information; or rendering the candidate push information according to a default push template to acquire the target push information.
In an embodiment of the present disclosure, the second obtaining module 503 is further configured to: acquiring a mapping relation between the candidate feature text and the candidate pushing template; and inquiring the mapping relation, and obtaining a target push template corresponding to the target feature text from the candidate push templates.
In an embodiment of the present disclosure, the extracting module 504 is further configured to: acquiring identification information of filling contents in different areas in the target pushing template; and extracting filling contents required by each filling area from the candidate pushing information according to the identification information.
In an embodiment of the present disclosure, the third obtaining module 505 is further configured to: acquiring a display style of each region; and performing style rendering on the filling content of the region according to the display style of the region aiming at each region to acquire the target push information.
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 receives candidate push information sent by a short message server, performs text feature extraction on the candidate push information to obtain a target feature text of the candidate push information, after the target feature text is obtained, obtains a target push template corresponding to the target feature text, performs filling area identification on the target push template, extracts filling content required by each filling area from the candidate push information, and fills the filling content into the target push template according to the filling area to obtain the target push information. Therefore, the target push template can be obtained based on the target feature text of the candidate push information, the information to be pushed is automatically generated according to the candidate push information and the target push template, compared with the technical problem that links need to be added in the candidate push information in the related technology, and the corresponding template is obtained through analyzing the links, so that the links are faked and the risk is high in the information push process.
Fig. 6 is a block diagram of an information push apparatus according to a second embodiment of the present disclosure.
As shown in fig. 6, an information pushing apparatus 600 according to an embodiment of the present disclosure includes: a first sending module 601 and a second sending module 602.
A first sending module 601, configured to send template configuration information to a terminal device, where the template configuration information includes at least one candidate pushed template and a candidate feature text corresponding to the candidate pushed template;
a second sending module 602, configured to send candidate push information to the terminal device, where a target feature text in the candidate push information is used to obtain a corresponding target push template, and the target push template and the candidate push information are used to obtain target push information.
In summary, according to the information pushing apparatus provided by the embodiment of the present disclosure, template configuration information is sent to a terminal device, where the template configuration information at least includes a candidate pushing template and a candidate feature text corresponding to the candidate pushing template, and candidate pushing information is sent to the terminal device, where a target feature text in the candidate pushing information is used to obtain a corresponding target pushing template, and the target pushing template and the candidate pushing information are used to obtain the target pushing information, and the candidate pushing information can be displayed and rendered according to the target pushing template to obtain the target pushing information, so that a text style in the candidate pushing information is avoided, interaction with a user is facilitated, meanwhile, a risk in an information pushing process is reduced, and reliability and security in the information pushing process are improved.
FIG. 7 is a block diagram of an electronic device shown in accordance with an example embodiment.
As shown in fig. 7, the electronic device 700 includes:
a memory 710 and a processor 720, a bus 730 connecting different components (including the memory 710 and the processor 720), wherein the memory 710 stores a computer program, and when the processor 720 executes the program, the information push method according to the first aspect or the second aspect of the disclosure is implemented.
A program/utility 780 having a set (at least one) of program modules 770 may be stored, for example, in memory 710, such program modules 770 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 of which may comprise an implementation of a network environment. Program modules 770 typically perform the functions and/or methods of the embodiments described in this disclosure.
The electronic device 700 may also communicate with one or more external devices 790 (e.g., keyboard, pointing device, display 791, etc.), as well as with one or more devices that enable a user to interact with the electronic device 700, and/or with any devices (e.g., network card, modem, etc.) that enable the electronic device 700 to communicate with one or more other computing devices. Such communication may occur over input/output (I/O) interfaces 792. Also, the electronic device 700 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 793. As shown in FIG. 7, the network adapter 793 communicates with the other modules of the electronic device 700 over a bus 730. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the electronic device 700, 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 720 executes various functional applications and data processing by executing programs stored in the memory 710.
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, receive candidate push information sent by the short message server, perform text feature extraction on the candidate push information to obtain a target feature text of the candidate push information, after the target feature text is obtained, obtain a target push template corresponding to the target feature text, perform filling area identification on the target push template, extract filling content required by each filling area from the candidate push information, and fill the filling content into the target push template according to the filling area to obtain the target push information. Therefore, the target push template can be obtained based on the target feature text of the candidate push information, the information to be pushed is automatically generated according to the candidate push information and the target push template, compared with the technical problem that links need to be added in the candidate push information in the related technology, and the corresponding template is obtained through analyzing the links, so that the links are counterfeited and the risk is high in the information push process.
In order to implement the above embodiments, the present disclosure also provides 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 foregoing embodiments, the present disclosure further provides a computer program product including a computer program, where the computer program is configured to implement the information pushing method according to the first aspect or the second aspect 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 in 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, which is executed by a terminal device, includes:
receiving candidate push information sent by a short message server;
performing text feature extraction on the candidate push information to obtain a target feature text of the candidate push information;
after a target feature text is obtained, obtaining a target push template corresponding to the target feature text;
performing filling area identification on the target pushing template, and extracting filling contents required by each filling area from the candidate pushing information;
and filling the filling content into the target pushing template according to the filling area to obtain target pushing information.
2. The method of claim 1, wherein before receiving the candidate push information sent by the short message server, the method comprises:
and receiving template configuration information sent by the short message server, wherein the template configuration information at least comprises a candidate push template and a candidate feature text corresponding to the candidate push template.
3. The method of claim 1, further comprising:
in response to that the target feature text is not acquired, directly determining the candidate push information as the target push information; or,
rendering the candidate push information according to a default push template to acquire the target push information.
4. The method of claim 1, wherein the obtaining a target push template corresponding to the target feature text comprises:
acquiring a mapping relation between the candidate feature text and the candidate pushing template;
and inquiring the mapping relation, and acquiring a target pushing template corresponding to the target characteristic text from the candidate pushing templates.
5. The method according to any one of claims 1 to 4, wherein the identifying filling areas for the target push template and extracting filling contents required by each filling area from the candidate push information comprises:
acquiring identification information of filling contents in different areas in the target pushing template;
and extracting filling contents required by each filling area from the candidate pushing information according to the identification information.
6. The method according to claim 5, wherein the filling content into the target push template according to the filling area to obtain target push information includes:
acquiring a display style of each region;
and performing style rendering on the filling content of the region according to the display style of the region aiming at each region to acquire the target push information.
7. An information pushing method, which is executed by a short message server, includes:
sending template configuration information to terminal equipment, wherein the template configuration information at least comprises one candidate push template and a candidate feature text corresponding to the candidate push template;
and sending candidate push information to the terminal equipment, wherein a target feature text in the candidate push information is used for acquiring a corresponding target push template, and the target push template and the candidate push information are used for acquiring the target push information.
8. An information pushing apparatus, implemented by a terminal device, includes:
the receiving module is configured to receive candidate push information sent by the short message server;
the first acquisition module is configured to perform text feature extraction on the candidate push information to acquire a target feature text of the candidate push information;
the second acquisition module is configured to acquire a target push template corresponding to the target feature text after the target feature text is acquired;
the extraction module is configured to perform filling area identification on the target push template and extract filling content required by each filling area from the candidate push information;
and the third acquisition module is configured to fill the filling content into the target push template according to the filling area to obtain target push information.
9. The apparatus of claim 8, wherein before receiving the candidate push information sent by the short message server, the receiving module is further configured to:
and receiving template configuration information sent by the short message server, wherein the template configuration information at least comprises a candidate push template and a candidate feature text corresponding to the candidate push template.
10. The apparatus of claim 8, wherein the apparatus is further configured to:
in response to that the target feature text is not obtained, directly determining the candidate push information as the target push information; or,
rendering the candidate push information according to a default push template, and acquiring the target push information.
11. The apparatus of claim 8, wherein the second obtaining module is further configured to:
acquiring a mapping relation between the candidate feature text and the candidate pushing template;
and inquiring the mapping relation, and acquiring a target pushing template corresponding to the target feature text from the candidate pushing templates.
12. The apparatus of any of claims 8-11, wherein the extraction module is further configured to:
acquiring identification information of filling contents in different areas in the target pushing template;
and acquiring the filling content of each area from the candidate pushing information according to the identification information.
13. The apparatus of claim 12, wherein the third obtaining module is further configured to:
acquiring a display style of each region;
and performing style rendering on the filling content of each region according to the display style of the region so as to acquire the target push information.
14. An information pushing apparatus, implemented by a short message server, comprising:
the terminal equipment comprises a first sending module, a second sending module and a third sending module, wherein the first sending module is configured to send template configuration information to the terminal equipment, and the template configuration information at least comprises one candidate push template and candidate feature texts corresponding to the candidate push templates;
the second sending module is configured to send candidate push information to the terminal device, wherein a target feature text in the candidate push information is used for obtaining a corresponding target push template, and the target push template and the candidate push information are used for obtaining target push information.
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 push method according to any one of claims 1-6 or 7.
16. A computer-readable storage medium, in which instructions, when executed by a processor of an electronic device, enable the electronic device to perform the information push method of any one of claims 1-6 or 7.
17. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the information push method according to any one of claims 1-6 or 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211182649.0A CN115550859A (en) | 2022-09-27 | 2022-09-27 | Information pushing method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211182649.0A CN115550859A (en) | 2022-09-27 | 2022-09-27 | Information pushing method and device and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115550859A true CN115550859A (en) | 2022-12-30 |
Family
ID=84730180
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211182649.0A Pending CN115550859A (en) | 2022-09-27 | 2022-09-27 | Information pushing method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115550859A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102073705A (en) * | 2010-12-30 | 2011-05-25 | 东信和平智能卡股份有限公司 | Intelligent short message resolving system of color card client |
CN105657677A (en) * | 2014-11-14 | 2016-06-08 | 中移物联网有限公司 | Short message sending method, short message gateway and service platform |
CN108491540A (en) * | 2018-03-30 | 2018-09-04 | 北京百度网讯科技有限公司 | Text message method for pushing, device and intelligent terminal |
CN112612979A (en) * | 2020-12-17 | 2021-04-06 | 倪小红 | Page service processing method based on cloud computing and artificial intelligence and block chain center |
CN112822286A (en) * | 2021-01-27 | 2021-05-18 | 湖南快乐阳光互动娱乐传媒有限公司 | Message pushing method and device |
CN113709681A (en) * | 2020-05-20 | 2021-11-26 | 阿里巴巴集团控股有限公司 | Method and device for displaying and pushing short message content |
US20220207637A1 (en) * | 2020-12-30 | 2022-06-30 | Shenzhen Sekorm Component Network Co.,Ltd | Business system automatic alarm device and method, and computer apparatus |
-
2022
- 2022-09-27 CN CN202211182649.0A patent/CN115550859A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102073705A (en) * | 2010-12-30 | 2011-05-25 | 东信和平智能卡股份有限公司 | Intelligent short message resolving system of color card client |
CN105657677A (en) * | 2014-11-14 | 2016-06-08 | 中移物联网有限公司 | Short message sending method, short message gateway and service platform |
CN108491540A (en) * | 2018-03-30 | 2018-09-04 | 北京百度网讯科技有限公司 | Text message method for pushing, device and intelligent terminal |
CN113709681A (en) * | 2020-05-20 | 2021-11-26 | 阿里巴巴集团控股有限公司 | Method and device for displaying and pushing short message content |
CN112612979A (en) * | 2020-12-17 | 2021-04-06 | 倪小红 | Page service processing method based on cloud computing and artificial intelligence and block chain center |
US20220207637A1 (en) * | 2020-12-30 | 2022-06-30 | Shenzhen Sekorm Component Network Co.,Ltd | Business system automatic alarm device and method, and computer apparatus |
CN112822286A (en) * | 2021-01-27 | 2021-05-18 | 湖南快乐阳光互动娱乐传媒有限公司 | Message pushing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107784051B (en) | Online customer service response system and method | |
WO2019062081A1 (en) | Salesman profile formation method, electronic device and computer readable storage medium | |
CN111353488B (en) | Method, device and equipment for identifying risks in code image | |
CN113627395A (en) | Text recognition method, text recognition device, text recognition medium and electronic equipment | |
CN109766315B (en) | File display method and terminal, computer storage medium and computer equipment | |
CN113139816A (en) | Information processing method, device, electronic equipment and storage medium | |
CN112235632A (en) | Video processing method and device and server | |
CN115221037A (en) | Interactive page testing method and device, computer equipment and program product | |
CN113449829A (en) | Data transmission method based on optical character recognition technology and related device | |
CN101520880A (en) | Electronic signing tool and information displaying method and information displaying system thereof | |
CN115550859A (en) | Information pushing method and device and electronic equipment | |
CN114741144B (en) | Web-side complex form display method, device and system | |
CN115982675A (en) | Document processing method, device, electronic equipment and storage medium | |
CN115909449A (en) | File processing method, file processing device, electronic equipment, storage medium and program product | |
JP7029557B1 (en) | Judgment device, judgment method and judgment program | |
CN110221756B (en) | Method, device, terminal and storage medium for processing application data | |
CN113343663A (en) | Bill structuring method and device | |
CN112417828A (en) | Method for adding watermark label for domestic operating system | |
CN111414554A (en) | Commodity recommendation method, system, server and storage medium | |
CN112580762A (en) | Dynamic two-dimensional code and identification method and identification device thereof | |
CN111339125B (en) | Data query method and device | |
CN112801030B (en) | Target text region positioning method and device | |
CN114218908A (en) | Information pushing method and device and electronic equipment | |
CN111967957A (en) | Business handling method, device, equipment and system | |
CN113033150A (en) | Method and device for coding program text and storage medium |
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 |