Translation template-based Internet article construction method and system
Technical Field
The invention belongs to the technical field of Internet, and relates to a construction method and a construction system of an Internet article based on a translation template.
Background
With the coming of the information age, the way for people to obtain information is diversified and timely, and the internet articles become the most main source for people to obtain information. People have higher and higher requirements on the timeliness of information acquisition. However, at present, internet articles are required to be edited and released manually, the manufacturing period is long, and the labor cost is high; many news messages are exposed at night, and therefore the timeliness of news distribution is affected.
Before the applicant applies for the present patent, the applicant searches for patents of multiple companies such as beijing big-square electronic limited company, and finds that the more advanced patents in the market at present, such as "an automatic typesetting method (CN 1424669 a)", and "a method and system for automatically composing a layout file (CN 101441621 a)", still do not well solve the problems of low editing efficiency and high cost of the article.
Disclosure of Invention
The invention provides a construction method of an internet article based on a translation template aiming at the problems in the prior art, and the technical problems to be solved by the invention are as follows: how to improve the efficiency of the editing of the internet articles.
The purpose of the invention can be realized by the following technical scheme:
a construction method of an Internet article based on a translation template is characterized by comprising the following steps:
A. generating a final-level article title template library: arranging a plurality of final-level article title templates according to related industries, and storing to form a final-level article title template library;
B. generating an article content template library: writing an article content template according to related industries, and storing to form an article content template library;
C. and (3) generating an article title: extracting basic data, randomly selecting an unused final-level article title template, and performing translation matching to obtain a corresponding article title and storing the article title;
D. generating article content: extracting basic data, randomly selecting an article content template, translating and matching the article content template into corresponding article content, and storing the article content template;
E. and (3) generating an article: the article title is combined with the article content to generate the article.
The working principle is as follows: when articles need to be edited, a plurality of final-level article title templates can be sorted according to related industries and stored to form a final-level article title template library; writing an article content template according to related industries, and storing to form an article content template library; and finally, extracting basic data, randomly selecting an unused final-level article title template, translating and matching into a corresponding article title, and storing the article title, so that the article title is combined with the article content to generate the article. By adopting the method, the article can be generated quickly, and the efficiency is improved, so that the promptness of the article release is further improved.
In the above method for constructing an internet article based on a translation template, the step a is specifically:
a1, compiling keywords beneficial to capturing and recording by an Internet search engine according to related industries, and storing the keywords;
a2, writing a primary article title template according to related industries and storing the template;
a3, arranging and combining the keywords and the primary article title template to generate a final article title template; or directly taking the primary article title template as a final article title template;
and A4, manually filtering the title template of the final-level article formed in the step A3, and storing.
The combination of the keywords and the primary article title template is more beneficial to the articles to be retrieved by the public, so that the click rate of the articles is improved, and the quality of the articles is further improved.
In the above method for building an internet article based on a translation template, the building method further includes an automatic publishing step F after step E: and E, automatically releasing the article generated in the step E to a relevant Internet site. The automatic article publishing step is added, so that the timeliness of publishing the article can be further improved, the eyes of audiences can be attracted more quickly, the article clicking rate is improved, and the article quality is improved; the labor cost is greatly reduced, and the working hour is not needed to be timed; of course, the automatic distribution may be manually corrected or may be directly distributed.
In the above method for constructing an internet article based on a translation template, the step F further includes a manual modification module: carrying out manual intervention or modification on the article generated in the step E; and presetting a manual correction time node, and automatically releasing the articles exceeding the manual correction time to the related Internet sites. The manual correction link is added, so that the quality of the article can be further improved, and the quality is guaranteed; the preset manual correction time node can ensure that better articles can be published in time under the condition that manual work cannot review in time, and avoids missing publishing opportunity and causing flow loss.
A construction system for internet articles based on translation templates, the construction system comprising:
title template library of final articles: storing a plurality of final-level article title templates which are arranged according to related industries;
article content template library: storing a plurality of article content templates compiled according to related industries;
an article generation module: and respectively extracting basic data, selecting a final-level article title template and a corresponding article content template, and performing translation matching to obtain corresponding article titles and corresponding article contents to generate articles.
In the above construction system for an internet article based on a translation template, the construction system further includes a keyword library and a primary article title template library, and the keyword library stores keywords compiled according to related industries and captured and included by using a search engine; the primary article title template library is stored with primary article title templates compiled according to related industries; and the keywords and the primary article title template are arranged and combined to form the final article title template.
In the above construction system for the translation template-based internet article, the construction system further comprises a manual modification module for allowing manual intervention or modification on the generated article.
In the above translation template-based internet article construction system, the construction system further comprises an automatic publishing module capable of automatically publishing the generated article/article exceeding the manual correction time to the relevant internet site.
In the above construction system for the internet articles based on the translation templates, the final article title template library and the article content template library are stored in a large data distributed manner, and finally, a plurality of internet articles are generated in the user.
Compared with the prior art, the invention has the following advantages:
1. by adopting the method and the system, the article can be generated quickly, and the efficiency is improved, so that the promptness of the article release is further improved;
2. the keywords are combined with the primary article title template, so that articles can be retrieved by the public more conveniently, the click rate of the articles is improved, and the quality of the articles is improved;
3. the automatic article publishing step is added, so that the timeliness of publishing the article can be further improved, the eyes of audiences can be attracted more quickly, the article clicking rate is improved, and the article quality is improved; greatly reduces the labor cost and does not need man-hour time.
Drawings
Fig. 1 is a schematic structural diagram of the present system in the embodiment.
Detailed Description
The following are specific embodiments of the present invention and are further described with reference to the drawings, but the present invention is not limited to these embodiments.
As shown in fig. 1, the system for constructing internet articles includes a final-level article title template library, in which a plurality of final-level article title templates organized according to related industries are stored. Specifically, the construction system further comprises a keyword library and a primary article title template library, wherein keywords which are compiled according to related industries and captured and recorded by a search engine are stored in the keyword library; the primary article title template library stores primary article title templates compiled according to related industries; the keywords and the primary article title template are arranged and combined to form a final article title template.
As shown in fig. 1, the system for constructing an internet article further includes an article content template library: the article content template base stores a plurality of article content templates compiled according to related industries. Preferably, the construction system is further provided with a system optimization module, the final-level article title template library and the article content template library are in master-slave configuration, and the database connection is distributed, managed and released through the database connection pool, so that data storage and reading operations can be accelerated, meanwhile, servers and various services can be conveniently added, and the operation speed is improved. And queuing and storing the article generation request submitted by the user by using the queue service, so that the generation is accelerated. And uniformly using the micro-service to carry out external calling, thereby realizing high-cohesion low-coupling.
As shown in fig. 1, the article generation module can extract the basic data respectively, select the final-level article title template and the corresponding article content template, and translate and match the final-level article title template and the corresponding article content template to generate the article.
Preferably, as shown in fig. 1, the construction system further includes a manual modification module for allowing manual intervention or modification of the generated articles, and an automatic publishing module for automatically publishing the articles exceeding the manual modification time to the relevant internet site. As another scheme, the automatic publishing module can directly publish the generated article through setting without manual correction. And the final-level article title template library and the article content template library are stored in a large data distributed mode, and finally, a plurality of Internet articles are generated in the user.
The construction of the Internet article comprises the following steps:
a1, compiling keywords beneficial to capturing and recording by an Internet search engine according to related industries, and storing the keywords; for example, a hot keyword such as a keyword 'wholesale, factory wholesale, high quality, customization, ventilation' is added to an industry 'traditionally produced | -machinery/hardware/tool | -exhaust equipment | -ventilator';
a2, writing a primary article title template according to related industries and storing the template; for example, the effect of adding the air exhaust device to the industry ' traditional production of the machine/hardware/tool ' | - | ventilator ' is goodProduct nameAnd recommending' and the like primary article title templates, wherein the product names on the horizontal lines are the contents to be translated.
A3, arranging and combining the keywords and the primary article title template to generate a final article title template; or directly taking the primary article title template as a final article title template; for example, in industry "traditionally produce a machine/hardware/tool" - - - | exhaust equipment "- - | ventilator", we can generate the following title template: good wholesale effect of manufacturerProduct produced by birth Name of articleRecommended and customizedProduct nameRecommended "," effectiveProduct nameRecommendation ".
A4, manually filtering the title template of the final-level article formed in the step A3, and storing the title template;
A. forming a final-level article title template library through steps A1-A4;
B. generating an article content template library: writing an article content template according to related industries, and storing to form an article content template library; for example, a template can be compiled for industry "traditionally produce" - | machinery/hardware/tools "- | exhaust equipment" - - | ventilator "as follows:company nameIs to produce various typesMajor businessProfessional company, advanced company equipment, great technical strength, rich manufacturing experience and main operationProduct name。Company abbreviationManagement science and standardization, science and technology are used as power, the market is developed by quality service, the product design of our company is perfect, the quality is reliable, and after-sale service is perfect. Produced byProduct nameThe series products have the advantages of domestic reputation and high popularity by the majority of usersIs aCompany region (province)Advanced enterprises and entities whose product quality is too trusted. Wherein, the contents on the horizontal line are all the contents needing to be translated.
C. And (3) generating an article title: extracting basic data, randomly selecting an unused final-level article title template, and performing translation matching to obtain a corresponding article title and storing the article title; specifically, the original multi-form data of a set of articles and a title template which is not used can be randomly read by using a database connection pool to generate a title, and relevant basic data is recorded, for example, a step 1 can generate the title: the manufacturer recommends ventilation equipment with good wholesale effect, customizes ventilation equipment with good customization effect, and recommends ventilation equipment with good customization effect.
D. Generating article content: extracting basic data, inquiring original multi-form data used in the step 3, generating article contents according to the form data and 3-4 different article content templates obtained randomly, and storing the data. For example, the template in step B may generate the following: the co-creation environmental protection technology limited company in Fuzhou is a professional company for producing various types of air purification equipment, and the company has advanced equipment, powerful technical force, rich manufacturing experience and is mainly used for camping ventilation equipment. The environment-friendly technology management of the same creation is scientific and standardized, the science and technology are used as power, the market is developed by quality service, the product design of the company is perfect, the quality is reliable, and the after-sale service is perfect. The produced ventilation equipment series products have high reputation in China, are well received by the majority of users, and are units with credible product quality for advanced enterprises in Fujian province and the public institutions.
E. And (3) generating an article: combining the article title with the article content to generate an article;
f: carrying out manual intervention or modification on the article generated in the step E; and presetting a manual correction time node, and automatically releasing the articles exceeding the manual correction time to the related Internet sites.
It should be noted that the method can also omit the manual correction step and directly release the data. And a large number of different articles can be generated by simply repeating step C, D, E, F.
The specific embodiments described herein are merely illustrative of the spirit of the invention. Various modifications or additions may be made to the described embodiments or alternatives may be employed by those skilled in the art without departing from the spirit or ambit of the invention as defined in the appended claims.