Push information generation method, device, electronic device and storage medium
By receiving the information template call request from the target terminal and loading the target information template, configuring it based on the push condition configuration information and content information, the problem of low efficiency in push information generation in the existing technology is solved, and automation and high accuracy are achieved Push information generation.
Patent Information
- Application Number
- CN202210440449.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-04-25
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2042-04-25
AI Technical Summary
In the prior art, push information generation efficiency is low and manual configuration is required, resulting in low efficiency and prone to errors.
By receiving the information template call request from the target terminal, the corresponding target information template is loaded, and the template is configured based on the push condition configuration information and push content information to generate target push information, avoid manual configuration, and improve efficiency and accuracy.
Automatic push information generation is realized, efficiency and accuracy are improved, manual errors are reduced, and efficiency and accuracy of push information generation is improved.
Smart Images

Figure CN115062595B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of information processing technology, and in particular to a method, device, electronic device and storage medium for generating push information. Background Art
[0002] Push information is a common notification contact method in Internet applications, that is, Internet applications can interact with users through pop-up announcements, such as pop-up announcement information. In related technologies, when generating push information, operators are generally required to manually configure various types of push information according to business needs, that is, push information for each business need needs to be generated through manual configuration. Therefore, in the process of generating push information, the high proportion of manual participation leads to low efficiency in generating push information. Summary of the invention
[0003] The present disclosure provides a method, device, electronic device and storage medium for generating push information, so as to at least solve the problem of low efficiency of generating push information in related technologies. The technical solution of the present disclosure is as follows:
[0004] According to a first aspect of an embodiment of the present disclosure, a method for generating push information is provided, including:
[0005] Receiving an information template calling request from a target terminal; the information template calling request includes a template identifier to be called, push condition configuration information, and push content information;
[0006] Loading the target information template corresponding to the template identifier to be called;
[0007] Based on the push condition configuration information and the push content information, the target information template is configured to obtain target push information.
[0008] In an exemplary embodiment, configuring the target information template based on the push condition configuration information and the push content information to obtain the target push information includes:
[0009] Convert the push condition configuration information into a format to obtain target configuration information;
[0010] Convert the push content information into a format to obtain target content information;
[0011] The target configuration information and the target content information are passed into the target information template to obtain the target push information.
[0012] In an exemplary embodiment, the step of transferring the target configuration information and the target content information into the target information template to obtain the target push information includes:
[0013] Based on the target configuration information and the target content information, an input parameter sequence is generated; the input parameter sequence is determined based on a first to-be-configured item and a second to-be-configured item in the target information template; the first to-be-configured item corresponds to the target configuration information, and the second to-be-configured item corresponds to the target content information;
[0014] The input parameter sequence is input into the target information template to generate the target push information.
[0015] In an exemplary embodiment, the push condition configuration information includes first link information; the first link information is used to access the list information of the object to be pushed;
[0016] The configuring the target information template based on the push condition configuration information and the push content information to obtain the target push information includes:
[0017] Based on the first link information and the push content information, the target template information is configured to obtain the target push information; the target push information can be pushed to the object to be pushed.
[0018] In an exemplary embodiment, the push content information includes second link information; the second link information is used to access push content detail information;
[0019] The configuring the target information template based on the push condition configuration information and the push content information to obtain the target push information includes:
[0020] Based on the push condition configuration information and the second link information, the target information template is configured to obtain target push information; wherein, based on the target push information, the push content detail information can be accessed.
[0021] In an exemplary embodiment, the push condition configuration information includes target timeliness information of the target push information;
[0022] The step of configuring the target information template based on the push condition configuration information and the push content information to obtain target push information further includes:
[0023] Based on the target timeliness information, the target push information is pushed.
[0024] In an exemplary embodiment, the target information template is configured based on the push condition configuration information and the push content information to obtain the target push information, and then further includes:
[0025] Determine a push information identifier corresponding to the target push information, and send the push information identifier to the target terminal;
[0026] Receiving an information update request sent by the target terminal; the information update request includes the push information identifier and the information to be updated;
[0027] Based on the push information identifier, determining the configuration item to be updated corresponding to the information to be updated;
[0028] The configuration item to be updated in the target push information is updated based on the information to be updated to obtain updated target push information.
[0029] According to a second aspect of an embodiment of the present disclosure, there is provided a push information generating device, including:
[0030] The template call request receiving unit is configured to execute and receive an information template call request from a target terminal; the information template call request includes a template identifier to be called, push condition configuration information, and push content information;
[0031] A template loading unit, configured to load a target information template corresponding to the template identifier to be called;
[0032] The target push information generating unit is configured to configure the target information template based on the push condition configuration information and the push content information to obtain the target push information.
[0033] In an exemplary embodiment, the target push information generating unit includes:
[0034] A first format conversion unit is configured to perform format conversion on the push condition configuration information to obtain target configuration information;
[0035] A second format conversion unit is configured to perform format conversion on the pushed content information to obtain target content information;
[0036] The information input unit is configured to input the target configuration information and the target content information into the target information template to obtain the target push information.
[0037] In an exemplary embodiment, the information input unit includes:
[0038] a parameter sequence generating unit, configured to generate an input parameter sequence based on the target configuration information and the target content information; the input parameter sequence is determined based on a first to-be-configured item and a second to-be-configured item in the target information template; the first to-be-configured item corresponds to the target configuration information, and the second to-be-configured item corresponds to the target content information;
[0039] The parameter sequence input unit is configured to input the input parameter sequence into the target information template to generate the target push information.
[0040] In an exemplary embodiment, the push condition configuration information includes first link information; the first link information is used to access the list information of the object to be pushed;
[0041] The target push information generating unit comprises:
[0042] The first generating unit is configured to configure the target template information based on the first link information and the push content information to obtain the target push information; the target push information can be pushed to the object to be pushed.
[0043] In an exemplary embodiment, the push content information includes second link information; the second link information is used to access push content detail information;
[0044] The target push information generating unit comprises:
[0045] The second generating unit is configured to configure the target information template based on the push condition configuration information and the second link information to obtain target push information; wherein the push content detail information can be accessed based on the target push information.
[0046] In an exemplary embodiment, the push condition configuration information includes target timeliness information of the target push information;
[0047] The device also includes:
[0048] The information pushing unit is configured to push the target push information based on the target timeliness information.
[0049] In an exemplary embodiment, the apparatus further comprises:
[0050] a push information identifier sending unit, configured to determine a push information identifier corresponding to the target push information, and send the push information identifier to the target terminal;
[0051] An information update request receiving unit, configured to receive an information update request sent by the target terminal; the information update request includes the push information identifier and the information to be updated;
[0052] a to-be-updated configuration item determining unit, configured to determine, based on the push information identifier, the to-be-updated configuration item corresponding to the to-be-updated information;
[0053] The information updating unit is configured to update the configuration item to be updated in the target push information based on the information to be updated, so as to obtain updated target push information.
[0054] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, comprising: a processor; and a memory for storing instructions executable by the processor; wherein the processor is configured to execute the instructions to implement the push information generation method as described above.
[0055] According to a fourth aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided. When instructions in the computer-readable storage medium are executed by a processor of a server, the server is enabled to execute the push information generating method as described above.
[0056] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, which includes a computer program stored in a readable storage medium, and at least one processor of a computer device reads and executes the computer program from the readable storage medium, so that the device executes the above-mentioned push information generation method.
[0057] The technical solution provided by the embodiments of the present disclosure brings at least the following beneficial effects:
[0058] In the present disclosure, upon receiving an information template call request from a target terminal, the corresponding target information template is loaded; based on the push condition configuration information and the push content information in the information template call request, the target information template is configured to obtain the target push information. In the present disclosure, upon receiving an information template call request, the target information template can be automatically loaded, and the target information template can be configured using the information contained in the information template call request to obtain the target push information, thereby avoiding the need to generate the corresponding push information through manual configuration, and improving the efficiency of push information generation; in addition, the target push information can be generated based on the corresponding template, thereby avoiding possible mistakes in the process of manually generating push information, and improving the accuracy of push information generation.
[0059] 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
[0060] 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.
[0061] Figure 1 It is a schematic diagram of an implementation environment according to an exemplary embodiment.
[0062] Figure 2 The figure is a flow chart of a method for generating push information according to an exemplary embodiment.
[0063] Figure 3 The present invention is a flow chart of a method for generating target push information based on format-converted input information according to an exemplary embodiment.
[0064] Figure 4 The present invention is a flow chart of a method for generating target push information based on an input parameter sequence according to an exemplary embodiment.
[0065] Figure 5 The figure is a flow chart of another method for generating push information according to an exemplary embodiment.
[0066] Figure 6 It is a flow chart of another method for generating push information according to an exemplary embodiment.
[0067] Figure 7 The figure is a flow chart of an information push method according to an exemplary embodiment.
[0068] Figure 8 The present invention is a flow chart of a method for updating target push information according to an exemplary embodiment.
[0069] Fig. 9 The figure is a schematic diagram of a process flow of creating an announcement according to an exemplary embodiment.
[0070] Fig.10 The figure is a schematic diagram of a push information generating device according to an exemplary embodiment.
[0071] Fig.11 The figure is a schematic diagram showing the structure of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION
[0072] 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.
[0073] 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.
[0074] 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 for display, data for analysis, etc.) involved in this disclosure are all information and data authorized by the user or fully authorized by all parties.
[0075] See also Figure 1 , which shows a schematic diagram of an implementation environment provided by an embodiment of the present disclosure, the implementation environment may include: at least one target terminal 110 and a push information server 120, and the target terminal 110 and the push information server 120 can communicate data through a network.
[0076] Specifically, the target terminal 110 sends a push information generation request to the push information server 120 according to demand, and the push information server 120 generates corresponding target push information based on the push information generation request; the push information server 120 returns the target push information or the push information generation result to the target terminal 110.
[0077] The target terminal 110 can communicate with the push information server 120 based on the browser / server mode (B / S) or the client / server mode (C / S). The target terminal 110 may include: physical devices such as smart phones, tablet computers, laptops, digital assistants, smart wearable devices, vehicle terminals, servers, etc., and may also include software running in physical devices, such as applications, etc. The operating system running on the target terminal 110 in the embodiment of the present disclosure may include but is not limited to Android system, IOS system, Linux, Windows, etc.
[0078] The push information server 120 can establish a communication connection with the target terminal 110 via wired or wireless communication. The push information server 120 can include an independently operated server, or a distributed server, or a server cluster composed of multiple servers, wherein the server can be a cloud server.
[0079] In order to solve the problem of low efficiency in generating push information in the related art, the present disclosure provides a method for generating push information, the execution subject of which can be the above-mentioned Figure 1 For push information server in Figure 2 , the method may specifically include:
[0080] S210. Receive an information template calling request from a target terminal; the information template calling request includes a template identifier to be called, push condition configuration information, and push content information.
[0081] In an optional embodiment, the push information service end may generate a push information template corresponding to each business type and a template identifier of each type of push information template in advance based on various business scenario requirements; thereby the corresponding template may be searched and called based on the template identifier. In addition, the generated template identifier may be sent to the target terminal so that the target terminal may initiate an information template call request based on business requirements, and the template identifier to be called carried in the information template call request may indicate the push information template to be called.
[0082] In a specific embodiment, the public parameters of each type of push information template can be configured; the public parameters of each type of push information template may include the push condition information, validity period, effective time, etc. of this type of push information template; further, each type of push information template may not set the corresponding public parameters, and the template parameters that need to be configured can be obtained from the information template call request sent by the target terminal.
[0083] In an optional embodiment, the push condition configuration information may be used to indicate that the generated target push information can be pushed if it meets a first condition, and / or that the target push information is pushed to an object that meets a second condition.
[0084] In a specific embodiment, the push content information may be information that can represent the purpose of the push, and the push content information may specifically include one or more of text information, image information, and video information; specifically, for notification-type push information, the push content information may generally include a paragraph of text information to achieve the purpose of the notification; for operation guidance push information, the push content information may include image information or video information, so that the pushed object can perform corresponding operations based on the operation guidance image or operation guidance video in the push information.
[0085] S220. Load the target information template corresponding to the template identifier to be called.
[0086] The various types of push information templates generated above may be stored in a template database or in a push information server. The embodiments of the present disclosure do not make specific limitations. The storage location of the push information template may be determined according to the specific implementation situation, or when the push information template has been stored, the storage location of the stored push information template may be migrated. For example, in order to increase the template loading speed and save network transmission resources, the push information template may be stored in the push information server, or the push information template stored in the database may be migrated to the push information server; in order to improve the processing efficiency of the push information server and avoid excessive memory usage, the push information template may be stored in the database, or the push information template may be migrated from the push information server to the database. Therefore, the push information server here may directly load the target information template locally, or load the target information template from the database.
[0087] S230. Based on the push condition configuration information and the push content information, configure the target information template to obtain target push information.
[0088] In one example, the corresponding target information template can be determined based on the template identifier to be called in the information template calling request, and then the target information template can be loaded to facilitate the subsequent parameter configuration of the target information template based on the push condition configuration information in the information template calling request and the push content information, as well as the push content filling to obtain the target push information.
[0089] In the present invention, after receiving an information template call request, the target information template can be automatically loaded, and the target information template can be configured using the information contained in the information template call request to obtain target push information, thereby avoiding the need to generate corresponding push information through manual configuration and improving the efficiency of push information generation; in addition, the target push information can be generated based on the corresponding template, thereby avoiding possible errors in the process of manually generating push information and improving the accuracy of push information generation.
[0090] In one example, see Figure 3 , which shows a method for generating target push information based on format-converted input information, the method may include:
[0091] S310. Convert the format of the push condition configuration information to obtain target configuration information.
[0092] S320: Convert the format of the pushed content information to obtain target content information.
[0093] S330. Transfer the target configuration information and the target content information into the target information template to obtain the target push information.
[0094] Specifically, the formats of the push condition configuration information and the push content information sent by the target terminal may not conform to the target format for template configuration, so format conversion is required before configuring the target information template to obtain input information in the target format.
[0095] In an optional embodiment, when one or both of the push condition configuration information and the push content information do not conform to the target format, the information not conforming to the target format may be format converted, and not all information sent by the target terminal must be format converted.
[0096] In a specific embodiment, when the push condition configuration information is the effective time of the target push information, the effective time sent by the target terminal is 2021.12.1, which needs to be converted into the time expression of the target format, that is, 20211201.
[0097] In another specific embodiment, when the pushed content information includes image information, when the image size of the image information does not conform to the target image size, it is necessary to perform size conversion on the image information contained in the pushed content information to obtain image information of the target size; or the image format of the image information contained in the pushed content information does not conform to the target image format, and it is necessary to perform image format conversion on the image information contained in the pushed content information to obtain image information of the target image format.
[0098] Therefore, the push condition configuration information and push content information sent by the target terminal are converted into the corresponding format to obtain the target configuration information and target content information in the target format. Since the information in the target format meets the preset processing standard, the information in the target format is input into the target information template, which can improve the efficiency of configuring the target information template and avoid template configuration failure caused by format unsupported or format error, thereby improving the efficiency and accuracy of generating target push information.
[0099] In another example, see Figure 4 , which shows a method for generating target push information based on an input parameter sequence, the method may include:
[0100] S410. Generate an input parameter sequence based on the target configuration information and the target content information; the input parameter sequence is determined based on a first to-be-configured item and a second to-be-configured item in the target information template; the first to-be-configured item corresponds to the target configuration information, and the second to-be-configured item corresponds to the target content information.
[0101] S420. Input the input parameter sequence into the target information template to generate the target push information.
[0102] In a specific embodiment, the input parameter sequence may be obtained by performing information fusion processing on the target configuration information and the target content information; wherein the information fusion processing may specifically be splicing the target configuration information and the target content information, and distinguishing the target configuration information and the target content information by a separator, thereby obtaining the input parameter sequence; a specific input parameter sequence may be {target configuration information; target content information}.
[0103] Furthermore, the order of the target configuration information and the target content information in the input parameter sequence can be determined based on the order in which the first item to be configured and the second item to be configured are to be configured in the target information template. For each item to be configured in the target information template, the configuration information corresponding to each item to be configured can be determined in sequence from the input parameter sequence.
[0104] In another optional embodiment, the formats of the information to be configured and received in the target information template may be different, and each information in the input parameter sequence has a corresponding format, so that the information in the corresponding format can be configured into the corresponding item to be configured.
[0105] Therefore, by generating an input parameter sequence based on the target configuration information and the target content information, and configuring the target information template based on the input parameter sequence, the efficiency and accuracy of the template configuration can be improved.
[0106] In an optional embodiment, the push condition configuration information may include first link information; the first link information is used to access the list information of the object to be pushed; accordingly, please refer to Figure 5 , which shows another method for generating push information, which may include:
[0107] S510. Receive an information template calling request from a target terminal; the information template calling request includes a template identifier to be called, first link information, and push content information.
[0108] S520. Load the target information template corresponding to the template identifier to be called.
[0109] S530. Based on the first link information and the push content information, the target template information is configured to obtain the target push information; the target push information can be pushed to the object to be pushed.
[0110] Specifically, the push condition configuration information can be used to describe the information of the objects to be pushed. When the number of objects to be pushed is small, the corresponding push condition configuration information can be directly generated based on the object identification information; when the number of objects to be pushed is large, generating the push condition configuration information based on the object identification information may cause the configuration information to be too long and prone to errors, thereby establishing a corresponding relationship between the list information of the objects to be pushed and the first connection information.
[0111] In a specific embodiment, the push information server can access specific web page information through the first link information, and the web page information contains the list information of the objects to be pushed; the storage path information can also be accessed through the first link information, and the list file is stored under the storage path, and the list information of the objects to be pushed is recorded in the list file.
[0112] Therefore, by obtaining the list information of the objects to be pushed through the first link information, it is possible to avoid information sending errors caused by directly sending the identifiers of the objects to be pushed and the problem of difficult information reception, thereby improving the convenience and accuracy of determining the objects to be pushed, and further improving the accuracy of pushing the target push message.
[0113] In another example, the push content information includes second link information; the second link information is used to access push content details information; accordingly, please refer to Figure 6 , which shows another method for generating push information, which may include:
[0114] S610. Receive an information template calling request from a target terminal; the information template calling request includes a template identifier to be called, push condition configuration information, and second link information.
[0115] S620. Load the target information template corresponding to the template identifier to be called.
[0116] S630. Based on the push condition configuration information and the second link information, the target information template is configured to obtain target push information; wherein, based on the target push information, the push content detail information can be accessed.
[0117] In a specific embodiment, in an activity push scenario, the second link information can be used to access specific details of the activity; for an operation guidance scenario, the second link information can be used to access specific operation step information, etc.; the above content details are difficult to add to the push content information in a concrete form. By using the link information corresponding to the content details information as the push content information, on the one hand, the convenience of push content generation can be improved. The push information server can directly configure the link information to the target information template based on the link information without adding other information, which also improves the efficiency of template configuration; on the other hand, the generated target push information contains the link information, and the corresponding content details information can be accessed by clicking the link information in the target push information, thereby realizing the comprehensive push of content details information.
[0118] In one specific embodiment, see Figure 7 , which shows an information push method, which may include:
[0119] S710. Receive an information template calling request from a target terminal; the information template calling request includes a template identifier to be called, target timeliness information, and push content information.
[0120] S720. Load the target information template corresponding to the template identifier to be called.
[0121] S730. Based on the target timeliness information and the push content information, configure the target information template to obtain target push information.
[0122] S740. Push the target push information based on the target timeliness information.
[0123] The specific implementation details of steps S710 - S730 can be found in the above content of this embodiment and will not be repeated here.
[0124] In addition, the target timeliness information may include the effective time of the target push information or the validity period of the target push information; thus, the corresponding target timeliness information may be configured based on actual needs, thereby improving the flexibility and diversity of the target push information push.
[0125] In one example, after the target information template is configured based on the target timeliness information, the corresponding generated target push information has the corresponding target timeliness information. When the target timeliness information is met, the push information server can push the target push information; further, in order to reduce the processing pressure of the push information server and improve the generation efficiency of the target push information, the push server can push the target push information.
[0126] In an alternative embodiment, see Figure 8, which shows a method for updating target push information, which may include:
[0127] S810. Determine a push information identifier corresponding to the target push information, and send the push information identifier to the target terminal.
[0128] S820. Receive an information update request sent by the target terminal; the information update request includes the push information identifier and the information to be updated.
[0129] S830. Based on the push information identifier, determine the configuration item to be updated corresponding to the information to be updated.
[0130] S840. Update the configuration item to be updated in the target push information based on the information to be updated to obtain updated target push information.
[0131] For the target terminal, it may have sent an information template call request before, and the push information server has generated the corresponding target push information and returned the push information identifier of the target push information to the target terminal; when the target terminal needs to update the target push information, the update here may be to update the object to be pushed, or to update the push content link, etc.; the target terminal can send an information update request to the push information server, and carry the information to be updated, set the information items that are not updated to empty, and set the information items to be updated to the information to be updated; for example, the information items in the information template call request include: {information item A, information item B, information item C}, and if information item B is updated, the corresponding information update request includes: {empty, information item B to be updated, empty}, so that the push information server can update the to-be-configured item corresponding to information item B in the target push information after receiving {empty, information item B to be updated, empty} in the information update request, and obtain the updated target push information.
[0132] Therefore, when the target push information has a small amount of update, an information update request can be sent, and the information to be updated can be carried, thereby avoiding the extra computational effort caused by regenerating the target push information, saving computational resources, and improving the efficiency of generating the target push information.
[0133] The following uses the announcement creation scenario as an example to illustrate the specific implementation process of this disclosure. Fig. 9 , which shows the announcement creation process, which may include:
[0134] 1. The announcement service pre-creates announcement templates for unified business type announcements and configures public parameters.
[0135] 2. The business party obtains the unique identifier of the announcement template from the operation personnel, calls the announcement creation interface provided by the announcement service, and passes in the template ID and custom parameters according to business needs.
[0136] 3. The announcement service reads the corresponding announcement template data, fills in the business party’s customized data, and generates an announcement.
[0137] 4. After the announcement takes effect, it will be pushed to the front-end page to achieve user reach.
[0138] The present disclosure allows operators to pre-configure common announcement templates of the same type, and the business side customizes parameters to call the announcement creation interface to create announcements. The announcements automatically take effect and are delivered according to the effective time settings, greatly reducing the manpower wasted by operators in creating announcements due to cooperating with various businesses.
[0139] Fig.10 A push information generating device according to an exemplary embodiment includes:
[0140] The template call request receiving unit 1010 is configured to execute receiving an information template call request from a target terminal; the information template call request includes a template identifier to be called, push condition configuration information, and push content information;
[0141] The template loading unit 1020 is configured to load a target information template corresponding to the template identifier to be called;
[0142] The target push information generating unit 1030 is configured to configure the target information template based on the push condition configuration information and the push content information to obtain the target push information.
[0143] In an exemplary embodiment, the target push information generating unit 1030 includes:
[0144] A first format conversion unit is configured to perform format conversion on the push condition configuration information to obtain target configuration information;
[0145] A second format conversion unit is configured to perform format conversion on the pushed content information to obtain target content information;
[0146] The information input unit is configured to input the target configuration information and the target content information into the target information template to obtain the target push information.
[0147] In an exemplary embodiment, the information input unit includes:
[0148] a parameter sequence generating unit, configured to generate an input parameter sequence based on the target configuration information and the target content information; the input parameter sequence is determined based on a first to-be-configured item and a second to-be-configured item in the target information template; the first to-be-configured item corresponds to the target configuration information, and the second to-be-configured item corresponds to the target content information;
[0149] The parameter sequence input unit is configured to input the input parameter sequence into the target information template to generate the target push information.
[0150] In an exemplary embodiment, the push condition configuration information includes first link information; the first link information is used to access the list information of the object to be pushed;
[0151] The target push information generating unit 930 includes:
[0152] The first generating unit is configured to configure the target template information based on the first link information and the push content information to obtain the target push information; the target push information can be pushed to the object to be pushed.
[0153] In an exemplary embodiment, the push content information includes second link information; the second link information is used to access push content detail information;
[0154] The target push information generating unit 1030 includes:
[0155] The second generating unit is configured to configure the target information template based on the push condition configuration information and the second link information to obtain target push information; wherein the push content detail information can be accessed based on the target push information.
[0156] In an exemplary embodiment, the push condition configuration information includes target timeliness information of the target push information;
[0157] The device also includes:
[0158] The information pushing unit is configured to push the target push information based on the target timeliness information.
[0159] In an exemplary embodiment, the apparatus further comprises:
[0160] a push information identifier sending unit, configured to determine a push information identifier corresponding to the target push information, and send the push information identifier to the target terminal;
[0161] An information update request receiving unit, configured to receive an information update request sent by the target terminal; the information update request includes the push information identifier and the information to be updated;
[0162] a to-be-updated configuration item determining unit, configured to determine, based on the push information identifier, the to-be-updated configuration item corresponding to the to-be-updated information;
[0163] The information updating unit is configured to update the configuration item to be updated in the target push information based on the information to be updated, so as to obtain updated target push information.
[0164] 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.
[0165] In an exemplary embodiment, a computer-readable storage medium including instructions is also provided. Optionally, the computer-readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a tape, a floppy disk, an optical data storage device, etc.; when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute any of the methods described above.
[0166] In an exemplary embodiment, a computer program product is also provided, which includes a computer program stored in a readable storage medium, and at least one processor of a computer device reads and executes the computer program from the readable storage medium, so that the device performs any of the above methods.
[0167] This embodiment also provides a device, whose structure diagram can be seen in Fig.11The device 1100 may vary greatly due to different configurations or performances, and may include one or more central processing units (CPUs) 1122 (e.g., one or more processors) and memory 1132, one or more storage media 1130 (e.g., one or more mass storage devices) storing application programs 1142 or data 1144. The memory 1132 and the storage media 1130 may be short-term storage or persistent storage. The program stored in the storage media 1130 may include one or more modules (not shown in the figure), each of which may include a series of instruction operations on the device. Furthermore, the central processing unit 1122 may be configured to communicate with the storage media 1130 and execute a series of instruction operations in the storage media 1130 on the device 1100. The device 1100 may also include one or more power supplies 1126, one or more wired or wireless network interfaces 1150, one or more input and output interfaces 1158, and / or one or more operating systems 1141, such as Windows Server TM , Mac OS X TM , Unix TM , Linux TM , FreeBSD TM Etc. Any of the above methods in this embodiment can be based on Fig.11 The device shown is implemented.
[0168] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. This application 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 specification and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0169] 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 generating push information, characterized in that: include: Receiving an information template calling request from a target terminal; The information template calling request includes the identifier of the template to be called, push condition configuration information, and push content information; Loading the target information template corresponding to the template identifier to be called; Based on the push condition configuration information and the push content information, the target information template is configured to obtain target push information; The configuring the target information template based on the push condition configuration information and the push content information to obtain the target push information includes: Convert the push condition configuration information into a format to obtain target configuration information; Convert the push content information into a format to obtain target content information; Based on the target configuration information and the target content information, an input parameter sequence is generated; the input parameter sequence is determined based on a first to-be-configured item and a second to-be-configured item in the target information template; the first to-be-configured item corresponds to the target configuration information, and the second to-be-configured item corresponds to the target content information; the order of the target configuration information and the target content information in the input parameter sequence is determined based on the order of the first to-be-configured item and the second to-be-configured item in the target information template to be configured; The input parameter sequence is input into the target information template to generate the target push information.
2. The method according to claim 1, characterized in that The push condition configuration information includes first link information; the first link information is used to access the list information of the objects to be pushed; The configuring the target information template based on the push condition configuration information and the push content information to obtain the target push information includes: Based on the first link information and the push content information, the target information template is configured to obtain the target push information; The target push information can be pushed to the object to be pushed.
3. The method according to claim 1, characterized in that The pushed content information includes second link information; the second link information is used to access the pushed content detailed information; The configuring the target information template based on the push condition configuration information and the push content information to obtain the target push information includes: Based on the push condition configuration information and the second link information, the target information template is configured to obtain target push information; wherein, based on the target push information, the push content detail information can be accessed.
4. The method according to claim 1, characterized in that: The push condition configuration information includes target timeliness information of the target push information; The step of configuring the target information template based on the push condition configuration information and the push content information to obtain target push information further includes: Based on the target timeliness information, the target push information is pushed.
5. The method according to claim 1, characterized in that The step of configuring the target information template based on the push condition configuration information and the push content information to obtain target push information further includes: Determine a push information identifier corresponding to the target push information, and send the push information identifier to the target terminal; Receiving an information update request sent by the target terminal; the information update request includes the push information identifier and the information to be updated; Based on the push information identifier, determining the configuration item to be updated corresponding to the information to be updated; The configuration item to be updated in the target push information is updated based on the information to be updated to obtain updated target push information.
6. A push information generating device, characterized in that: include: A template call request receiving unit, configured to execute and receive an information template call request from a target terminal; The information template calling request includes the identifier of the template to be called, push condition configuration information, and push content information; A template loading unit, configured to load a target information template corresponding to the template identifier to be called; a target push information generating unit, configured to configure the target information template based on the push condition configuration information and the push content information to obtain target push information; The target push information generating unit includes: a first format conversion unit, configured to perform format conversion on the push condition configuration information to obtain target configuration information; a second format conversion unit, configured to perform format conversion on the push content information to obtain target content information; a parameter sequence generating unit, configured to generate an input parameter sequence based on the target configuration information and the target content information; the input parameter sequence is determined based on the first to-be-configured item and the second to-be-configured item in the target information template; the first to-be-configured item corresponds to the target configuration information, and the second to-be-configured item corresponds to the target content information; the order of the target configuration information and the target content information in the input parameter sequence is determined based on the order of the first to-be-configured item and the second to-be-configured item in the target information template to be configured; and a parameter sequence input unit, configured to input the input parameter sequence into the target information template to generate the target push information.
7. The device according to claim 6, characterized in that The push condition configuration information includes first link information; the first link information is used to access the list information of the objects to be pushed; The target push information generating unit comprises: A first generating unit is configured to configure the target information template based on the first link information and the push content information to obtain the target push information; The target push information can be pushed to the object to be pushed.
8. The device according to claim 6, characterized in that The pushed content information includes second link information; the second link information is used to access the pushed content detailed information; The target push information generating unit comprises: The second generating unit is configured to configure the target information template based on the push condition configuration information and the second link information to obtain target push information; wherein the push content detail information can be accessed based on the target push information.
9. The device according to claim 6, characterized in that The push condition configuration information includes target timeliness information of the target push information; The device also includes: The information pushing unit is configured to push the target push information based on the target timeliness information.
10. The device according to claim 6, characterized in that The device also includes: a push information identifier sending unit, configured to determine a push information identifier corresponding to the target push information, and send the push information identifier to the target terminal; An information update request receiving unit, configured to receive an information update request sent by the target terminal; the information update request includes the push information identifier and the information to be updated; a to-be-updated configuration item determining unit, configured to determine, based on the push information identifier, the to-be-updated configuration item corresponding to the to-be-updated information; The information updating unit is configured to update the configuration item to be updated in the target push information based on the information to be updated, so as to obtain updated target push information.
11. An electronic device, characterized in that: include: processor; a memory for storing instructions executable by the processor; The processor is configured to execute the instructions to implement the push information generation method as described in any one of claims 1 to 5.
12. A computer-readable storage medium, characterized in that: When the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the push information generating method according to any one of claims 1 to 5.
13. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the push information generating method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Method and device for pushing information
CN106227786A
Object updating method, apparatus and device
CN108304201A
Multi-channel message content sending method and device, equipment and storage medium
CN111327519A
Method and device for sending information to target crowd and electronic equipment
CN112015979A
Message sending and forwarding method, apparatus, and system
US20160301642A1
