Information pushing method and device, computer device, storage medium and program product
By performing word segmentation and template matching on activity information, and combining it with holiday and user information, personalized information push is generated, which solves the problems of monotony and inefficiency in existing technologies, realizes smarter and more accurate information push, and improves user experience and system performance.
Patent Information
- Application Number
- CN202411189590.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2025-10-10
- Estimated Expiration
- 2044-08-28
AI Technical Summary
The existing information push methods are single and have problems such as word segmentation ambiguity, context understanding deviation, difficulty in processing new vocabulary, untimely data updates, limited templates, compatibility issues and performance bottlenecks, resulting in insufficient personalization and inefficiency of information push.
By performing word segmentation on the activity information, determining the push template based on the segmentation results, combining holiday information and user type, generating personalized target activity information, and asynchronously pushing it through the SMS interface.
It achieves personalized and efficient information push, improves user experience and participation, enhances information accuracy and coverage, and optimizes system performance.
Smart Images

Figure CN119003880B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an information push method, apparatus, computer equipment, storage medium, and program product. Background Art
[0002] With the development of mobile communication technology, information push is widely used in various communication scenarios. By pushing various information to users, users can timely understand, grasp and utilize relevant information, improve the service quality and product sales of the information pusher, and enhance the user experience.
[0003] Traditional technology is to push information to users through SMS marketing activities. However, the current information push method is relatively simple. Summary of the Invention
[0004] Based on this, it is necessary to provide an information push method, device, computer equipment, storage medium and program product that can improve the personalization of information push in response to the above technical problems.
[0005] In a first aspect, the present application provides an information push method, comprising:
[0006] Obtaining activity information; the activity information includes the activity name and activity content;
[0007] Performing word segmentation processing on the activity information to obtain a word segmentation result;
[0008] Determining a push template corresponding to the activity information according to the word segmentation result;
[0009] Target activity information is generated according to the activity content and the push template, and the target activity information is pushed.
[0010] In one embodiment, performing word segmentation processing on the activity information to obtain a word segmentation result includes:
[0011] Extracting the activity name from the activity information;
[0012] The activity name is segmented according to a preset segmentation rule to obtain the segmentation result.
[0013] In one embodiment, determining the push template corresponding to the activity information according to the word segmentation result includes:
[0014] Determine the corresponding target festival information according to the word segmentation result;
[0015] The push template is selected from a template library according to the word segmentation result and the target holiday information.
[0016] In one embodiment, determining the corresponding target holiday information according to the word segmentation result includes:
[0017] Determining target festival information corresponding to the word segmentation result according to a preset first correspondence relationship; the first correspondence relationship includes a correspondence relationship between the word segmentation and the festival;
[0018] Alternatively, the current time information is obtained; and according to a preset second corresponding relationship, the target festival information corresponding to the word segmentation result and the current time information is determined; the second corresponding relationship includes a corresponding relationship between word segmentation, festival and time.
[0019] In one embodiment, selecting the push template from a template library based on the word segmentation result and the target holiday information includes:
[0020] Obtaining user information and determining the user type based on the user information;
[0021] Selecting a candidate push template corresponding to the word segmentation result and the target holiday information from a template library;
[0022] A model corresponding to the user type is selected from the candidate push templates as the push template.
[0023] In one embodiment, generating target activity information according to the activity content and the push template, and pushing the target activity information, includes:
[0024] Adding the activity content to the push template to generate the target activity information;
[0025] The target activity information is asynchronously pushed to the user terminal via the SMS interface.
[0026] In a second aspect, the present application further provides an information push device, comprising:
[0027] An acquisition module is used to acquire activity information; the activity information includes the activity name and activity content;
[0028] A word segmentation module, used to perform word segmentation processing on the activity information to obtain a word segmentation result;
[0029] A determination module, configured to determine a push template corresponding to the activity information according to the word segmentation result;
[0030] The push module is used to generate target activity information according to the activity content and the push template, and push the target activity information.
[0031] In a third aspect, the present application further provides a computer device comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0032] Obtaining activity information; the activity information includes the activity name and activity content;
[0033] Performing word segmentation processing on the activity information to obtain a word segmentation result;
[0034] Determining a push template corresponding to the activity information according to the word segmentation result;
[0035] Target activity information is generated according to the activity content and the push template, and the target activity information is pushed.
[0036] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:
[0037] Obtaining activity information; the activity information includes the activity name and activity content;
[0038] Performing word segmentation processing on the activity information to obtain a word segmentation result;
[0039] Determining a push template corresponding to the activity information according to the word segmentation result;
[0040] Target activity information is generated according to the activity content and the push template, and the target activity information is pushed.
[0041] In a fifth aspect, the present application further provides a computer program product, comprising a computer program, which, when executed by a processor, implements the following steps:
[0042] Obtaining activity information; the activity information includes the activity name and activity content;
[0043] Performing word segmentation processing on the activity information to obtain a word segmentation result;
[0044] Determining a push template corresponding to the activity information according to the word segmentation result;
[0045] Target activity information is generated according to the activity content and the push template, and the target activity information is pushed.
[0046] The above-mentioned information push method, device, computer equipment, storage medium and program product obtain activity information; the activity information includes the activity name and activity content; the activity information is segmented to obtain the segmentation result; the push template corresponding to the activity information is determined based on the segmentation result; the target activity information is generated based on the activity content and the push template, and the target activity information is pushed. Since different activity information in the embodiment of the present application corresponds to different push templates, the push templates in the embodiment of the present application are diversified. The present application can determine the personalized push template corresponding to the activity information based on the segmentation results corresponding to different activity information for different activities. Thus, the target activity information can be generated based on the activity content and the personalized push template, so that the target activity information can be pushed in a personalized manner. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following briefly introduces the drawings required for use in the embodiments of the present application or related technical descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying any creative work.
[0048] Figure 1 This is a diagram of an application environment of an information push method in one embodiment;
[0049] Figure 2 Schematic diagram of a flow chart of an information push method in one embodiment;
[0050] Figure 3 Schematic diagram of a flow chart of a word segmentation step in one embodiment;
[0051] Figure 4 A flowchart of selected steps in one embodiment;
[0052] Figure 5 Schematic diagram of a flow chart of an information push method according to another embodiment;
[0053] Figure 6 2 is a structural block diagram of an information push device in an embodiment. DETAILED DESCRIPTION
[0054] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0055] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the art to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above-mentioned figure descriptions are intended to cover non-exclusive inclusions.
[0056] In the description of the embodiments of this application, the technical terms "first" and "second" are used only to distinguish different objects and should not be understood to indicate or imply relative importance or implicitly specify the quantity, specific order, or primary and secondary relationship of the indicated technical features. In the description of the embodiments of this application, the meaning of "plurality" is more than two, unless otherwise clearly and specifically defined.
[0057] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present application. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute an independent or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0058] With the development of mobile communication technology, information push is widely used in various communication scenarios. By pushing various information to users, users can timely understand, grasp and utilize relevant information, improve the service quality and product sales of the information pusher, and enhance the user experience.
[0059] Traditional marketing campaigns involve pushing information to users via text messages. This leverages the convenience and widespread reach of SMS to achieve brand promotion, product sales, and user engagement. Compared to traditional marketing methods, SMS campaigns offer advantages such as low cost, rapid dissemination, wide reach, strong interactivity, and ease of use.
[0060] However, current information push methods are relatively simple. Furthermore, traditional SMS campaigns often suffer from at least one of the following issues: First, word segmentation ambiguity: Inaccurate word segmentation of the event name leads to ambiguity, affecting the accuracy of subsequent matching and SMS recommendations. Second, contextual understanding bias: It is difficult to fully and accurately understand the specific context of the event name, resulting in a certain deviation between SMS recommendations and actual needs. Third, difficulty in processing new vocabulary and buzzwords: Newly emerging vocabulary and buzzwords cannot be identified and processed in a timely and effective manner, affecting the adaptability of the system. Fourth, data updates are delayed: updates to holiday information databases and word segmentation rules lag, resulting in SMS recommendations not keeping up with actual changes. Fifth, SMS template limitations: Limited SMS templates cannot fully cover various complex event push scenarios, resulting in insufficient flexibility and diversity in recommended content. Sixth, compatibility issues: Compatibility issues with different operating systems and devices affect the experience of some users. Seventh, performance bottlenecks: When processing large amounts of data or high-concurrency requests, performance degradation and latency can occur. Eighth, insufficient algorithm optimization: Inadequate word segmentation and matching algorithms lead to low efficiency.
[0061] After introducing the background technology of the information push method provided by the embodiment of the present application, the following briefly describes the implementation environment involved in the information push method provided by the embodiment of the present application. The information push method provided by the embodiment of the present application can be applied to Figure 1The computer device shown in the figure can be a terminal or a server. The computer device includes a processor, memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are connected to the system bus via the input / output interface. The processor of the computer device provides computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operating system and computer program stored in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals via wired or wireless means. The wireless means can be implemented via Wi-Fi, a mobile cellular network, NFC (near field communication), or other technologies. When executed by the processor, the computer program implements an information push method. The display unit of the computer device is used to produce a visually visible image and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse.
[0062] Those skilled in the art will understand that Figure 1 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific terminal may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0063] In one embodiment, Figure 2 As shown, a method for pushing information is provided, which is applied to Figure 1 The computer device in the example is used to illustrate the process, including the following steps:
[0064] S201, obtaining activity information; the activity information includes the activity name and activity content.
[0065] Among them, activity information refers to the relevant information of the welfare activity that needs to be pushed, and the activity information may include but is not limited to the activity name and activity content. In the embodiment of the present application, optionally, the computer device can obtain the activity information in real time; or, the computer device can also obtain the activity information at a fixed time; or, the computer device can also obtain the activity information corresponding to the welfare activity when the welfare activity is initiated. Of course, the embodiment of the present application does not limit the specific implementation method for obtaining the activity information.
[0066] S202: Perform word segmentation processing on the activity information to obtain a word segmentation result.
[0067] In the embodiment of the present application, since the activity information includes the activity name and the activity content, the computer device can optionally perform word segmentation processing on the activity name to obtain a word segmentation result; or the computer device can also perform word segmentation processing on the activity content to obtain a word segmentation result; or the computer device can also perform word segmentation processing on both the activity name and the activity content to obtain a word segmentation result. Of course, the embodiment of the present application does not limit the specific implementation method for obtaining the word segmentation processing. Among them, the word segmentation result refers to at least one word corresponding to the activity information.
[0068] S203: Determine a push template corresponding to the activity information according to the word segmentation result.
[0069] In an embodiment of the present application, optionally, the computer device can directly determine the push template corresponding to the activity information based on the word segmentation result; or, the computer device can first determine the target holiday information based on the word segmentation result, and then determine the push template corresponding to the activity information based on the determined target holiday information and the word segmentation result. Of course, the embodiment of the present application does not limit the specific implementation method for determining the push template. Among them, the push template refers to the template that needs to be used when pushing information. It should be noted that in the embodiment of the present application, different activity information corresponds to different push templates. Therefore, corresponding and personalized push templates can be determined for different activities.
[0070] S204: Generate target activity information according to the activity content and the push template, and push the target activity information.
[0071] Among them, target activity information refers to information pushed to the user terminal. Exemplarily, target activity information may include but is not limited to text messages, public account information, etc. In the embodiment of the present application, the computer device can generate target activity information based on the activity content and the push template, and push the target activity information to the user terminal. Optionally, the computer device can synchronously push multiple target activity information to the user terminal at one time; or, the computer device can also asynchronously push multiple target activity information to the user terminal in batches. Of course, the embodiment of the present application does not limit the specific implementation method of pushing target activity information.
[0072] In the above-mentioned information push method, activity information is obtained; the activity information includes the activity name and activity content; the activity information is segmented to obtain the segmentation result; the push template corresponding to the activity information is determined based on the segmentation result; the target activity information is generated based on the activity content and the push template, and the target activity information is pushed. Since different activity information in the embodiment of the present application corresponds to different push templates, the push templates in the embodiment of the present application are diversified. The present application can determine the personalized push template corresponding to the activity information based on the segmentation results corresponding to different activity information for different activities. Thus, the target activity information can be generated based on the activity content and the personalized push template, so that the target activity information can be pushed in a personalized manner.
[0073] In one embodiment, a method for implementing word segmentation processing is provided, namely, "performing word segmentation processing on the activity information to obtain word segmentation results" in the above S202. Figure 3 Shown, including:
[0074] S301: Extract the activity name from the activity information.
[0075] In an embodiment of the present application, optionally, the computer device can directly extract the activity name from the activity information. Alternatively, the computer device can first extract the initial activity name from the activity information using a preset semantic segmentation algorithm, and then determine whether the initial activity name is accurate through the interactive terminal; if it is determined that the initial activity name is accurate, the computer device can determine the initial activity name as the activity name; if it is determined that the initial activity name is inaccurate, the computer device can adjust the initial activity name to obtain the activity name. Of course, the embodiment of the present application does not limit the specific implementation method for extracting the activity name.
[0076] S302: Segment the activity name according to a preset segmentation rule to obtain a segmentation result.
[0077] In an embodiment of the present application, the computer device may pre-set a preset word segmentation rule. For example, the preset word segmentation rule may be divided according to parts of speech, common phrases, etc. Thus, the computer device may segment the activity name according to the preset word segmentation rule to obtain a word segmentation result. For example, assuming that the activity name is "Zongzi Welfare Distribution", the word segmentation result may be determined to be "Zongzi".
[0078] In this embodiment, the activity name can be extracted from the activity information, and thus, the activity name can be segmented according to the preset segmentation rules to obtain an accurate segmentation result.
[0079] In one embodiment, a method for determining a push template is provided, namely, "determining a push template corresponding to the activity information according to the word segmentation result" in the above S203, such as Figure 4 Shown, including:
[0080] S401: Determine the corresponding target festival information according to the word segmentation result.
[0081] In an embodiment of the present application, the computer device may pre-collect detailed information on various festivals and determine a preset correspondence. Thus, based on the word segmentation results and the preset correspondence, the target festival information corresponding to the word segmentation results may be determined. The preset correspondence may include correspondences between traditional festivals, modern festivals, and festivals in specific regions, and the word segmentations. The preset correspondence may include, but is not limited to, a first correspondence and a second correspondence.
[0082] In one embodiment, S401 includes:
[0083] According to a preset first corresponding relationship, the target festival information corresponding to the word segmentation result is determined; the first corresponding relationship includes a corresponding relationship between the word segmentation and the festival.
[0084] Alternatively, the current time information is obtained; and according to a preset second corresponding relationship, the target festival information corresponding to the word segmentation result and the current time information is determined; the second corresponding relationship includes the corresponding relationship between the word segmentation, the festival and the time.
[0085] The first correspondence includes a correspondence between a word segmentation and a festival. In the embodiment of the present application, for example, assuming that the first correspondence includes a correspondence between word segmentations such as "zongzi," "Qu Yuan," and "the fifth day of the fifth lunar month" and the festival "Dragon Boat Festival," and the word segmentation result is "zongzi," the computer device can determine, based on the preset first correspondence, that the target festival information corresponding to the word segmentation result "zongzi" is "Dragon Boat Festival."
[0086] Alternatively, the computer device may first obtain the current time information, and then determine the target holiday information corresponding to the word segmentation result and the current time information based on a preset second correspondence. The second correspondence includes the correspondence between word segmentations, holidays, and time. For example, assuming that the second correspondence includes the correspondence between word segmentations such as "second quarter" and "April to June" and the holidays "Qingming Festival", "May Day", and "Dragon Boat Festival", the word segmentation result is "second quarter" and the current time information is "end of April", then the computer device may determine that the target holiday information corresponding to the word segmentation result "second quarter" and the current time information "end of April" is "May Day" based on the preset second correspondence.
[0087] Based on the above two methods, the corresponding target festival information can be accurately determined for various word segmentation results.
[0088] S402: Select a push template from the template library based on the word segmentation result and the target holiday information.
[0089] In an embodiment of the present application, a large number of diverse push templates can be pre-created in the template library based on different holidays and word segmentation situations, wherein the push templates may include but are not limited to various types such as blessings, reminders, and promotions. Thus, optionally, the computer device can directly select a push template from the template library based on the word segmentation results and the target holiday information; or, the computer device can also obtain user information and select a push template from the template library based on the user information, word segmentation results, and the target holiday information. Of course, the embodiment of the present application does not limit the specific implementation method for selecting the push template.
[0090] In this embodiment, the target holiday information corresponding to the word segmentation result can be accurately determined based on the word segmentation result, and then a personalized push template can be accurately selected from the template library based on the accurate word segmentation result and the target holiday information.
[0091] In one embodiment, a method for selecting a push template is provided, namely, the step of "selecting a push template from a template library based on the word segmentation result and target holiday information" in S402, including:
[0092] Obtain user information and determine the user type based on the user information.
[0093] Select candidate push templates corresponding to the word segmentation results and target holiday information from the template library.
[0094] A model corresponding to the user type is selected from the candidate push templates as the push template.
[0095] In an embodiment of the present application, a computer device may obtain user information corresponding to a user terminal and determine a user type based on the user information. User information refers to relevant information about the user to whom information is to be pushed. User types may be categorized according to the user's position. For example, user types may include, but are not limited to, leadership types or colleague types. Thus, the computer device may first select, from a template library, multiple candidate push templates corresponding to the word segmentation results and the target holiday information. The computer device may then select a model corresponding to the user type from the multiple candidate push templates as the push template.
[0096] In this embodiment, user information can be obtained and the user type can be determined based on the user information. After that, candidate push templates corresponding to the word segmentation results and the target holiday information can be accurately selected from the template library. Thus, a model corresponding to the user type can be selected from the candidate push templates as the push template. In this way, more diverse push templates can be set based on user information, and more personalized push templates can be selected.
[0097] In one embodiment, a method for implementing the push of target activity information is provided, namely, the step of "generating target activity information according to activity content and a push template, and pushing the target activity information" in S204 above, including:
[0098] Add the activity content to the push template to generate target activity information.
[0099] The target activity information is asynchronously pushed to the user terminal through the SMS interface.
[0100] In an embodiment of the present application, the computer device can add activity content to a personalized push template to generate target activity information. Thus, the computer device can connect to the sending platform through the SMS interface, and then stably push the target activity information to the user terminal in batches asynchronously. In addition, first, the computer device can also set reasonable information sending frequency, time and other strategies to avoid harassing the user terminal; second, when transmitting various data, sensitive data can also be encrypted to ensure data security; third, data backup can be performed regularly to ensure data recoverability; fourth, the operating status of the information push system can be monitored in real time to facilitate timely discovery and resolution of problems.
[0101] In this embodiment, the activity content can be added to the push template to generate target activity information, so that the target activity information can be asynchronously pushed to the user terminal through the SMS interface to prevent a large amount of information from being pushed at one time, causing excessive processing pressure on the sending platform, and thus avoiding affecting the push efficiency.
[0102] In an optional embodiment, if Figure 5 As shown, a method for pushing information is provided, which is applied to a computer device and includes:
[0103] S501, obtaining activity information; the activity information includes the activity name and activity content;
[0104] S502, extracting the activity name from the activity information;
[0105] S503, segmenting the activity name according to a preset segmentation rule to obtain a segmentation result;
[0106] S504, determining the corresponding target festival information according to the word segmentation result;
[0107] Wherein, according to a preset first corresponding relationship, the target festival information corresponding to the word segmentation result is determined; the first corresponding relationship includes the corresponding relationship between the word segmentation and the festival;
[0108] Alternatively, the current time information is obtained; according to a preset second correspondence, the target festival information corresponding to the word segmentation result and the current time information is determined; the second correspondence includes a correspondence between the word segmentation, the festival, and the time;
[0109] S505, obtaining user information and determining the user type based on the user information;
[0110] S506, selecting a candidate push template corresponding to the word segmentation result and the target holiday information from the template library;
[0111] S507, selecting a model corresponding to the user type from the candidate push templates as a push template;
[0112] S508, adding the activity content to the push template to generate target activity information;
[0113] S509: asynchronously push the target activity information to the user terminal via the SMS interface.
[0114] In an embodiment of the present application, a special database can be established to store preset correspondences, word segmentation rules, push templates and other data.
[0115] In the above-mentioned information push method, in order to improve user participation and user satisfaction, a method can be provided that can push different information according to different festivals and in combination with the word segmentation of the activity name to obtain activity information; the activity information includes the activity name and activity content; the activity information is segmented to obtain the word segmentation result; the push template corresponding to the activity information is determined according to the word segmentation result; the target activity information is generated according to the activity content and the push template, and the target activity information is pushed. Since different activity information in the embodiment of the present application corresponds to different push templates, the push templates in the embodiment of the present application are diversified. The present application can determine the personalized push template corresponding to the activity information according to the word segmentation results corresponding to different activity information for different activities. Thus, the target activity information can be generated according to the activity content and the personalized push template, so that the target activity information can be pushed in a personalized manner.
[0116] Based on the above embodiments, it can be seen that the embodiments of the present application can realize the fine segmentation of activity names according to detailed segmentation rules, and cleverly associate them with specific festivals, and can use the combination of intelligent segmentation matching mechanism and preset template library to quickly and accurately screen out the most suitable text messages for different festivals and specific activity scenes, so that highly relevant and personalized information can be pushed to users in different festivals and specific activity scenes. In this way, the previous single and non-targeted information push mode can be changed, and the needs of users in different festivals and different activity scenes can be met in a smarter and more accurate way. On the one hand, it can allow users to feel a more intimate and unique service experience, which can improve the user's personalized experience; on the other hand, personalized Customized text messages can better attract users' attention and participation in welfare activities, improve users' response rate and enthusiasm for participation in activities, increase user participation, and help improve the influence and effectiveness of welfare activities, and achieve better activity goals, such as increasing the number of participants, promoting business growth, etc.; thirdly, it can ensure that the content of text messages is closely related to festivals and activities, making information transmission more accurate and efficient, reducing the interference of invalid or irrelevant information, and optimizing the efficiency of information transmission; fourthly, due to more considerate services and more targeted communication, it can improve user satisfaction with the Southern Power Grid, enhance user stickiness and loyalty; fifthly, it adds new ways and channels for interaction between users and the Southern Power Grid, which is conducive to building closer user relationships.
[0117] It should be understood that, although the steps in the flowcharts of the above embodiments are shown in sequence as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and these steps can be performed in other orders. Moreover, at least a portion of the steps in the flowcharts of the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily performed at the same time, but can be performed at different times. The execution order of these steps or stages is not necessarily to be performed in sequence, but can be performed in turn or alternately with other steps or at least a portion of steps or stages in other steps.
[0118] Based on the same inventive concept, the embodiments of the present application also provide an information push device for implementing the aforementioned information push method. The implementation solution provided by this device is similar to the implementation solution described in the aforementioned method. Therefore, the specific limitations of one or more information push device embodiments provided below can be referred to the limitations of the information push method above and will not be repeated here.
[0119] In an exemplary embodiment, Figure 6As shown, an information push device is provided, including: an acquisition module 31, a word segmentation module 32, a determination module 33 and a push module 34, wherein:
[0120] The acquisition module 31 is used to acquire activity information; the activity information includes the activity name and activity content.
[0121] The word segmentation module 32 is used to perform word segmentation processing on the activity information to obtain word segmentation results.
[0122] The determination module 33 is used to determine the push template corresponding to the activity information according to the word segmentation result.
[0123] The push module 34 is configured to generate target activity information according to the activity content and the push template, and push the target activity information.
[0124] In one embodiment, the word segmentation module 32 includes:
[0125] An extraction unit, configured to extract an activity name from the activity information;
[0126] The word segmentation unit is used to segment the activity name according to preset word segmentation rules to obtain a word segmentation result.
[0127] In one embodiment, the determination module 33 includes:
[0128] A determination unit, used to determine the corresponding target festival information according to the word segmentation result;
[0129] The selection unit is used to select a push template from the template library based on the word segmentation results and target holiday information.
[0130] In one embodiment, the determining unit is specifically configured to:
[0131] Determine the target festival information corresponding to the word segmentation result according to a preset first corresponding relationship; the first corresponding relationship includes the corresponding relationship between the word segmentation and the festival;
[0132] Alternatively, the current time information is obtained; and according to a preset second corresponding relationship, the target festival information corresponding to the word segmentation result and the current time information is determined; the second corresponding relationship includes the corresponding relationship between the word segmentation, the festival and the time.
[0133] In one embodiment, the selection unit includes:
[0134] A user type determination subunit is used to obtain user information and determine the user type based on the user information;
[0135] The first selection subunit is used to select a candidate push template corresponding to the word segmentation result and the target holiday information from the template library;
[0136] The second selection subunit is used to select a model corresponding to the user type from the candidate push templates as the push template.
[0137] In one embodiment, the push module 34 includes:
[0138] A generating unit, used to add activity content to a push template and generate target activity information;
[0139] The push unit is used to asynchronously push the target activity information to the user terminal through the SMS interface.
[0140] Each module in the above-mentioned information push device can be implemented in whole or in part through software, hardware, or a combination thereof. Each module can be embedded in or independent of the processor in the computer device in hardware form, or can be stored in the memory of the computer device in software form, so that the processor can call and execute the corresponding operations of each module.
[0141] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 1 As shown. The computer device includes a processor, memory, an input / output interface, a communication interface, a display unit, and an input device. The processor, memory, and input / output interface are connected via a system bus, and the communication interface, display unit, and input device are connected to the system bus via the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and external devices. The communication interface of the computer device is used to communicate with external terminals via wired or wireless means, and the wireless means can be implemented via Wi-Fi, a mobile cellular network, near-field communication (NFC), or other technologies. When executed by the processor, the computer program implements an information push method. The display unit of the computer device is used to form a visually visible image, and can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device casing, or an external keyboard, touchpad or mouse.
[0142] Those skilled in the art will understand that Figure 1The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than shown in the figure, or combine certain components, or have a different component arrangement.
[0143] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the following steps are implemented:
[0144] Get activity information; activity information includes activity name and activity content;
[0145] Perform word segmentation processing on the activity information to obtain the word segmentation result;
[0146] Determine the push template corresponding to the activity information based on the word segmentation results;
[0147] Generate target activity information based on activity content and push template, and push the target activity information.
[0148] In one embodiment, the activity information is segmented to obtain a segmentation result, and the processor further implements the following steps when executing the computer program:
[0149] Extract the activity name from the activity information;
[0150] The activity name is segmented according to the preset segmentation rules to obtain the segmentation results.
[0151] In one embodiment, a push template corresponding to the activity information is determined based on the word segmentation result, and the processor further implements the following steps when executing the computer program:
[0152] Determine the corresponding target festival information based on the word segmentation results;
[0153] Select a push template from the template library based on the word segmentation results and target holiday information.
[0154] In one embodiment, the corresponding target holiday information is determined based on the word segmentation result, and the processor further implements the following steps when executing the computer program:
[0155] Determine the target festival information corresponding to the word segmentation result according to a preset first corresponding relationship; the first corresponding relationship includes the corresponding relationship between the word segmentation and the festival;
[0156] Alternatively, the current time information is obtained; and according to a preset second corresponding relationship, the target festival information corresponding to the word segmentation result and the current time information is determined; the second corresponding relationship includes the corresponding relationship between the word segmentation, the festival and the time.
[0157] In one embodiment, a push template is selected from a template library based on the word segmentation result and the target holiday information, and the processor further implements the following steps when executing the computer program:
[0158] Obtain user information and determine the user type based on the user information;
[0159] Select candidate push templates corresponding to the word segmentation results and target holiday information from the template library;
[0160] A model corresponding to the user type is selected from the candidate push templates as the push template.
[0161] In one embodiment, target activity information is generated based on the activity content and the push template, and the target activity information is pushed. When the processor executes the computer program, the following steps are further implemented:
[0162] Add the activity content to the push template to generate target activity information;
[0163] The target activity information is asynchronously pushed to the user terminal through the SMS interface.
[0164] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0165] Get activity information; activity information includes activity name and activity content;
[0166] Perform word segmentation processing on the activity information to obtain the word segmentation result;
[0167] Determine the push template corresponding to the activity information based on the word segmentation results;
[0168] Generate target activity information based on activity content and push template, and push the target activity information.
[0169] In one embodiment, the activity information is segmented to obtain a segmentation result, and when the computer program is executed by the processor, the following steps are further implemented:
[0170] Extract the activity name from the activity information;
[0171] The activity name is segmented according to the preset segmentation rules to obtain the segmentation results.
[0172] In one embodiment, a push template corresponding to the activity information is determined based on the word segmentation result, and when the computer program is executed by the processor, the following steps are further implemented:
[0173] Determine the corresponding target festival information based on the word segmentation results;
[0174] Select a push template from the template library based on the word segmentation results and target holiday information.
[0175] In one embodiment, the corresponding target holiday information is determined based on the word segmentation results, and when the computer program is executed by the processor, the following steps are further implemented:
[0176] Determine the target festival information corresponding to the word segmentation result according to a preset first corresponding relationship; the first corresponding relationship includes the corresponding relationship between the word segmentation and the festival;
[0177] Alternatively, the current time information is obtained; and according to a preset second corresponding relationship, the target festival information corresponding to the word segmentation result and the current time information is determined; the second corresponding relationship includes the corresponding relationship between the word segmentation, the festival and the time.
[0178] In one embodiment, a push template is selected from a template library based on the word segmentation result and the target holiday information. When the computer program is executed by the processor, the following steps are further implemented:
[0179] Obtain user information and determine the user type based on the user information;
[0180] Select candidate push templates corresponding to the word segmentation results and target holiday information from the template library;
[0181] A model corresponding to the user type is selected from the candidate push templates as the push template.
[0182] In one embodiment, target activity information is generated based on the activity content and the push template, and the target activity information is pushed. When the computer program is executed by the processor, the following steps are further implemented:
[0183] Add the activity content to the push template to generate target activity information;
[0184] The target activity information is asynchronously pushed to the user terminal through the SMS interface.
[0185] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0186] Get activity information; activity information includes activity name and activity content;
[0187] Perform word segmentation processing on the activity information to obtain the word segmentation result;
[0188] Determine the push template corresponding to the activity information based on the word segmentation results;
[0189] Generate target activity information based on activity content and push template, and push the target activity information.
[0190] In one embodiment, the activity information is segmented to obtain a segmentation result, and when the computer program is executed by the processor, the following steps are further implemented:
[0191] Extract the activity name from the activity information;
[0192] The activity name is segmented according to the preset segmentation rules to obtain the segmentation results.
[0193] In one embodiment, a push template corresponding to the activity information is determined based on the word segmentation result, and when the computer program is executed by the processor, the following steps are further implemented:
[0194] Determine the corresponding target festival information based on the word segmentation results;
[0195] Select a push template from the template library based on the word segmentation results and target holiday information.
[0196] In one embodiment, the corresponding target holiday information is determined based on the word segmentation results, and when the computer program is executed by the processor, the following steps are further implemented:
[0197] Determine the target festival information corresponding to the word segmentation result according to a preset first corresponding relationship; the first corresponding relationship includes the corresponding relationship between the word segmentation and the festival;
[0198] Alternatively, the current time information is obtained; and according to a preset second corresponding relationship, the target festival information corresponding to the word segmentation result and the current time information is determined; the second corresponding relationship includes the corresponding relationship between the word segmentation, the festival and the time.
[0199] In one embodiment, a push template is selected from a template library based on the word segmentation result and the target holiday information. When the computer program is executed by the processor, the following steps are further implemented:
[0200] Obtain user information and determine the user type based on the user information;
[0201] Select candidate push templates corresponding to the word segmentation results and target holiday information from the template library;
[0202] A model corresponding to the user type is selected from the candidate push templates as the push template.
[0203] In one embodiment, target activity information is generated based on the activity content and the push template, and the target activity information is pushed. When the computer program is executed by the processor, the following steps are further implemented:
[0204] Add the activity content to the push template to generate target activity information;
[0205] The target activity information is asynchronously pushed to the user terminal through the SMS interface.
[0206] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations.
[0207] Those skilled in the art will understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, database or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The databases involved in the various embodiments provided herein may include at least one of a relational database and a non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the various embodiments provided herein may be, but are not limited to, general-purpose processors, central processing units (CPUs), graphics processing units (GPUs), digital signal processors (DSPs), programmable logic devices (PLDs), quantum computing-based data processing logic devices, artificial intelligence (AI) processors, and the like.
[0208] The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.
[0209] The above embodiments merely illustrate several implementation methods of the present application. While the descriptions are relatively specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that a person skilled in the art may make various modifications and improvements without departing from the spirit of the present invention, all of which fall within the scope of protection of the present application. Therefore, the scope of protection of the present application shall be determined by the appended claims.
Claims
1. An information push method, characterized in that: The method comprises: Obtaining activity information; the activity information includes the activity name and activity content; Performing word segmentation processing on the activity information to obtain a word segmentation result; Determining a push template corresponding to the activity information according to the word segmentation result; generating target activity information according to the activity content and the push template, and pushing the target activity information; The determining, according to the word segmentation result, a push template corresponding to the activity information includes: Determining target holiday information based on the word segmentation result; the target holiday information is determined based on a preset second correspondence relationship and current time information; the second correspondence relationship includes a correspondence relationship between the word segmentation, the holiday, and the time; The push template is selected from a template library according to the user information, the word segmentation result and the target holiday information.
2. The method according to claim 1, characterized in that The performing word segmentation processing on the activity information to obtain a word segmentation result includes: Extracting the activity name from the activity information; The activity name is segmented according to a preset segmentation rule to obtain the segmentation result.
3. The method according to claim 1, characterized in that The determining, according to the word segmentation result, a push template corresponding to the activity information includes: Determine the corresponding target festival information according to the word segmentation result; The push template is selected from a template library according to the word segmentation result and the target holiday information.
4. The method according to claim 3, characterized in that The determining of the corresponding target holiday information according to the word segmentation result includes: Determining target festival information corresponding to the word segmentation result according to a preset first correspondence relationship; the first correspondence relationship includes a correspondence relationship between the word segmentation and the festival; Alternatively, the current time information is obtained; based on the second corresponding relationship, the target festival information corresponding to the word segmentation result and the current time information is determined; the second corresponding relationship includes the corresponding relationship between the word segmentation, festival and time.
5. The method according to claim 3, characterized in that The step of selecting the push template from a template library according to the word segmentation result and the target holiday information includes: Obtaining user information and determining the user type based on the user information; Selecting a candidate push template corresponding to the word segmentation result and the target holiday information from a template library; A model corresponding to the user type is selected from the candidate push templates as the push template.
6. The method according to any one of claims 1 to 5, characterized in that Generating target activity information according to the activity content and the push template, and pushing the target activity information, includes: Adding the activity content to the push template to generate the target activity information; The target activity information is asynchronously pushed to the user terminal via the SMS interface.
7. An information push device, characterized in that: The device comprises: An acquisition module is used to acquire activity information; the activity information includes the activity name and activity content; A word segmentation module, used to perform word segmentation processing on the activity information to obtain a word segmentation result; a determination module configured to determine a push template corresponding to the activity information based on the word segmentation result; the determination module being specifically configured to determine target holiday information based on the word segmentation result; the target holiday information being determined based on a preset second correspondence and current time information; the second correspondence including a correspondence between word segmentation, holiday, and time; and selecting the push template from a template library based on user information, the word segmentation result, and the target holiday information; The push module is used to generate target activity information according to the activity content and the push template, and push the target activity information.
8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.
Citation Information
Patent Citations
Custom operation advertisement information pushing method and device, equipment and storage medium
CN117710030A