CN112733516B - Method, device, equipment and storage medium for processing quick message - Google Patents

Method, device, equipment and storage medium for processing quick message Download PDF

Info

Publication number
CN112733516B
CN112733516B CN202011632639.3A CN202011632639A CN112733516B CN 112733516 B CN112733516 B CN 112733516B CN 202011632639 A CN202011632639 A CN 202011632639A CN 112733516 B CN112733516 B CN 112733516B
Authority
CN
China
Prior art keywords
quick message
target
message
content
quick
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.)
Active
Application number
CN202011632639.3A
Other languages
Chinese (zh)
Other versions
CN112733516A (en
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.)
Jingdong Technology Holding Co Ltd
Original Assignee
Jingdong Technology Holding 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 Jingdong Technology Holding Co Ltd filed Critical Jingdong Technology Holding Co Ltd
Priority to CN202011632639.3A priority Critical patent/CN112733516B/en
Publication of CN112733516A publication Critical patent/CN112733516A/en
Application granted granted Critical
Publication of CN112733516B publication Critical patent/CN112733516B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management

Landscapes

  • Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Tourism & Hospitality (AREA)
  • Health & Medical Sciences (AREA)
  • Operations Research (AREA)
  • Marketing (AREA)
  • General Business, Economics & Management (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • Quality & Reliability (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application provides a method, a device, equipment and a storage medium for processing a quick message, wherein the quick message generation request comprises the following steps: the identification of the target quick message template comprises: and the fixed part and the editable part are used for generating a target quick message according to the target quick message content, the editable part and the fixed part of the target quick message template and pushing the target quick message. According to the technical scheme, the target quick news can be automatically generated and released based on the target quick news template and the target quick news content, modification, typesetting and auditing by professionals are not needed, the quick news generation efficiency is improved, the cost of manpower and material resources is reduced, and the timeliness is improved.

Description

Method, device, equipment and storage medium for processing quick message
Technical Field
The embodiment of the application relates to the technical field of internet, in particular to a method, a device, equipment and a storage medium for processing a quick message.
Background
With the rapid development of network technology, information can enable news events in the current society to spread rapidly and provide a way for users to have reference value in time. The information content is wide, and the information content covers different aspects such as fresh interest, life information, sports events, entertainment reports and the like, so that the information is a way for people to know social dynamics in time.
In the prior art, the information is usually completed cooperatively by a professional production team, namely valuable news facts are found and mined and written by a professional reporter, modification and typesetting are carried out by a professional editor, and finally the information is audited and signed by a master editor, so that the produced information is obtained.
In the process of implementing the present invention, the inventor finds that at least the following problems exist in the prior art: the existing information needs professional editing team to make, so that the time is long, the labor cost is high, the completion time is uncertain, and the timeliness cannot be guaranteed.
Disclosure of Invention
The embodiment of the application provides a method, a device, equipment and a storage medium for processing a quick message, which are used for solving the problems of time and labor waste and incapability of guaranteeing timeliness in the existing information production.
In a first aspect, an embodiment of the present application provides a method for processing a quick message, including:
obtaining a quick message generation request, wherein the quick message generation request comprises the following steps: and identifying a target quick message template, wherein the target quick message template comprises: a fixed portion and an editable portion;
generating a target quick message according to the target quick message content, the editable part and the fixed part of the target quick message template;
Pushing the target quick message.
In one possible design of the first aspect, the generating the target flash according to the target flash content, the editable portion and the fixed portion of the target flash template includes:
displaying the target quick message template through a user operation interface;
receiving the target quick message content input by a quick message processor in an editable part of the target quick message template;
and generating the target quick message according to the target quick message content and the fixed part of the target quick message template.
Optionally, after the generating the target flash according to the target flash content and the fixed portion of the target flash template, the method further includes:
judging whether the target quick message meets the release requirement or not;
and when the target quick message does not meet the release requirement, outputting a content modification prompt through the user operation interface until the generated target quick message meets the release requirement, wherein the content modification prompt is used for prompting the quick message processor to modify the content input by the editable part.
In another possible design of the first aspect, the generating the target flash according to the target flash content, the editable portion and the fixed portion of the target flash template includes:
Periodically acquiring data to be distributed from at least one data source;
processing the data to be distributed to determine the target quick message content;
filling the target quick message content into an editable part of the target quick message template;
and integrating the target quick message content with the fixed part of the target quick message template to generate the target quick message.
In yet another possible design of the first aspect, before the obtaining the request for generating the flash, the method further includes:
acquiring a historical rapid message set, wherein the historical rapid message set comprises: at least two historical fast messages with different fast message types;
performing content processing and attribute labeling on each historical quick message, and generating a quick message template corresponding to each historical quick message;
obtaining a quick message template set according to the quick message templates respectively corresponding to the at least two historical quick messages, wherein the quick message template set comprises: the target quick message template;
and storing the quick message template set.
Optionally, the content processing and attribute labeling are performed on each historical quick message, and the generation of the quick message template corresponding to each historical quick message includes:
analyzing the content included in each historical quick message to determine the fixed content and the replaceable content in each historical quick message;
Retaining fixed content in each historical quick message, deleting replaceable content in each historical quick message, and determining a quick message base template corresponding to each historical quick message;
and adding a unique template identifier to each quick message base template, and adding attribute information to generate a quick message template corresponding to each historical quick message.
In a second aspect, an embodiment of the present application provides a fast signal processing device, including: the device comprises an acquisition module, a processing module and a pushing module;
the obtaining module is configured to obtain a request for generating a quick message, where the request for generating a quick message includes: and identifying a target quick message template, wherein the target quick message template comprises: a fixed portion and an editable portion;
the processing module is used for generating a target quick message according to the target quick message content, the editable part and the fixed part of the target quick message template;
the pushing module is used for pushing the target quick message.
In one possible design of the second aspect, the processing module is specifically configured to:
displaying the target quick message template through a user operation interface;
receiving the target quick message content input by a quick message processor in an editable part of the target quick message template;
and generating the target quick message according to the target quick message content and the fixed part of the target quick message template.
Optionally, the processing module is further configured to determine whether the target quick response meets a release requirement after the target quick response is generated according to the target quick response content and the fixed portion of the target quick response template, and output a content modification prompt through the user operation interface when the target quick response does not meet the release requirement until the generated target quick response meets the release requirement, where the content modification prompt is used to prompt the quick response processor to modify the content input by the editable portion.
In another possible design of the second aspect, the processing module is specifically configured to:
periodically acquiring data to be distributed from at least one data source;
processing the data to be distributed to determine the target quick message content;
filling the target quick message content into an editable part of the target quick message template;
and integrating the target quick message content with the fixed part of the target quick message template to generate the target quick message.
In yet another possible design of the second aspect, the obtaining module is further configured to obtain a historical rapid set, where the historical rapid set includes: at least two historical fast messages with different fast message types;
The processing module is further configured to perform content processing and attribute labeling on each historical quick message, generate a quick message template corresponding to each historical quick message, and obtain a quick message template set according to the quick message templates corresponding to at least two historical quick messages respectively, where the quick message template set includes: the target quick message template and the quick message template set are stored.
Optionally, the processing module is configured to perform content processing and attribute labeling on each historical quick message, and generate a quick message template corresponding to each historical quick message, where the quick message template specifically includes:
the processing module is specifically configured to:
analyzing the content included in each historical quick message to determine the fixed content and the replaceable content in each historical quick message;
retaining fixed content in each historical quick message, deleting replaceable content in each historical quick message, and determining a quick message base template corresponding to each historical quick message;
and adding a unique template identifier to each quick message base template, and adding attribute information to generate a quick message template corresponding to each historical quick message.
In a third aspect, embodiments of the present application provide an electronic device, including a processor, a memory, and a computer program stored on the memory and executable on the processor, where the processor executes the program to implement the method according to the first aspect and each possible design described above.
In a fourth aspect, embodiments of the present application provide a computer-readable storage medium having stored therein computer instructions which, when executed by a processor, are configured to implement a method as described in the first aspect and each possible design.
In a fifth aspect, embodiments of the present application provide a computer program product comprising: computer instructions for implementing the method according to the first aspect and each possible design described above when executed by a processor.
The embodiment of the application provides a method, a device, equipment and a storage medium for processing a quick message, wherein the quick message generation request comprises the following steps: the identification of the target quick message template comprises: and the fixed part and the editable part are used for generating a target quick message according to the target quick message content, the editable part and the fixed part of the target quick message template and pushing the target quick message. According to the technical scheme, the target quick news can be automatically generated and released based on the target quick news template and the target quick news content, modification, typesetting and auditing by professionals are not needed, the quick news generation efficiency is improved, the cost of manpower and material resources is reduced, and the timeliness is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic application scenario diagram of a method for processing a quick message according to an embodiment of the present application;
FIG. 2 is a flowchart of a first embodiment of a method for processing a short message according to an embodiment of the present application;
FIG. 3 is a flowchart illustrating a second embodiment of a method for processing a short message according to the present embodiment;
fig. 4 is a schematic flow chart of a third embodiment of a method for processing a short message according to the embodiment of the present application;
fig. 5 is a flowchart of a fourth embodiment of a method for processing a short message according to the embodiment of the present application;
fig. 6 is a schematic structural diagram of an embodiment of a fast-message processing apparatus according to an embodiment of the present application;
fig. 7 is a schematic structural diagram of an embodiment of an electronic device according to an embodiment of the present application.
Specific embodiments of the present disclosure have been shown by way of the above drawings and will be described in more detail below. These drawings and the written description are not intended to limit the scope of the disclosed concepts in any way, but rather to illustrate the disclosed concepts to those skilled in the art by reference to specific embodiments.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples are not representative of all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of the present disclosure as detailed in the accompanying claims.
Information is a carrier for rapidly spreading news events in the current society, and is a way for people to know social dynamics in time. At present, the production of information is usually completed by professional production team cooperation, specifically, valuable news facts are found and mined by professional journalists and written, modification and typesetting are carried out by professional editors, and finally, the produced information is obtained through verification and signature by a master editor. However, this scheme is laborious and laborious, and the timeliness of the information cannot be guaranteed.
To solve this problem, the inventors of the present application found that: and carrying out content processing and attribute marking on each historical quick message in the historical quick message set authenticated by the expert to obtain and store a quick message template set corresponding to the historical quick message set, and then generating and publishing a target quick message based on a target quick message template selected by a quick message processor and target quick message content to be published when a quick message generation request is received. Because the fixed part of the quick message template comprises the fixed part and the editable part, professional editors are not required to modify and typeset, the target quick message can be quickly and accurately generated, the quick message generation efficiency is improved, the cost of manpower and material resources is reduced, and the timeliness is improved.
Fig. 1 is a schematic application scenario diagram of a method for processing a quick message according to an embodiment of the present application. As shown in fig. 1, the application scenario diagram may include: a fast message processing device 11. Optionally, the rapid message processing device 11 may store a pre-generated rapid message template set, which can lay a foundation for automatic generation of subsequent rapid messages.
For example, the fast-message processing device 11 may have a user operation interface 110, through which the fast-message generation request of the fast-message processor 10 may be obtained, and based on the identification of the target fast-message template included in the fast-message generation request, the target fast-message template may be located, and then the target fast-message content to be published may be obtained, and further the target fast-message may be generated and pushed by using the fixed portion and the editable portion of the target fast-message template and the target fast-message content, so as to implement the publishing of the fast-message.
In one possible design of the embodiment of the present application, the fast-message processing device 11 may obtain, through the user operation interface 110, the target fast-message content input by the fast-message processing person 10, and specifically, when the fast-message processing device 11 displays the target fast-message template through the user operation interface 110, the target fast-message content input by the fast-message processing person in the editable portion of the target fast-message template may be obtained.
In another possible design of the embodiment of the present application, the application scenario schematic diagram may further include: at least one data platform (data platform 121 and data platform 122 are exemplarily shown in fig. 1) interfacing with the flash processing device 11. Thus, the fast-message processing device 11 can obtain the data to be distributed from each data platform, process the data to obtain the target fast-message content, and finally automatically fill the target fast-message content into the editable part of the target fast-message template, thereby generating the target fast-message.
It should be understood that, in this embodiment, the quick message processing device 11 may be used as a tool for data analysis and processing, after the quick message generation request is obtained, determine the target quick message template, and fill the target quick message content into the editable portion of the target quick message template after the target quick message content is obtained, so as to generate and push out the target quick message. For example, when the short message processing device 11 has a man-machine interface, the short message processing device is displayed through the man-machine interface of its own, or pushed to other devices (target terminal device and/or other servers).
In addition, the short message processing device 11 may further interact with other devices after obtaining the target short message. Alternatively, the short message processing apparatus 11 may be communicatively connected to at least one terminal apparatus (terminal apparatus 131, terminal apparatus 132, and terminal apparatus 133 are shown in fig. 1), or the like. The short message processing device 11 can send the generated target short message to one or more terminal devices, so that the user can know the current news information in time to provide various news information for the user.
In this embodiment, the quick message processing device may be implemented by a terminal device or may be implemented by a server, which is not limited herein.
It can be understood that the embodiment of the present application does not limit the devices included in the application scenario schematic, and may be added or deleted according to the actual scenario, which is not described herein.
The following describes the technical solutions of the present application and how the technical solutions of the present application solve the above technical problems in detail with specific embodiments. The following embodiments may be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a flowchart of a first embodiment of a method for processing a short message according to an embodiment of the present application. The method is illustrated by the short message handling device shown in fig. 1. As shown in fig. 2, the method for processing a flash message may include the following steps:
s201, acquiring a quick message generation request, wherein the quick message generation request comprises the following steps: the identification of the target quick message template comprises: a fixed portion and an editable portion.
In the embodiment of the application, when a request for generating the quick message exists, the related personnel can send the quick message generating request to the quick message processing equipment so that the quick message processing equipment executes the quick message processing process.
Optionally, a set of fast-message templates including a plurality of fast-message templates may be stored in the fast-message processing device in advance, and related personnel in fast-message processing may select a target fast-message template from the set of fast-message templates according to requirements, or the fast-message processing device may determine the target fast-message template based on a set rule and based on characteristics such as release time, so that the fast-message generation request includes an identifier of the target fast-message template.
In this step, each of the flash templates included in the flash template set stored in advance in the flash processing apparatus has a fixed portion and an editable portion. Wherein the fixed portion is typically a non-editable portion, e.g., comprising: types of the flash, properties of the flash, flash icons, flash typesetting, etc. The editable part is typically a part that can update or fill the content to be distributed, and may include, for example, distribution time, a quick news title, a picture to be distributed, brief information content, and the like. The embodiment is not limited to the specific contents of the fixed portion and the editable portion in the quick message template.
It will be appreciated that in this embodiment, different quick message templates may have different typesetting designs, different quick message materials, different quick message covers, etc., that is, different quick message templates may have different fixed portions and editable portions, which are not limited herein.
S202, generating the target quick message according to the target quick message content, the editable part and the fixed part of the target quick message template.
Optionally, when the quick message processing device locates the target quick message template based on the quick message generation request, the target quick message template can be analyzed first to determine an editable portion and a fixed portion included in the target quick message template, then the target quick message content is obtained based on different modes of the target quick message, and further the editable portion of the target quick message template is updated based on the target quick message content respectively, and when all the editable portions of the target quick message template are updated, the editable portion filled with the target quick message content and the fixed portion of the target quick message template are integrated, so that the target quick message is obtained.
The editable portion in the target quick message template may be updated by manually filling the target quick message content, or may be updated by automatically filling the target quick message content by a machine, which is not limited in this embodiment.
S203, pushing the target quick message.
In this step, the set of the pre-stored fast-message templates in the fast-message processing device may be audited, so that after the fast-message processing device generates the target fast-message based on the target fast-message content and the target fast-message template, the fast-message processing device may not need to be audited again, and may directly push the target fast-message, thereby completing the release of the target fast-message.
As an example, when the quick message processing device has a man-machine interaction interface, the quick message processing device is displayed through the man-machine interaction interface.
As another example, the flash processing device may be communicatively coupled to other devices. At this time, the short message processing device may push the generated target short message to a certain terminal device or certain terminal devices, so that the user may learn the current news information in time to provide various news information for the user, or push the generated target short message to a certain server, so that the servers further process the generated target short message.
The embodiment of the present application does not limit the pushing object of the target quick message, which can be determined according to the actual requirement, and is not described herein.
In this embodiment, the quick message processing device may also be a set of template management system, which has the functions of managing quick message templates, managing filling of editable part of contents in the quick message templates, and managing quick message distribution. The filling function of the editable part of the content in the management quick message template is mainly a management manual filling function, a management data source monitoring filling function and the like.
For example, the target quick message content may be a concentrated up-to-date information content in a reduced number of lines, and the format of the fixed part may include time, title, brief introduction, and picture, where the time may be updated according to the release time of the target quick message, and the title, brief, and picture have corresponding positions, which may be filled and updated when the target quick message is generated.
It can be understood that the fast messages issued by the fast message processing device can be arranged according to time description, can be automatically sent by 7/24, and has a certain time axis information so as to facilitate the public to know the front cause and the back cause of the fast message content.
According to the method for processing the quick message, the quick message generation request is obtained, and the quick message generation request comprises the following steps: the identification of the target quick message template comprises: and the fixed part and the editable part are used for generating a target quick message according to the target quick message content, the editable part and the fixed part of the target quick message template and pushing the target quick message. According to the technical scheme, the target quick news can be automatically generated and released based on the target quick news template and the target quick news content, modification, typesetting and auditing by professionals are not needed, the quick news generation efficiency is improved, the cost of manpower and material resources is reduced, and the timeliness is improved.
Alternatively, as can be seen from the content described in S202, there are various ways in which the target flash is generated by the flash processing device, for example, a way in which the target flash is manually filled, a way in which the target flash is automatically filled by the machine, and so on. Alternatively, the manner of manually filling the target quick content is described below by way of the embodiment shown in fig. 3, and the manner of automatically filling the target quick content by the machine is described by way of the embodiment shown in fig. 4.
In one possible design of the embodiment of the present application, fig. 3 is a schematic flow chart of a second embodiment of a method for processing a short message provided in the embodiment of the present application. As shown in fig. 3, in this embodiment, S202 described above may be implemented by the following steps:
s301, displaying a target quick message template through a user operation interface.
When receiving the request for generating the quick message and locating the target quick message template, the quick message processing device can take out and display the target quick message template on the user operation interface of the quick message processing device so as to be convenient for the quick message processing personnel to check and process the target quick message template.
S302, receiving target quick message contents input by quick message processing personnel in the editable part of the target quick message template.
In this embodiment, when the target quick message template is displayed by the quick message processing device through the user operation interface, the quick message processing personnel can edit the editable portion of the target quick message template, for example, input the target quick message content to be released in the editable portion, so that the quick message processing device can receive the target quick message content.
Optionally, the target quick message content may include: the title, picture, information, etc. are not limited herein.
S303, generating the target quick message according to the target quick message content and the fixed part of the target quick message template.
Optionally, in this embodiment, after receiving the target quick content, the quick processing device may integrate the target quick content with a fixed portion of the target quick template, thereby generating the target quick.
It will be appreciated that in this embodiment, the quick message processing apparatus needs to have a user operation interface, so that the quick message processing personnel can perform the filling operation on the editable portion of the target quick message template.
Further, in this embodiment, since the target quick message content is input by the quick message processor through the user operation interface, there may be a problem that the format is not proper, the content length is not proper, and the like, which does not meet the release requirement, so after S303, the method may further execute the following steps:
s304, judging whether the target quick message meets the release requirement, if so, executing S203, if not, executing S305, and then executing S302.
S305, outputting a content modification prompt through a user operation interface.
Optionally, in this embodiment, the quick message processing device may determine whether the generated target quick message meets the publishing requirement according to a preset determination rule.
As an example, if the target quick message meets the release requirement, the target quick message is directly pushed, so that the release of the quick message is realized.
As another example, if the target quick message does not meet the release requirement, a content modification prompt is output through the user operation interface, so that a quick message processor is prompted to modify the content input by the editable part of the target quick message template until the generated target quick message meets the release requirement.
Specifically, after the content modification prompt is output by the quick message processing device through the user operation interface, the target quick message content or the modified target quick message content re-input by the quick message processing personnel in the editable part can be received again, so that the target quick message is regenerated, and whether the release requirement of the newly generated target quick message is met or not is judged until the generated target quick message meets the release requirement.
According to the quick message processing method, the target quick message template is displayed through the user operation interface, target quick message contents input by quick message processing personnel in the editable part of the target quick message template are received, then the target quick message is generated according to the target quick message contents and the fixed part of the target quick message template, and when the target quick message does not meet the release requirement, a content modification prompt is output through the user operation interface until the generated target quick message meets the release requirement. According to the technical scheme, the target quick message can be generated based on the mode that the user fills the target quick message content, whether the release requirement is met or not is judged, automatic release can be achieved when the release requirement is met, automatic release of the quick message is achieved, and the accuracy of the released quick message is improved.
In another possible design of the embodiment of the present application, fig. 4 is a schematic flow chart of a third embodiment of a method for processing a short message provided in the embodiment of the present application. As shown in fig. 4, in this embodiment, S202 described above may be implemented by the following steps:
s401, periodically acquiring data to be distributed from at least one data source.
In practical application, the fast message processing device can be in butt joint with at least one data platform, and each data platform is provided with a data source, so that the fast message processing device can acquire data to be issued from the data source on a certain data platform in butt joint at fixed time according to preset rules.
S402, processing the data to be released to determine the target quick message content.
Optionally, before the data to be published is filled into the target quick message template, the quick message processing device may first perform preprocessing on the data to be published, for example, keyword extraction, data segmentation, and the like, so as to obtain the processed target quick message content that can be filled into the target quick message template.
S403, filling the target quick message content into the editable part of the target quick message template.
The method is characterized in that the target quick message processing equipment determines target quick message content, and when the target quick message template is determined based on the identification of the target quick message template carried by the quick message generation request, the target quick message content can be automatically filled into the editable part of the target quick message template, and the method does not need human participation, so that the method can be called a machine automatic filling mode.
S404, integrating the target quick message content and the fixed part of the target quick message template to generate the target quick message.
In this embodiment, after the target quick message processing device fills the target quick message content into the editable portion of the target quick message template, the editable portion filled with the target quick message content and the fixed portion of the target quick message template may be integrated, thereby generating the target quick message.
It can be understood that in practical application, a user can set a program for timing the processing of the quick message in the quick message processing device, so that the quick message processing device can automatically acquire the target quick message content from the data platform in a butt joint manner at intervals of preset time, automatically acquire the target quick message template, and automatically fill the acquired target quick message content into an editable part of the target quick message template, thereby automatically generating the target quick message.
In one possible design, if the request for generating the quick message does not carry the identification of the target quick message template, the quick message processing device may further determine, from the stored set of quick message templates, a target quick message template matching the target quick message content, so as to ensure that the generated target quick message meets the release requirement.
According to the quick message processing method, data to be distributed is periodically obtained from at least one data source, the data to be distributed is processed, target quick message content is determined, then the target quick message content is filled into an editable part of a target quick message template, and finally the target quick message content and a fixed part of the target quick message template are integrated to generate a target quick message. According to the technical scheme, the target quick message can be automatically generated without human participation, so that the cost of manpower and material resources is reduced, and the timeliness of quick message release is improved.
Based on the above embodiments, fig. 5 is a schematic flow chart of a fourth embodiment of the method for processing a quick message according to the embodiment of the present application. As shown in fig. 5, before the step S201, the method may further include the steps of:
s501, acquiring a history rapid message set, wherein the history rapid message set comprises: at least two historical fast messages with different fast message types.
Optionally, before the fast-message processing device executes the fast-message generation process, the historical fast-message set that is analyzed and determined by the expert may be obtained first. Illustratively, the historical rapid message set may include: at least two historical fast messages with different fast message types can be obtained, so that a plurality of fast message templates with different types can be obtained, and the repeated fast message templates in the generated fast message template set can be avoided.
S502, performing content processing and attribute labeling on each historical quick message, and generating a quick message template corresponding to each historical quick message.
Optionally, the fast-message processing device analyzes each of the historical fast-messages in the historical fast-messages set, and can determine which parts are fixed parts and which parts are replaceable parts in each of the historical fast-messages, wherein the replaceable parts in each of the historical fast-messages can be also called as editable parts.
In the scheme, after the fixed part and the replaceable part included in each historical quick message are determined, the content of the fixed part can be processed, for example, the content of the fixed part is reserved, the content of the replaceable part is deleted, and the processed historical quick messages can be marked with attributes, for example, identification, attribute information and the like are added, so that a quick message template corresponding to each historical quick message is generated.
As an example, the specific implementation of this step is as follows:
a1, analyzing the content included in each historical quick message, and determining the fixed content and the replaceable content in each historical quick message.
Specifically, each of the historical newsletters is a post-release newsletter, and for a certain fixed newsletter type, the historical newsletter includes a fixed portion and a replaceable portion, so that the fixed content and the replaceable content of each of the historical newsletters can be determined by analyzing the content included in each of the historical newsletters.
Wherein, the fixed content can be a message icon, the type of the message, the typesetting format of the message, etc. The replaceable content may be specific information content, a quick release date, etc. The fixed content and the replaceable content are not particularly limited herein.
A2, retaining fixed content in each historical quick message, deleting replaceable content in each historical quick message, and determining a quick message base template corresponding to each historical quick message.
Alternatively, when the quick message template is generated, fixed content in the historical quick message can be reserved, and replaceable content in the historical quick message can be deleted so as to execute filling of the target quick message content. In this embodiment, the historical flash after retaining the fixed content and deleting the replaceable content forms a flash base template.
A3, adding a unique template identifier to each quick message base template, and adding attribute information to generate a quick message template corresponding to each historical quick message.
In order to use the quick message basic templates later, a unique template identifier can be added for each quick message basic template, and attribute information such as a quick message type, a length, a used language or a character type can be added, so that the quick message basic template added with the template identifier and the attribute information is called a quick message template corresponding to the historical quick message.
S503, according to at least two corresponding quick message templates of the history quick messages, a quick message template set is obtained, and the quick message template set comprises: the target quick message template.
In this embodiment, after each history flash is processed according to the specific implementation process of S502, flash templates corresponding to all history flash can be obtained, so as to obtain a flash template set.
Optionally, in order to make the target quick message in the foregoing embodiment, the target quick message template carried in the quick message generation request belongs to one of the quick message template sets.
S504, storing the quick message template set.
The quick message processing device provides a realization precondition for the subsequent use by storing the obtained quick message template set.
According to the method for processing the quick messages, the historical quick message set is obtained, and the historical quick message set comprises the following steps: at least two historical rapid messages with different rapid message types are processed and marked with content and attribute, a rapid message template corresponding to each historical rapid message is generated, a rapid message template set is obtained according to the rapid message templates corresponding to the at least two historical rapid messages respectively, and the rapid message template set comprises: and finally storing the target quick message template set. According to the technical scheme, the historical quick messages are processed to obtain the quick message template set, so that a foundation is laid for quick and accurate generation of target quick messages, and a realization premise is provided for improving timeliness of quick message release.
The following are device embodiments of the present application, which may be used to perform method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
Fig. 6 is a schematic structural diagram of an embodiment of a fast-message processing apparatus according to an embodiment of the present application. As described with reference to fig. 6, the apparatus may include: an acquisition module 601, a processing module 602 and a push module 603.
The obtaining module 601 is configured to obtain a request for generating a quick message, where the request for generating a quick message includes: and identifying a target quick message template, wherein the target quick message template comprises: a fixed portion and an editable portion;
the processing module 602 is configured to generate a target quick response according to the target quick response content, the editable portion and the fixed portion of the target quick response template;
the pushing module 603 is configured to push the target quick message.
In one possible design of the embodiment of the present application, the processing module 602 is specifically configured to:
displaying the target quick message template through a user operation interface;
receiving the target quick message content input by a quick message processor in an editable part of the target quick message template;
and generating the target quick message according to the target quick message content and the fixed part of the target quick message template.
Optionally, the processing module 602 is further configured to determine, after the target quick response is generated according to the target quick response content and the fixed portion of the target quick response template, whether the target quick response meets the release requirement, and output, through the user operation interface, a content modification prompt when the target quick response does not meet the release requirement until the generated target quick response meets the release requirement, where the content modification prompt is used to prompt the quick response processor to modify the content input by the editable portion.
In another possible design of the embodiment of the present application, the processing module 602 is specifically configured to:
periodically acquiring data to be distributed from at least one data source;
processing the data to be distributed to determine the target quick message content;
filling the target quick message content into an editable part of the target quick message template;
and integrating the target quick message content with the fixed part of the target quick message template to generate the target quick message.
In still another possible design of the embodiment of the present application, the obtaining module 601 is further configured to obtain a historical rapid message set, where the historical rapid message set includes: at least two historical fast messages with different fast message types;
The processing module 602 is further configured to perform content processing and attribute labeling on each historical quick message, generate a quick message template corresponding to each historical quick message, and obtain a quick message template set according to the quick message templates corresponding to the at least two historical quick messages respectively, where the quick message template set includes: the target quick message template and the quick message template set are stored.
Optionally, the processing module 602 is configured to perform content processing and attribute labeling on each historical quick message, and generate a quick message template corresponding to each historical quick message, which specifically is:
the processing module 602 is specifically configured to:
analyzing the content included in each historical quick message to determine the fixed content and the replaceable content in each historical quick message;
retaining fixed content in each historical quick message, deleting replaceable content in each historical quick message, and determining a quick message base template corresponding to each historical quick message;
and adding a unique template identifier to each quick message base template, and adding attribute information to generate a quick message template corresponding to each historical quick message.
The device provided in the embodiment of the present application may be used to execute the technical solutions described in the embodiments of the method, and its implementation principle and technical effects are similar, and are not described herein again.
It should be noted that, it should be understood that the division of the modules of the above apparatus is merely a division of a logic function, and may be fully or partially integrated into a physical entity or may be physically separated. And these modules may all be implemented in software in the form of calls by the processing element; or can be realized in hardware; the method can also be realized in a form of calling software by a processing element, and the method can be realized in a form of hardware by a part of modules. For example, the processing module may be a processing element that is set up separately, may be implemented in a chip of the above-mentioned apparatus, or may be stored in a memory of the above-mentioned apparatus in the form of program codes, and the functions of the above-mentioned processing module may be called and executed by a processing element of the above-mentioned apparatus. The implementation of the other modules is similar. In addition, all or part of the modules can be integrated together or can be independently implemented. The processing element described herein may be an integrated circuit having signal processing capabilities. In implementation, each step of the above method or each module above may be implemented by an integrated logic circuit of hardware in a processor element or an instruction in a software form.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present application, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
Fig. 7 is a schematic structural diagram of an embodiment of an electronic device according to an embodiment of the present application. As shown in fig. 7, the electronic device may include: the system comprises a processor 701, a memory 702, a communication interface 703 and a system bus 704, wherein the memory 702 and the communication interface 703 are connected with the processor 701 through the system bus 704 and complete communication with each other, the memory 702 is used for storing computer instructions, the communication interface 703 is used for communicating with other devices, and the technical scheme of the method embodiment is realized when the processor 701 executes the computer instructions.
Optionally, in an embodiment of the present application, the electronic device may further include a user operation interface 705, where the user operation interface 705 may be configured to receive a request for generating a flash or a target flash content input from the outside.
In fig. 7, the above-mentioned processor 701 may be a general-purpose processor including a central processing unit CPU, a network processor (network processor, NP), and the like; but may also be a digital signal processor DSP, an application specific integrated circuit ASIC, a field programmable gate array FPGA or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component.
The memory 702 may include random access memory (random access memory, RAM), read-only memory (RAM), and non-volatile memory (non-volatile memory), such as at least one disk memory.
The communication interface 703 is used to enable communication between the database access apparatus and other devices (e.g., clients, read-write libraries, and read-only libraries).
The system bus 704 may be a peripheral component interconnect (peripheral component interconnect, PCI) bus or an extended industry standard architecture (extended industry standard architecture, EISA) bus, among others. The system bus may be classified into an address bus, a data bus, a control bus, and the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
Optionally, an embodiment of the present application further provides a computer readable storage medium, where computer instructions are stored, where the computer instructions, when executed on a computer, cause the computer to perform the technical solution described in the embodiment of the method.
Optionally, the embodiment of the present application further provides a chip for executing the instruction, where the chip is configured to execute the technical solution described in the foregoing method embodiment.
Embodiments of the present application also provide a computer program product, where the computer program product includes computer instructions, where the computer instructions are stored in a computer readable storage medium, and where at least one processor may read the computer instructions from the computer readable storage medium, and where the at least one processor may implement the technical solutions described in the foregoing method embodiments when executing the computer instructions.
In the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or", describes an association relationship of an association object, and indicates that there may be three relationships, for example, a and/or B, and may indicate: a alone, a and B together, and B alone, wherein a, B may be singular or plural. The character "/" generally indicates that the front and rear associated objects are an "or" relationship; in the formula, the character "/" indicates that the front and rear associated objects are a "division" relationship. "at least one of" or the like means any combination of these items, including any combination of single item(s) or plural items(s).
It will be appreciated that the various numerical numbers referred to in the embodiments of the present application are merely for ease of description and are not intended to limit the scope of the embodiments of the present application. In the embodiments of the present application, the sequence number of each process does not mean the sequence of execution sequence, and the execution sequence of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the application disclosed herein. This application is intended to cover any adaptations, 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 is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (8)

1. A method for processing a message, comprising:
obtaining a quick message generation request, wherein the quick message generation request comprises the following steps: and identifying a target quick message template, wherein the target quick message template comprises: a fixed portion and an editable portion;
generating a target quick message according to the target quick message content, the editable part and the fixed part of the target quick message template;
Pushing the target quick message;
after the generating the target flash according to the target flash content, the editable part and the fixed part of the target flash template, the method further comprises:
judging whether the target quick message meets the release requirement or not;
and when the target quick message does not meet the release requirement, outputting a content modification prompt through a user operation interface until the generated target quick message meets the release requirement, wherein the content modification prompt is used for prompting the quick message processor to modify the content input by the editable part.
2. The method of claim 1, wherein generating the target flash from the target flash content, the editable portion and the fixed portion of the target flash template comprises:
displaying the target quick message template through a user operation interface;
receiving the target quick message content input by a quick message processor in an editable part of the target quick message template;
and generating the target quick message according to the target quick message content and the fixed part of the target quick message template.
3. The method of claim 1, wherein generating the target flash from the target flash content, the editable portion and the fixed portion of the target flash template comprises:
Periodically acquiring data to be distributed from at least one data source;
processing the data to be distributed to determine the target quick message content;
filling the target quick message content into an editable part of the target quick message template;
and integrating the target quick message content with the fixed part of the target quick message template to generate the target quick message.
4. A method according to any of claims 1-3, characterized in that before the obtaining of the request for generation of a flash, the method further comprises:
acquiring a historical rapid message set, wherein the historical rapid message set comprises: at least two historical fast messages with different fast message types;
performing content processing and attribute labeling on each historical quick message, and generating a quick message template corresponding to each historical quick message;
obtaining a quick message template set according to the quick message templates respectively corresponding to the at least two historical quick messages, wherein the quick message template set comprises: the target quick message template;
and storing the quick message template set.
5. The method of claim 4, wherein the performing content processing and attribute labeling on each historical flash to generate a flash template corresponding to each historical flash comprises:
Analyzing the content included in each historical quick message to determine the fixed content and the replaceable content in each historical quick message;
retaining fixed content in each historical quick message, deleting replaceable content in each historical quick message, and determining a quick message base template corresponding to each historical quick message;
and adding a unique template identifier to each quick message base template, and adding attribute information to generate a quick message template corresponding to each historical quick message.
6. A rapid message processing apparatus, comprising: the device comprises an acquisition module, a processing module and a pushing module;
the obtaining module is configured to obtain a request for generating a quick message, where the request for generating a quick message includes: and identifying a target quick message template, wherein the target quick message template comprises: a fixed portion and an editable portion;
the processing module is used for generating a target quick message according to the target quick message content, the editable part and the fixed part of the target quick message template;
the pushing module is used for pushing the target quick message;
the processing module is further used for judging whether the target quick message meets the release requirement after the target quick message is generated according to the target quick message content, the editable part and the fixed part of the target quick message template; and when the target quick message does not meet the release requirement, outputting a content modification prompt through a user operation interface until the generated target quick message meets the release requirement, wherein the content modification prompt is used for prompting the quick message processor to modify the content input by the editable part.
7. An electronic device comprising a processor, a memory and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method according to any of the preceding claims 1-5 when executing the program.
8. A computer readable storage medium having stored therein computer instructions which, when executed by a processor, are adapted to carry out the method of any one of claims 1-5.
CN202011632639.3A 2020-12-31 2020-12-31 Method, device, equipment and storage medium for processing quick message Active CN112733516B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011632639.3A CN112733516B (en) 2020-12-31 2020-12-31 Method, device, equipment and storage medium for processing quick message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011632639.3A CN112733516B (en) 2020-12-31 2020-12-31 Method, device, equipment and storage medium for processing quick message

Publications (2)

Publication Number Publication Date
CN112733516A CN112733516A (en) 2021-04-30
CN112733516B true CN112733516B (en) 2024-04-09

Family

ID=75608431

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011632639.3A Active CN112733516B (en) 2020-12-31 2020-12-31 Method, device, equipment and storage medium for processing quick message

Country Status (1)

Country Link
CN (1) CN112733516B (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106030566A (en) * 2014-01-03 2016-10-12 雅虎公司 Systems and methods for content processing
WO2017071461A1 (en) * 2015-10-30 2017-05-04 腾讯科技(深圳)有限公司 Event message notification method, apparatus and device
CN106776523A (en) * 2017-01-22 2017-05-31 百度在线网络技术(北京)有限公司 News speed report generation method and device based on artificial intelligence
CN107580073A (en) * 2017-10-19 2018-01-12 世纪龙信息网络有限责任公司 Realize the method and device of targeted customer's message push
WO2018108059A1 (en) * 2016-12-12 2018-06-21 腾讯科技(深圳)有限公司 Method and device for processing template data, requesting for template data and presenting template data
CN109348254A (en) * 2018-09-30 2019-02-15 武汉斗鱼网络科技有限公司 Information push method, device, computer equipment and storage medium
CN111428049A (en) * 2020-03-20 2020-07-17 北京百度网讯科技有限公司 Method, device, equipment and storage medium for generating event topic
CN111695014A (en) * 2020-05-07 2020-09-22 广东康云科技有限公司 Method, system, device and storage medium for automatically generating manuscripts based on AI (artificial intelligence)
CN111881328A (en) * 2020-07-30 2020-11-03 百度在线网络技术(北京)有限公司 Information pushing method and device, electronic equipment and storage medium
CN112015982A (en) * 2020-08-20 2020-12-01 深圳市铭数信息有限公司 Customized news generation method, device, equipment and storage medium
CN112131848A (en) * 2019-06-25 2020-12-25 北京沃东天骏信息技术有限公司 Method and device for generating document information, storage medium and electronic equipment

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106030566A (en) * 2014-01-03 2016-10-12 雅虎公司 Systems and methods for content processing
WO2017071461A1 (en) * 2015-10-30 2017-05-04 腾讯科技(深圳)有限公司 Event message notification method, apparatus and device
WO2018108059A1 (en) * 2016-12-12 2018-06-21 腾讯科技(深圳)有限公司 Method and device for processing template data, requesting for template data and presenting template data
CN106776523A (en) * 2017-01-22 2017-05-31 百度在线网络技术(北京)有限公司 News speed report generation method and device based on artificial intelligence
CN107580073A (en) * 2017-10-19 2018-01-12 世纪龙信息网络有限责任公司 Realize the method and device of targeted customer's message push
CN109348254A (en) * 2018-09-30 2019-02-15 武汉斗鱼网络科技有限公司 Information push method, device, computer equipment and storage medium
CN112131848A (en) * 2019-06-25 2020-12-25 北京沃东天骏信息技术有限公司 Method and device for generating document information, storage medium and electronic equipment
CN111428049A (en) * 2020-03-20 2020-07-17 北京百度网讯科技有限公司 Method, device, equipment and storage medium for generating event topic
CN111695014A (en) * 2020-05-07 2020-09-22 广东康云科技有限公司 Method, system, device and storage medium for automatically generating manuscripts based on AI (artificial intelligence)
CN111881328A (en) * 2020-07-30 2020-11-03 百度在线网络技术(北京)有限公司 Information pushing method and device, electronic equipment and storage medium
CN112015982A (en) * 2020-08-20 2020-12-01 深圳市铭数信息有限公司 Customized news generation method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN112733516A (en) 2021-04-30

Similar Documents

Publication Publication Date Title
CN110377462B (en) Interface testing method and device and terminal equipment
CN109558525B (en) Test data set generation method, device, equipment and storage medium
CN112749081B (en) User interface testing method and related device
CN110781658B (en) Resume analysis method, resume analysis device, electronic equipment and storage medium
CN110472109B (en) Dynamic data quality analysis method and platform system
CN114116065B (en) Method and device for acquiring topological graph data object and electronic equipment
CN111475694A (en) Data processing method, device, terminal and storage medium
CN113434527B (en) Data processing method, device, electronic equipment and storage medium
CN115509765B (en) Super-fusion cloud computing method and system, computer equipment and storage medium
CN110990350B (en) Log analysis method and device
CN112712121B (en) Image recognition model training method, device and storage medium
CN112597023A (en) Case management method and device based on guide picture, computer equipment and storage medium
CN111427544B (en) Software requirement document generation method and device, storage medium and electronic equipment
CN112733516B (en) Method, device, equipment and storage medium for processing quick message
CN115563942A (en) Contract generation method and device, electronic equipment and computer readable medium
CN112667631B (en) Automatic editing method, device, equipment and storage medium for business field
CN114896161A (en) File construction method and device based on artificial intelligence, computer equipment and medium
CN111736848B (en) Packet conflict positioning method, device, electronic equipment and readable storage medium
CN114237798A (en) Data processing method, device, server and storage medium
CN111400245B (en) Art resource migration method and device
CN114490754A (en) Document auditing method and device and electronic equipment
JP7344521B1 (en) Program, method, information processing device, and system
CN113419739B (en) Node map difference detection method and device, electronic equipment and storage medium
CN109213490A (en) A kind of program processing method, device and relevant device
US20240061762A1 (en) On-demand contextual trace log generation

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Jingdong Technology Holding Co.,Ltd.

Address before: Room 221, 2 / F, block C, 18 Kechuang 11th Street, Beijing Economic and Technological Development Zone, 100176

Applicant before: Jingdong Digital Technology Holding Co.,Ltd.

GR01 Patent grant
GR01 Patent grant