Information push method, device and electronic device

By extracting text features and mapping templates in SMS messages, targeted push information is generated, which solves the problem of SMS message spoofing risk and improves the security and reliability of information push.

CN115550859BActive Publication Date: 2024-11-15CHINA CONSTRUCTION BANK +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202211182649.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-27
Publication Date
2024-11-15
Estimated Expiration
2042-09-27

AI Technical Summary

Technical Problem

In existing technologies, mobile phone text messages are at risk of being spoofed, and the information push process is insecure.

Method used

By receiving candidate push information sent by the SMS server, text features are extracted to obtain target feature text, and target push templates are obtained according to the mapping relationship. Filling area recognition and content filling are performed to generate target push information.

Benefits of technology

It reduces the risks in the information push process, improves the reliability and security of information push, and avoids the need to add links to candidate push information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115550859B_ABST
    Figure CN115550859B_ABST
Patent Text Reader

Abstract

The present disclosure relates to an information push method, device and electronic device, and belongs to the field of artificial intelligence recognition and classification technology. The information push method includes: receiving candidate push information sent by a short message server; extracting text features of the candidate push information to obtain the target feature text of the candidate push information; after obtaining the target feature text, obtaining the target push template corresponding to the target feature text; identifying the fill area of ​​the target push template, and extracting the fill content required for each fill area from the candidate push information; filling the fill content into the target push template according to the fill area to obtain the target push information. As a result, there is no need to add a link in the candidate push information to obtain the push template, but to obtain the corresponding push template through the target feature text, which reduces the risk in the information push process and improves the reliability and security of the information push process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

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

[0002] With the popularity of smart phones and the rapid development of various application (Application, APP) messages, mobile phone text messages are commonly used for verification code notifications, key business notifications and customer marketing, etc. Mobile phone text messages are an important means of reaching customers. Ordinary mobile phone text messages only have text formats and cannot further interact with customers and guide customers conveniently. In the prior art, it is mainly achieved by adding text links in the text of text messages, and rendering the text messages into templates corresponding to the short links. However, in the prior art, the short links contained in text messages are easy to be counterfeited and unsafe. Summary of the invention

[0003] The present disclosure provides an information push method, device, electronic device, computer-readable storage medium and computer program product to at least solve the risk of information to be pushed being easily forged and unsafe during the information push process in the related art. The technical solution of the present disclosure is as follows:

[0004] According to a first aspect of an embodiment of the present disclosure, there is provided an information push method, which is executed by a terminal device and 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 obtaining the target feature text, obtaining a target push template corresponding to the target feature text; performing fill-in area identification on the target push template and extracting fill-in content required for each fill-in area from the candidate push information; and filling the fill-in content into the target push template according to the fill-in area to obtain the target push information.

[0005] In one embodiment of the present disclosure, before receiving the candidate push information sent by the short message server, it includes: receiving template configuration information sent by the short message server, wherein the template configuration information includes at least one candidate push template and candidate feature text corresponding to the candidate push template.

[0006] In one embodiment of the present disclosure, before receiving the candidate push information sent by the short message server, it includes: receiving template configuration information sent by the short message server, wherein the template configuration information includes at least one candidate push template and candidate feature text corresponding to the candidate push template.

[0007] In one embodiment of the present disclosure, obtaining the target push template corresponding to the target feature text includes: obtaining a mapping relationship between candidate feature texts and the candidate push templates; querying the mapping relationship, and obtaining the target push template corresponding to the target feature text from the candidate push templates.

[0008] In one embodiment of the present disclosure, the filling area identification of the target push template and the extraction of the filling content required for each filling area from the candidate push information include: obtaining identification information of the filling content of different areas in the target push template; and obtaining the filling content of each area from the candidate push information based on the identification information.

[0009] In one embodiment of the present disclosure, the filling content is filled into the target push template according to the filling area to obtain the target push information, including: obtaining the display style of each of the areas; for each of the areas, style rendering the filling content of the area according to the display style of the area to obtain the target push information.

[0010] According to the second aspect of an embodiment of the present disclosure, there is provided an information push method, which is executed by a short message server, and includes: sending template configuration information to a terminal device, wherein the template configuration information includes at least one candidate push template and candidate feature text corresponding to the candidate push template; sending candidate push information to the terminal device, wherein the target feature text in the candidate push information is used to obtain the corresponding target push template, and the target push template and the candidate push information are used to obtain the target push information.

[0011] According to a third aspect of an embodiment of the present disclosure, there is provided an information push device, comprising: a receiving module, configured to receive candidate push information sent by a short message server; a first acquisition module, configured to perform text feature extraction on the candidate push information to obtain a target feature text of the candidate push information; a second acquisition module, configured to obtain a target push template corresponding to the target feature text after obtaining the target feature text; an extraction module, configured to perform fill-in area identification on the target push template, and extract fill-in content required for each fill-in area from the candidate push information; and a third acquisition module, configured to fill the fill-in content into the target push template according to the fill-in area to obtain the target push information.

[0012] In one embodiment of the present disclosure, before receiving the candidate push information sent by the short message server, the receiving module is also configured to: receive template configuration information sent by the short message server, wherein the template configuration information includes at least one candidate push template and candidate feature text corresponding to the candidate push template.

[0013] In one embodiment of the present disclosure, the device is further configured to: in response to not obtaining the target feature text, directly determine the candidate push information as the target push information; or, render the candidate push information according to a default push template to obtain the target push information.

[0014] In one embodiment of the present disclosure, the second acquisition module is further configured to: obtain a mapping relationship between the candidate feature text and the candidate push template; query the mapping relationship, and obtain a target push template corresponding to the target feature text from the candidate push template.

[0015] In one embodiment of the present disclosure, the extraction module is further configured to: obtain identification information of filling content of different regions in the target push template; and obtain filling content of each region from the candidate push information according to the identification information.

[0016] In one embodiment of the present disclosure, the third acquisition module is further configured to: acquire a display style of each of the regions; and for each of the regions, perform style rendering on the filling content of the region according to the display style of the region to acquire the target push information.

[0017] According to the fourth aspect of an embodiment of the present disclosure, an information push device is provided, comprising: a first sending module, configured to send template configuration information to a terminal device, wherein the template configuration information includes at least one candidate push template and candidate feature text corresponding to the candidate push template; a second sending module, configured to send candidate push information to the terminal device, the target feature text in the candidate push information is used to obtain the corresponding target push template, and the target push template and the candidate push information are used to obtain the target push information.

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

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

[0020] According to a seventh aspect of an embodiment of the present disclosure, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the information push method described in the first aspect or the second aspect is implemented.

[0021] The technical solution provided by the embodiment of the present disclosure brings at least the following beneficial effects: receiving candidate push information sent by a short message server, extracting text features of the candidate push information to obtain the target feature text of the candidate push information, obtaining the target push template corresponding to the target feature text after obtaining the target feature text, identifying the filling area of ​​the target push template, extracting the filling content required for each filling area from the candidate push information, and filling the filling content into the target push template according to the filling area to obtain the target push information. Thus, the target push template can be obtained based on the target feature text of the candidate push information, so as to automatically generate the information to be pushed according to the candidate push information and the target push template. Compared with the related art that needs to add a link in the candidate push letter to obtain the corresponding template by parsing the link, the technical problem of the high risk of the link being counterfeited in the process of information push is solved. This solution does not need to add a link in the candidate push information to obtain the push template, but obtains the corresponding push template through the target feature text, which reduces the risk in the process of information push and improves the reliability and security of information push.

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

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

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

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

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

[0027] Figure 4 It is a flowchart of the information push method according to the fourth embodiment of the present disclosure.

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

[0029] Figure 6 is a block diagram of an information push device according to a second embodiment of the present disclosure.

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

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

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

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

[0034] like Figure 1 As shown, the information push method of the first embodiment of the present disclosure is executed by a terminal device and includes the following steps:

[0035] In step S101, candidate push information sent by a short message server is received.

[0036] It should be noted that the candidate push information may be a text message, where a text message (Short Message Service, SMS) is a text or digital message directly sent or received by a user through a mobile phone or other communication terminal, and the number of characters that a user can receive and send each time is 160 English or digital characters, or 70 Chinese characters.

[0037] It should be noted that the present disclosure does not limit the type of terminal device. For example, the terminal device includes but is not limited to a mobile phone, a tablet computer, etc.

[0038] For example, when the terminal device is a mobile phone device, the candidate push information sent by the short message server can be received through the communication operator.

[0039] It should be noted that the candidate push information can have multiple application scenarios. For example, for banking business scenarios, the candidate push information includes but is not limited to candidate push information for banking business, candidate push information for bank promotion, etc.; for shopping business scenarios, the candidate push information includes but is not limited to candidate push information for event notifications, etc.

[0040] In the embodiment of the present disclosure, before receiving the candidate push information sent by the short message server, template configuration information sent by the short message server may be received, wherein the template configuration information includes at least one candidate push template and candidate feature text corresponding to the candidate push template.

[0041] In step S102, text feature extraction is performed on the candidate push information to obtain target feature text of the candidate push information.

[0042] It should be noted that the present disclosure does not limit the setting of the target feature text.

[0043] Optionally, the target feature of the candidate push information may be set to a special character; optionally, the target feature of the candidate push information may be set to a combination of a special character and a number, and the like.

[0044] It should be noted that the present disclosure does not limit the method for extracting text features from candidate push information, and the method can be selected according to actual conditions.

[0045] Optionally, text features of the candidate push information may be extracted based on optical character recognition (OCR) technology.

[0046] It should be noted that the target feature texts of different candidate push information may be the same or different, which is not limited here.

[0047] In step S103, after the target feature text is obtained, a target push template corresponding to the target feature text is obtained.

[0048] In the embodiment of the present disclosure, after the target feature text is obtained, the information push template corresponding to the target feature text can be obtained according to the target feature text. It is understandable that different target feature texts can correspond to different target information push templates.

[0049] It should be noted that the present disclosure does not limit the setting of the target push template, and it can be set according to actual conditions.

[0050] For example, the information push template may include but is not limited to the layout of the candidate push information, the combination type of the candidate push information and at least one of pictures, audio, video, etc., the link jump page of the candidate push information, the candidate feature text, etc.

[0051] It should be noted that the present disclosure does not limit the specific method for obtaining the target push template corresponding to the target feature text, and it can be selected according to actual conditions.

[0052] Optionally, a mapping relationship between candidate feature texts and candidate push templates may be pre-established, and after the target feature text is acquired, the target push template corresponding to the target feature text may be acquired by querying the mapping relationship.

[0053] In step 104, the filling area of ​​the target push template is identified, and the filling content required for each filling area is extracted from the candidate push information.

[0054] Optionally, identification information of filling contents in different regions in the target push template may be obtained, and filling contents required for each filling region may be extracted from the candidate push information according to the identification information.

[0055] In step 105, according to the filling area, the filling content is filled into the target push template to obtain the target push information.

[0056] In the disclosed embodiment, after the required filling content of the template is obtained, the display style of each area can be obtained, and the filling content of the area can be rendered in style according to the display style of the area to obtain the target push information.

[0057] Further, in response to not obtaining the target characteristic text, the candidate push information may be directly determined as the target push information, or the candidate push information may be rendered according to a default push template to obtain the target push information.

[0058] According to the information push method provided by the embodiment of the present disclosure, the candidate push information sent by the short message server is received, and the text feature extraction of the candidate push information is performed to obtain the target feature text of the candidate push information. After the target feature text is obtained, the target push template corresponding to the target feature text is obtained, the filling area of ​​the target push template is identified, and the filling content required for each filling area is extracted from the candidate push information. According to the filling area, the filling content is filled into the target push template to obtain the target push information. Thus, the target push template can be obtained based on the target feature text of the candidate push information, so as to automatically generate the information to be pushed according to the candidate push information and the target push template. Compared with the related art, it is necessary to add a link in the candidate push letter to obtain the corresponding template by parsing the link, which leads to the technical problem of the link being counterfeited and the high risk in the information push process. In this solution, there is no need to add a link in the candidate push information to obtain the push template, but to obtain the corresponding push template through the target feature text, which reduces the risk in the information push process and improves the reliability and security of the information push.

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

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

[0061] In step S201, candidate push information sent by a short message server is received.

[0062] In the disclosed embodiment, before receiving the candidate push information sent by the short message server, it includes: receiving template configuration information sent by the short message server, wherein the template configuration information includes at least one candidate push template and candidate feature text corresponding to the candidate push template.

[0063] In step S202, text feature extraction is performed on the candidate push information to obtain target feature text of the candidate push information.

[0064] If the target feature text of the candidate push information is obtained, steps S203 to S206 are executed; if the target feature text of the candidate push information is not obtained, step S207 is executed.

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

[0066] In step S203, a mapping relationship between candidate feature texts and candidate push templates is obtained.

[0067] It should be noted that in the related art, a method is often to add a text message link to the text of the text message, and to parse the link to render the text message into a template corresponding to the link. Since a link is added to the text of the text message, the security of the information push process is reduced. The present invention can pre-set a push template library and pre-establish a mapping relationship between candidate feature texts and candidate push templates.

[0068] In the embodiment of the present disclosure, a mapping relationship between the candidate feature text and the candidate push template may be established in advance to obtain the mapping relationship between the candidate feature text and the candidate push template.

[0069] Optionally, a mapping table between candidate feature texts and candidate push templates may be pre-established to obtain a mapping relationship between the candidate feature texts and the candidate push templates.

[0070] 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.

[0071] In the embodiment of the present disclosure, after the mapping relationship is obtained, the target push template corresponding to the target feature text can be obtained from the candidate push templates by querying the mapping relationship.

[0072] In step S205, the filling area of ​​the target push template is identified, and the filling content required for each filling area is extracted from the candidate push information.

[0073] In step S206, according to the filling area, the filling content is filled into the target push template to obtain the target push information.

[0074] In the disclosed embodiment, based on the target information push template, the target push template can be identified for filling areas, and the filling content required for each filling area can be extracted from the candidate push information, so that the filling content can be filled into the target push template according to the filling area to obtain the target push information.

[0075] It should be noted that different information push templates may require different filling content. It should be noted that there are no excessive restrictions on the required filling content. 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, etc.

[0076] In step S207, the candidate push information is 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.

[0077] In an embodiment of the present disclosure, if the target feature text is not obtained, the candidate push information is directly determined as the target push information, that is, there is no need to render the candidate push information according to the push template; or a default push template can be obtained, that is, when the target feature text is not obtained, a default push template is uniformly configured for the candidate push information, and then the candidate push information is rendered according to the default push template to obtain the target push information.

[0078] In summary, according to the information push method provided by the embodiment of the present disclosure, the mapping relationship between the candidate feature text and the candidate push template can be obtained. By querying the mapping relationship, the target push template corresponding to the target feature text can be obtained from the candidate push template, so as to generate the target push information according to the candidate push information and the target push template. This scheme does not need to add a link in the candidate push information to obtain the push template, but instead obtains the corresponding push template through the target feature text, thereby reducing the risk in the information push process and improving the reliability and security of the information push process.

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

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

[0081] In step S301, candidate push information sent by a short message server is received.

[0082] In the disclosed embodiment, before receiving the candidate push information sent by the short message server, it includes: receiving template configuration information sent by the short message server, wherein the template configuration information includes at least one candidate push template and candidate feature text corresponding to the candidate push template.

[0083] In step S302, text feature extraction is performed on the candidate push information to obtain target feature text of the candidate push information.

[0084] In step S303, after the target feature text is obtained, a target push template corresponding to the target feature text is obtained.

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

[0086] In step S304, identification information of filling contents in different areas of the target push template is obtained.

[0087] It should be noted that the identification information can be used to indicate the filling content of different areas in the target push template.

[0088] In step S305, the filling content required for each filling area is extracted from the candidate push information according to the identification information.

[0089] In the embodiment of the present disclosure, after the identification information is obtained, the filling content of each area can be obtained from the candidate push information, for example, background image, background music, video, picture, etc.

[0090] In step S306, the display style of each area is obtained.

[0091] In step S307, for each region, the filling content of the region is rendered in a style according to the display style of the region to obtain target push information.

[0092] Furthermore, after the filling content is obtained, the filling content of the area may be rendered in a style according to the display style of the area to obtain the target push information.

[0093] In summary, according to the information push method provided by the embodiment of the present disclosure, the candidate push information can be displayed and rendered according to the target push template to obtain the target push information, avoiding the candidate push information being only in text style, making it more convenient to interact with users, and at the same time, reducing the risks in the information push process and improving the reliability and security of the information push process.

[0094] Figure 4It is a flowchart of the information push method according to the fourth embodiment of the present disclosure.

[0095] like Figure 4 As shown, the information push method of the fourth embodiment of the present disclosure is executed by the short message server and includes the following steps:

[0096] In step S401, template configuration information is sent to a terminal device, wherein the template configuration information includes at least one candidate push template and candidate feature text corresponding to the candidate push template.

[0097] It should be noted that the template configuration information may include but is not limited to the information layout, feature text, font size, font color, display position, display size, background color, display background image, background music, etc. of the candidate push information.

[0098] It should be noted that the present disclosure does not limit the setting of candidate feature texts.

[0099] Optionally, the candidate feature text may be set to be a special character; optionally, the candidate feature text may be a special symbol, etc.

[0100] In step S402, candidate push information is sent to the terminal device, the target feature text in the candidate push information is used to obtain the corresponding target push template, and the target push template and the candidate push information are used to obtain the target push information.

[0101] It should be noted that when the candidate push information includes the target feature text, the corresponding target push template can be obtained according to the target feature text, and further, the target push information can be obtained according to the target push template and the candidate push information. That is, the candidate push information is displayed and rendered according to the target push template to obtain the target push information.

[0102] It should be noted that the present disclosure does not limit the specific method of sending the candidate push information to the terminal device, and it can be selected according to the actual situation.

[0103] Optionally, a sending time for sending the candidate push information to the terminal device may be set, and the candidate push information is sent to the terminal device according to the sending time.

[0104] In summary, according to the information push method provided by the embodiment of the present disclosure, template configuration information is sent to the terminal device, wherein the template configuration information includes at least one candidate push template and candidate feature text corresponding to the candidate push template, and the candidate push information is sent to the terminal device. The target feature text in the candidate push information is used to obtain the corresponding target push template. The target push template and the candidate push information are used to obtain the target push information. The candidate push information can be displayed and rendered according to the target push template to obtain the target push information, thereby avoiding the candidate push information being only in text style, making it more convenient to interact with users, and at the same time, reducing the risk in the information push process and improving the reliability and security of the information push process.

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

[0106] like Figure 5 As shown, the information push device 500 of the embodiment of the present disclosure includes: a receiving module 501, a first obtaining module 502, a second obtaining module 503, an extraction module 504 and a third obtaining module 505.

[0107] The receiving module 501 is configured to receive the candidate push information sent by the short message server;

[0108] A first acquisition module 502 is configured to perform text feature extraction on the candidate push information to obtain a target feature text of the candidate push information;

[0109] The second acquisition module 503 is configured to acquire a target push template corresponding to the target feature text after acquiring the target feature text;

[0110] An extraction module 504 is configured to identify a filling area for the target push template and extract filling content required for each filling area from the candidate push information;

[0111] The third acquisition module 505 is configured to fill the filling content into the target push template according to the filling area to obtain target push information.

[0112] In one embodiment of the present disclosure, before receiving the candidate push information sent by the short message server, the receiving module 501 is also configured to: receive template configuration information sent by the short message server, wherein the template configuration information includes at least one candidate push template and candidate feature text corresponding to the candidate push template.

[0113] In one embodiment of the present disclosure, the device 500 is further configured to: in response to not obtaining the target feature text, directly determine the candidate push information as the target push information; or, render the candidate push information according to a default push template to obtain the target push information.

[0114] In one embodiment of the present disclosure, the second acquisition module 503 is further configured to: obtain a mapping relationship between the candidate feature text and the candidate push template; query the mapping relationship, and obtain a target push template corresponding to the target feature text from the candidate push template.

[0115] In one embodiment of the present disclosure, the extraction module 504 is further configured to: obtain identification information of filling contents of different regions in the target push template; and extract the filling contents required for each filling region from the candidate push information according to the identification information.

[0116] In one embodiment of the present disclosure, the third acquisition module 505 is further configured to: acquire the display style of each of the regions; and for each of the regions, perform style rendering on the filling content of the region according to the display style of the region to acquire the target push information.

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

[0118] In summary, the information push device provided by the embodiment of the present disclosure receives the candidate push information sent by the short message server, extracts the text features of the candidate push information to obtain the target feature text of the candidate push information, obtains the target push template corresponding to the target feature text after obtaining the target feature text, identifies the filling area of ​​the target push template, extracts the filling content required for 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. Thus, the target push template can be obtained based on the target feature text of the candidate push information, so as to automatically generate the information to be pushed according to the candidate push information and the target push template. Compared with the related art, it is necessary to add a link in the candidate push letter to obtain the corresponding template by parsing the link, which leads to the technical problem of the link being counterfeited in the process of information push, which is a high risk. In this solution, there is no need to add a link in the candidate push information to obtain the push template, but to obtain the corresponding push template through the target feature text, which reduces the risk in the process of information push and improves the reliability and security of information push.

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

[0120] like Figure 6 As shown, the information push device 600 of the embodiment of the present disclosure includes: a first sending module 601 and a second sending module 602.

[0121] The first sending module 601 is configured to send template configuration information to a terminal device, wherein the template configuration information includes at least one candidate push template and a candidate feature text corresponding to the candidate push template;

[0122] The second sending module 602 is configured to send candidate push information to the terminal device, the target feature text in the candidate push information is used to obtain the corresponding target push template, and the target push template and the candidate push information are used to obtain the target push information.

[0123] In summary, according to the information push device provided by the embodiment of the present disclosure, template configuration information is sent to the terminal device, wherein the template configuration information includes at least one candidate push template and candidate feature text corresponding to the candidate push template, and the candidate push information is sent to the terminal device. The target feature text in the candidate push information is used to obtain the corresponding target push template. The target push template and the candidate push information are used to obtain the target push information. The candidate push information can be displayed and rendered according to the target push template to obtain the target push information, which avoids the candidate push information being only in text style, making it more convenient to interact with the user. At the same time, the risk in the information push process is reduced, and the reliability and security of the information push process are improved.

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

[0125] like Figure 7 As shown, the electronic device 700 includes:

[0126] The memory 710 and the processor 720, a bus 730 connecting different components (including the memory 710 and the processor 720), the memory 710 stores a computer program, and when the processor 720 executes the program, the information push method described in the first aspect or the second aspect of the present disclosure is implemented.

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

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

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

[0130] A program / utility 780 having a set (at least one) of program modules 770 may be stored, for example, in the 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 may include an implementation of a network environment. The program modules 770 generally perform the functions and / or methods of the embodiments described in the present disclosure.

[0131] The electronic device 700 may also communicate with one or more external devices 790 (e.g., keyboard, pointing device, display 791, etc.), one or more devices that enable a user to interact with the electronic device 700, and / or any device that enables the electronic device 700 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed through an input / output (I / O) interface 792. Furthermore, the electronic device 700 may also 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) through a network adapter 793. Figure 7As shown, the network adapter 793 communicates with other modules of the electronic device 700 via the bus 730. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device 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.

[0132] The processor 720 executes various functional applications and data processing by running the programs stored in the memory 710 .

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

[0134] In summary, the electronic device provided by the embodiment of the present disclosure can execute the information push method as described above, receive the candidate push information sent by the short message server, extract the text features of the candidate push information to obtain the target feature text of the candidate push information, obtain the target push template corresponding to the target feature text after obtaining the target feature text, identify the filling area of ​​the target push template, extract the filling content required for 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. Thus, the target push template can be obtained based on the target feature text of the candidate push information, so as to automatically generate the information to be pushed according to the candidate push information and the target push template. Compared with the technical problem that the link needs to be added to the candidate push letter in the related art to obtain the corresponding template by parsing the link, which leads to the link being counterfeited in the process of information push, which is a high risk, this solution does not need to add a link in the candidate push information to obtain the push template, but obtains the corresponding push template through the target feature text, which reduces the risk in the process of information push and improves the reliability and security of information push.

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

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

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

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

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

Claims

1. A method for pushing information, It is characterized in that Executed by the terminal device, including: Receiving template configuration information sent by a short message server and candidate push information sent by the short message server, wherein the template configuration information includes a candidate push template and a candidate feature text corresponding to the candidate push template, and pre-establishing a mapping relationship between the candidate feature text and the candidate push template; Performing text feature extraction on the candidate push information to obtain target feature text of the candidate push information; After obtaining the target feature text, obtaining the target push template corresponding to the target feature text by querying the mapping relationship; Identify the filling area of ​​the target push template, and extract the filling content required for each filling area from the candidate push information; According to the filling area, the filling content is filled into the target push template to obtain the target push information.

2. The method according to claim 1, It is characterized in that The method further comprises: In response to not acquiring the target feature text, directly determining the candidate push information as the target push information; or, The candidate push information is rendered according to a default push template to obtain the target push information.

3. The method according to claim 1 or 2, It is characterized in that The step of identifying the filling area of ​​the target push template and extracting the filling content required for each filling area from the candidate push information includes: Obtaining identification information of filling contents of different areas in the target push template; According to the identification information, the filling content required for each filling area is extracted from the candidate push information.

4. The method according to claim 3, It is characterized in that The step of filling the target push template with the filling content according to the filling area to obtain the target push information includes: Get the display style of each of the regions; For each of the regions, style rendering is performed on the filling content of the region according to the display style of the region to obtain the target push information.

5. A method for pushing information, It is characterized in that Executed by the short message server, including: Sending template configuration information to the terminal device, wherein the template configuration information includes at least one candidate push template and candidate feature text corresponding to the candidate push template; Sending candidate push information to the terminal device, the 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; So that the terminal device executes the information push method as described in any one of claims 1-4.

6. An information push device, It is characterized in that Executed by the terminal device, including: A receiving module is configured to receive template configuration information sent by a short message server and candidate push information sent by the short message server, wherein the template configuration information includes a candidate push template and a candidate feature text corresponding to the candidate push template, and pre-establish a mapping relationship between the candidate feature text and the candidate push template; A first acquisition module is configured to perform text feature extraction on the candidate push information to obtain a target feature text of the candidate push information; A second acquisition module is configured to acquire a target push template corresponding to the target feature text by querying the mapping relationship after acquiring the target feature text; An extraction module is configured to identify a filling area for the target push template and extract filling content required for each filling area from the candidate push information; 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.

7. The device according to claim 6, It is characterized in that The device is further configured to: In response to not acquiring the target feature text, directly determining the candidate push information as the target push information; or, The candidate push information is rendered according to a default push template to obtain the target push information.

8. The device according to claim 6 or 7, It is characterized in that The extraction module is further configured to: Obtaining identification information of filling contents of different areas in the target push template; According to the identification information, the filling content of each area is obtained from the candidate push information.

9. The device according to claim 8, It is characterized in that The third acquisition module is further configured to: Get the display style of each of the regions; For each of the regions, style rendering is performed on the filling content of the region according to the display style of the region to obtain the target push information.

10. An information push device, It is characterized in that Executed by the short message server, including: A first sending module is configured to send template configuration information to a terminal device, wherein the template configuration information includes at least one candidate push template and a candidate feature text corresponding to the candidate push template; A second sending module is configured to send candidate push information to the terminal device, the target feature text in the candidate push information is used to obtain the corresponding target push template, and the target push template and the candidate push information are used to obtain the target push information; So that the terminal device executes the information push method as described in any one of claims 1-4.

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

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

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