Website search engine optimization processing method, device, electronic device and storage medium
By acquiring and preprocessing website source data, determining the target search engine based on configuration information, and submitting data using matching submission methods, the problem of high cost of website submission in the existing technology is solved, and a unified website source data submission plan is realized, reducing the labor costs and efficiency improvements.
Patent Information
- Application Number
- CN202210272627.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-18
- Publication Date
- 2024-12-10
- Estimated Expiration
- 2042-03-18
AI Technical Summary
In the prior art, website business personnel need to adapt the submission specifications to each search engine, resulting in high costs and inability to achieve industry reuse and the unification of unified website source data submission scheme.
Provide a website search engine optimization processing method, which preprocesses the website source data and configuration information, determines the target search engine based on the configuration information, and submits the website source data through a submission method that matches the target search engine, achieving a unified and universal website source data submission scheme.
It reduces the labor costs of each website, improves the submission efficiency, realizes unified submission of multiple search engines, and saves the time and labor costs of business parties to understand the submission specifications of each search engine.
Smart Images

Figure CN114625950B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of information technology, and in particular to a website search engine optimization processing method, device, electronic device, and storage medium. Background Art
[0002] Search Engine Optimization (SEO) refers to the process of optimizing a website's internal and / or external aspects to ensure it meets search engine indexing requirements. This, in turn, drives users to the website through search engines, thereby generating traffic. Therefore, websites require SEO, and submitting a sitemap to search engines is crucial for getting your website indexed.
[0003] Currently, website managers submit sitemaps to search engines by adapting them to the submission specifications of various search engines. This approach is costly and requires tailored adaptation for each search engine. In other words, website managers need to research and understand the submission specifications of each search engine individually, and managers from different websites submit their own sitemaps, making it impossible to reuse them across the industry. Summary of the Invention
[0004] In order to solve the above technical problems or at least partially solve the above technical problems, the embodiments of the present disclosure provide a website search engine optimization processing method, device, electronic device and storage medium, which realize a unified and universal website source data submission solution, which can reduce the labor cost of each website and improve submission efficiency.
[0005] In a first aspect, an embodiment of the present disclosure provides a website search engine optimization processing method, the method comprising:
[0006] Obtain website source data and configuration information;
[0007] Preprocessing the website source data to obtain website source data that meets preset conditions, and determining the website source data that meets the preset conditions as processed website source data;
[0008] determining a target search engine according to the configuration information;
[0009] The processed website source data is submitted to the target search engine through a submission method that matches the target search engine.
[0010] In a second aspect, the present disclosure also provides a website search engine optimization processing device, which includes:
[0011] Acquisition module, used to obtain website source data and configuration information;
[0012] a preprocessing module, configured to preprocess the website source data to obtain website source data that meets preset conditions, and determine the website source data that meets the preset conditions as processed website source data;
[0013] A first determining module, configured to determine a target search engine according to the configuration information;
[0014] The submission module is used to submit the processed website source data to the target search engine through a submission method that matches the target search engine.
[0015] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0016] one or more processors;
[0017] a storage device for storing one or more programs;
[0018] When the one or more programs are executed by the one or more processors, the one or more processors implement the website search engine optimization processing method as described above.
[0019] In a fourth aspect, an embodiment of the present disclosure further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the website search engine optimization processing method as described above.
[0020] The technical solution provided by the embodiments of the present disclosure has at least the following advantages compared with the prior art:
[0021] The website search engine optimization processing method provided by the embodiments of the present disclosure obtains website source data and configuration information; pre-processes the website source data to obtain website source data that meets preset conditions, determines the website source data that meets the preset conditions as processed website source data, and determines a target search engine based on the configuration information; and submits the processed website source data to the target search engine using a submission method that matches the target search engine. This technical approach implements a unified and universal website source data submission solution, which can reduce the labor cost of each website and improve submission efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] The above and other features, advantages, and aspects of the various embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that the originals and elements are not necessarily drawn to scale.
[0023] Figure 1 This is a flow chart of a website search engine optimization processing method according to an embodiment of the present disclosure;
[0024] Figure 2 This is a flow chart of a website search engine optimization processing method according to an embodiment of the present disclosure;
[0025] Figure 3 This is a flow chart of a website search engine optimization processing method according to an embodiment of the present disclosure;
[0026] Figure 4 This is a flow chart of submitting website source data to a search engine through an interface submission method in an embodiment of the present disclosure;
[0027] Figure 5 Schematic diagram of a process of submitting website source data to a search engine through a file submission method in an embodiment of the present disclosure;
[0028] Figure 6 A flowchart of a website search engine optimization processing method in an embodiment of the present disclosure
[0029] Figure 7 This is a flow chart of submitting website source data to a target search engine through an interface submission method in an embodiment of the present disclosure;
[0030] Figure 8 This is a schematic diagram of a process for submitting website source data through a file submission method in an embodiment of the present disclosure;
[0031] Figure 9 This is a schematic diagram of accessing a sitemap file in an embodiment of the present disclosure;
[0032] Figure 10 This is a structural diagram of a website search engine optimization processing device according to an embodiment of the present disclosure;
[0033] Figure 11 Schematic diagram of the structure of an electronic device in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0034] The following describes embodiments of the present disclosure in more detail with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments described herein. Rather, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only and are not intended to limit the scope of protection of the present disclosure.
[0035] It should be understood that the various steps described in the method embodiments of the present disclosure can be performed in different orders and in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0036] As used herein, the term "including" and its variations are open-ended, i.e., "including but not limited to." The term "based on" means "based, at least in part, on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one additional embodiment," and the term "some embodiments" means "at least some embodiments." Other terms are defined in the following description.
[0037] It should be noted that the concepts of "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0038] It should be noted that the modifications of "one" and "multiple" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, they should be understood as "one or more".
[0039] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0040] Submitting a sitemap to search engines is crucial for getting them to index your website. Currently, website developers independently adapt their sitemaps to the various search engine submission specifications. This approach is costly and requires tailored adaptation for each search engine. In other words, developers need to research and understand the submission specifications for each search engine individually, and developers from different websites submit their own sitemaps, preventing industry-wide reuse.
[0041] To address the above issues, the present disclosure provides a website search engine optimization processing method, aiming to provide a unified, universal website source data submission solution, thereby reducing costs for each website and improving submission efficiency. This method can be performed by a website search engine optimization processing device, which can be implemented using software and / or hardware and can be configured in an electronic device, such as a server.
[0042] like Figure 1 As shown, the method may specifically include the following steps:
[0043] Step 110: Obtain website source data and configuration information.
[0044] Specifically, the website source data may refer to one or more of the address information of the website page, the introduction information of the website page (such as the title), and the pictures associated with the website page.
[0045] The website source data can be obtained through the interface provided by the business party, or read from the offline table provided by the business party.
[0046] Configuration information refers to the requirements provided by the business party, such as the search engine specified by the business party, the submission frequency specified by the business party (that is, how often the submission operation is performed, the submission operation refers to the operation of submitting the website source data to the specified search engine, or the time of day when the submission operation is performed, for example, a submission operation is performed once a day at 0:00).
[0047] Step 120: pre-process the website source data to obtain website source data that meets preset conditions, and determine the website source data that meets the preset conditions as processed website source data.
[0048] Optionally, preprocessing the website source data includes: sequentially accessing links in the website source data to obtain access results; determining invalid links among the links based on the access results; and deleting the invalid links from the website source data to obtain processed website source data. Invalid links include links that have been removed from the website.
[0049] Optionally, the website source data may be pre-processed and data in the website source data that does not conform to a preset format specification may be deleted.
[0050] Step 130: Determine a target search engine according to the configuration information.
[0051] Specifically, the target search engine can be determined from the configuration information through keyword matching technology; for example, if the keyword is "search engine A", by matching "search engine A" with the configuration information, if there is an information segment with a matching degree reaching a threshold, it is determined that the configuration information includes "search engine A", and "search engine A" can be determined as the target search engine.
[0052] Optionally, the format of the configuration information can be agreed upon, requiring the business party to provide the configuration information in a preset format. In this case, the information can be directly read from the preset location, and the information read from the preset location is the target search engine.
[0053] The target search engine is specified by the business party, and the website source data will be submitted to the target search engine later.
[0054] Step 140: Submit the processed website source data to the target search engine via a submission method that matches the target search engine.
[0055] Among them, the submission method that matches the target search engine includes a file submission method. Currently, some search engines support interface submission, while others do not. Search engines that support interface submission have their own submission interface, which is used by business parties to submit website source data to the search engine. In the disclosed solution, the submission interfaces of existing search engines that support interface submission are collected and uniformly stored. When providing services to business parties, based on the collected submission interfaces, it is determined whether there is a submission interface that matches the target search engine specified by the business party.
[0056] Optionally, if there is a submission interface that matches the target search engine, then the submission method that matches the target search engine includes, in addition to the file submission method, the interface submission method. That is, the file submission method is applicable to all types of search engines (including those that support interface submission and those that do not), while the interface submission method is only applicable to search engines that support interface submission.
[0057] Specifically, if there is a submission interface that matches the target search engine, the processed website source data is submitted to the target search engine through an interface submission method and / or a file submission method.
[0058] That is, if there is a submission interface that matches the target search engine specified by the business party, the business party's website source data can be submitted to the target search engine through the interface submission method to guide the target search engine to include it.
[0059] Typically, due to the submission specifications of various search engines, the amount of website source data submitted each time through the interface submission method cannot be too large, and some search engines limit the daily submission volume. However, the interface submission method is more convenient, so it is preferred for website source data with high real-time requirements, while for website source data with lower real-time requirements, file submission is preferred. Alternatively, if the total amount of website source data of the business party is not too large, all of it can be submitted through the interface submission method.
[0060] It is understood that if there is no submission interface that matches the target search engine, the processed website source data will be submitted to the target search engine via file submission. That is, if the target search engine specified by the business party does not support interface submission, the website source data can only be submitted via file submission.
[0061] Furthermore, a scheduled task may be established according to the submission frequency specified in the configuration information, and the scheduled task is responsible for executing the above steps 110-140 according to the submission frequency.
[0062] Generally speaking, the method further includes: determining a submission frequency based on the configuration information.
[0063] Submitting the processed website source data to the target search engine through an interface submission method and / or a file submission method includes:
[0064] The processed website source data is submitted to the target search engine through an interface submission method and / or a file submission method according to the submission frequency.
[0065] The disclosed embodiments provide a unified and universal website source data submission solution, which can provide website services for various business parties, meet the business parties' needs for various search engines, and ensure timeliness and integrity. Business parties only need to provide website source data and configuration information, and no longer need to invest manpower and time to understand the relevant specifications of various search engines, thereby saving costs for business parties.
[0066] Figure 2 This is a flowchart of a website search engine optimization processing method in one embodiment. Based on the above embodiment, this embodiment provides a specific implementation method for the above step of "submitting the processed website source data to the target search engine via an interface submission method and / or a file submission method."
[0067] like Figure 2 As shown, the website search engine optimization processing method includes the following steps:
[0068] Step 210: Obtain website source data and configuration information.
[0069] Step 220: Pre-process the website source data to obtain website source data that meets preset conditions, and determine the website source data that meets the preset conditions as processed website source data.
[0070] Step 230: Determine a target search engine according to the configuration information.
[0071] Step 240: Determine whether there is a submission interface that matches the target search engine.
[0072] Step 250: If the submission interface exists, submit a preset amount of website source data to the target search engine through the submission interface according to the submission specification of the target search engine.
[0073] Specifically, some search engines limit the daily submission amount, so it is necessary to refer to the specifications of the target search engine to determine the preset number. The preset number is usually the upper limit of the daily data volume limited by the target search engine (i.e., the maximum amount of data that can be submitted per day). It is understood that if the total amount of website source data is lower than the upper limit of the daily data volume limited by the target search engine, the preset number will be the total amount of website source data.
[0074] Typically, for website source data with high real-time requirements, the interface submission method is preferred, while for website source data with lower real-time requirements, file submission is preferred. Alternatively, if the total amount of website source data of the business party is less than the daily data volume limit of the target search engine, all of it can be submitted through the interface submission method.
[0075] Step 260: If the total amount of the processed website source data is greater than the preset amount, the website source data that has not been submitted to the target search engine is submitted to the target search engine through a file submission method.
[0076] Step 270: If the submission interface does not exist, submit the processed website source data to the target search engine through a file submission method.
[0077] Based on the above embodiment, this embodiment provides a specific implementation method for the step of "submitting the processed website source data to the target search engine through an interface submission method and / or a file submission method". Specifically, according to the submission specification of the target search engine, a preset amount of website source data is submitted to the target search engine through the submission interface; if the total amount of the processed website source data is greater than the preset amount, the website source data that has not been submitted to the target search engine is submitted to the target search engine through a file submission method. This achieves personalized adaptation to the target search engine and ensures the stability of website source data submission.
[0078] Figure 3 FIG1 is a flow chart of a website search engine optimization processing method in one embodiment. Based on the above embodiment, this embodiment provides a specific implementation method for submitting website source data to a target search engine through file submission.
[0079] like Figure 3 As shown, the method includes the following steps:
[0080] Step 310: Obtain website source data and configuration information.
[0081] Step 320: Pre-process the website source data to obtain website source data that meets preset conditions, and determine the website source data that meets the preset conditions as processed website source data.
[0082] Step 330: Determine the target search engine according to the configuration information.
[0083] Step 340: Determine whether there is a submission interface that matches the target search engine.
[0084] Step 350: If the submission interface exists, submit the processed website source data to the target search engine through an interface submission method and / or a file submission method.
[0085] Step 360: If the submission interface does not exist, generate a preset file based on the processed website source data according to the submission specification of the target search engine.
[0086] The default file refers to a file containing website source data. Typically, there are hundreds of millions of pieces of website source data, each of which typically includes the following information: the website page's address, description information about the page, or images associated with the page. However, most search engines limit default files to no more than 5,000 lines. Therefore, processing of these hundreds of millions of pieces of website source data is necessary to keep the default file within 5,000 lines and ensure that it contains all the website source data.
[0087] Specifically, the website source data can be distributed into different sub-files for storage, and each sub-file can be stored on a designated server. The file address of each sub-file can then be obtained and stored in a preset file. If the number of sub-file addresses still exceeds 5,000, the sub-files can further nest the file addresses of sub-sub-files within the sub-files. That is, the actual website source data is stored in the sub-sub-files, and the sub-files store the file addresses of the sub-sub-files, while the preset file stores the file addresses of the sub-files.
[0088] It is understandable that if the website source data is small, the website source data can be directly stored in a preset file. In general, the preset file includes the processed website source data and / or the file address of the sub-file storing the processed website source data.
[0089] Step 370: Store the preset file in a preset location and obtain the storage address of the preset file.
[0090] Specifically, the preset file may be stored in a setting server, so as to convert the preset file into an online file for easy access by a target search engine.
[0091] Step 380: Submit the storage address to the target search engine.
[0092] By storing the preset file online and submitting the storage address to the target search engine, the target search engine can access the preset file online based on the storage address.
[0093] Furthermore, in some embodiments, when the domain name of the storage address of a preset file does not conform to the specifications of a target search engine, the domain name of the storage address needs to be further forwarded to obtain a domain name that conforms to the specifications of the target search engine. For example, when submitting source data for website a, the target search engine stipulates that the domain name of the storage address of the preset file must include the name of website a. However, the domain name of the storage address of the preset file obtained by the processing method provided herein does not include the name of website a. In this case, the domain name of the storage address of the preset file needs to be forwarded to obtain a storage address whose domain name includes the name of website a.
[0094] Exemplarily, the step of submitting the processed website source data to the target search engine by file submission further includes:
[0095] The storage address is subjected to domain name conversion to obtain an address of a target domain name, where the target domain name is determined according to a submission specification of the target search engine.
[0096] Submitting the storage address to the target search engine includes:
[0097] The target domain name address is submitted to the target search engine, so that the target search engine accesses the preset file through the target domain name address.
[0098] It is understandable that after completing the submission of the website source data, if the website source data is updated, the updated source data needs to be submitted again. In particular, when only part of the source data is updated, in order to avoid repeated submission of the source data that has not been updated, only the updated source data can be submitted again. Optionally, when distributing the website source data into various sub-files, the name of each sub-file can include the file creation time (specifically, it can be accurate to the hour or minute) to mark the historical update time of each source data. When a piece of source data is updated, the sub-file storing the source data can be found based on its historical update time, and then the updated source data can be used to replace the historical data, that is, only the updated source data is processed, which can achieve the purpose of reducing the processing workload and thus improve processing efficiency.
[0099] In summary, when the target source data in the processed website source data is updated, the target file storing the target source data in the preset file is determined based on the historical update time of the target source data, and the target file is named based on the historical update time of the target source data; the target source data in the target file is replaced with the updated source data; and the storage address is resubmitted to the target search engine.
[0100] Furthermore, after submitting the website source data to the target search engine, the website search engine optimization processing method further includes: broadcasting the submission results via voice broadcast. The submission results specifically include information on whether the submission was successful or failed. By broadcasting the submission results via voice broadcast, the submission results can be broadcasted to the target audience, thereby avoiding the target audience from independently checking the submission results in the backend of each search engine. This can save the target audience time and make the website source data submission process open, transparent, and delay-free.
[0101] In summary, the website search engine optimization processing method provided by the embodiments of the present disclosure aims to provide a unified submission solution to solve the submission problem of website source data of most search engines; the website business party does not need to understand the submission specifications of each search engine, but only needs to provide website source data and configuration information to complete the submission of multiple search engines, and the submission results are reported in a timely manner to notify the website business party in a timely manner.
[0102] References Figure 4 The flowchart shown is a process of submitting website source data to a search engine through an interface submission method. Specifically, the submission interfaces provided by various search engines are collected in advance. When the website source data and configuration information provided by the business party are obtained, the website source data is pre-processed to obtain the processed website source data, and the target search engine is determined based on the configuration information. Based on the target search engine, the submission interface that matches the target search engine is determined from the submission interfaces of various search engines collected in advance. The above process is Figure 4 The logic executed by the "Interface Adaptation Layer" shown in the figure submits the processed website source data to the target search engine through the submission interface that matches the target search engine. After submission, the submission result is broadcasted by the robot.
[0103] References Figure 5The figure shows a flow chart of submitting website source data to a search engine through file submission. Specifically, the online storage address of a sitemap file (i.e., the preset file in the above embodiment) adapted to the search engine is generated based on the processed website source data and the search engine's submission specifications, and the online storage address of the sitemap file is submitted to each search engine. After the online storage address of the sitemap file is submitted to each search engine, the submission result is broadcasted by a robot.
[0104] For details, please refer to Figure 6 The flowchart of a website search engine optimization processing method shown in the figure obtains the website source data and configuration information provided by the business party through the "data acquisition and adaptation" module, pre-processes the website source data, obtains the processed website source data, and determines the target search engine and the submission interface that matches the target search engine based on the configuration information. Among them, the business party may provide the website source data through an interface, an offline table, or other methods (such as online direct transmission, etc.). Generate a sitemap file through a scheduled task at the frequency specified by the configuration information, and submit the storage address of the sitemap file to the target search engine in the form of file submission, or submit the website source data to the target search through the interface submission method, and broadcast the submission result notification to the target group, that is, Figure 6 The "Update Notification" shown in . The storage address of the sitemap is submitted to the target search engine in the form of file submission. Manual submission can be done by manually filling in the storage address of the sitemap to the preset location to complete the submission task.
[0105] For further reference, see Figure 7The flowchart of a process of submitting website source data to the target search engine through an interface submission method is shown. First, the data acquisition and adaptation service is started through a scheduled submission task (i.e., obtaining the website source data and configuration information provided by the business party, pre-processing the website source data, obtaining the processed website source data, and determining the target search engine and the submission interface service that matches the target search engine based on the configuration information). Secondly, the website source data is submitted in sequence through the submission interface that matches the target search engine to avoid repeated submissions and missed submissions. The remaining quota is checked once each submission until the remaining quota is 0 and the submission process ends, and the submission result is broadcast by the robot. It is understandable that each search engine has a different quota limit. For example, some search engines stipulate that the number of website source data items submitted through the submission interface per day (a website source data item can refer to one or more of the address information of the website page, the introduction information of the website page (such as the title) and the pictures associated with the website page) cannot exceed 3000. 3000 is the initial remaining quota. The remaining quota is updated once each submission (i.e., the remaining quota is reduced by 1) until the submission process ends when the remaining quota is 0.
[0106] For further reference, see Figure 8 The schematic diagram of a process for submitting website source data via file submission specifically includes: triggering a data acquisition and adaptation service through a scheduled task (i.e., acquiring website source data and configuration information provided by a business party, preprocessing the website source data, obtaining the processed website source data, and determining the target search engine and the target search engine's submission specifications based on the configuration information); processing the website source data based on the target search engine's submission specifications and the website source data, specifically storing the website source data in multiple different subfiles according to the target search engine's submission specifications. For example, if the search engine's submission specifications stipulate that the total number of lines in a sitemap file cannot exceed 5,000, then based on the total amount of website source data, the website source data is stored in multiple different subfiles, each subfile is stored as an online file, and then the multiple subfiles are merged to obtain a sitemap file, so that the total number of lines in the sitemap file does not exceed 5,000. Specifically, the data in the sitemap file can be the website source data itself or the storage address of the subfile storing the website source data. Therefore, all website source data can be obtained based on the sitemap file. The above process can be executed in parallel by multiple threads to improve processing efficiency. The generated sitemap file is further deployed to the storage server for easy access by search engines.
[0107] Figure 8The specific meaning of "sharding and throwing into different threads according to hash-key" is to disperse and store the website source data in multiple different sub-files, and store each sub-file as an online file through different threads, and then merge multiple sub-files to obtain a sitemap file; hash-key refers to the name of the sub-file, which is convenient for subsequent search. The hash-key can be a time, such as year-month-day, and specifically can be the time when the source data was last modified, that is, the historical update time of the source data. It can be understood that the sitemap file can include all the file addresses of sub-files, all the website source data itself, or both the file addresses of sub-files and the website source data itself. When part of the website source data is updated, for example, the updated source data is the target source data, the sub-file storing the target source data can be located according to the historical update time of the target source data, and the sub-file can be defined as the target file, and the target source data before the update stored in the target file can be replaced with the target source data after the update. Specifically, the file address of each sub-file stored in the sitemap file includes the name of the sub-file, that is, the above-mentioned hash-key. When the target source data is updated, the hash-key of the target source data is used to determine whether the sitemap file includes the hash-key file address .xml. The target source data before the update is obtained by decompressing the .xml and replacing it with the target source data after the update. If the number of target source data exceeds the upper limit specified by the search engine, the target source data is fragmented into multiple sub-files, and the naming of the sub-files can be 2020-12-01-01.xml, 2020-12-01-02.xml, 2020-12-01-03.xml, etc. Each time a sitemap file is generated, a sitemap file is uploaded to the storage server, and the storage address of the sitemap file is submitted to the search engine, and the index file of the source data is updated synchronously to facilitate retrospective search when the data is updated later; finally, the submission results are broadcasted by the robot.
[0108] It should be noted that there may be a situation where the domain name in the storage address of the sitemap file does not meet the search engine's specifications. In this case, through domain name forwarding, that is, URL (Uniform Resource Locator) forwarding, users who access the first domain name (that is, the domain name that meets the search engine's specifications) are guided to the second domain name. That is, a domain name that meets the search engine's specifications is determined as the domain name of the sitemap file and submitted to the search engine. When the search engine accesses the sitemap file, the search engine is guided to the storage address of the sitemap file, thereby achieving access to the sitemap file. For example, refer to Figure 9The following diagram shows a sitemap file access diagram. A search engine accesses a domain name server TLB that complies with its specifications. The domain name server TLB controls access to the search engine through the reverse proxy seo_proxy, enabling access to files stored on the server TOS. The sitemap file is actually stored on the server TOS, not the server TLB.
[0109] In general, the process of submitting website source data through file submission includes: generation of sitemap file - deployment of sitemap file - submission of sitemap file - update of sitemap file.
[0110] The website search engine optimization processing solution provided by the present invention unifies the submission interfaces of various existing search engines into one service. After the scheduled task is started, the website source data provided by the business party is obtained, and the website source data is submitted to each search engine according to the submission specifications of each search engine through the submission interface that matches each search engine. For search engines that do not support interface submission, a file submission method is provided. First, a sitemap file is generated based on the website source data, and then the storage address of the sitemap file is submitted to each search engine. The file submission method is not only applicable to search engines that do not support interface submission, but also to search engines that support interface submission. It achieves the purpose of allowing the website business party to submit to multiple search engines by only providing a copy of the website source data and configuration information, greatly simplifying the submission work of the website business party and saving labor costs. After submission, the robot broadcasts the submission results so that the relevant personnel of the business party can be informed of the submission results in a timely manner, which helps to improve the cooperation experience.
[0111] Figure 10 FIG. 1 is a schematic diagram of the structure of a website search engine optimization processing device according to an embodiment of the present disclosure. Figure 10 As shown, the website search engine optimization processing device specifically includes: an acquisition module 1010, a pre-processing module 1020, a first determination module 1030 and a submission module 1040.
[0112] Among them, the acquisition module 1010 is used to obtain website source data and configuration information; the preprocessing module 1020 is used to preprocess the website source data to obtain website source data that meets preset conditions, and determine the website source data that meets the preset conditions as processed website source data; the first determination module 1030 is used to determine the target search engine according to the configuration information; the submission module 1040 is used to submit the processed website source data to the target search engine through a submission method that matches the target search engine.
[0113] Optionally, it further includes: a second determination module for determining a submission frequency according to the configuration information; the submission module 1040 is specifically used to submit the processed website source data to the target search engine according to the submission frequency through a submission method that matches the target search engine.
[0114] Optionally, the submission method that matches the target search engine includes a file submission method; if there is a submission interface that matches the target search engine, the submission method that matches the target search engine also includes an interface submission method.
[0115] Optionally, the submission module 1040 is specifically configured to: submit a preset amount of website source data to the target search engine through a submission interface that matches the target search engine according to the submission specifications of the target search engine; if the total amount of the processed website source data is greater than the preset amount, submit the website source data that has not been submitted to the target search engine to the target search engine through file submission.
[0116] Optionally, the submission module 1040 includes:
[0117] a generating unit, configured to generate a preset file based on the processed website source data according to the submission specification of the target search engine, wherein the preset file includes the processed website source data and / or a file address of a sub-file storing the processed website source data;
[0118] The storage unit is used to store the preset file in a preset location and obtain the storage address of the preset file; the submission unit is used to submit the storage address to the target search engine.
[0119] Optionally, the submission module 1040 further includes:
[0120] The conversion unit is configured to perform domain name conversion on the storage address before submitting it to the target search engine to obtain a target domain name address, where the target domain name is determined according to a submission specification of the target search engine. Accordingly, the submission unit is configured to submit the target domain name address to the target search engine so that the target search engine accesses the preset file via the target domain name address.
[0121] Optionally, the submission module 1040 further includes: a determination unit, configured to, after submitting the storage address to the target search engine, determine the target file storing the target source data in the preset file based on the historical update time of the target source data when the target source data in the processed website source data is updated, and the target file is named based on the historical update time of the target source data; a replacement unit, configured to replace the target source data in the target file with the updated source data; correspondingly, the submission unit is configured to: resubmit the storage address to the target search engine.
[0122] Optionally, it further includes: an alarm module, which is used to issue an alarm through machine broadcast based on the submission result after submitting the processed website source data to the target search engine, so as to play the submission result.
[0123] Optionally, the preprocessing module 1020 includes: an access unit, used to access the links in the website source data in sequence to obtain access results; a determination unit, used to determine invalid links in the links based on the access results; and a deletion unit, used to delete the invalid links from the website source data to obtain processed website source data.
[0124] The disclosed embodiments provide a unified and universal website source data submission solution, which can provide website services for various business parties, meet the business parties' needs for various search engines, and ensure timeliness and integrity. Business parties only need to provide website source data and configuration information, and no longer need to invest manpower and time to understand the relevant specifications of various search engines, thereby saving costs for business parties.
[0125] The website search engine optimization processing device provided in the embodiment of the present disclosure can execute the steps of the website search engine optimization processing method provided in the method embodiment of the present disclosure, and the execution steps and beneficial effects are not repeated here.
[0126] Figure 11 This is a schematic diagram of the structure of an electronic device in the embodiment of the present disclosure. Figure 11 , which shows a schematic structural diagram of an electronic device 1100 suitable for implementing the embodiments of the present disclosure. The electronic device 1100 in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), wearable electronic devices, and the like, as well as fixed terminals such as digital TVs, desktop computers, smart home devices, and the like. Figure 11 The electronic device shown is only an example and should not limit the functions and scope of use of the embodiments of the present disclosure.
[0127] like Figure 11 As shown, the electronic device 1100 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 1101, which can perform various appropriate actions and processes to implement the methods of the embodiments described in the present disclosure according to the program stored in the read-only memory (ROM) 1102 or the program loaded from the storage device 1108 into the random access memory (RAM) 1103. Various programs and data required for the operation of the electronic device 1100 are also stored in the RAM 1103. The processing device 1101, the ROM 1102, and the RAM 1103 are connected to each other via a bus 1104. An input / output (I / O) interface 1105 is also connected to the bus 1104.
[0128] Typically, the following devices may be connected to the I / O interface 1105: an input device 1106 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 1107 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 1108 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1109. The communication device 1109 may allow the electronic device 1100 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 11 The electronic device 1100 is shown with various devices, but it should be understood that it is not required to implement or possess all of the devices shown. More or fewer devices may be implemented or possessed instead.
[0129] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart, thereby implementing the method as described above. In such an embodiment, the computer program can be downloaded and installed from the network through the communication device 1109, or installed from the storage device 1108, or installed from the ROM 1102. When the computer program is executed by the processing device 1101, the above-mentioned functions defined in the method of the embodiment of the present disclosure are performed.
[0130] It should be noted that the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, device, or component. In the present disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.
[0131] In some embodiments, the client and server can communicate using any currently known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0132] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.
[0133] The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device:
[0134] Obtain website source data and configuration information; pre-process the website source data to obtain website source data that meets preset conditions, determine the website source data that meets the preset conditions as processed website source data, and determine a target search engine based on the configuration information; submit the processed website source data to the target search engine via a submission method that matches the target search engine; wherein the submission method that matches the target search engine includes a file submission method.
[0135] Optionally, when the above one or more programs are executed by the electronic device, the electronic device may also execute other steps described in the above embodiments.
[0136] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages, or a combination thereof, including, but not limited to, object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a stand-alone software package, partially on the user's computer and partially on a remote computer, or entirely on the remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0137] The flowcharts and block diagrams in the accompanying drawings illustrate the possible implementation architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment, or a part of code, and the module, program segment, or a part of code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order than that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of the boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0138] The units involved in the embodiments described in this disclosure may be implemented in software or hardware, wherein the name of a unit does not necessarily limit the unit itself.
[0139] The functions described above herein may be performed, at least in part, by one or more hardware logic components. For example, and without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chip (SOCs), complex programmable logic devices (CPLDs), and the like.
[0140] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in conjunction with an instruction execution system, device or equipment. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium can include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0141] According to one or more embodiments of the present disclosure, the present disclosure provides a website search engine optimization processing method, including: obtaining website source data and configuration information; preprocessing the website source data to obtain website source data that meets preset conditions, determining the website source data that meets the preset conditions as processed website source data, and determining a target search engine based on the configuration information; and submitting the processed website source data to the target search engine via a submission method that matches the target search engine.
[0142] According to one or more embodiments of the present disclosure, in the website search engine optimization processing method provided by the present disclosure, optionally, it further includes: determining a submission frequency according to the configuration information; submitting the processed website source data to the target search engine through a submission method that matches the target search engine includes: submitting the processed website source data to the target search engine according to the submission frequency through a submission method that matches the target search engine.
[0143] According to one or more embodiments of the present disclosure, in the website search engine optimization processing method provided by the present disclosure, optionally, the submission method matching the target search engine includes a file submission method; if there is a submission interface matching the target search engine, then the submission method matching the target search engine also includes an interface submission method.
[0144] According to one or more embodiments of the present disclosure, in the website search engine optimization processing method provided by the present disclosure, optionally, submitting the processed website source data to the target search engine through a submission method that matches the target search engine includes: submitting a preset amount of website source data to the target search engine through a submission interface that matches the target search engine according to the submission specification of the target search engine; if the total amount of the processed website source data is greater than the preset amount, submitting the website source data that has not been submitted to the target search engine to the target search engine through a file submission method.
[0145] According to one or more embodiments of the present disclosure, in the website search engine optimization processing method provided by the present disclosure, optionally, submitting the processed website source data to the target search engine through a submission method that matches the target search engine includes: generating a preset file based on the processed website source data according to the submission specification of the target search engine, the preset file including the processed website source data and / or the file address of a sub-file storing the processed website source data; storing the preset file in a preset location to obtain the storage address of the preset file; and submitting the storage address to the target search engine.
[0146] According to one or more embodiments of the present disclosure, in the website search engine optimization processing method provided by the present disclosure, optionally, before submitting the storage address to the target search engine, submitting the processed website source data to the target search engine through a submission method that matches the target search engine further includes: performing domain name conversion on the storage address to obtain an address of a target domain name, where the target domain name is determined according to a submission specification of the target search engine; and submitting the storage address to the target search engine includes: submitting the address of the target domain name to the target search engine so that the target search engine accesses the preset file through the address of the target domain name.
[0147] According to one or more embodiments of the present disclosure, in the website search engine optimization processing method provided by the present disclosure, optionally, after submitting the storage address to the target search engine, submitting the processed website source data to the target search engine through a submission method that matches the target search engine further includes: when target source data in the processed website source data is updated, determining a target file storing the target source data in the preset file based on a historical update time of the target source data, the target file being named based on the historical update time of the target source data; replacing the target source data in the target file with the updated source data; and resubmitting the storage address to the target search engine.
[0148] According to one or more embodiments of the present disclosure, in the website search engine optimization processing method provided by the present disclosure, optionally, after submitting the processed website source data to the target search engine, the method further includes: based on the submission result, issuing an alarm by machine broadcast to play the submission result.
[0149] According to one or more embodiments of the present disclosure, in the website search engine optimization processing method provided by the present disclosure, optionally, the preprocessing of the website source data includes: accessing the links in the website source data in sequence to obtain access results; determining invalid links in the links based on the access results; and deleting the invalid links from the website source data to obtain processed website source data.
[0150] According to one or more embodiments of the present disclosure, the present disclosure provides a website search engine optimization processing device, including: an acquisition module for acquiring website source data and configuration information; a preprocessing module for preprocessing the website source data to obtain website source data that meets preset conditions, and determining the website source data that meets the preset conditions as processed website source data; a first determination module for determining a target search engine based on the configuration information; and a submission module for submitting the processed website source data to the target search engine via a submission method that matches the target search engine.
[0151] According to one or more embodiments of the present disclosure, the present disclosure provides an electronic device, including:
[0152] one or more processors;
[0153] a memory for storing one or more programs;
[0154] When the one or more programs are executed by the one or more processors, the one or more processors implement any website search engine optimization processing method provided in the present disclosure.
[0155] According to one or more embodiments of the present disclosure, the present disclosure provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements any website search engine optimization processing method provided by the present disclosure.
[0156] The above description is merely a preferred embodiment of the present disclosure and an illustration of the technical principles employed. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above-mentioned technical features, but also includes other technical solutions formed by any combination of the above-mentioned technical features or their equivalents without departing from the above-mentioned disclosed concepts. For example, a technical solution formed by replacing the above-mentioned features with (but not limited to) technical features with similar functions disclosed in this disclosure.
[0157] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details have been included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.
[0158] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms of implementing the claims.
Claims
1. A website search engine optimization processing method, It is characterized in that The method comprises: Obtaining website source data and configuration information; wherein the configuration information includes information or keywords of the search engine specified by the business party; Preprocessing the website source data to obtain website source data that meets preset conditions, and determining the website source data that meets the preset conditions as processed website source data; Determine a target search engine according to the configuration information; The processed website source data is submitted to the target search engine via a submission method that matches the target search engine; wherein the submission method that matches the target search engine includes a file submission method and / or an interface submission method.
2. The method according to claim 1, It is characterized in that Also includes: Determining a submission frequency according to the configuration information; Submitting the processed website source data to the target search engine in a submission method that matches the target search engine includes: The processed website source data is submitted to the target search engine according to the submission frequency and in a submission manner that matches the target search engine.
3. The method according to claim 1, It is characterized in that The submission method matching the target search engine includes a file submission method; If there is a submission interface that matches the target search engine, the submission method that matches the target search engine also includes an interface submission method.
4. The method according to claim 3, It is characterized in that Submitting the processed website source data to the target search engine in a submission method that matches the target search engine includes: According to the submission specification of the target search engine, submitting a preset amount of website source data to the target search engine through a submission interface matching the target search engine; If the total amount of the processed website source data is greater than the preset amount, the website source data that has not been submitted to the target search engine is submitted to the target search engine through a file submission method.
5. The method according to claim 1, It is characterized in that Submitting the processed website source data to the target search engine in a submission method that matches the target search engine includes: According to the submission specification of the target search engine, generating a preset file based on the processed website source data, wherein the preset file includes the processed website source data and / or a file address of a sub-file storing the processed website source data; Storing the preset file in a preset location to obtain the storage address of the preset file; Submit the storage address to the target search engine.
6. The method according to claim 5, It is characterized in that Before submitting the storage address to the target search engine, submitting the processed website source data to the target search engine in a submission method matching the target search engine further includes: Performing domain name conversion on the storage address to obtain an address of a target domain name, wherein the target domain name is determined according to a submission specification of the target search engine; Submitting the storage address to the target search engine includes: The address of the target domain name is submitted to the target search engine, so that the target search engine accesses the preset file through the address of the target domain name.
7. The method according to claim 5, It is characterized in that After submitting the storage address to the target search engine, submitting the processed website source data to the target search engine in a submission method matching the target search engine also includes: When the target source data in the processed website source data is updated, determining a target file storing the target source data in the preset file based on the historical update time of the target source data, wherein the target file is named based on the historical update time of the target source data; replacing the target source data in the target file with the updated source data; The stored address is resubmitted to the target search engine.
8. The method according to any one of claims 1 to 7, It is characterized in that After submitting the processed website source data to the target search engine, the method further includes: Based on the submission result, an alarm is issued by machine broadcasting to play the submission result.
9. The method according to any one of claims 1 to 7, It is characterized in that The preprocessing of the website source data includes: Access the links in the website source data in sequence to obtain access results; Determine an invalid link among the links according to the access result; The invalid link is deleted from the website source data to obtain processed website source data.
10. A website search engine optimization processing device, It is characterized in that include: An acquisition module, used to acquire website source data and configuration information; wherein the configuration information includes information or keywords of a search engine specified by the business party; A preprocessing module, used to preprocess the website source data to obtain website source data that meets preset conditions, and determine the website source data that meets the preset conditions as processed website source data; A first determination module, configured to determine a target search engine according to the configuration information; A submission module is used to submit the processed website source data to the target search engine through a submission method that matches the target search engine; wherein the submission method that matches the target search engine includes a file submission method and / or an interface submission method.
11. An electronic device, It is characterized in that The electronic device comprises: one or more processors; A storage device for storing one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 9.
12. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the method according to any one of claims 1 to 9 is implemented.
