Website construction system and method
By introducing the access optimization module and risk assessment module into the website construction system, analyzing the traffic and security logs, automatically optimizing the server configuration and selecting appropriate maintenance personnel to deal with attacks, the problems of low intelligence and insufficient security in the existing technology are solved. issues, improving website performance and security.
Patent Information
- Application Number
- CN202410725933.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-06
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-06-06
AI Technical Summary
When optimizing website server bandwidth and load, the existing website construction system is not very intelligent and cannot perform specific optimization based on the traffic analysis results from Monday to Sunday, resulting in excess or insufficient resources and affecting user experience.
A website construction system is provided, including an access optimization module, a risk assessment module and a security enhancement module. The access optimization module parses access log files, analyzes user visits, draws curves and line charts, calculates the optimization index, automatically triggers optimization adjustment instructions, and adjusts bandwidth and load balancing configurations; the risk assessment module analyzes security information logs when attacked , assess network security risks, and select the most appropriate maintainers to handle attacks.
It improves the intelligence and richness of website optimization, avoids waste of resources, and enhances website security and access experience.
Smart Images

Figure CN118295763B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of website construction, and in particular to a website construction system and method. Background Art
[0002] With the popularization and development of the Internet, website construction has become an indispensable part for enterprises and individuals. Using the website construction system to create related websites facilitates users to access relevant information while realizing daily maintenance of the website.
[0003] The existing website construction system can adjust the bandwidth and load of the server to which the website belongs, so as to avoid slow page loading during the peak period of website access, thereby extending the response time and affecting the user experience: However, there are still the following defects:
[0004] It is not possible to optimize the bandwidth and load of the server on which the website is built based on the visit analysis results from Monday to Sunday, and the level of intelligence is low;
[0005] At the same time, if we blindly increase bandwidth and load balancing for a long time, it will lead to excess resources and waste.
[0006] Therefore, a website construction system and method are introduced. Summary of the invention
[0007] In view of this, the present invention provides a website construction system and method to solve the problems raised by the above background technology.
[0008] The object of the present invention can be achieved by the following technical solution: including an access optimization module, a risk assessment module and a security enhancement module;
[0009] The access optimization module parses the access log file of the constructed website, analyzes the user visits at the corresponding time in the file, and optimizes the server to which the constructed website belongs based on the analysis results. The specific steps are as follows:
[0010] S1: Access the server to which the website is built and use the command line cat / var / log / apache / access.log or cat / var / log / nginx / access.log to obtain the access log file Apache access.log or Nginx access.log of the server;
[0011] S2: Use the selected custom script to parse the access log file to obtain the data file of the constructed website corresponding to the current acquisition time point, extract the access time of the constructed website from the data file, obtain the visit data of the constructed website, classify the obtained data based on Monday to Sunday, and obtain the data set of the constructed website corresponding to Monday to Sunday; wherein the data in the data set is sorted in chronological order;
[0012] S3: extracting the first ten groups of Monday visit volume data from the corresponding set and substituting them into a curve chart for representation, plotting the numerical points corresponding to different time points on Monday of each group in the curve chart, connecting adjacent numerical points to obtain the change curve of each group on Monday, constructing a reference threshold line in the curve chart with a preset Monday reference visit volume, and extracting the part of each group of Monday change curve located on the reference threshold line;
[0013] Mark the overlapped parts of each group of Monday extractions, and calculate the proportion of ten groups of Mondays in each marked overlapped part, that is, the ratio between the number of curves corresponding to the overlapped part and the total number of curves ten, and mark the overlapped parts corresponding to more than 50%; if the number of marks is 0, then reduce it by 10%, that is, mark the overlapped parts corresponding to more than 40%, the same as above, if the number of marks continues to be 0, and so on;
[0014] Obtain the duration of overlap corresponding to each marked overlap part, and extract the time period corresponding to each group of overlap durations on Monday, so as to obtain each group of optimized time periods corresponding to the next Monday of the next week for building the website;
[0015] When the website construction enters the starting time point of the optimization period, the optimization adjustment instruction is automatically triggered, and the server to which the website construction belongs is optimized through the preset adjustment bandwidth target and load balancing configuration;
[0016] S3-101: Substitute the visit volume data at different time points in the time zone of the first half of the corresponding optimization time period into a line graph, draw the data points corresponding to the visit volume at different time points in the line graph, connect the adjacent data points to obtain the visit volume change line, and build a reference threshold line in the line graph with the preset Monday reference visit volume; calculate the slope of each visit volume change line and the angle with the horizontal line. If the angle between the visit volume change line and the horizontal line is an obtuse angle, mark the slope of the visit volume change line as the visit volume increase slope; if the angle between the visit volume change line and the horizontal line is an acute angle, mark the slope of the visit volume change line as the visit volume decrease slope; sum up all the visit volume increase slopes to obtain the total value of the increase; sum up all the visit volume decrease slopes to obtain the total value of the decrease; calculate the ratio of the total value of the increase to the total value of the decrease, that is, the total value of the increase / total value of the decrease, to obtain the quantitative change ratio X1;
[0017] Connect the first and last two groups of data points in the line chart to obtain the time series line, calculate the slope of the time series line and the angle with the horizontal line. If the angle between the time series line and the horizontal line is an obtuse angle, mark the slope of the time series line as the total amount rising slope; if the angle between the time series line and the horizontal line is an acute angle, mark the slope of the time series line as the total amount falling slope; match the obtained total amount rising slope or total amount falling slope with the corresponding total amount rising value range or total amount falling value range to obtain the quantitative change valuation X2;
[0018] Set each total increase value range or each total decrease value range to correspond to a quantitative change valuation, and the quantitative change valuation obtained by matching the total increase slope is greater than the quantitative change valuation obtained by matching the total decrease slope;
[0019] At the same time, the difference between the highest data point and the lowest data point is calculated to obtain the quantitative change difference X3;
[0020] According to the formula Calculate the visit change evaluation index ERC of the constructed website in the first half of the current optimization period; A1, A2 and A3 represent the reference values of the quantitative change ratio X1, the quantitative change valuation X2 and the quantitative change difference X3 respectively; uy1, uy2 and uy3 represent the influence weight factors of the quantitative change ratio X1, the quantitative change valuation X2 and the quantitative change difference X3 respectively;
[0021] S3-102: Calculate the average of the visit volume data at different time points in the first half of the optimization time period to obtain the visit volume average FL1;
[0022] Take the visit data points above the reference threshold line in the line graph as the starting point, draw perpendicular lines to the reference threshold line one by one, count the number of perpendicular lines and mark them as E1; calculate the length of each constructed perpendicular line respectively, preset multiple value ranges that match the length of the constructed perpendicular line, and each value range corresponds to a weight coefficient respectively. After matching each constructed perpendicular line, multiply the length of each constructed perpendicular line by the matched weight coefficient to obtain the influence value of each constructed perpendicular line; accumulate the influence value of each constructed perpendicular line, and use the accumulated value as the visit excess value FL2 of the time zone in the first half of the optimization time period;
[0023] Extract the visit volume data corresponding to the highest data point in the line chart as the visit volume peak FL3 in the first half of the optimization period;
[0024] According to the formula Calculate the visit volume excess evaluation index ETK of the constructed website in the first half of the current optimization period; the value of e is 1.786-1.843, which is determined according to the day of the week to which the current analysis period belongs; Fa, Fb and Fc represent the reference values of the average visit volume FL1, the excess visit volume FL2 and the peak visit volume FL3 respectively; ht1, ht2 and ht3 are the influence weight factors of the average visit volume FL1, the excess visit volume FL2 and the peak visit volume FL3 respectively;
[0025] S3-103: Substitute the visit change evaluation index ERC and visit volume excess evaluation index ETK of the constructed website in the first half of the current optimization period into the formula , calculate and obtain the secondary optimization adjustment index RCZ of the constructed website in the first half of the current optimization time period; ERa and ETa represent the threshold indexes of the visit change evaluation index ERC and the visit volume excess evaluation index ETK respectively; sa1 and sa2 represent the impact weight factors of the visit change evaluation index ERC and the visit volume excess evaluation index ETK respectively; is the preset correction factor, and its value is 0.891;
[0026] S4: matching the secondary optimization adjustment index RCZ of the constructed website in the first half of the current optimization time period with the preset multiple optimization adjustment ranges to obtain the secondary optimization setting of the constructed website in the second half of the current optimization time period; setting each optimization adjustment range to correspond to a secondary optimization setting; wherein the secondary optimization setting includes the adjustment range of the server bandwidth and load balancing;
[0027] According to the secondary optimization settings before and after the current optimization time period, adjustments are made on the basis of the preset optimization to adjust the server bandwidth and load balancing to the corresponding range, and used as the optimization settings for the server to which the website belongs in the second half of the current optimization time period;
[0028] S5: If the number of optimization time periods corresponding to the next Monday of the next week for building the website is one, then perform analysis through steps S3-S4;
[0029] If the number of optimization time periods corresponding to the next Monday of the next week for building the website is greater than one, the groups of optimization time periods corresponding to the next Monday of the next week for building the website are arranged in chronological order. When adjacent optimization time periods partially overlap, the two groups of optimization time periods are merged into one group of optimization time periods.
[0030] After the merging is completed and there is no overlap between adjacent optimization time periods, the time interval between the two groups of optimization time periods is extracted;
[0031] S5-101: and compare the extracted time interval with the set interval reference value. If the extracted time interval is smaller than the set interval reference value, when the secondary optimization setting of the previous group of optimization time periods is completed and the second half of the time zone is entered, the access data at different time points in the second half of the time zone are analyzed based on step S3 to obtain the secondary optimization adjustment index of the constructed website in the second half of the optimization time period, and the secondary optimization adjustment index of the second half is matched again based on step S4, and the optimization setting obtained by the matching result is used as the server optimization solution for the time interval between the two groups of optimization time periods;
[0032] The server optimization plan for this time interval is used as the preset optimization setting for entering the next set of optimization time periods;
[0033] S5-102: If the extracted time interval is greater than the set interval reference value, the time interval is divided into multiple sub-portions according to the set segmentation ratio, and the server optimization solution obtained based on step S5-101 is used as the optimization solution for the first sub-portion. At the same time, based on step S3, the access data at different time points in the time zone of the first sub-portion is analyzed to obtain the secondary optimization adjustment index of the constructed website in the sub-portion. Based on step S4, the secondary optimization adjustment index of the sub-portion is matched again, and the optimization setting obtained by the matching result is used as the server optimization solution in the next sub-portion time zone;
[0034] S5-103: Based on step S5-102, the sub-time zones that are subsequently divided are optimized in sequence, and the optimization scheme of the last sub-time zone is used as the preset optimization setting for entering the next set of optimization time periods;
[0035] S6: Based on steps S3-S5, obtain a specific optimization plan for building the website for each of the days from Tuesday to Sunday in the future;
[0036] S7: The access optimization module also collects and integrates the processes of each analysis and optimization to establish a relevant access optimization model;
[0037] When the constructed website is attacked and interception fails, the risk assessment module triggers the retrieval assessment instruction and parses the security information log file of the constructed website; the security information log file includes but is not limited to the log data of the Web server and the firewall; the attack process of the constructed website within the set time range is extracted from the parsed content, and the attack process within the set time range is analyzed to obtain the network security assessment index WZT of the constructed website at the time of the trigger; the specific steps are:
[0038] M1: Identify attack events on the website within a set time range, and analyze the attack type of each attack event to obtain the attack type of each attack event on the website within the set time range; the attack types include but are not limited to DDoS attacks, SQL injection attacks, and XSS attacks; set different risk factors for different attack types;
[0039] M2: for the acquired attack type, classify the attack events of the same attack type, count the number of interception failures of the corresponding attack type, and calculate the ratio between the number of interception failures and the total number of the corresponding attack type to obtain the failure ratio of the attack type;
[0040] M3: simultaneously obtain the duration of each attack event of the corresponding attack type, and take the average value to obtain the mean duration of the corresponding attack type;
[0041] M4: Mark the failure percentage, total number of attacks and mean duration of the corresponding attack type of the constructed website within the set time range as GAi, GBi and GCi respectively; where i represents the number of each attack type, i=1,2 or n, and n is the total number of attack types obtained;
[0042] According to the formula The network security evaluation index WZT of the constructed website at the current trigger time point is calculated; ge1, ge2 and ge3 represent the reference values of the corresponding attack type failure ratio GAi, the total number of attacks GBi and the continuous mean duration GCi respectively; km1, km2 and km3 are the influence weight factors of the failure ratio GAi, the success ratio GBi and the continuous mean duration GCi respectively; GTi represents the risk valuation of each attack type; GPi is the reference value of the risk valuation of each attack type; VPi is the risk coefficient of each attack type;
[0043] The security enhancement module receives the network security evaluation index WZT corresponding to the website constructed at the current trigger time point, and compares the network security evaluation index WZT with the corresponding network security threshold index. If it is greater than the corresponding threshold index, the network security evaluation index WZT is matched with the set multiple risk value ranges to obtain the risk assessment level of the constructed website corresponding to the current trigger time point; each risk value range is set to correspond to a risk assessment level of the currently constructed website;
[0044] Screen the maintenance personnel of the current website construction, obtain the information of the idle maintenance personnel of the website construction at the current trigger time point, and select the maintenance personnel with the largest protection effectiveness value FHX among the idle maintenance personnel as the responsible person for the website construction at the current trigger time point, and send the attack type and risk assessment level suffered by the website construction at the trigger time point to the mobile terminal of the responsible person, so that the responsible person solves the attack suffered by the website construction at this time and strengthens the security of the website;
[0045] The specific screening steps are:
[0046] P1: Get the age, working time and maintenance efficiency of each idle maintenance personnel; if there are idle maintenance personnel aged over 45, get the time period to which the current trigger time belongs. If the current trigger time period is from 23:00 to 4:00, delete the idle maintenance personnel aged over 45 from the analysis list;
[0047] P2: Mark the working hours of the corresponding idle maintenance personnel as UE;
[0048] Get the total number of times the corresponding idle maintenance personnel are selected throughout the year, get the number of successful maintenance from the total number of times the corresponding idle maintenance personnel are selected throughout the year, calculate the ratio between the number of successful maintenance of the corresponding idle maintenance personnel and the total number of times selected, and get the maintenance ratio; get the maintenance time of each successful maintenance of the corresponding idle maintenance personnel, and take the average value to get the average maintenance time; according to the formula Calculate the maintenance efficiency UK of the corresponding maintenance personnel; UA1, UA2 and UA3 represent the number of successful maintenance, maintenance ratio and average maintenance time of the corresponding idle maintenance personnel, respectively; tq1, tq2 and tq3 represent the influencing weight factors of the number of successful maintenance, maintenance ratio and average maintenance time, respectively;
[0049] P3: Calculate the protection effectiveness value FHX of each idle maintenance personnel according to the formula FHX=UE×Lp1+UK×Lp2; where Lp1 and Lp2 are the influencing weight factors of maintenance efficiency UK and working hours UE respectively;
[0050] Furthermore, a website construction method includes:
[0051] Step 1: Access the server to which the website is being built to obtain the access log file and parse it, extract the visit data of the website being built from the parsed content, classify the obtained data based on Monday to Sunday, and obtain the data set corresponding to Monday to Sunday of the website being built;
[0052] Step 2: Extract the first ten groups of Monday visit data from the corresponding set and substitute them into the curve chart. Based on the analysis results of the curve chart, obtain the optimization time periods for each group of websites corresponding to the next Monday in the future.
[0053] Step 3: Substitute the visit volume data at different time points in the time zone in the first half of the corresponding optimization period into the line graph, conduct a comprehensive analysis of the visit volume changes in the line graph and the visit volume data, and obtain the secondary optimization settings for the website construction in the second half of the current optimization period based on the analysis results;
[0054] Step 4: According to the secondary optimization settings before and after the current optimization time period, adjust the server bandwidth and load balancing to the corresponding range based on the preset optimization, and use them as the optimization settings for the server to which the website belongs in the second half of the current optimization time period;
[0055] Step 5: Extract the time interval between the two groups of optimized time periods and compare it with the set interval reference value, and optimize the settings of the server to which the website is built based on the comparison results;
[0056] Step 6: Based on steps 2 to 5, obtain specific optimization plans for the next Tuesday to Sunday;
[0057] Step 7: Collect and integrate the data from each analysis and optimization process to establish a relevant access optimization model. If data changes occur during the analysis process or the result is the same as the stored data, directly execute the solution corresponding to the stored data.
[0058] Compared with the prior art, the present invention has the following beneficial effects:
[0059] The present invention marks the overlapping parts in the extracted parts of each group of Mondays, calculates the proportion of ten groups of Mondays in the overlapping parts of each mark, marks the overlapping parts corresponding to more than 50%, obtains the corresponding overlapping duration of each marked overlapping part, and extracts the time period corresponding to the overlapping duration of each group in Monday, so as to obtain each group of optimized time periods corresponding to the next Monday of the constructed website; when the constructed website enters the starting time point of the optimized time period, the optimization adjustment instruction is automatically triggered, and the server to which the constructed website belongs is optimized through the preset adjustment bandwidth target and load balancing configuration, so as to improve the intelligence and perform targeted optimization according to the time period;
[0060] The present invention divides the optimization time period into two equal parts and analyzes the change of the access volume in the first half. Based on the actual situation at that time, the server settings can be optimized again when entering the second half of the time zone to avoid resource waste caused by excess performance or insufficient performance, which affects the access experience of building a website.
[0061] The present invention performs different optimization settings based on the interval between two groups of optimization time periods, and can perform more optimization settings according to the actual situation at the time, thereby improving the richness and intelligence of website optimization;
[0062] The present invention triggers a retrieval evaluation instruction when a constructed website is attacked and interception fails, and parses a security information log file of the constructed website, extracts the attack process of the constructed website within a set time range from the parsed content, analyzes the attack process within the set time range, obtains a network security evaluation index of the constructed website at the triggering time point, selects a maintenance personnel with the largest protection effectiveness value as the person in charge of the constructed website at the current triggering time point based on the network security evaluation index of the constructed website at the triggering time point, and sends the attack type and risk evaluation level suffered by the constructed website at the triggering time point to the mobile terminal of the person in charge, so that the person in charge solves the attack suffered by the constructed website and strengthens the security of the website at the same time, thereby improving the security of the constructed website. BRIEF DESCRIPTION OF THE DRAWINGS
[0063] Further details, features and advantages of the present application are disclosed in the following description of exemplary embodiments in conjunction with the accompanying drawings, in which:
[0064] Figure 1 is a flow chart of the present invention;
[0065] Figure 2 It is a principle block diagram of the present invention;
[0066] Figure 3 It is a curve diagram of visit volume variation of the present invention;
[0067] Figure 4 For the present invention Figure 3 The enlarged view of point A in the middle;
[0068] Figure 5 It is a line graph of visit volume changes of the present invention. DETAILED DESCRIPTION
[0069] Several embodiments of the present application will be described in more detail below with reference to the accompanying drawings so that those skilled in the art can implement the present application. The present application can be embodied in many different forms and purposes and should not be limited to the embodiments described herein. These embodiments are provided to make the present application comprehensive and complete, and to fully convey the scope of the present application to those skilled in the art. The embodiments do not limit the present application.
[0070] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by those of ordinary skill in the art to which this application belongs. It will be further understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the relevant art and / or the context of this specification, and will not be interpreted in an idealized or overly formal sense unless explicitly defined as such herein.
[0071] See also Figure 1-Figure 5 As shown, a website construction system includes an access optimization module, a risk assessment module and a security enhancement module;
[0072] The access optimization module parses the access log file of the constructed website, analyzes the user visits at the corresponding time in the file, and optimizes the server to which the constructed website belongs based on the analysis results. The specific steps are as follows:
[0073] S1: Access the server to which the website is built and use the command line cat / var / log / apache / access.log or cat / var / log / nginx / access.log to obtain the access log file Apache access.log or Nginx access.log of the server;
[0074] S2: Use the selected custom script to parse the access log file to obtain the data file of the constructed website corresponding to the current acquisition time point, extract the access time of the constructed website from the data file, obtain the visit data of the constructed website, classify the obtained data based on Monday to Sunday, and obtain the data set of the constructed website corresponding to Monday to Sunday; wherein the data in the data set is sorted in chronological order;
[0075] S3: extracting the first ten groups of Monday visit volume data from the corresponding set and substituting them into a curve chart for representation, plotting the numerical points corresponding to different time points on Monday of each group in the curve chart, connecting adjacent numerical points to obtain the change curve of each group on Monday, constructing a reference threshold line in the curve chart with a preset Monday reference visit volume, and extracting the part of each group of Monday change curve located on the reference threshold line;
[0076] Mark the overlapped parts of each group of Monday extractions, and calculate the proportion of ten groups of Mondays in each marked overlapped part, that is, the ratio between the number of curves corresponding to the overlapped part and the total number of curves ten, and mark the overlapped parts corresponding to more than 50%; if the number of marks is 0, then reduce it by 10%, that is, mark the overlapped parts corresponding to more than 40%, the same as above, if the number of marks continues to be 0, and so on;
[0077] It should be noted that by extracting ten sets of data, we can obtain the changes in the number of visits in recent times, which is more referenceable; at the same time, based on the percentage reduction in the number of overlapping marks, real-time adjustments can be made based on the changes in the number of marks, thereby improving the comprehensiveness of data analysis.
[0078] Obtain the duration of overlap corresponding to each marked overlap part, and extract the time period corresponding to each group of overlap durations on Monday, so as to obtain each group of optimized time periods corresponding to the next Monday of the next week for building the website;
[0079] When the website construction enters the starting time point of the optimization period, the optimization adjustment instruction is automatically triggered, and the server to which the website construction belongs is optimized through the preset adjustment bandwidth target and load balancing configuration;
[0080] S3-101: Substitute the visit volume data at different time points in the time zone of the first half of the corresponding optimization time period into a line graph, draw the data points corresponding to the visit volume at different time points in the line graph, connect the adjacent data points to obtain the visit volume change line, and build a reference threshold line in the line graph with the preset Monday reference visit volume; calculate the slope of each visit volume change line and the angle with the horizontal line. If the angle between the visit volume change line and the horizontal line is an obtuse angle, mark the slope of the visit volume change line as the visit volume increase slope; if the angle between the visit volume change line and the horizontal line is an acute angle, mark the slope of the visit volume change line as the visit volume decrease slope; sum up all the visit volume increase slopes to obtain the total value of the increase; sum up all the visit volume decrease slopes to obtain the total value of the decrease; calculate the ratio of the total value of the increase to the total value of the decrease, that is, the total value of the increase / total value of the decrease, to obtain the quantitative change ratio X1;
[0081] Connect the first and last two groups of data points in the line chart to obtain the time series line, calculate the slope of the time series line and the angle with the horizontal line. If the angle between the time series line and the horizontal line is an obtuse angle, mark the slope of the time series line as the total amount rising slope; if the angle between the time series line and the horizontal line is an acute angle, mark the slope of the time series line as the total amount falling slope; match the obtained total amount rising slope or total amount falling slope with the corresponding total amount rising value range or total amount falling value range to obtain the quantitative change valuation X2;
[0082] Set each total increase value range or each total decrease value range to correspond to a quantitative change valuation, and the quantitative change valuation obtained by matching the total increase slope is greater than the quantitative change valuation obtained by matching the total decrease slope;
[0083] At the same time, the difference between the highest data point and the lowest data point is calculated to obtain the quantitative change difference X3;
[0084] According to the formula Calculate the visit change evaluation index ERC of the constructed website in the first half of the current optimization period; A1, A2 and A3 represent the reference values of the quantitative change ratio X1, the quantitative change valuation X2 and the quantitative change difference X3 respectively; uy1, uy2 and uy3 represent the influence weight factors of the quantitative change ratio X1, the quantitative change valuation X2 and the quantitative change difference X3 respectively;
[0085] It should be noted that by dividing the optimized time period into two equal parts and analyzing the changes in the number of visits in the first half, the server settings can be adjusted when entering the second half of the time zone based on the actual situation at the time to avoid waste of resources due to excess performance or insufficient performance, which affects the visit experience of building the website.
[0086] S3-102: Calculate the average of the visit volume data at different time points in the first half of the optimization time period to obtain the visit volume average FL1;
[0087] Take the visit data points above the reference threshold line in the line graph as the starting point, draw perpendicular lines to the reference threshold line one by one, count the number of perpendicular lines and mark them as E1; calculate the length of each constructed perpendicular line respectively, preset multiple value ranges that match the length of the constructed perpendicular line, and each value range corresponds to a weight coefficient respectively. After matching each constructed perpendicular line, multiply the length of each constructed perpendicular line by the matched weight coefficient to obtain the influence value of each constructed perpendicular line; accumulate the influence value of each constructed perpendicular line, and use the accumulated value as the visit excess value FL2 of the time zone in the first half of the optimization time period;
[0088] Extract the visit volume data corresponding to the highest data point in the line chart as the visit volume peak FL3 in the first half of the optimization period;
[0089] According to the formula Calculate the visit volume excess evaluation index ETK of the constructed website in the first half of the current optimization period; the value of e is 1.786-1.843, which is determined according to the day of the week to which the current analysis period belongs; Fa, Fb and Fc represent the reference values of the average visit volume FL1, the excess visit volume FL2 and the peak visit volume FL3 respectively; ht1, ht2 and ht3 are the influence weight factors of the average visit volume FL1, the excess visit volume FL2 and the peak visit volume FL3 respectively;
[0090] S3-103: Substitute the visit change evaluation index ERC and visit volume excess evaluation index ETK of the constructed website in the first half of the current optimization period into the formula , calculate and obtain the secondary optimization adjustment index RCZ of the constructed website in the first half of the current optimization time period; ERa and ETa represent the threshold indexes of the visit change evaluation index ERC and the visit volume excess evaluation index ETK respectively; sa1 and sa2 represent the impact weight factors of the visit change evaluation index ERC and the visit volume excess evaluation index ETK respectively; is the preset correction factor, and its value is 0.891;
[0091] S4: matching the secondary optimization adjustment index RCZ of the constructed website in the first half of the current optimization time period with the preset multiple optimization adjustment ranges to obtain the secondary optimization setting of the constructed website in the second half of the current optimization time period; setting each optimization adjustment range to correspond to a secondary optimization setting; wherein the secondary optimization setting includes the adjustment range of the server bandwidth and load balancing;
[0092] According to the secondary optimization settings before and after the current optimization time period, adjustments are made on the basis of the preset optimization to adjust the server bandwidth and load balancing to the corresponding range, and used as the optimization settings for the server to which the website belongs in the second half of the current optimization time period;
[0093] It should be noted that analyzing the actual access data in the first half and conducting a comprehensive analysis with the changes in access data can improve the accuracy of adjusting the server when entering the second half of the time zone.
[0094] S5: If the number of optimization time periods corresponding to the next Monday of the next week for building the website is one, then perform analysis through steps S3-S4;
[0095] If the number of optimization time periods corresponding to the next Monday of the next week for building the website is greater than one, the groups of optimization time periods corresponding to the next Monday of the next week for building the website are arranged in chronological order. When adjacent optimization time periods partially overlap, the two groups of optimization time periods are merged into one group of optimization time periods.
[0096] After the merging is completed and there is no overlap between adjacent optimization time periods, the time interval between the two groups of optimization time periods is extracted;
[0097] It should be noted that the number of optimized time periods obtained is one, which can be analyzed and adjusted through S3 and S4. If the number is greater than one, there is a possibility of increased traffic between the two groups of optimized time periods, and the server optimization also needs to be set up. Therefore, further analysis of the interval between the two groups of optimized time periods further improves the intelligence of building website optimization.
[0098] S5-101: and compare the extracted time interval with the set interval reference value. If the extracted time interval is smaller than the set interval reference value, when the secondary optimization setting of the previous group of optimization time periods is completed and the second half of the time zone is entered, the access data at different time points in the second half of the time zone are analyzed based on step S3 to obtain the secondary optimization adjustment index of the constructed website in the second half of the optimization time period, and the secondary optimization adjustment index of the second half is matched again based on step S4, and the optimization setting obtained by the matching result is used as the server optimization solution for the time interval between the two groups of optimization time periods;
[0099] The server optimization plan for this time interval is used as the preset optimization setting for entering the next set of optimization time periods;
[0100] S5-102: If the extracted time interval is greater than the set interval reference value, the time interval is divided into multiple sub-portions according to the set segmentation ratio, and the server optimization solution obtained based on step S5-101 is used as the optimization solution for the first sub-portion. At the same time, based on step S3, the access data at different time points in the time zone of the first sub-portion is analyzed to obtain the secondary optimization adjustment index of the constructed website in the sub-portion. Based on step S4, the secondary optimization adjustment index of the sub-portion is matched again, and the optimization setting obtained by the matching result is used as the server optimization solution in the next sub-portion time zone;
[0101] S5-103: Based on step S5-102, the sub-time zones that are subsequently divided are optimized in sequence, and the optimization scheme of the last sub-time zone is used as the preset optimization setting for entering the next set of optimization time periods;
[0102] It should be noted that by making different optimization settings based on the interval length between two sets of optimization time periods, more optimization settings can be made according to the actual situation at the time, thereby improving the richness and intelligence of website optimization.
[0103] S6: Based on steps S3-S5, obtain a specific optimization plan for building the website for each of the days from Tuesday to Sunday in the future;
[0104] It should be noted that, as time goes by, the ten sets of data are updated, and the updated data can be analyzed and the server on which the website is built can be re-optimized.
[0105] S7: The access optimization module also collects and integrates the processes of each analysis and optimization to establish a relevant access optimization model;
[0106] It should be noted that, through the established model, a large amount of analysis data is stored. If there is a data change during the analysis process or the result is the same as the stored data, the solution corresponding to the stored data is directly executed to achieve the prediction function.
[0107] Further, when the constructed website is attacked and interception fails, the risk assessment module triggers a retrieval assessment instruction and parses the security information log file of the constructed website; the security information log file includes but is not limited to the log data of the Web server and the firewall; the attack process of the constructed website within the set time range is extracted from the parsed content, and the attack process within the set time range is analyzed to obtain the network security assessment index WZT of the constructed website at the time of the trigger; the specific steps are:
[0108] M1: Identify attack events on the website within a set time range, and analyze the attack type of each attack event to obtain the attack type of each attack event on the website within the set time range; the attack types include but are not limited to DDoS attacks, SQL injection attacks, and XSS attacks; set different risk factors for different attack types;
[0109] M2: for the acquired attack type, classify the attack events of the same attack type, count the number of interception failures of the corresponding attack type, and calculate the ratio between the number of interception failures and the total number of the corresponding attack type to obtain the failure ratio of the attack type;
[0110] M3: simultaneously obtain the duration of each attack event of the corresponding attack type, and take the average value to obtain the mean duration of the corresponding attack type;
[0111] M4: Mark the failure percentage, total number of attacks and mean duration of the corresponding attack type of the constructed website within the set time range as GAi, GBi and GCi respectively; where i represents the number of each attack type, i=1,2 or n, and n is the total number of attack types obtained;
[0112] According to the formula The network security evaluation index WZT of the constructed website at the current trigger time point is calculated; ge1, ge2 and ge3 represent the reference values of the corresponding attack type failure ratio GAi, the total number of attacks GBi and the continuous mean duration GCi respectively; km1, km2 and km3 are the influence weight factors of the failure ratio GAi, the success ratio GBi and the continuous mean duration GCi respectively; GTi represents the risk valuation of each attack type; GPi is the reference value of the risk valuation of each attack type; VPi is the risk coefficient of each attack type;
[0113] The security enhancement module receives the network security evaluation index WZT corresponding to the website constructed at the current trigger time point, and compares the network security evaluation index WZT with the corresponding network security threshold index. If it is greater than the corresponding threshold index, the network security evaluation index WZT is matched with the set multiple risk value ranges to obtain the risk assessment level of the constructed website corresponding to the current trigger time point; each risk value range is set to correspond to a risk assessment level of the currently constructed website;
[0114] Screen the maintenance personnel of the current website construction, obtain the information of the idle maintenance personnel of the website construction at the current trigger time point, and select the maintenance personnel with the largest protection effectiveness value FHX among the idle maintenance personnel as the responsible person for the website construction at the current trigger time point, and send the attack type and risk assessment level suffered by the website construction at the trigger time point to the mobile terminal of the responsible person, so that the responsible person solves the attack suffered by the website construction at this time and strengthens the security of the website;
[0115] It should be noted that when the responsible personnel are unable to resolve the attack suffered by the website being built or are unable to strengthen the security of the website alone, they can send a help signal to the security enhancement module through a mobile terminal that receives the risk assessment level. The security enhancement module creates a public channel and sends the signal to the mobile terminals of all idle maintenance personnel. After the remaining idle maintenance personnel confirm the signal, they are automatically connected to the public channel. When the selected personnel are unable to solve the problem, they can work together with the remaining personnel to solve it, thereby improving the processing speed.
[0116] The specific screening steps are:
[0117] P1: Get the age, working time and maintenance efficiency of each idle maintenance personnel; if there are idle maintenance personnel aged over 45, get the time period to which the current trigger time belongs. If the current trigger time period is from 23:00 to 4:00, delete the idle maintenance personnel aged over 45 from the analysis list;
[0118] P2: Mark the working hours of the corresponding idle maintenance personnel as UE;
[0119] Get the total number of times the corresponding idle maintenance personnel are selected throughout the year, get the number of successful maintenance from the total number of times the corresponding idle maintenance personnel are selected throughout the year, calculate the ratio between the number of successful maintenance of the corresponding idle maintenance personnel and the total number of times selected, and get the maintenance ratio; get the maintenance time of each successful maintenance of the corresponding idle maintenance personnel, and take the average value to get the average maintenance time; according to the formula Calculate the maintenance efficiency UK of the corresponding maintenance personnel; UA1, UA2 and UA3 represent the number of successful maintenance, maintenance ratio and average maintenance time of the corresponding idle maintenance personnel, respectively; tq1, tq2 and tq3 represent the influencing weight factors of the number of successful maintenance, maintenance ratio and average maintenance time, respectively;
[0120] P3: Calculate the protection effectiveness value FHX of each idle maintenance personnel according to the formula FHX=UE×Lp1+UK×Lp2; where Lp1 and Lp2 are the influencing weight factors of maintenance efficiency UK and working hours UE respectively;
[0121] Furthermore, a website construction method includes:
[0122] Step 1: Access the server to which the website is being built to obtain the access log file and parse it, extract the visit data of the website being built from the parsed content, classify the obtained data based on Monday to Sunday, and obtain the data set corresponding to Monday to Sunday of the website being built;
[0123] Step 2: Extract the first ten groups of Monday visit data from the corresponding set and substitute them into the curve chart. Based on the analysis results of the curve chart, obtain the optimization time periods for each group of websites corresponding to the next Monday in the future.
[0124] Step 3: Substitute the visit volume data at different time points in the time zone in the first half of the corresponding optimization period into the line graph, conduct a comprehensive analysis of the visit volume changes in the line graph and the visit volume data, and obtain the secondary optimization settings for the website construction in the second half of the current optimization period based on the analysis results;
[0125] Step 4: According to the secondary optimization settings before and after the current optimization time period, adjust the server bandwidth and load balancing to the corresponding range based on the preset optimization, and use them as the optimization settings for the server to which the website belongs in the second half of the current optimization time period;
[0126] Step 5: Extract the time interval between the two groups of optimized time periods and compare it with the set interval reference value, and optimize the settings of the server to which the website is built based on the comparison results;
[0127] Step 6: Based on steps 2 to 5, obtain specific optimization plans for the next Tuesday to Sunday;
[0128] Step 7: Collect and integrate the data from each analysis and optimization process to establish a relevant access optimization model. If data changes occur during the analysis process or the result is the same as the stored data, directly execute the solution corresponding to the stored data.
[0129] The preferred embodiments of the present invention disclosed above are only used to help explain the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to only specific implementation methods. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present invention, so that those skilled in the art can understand and use the present invention well. The present invention is limited only by the claims and their full scope and equivalents.
Claims
1. A website construction system, characterized in that: include: Access optimization module: used to parse the access log file of the constructed website, analyze the user visits at the corresponding time in the file, and optimize the server to which the constructed website belongs based on the analysis results. The specific steps are as follows: S1: Access the server where the website is built and use the command line to obtain the access log file of the server; S2: Use the selected custom script to parse the access log file to obtain the data file of the constructed website corresponding to the current acquisition time point, extract the access time of the constructed website from the data file, obtain the visit data of the constructed website, classify the obtained data based on Monday to Sunday, and obtain the data set of the constructed website corresponding to Monday to Sunday; S3: extract the top ten groups of Monday visit data from the corresponding set and substitute them into the curve chart for representation. Based on the analysis results of the curve chart, obtain the optimization time periods for each group of websites corresponding to the next Monday in the future. Get the optimization time periods for each group of websites to be built next Monday, specifically: Draw the numerical points corresponding to different time points on Monday in each group in the curve graph, connect adjacent numerical points to obtain the change curve of each group on Monday, build a reference threshold line in the curve graph with the preset Monday reference visit volume, and extract the part of each group's Monday change curve located on the reference threshold line; Mark the overlapped parts of each group of Monday extractions, and calculate the proportion of the ten groups of Mondays in each marked overlapped part, that is, the ratio between the number of curves corresponding to the overlapped part and the total number of curves ten, and mark the overlapped parts corresponding to more than 50%; The corresponding overlapping duration of each marked overlapping part is obtained, and the corresponding time period of each group of overlapping durations on Monday is extracted to obtain each group of optimized time periods corresponding to the next Monday of the next week for the construction website; when the construction website enters the starting time point of the optimization time period, the optimization adjustment instruction is automatically triggered, and the server to which the construction website belongs is optimized through the preset adjustment bandwidth target and load balancing configuration; S3-101: Substitute the visit volume data at different time points in the time zone in the first half of the corresponding optimization period into a line graph, and based on the analysis result of the line graph, obtain the visit change evaluation index ERC of the constructed website in the first half of the current optimization period; The visit change evaluation index ERC of the constructed website in the first half of the current optimization period is obtained, specifically: Substitute the visit volume data at different time points in the time zone of the first half of the corresponding optimization time period into a line graph, draw the data points corresponding to the visit volume at different time points in the line graph, connect the adjacent data points to obtain the visit volume change line, and build a reference threshold line in the line graph with the preset Monday reference visit volume; calculate the slope of each visit volume change line and the angle with the horizontal line. If the angle between the visit volume change line and the horizontal line is an obtuse angle, then mark the slope of the visit volume change line as the visit volume increase slope; if the angle between the visit volume change line and the horizontal line is an acute angle, then mark the slope of the visit volume change line as the visit volume decrease slope; sum up all the visit volume increase slopes to obtain the total value of the increase; sum up all the visit volume decrease slopes to obtain the total value of the decrease; calculate the ratio of the total value of the increase to the total value of the decrease, that is, the total value of the increase / total value of the decrease, to obtain the quantitative change ratio X1; Connect the first and last two groups of data points in the line chart to obtain the time series line, calculate the slope of the time series line and the angle with the horizontal line. If the angle between the time series line and the horizontal line is an obtuse angle, mark the slope of the time series line as the total amount rising slope; if the angle between the time series line and the horizontal line is an acute angle, mark the slope of the time series line as the total amount falling slope; match the obtained total amount rising slope or total amount falling slope with the corresponding total amount rising value range or total amount falling value range to obtain the quantitative change valuation X2; Set each total increase value range or each total decrease value range to correspond to a quantitative change valuation, and the quantitative change valuation obtained by matching the total increase slope is greater than the quantitative change valuation obtained by matching the total decrease slope; At the same time, the difference between the highest data point and the lowest data point is calculated to obtain the quantitative change difference X3; According to the formula Calculate the visit change evaluation index ERC of the constructed website in the first half of the current optimization period; A1, A2 and A3 represent the reference values of the quantitative change ratio X1, the quantitative change valuation X2 and the quantitative change difference X3 respectively; uy1, uy2 and uy3 represent the influence weight factors of the quantitative change ratio X1, the quantitative change valuation X2 and the quantitative change difference X3 respectively; S3-102: Based on the analysis results of the line graph, the visit volume of the constructed website in the first half of the current optimization period exceeds the evaluation index ETK: The visit volume of the constructed website in the first half of the current optimization period exceeds the evaluation index ETK, which is: Calculate the average of the visit volume data at different time points in the first half of the optimization period to obtain the average visit volume FL1; Take the visit data points above the reference threshold line in the line graph as the starting point, draw perpendicular lines to the reference threshold line one by one, count the number of perpendicular lines and mark them as E1; Calculate the length of each constructed vertical line respectively, preset multiple value ranges that match the length of the constructed vertical line, and each value range corresponds to a weight coefficient respectively. After matching each constructed vertical line, multiply the length of each constructed vertical line by the matched weight coefficient to obtain the influence value of each constructed vertical line; The impact values of each vertical line are accumulated, and the accumulated value is used as the visit volume excess value FL2 in the first half of the optimization period. Extract the visit volume data corresponding to the highest data point in the line chart as the visit volume peak FL3 in the first half of the optimization period; According to the formula Calculate the visit volume excess evaluation index ETK of the constructed website in the first half of the current optimization period; the value of e is 1.786-1.843, which is determined according to the day of the week to which the current analysis period belongs; Fa, Fb and Fc represent the reference values of the average visit volume FL1, the excess visit volume FL2 and the peak visit volume FL3 respectively; ht1, ht2 and ht3 are the influence weight factors of the average visit volume FL1, the excess visit volume FL2 and the peak visit volume FL3 respectively; S3-103: Substitute the visit change evaluation index ERC and visit volume excess evaluation index ETK of the constructed website in the first half of the current optimization period into the formula , calculate and obtain the secondary optimization adjustment index RCZ of the constructed website in the first half of the current optimization time period; ERa and ETa represent the threshold indexes of the visit change evaluation index ERC and the visit volume excess evaluation index ETK respectively; sa1 and sa2 represent the impact weight factors of the visit change evaluation index ERC and the visit volume excess evaluation index ETK respectively; is the preset correction factor, and its value is 0.891; S4: matching the secondary optimization adjustment index RCZ of the constructed website in the first half of the current optimization time period with the preset multiple optimization adjustment ranges to obtain the secondary optimization setting of the constructed website in the second half of the current optimization time period; S5: If the number of optimized time periods corresponding to the next Monday of the next week for building the website is greater than one, further optimizing the time interval between the two groups of optimized time periods; S6: Based on steps S3-S5, obtain a specific optimization plan for building the website for each of the days from Tuesday to Sunday in the future; S7: The access optimization module also collects and integrates the processes of each analysis and optimization to establish a relevant access optimization model; Risk assessment module: when the construction website is attacked and interception fails, it triggers the retrieval assessment instruction, parses the security information log file of the construction website, extracts the attack process of the construction website within the set time range from the parsed content, analyzes the attack process within the set time range, and obtains the network security assessment index WZT of the construction website at the time of the trigger; Security enhancement module: receives the network security evaluation index WZT corresponding to the website constructed at the current trigger time point, and executes corresponding steps to solve the attack suffered by the constructed website at that time and enhance the security of the website.
2. A website construction system according to claim 1, characterized in that: Get the secondary optimization settings for building the website in the second half of the current optimization period, specifically: The secondary optimization adjustment index RCZ of the constructed website in the first half of the current optimization time period is matched with the preset multiple optimization adjustment ranges to obtain the secondary optimization settings of the constructed website in the second half of the current optimization time period; according to the secondary optimization settings of the front and back sections of the current optimization time period, adjustments are made on the basis of the preset optimization to adjust the server bandwidth and load balancing to the corresponding range, and these are used as the optimization settings of the server to which the constructed website belongs in the second half of the current optimization time period.
3. A website construction system according to claim 2, characterized in that: The time interval between the two groups of optimized time periods is further optimized as follows: Arrange the optimization time periods corresponding to the next Monday of the next website construction in chronological order. When adjacent optimization time periods partially overlap, merge the two optimization time periods into one optimization time period. After the merging is completed until adjacent optimization time periods do not overlap, extract the time interval between the two optimization time periods. S5-101: and compare the extracted time interval with the set interval reference value. If the extracted time interval is smaller than the set interval reference value, when the secondary optimization setting of the previous group of optimization time periods is completed and the second half of the time zone is entered, the access data at different time points in the second half of the time zone are analyzed based on step S3 to obtain the secondary optimization adjustment index of the constructed website in the second half of the optimization time period, and the secondary optimization adjustment index of the second half is matched again based on step S4, and the optimization setting obtained by the matching result is used as the server optimization solution for the time interval between the two groups of optimization time periods; The server optimization plan for this time interval is used as the preset optimization setting for entering the next set of optimization time periods; S5-102: If the extracted time interval is greater than the set interval reference value, the time interval is divided into multiple sub-portions according to the set segmentation ratio, and the server optimization solution obtained based on step S5-101 is used as the optimization solution for the first sub-portion. At the same time, based on step S3, the access data at different time points in the time zone of the first sub-portion is analyzed to obtain the secondary optimization adjustment index of the constructed website in the sub-portion. Based on step S4, the secondary optimization adjustment index of the sub-portion is matched again, and the optimization setting obtained by the matching result is used as the server optimization solution in the next sub-portion time zone; S5-103: Based on step S5-102, the subsequently divided sub-time zones are optimized in sequence, and the optimization scheme of the last sub-time zone is used as the preset optimization setting for entering the next set of optimization time periods.
4. A website construction system according to claim 3, characterized in that: Analyze the attack process within the set time range, specifically: M1: Identify attack events on the constructed website within a set time range, and analyze the attack type of each attack event to obtain the attack type of each attack event on the constructed website within the set time range; set different risk coefficients for different attack types; M2: for the acquired attack type, classify the attack events of the same attack type, count the number of interception failures of the corresponding attack type, and calculate the ratio between the number of interception failures and the total number of the corresponding attack type to obtain the failure ratio of the attack type; M3: simultaneously obtain the duration of each attack event of the corresponding attack type, and take the average value to obtain the mean duration of the corresponding attack type; M4: Mark the failure percentage, total number of attacks and mean duration of the corresponding attack type of the constructed website within the set time range as GAi, GBi and GCi respectively; where i represents the number of each attack type, i=1,2 or n, and n is the total number of attack types obtained; According to the formula The network security assessment index WZT of the constructed website at the current trigger time point is calculated; among them, ge1, ge2 and ge3 respectively represent the reference values of the failure proportion GAi, the total number of attacks GBi and the continuous mean duration GCi of the corresponding attack type; km1, km2 and km3 are the influencing weight factors of the failure proportion GAi, the success proportion GBi and the continuous mean duration GCi respectively; GTi represents the risk valuation of each attack type; GPi is the reference value of the risk valuation of each attack type; VPi is the risk coefficient of each attack type.
5. A website construction system according to claim 4, characterized in that: The security enhancement module receives the network security evaluation index corresponding to the website constructed at the current trigger time point and executes the corresponding steps: The network security evaluation index WZT is compared with the corresponding network security threshold index. If it is greater than the corresponding threshold index, the network security evaluation index WZT is matched with the set multiple risk value ranges to obtain the risk assessment level of the constructed website corresponding to the current trigger time point; Based on the risk assessment level of the current website under construction, the maintenance personnel of the current website under construction are screened, the information of the idle maintenance personnel of the website under construction at the current trigger time point is obtained, and the maintenance personnel with the largest protection effectiveness value FHX among the idle maintenance personnel are selected as the responsible personnel for building the website at the current trigger time point, and the attack type and risk assessment level suffered by the website under construction at the trigger time point are sent to the mobile terminal of the responsible personnel.
6. A website construction system according to claim 5, characterized in that: The specific steps to obtain the protection effectiveness value FHX of idle maintenance personnel are: P1: Get the age, working time and maintenance efficiency of each idle maintenance personnel; if there are idle maintenance personnel aged over 45, get the time period to which the current trigger time belongs. If the current trigger time period is from 23:00 to 4:00, delete the idle maintenance personnel aged over 45 from the analysis list; P2: Mark the working hours of the corresponding idle maintenance personnel as UE; Get the total number of times the corresponding idle maintenance personnel are selected throughout the year, get the number of successful maintenance from the total number of times the corresponding idle maintenance personnel are selected throughout the year, calculate the ratio between the number of successful maintenance of the corresponding idle maintenance personnel and the total number of times selected, and get the maintenance ratio; get the maintenance time of each successful maintenance of the corresponding idle maintenance personnel, and take the average value to get the average maintenance time; according to the formula Calculate the maintenance efficiency UK of the corresponding maintenance personnel; Among them, UA1, UA2 and UA3 represent the number of successful maintenance, maintenance ratio and average maintenance time of the corresponding idle maintenance personnel, respectively; tq1, tq2 and tq3 represent the influencing weight factors of the number of successful maintenance, maintenance ratio and average maintenance time, respectively; P3: According to the formula FHX=UE×Lp1+UK×Lp2, calculate the protection effectiveness value FHX of each idle maintenance personnel; where Lp1 and Lp2 are the influencing weight factors of maintenance efficiency UK and working hours UE respectively.
7. A website construction method, applied to a website construction system as claimed in any one of claims 1 to 6, characterized in that: include: Step 1: Access the server to which the website is being built to obtain the access log file and parse it, extract the visit data of the website being built from the parsed content, classify the obtained data based on Monday to Sunday, and obtain the data set corresponding to Monday to Sunday of the website being built; Step 2: Extract the first ten groups of Monday visit data from the corresponding set and substitute them into the curve chart. Based on the analysis results of the curve chart, obtain the optimization time periods for each group of websites corresponding to the next Monday in the future. Step 3: Substitute the visit volume data at different time points in the time zone in the first half of the corresponding optimization period into the line graph, conduct a comprehensive analysis of the visit volume changes in the line graph and the visit volume data, and obtain the secondary optimization settings for the website construction in the second half of the current optimization period based on the analysis results; Step 4: According to the secondary optimization settings before and after the current optimization time period, adjust the server bandwidth and load balancing to the corresponding range based on the preset optimization, and use them as the optimization settings for the server to which the website belongs in the second half of the current optimization time period; Step 5: Extract the time interval between the two groups of optimized time periods and compare it with the set interval reference value, and optimize the settings of the server to which the website is built based on the comparison results; Step 6: Based on steps 2 to 5, obtain specific optimization plans for the next Tuesday to Sunday; Step 7: By collecting and integrating the data from each analysis and optimization process, a relevant access optimization model is established. If the data changes found during the analysis process are the same as the stored data in the access optimization model, the optimization plan corresponding to the stored data is directly executed.
Citation Information
Patent Citations
Grid structure optimization method based on load peak shifting
CN112736897A
Data storage method and system based on network teaching resources
CN117235187A
