Method and system for intelligent reconstruction of Java website and storable medium

Through intelligent analysis and automatic repair of exceptions, the complexity and difficulty of Java website reconstruction are solved, and fast and efficient website reconstruction and high success rate are achieved.

CN119474582APending Publication Date: 2025-02-18XIAMEN MEIYABAIKE INFORMATION SECURITY RES INST CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411375005.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-29
Publication Date
2025-02-18

AI Technical Summary

Technical Problem

Existing tools are difficult to rebuild Java websites quickly and efficiently, especially due to the complexity and high difficulty caused by the poor readability, editability and the large number of frameworks of Java websites.

Method used

A method for intelligent reconstruction of Java websites is proposed, including receiving and preprocessing original data, intelligently analyzing file content to obtain website detailed information and database configuration information, automatically generating website building rules and building reconstruction environment, automatically repairing exceptions until normal access and Log in to the background.

Benefits of technology

It realizes fast and efficient reconstruction of Java websites, improves the readability and editability of the website, lowers the threshold for evidence-for-evidence personnel, and improves the reconstruction success rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119474582A_ABST
    Figure CN119474582A_ABST
Patent Text Reader

Abstract

The invention provides a method and a system for intelligent reconstruction of a Java website and a storable medium. The method comprises the following steps: receiving original data of the Java website for preprocessing; the file content of the original data is intelligently analyzed, and a website building rule is automatically generated; obtaining a database reconstruction mode through the backup format of the database backup, the database type and the database version; establishing a database reconstruction environment and a Java website reconstruction environment according to a database reconstruction mode and a website establishment rule, and deploying and establishing a Java website and a database by using original data; and running the Java website, if the starting fails or the Java website cannot be normally accessed, performing exception analysis and automatically repairing the exception, and re-adjusting the website building rule and the database configuration information for reconstruction until the Java website is normally accessed and a background is logged in. According to the method, an integrated Java website reconstruction environment is provided, intelligent analysis and deployment can be carried out, abnormity during reconstruction can be automatically repaired, the Java website can be quickly and efficiently reconstructed, the readability and editability are improved, and the use threshold is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology and data processing technology, and in particular to a method, system and storable medium for intelligent reconstruction of a Java website. Background Art

[0002] At present, in actual telecommunications fraud cases, the website framework using the Java language can be used to quickly develop and deploy sites. Many websites involved in the case choose to use the Java language to build the website environment. However, Java websites are not only poor in readability and editability, but also have many frameworks. How to quickly and efficiently rebuild the dynamic websites involved in the case is of great significance for digging deep into crimes and stringing together cases, and it is also a problem that needs to be urgently solved by the public security criminal technology team.

[0003] Currently, the two mainstream website development frameworks are PHP and Java. Commonly used website reconstruction tools currently only support PHP website reconstruction. Java websites are difficult and complex to rebuild due to poor readability and editability and the presence of many frameworks.

[0004] There are very few tools on the market that support Java website reconstruction. The only tools on the market that have Java website reconstruction functions, such as Baota, Guardian God, Upupw and AMH, only provide solutions for the site environment including environment installation, configuration and management. In addition, since the tools on the market that support Java website reconstruction are all aimed at website operation and maintenance and developers, the functions provided require users to have a certain technical foundation. The website-related configurations in these tools are all open, so users are required to be able to manually adjust them according to the current website deployment requirements. This is a technical problem for forensics personnel who are not familiar with website development technology and website source code. In addition, the tools that support Java website reconstruction do not support exception handling, cannot help users automatically repair exceptions in the website construction process, and cannot provide prompts and guidance, resulting in a very low success rate for Java website reconstruction. Summary of the invention

[0005] The present invention proposes the following technical solutions to address one or more technical deficiencies in the above-mentioned prior art.

[0006] Based on the first aspect of the present invention, a method for intelligently reconstructing a Java website is proposed, comprising:

[0007] S1: receiving and preprocessing Java website original data, wherein the original data includes website source code and database backup;

[0008] The pre-processing specifically includes determining the type of the original data, the website programming language, the website development framework, the validity of the database backup and the database service type;

[0009] S2: Intelligently analyzing the file contents in the original data to obtain detailed website information and database configuration information, analyzing the background entry file of the Java website and automatically generating website building rules;

[0010] Obtaining a database reconstruction method through the backup format, database type and database version in the database backup;

[0011] S3: Building a database reconstruction environment and a Java website reconstruction environment according to the database reconstruction method and the website construction rules, and deploying and establishing a Java website and a database using the original data;

[0012] S4: Run the Java website. If the startup fails or the Java website cannot be accessed normally, perform an exception analysis on the Java website and automatically repair the exception. Readjust the website building rules and the database configuration information for reconstruction until the Java website can be accessed normally and the backend can be logged in.

[0013] Furthermore, the website detailed information includes website framework information, Tomcat version of the website and website port;

[0014] The database configuration information includes database type, database version and database connection configuration.

[0015] Furthermore, analyzing the backend entry file of the Java website includes obtaining the account and password of the Java website backend, and determining whether the password is encrypted and the encryption method of the password.

[0016] Furthermore, the anomalies include failure to connect to the database, failure to start JDK / Tomcat, inability to enter the Java website backend, and errors in the compression method of the War / Jar compression package.

[0017] Furthermore, when an exception occurs that the database cannot be connected, the database version and database configuration information are adjusted and corrected.

[0018] Furthermore, when an exception occurs that the JDK / Tomcat fails to start, the startup mode and version of the JDK / Tomcat are adjusted and corrected.

[0019] Furthermore, when an exception occurs that prevents access to the Java website backend, the password and dynamic verification for logging into the website are adjusted and corrected.

[0020] Furthermore, when an exception occurs that the compression method of the War / Jar compression package is wrong, the missing main list attributes and necessary files are adjusted and corrected.

[0021] Based on the second aspect of the present invention, a system for intelligently reconstructing a Java website is also proposed, comprising:

[0022] Preprocessing module: receiving and preprocessing Java website raw data, the raw data including website source code and database backup;

[0023] The pre-processing specifically includes determining the type of the original data, the website programming language, the website development framework, the validity of the database backup and the database service type;

[0024] Analysis module: intelligently analyze the file contents in the original data to obtain website detailed information and database configuration information, analyze the background entry files of the Java website and automatically generate website building rules;

[0025] Obtaining a database reconstruction method through the backup format, database type and database version in the database backup;

[0026] Reconstruction module: build a database reconstruction environment and a Java website reconstruction environment according to the database reconstruction method and the website construction rules, and deploy and establish a Java website and database using the original data;

[0027] Abnormal adjustment module: Run the Java website. If the startup fails or the Java website cannot be accessed normally, the Java website is analyzed for abnormalities and automatically repaired. The website building rules and the database configuration information are readjusted for reconstruction until the Java website can be accessed normally and the backend can be logged in.

[0028] Based on the third aspect of the present invention, a computer program product is also proposed, comprising a computer program, wherein the computer program implements any of the above-mentioned methods when executed by a computer processor.

[0029] The technical effect of the present invention is that: the present invention proposes a method, system and storable medium for intelligent reconstruction of Java websites, which solves the problem that the current tools supporting website reconstruction cannot perform intelligent analysis and automatic website construction, and can process and correct the exceptions that occur during the website construction process, and can quickly and efficiently rebuild Java websites, improve readability and editability, and lower the usage threshold for forensic personnel, which is of great significance for digging deep into crimes, discovering serial cases and merging cases, and can ensure that the reconstruction of multiple sites is not disturbed by environmental differences, thereby improving the success rate of Java website reconstruction. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Other features, objects and advantages of the present application will become more apparent from the detailed description of non-limiting embodiments made with reference to the following drawings.

[0031] Figure 1 The invention provides a general flow chart of a method for intelligently reconstructing a Java website according to an embodiment of the invention.

[0032] Figure 2 It is a general framework diagram of a system for intelligent reconstruction of a Java website provided according to an embodiment of the present invention.

[0033] Figure 3 The present invention provides an analysis module flow chart of a system for intelligently reconstructing a Java website according to an embodiment of the present invention.

[0034] Figure 4 The present invention provides a flowchart of a reconstruction module of a system for intelligently reconstructing a Java website according to an embodiment of the present invention.

[0035] Figure 5 It is a schematic diagram of the structure of a computer system of an electronic device suitable for implementing an embodiment of the present invention. DETAILED DESCRIPTION

[0036] The present application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the relevant invention, rather than to limit the invention. It should also be noted that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings.

[0037] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0038] Reference below Figure 1 , Figure 1 A method for intelligently reconstructing a Java website of the present invention is shown, comprising:

[0039] S1: receiving and preprocessing Java website original data, wherein the original data includes website source code and database backup;

[0040] The pre-processing specifically includes determining the type of the original data, the website programming language, the website development framework, the validity of the database backup and the database service type;

[0041] S2: Intelligently analyzing the file contents in the original data to obtain detailed website information and database configuration information, analyzing the background entry file of the Java website and automatically generating website building rules;

[0042] Obtaining a database reconstruction method through the backup format, database type and database version in the database backup;

[0043] S3: Building a database reconstruction environment and a Java website reconstruction environment according to the database reconstruction method and the website construction rules, and deploying and establishing a Java website and a database using the original data;

[0044] S4: Run the Java website. If the startup fails or the Java website cannot be accessed normally, perform an exception analysis on the Java website and automatically repair the exception. Readjust the website building rules and the database configuration information for reconstruction until the Java website can be accessed normally and the backend can be logged in.

[0045] It should be noted that the website detailed information includes website framework information, Tomcat version of the website and website port;

[0046] The database configuration information includes database type, database version and database connection configuration.

[0047] In a specific embodiment, the port of the website is obtained from the file content in the original data by regular matching, which is server.port.8080, and the database configuration information is ur l:jdbc:mysq l.

[0048] It should be noted that analyzing the backend entry file of the Java website includes obtaining the account and password of the Java website backend, determining whether the password is encrypted and the encryption method of the password, and the encryption methods include md5 and bcrypt.

[0049] It should be noted that the anomalies include failure to connect to the database, failure to start JDK / Tomcat, inability to enter the Java website backend, and errors in the compression method of the War / Jar compression package.

[0050] It should be noted that when an exception occurs that the database cannot be connected, the database version and database configuration information are adjusted and corrected.

[0051] In a specific embodiment, the reasons for the connection abnormality include the inconsistency of the selected database version, which causes the database to be unable to start or fail to start. At this time, switch the version, such as switching the version of the MySQL database from MySQL 5.7 to MySQL 8.0; the reasons for the connection abnormality also include the inconsistency between the database connection information configured by the website and the created database user password. At this time, modify the user password so that the website can connect to the database normally.

[0052] It should be noted that when an exception occurs that the JDK / Tomcat fails to start, the startup mode and version of the JDK / Tomcat are adjusted and corrected.

[0053] In a specific embodiment, the JDK / Tomcat version needs to meet the requirements of the Java website. If it does not meet the requirements, an abnormal Java website startup will occur. Before starting, modify the configuration file in the Tomcat service to change it to a JDK version that meets the requirements. If it is started by command line, use the appropriate jdk version process to start.

[0054] It should be noted that when an exception occurs that prevents access to the Java website backend, the password and dynamic verification for logging into the website are adjusted and corrected.

[0055] In a specific embodiment, the encrypted string of the login password exists in the database. When the Java website backend cannot be accessed, the encrypted string and encryption method are used for brute force cracking, or an encrypted string is automatically generated through an encryption algorithm to replace the encrypted string in the database, and then the generated password is used to log in.

[0056] It should be noted that when the compression method of the War / Jar compression package is incorrect, the missing main manifest attributes and necessary files are adjusted and corrected. This situation rarely causes errors in website data, and the debugging development tool needs to be used to repair the file content.

[0057] In a specific embodiment, after the imported website data and database backup are pre-processed, the website data is analyzed, specifically, the database connection configuration file, website entry file and website total configuration file in the website configuration file are analyzed in detail, and the common configuration files, including yaml and properties, are analyzed using the website framework information, and the class source files and background logs are further analyzed to retrieve the keywords of the class source files;

[0058] Use built-in database software, such as MySQL and SQL Server, to rebuild the database and automatically deploy the website environment, including the built-in JDK and Tomcat environment;

[0059] If the test login to the website backend cannot be logged in normally, analyze the cause of the error, perform self-repair and rebuild the database.

[0060] In a specific embodiment, the reasons why the website cannot be logged in normally are found by analyzing the website operation log, including database connection failure, JDK or Tomcat version error, and background verification failure.

[0061] It should be noted that the present invention proposes a solution for intelligent reconstruction of Java websites, which intelligently analyzes website data and obtains website framework information, service types and versions that the website depends on, mines database configuration, analyzes website backend entrances, and automatically builds a website reconstruction environment based on the analysis results, generates website construction rules, and during the intelligent deployment process, users can intuitively see the environment configuration information and execution effects of website construction. During the trial operation, the cause of abnormal situations such as operation failure and inaccessibility can be determined and common errors can be automatically handled.

[0062] It should be noted that the present invention supports switching between different versions and types of service programs, including Web services and common database services, and can ensure that multi-site reconstruction is not disturbed by environmental differences, thereby improving the success rate of Java website reconstruction.

[0063] Reference below Figure 2 , Figure 2 The overall framework diagram of a system for intelligent reconstruction of Java websites is shown, including a preprocessing module a, an analysis module b, a reconstruction module c and an abnormality adjustment module d.

[0064] In a specific embodiment, the preprocessing module a is configured to: receive and preprocess original data of a Java website, wherein the original data includes website source code and database backup;

[0065] The preprocessing specifically includes determining the type of the original data, the website programming language, the website development framework, the validity of the database backup, and the database service type.

[0066] In a specific embodiment, the analysis module b is configured to: perform intelligent analysis on the file content in the original data to obtain website detailed information and database configuration information, analyze the background entry file of the Java website and automatically generate website building rules;

[0067] The database reconstruction method is obtained through the backup format, database type and database version in the database backup.

[0068] In a specific embodiment, the reconstruction module c is configured to: build a database reconstruction environment and a Java website reconstruction environment according to the database reconstruction method and the website building rules, and deploy and establish a Java website and database using the original data.

[0069] In a specific embodiment, the exception adjustment module d is configured to: run the Java website, and if the startup fails or the Java website cannot be accessed normally, perform an exception analysis on the Java website and automatically repair the exception, readjust the website building rules and the database configuration information for reconstruction until the Java website can be accessed normally and the backend can be logged in.

[0070] It should be noted that in the analysis module b, the analysis of the website source code and the analysis of the database backup (such as Figure 3 As shown), the analysis of the website source code determines the website development language and website development framework, finds the website configuration file, analyzes the database configuration, finds the website backend entrance, and the backend account password;

[0071] The analysis of the database includes identifying the format of the database backup, the database type and version, and determining how to rebuild the database.

[0072] It should be noted that in the reconstruction module c, the Java website service reconstruction and database reconstruction (such as Figure 4 As shown), rebuilding the Java website includes installing the JDK environment, Tomcat environment, and Nginx environment;

[0073] Database reconstruction includes installing the database environment, starting the database service to rebuild the database, generating website startup rules and automatically deploying the Java website, and trial running the Java website. If you can access the Java website normally and log in to the backend, the reconstruction is successful.

[0074] In a specific embodiment, a Java website developed by a SpringBoot framework is selected and an sql file is exported from a MySQL database. The port used by the Java website and the user password configuration information of the MySQL database are automatically parsed, a MySQL service is automatically created, a user is created according to the user password obtained from the configuration and the sql file data is imported, the process service of the Java website is called and the Java website is started; after successful reconstruction, the Java website is opened and accessed, the Java website operation log is viewed, and the built-in MySQL database tool is called to view the database data.

[0075] The embodiment of the present application also provides a function comparison table of the Java website reconstruction method of the present case and other Java website building tools, as shown in Table 1 below:

[0076] Table 1

[0077]

[0078]

[0079] As can be seen from Table 1, the Java website reconstruction method provided by this application can solve most website construction needs and greatly reduce the threshold for website construction. Compared with other website construction tools, it has a wider range of applications. On the basis of supporting Java website reconstruction, it adds the functions of intelligent analysis and intelligent deployment, and can autonomously repair anomalies that occur during the website construction process. It can also ensure that the reconstruction of multiple sites is not affected by environmental differences, thereby improving the success rate of Java website reconstruction.

[0080] Reference below Figure 5 , which shows a schematic diagram of the structure of a computer system of an electronic device suitable for implementing an embodiment of the present application. Figure 5 The electronic device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0081] like Figure 5 As shown, the computer system includes a central processing unit (CPU) 501, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 502 or the program loaded from the storage part 508 to the random access memory (RAM) 503. In the RAM 503, various programs and data required for system operation are also stored. The CPU 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0082] The following components are connected to the I / O interface 505: an input section 506 including a keyboard, a mouse, etc.; an output section 507 including a liquid crystal display (LCD), etc. and a speaker, etc.; a storage section 508 including a hard disk, etc.; and a communication section 509 including a network interface card such as a LAN card, a modem, etc. The communication section 509 performs communication processing via a network such as the Internet. A drive 510 is also connected to the I / O interface 505 as needed. A removable medium 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 510 as needed, so that a computer program read therefrom is installed into the storage section 508 as needed.

[0083] 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 computer-readable storage medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 509, and / or installed from the removable medium 511. When the computer program is executed by the central processing unit (CPU) 501, the above functions defined in the method of the present application are executed. It should be noted that the computer-readable storage medium of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, - but not limited to - an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, 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 conductors, 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 application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, device, or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. Such propagated data signals 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 storage medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, device, or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wireline, optical cable, RF, etc., or any suitable combination of the foregoing.

[0084] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including 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 separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer via 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., via the Internet using an Internet service provider).

[0085] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the 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 square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square 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 square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0086] The modules involved in the embodiments of the present application may be implemented by software or by hardware.

[0087] As another aspect, the present application also provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiment; or it may exist alone and not be assembled into the electronic device. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed by the electronic device, the electronic device: receives the original data of the Java website and performs preprocessing, the original data includes the website source code and the database backup; intelligently analyzes the file content in the original data to obtain the website detailed information and database configuration information, analyzes the background entry file of the Java website and automatically generates the website building rules; obtains the database reconstruction method through the backup format, database type and database version in the database backup; builds the database reconstruction environment and the Java website reconstruction environment according to the database reconstruction method and the website building rules, and deploys and establishes the Java website and database with the original data; runs the Java website, if the startup fails or the Java website cannot be accessed normally, the Java website is analyzed abnormally and the abnormality is automatically repaired, and the website building rules and the database configuration information are readjusted for reconstruction until the Java website is accessed normally and the backend is logged in.

[0088] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above invention concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.

[0089] Finally, it should be noted that the above embodiments are only intended to illustrate rather than limit the technical solutions of the present invention. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the present invention can still be modified or replaced by equivalents. Any modification or partial replacement that does not depart from the spirit and scope of the present invention should be included in the scope of the claims of the present invention.

Claims

1. A method for intelligent reconstruction of a Java website, characterized in that: include: S1: receiving and preprocessing Java website original data, wherein the original data includes website source code and database backup; The pre-processing specifically includes determining the type of the original data, the website programming language, the website development framework, the validity of the database backup and the database service type; S2: Intelligently analyzing the file contents in the original data to obtain detailed website information and database configuration information, analyzing the background entry file of the Java website and automatically generating website building rules; Obtaining a database reconstruction method through the backup format, database type and database version in the database backup; S3: Building a database reconstruction environment and a Java website reconstruction environment according to the database reconstruction method and the website construction rules, and deploying and establishing a Java website and a database using the original data; S4: Run the Java website. If the startup fails or the Java website cannot be accessed normally, perform an exception analysis on the Java website and automatically repair the exception. Readjust the website building rules and the database configuration information for reconstruction until the Java website can be accessed normally and the backend can be logged in.

2. The method according to claim 1, characterized in that The website detailed information includes website framework information, Tomcat version of the website and website port; The database configuration information includes database type, database version and database connection configuration.

3. The method according to claim 1, characterized in that Analyzing the backend entry file of the Java website includes obtaining the account and password of the Java website backend, and determining whether the password is encrypted and the encryption method of the password.

4. The method according to claim 1, characterized in that: The anomalies include failure to connect to the database, failure to start JDK / Tomcat, inability to enter the Java website backend, and errors in the compression method of the War / Jar compression package.

5. The method according to claim 4, characterized in that When an exception occurs that the database cannot be connected, the database version and database configuration information are adjusted and corrected.

6. The method according to claim 4, characterized in that When an exception occurs that the JDK / Tomcat fails to start, the startup mode and version of the JDK / Tomcat are adjusted and corrected.

7. The method according to claim 4, characterized in that When an exception occurs that prevents access to the Java website backend, the password and dynamic verification for logging into the website are adjusted and corrected.

8. The method according to claim 4, characterized in that When an exception occurs that the compression method of the War / Jar compression package is incorrect, the missing main list attributes and necessary files are adjusted and corrected.

9. A system for intelligent reconstruction of Java websites, characterized in that: include: Preprocessing module: receiving and preprocessing Java website raw data, the raw data including website source code and database backup; The pre-processing specifically includes determining the type of the original data, the website programming language, the website development framework, the validity of the database backup and the database service type; Analysis module: intelligently analyze the file contents in the original data to obtain website detailed information and database configuration information, analyze the background entry files of the Java website and automatically generate website building rules; Obtaining a database reconstruction method through the backup format, database type and database version in the database backup; Reconstruction module: build a database reconstruction environment and a Java website reconstruction environment according to the database reconstruction method and the website construction rules, and deploy and establish a Java website and database using the original data; Abnormal adjustment module: Run the Java website. If the startup fails or the Java website cannot be accessed normally, the Java website is analyzed for abnormalities and automatically repaired. The website building rules and the database configuration information are readjusted for reconstruction until the Java website can be accessed normally and the backend can be logged in.

10. A computer program product, comprising a computer program, wherein the one or more computer programs implement the method according to any one of claims 1 to 8 when executed by a computer processor.