CN115062595A - Push information generation method and device, electronic equipment and storage medium - Google Patents

Push information generation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115062595A
CN115062595A CN202210440449.4A CN202210440449A CN115062595A CN 115062595 A CN115062595 A CN 115062595A CN 202210440449 A CN202210440449 A CN 202210440449A CN 115062595 A CN115062595 A CN 115062595A
Authority
CN
China
Prior art keywords
information
target
push
template
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210440449.4A
Other languages
Chinese (zh)
Inventor
王鹏飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN202210440449.4A priority Critical patent/CN115062595A/en
Publication of CN115062595A publication Critical patent/CN115062595A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates

Landscapes

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

Abstract

The disclosure relates to a push information generation method, a push information generation device, an electronic device and a storage medium, wherein the method comprises the following steps: receiving an information template calling request of a target terminal; the information template calling request comprises a template identifier to be called, push condition configuration information and push content information; loading a target information template corresponding to the template identifier to be called; and configuring the target information template based on the push condition configuration information and the push content information to obtain target push information. The efficiency and the accuracy of push information generation are improved.

Description

Push information generation method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of information processing technologies, and in particular, to a method and an apparatus for generating push information, an electronic device, and a storage medium.
Background
The push information is a common notification reach mode in the internet application, that is, the internet application can perform information interaction with the user through the pop-up notice, for example, the pop-up notice information. In the related art, when generating push information, an operator is generally required to manually configure various types of push information according to service requirements, that is, the push information for each service requirement needs to be generated through manual configuration, so that in the generation process of the push information, the generation efficiency of the push information is low due to high manual participation ratio.
Disclosure of Invention
The present disclosure provides a method and an apparatus for generating push information, an electronic device, and a storage medium, so as to at least solve the problem of low push information generation efficiency in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a push information generating method, including:
receiving an information template calling request of a target terminal; the information template calling request comprises a template identifier to be called, pushing condition configuration information and pushing content information;
loading a target information template corresponding to the template identifier to be called;
and configuring the target information template based on the push condition configuration information and the push content information to obtain target push information.
In an exemplary embodiment, 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:
carrying out format conversion on the push condition configuration information to obtain target configuration information;
carrying out format conversion on the pushed content information to obtain target content information;
and transmitting the target configuration information and the target content information into the target information template to obtain the target push information.
In an exemplary embodiment, the importing the target configuration information and the target content information into the target information template to obtain the target push information includes:
generating 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 item to be configured and a second item to be configured in the target information template; the first item to be configured corresponds to the target configuration information, and the second item to be configured corresponds to the target content information;
and inputting the input parameter sequence into the target information template to generate the target push information.
In an exemplary embodiment, the push condition configuration information includes first link information; the first link information is used for accessing the list information of the object to be pushed;
the configuring the target information template based on the push condition configuration information and the push content information to obtain target push information includes:
configuring the target template information based on the first link information and the pushed content information to obtain the target pushed information; the target push information can be pushed to the object to be pushed.
In an exemplary embodiment, the push content information includes second link information; the second link information is used for accessing the pushed content detail information;
the configuring the target information template based on the push condition configuration information and the push content information to obtain target push information includes:
configuring 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 is accessible based on the targeted push information.
In an exemplary embodiment, the push condition configuration information includes target age 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, and the step of configuring the target information template further comprises the following steps:
and pushing the target pushing information based on the target aging information.
In an exemplary embodiment, the configuring, based on the push condition configuration information and the push content information, the target information template to obtain target push information further includes:
determining a push information identifier corresponding to the target push information, and sending the push information identifier to the target terminal;
receiving an information updating request sent by the target terminal; the information updating request comprises the pushed information identifier and information to be updated;
determining a configuration item to be updated corresponding to the information to be updated based on the push information identifier;
and updating the configuration item to be updated in the target push information based on the information to be updated to obtain updated target push information.
According to a second aspect of the embodiments of the present disclosure, there is provided a push information generating apparatus, including:
a template calling request receiving unit configured to execute receiving of an information template calling request of a target terminal; the information template calling request comprises a template identifier to be called, pushing condition configuration information and pushing content information;
the template loading unit is configured to load a target information template corresponding to the template identifier to be called;
and 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 target push information.
In an exemplary embodiment, the target push information generating unit includes:
the first format conversion unit is configured to perform format conversion on the push condition configuration information to obtain target configuration information;
the second format conversion unit is configured to perform format conversion on the pushed content information to obtain target content information;
and the information transmitting unit is configured to transmit the target configuration information and the target content information into the target information template to obtain the target push information.
In an exemplary embodiment, the information introduction unit includes:
a parameter sequence generating unit configured to perform generating 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 item to be configured and a second item to be configured in the target information template; the first item to be configured corresponds to the target configuration information, and the second item to be configured corresponds to the target content information;
a parameter sequence input unit configured to perform input of the input parameter sequence into the target information template, generating the target push information.
In an exemplary embodiment, the push condition configuration information includes first link information; the first link information is used for accessing the list information of the object to be pushed;
the target push information generating unit comprises:
a first generating unit, configured to perform configuration on the target template information based on the first link information and the push content information, so as to obtain the target push information; the target push information can be pushed to the object to be pushed.
In an exemplary embodiment, the push content information includes second link information; the second link information is used for accessing the detail information of the pushed content;
the target push information generating unit comprises:
a second generating unit, configured to perform configuration on the target information template based on the push condition configuration information and the second link information, so as to obtain target push information; wherein the push content detail information is accessible based on the targeted push information.
In an exemplary embodiment, the push condition configuration information includes target age information of the target push information;
the device further comprises:
an information pushing unit configured to perform pushing of the target pushing information based on the target aging information.
In an exemplary embodiment, the apparatus further comprises:
a push information identifier sending unit configured to perform determining a push information identifier corresponding to the target push information, and send the push information identifier to the target terminal;
an information updating request receiving unit configured to perform receiving of an information updating request transmitted by the target terminal; the information updating request comprises the push information identifier and information to be updated;
a to-be-updated configuration item determining unit configured to determine a to-be-updated configuration item corresponding to the to-be-updated information based on the push information identifier;
and 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.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing the processor-executable instructions; wherein the processor is configured to execute the instructions to implement the push information generation method as described above.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium, wherein instructions, when executed by a processor of a server, enable the server to perform the push information generation method as described above.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a computer program product, the computer program product comprising a computer program, the computer program being stored in a readable storage medium, from which at least one processor of a computer device reads and executes the computer program, so that the device performs the above-mentioned push information generation method.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
in the method, when an information template calling request of a target terminal is received, a corresponding target information template is loaded; and configuring the target information template based on the pushing condition configuration information and the pushing content information in the information template calling request to obtain the target pushing information. According to the method and the device, after the information template calling request is received, the target information template can be automatically loaded, and the information contained in the information template calling request is adopted to configure the target information template to obtain the target push information, so that the condition that corresponding push information needs to be generated through manual configuration is avoided, and the efficiency of push information generation is improved; in addition, the target push information can be generated based on the corresponding template, so that possible errors in the process of manually generating the push information are avoided, and the accuracy of push information generation is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a schematic diagram of an implementation environment shown in accordance with an exemplary embodiment.
Fig. 2 is a flowchart illustrating a push information generation method according to an exemplary embodiment.
Fig. 3 is a flowchart illustrating a method for generating targeted push information based on formatted input information, according to an example embodiment.
Fig. 4 is a flowchart illustrating a method for generating targeted push information based on a sequence of input parameters, according to an example embodiment.
Fig. 5 is a flowchart illustrating another push information generation method according to an example embodiment.
Fig. 6 is a flowchart illustrating yet another push information generation method according to an example embodiment.
Fig. 7 is a flowchart illustrating an information pushing method according to an exemplary embodiment.
Fig. 8 is a flowchart illustrating a target push information update method according to an example embodiment.
Figure 9 is a schematic diagram illustrating a process flow for advertisement creation according to an exemplary embodiment.
Fig. 10 is a schematic diagram illustrating a push information generating apparatus according to an example embodiment.
Fig. 11 is a schematic diagram illustrating an electronic device structure according to an exemplary embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in other sequences than those illustrated or described herein. The implementations described in the exemplary embodiments below do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
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 presentation, analyzed data, etc.) referred to in the present disclosure are information and data authorized by the user or sufficiently authorized by each party.
Referring to fig. 1, a schematic diagram of an implementation environment provided by an embodiment of the disclosure is shown, where the implementation environment may include: at least one target terminal 110 and a push information service terminal 120, wherein the target terminal 110 and the push information service terminal 120 can perform data communication through a network.
Specifically, the target terminal 110 sends a push information generation request to the push information service end 120 according to a requirement, and the push information service end 120 generates corresponding target push information based on the push information generation request; the push information service end 120 returns the target push information or the push information generation result to the target terminal 110.
The target terminal 110 may communicate with the push information service 120 based on Browser/Server (B/S) mode or Client/Server (C/S) mode. The target terminal 110 may include: the physical devices may also include software running in the physical devices, such as application programs and the like. The operating system running on the target terminal 110 in the embodiment of the present disclosure may include, but is not limited to, an android system, an IOS system, linux, windows, and the like.
The push message server 120 and the target terminal 110 may establish a communication connection through a wired or wireless connection, and the push message server 120 may include a server operating independently, or a distributed server, or a server cluster composed of multiple servers, where the server may be a cloud server.
In order to solve the problem of low efficiency of generating push information in the related art, an embodiment of the present disclosure provides a method for generating push information, where an execution subject of the method may be the push information server in fig. 1, please refer to fig. 2, and the method specifically includes:
s210, receiving an information template calling request of a target terminal; the information template calling request comprises a template identifier to be called, pushing condition configuration information and pushing content information.
In an optional embodiment, the push information server may generate a push information template corresponding to each service type and a template identifier of each type of push information template in advance based on various service scene requirements; so that the corresponding template can be searched and called based on the template identification. In addition, the generated template identifier can be sent to the target terminal, so that the target terminal can initiate an information template calling request based on the service requirement, and the template identifier to be called carried in the information template calling request can indicate the pushed information template to be called.
In a specific embodiment, common parameters of each type of pushed information template may be configured; the common parameters of each type of the push information template can comprise push condition information, an effective period, effective time and the like of the type of the push information template; further, each type of information template may not set corresponding public parameters, and the template parameters to be configured may be obtained from an information template call request sent by the target terminal.
In an alternative embodiment, the push condition configuration information may be used to characterize that the generated target push information can be pushed if the first condition is met, and/or to push the target push information to an object meeting the second condition.
In a specific embodiment, the push content information may be information capable of characterizing the purpose of pushing, and the push content information may specifically include one or more of text information, image information, and video information; specifically, for the push information of the notification class, the push content information may generally include a segment of text information, i.e. the purpose of notification can be achieved; for the operation guidance push information, the push content information may include image information or video information, so that the pushed object may perform a corresponding operation based on the operation guidance image or the operation guidance video in the push information.
And S220, loading a target information template corresponding to the template identifier to be called.
The generated push information templates of each type may be stored in the template database, or may be stored in the push information server, and the embodiment of the present disclosure is not limited in particular, and the storage location of the push information template may be determined according to a specific implementation situation, or in a case that the push information template is already stored, the storage location of the already stored push information template may be migrated. For example, in order to increase the template loading speed and save network transmission resources, the pushed information template may be stored in the pushed information server, or the pushed information template stored in the database may be migrated to the pushed information server; in order to improve the processing efficiency of the push information server and avoid excessive memory occupation, the push information template can be stored in the database or migrated from the push information server to the database. Therefore, the push information server can directly load the target information template from the local, and can also load the target information template from the database.
And S230, configuring the target information template based on the push condition configuration information and the push content information to obtain target push information.
In an example, a corresponding target information template may be determined based on a template identifier to be called in the information template calling request, and then the target information template is loaded, so that the target information template is subsequently configured based on the pushing condition in the information template calling request, and the pushing content information performs parameter configuration on the target information template, and the pushing content is filled, so as to obtain the target pushing information.
According to the method and the device, after the information template calling request is received, the target information template can be automatically loaded, and the information contained in the information template calling request is adopted to configure the target information template to obtain the target push information, so that the condition that corresponding push information needs to be generated through manual configuration is avoided, and the efficiency of push information generation is improved; in addition, the target push information can be generated based on the corresponding template, so that possible errors in the process of manually generating the push information are avoided, and the accuracy of push information generation is improved.
In an example, please refer to fig. 3, which illustrates a method for generating target push information based on input information of format conversion, the method may include:
and S310, converting the format of the push condition configuration information to obtain target configuration information.
And S320, converting the format of the pushed content information to obtain target content information.
S330, the target configuration information and the target content information are transmitted into the target information template to obtain the target push information.
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 that format conversion is required before the target information template is configured to obtain the input information in the target format.
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, format conversion may be performed on the information that does not conform to the target format, and format conversion is not necessarily performed on all information sent by the target terminal.
In an 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, and it needs to be converted into a time expression in the target format, that is, 20211201.
In another 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, size conversion needs to be performed on the image information included in the pushed content information, so as 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 the image information contained in the pushed content information needs to be subjected to image format conversion to obtain the image information in the target image format.
The target configuration information and the target content information in the target format are obtained by performing corresponding format conversion on the push condition configuration information and the push content information sent by the target terminal, and the information in the target format is input into the target information template because the information in the target format meets the preset processing standard, so that the efficiency of configuring the target information template can be improved, the condition of template configuration failure caused by format non-support or format error is avoided, and the efficiency and the accuracy of generating the target push information are improved.
In another example, please refer to fig. 4, which illustrates a method for generating targeted push information based on an input parameter sequence, which may include:
s410, generating 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 item to be configured and a second item to be configured in the target information template; the first item to be configured corresponds to the target configuration information, and the second item to be configured corresponds to the target content information.
And S420, inputting the input parameter sequence into the target information template to generate the target push information.
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; the information fusion processing specifically includes splicing target configuration information and target content information, and distinguishing between the target configuration information and the target content information through separators to obtain an input parameter sequence; one specific input parameter sequence may be { target configuration information; target content information }.
Further, the sequence of the target configuration information and the target content information in the input parameter sequence may be determined based on the to-be-configured sequence of the first to-be-configured item and the second to-be-configured item in the target information template, and for each to-be-configured item in the target information template, the configuration information corresponding to each to-be-configured item may be sequentially determined from the input parameter sequence.
In another optional embodiment, formats of the respective information to be configured and received in the target information template may be different, and each item of 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.
Therefore, the input parameter sequence is generated based on the target configuration information and the target content information, and the target information template is configured based on the input parameter sequence, so that the template configuration efficiency and the template configuration accuracy can be improved.
In an optional embodiment, the push condition configuration information may include first link information; the first link information is used for accessing the list information of the object to be pushed; accordingly, referring to fig. 5, another push information generation method is shown, which may include:
s510, receiving an information template calling request of a target terminal; the information template calling request comprises a template identifier to be called, first link information and push content information.
S520, loading a target information template corresponding to the template identifier to be called.
S530, configuring 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.
Specifically, the pushing condition configuration information may be used to indicate information of the object to be pushed, and in the case that the number of the object to be pushed is small, the corresponding pushing condition configuration information may be directly generated based on the object identification information; when the number of the objects to be pushed is large, generating the pushing condition configuration information based on the object identification information may cause that the configuration information is too long and is prone to error, so that the corresponding relationship between the list information of the objects to be pushed and the first connection information can be established.
In a specific embodiment, the push information server can access specific webpage information through first link information, wherein the webpage information comprises list information of an object to be pushed; the storage path information can also be accessed through the first link information, and a list file is stored under the storage path, wherein the list file records the list information of the object to be pushed.
Therefore, the list information of the object to be pushed is acquired through the first link information, the problems of information sending errors and difficulty in receiving information caused by directly sending the identification of the object to be pushed can be avoided, the convenience and the accuracy of determining the object to be pushed are improved, and the accuracy of pushing the target push message is improved.
In another example, the push content information includes second link information; the second link information is used for accessing the pushed content detail information; accordingly, please refer to fig. 6, which illustrates yet another push information generation method, which may include:
s610, receiving an information template calling request of a target terminal; the information template calling request comprises a template identifier to be called, pushing condition configuration information and second link information.
And S620, loading a target information template corresponding to the template identifier to be called.
S630, configuring the target information template based on the pushing condition configuration information and the second link information to obtain target pushing information; wherein the push content detail information is accessible based on the targeted push information.
In a particular embodiment, in an activity push scenario, the second linking information may be used to access activity specific detail information; for the operation guidance scene, the second link information can be used for accessing specific operation step information and the like; the content detail information is difficult to add to the pushed content information in an image-like manner, and the link information corresponding to the content detail information is used as the pushed content information, so that on one hand, the convenience of pushed content generation can be improved, the pushed information server can directly configure the link information into the target information template based on the link information without additionally adding other information, and the template configuration efficiency is also improved; on the other hand, the generated target push information contains the link information, and the corresponding content detail information can be accessed by clicking the link information in the target push information, so that the comprehensive push of the content detail information is realized.
In an embodiment, please refer to fig. 7, which illustrates an information pushing method, which may include:
s710, receiving an information template calling request of a target terminal; the information template calling request comprises a template identification to be called, target timeliness information and push content information.
And S720, loading a target information template corresponding to the template identifier to be called.
And S730, configuring the target information template based on the target timeliness information and the push content information to obtain target push information.
And S740, pushing the target pushing information based on the target aging information.
The details of the steps S710-S730 can refer to the above description of this embodiment, and are not described herein again.
In addition, the target aging information may include an effective time of the target push information or an effective period of the target push information; therefore, corresponding target timeliness information can be configured based on actual requirements, and the flexibility and diversity of target push information push are improved.
In one example, after the target information template is configured based on the target timeliness information, the correspondingly generated target push information has corresponding target timeliness information, and the target push information can be pushed by the push information server under the condition that the target timeliness information is met; furthermore, 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.
In an alternative embodiment, please refer to fig. 8, which illustrates a target push information update method, which may include:
s810, determining a push information identifier corresponding to the target push information, and sending the push information identifier to the target terminal.
S820, receiving an information updating request sent by the target terminal; the information updating request comprises the pushed information identification and information to be updated.
S830, based on the push information identification, determining a configuration item to be updated corresponding to the information to be updated.
S840, updating the configuration item to be updated in the target push information based on the information to be updated, and obtaining updated target push information.
For a target terminal, the information template calling request may have been sent before, the push information server has generated corresponding target push information, and returns a 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 may be to update the object to be pushed, or update the push content link, etc.; an information updating request can be sent to the information pushing server through the target terminal, information to be updated is carried, information items which are not updated are set to be empty, and information items to be updated are set to be 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 }, for the update of information item B, the corresponding information update request includes: and { null, information item to be updated B, null } so that the push information server, upon receiving the { null, information item to be updated B, null } in the information update request, can update the item to be configured corresponding to the information item B in the target push information, to obtain updated target push information.
Therefore, when the information updating amount of the target push information is less, the information updating request can be sent and the information to be updated is carried, so that the extra calculation amount caused by regenerating the target push information is avoided, the calculation resource is saved, and the generation efficiency of the target push information is improved.
A specific implementation flow of the present disclosure is described below by taking an announcement creation scenario as an example, please refer to fig. 9, which shows an announcement creation processing flow, which specifically includes:
1. the announcement service creates an announcement template in advance for the unified service type announcement and configures common parameters.
2. And the service party acquires the unique identifier of the notice template from the operator, calls a notice creation interface provided by the notice service, and transmits the template ID and the user-defined parameters according to the service requirement.
3. The announcement service reads the corresponding announcement template data, fills the service side custom data, and generates the announcement.
4. And pushing the announcement to a front-end page after the announcement takes effect, so as to realize user touch.
According to the method, the operator configures the bulletin templates with the same type and the commonality in advance, the business side self-defined parameters call the bulletin creation interface to create the bulletins, the bulletins automatically take effect and touch according to the effective time setting, and the manpower waste on the bulletin creation due to the cooperation of the operator with various services is greatly reduced.
Fig. 10 is a diagram illustrating a push information generating apparatus according to an exemplary embodiment, including:
a template call request receiving unit 1010 configured to perform receiving an information template call request of a target terminal; the information template calling request comprises a template identifier to be called, pushing condition configuration information and pushing content information;
a template loading unit 1020 configured to load a target information template corresponding to the template identifier to be called;
a target push information generating unit 1030 configured to perform configuration on the target information template based on the push condition configuration information and the push content information, so as to obtain target push information.
In an exemplary embodiment, the target push information generating unit 1030 includes:
the first format conversion unit is configured to perform format conversion on the push condition configuration information to obtain target configuration information;
the second format conversion unit is configured to perform format conversion on the pushed content information to obtain target content information;
and the information transmitting unit is configured to transmit the target configuration information and the target content information into the target information template to obtain the target push information.
In an exemplary embodiment, the information introduction unit includes:
a parameter sequence generating unit configured to perform generating 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 item to be configured and a second item to be configured in the target information template; the first item to be configured corresponds to the target configuration information, and the second item to be configured corresponds to the target content information;
a parameter sequence input unit configured to perform input of the input parameter sequence into the target information template, generating the target push information.
In an exemplary embodiment, the push condition configuration information includes first link information; the first link information is used for accessing the list information of the object to be pushed;
the target push information generating unit 930 includes:
a first generating unit, configured to perform configuration on the target template information based on the first link information and the push content information, so as to obtain the target push information; the target push information can be pushed to the object to be pushed.
In an exemplary embodiment, the push content information includes second link information; the second link information is used for accessing the detail information of the pushed content;
the target push information generating unit 1030 includes:
a second generating unit, configured to perform configuration on the target information template based on the push condition configuration information and the second link information, so as to obtain target push information; wherein the push content detail information is accessible based on the targeted push information.
In an exemplary embodiment, the push condition configuration information includes target age information of the target push information;
the device further comprises:
an information pushing unit configured to perform pushing of the target pushing information based on the target aging information.
In an exemplary embodiment, the apparatus further comprises:
a push information identifier sending unit configured to perform determining a push information identifier corresponding to the target push information, and send the push information identifier to the target terminal;
an information updating request receiving unit configured to perform receiving of an information updating request transmitted by the target terminal; the information updating request comprises the push information identifier and information to be updated;
a to-be-updated configuration item determining unit configured to determine a to-be-updated configuration item corresponding to the to-be-updated information based on the push information identifier;
and 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.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
In an exemplary embodiment, there is also provided a computer readable storage medium comprising instructions, which may alternatively be ROM, Random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, and the like; the instructions in the computer readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform any of the methods described above.
In an exemplary embodiment, there is also provided a computer program product comprising a computer program stored in a readable storage medium, from which at least one processor of a computer device reads and executes the computer program, causing the device to perform any of the methods described above.
Referring to fig. 11, the apparatus 1100 may have a large difference due to different configurations or performances, and may include one or more Central Processing Units (CPUs) 1122 (e.g., one or more processors) and a memory 1132, and one or more storage media 1130 (e.g., one or more mass storage devices) storing an application program 1142 or data 1144. Memory 1132 and storage media 1130 may be, for example, transitory or persistent storage. The program stored on the storage medium 1130 may include one or more modules (not shown), each of which may include a sequence of instructions operating on the device. Further, the central processor 1122 may be provided in communication with the storage medium 1130 for execution on the device 1100A series of instructions in the storage medium 1130 operate. The apparatus 1100 may also include one or more power supplies 1126, one or more wired or wireless network interfaces 1150, one or more input-output interfaces 1158, and/or one or more operating systems 1141, such as a Windows Server TM ,Mac OS X TM ,Unix TM ,Linux TM ,FreeBSD TM And so on. Any of the methods described above in this embodiment can be performed based on the apparatus shown in fig. 11.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A method for generating push information, comprising:
receiving an information template calling request of a target terminal; the information template calling request comprises a template identifier to be called, pushing condition configuration information and pushing content information;
loading a target information template corresponding to the template identifier to be called;
and configuring the target information template based on the push condition configuration information and the push content information to obtain target push information.
2. The method of claim 1, wherein the configuring the target information template based on the push condition configuration information and the push content information to obtain target push information comprises:
carrying out format conversion on the push condition configuration information to obtain target configuration information;
carrying out format conversion on the pushed content information to obtain target content information;
and transmitting the target configuration information and the target content information into the target information template to obtain the target push information.
3. The method of claim 2, wherein the importing the target configuration information and the target content information into the target information template to obtain the target push information comprises:
generating 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 item to be configured and a second item to be configured in the target information template; the first item to be configured corresponds to the target configuration information, and the second item to be configured corresponds to the target content information;
and inputting the input parameter sequence into the target information template to generate the target push information.
4. The method of claim 1, wherein the push condition configuration information comprises first linking information; the first link information is used for accessing the list information of the object to be pushed;
the configuring the target information template based on the push condition configuration information and the push content information to obtain target push information includes:
configuring the target template information based on the first link information and the pushed content information to obtain the target pushed information; the target push information can be pushed to the object to be pushed.
5. The method of claim 1, wherein the push content information comprises second link information; the second link information is used for accessing the detail information of the pushed content;
the configuring the target information template based on the push condition configuration information and the push content information to obtain target push information includes:
configuring 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 is accessible based on the targeted push information.
6. The method of claim 1, wherein the push condition configuration information comprises target age 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, and the step of configuring the target information template further comprises the following steps:
and pushing the target pushing information based on the target aging information.
7. A push information generating apparatus, comprising:
a template calling request receiving unit configured to execute receiving of an information template calling request of a target terminal; the information template calling request comprises a template identifier to be called, pushing condition configuration information and pushing content information;
the template loading unit is configured to load a target information template corresponding to the template identifier to be called;
and 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 target push information.
8. An electronic device, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the push information generation method of any one of claims 1 to 6.
9. A computer-readable storage medium, wherein instructions in the computer-readable storage medium, when executed by a processor of an electronic device, enable the electronic device to perform the push information generation method of any of claims 1 to 6.
10. A computer program product comprising computer programs/instructions, characterized in that the computer programs/instructions, when executed by a processor, implement the push information generation method of any of claims 1 to 6.
CN202210440449.4A 2022-04-25 2022-04-25 Push information generation method and device, electronic equipment and storage medium Pending CN115062595A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210440449.4A CN115062595A (en) 2022-04-25 2022-04-25 Push information generation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210440449.4A CN115062595A (en) 2022-04-25 2022-04-25 Push information generation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115062595A true CN115062595A (en) 2022-09-16

Family

ID=83196758

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210440449.4A Pending CN115062595A (en) 2022-04-25 2022-04-25 Push information generation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115062595A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227786A (en) * 2016-07-19 2016-12-14 百度在线网络技术(北京)有限公司 Method and apparatus for pushed information
CN108304201A (en) * 2017-09-14 2018-07-20 腾讯科技(深圳)有限公司 Object updating method, device and equipment
CN111327519A (en) * 2020-02-17 2020-06-23 北京四信数字技术有限公司 Method, device, equipment and storage medium for sending multi-channel message content
CN112015979A (en) * 2020-07-24 2020-12-01 上海淇玥信息技术有限公司 Method and device for sending information to target crowd and electronic equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106227786A (en) * 2016-07-19 2016-12-14 百度在线网络技术(北京)有限公司 Method and apparatus for pushed information
CN108304201A (en) * 2017-09-14 2018-07-20 腾讯科技(深圳)有限公司 Object updating method, device and equipment
CN111327519A (en) * 2020-02-17 2020-06-23 北京四信数字技术有限公司 Method, device, equipment and storage medium for sending multi-channel message content
CN112015979A (en) * 2020-07-24 2020-12-01 上海淇玥信息技术有限公司 Method and device for sending information to target crowd and electronic equipment

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
人人都是产品经理: "消息通知系统设计", pages 1 - 10, Retrieved from the Internet <URL:https://baijiahao.baidu.com/s?id=1698817735611796634&wfr=spider&for=pc> *
飞鸭传书: "Android创建通知和更新通知的简单实现方法", pages 1 - 7, Retrieved from the Internet <URL:https://blog.csdn.net/jppipai/article/details/122864465> *

Similar Documents

Publication Publication Date Title
CN111786939B (en) Method, device and system for testing management platform of Internet of things
CN113839977A (en) Message pushing method and device, computer equipment and storage medium
CN113076729B (en) Method and system for importing report, readable storage medium and electronic equipment
US20220171011A1 (en) Positioning method and device, server, storage medium and terminal
CN114816499A (en) Electronic resource sharing method and device and storage medium
CN114448719B (en) Message interaction method, device and system
CN113779422B (en) Method and device for realizing relationship chain label, electronic equipment and storage medium
CN116974948B (en) Service system testing method, system, equipment and medium
CN111901308B (en) Information interaction method
CN113590354A (en) Block chain-based information push method, apparatus, device, medium, and program product
CN115951923B (en) Subscription event management method, display system, device and storage medium
CN112052105A (en) Interface calling method and device, electronic equipment and computer readable medium
CN113127335A (en) System testing method and device
CN110825538A (en) MQ-based method for dynamically interacting data by self-defining data types
CN113472850B (en) Link data acquisition method, device, system, electronic equipment and storage medium
CN115062595A (en) Push information generation method and device, electronic equipment and storage medium
CN112187916B (en) Cross-system data synchronization method and device
CN113900764A (en) Page data acquisition method, page data display method and device
CN113326060A (en) Service request processing method, device and system and service configuration method and device
US11799982B2 (en) Message push method, apparatus, device and medium
CN115086425B (en) Message transmission method, device, program product, medium and electronic equipment
CN113031960B (en) Code compiling method, device, server and storage medium
CN111090485B (en) Multi-cluster-oriented help data processing method and device, medium and equipment
CN110875950B (en) Method and equipment for allocating resources and drawing resources
CN113947434A (en) Business processing method and device for multi-business component combination scene

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination