CN112861054A - Webpage processing method and device, computer readable storage medium and electronic equipment - Google Patents
Webpage processing method and device, computer readable storage medium and electronic equipment Download PDFInfo
- Publication number
- CN112861054A CN112861054A CN202110160419.3A CN202110160419A CN112861054A CN 112861054 A CN112861054 A CN 112861054A CN 202110160419 A CN202110160419 A CN 202110160419A CN 112861054 A CN112861054 A CN 112861054A
- Authority
- CN
- China
- Prior art keywords
- webpage
- target
- data
- template
- web page
- 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.)
- Granted
Links
- 238000003672 processing method Methods 0.000 title abstract description 16
- 238000000034 method Methods 0.000 claims abstract description 35
- 238000012545 processing Methods 0.000 claims description 61
- 230000003068 static effect Effects 0.000 claims description 37
- 238000012795 verification Methods 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 6
- 230000008676 import Effects 0.000 claims description 4
- 230000002829 reductive effect Effects 0.000 abstract description 7
- 238000007726 management method Methods 0.000 description 49
- 230000008569 process Effects 0.000 description 8
- 238000013523 data management Methods 0.000 description 6
- 230000000694 effects Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000012384 transportation and delivery Methods 0.000 description 3
- 238000004891 communication Methods 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000012217 deletion Methods 0.000 description 1
- 230000037430 deletion Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000000670 limiting effect Effects 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000005457 optimization Methods 0.000 description 1
- 230000036961 partial effect Effects 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/95—Retrieval from the web
- G06F16/958—Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
- G06F16/972—Access to data in other repository systems, e.g. legacy data or dynamic Web page generation
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention provides a webpage processing method and device, a computer readable storage medium and electronic equipment, and belongs to the technical field of networks. According to the method, related data of a target object, target template indication information and target webpage indication information sent by a first user are received, target structured data of the target object are generated according to the related data and a target data template indicated by the target template indication information, and finally an SEO webpage of the target object is generated according to the target structured data and a target original webpage indicated by the target webpage indication information. Therefore, the SEO webpage is automatically generated, so that the first user can generate the webpage only by providing the information required to be used, the labor cost can be reduced to a certain extent, and the implementation efficiency is improved.
Description
Technical Field
The invention belongs to the technical field of networks, and particularly relates to a webpage processing method and device, a computer readable storage medium and electronic equipment.
Background
At present, with the continuous development of network technology, how to promote target objects to users becomes a problem that people pay more attention to. The target object can be a commodity in an e-commerce platform, a network anchor, a position to be recruited, and the like.
In the existing mode, a webpage for displaying a target object is often generated manually by using manual coding, so that a user can know the target object by accessing the webpage, and further popularization is realized. However, the popularization efficiency of the target object is low in the mode, and the labor cost is high.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for processing a web page, a computer-readable storage medium, and an electronic device, which solve the problems of high labor cost and low popularization efficiency to a certain extent.
According to a first aspect of the present invention, there is provided a web page processing method, which may include:
receiving related data of a target object, target template indication information and target webpage indication information sent by a first user;
taking the available data template indicated by the target template indication information as a target data template, and generating target structured data of the target object according to the related data and the target data template;
and taking the available original webpage indicated by the target webpage indication information as a target original webpage, and generating the search engine optimized SEO webpage of the target object according to the target structured data and the target original webpage.
According to a second aspect of the present invention, there is provided a web page processing apparatus, which may include:
the receiving module is used for receiving related data of a target object, target template indication information and target webpage indication information which are sent by a first user;
a first generation module, configured to use the available data template indicated by the target template indication information as a target data template, and generate target structured data of the target object according to the relevant data and the target data template;
and the second generation module is used for taking the available original webpage indicated by the target webpage indication information as a target original webpage and generating the SEO webpage of the target object according to the target structured data and the target original webpage.
In a third aspect, an embodiment of the present invention provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when executed by a processor, the computer program implements the steps of the web page processing method according to the first aspect.
In a fourth aspect, the present invention provides 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 steps of the web page processing method according to the first aspect when executing the program.
Aiming at the prior art, the invention has the following advantages:
in the webpage processing method provided by the embodiment of the invention, the related data of the target object, the target template indication information and the target webpage indication information sent by the first user are received, the target structured data of the target object is generated according to the related data and the target data template indicated by the target template indication information, and finally the SEO webpage of the target object is generated according to the target structured data and the target original webpage indicated by the target webpage indication information. Therefore, the SEO webpage is automatically generated, so that the first user can generate the webpage only by providing the information required to be used, the labor cost can be reduced to a certain extent, and the implementation efficiency is improved.
Drawings
Various other advantages and benefits will become apparent to those of ordinary skill in the art upon reading the following detailed description of the preferred embodiments. The drawings are only for purposes of illustrating the preferred embodiments and are not to be construed as limiting the invention. Also, like reference numerals are used to refer to like parts throughout the drawings. In the drawings:
FIG. 1 is a flowchart illustrating steps of a method for processing a web page according to an embodiment of the present invention;
FIG. 2 is a flow chart according to an embodiment of the present invention;
fig. 3 is a block diagram of a web page processing apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention can be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the invention to those skilled in the art.
The following describes the web page processing method in the embodiment of the present invention in detail.
Example one
Fig. 1 is a flowchart illustrating steps of a method for processing a web page according to an embodiment of the present invention, as shown in fig. 1, the method may include:
step 101, receiving related data of a target object, target template indication information and target webpage indication information sent by a first user.
In the embodiment of the present invention, the related data of the target object, the target template indication information, and the target webpage indication information may be carried in a user request sent by the first user. The specific type of the target object may be selected according to actual requirements, and for example, goods that need to be promoted, for example, an application program, may be used as the target object. The related data of the target object can be information related to the target object, and the specific category of the related data can be set according to actual requirements. By way of example, the relevant data may include the name of the application, a functional description, a screenshot, a running video, and so forth. In this way, by setting a plurality of screenshots, when subsequently generated SEO webpages are displayed by a search engine, the SEO webpages can be displayed in diversified manners such as card type and carousel image.
Further, the target template indication information and the target webpage indication information may be template indication information corresponding to an available data template and webpage indication information corresponding to an available original webpage, which are determined by the first user according to actual needs and meet user needs. The data template may be a data structured template, and the data template may define a structural relationship between data items, data tags of each item of data, and the like. The data template can be used for organizing data into data with data labels and more reasonable structure. Further, the original web page may be preset according to actual requirements, the original web page may be a HyperText Markup Language (HTML) web page, and the original web page may include some general basic information, such as a background image, background music, and the like. Of course, other basic information may be set according to actual requirements, and the embodiment of the present invention does not limit this.
And 102, taking the available data template indicated by the target template indication information as a target data template, and generating target structured data of the target object according to the related data and the target data template.
In the embodiment of the invention, a plurality of available data templates can be stored in advance, and the template indication information corresponding to different available data templates can be different. Further, the target data template may be an available data template that meets the user's needs. When the target structured data of the target object is generated according to the related data and the target data template, each item of data in the related data may be written into a corresponding item in the target data template and a corresponding tag may be set, that is, the target structured data may be structured related data carrying a tag. In this way, the target structured data may be enabled to more orderly characterize the target data of the target object. For example, the name of the application in the related data may be written into a name entry in the target data template, and a title tag may be added to the written name, the function description in the related data may be written into a description entry in the target data template, and a description tag may be added to the written function description, the screenshot in the related data may be written into an image entry in the target data template, and a photo tag may be added to the written screenshot, and the running video in the related data may be written into a video entry in the target data template, and a video tag may be added to the written video. Of course, H1 tags, keywords tags, and the like may be added, which is not limited in the embodiment of the present invention.
In the embodiment of the invention, a plurality of available original webpages can be stored in advance, and webpage indication information corresponding to different available original webpages can be different. Further, the target original web page may be an available original web page that meets the user's needs. A Search Engine Optimization (SEO) web page is a web page optimized for a target original web page.
In an existing implementation manner, existing content of an existing web page is often directly optimized to serve as an SEO web page for popularization. In this way, keyword tags are often directly added to existing contents of existing webpages to improve the probability of being captured, the contents of the SEO webpages are monotonous, the information display effect is poor, and further the popularization effect of the SEO webpages is often poor. In the embodiment of the invention, the target structured data can represent the target data of the target object, so that the final SEO webpage is generated by combining the target structured data and the target original webpage. For example, the target structured data may be inserted into the target original web page, and then a new static web page may be generated based on the inserted target original web page, such as an SEO web page. The target structured data can be inserted into a preset designated position of the target original webpage, and then the inserted target original webpage is directly used as an SEO webpage, or the inserted target original webpage is converted into a designated format and the converted target original webpage is used as the SEO webpage. Therefore, the final SEO webpage can contain richer structural related data, the probability that the SEO webpage hits the search keywords of the search engine in the later period and the matching degree of the search keywords can be improved, the SEO webpage can be enabled to be capable of being caught to a position in the search result which is more forward by the search engine, and the user usually has higher attention to the search result which is more forward, so that the popularization effect can be further improved. The search engine may be any currently existing search engine.
In summary, in the web page processing method provided in the embodiment of the present invention, by receiving the related data of the target object, the target template indication information, and the target web page indication information sent by the first user, the target structured data of the target object is generated according to the related data and the target data template indicated by the target template indication information, and finally, the SEO web page of the target object is generated according to the target structured data and the target original web page indicated by the target web page indication information. Therefore, the SEO webpage is automatically generated, so that the first user can generate the webpage only by providing the information required to be used, the labor cost can be reduced to a certain extent, and the implementation efficiency is improved.
In the embodiment of the invention, the SEO webpage is correspondingly generated according to the related data, the target template indication information and the target webpage indication information which meet the actual requirements of the user, the customization requirements of various SEO webpages can be met to a certain extent, and meanwhile, the automation degree of the generation process can be improved through automatic generation. It should be noted that, in the embodiment of the present invention, the web page processing method may be executed by a web page generation system, the web page generation system may serve as a web page generation platform and be deployed in a backend server, and a first user may access the web page generation system through a terminal capable of communicating with the backend server, so that the terminal displays a front-end interface of the web page generation system. Accordingly, the first user can send the related data of the target object, the target template indication information and the target webpage indication information through the front-end interface. For example, the related data of the target object may be manually input in the front-end interface, or the related data of a plurality of objects to be promoted may be entered in advance, and when one or more of the objects to be promoted need to be promoted, the one or more objects to be promoted may be taken as the target object, and the related data of the target object may be specified from the related data entered in advance. In this way, no manual input is required, and user operation can be simplified.
Further, the front-end interface may display template indication information of available data templates and web page indication information of available original web pages, and accordingly, the first user may select, according to actual needs, required template indication information and web page indication information as target template indication information and target web page indication information. Of course, the target template indication information and the target webpage indication information may also be manually input, which is not limited in the embodiment of the present invention. The design of the front-end interface and the interaction function can be realized based on a preset architecture (for example, vue + vue-router + vuex + element-ui). Further, a framework of the backend service can be built by using a preset operation environment (for example, NodeJS) to realize the functions of receiving the user request and realizing each module.
Example two
Optionally, in the embodiment of the present invention, after the SEO webpage of the target object is generated, a webpage address may be generated for the SEO webpage, and the SEO webpage may be released. In the embodiment of the invention, after the SEO webpage is generated, the webpage address is further automatically generated for the SEO webpage, and the SEO webpage is issued, so that the operation of a popularization worker can be further simplified to a certain extent, and the popularization efficiency is improved. The web page address may be a Uniform Resource Locator (URL), and the web page address may be used to represent the SEO web page as a standard Resource address on the network. The publishing of the SEO webpage may be publishing the webpage to a website having an external access capability, so that a user can normally access the SEO webpage and a search engine can capture the SEO webpage. It should be noted that, in the embodiment of the present invention, a publishing option may also be provided for the user in the front-end interface, and after the user inputs the related data of the target object, the target template indication information, and the target webpage indication information, the web page processing system may be controlled to perform subsequent operations of generating and publishing the SEO webpage by triggering the publishing option, so as to implement one-key publishing.
Further, the operation of generating the web page address for the SEO web page may specifically include: acquiring a preset basic domain name and domain name carrying parameters; the domain name carrying parameters are used for representing a release platform and/or a release area of the SEO webpage; and generating the webpage address according to the domain name carrying parameters and the basic domain name.
The preset base domain name may be preset according to actual requirements, and for example, the base domain name may include.com,. cn, and the like. The launching platform and the launching area of the SEO webpage can be set according to actual requirements. By way of example, the delivery platform may include various search engines, various social networking sites, and the like. The delivery area may be different countries, or different provinces of the same country, etc. Correspondingly, the domain name carried parameter may be a preset parameter identifier corresponding to a release platform and a release area of the SEO webpage. The SEO webpage can be provided with a plurality of launching platforms and launching areas, and correspondingly, different webpage addresses can be generated aiming at different launching platforms and launching areas. When the webpage address is generated, the domain name carrying parameters and the basic domain name can be written into the corresponding position of the generated template according to a preset generated template, and then the webpage address is obtained. Therefore, when the webpage address is generated, the domain name carrying parameters are set, and then the specific access amount corresponding to each releasing platform and each releasing area can be conveniently and rapidly determined when the access amount corresponding to the webpage address is counted subsequently. It should be noted that, in the embodiment of the present invention, after the webpage address is generated, the webpage address may be directly output, so that a popularization person may popularize in a corresponding channel according to an actual requirement.
Further, the issuing operation of the SEO webpage may specifically include: and taking the launching area as a target launching area, and publishing the SEO webpage to a website server corresponding to the target launching area. Therefore, the SEO webpage is published to the website server corresponding to the target delivery area, so that the user can visit the SEO webpage nearby the server closer to the user, and further the access efficiency can be improved to a certain extent. The publishing operation may be implemented by a preset web page publishing module, the operation of generating the target structured data of the target object according to the target structured data and the target original web page may be implemented based on a preset static web page management module. After the static web page management module generates the SEO web page, the SEO web page can be automatically uploaded to the web page publishing module. After the web page publishing module receives the web page, the SEO web page can be automatically uploaded to the corresponding website server, and a designated agent (e.g., nginx agent) is set for the website server to perform routing forwarding, so that the capability of external access of the website is provided. Where nginx may be a web server of an asynchronous framework, may be used as a reverse proxy, load balancer, and HTTP cache.
EXAMPLE III
Optionally, in the embodiment of the present invention, the following steps may also be performed in advance to enter an available data template and an available original web page in the web page processing system:
and step S21, receiving the data structured template and the static webpage sent by the second user.
In the embodiment of the present invention, the data structured template and the static web page may be sent to the web page processing system by the second user through the used terminal. For example, the front-end page provided by the web page processing system may be a page corresponding to an information management platform in the web page processing system. The second user can use the terminal to access the front-end page, so that the information management platform can be accessed, and further, a data structured template and a static webpage can be added through the page. The second user may be the same user as the first user or a different user. The information management platform can provide an entrance for receiving external input, and information backup can be carried out after the information input from the outside is received.
And step S22, taking the data structured template as the available data template and storing the data structured template, and taking the static webpage as the available original webpage and storing the static webpage.
In this step, the data structured template may be entered into the information management platform as an available data template for storage, and the static webpage may be entered into the static webpage management module in the webpage processing system as an available original webpage for storage. The entry operation of the static webpage can be realized based on a preset static webpage ID management module. When the static webpage needs to be imported, the static webpage can be indirectly pushed to the static webpage ID management module through the information management platform so as to be stored. It should be noted that, in the embodiment of the present invention, an import reminder may also be sent periodically to remind a user to import a latest available data template and an available original web page.
In the embodiment of the invention, the data structured template and the static webpage input by the second user are received and respectively used as the available data template and the available original webpage for storage, and then when the SEO webpage needs to be generated, the first user only needs to specify the target data template and the target original webpage which need to be used, and the webpage generation system correspondingly selects the target data template and the target original webpage from the available data template and the available original webpage which are input in advance for generation, so that the generation efficiency can be improved to a certain extent. Meanwhile, the available data templates and the available original webpages are input in a concentrated mode in advance, so that centralized management and maintenance in the later period can be facilitated, meanwhile, resources can be effectively shared, and the utilization rate is improved.
Example four
Optionally, in the embodiment of the present invention, after the static web page is stored as the available original web page, a web page identifier (Identity, ID) may be further allocated to each available original web page, and the web page ID is output. For example, the webpage ID may be generated for the available original webpage through a preset generation rule, wherein the operation of assigning the webpage ID may be implemented based on a static webpage ID management module, the static webpage ID management module may return the webpage ID to the information management platform after assigning the webpage ID to notify the user, and the static webpage ID management module may register and manage the available original webpage using the webpage ID. Further, the web page IDs for different available original web pages are different. Accordingly, the web page indication information may be a target web page ID, and the operation of using the available original web page indicated by the web page indication information as the target original web page may specifically include:
and step 1031, selecting an available original webpage of which the webpage ID is matched with the target webpage ID from the available original webpage.
Step 1032, determining the available original webpage with the webpage ID matched with the target webpage ID as the target original webpage.
In a specific implementation, for any available original webpage, the target webpage ID may be compared with the webpage ID of the available original webpage, and if the two are the same, the available original webpage may be determined as the target original webpage.
In the embodiment of the invention, the user can conveniently acquire the webpage ID by distributing the webpage ID and outputting the webpage ID, and the available original webpage can be conveniently managed to a certain extent by distributing the webpage ID. Furthermore, the target webpage ID is used as webpage indicating information, and the target original webpage can be conveniently determined according to the webpage indicating information to a certain extent.
EXAMPLE five
Optionally, in an implementation manner of the embodiment of the present invention, an object type adapted to each available data template may be further determined. The template indication information may include a target object type. The object type may be pre-divided according to the service type, and may include, for example, an e-commerce, an entertainment, and the like. When the second user adds the data structured template, the corresponding object types can be added at the same time, and accordingly, the information management platform can classify according to the added object types to determine the object types adapted to the available data templates. Further, the target object type may be an object type to which the target object belongs, for example, in the case where the target object is live software, the target object type may be "entertainment". The step of using the available data template indicated by the template indication information as the target data template may specifically include:
step 1021, selecting an available data template with the matched object type matched with the target object type from the available data templates.
Step 1022, determining an available data template with the object type matching the target object type as the target data template.
In a specific implementation, for any available data template, the target object type may be compared with the object type of the available data template, and if the target object type is the same as the object type of the available data template, the available data template may be determined as the target data template.
In the embodiment of the invention, the object type adapted to each available data template is determined, the target object type is used as the template indication information, and the adapted available data template is selected as the target data template according to the target object type, so that the target data template can better meet the current popularization requirement to a certain extent, and the popularization effect of the subsequently generated SEO webpage is further improved to a certain extent.
It should be noted that, in another implementation, a template identification ID may also be assigned to each available data template. Correspondingly, the template indication information may include a target template ID, and the operation of taking the available data template indicated by the template indication information as the target data template may specifically include: and selecting an available data template with the template ID matched with the target template ID from the available data templates, and determining the available data template with the template ID matched with the target template ID as the target data template. Thus, by assigning the template ID, management of available data templates can be facilitated. Furthermore, the target template ID is used as template indication information, and the target data template can be conveniently determined according to the template indication information to a certain extent
EXAMPLE six
Optionally, in the embodiment of the present invention, the following steps may be further performed after the SEO webpage is generated:
and step S31, storing the SEO webpage.
In this step, after the SEO webpage is generated each time, the SEO webpage may be stored in a preset database so as to be reused at a later stage. It should be noted that, in the embodiment of the present invention, the issued SEO webpage may be off-shelved according to a user request, or the issued SEO webpage may be queried, so as to help a user to better maintain the issued SEO webpage. The SEO webpage downloading and querying operations can be realized based on an SEO webpage management module, and the SEO webpage management module can also be used for realizing the updating and deleting of the existing SEO webpage data.
And step S32, detecting an expired SEO webpage in the stored SEO webpages, and clearing the expired SEO webpage.
In this step, the detecting step may be performed according to a preset period, where the preset period may be set according to actual requirements, and for example, the preset period may be 1 week, 1 month, and so on. Further, for any stored SEO web page, a time interval between the storage time of the stored SEO web page and the current time may be detected, and if the time interval is greater than a preset duration, the stored SEO web page may be determined as an expired SEO web page, and the expired SEO web page may be deleted from a preset database. The preset time length may be set according to a requirement, which is not limited in the embodiment of the present invention. The clearing operation may be implemented based on a garbage collection module. In the embodiment of the invention, the overdue SEO webpage is periodically detected and cleared after the SEO webpage is stored, so that the storage of unnecessary SEO webpage can be avoided, and the storage space can be saved.
EXAMPLE seven
Optionally, the following steps may also be executed in the embodiment of the present invention:
step S41, when a data processing request is received, performs an authority check on a sender of the data processing request.
In the embodiment of the present invention, the data processing request may be used to instruct the web page processing system to execute a corresponding processing operation. The corresponding processing operation may be set according to actual requirements, which is not limited in the embodiment of the present invention. Further, when performing the authority check, the sent presence information, for example, a user identifier (user _ id) may be extracted based on the user information management module. The user information management module can also be used for maintaining the user information of the login platform, keeping the online login state and checking whether the interface has the authority. Then, the URL of the data processing request is extracted and database fishing is performed to determine whether the URL of the data processing request and the user identifier have corresponding association. If there is a corresponding association, it may be determined that the sender does not have permission, and the sender does not pass the permission check, and accordingly, the data processing request may be denied. Otherwise, the sender is determined to have the authority and passes the authority check. It should be noted that other permission verification manners may also be adopted, for example, permission verification is performed on the user based on a pre-trained verification model, which is not limited in the embodiment of the present invention.
And step S42, if the sender passes the permission check, executing a processing operation corresponding to the data processing request. Wherein the processing operation comprises one or more of an import operation, an export operation, an edit operation, and a delete operation on the available data template, the available original web page, and the web page ID.
In this step, the processing operation for the available data template may be implemented by a structured data management module, and the processing operation for the available original web page and the web page ID may be implemented by a static web page module. The static webpage module can be mainly responsible for managing the existing available original webpage, and can provide the functions of adding, editing, deleting, retrieving and the like. A structured data management module may be provided for maintaining structured data. The user can send a data processing request through the page of the information management platform, for example, an available data template to be deleted is selected in the page, and a preset delete button in the page is clicked, so that the data processing request corresponding to the delete operation is sent. Accordingly, the platform may send a data processing request to the structured data management module to perform a delete operation by the structured data management module. Therefore, the user can indirectly call the module to execute the operations of importing operation, exporting operation, editing operation, deleting operation and the like only by operating on the platform.
For example, in the case that the data processing request is a web page deletion request, the data processing request may carry a web page ID of a web page to be deleted. Accordingly, when the deleting operation is performed, the available original web page indicated by the web page ID of the web page to be deleted may be searched for from the stored available original web pages, and the available original web page indicated by the web page ID of the web page to be deleted may be deleted. Therefore, the available original webpage needing to be deleted can be conveniently positioned by the webpage ID, the webpage deleting efficiency can be improved to a certain extent, and other available original webpages are prevented from being deleted by mistake.
Further, after the processing operation is performed, a data processing record may be further generated, and then, the data processing record may be output. The data processing record may be used to represent specific processing contents of the processing operation, for example, the data processing record may include a processing object, a specific type of the processing operation, a processing time point, and the like. Therefore, by further generating and outputting the data processing record, the record of the processing operation can be conveniently acquired in the later period, and the management is further convenient. In specific implementation, the structured data management can also inform the information management platform of updating records in a front-end page so as to facilitate the viewing of a user, and the controllability of the process can be ensured to a certain extent because the processes of executing processing operation, generating records, updating records and the like are all asynchronous processing and the coupling is low.
In the embodiment of the invention, under the condition of receiving the data processing request, the authority verification is carried out on the sender of the data processing request, and the processing operation corresponding to the data processing request is executed only under the condition that the sender passes the authority verification. Therefore, the security and the stability of the data can be ensured to a certain extent, and the problem that the data is illegally tampered is avoided. It should be noted that, in order to further ensure the security of the operation, in the embodiment of the present invention, after the second user sends the data structured template and the static web page, before the data structured template and the static web page are stored, the second user may also be subjected to authority verification, which is not limited in the embodiment of the present invention.
Example eight
Optionally, the following steps may also be executed in the embodiment of the present invention:
step S51, receiving a webpage query request; the webpage query request comprises a webpage ID of a webpage to be queried.
In the embodiment of the present invention, the web page query request may be used to instruct the web page processing system to execute a corresponding query operation. The user can send a web page query request through a page of the information management platform, for example, a web page ID to be queried is input in the page, and a query button preset in the page is clicked, so that the web page query request is sent.
And step S52, responding to the webpage query request, and determining a webpage storage path according to the webpage ID.
In this step, the web page ID may be converted into a web page storage path based on a preset conversion algorithm, or the web page storage path corresponding to the web page ID of the web page to be queried is searched in a preset correspondence between the web page ID and the web page storage path.
Step S53, based on the web page storage path, searching the web page to be inquired from the stored available original web page, and returning the web page to be inquired.
In this step, the web page storage path may be sent to the file management module to retrieve the local storage device, thereby implementing the query operation. Accordingly, the webpage to be queried can be returned after the webpage to be queried is queried. In the embodiment of the invention, under the condition of receiving the webpage query request, the webpage storage path is determined according to the webpage ID of the webpage to be queried in the webpage query request, then the webpage to be queried is searched from the stored available original webpage based on the webpage storage path, and the webpage to be queried is returned. Therefore, the storage position of the available original webpage can be positioned by the webpage ID, and further, the webpage query efficiency can be improved to a certain extent.
It should be noted that the operations of adding, editing, deleting, etc. in the above embodiments may also be implemented based on the file management module. The original web pages available in the local storage device may also be written based on the file management module. The file management module may perform operations asynchronously, and for the received requests, the requests are sequentially performed one by one to ensure the order of operation execution. The static webpage management module may include the static webpage module, a file management module, and an SEO webpage management module. The static webpage management module can further comprise an HTML construction module and an HTML output module, and the HTML construction module and the HTML output module can be used for generating a static webpage and outputting the static webpage respectively. The information management platform may be divided into the user information management module, the structured data management module, and the static web ID management module as a whole. The information management platform and the static webpage management module can be connected and interacted through a HyperText Transfer Protocol (HTTP). In the embodiment of the present invention, the information management platform may further include an SEO web page output module, and further, the information management platform may further include an information management module and other modules, the information management module may include an information input module, an information classification module and an information output module, and the other modules may include a monitoring module, a log module and an authority login module. Of course, other modules may be provided, which is not limited in the embodiment of the present invention.
The web processing system architecture may further include a web publishing management module, and the web publishing management module may include a web management module, a web publishing module, and a garbage collection module. The web page publishing module may specifically include an SEO web page publishing module. And an SEO webpage management module. The information management platform and the webpage publishing module can interact through HTTP connection, and the webpage publishing module can publish the SEO webpage to a website through a preset synchronization tool (for example, Rsync). In the embodiment of the invention, by the unified management of the webpage processing platform and the decoupling among the modules, the SEO webpage can be released by one key without the need of code development capability of a popularization person, so that the labor cost can be reduced, the problem of insufficient popularization persons can be solved, and the release efficiency can be improved. Meanwhile, the structured data template is input in advance through multiplexing in the later stage, so that the input operation of a user can be further reduced, and the time cost is reduced.
Further, fig. 2 is a flowchart illustrating a flow chart according to an embodiment of the present invention, as shown in fig. 2, a user may access the information management platform. Correspondingly, the platform judges whether the user logs in or not according to the token (token) identification in the local cache of the user. If the user logs in, the subsequent process can be carried out, if the user does not log in, the user can log in based on the login system, and after the login is successful, login return can be carried out to the user, namely, a token identifier with successful login is returned. Wherein the token identifier can be used to verify whether to log in and to check the right to access as an interface. The user may then add structured data and object types for the platform to enter, sort, and backup storage. Next, relevant data may be entered and a static web page imported. When the method needs to be popularized, an object type can be selected, the webpage processing system can generate target structured data according to a structured template matched with the object type and related data, an SEO webpage is output based on a target original webpage corresponding to a selected webpage ID after a user selects one key to issue, and finally the SEO webpage is issued. Along with the rapid expansion of e-commerce services, the popularization of an article to a search channel requires a long period, and operation manual operation is also required to popularize and release. However, this is accompanied by the problem that the labor costs required are constantly increasing. In the embodiment of the invention, the SEO webpage is automatically released, so that the labor cost can be reduced, and the popularization efficiency can be improved.
Example nine
Fig. 3 is a block diagram of a web page processing apparatus according to an embodiment of the present invention, and as shown in fig. 3, the apparatus 30 may include:
a receiving module 301, configured to receive related data of a target object, target template indication information, and target webpage indication information sent by a first user;
a first generating module 302, configured to use the available data template indicated by the target template indication information as a target data template, and generate target structured data of the target object according to the relevant data and the target data template;
a second generating module 303, configured to use the available original webpage indicated by the target webpage indication information as a target original webpage, and generate an SEO webpage of the target object according to the target structured data and the target original webpage.
The web page processing device provided by the embodiment of the invention is provided with a functional module corresponding to the web page processing method, can execute the web page processing method provided by any one of the first embodiment to the eighth embodiment of the invention, and can achieve the same beneficial effects.
In another embodiment provided by the present invention, there is also provided an electronic device, which may include: the processor executes the program to realize the processes of the webpage processing method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition. For example, as shown in fig. 4, the electronic device may specifically include: a processor 401, a storage device 402, a display screen 403 with touch functionality, an input device 404, an output device 405, and a communication device 406. The number of the processors 401 in the electronic device may be one or more, and one processor 401 is taken as an example in fig. 4. The processor 401, the storage means 402, the display 403, the input means 404, the output means 405 and the communication means 406 of the electronic device may be connected by a bus or other means.
In another embodiment of the present invention, a computer-readable storage medium is further provided, which stores instructions that, when executed on a computer, cause the computer to execute the web page processing method described in any one of the above embodiments.
In yet another embodiment of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the web page processing method of any of the above embodiments.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.
Claims (13)
1. A method for processing a web page, the method comprising:
receiving related data of a target object, target template indication information and target webpage indication information sent by a first user;
taking the available data template indicated by the target template indication information as a target data template, and generating target structured data of the target object according to the related data and the target data template;
and taking the available original webpage indicated by the target webpage indication information as a target original webpage, and generating the search engine optimized SEO webpage of the target object according to the target structured data and the target original webpage.
2. The method of claim 1, wherein after the generating the SEO webpage for the target object, the method further comprises:
and generating a webpage address for the SEO webpage, and issuing the SEO webpage.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
receiving a data structured template and a static webpage sent by a second user;
and taking the data structured template as the available data template and storing the data structured template, and taking the static webpage as the available original webpage and storing the static webpage.
4. The method of claim 3, further comprising: determining the object type adapted by each available data template;
the template indication information comprises a target object type; the taking the available data template indicated by the template indication information as a target data template includes:
selecting an available data template with an adapted object type matched with the target object type from the available data templates;
and determining an available data template with the object type matched with the target object type as the target data template.
5. The method of claim 3, wherein after storing the static web page as the available original web page, the method further comprises:
distributing a webpage ID for each available original webpage and outputting the webpage ID;
correspondingly, the web page indication information is a target web page ID, and taking the available original web page indicated by the web page indication information as a target original web page includes:
selecting an available original webpage with a webpage ID matched with the target webpage ID from the available original webpage;
and determining the available original webpage with the webpage ID matched with the target webpage ID as the target original webpage.
6. The method of claim 1, wherein generating the SEO webpage of the target object according to the target structured data and the target original webpage comprises:
inserting the target structured data into the target original webpage;
and generating a new static webpage based on the inserted target original webpage to serve as the SEO webpage.
7. The method of claim 3, further comprising:
under the condition of receiving a data processing request, carrying out authority verification on a sender of the data processing request;
if the sender passes the permission verification, executing the processing operation corresponding to the data processing request;
wherein the processing operation comprises one or more of an import operation, an export operation, an edit operation, and a delete operation on the available data template, the available original web page, and the web page ID.
8. The method of claim 1, further comprising:
storing the SEO webpage;
detecting an expired SEO webpage in the stored SEO webpages, and clearing the expired SEO webpage.
9. The method of claim 2, wherein generating the web page address for the SEO web page comprises:
acquiring a preset basic domain name and domain name carrying parameters; the domain name carrying parameters are used for representing a release platform and/or a release area of the SEO webpage; generating the webpage address according to the domain name carrying parameters and the basic domain name;
correspondingly, the publishing the SEO webpage comprises the following steps:
and taking the launching area as a target launching area, and publishing the SEO webpage to a website server corresponding to the target launching area.
10. The method of claim 2, further comprising:
receiving a webpage query request; the webpage query request comprises a webpage ID of a webpage to be queried;
responding to the webpage query request, and determining a webpage storage path according to the webpage ID;
and searching the webpage to be inquired from the stored available original webpage based on the webpage storage path, and returning the webpage to be inquired.
11. A web page processing apparatus, characterized in that the apparatus comprises:
the receiving module is used for receiving related data of a target object, target template indication information and target webpage indication information which are sent by a first user;
a first generation module, configured to use the available data template indicated by the target template indication information as a target data template, and generate target structured data of the target object according to the relevant data and the target data template;
and the second generation module is used for taking the available original webpage indicated by the target webpage indication information as a target original webpage and generating the SEO webpage of the target object according to the target structured data and the target original webpage.
12. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 10.
13. An electronic device, comprising:
processor, memory and computer program stored on the memory and executable on the processor, characterized in that the steps of the method according to any of claims 1 to 10 are implemented when the processor executes the program.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110160419.3A CN112861054B (en) | 2021-02-05 | 2021-02-05 | Webpage processing method and device, computer readable storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110160419.3A CN112861054B (en) | 2021-02-05 | 2021-02-05 | Webpage processing method and device, computer readable storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112861054A true CN112861054A (en) | 2021-05-28 |
CN112861054B CN112861054B (en) | 2024-07-12 |
Family
ID=75988050
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110160419.3A Active CN112861054B (en) | 2021-02-05 | 2021-02-05 | Webpage processing method and device, computer readable storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112861054B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117421000A (en) * | 2023-09-06 | 2024-01-19 | 北京饼干科技有限公司 | Method, device, electronic equipment and storage medium for generating distribution webpage |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104978379A (en) * | 2014-10-14 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Method and device for building application program information station |
CN105022806A (en) * | 2015-07-03 | 2015-11-04 | 厦门二五八集团有限公司 | Method and system for establishing mobile page based on internet webpage of translation template |
CN105912324A (en) * | 2016-04-05 | 2016-08-31 | 浪潮(苏州)金融技术服务有限公司 | Method and device for generating Web page |
CN108090104A (en) * | 2016-11-23 | 2018-05-29 | 百度在线网络技术(北京)有限公司 | For obtaining the method and apparatus of webpage information |
US10394796B1 (en) * | 2015-05-28 | 2019-08-27 | BloomReach Inc. | Control selection and analysis of search engine optimization activities for web sites |
CN111104587A (en) * | 2018-10-26 | 2020-05-05 | 北京金山云网络技术有限公司 | Webpage display method and device and server |
CN111353095A (en) * | 2020-01-13 | 2020-06-30 | 江苏互旦网络科技有限公司 | Intelligent information management system based on SEO optimization |
CN111581482A (en) * | 2020-05-27 | 2020-08-25 | 北京伯乐互联科技发展有限公司 | Data sharing and analyzing method and system based on SEO data multi-dimensional association |
-
2021
- 2021-02-05 CN CN202110160419.3A patent/CN112861054B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104978379A (en) * | 2014-10-14 | 2015-10-14 | 腾讯科技(深圳)有限公司 | Method and device for building application program information station |
US10394796B1 (en) * | 2015-05-28 | 2019-08-27 | BloomReach Inc. | Control selection and analysis of search engine optimization activities for web sites |
CN105022806A (en) * | 2015-07-03 | 2015-11-04 | 厦门二五八集团有限公司 | Method and system for establishing mobile page based on internet webpage of translation template |
CN105912324A (en) * | 2016-04-05 | 2016-08-31 | 浪潮(苏州)金融技术服务有限公司 | Method and device for generating Web page |
CN108090104A (en) * | 2016-11-23 | 2018-05-29 | 百度在线网络技术(北京)有限公司 | For obtaining the method and apparatus of webpage information |
CN111104587A (en) * | 2018-10-26 | 2020-05-05 | 北京金山云网络技术有限公司 | Webpage display method and device and server |
CN111353095A (en) * | 2020-01-13 | 2020-06-30 | 江苏互旦网络科技有限公司 | Intelligent information management system based on SEO optimization |
CN111581482A (en) * | 2020-05-27 | 2020-08-25 | 北京伯乐互联科技发展有限公司 | Data sharing and analyzing method and system based on SEO data multi-dimensional association |
Non-Patent Citations (2)
Title |
---|
AZIZ BARBAR等: "Search Engine Optimization (SEO) for Websites", 《SEARCH ENGINE OPTIMIZATION (SEO) FOR WEBSITES》, pages 51 - 55 * |
陆俊: "SEO技术在XHTML+CSS网页制作中的应用", 《重庆电子工程职业学院学报》, vol. 25, no. 06, pages 147 - 149 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117421000A (en) * | 2023-09-06 | 2024-01-19 | 北京饼干科技有限公司 | Method, device, electronic equipment and storage medium for generating distribution webpage |
CN117421000B (en) * | 2023-09-06 | 2024-06-04 | 北京饼干科技有限公司 | Method, device, electronic equipment and storage medium for generating distribution webpage |
Also Published As
Publication number | Publication date |
---|---|
CN112861054B (en) | 2024-07-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8370358B2 (en) | Tagging content with metadata pre-filtered by context | |
CN105447184B (en) | Information extraction method and device | |
KR101863981B1 (en) | Using text messages to interact with spreadsheets | |
CN102164186B (en) | Method and system for realizing cloud search service | |
CN109376291B (en) | Website fingerprint information scanning method and device based on web crawler | |
CN106126646B (en) | Establish the method and device of the inverted index of Internet of Things smart machine | |
CN109840298B (en) | Multi-information-source acquisition method and system for large-scale network data | |
CN105827706A (en) | Information push device and method | |
CN102819591A (en) | Content-based web page classification method and system | |
CN102193798B (en) | Method for automatically acquiring Open application programming interface (API) based on Internet | |
TWI453608B (en) | System and method for managing a large number of multiple data | |
CN111859076B (en) | Data crawling method, device, computer equipment and computer readable storage medium | |
CN106874502A (en) | A kind of method of video search, device and terminal | |
CN101894109A (en) | Database building method and device | |
CN112861054B (en) | Webpage processing method and device, computer readable storage medium and electronic equipment | |
CN111538645A (en) | Data visualization method and related equipment | |
CN105095383A (en) | Information issuance method, information search method and relevant device | |
JP2010134651A (en) | Merchandise id server device, and method for controlling the same | |
CN117909335A (en) | Data center resource management method and system | |
CN103718179A (en) | Information processing apparatus, information processing method, information processing program, and storage medium having information processing program stored therein | |
CN103312584A (en) | Method and apparatus for releasing information in network community | |
CN115984004A (en) | Information association method, device, equipment and storage medium | |
CN101840401A (en) | Dictionary assistance searching system and method thereof | |
CN210804423U (en) | Website information acquisition and release platform system | |
CN101145936A (en) | A method and system for adding tags in Web pages |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |