System terminal quick start method and system, storage medium and device
Patent Information
- Application Number
- CN202210990494.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-18
- Publication Date
- 2026-10-20
- Estimated Expiration
- 2042-08-18
AI Technical Summary
[0004]基于此,本发明的目的是提供一种系统终端快速启动方法、系统、存储介质及设备,解决背景技术中终端电脑首次使用系统需配置各种参数,增加用户工作量的问题
[0009]本发明中的系统终端快速启动方法,通过设置目标配置文件,将目标配置文件进行解析得到多个配置名称,根据配置名称中的可执行文件自动启动系统所需的java环境,再根据通过配置名称中的服务器列表确定可连接的系统端口,通过可执行文件对于系统端口连接,以完成系统参数配置,进而快速启动系统,通过目标配置文件可自动执行系统参数配置和启动,避免了人工去设置各种系统参数,节省了人力物力,解决了背景技术中终端电脑首次使用系统需配置各种参数,增加用户工作量的问题。
Smart Images

Figure CN115344325B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive electronics technology, and in particular to a system terminal fast start-up method, system, storage medium, and device. Background Technology
[0002] MES (Manufacturing Execution System) is a production process execution system for manufacturing enterprises. It is a production information management system for the shop floor execution layer of manufacturing enterprises. MES can provide enterprises with management modules including manufacturing data management, production planning and scheduling management, production scheduling management, inventory management, quality management, human resource management, work center / equipment management, tooling management, procurement management, cost management, project dashboard management, production process control, lower-level data integration and analysis, and upper-level data integration and decomposition, creating a solid, reliable, comprehensive, and feasible manufacturing collaborative management platform for enterprises.
[0003] In existing technologies, although the MES system is based on a B / S architecture, its framework is developed based on Java. It requires the use of Java plugins, which requires users to manually install Java plugins and set various system parameters. This means that every time the end user's computer uses the MES system for the first time, various parameters need to be configured, which is repetitive and time-consuming, increasing the user's workload. Summary of the Invention
[0004] Based on this, the purpose of the present invention is to provide a method, system, storage medium and device for fast startup of a system terminal, to solve the problem in the background art that the terminal computer needs to configure various parameters when using the system for the first time, which increases the user's workload.
[0005] This invention provides a method for fast startup of a system terminal, the method comprising:
[0006] Obtain the target configuration file, parse the target configuration file to obtain multiple configuration names and configuration task packages that correspond one-to-one with the configuration names. The configuration task packages include executable files.
[0007] The corresponding environment startup parameters are retrieved from the preset environment association parameter table based on the configuration name, and the JAVA environment corresponding to the configuration name is started based on the environment startup parameters and the executable file.
[0008] Retrieve the server list based on the configuration name, determine the system port of the corresponding server list, and connect the executable file to the system port based on the JAVA environment to configure system parameters according to the executable file.
[0009] The system terminal fast startup method of this invention sets a target configuration file, parses the target configuration file to obtain multiple configuration names, automatically starts the Java environment required by the system based on the executable file in the configuration name, determines the connectable system port based on the server list in the configuration name, and connects to the system port through the executable file to complete the system parameter configuration, thereby quickly starting the system. The system parameter configuration and startup can be automatically executed through the target configuration file, avoiding manual setting of various system parameters, saving manpower and resources, and solving the problem in the background technology that terminal computers need to configure various parameters when using the system for the first time, which increases the workload of users.
[0010] Furthermore, after the step of connecting the executable file to the system port based on the JAVA environment to configure system parameters according to the executable file, the following steps are also included:
[0011] Obtain the target server name and target data source name based on the configuration name, match the target server name and target data source name with the system server name and system data source name, and determine whether the match is successful.
[0012] If a match is found, the system is allowed to start.
[0013] Furthermore, the steps for determining the system ports corresponding to the server list include:
[0014] Based on the server list, identify multiple connectable system node ports, and then use load balancing to connect these connectable system node ports to idle system ports.
[0015] Furthermore, the steps to start the Java environment corresponding to the configuration name based on the environment startup parameters and executable file include:
[0016] Determine the storage location of the executable file based on the configuration name, and retrieve the executable file required by the system configuration from the storage location.
[0017] Furthermore, the steps for obtaining the server list based on the configuration name also include:
[0018] Obtain the server category and corresponding server parameters from the target configuration file, and generate a server list based on the server category and corresponding server parameters.
[0019] Another aspect of the present invention provides a system terminal for fast system startup, the system comprising:
[0020] The target configuration file parsing module is used to obtain the target configuration file and parse it to get multiple configuration names;
[0021] The target configuration file parsing module is used to obtain the target configuration file, parse the target configuration file to obtain multiple configuration names and configuration task packages that correspond one-to-one with the configuration names. The configuration task packages include executable files.
[0022] The JAVA environment startup module is used to retrieve the corresponding environment startup parameters from the preset environment association parameter table according to the configuration name, and start the JAVA environment corresponding to the configuration name according to the environment startup parameters and the executable file;
[0023] The system configuration module is used to obtain a list of servers based on the configuration name, determine the system port of the corresponding server based on the server list, and connect the executable file with the system port based on the JAVA environment to configure system parameters according to the executable file.
[0024] Another aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the system terminal fast startup method described above.
[0025] In another aspect, the present invention provides a data processing device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the system terminal fast startup method described above. Attached Figure Description
[0026] Figure 1 This is a flowchart of the system terminal fast startup method in the first embodiment of the present invention;
[0027] Figure 2 This is a flowchart of the system terminal fast startup method in the second embodiment of the present invention;
[0028] Figure 3 This is a block diagram of the system terminal quickly starting the system in the third embodiment of the present invention;
[0029] The following detailed description, in conjunction with the accompanying drawings, will further illustrate the present invention. Detailed Implementation
[0030] To facilitate understanding of the present invention, a more complete description will be given below with reference to the accompanying drawings. Several embodiments of the invention are illustrated in the drawings. However, the invention can be implemented in many different forms and is not limited to the embodiments described herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
[0031] It should be noted that when a component is said to be "fixed to" another component, it can be directly on the other component or there may be an intervening component. When a component is said to be "connected to" another component, it can be directly connected to the other component or there may be an intervening component. The terms "vertical," "horizontal," "left," "right," and similar expressions used in this document are for illustrative purposes only.
[0032] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention pertains. The terminology used herein in the description of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. The term "and / or" as used herein includes any and all combinations of one or more of the associated listed items.
[0033] Example 1
[0034] Please see Figure 1 The figure shows a system terminal fast startup method in the first embodiment of the present invention, including steps S11-S13.
[0035] S11. Obtain the target configuration file, parse the target configuration file to obtain multiple configuration names and configuration task packages that correspond one-to-one with the configuration names. The configuration task packages include executable files.
[0036] This invention provides a system fast startup tool that allows the system to be specified by a configurable name in the target configuration file, thereby achieving the purpose of fast startup.
[0037] The system obtains the target configuration file, which is an INI target configuration file. Parsing the target configuration file yields multiple configuration names and corresponding configuration task packages. Each configuration task package includes an executable file. The configuration tasks also include files specifying the startup directories of multiple startup tools, their storage locations for extensible files, server names, data source names, and server lists.
[0038] S12. Retrieve the corresponding environment startup parameters from the preset environment association parameter table according to the configuration name, and start the JAVA environment corresponding to the configuration name according to the environment startup parameters and the executable file.
[0039] The configuration name includes the address of the Java JRE package, which is used to specify the Java runtime environment.
[0040] The system retrieves the executable file required by the system configuration from the specified storage address in the configuration name. Simultaneously, it obtains the Java environment startup parameters from the configuration name, and starts the specified Java environment based on these parameters and the executable file. The system can only start in the specified Java environment.
[0041] S13. Obtain the server list based on the configuration name, determine the system port of the corresponding server list, and connect the executable file with the system port based on the JAVA environment to configure system parameters according to the executable file.
[0042] Retrieve the server list from the configuration name. The server list consists of server categories and corresponding server parameters. The server parameters in the server list are used to achieve load balancing of system node ports.
[0043] The available system node ports are determined based on multiple server parameters in the server list, and each system node port can be connected. Load balancing connects idle and available system ports from among these available ports, thus enabling efficient system startup.
[0044] In a Java environment, an executable file is connected to a designated idle system port, allowing the system to configure system parameters based on the executable file. Once the system parameters are configured, the system starts successfully, thus achieving automatic system configuration and fast startup through the target configuration file.
[0045] In summary, the system terminal fast startup method in the above embodiments of the present invention sets a target configuration file, parses the target configuration file to obtain multiple configuration names, automatically starts the Java environment required by the system based on the executable file in the configuration name, determines the connectable system port based on the server list in the configuration name, and connects to the system port through the executable file to complete the system parameter configuration, thereby quickly starting the system. The system parameter configuration and startup can be automatically executed through the target configuration file, avoiding manual setting of various system parameters, saving manpower and resources, and solving the problem in the background technology that terminal computers need to configure various parameters when using the system for the first time, which increases the workload of users.
[0046] Example 2
[0047] Please see Figure 2 The figure shows a system terminal fast startup method in the second embodiment of the present invention, including steps S21-S26.
[0048] S21. Obtain the target configuration file, parse the target configuration file to obtain multiple configuration names and configuration task packages that correspond one-to-one with the configuration names. The configuration task packages include executable files.
[0049] This invention provides a system fast startup tool that allows the system to be specified by a configurable name in the target configuration file, thereby achieving the purpose of fast startup.
[0050] The system obtains the target configuration file, which is an INI target configuration file. Parsing the target configuration file yields multiple configuration names and corresponding configuration task packages. Each configuration task package includes an executable file. The configuration tasks also include files specifying the startup directories of multiple startup tools, their storage locations for extensible files, server names, data source names, and server lists.
[0051] S22. Retrieve the corresponding environment startup parameters from the preset environment association parameter table according to the configuration name, and start the JAVA environment corresponding to the configuration name according to the environment startup parameters and the executable file.
[0052] The configuration name includes the address of the JRE package specified in java. The JRE package is an executable file used to specify the environment in which Java runs.
[0053] The system retrieves the executable file required by the system configuration from the specified storage address in the configuration name. Simultaneously, it obtains the Java environment startup parameters from the configuration name, and starts the specified Java environment based on these parameters and the executable file. The system can only start in the specified Java environment.
[0054] S23. Match the configuration values of the corresponding target server name and target data source name with the configuration values of the system server name and system data source name, and determine whether the match is successful.
[0055] If a match is found, proceed to step S24.
[0056] If the match fails, proceed to step S26.
[0057] The system retrieves the target server name and target data source name from multiple configuration names in the target configuration file. Simultaneously, it retrieves the corresponding specified server name and data source name from the system. The target server name and target data source name in the configuration file are compared with the server name and data source name in the system to determine if a match is found. If they match, the matching is successful. If they do not match, the matching fails, and system startup fails.
[0058] S24. Based on the server list, determine multiple connectable system node ports, and connect the multiple connectable system node ports to idle system ports through load balancing.
[0059] The server list is obtained from the configuration name. The server list consists of server categories and corresponding server parameters. The server list is used to implement load balancing of system node ports.
[0060] The available system node ports are determined based on multiple server parameters in the server list, and each system node port can be connected. Load balancing connects idle and available system ports from among these available ports, thus enabling efficient system startup.
[0061] S25. Based on the JAVA environment, the executable file is connected to the system port to configure system parameters according to the executable file.
[0062] In a Java environment, an executable file is connected to a designated idle system port, allowing the system to configure system parameters based on the executable file. Once the system parameters are configured, the system starts successfully, thus achieving automatic system configuration and fast startup through the target configuration file.
[0063] S26, Startup failed.
[0064] In summary, the system terminal fast startup method in the above embodiments of the present invention sets a target configuration file, parses the target configuration file to obtain multiple configuration names, automatically starts the Java environment required by the system based on the executable file in the configuration name, determines the connectable system port based on the server list in the configuration name, and connects to the system port through the executable file to complete the system parameter configuration, thereby quickly starting the system. The system parameter configuration and startup can be automatically executed through the target configuration file, avoiding manual setting of various system parameters, saving manpower and resources, and solving the problem in the background technology that terminal computers need to configure various parameters when using the system for the first time, which increases the workload of users.
[0065] Example 3
[0066] This invention provides a method for quickly starting the system from a system terminal. Please refer to [link / reference]. Figure 3 The system terminal fast startup method system shown in this embodiment includes:
[0067] The target configuration file parsing module is used to obtain the target configuration file, parse the target configuration file to obtain multiple configuration names and configuration task packages corresponding to the configuration names, and the configuration task packages include executable files;
[0068] The JAVA environment startup module is used to retrieve the corresponding environment startup parameters from the preset environment association parameter table according to the configuration name, and start the JAVA environment corresponding to the configuration name according to the environment startup parameters and the executable file.
[0069] The system configuration module is used to obtain a server list based on the configuration name, determine the system port corresponding to the server list based on the server list, and interface the executable file with the system port based on the JAVA environment to configure system parameters according to the executable file.
[0070] Furthermore, in other alternative embodiments, the system configuration module includes:
[0071] The service name matching unit is used to obtain the target server name and the target data source name according to the configuration name, match the target server name and the target data source name with the system server name and the system data source name, and determine whether the match is successful.
[0072] If a match is found, the system is allowed to start.
[0073] Furthermore, in other alternative embodiments, the system interface module includes:
[0074] The load balancing module is used to determine multiple connectable system node ports based on the server list, and connect the multiple connectable system node ports to idle system ports through load balancing.
[0075] Furthermore, in other alternative embodiments, the JAVA environment startup module includes:
[0076] An executable file retrieval unit is used to determine the storage address of the executable file based on the configuration name, and retrieve the executable file required for system configuration from the storage address.
[0077] Furthermore, in other alternative embodiments, the system includes:
[0078] The server list generation module is used to obtain the server category and corresponding server parameters according to the target configuration file, and generate a server list according to the server category and corresponding server parameters.
[0079] The functions or operation steps implemented by the above modules and units are largely the same as those in the above method embodiments, and will not be repeated here.
[0080] In summary, the system terminal quick-start system in the above embodiments of the present invention sets a target configuration file, parses the target configuration file to obtain multiple configuration names, automatically starts the Java environment required by the system based on the executable file in the configuration name, determines the connectable system port based on the server list in the configuration name, and connects to the system port through the executable file to complete the system parameter configuration, thereby quickly starting the system. The system parameter configuration and startup can be automatically executed through the target configuration file, avoiding manual setting of various system parameters, saving manpower and resources, and solving the problem in the background technology that terminal computers need to configure various parameters when using the system for the first time, which increases the workload of users.
[0081] This invention also proposes a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the system terminal fast startup method as described in the above embodiments.
[0082] Embodiments of the present invention also provide a data processing device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the steps of the methods described in the above embodiments.
[0083] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a sequenced list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device.
[0084] More specific examples of computer-readable media (a non-exhaustive list) include: electrical connections (electronic devices) having one or more wires, portable computer disk drives (magnetic devices), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Furthermore, computer-readable media can even be paper or other suitable media on which programs can be printed, because programs can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in computer memory.
[0085] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0086] In the description of this specification, references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0087] The embodiments described above are merely illustrative of several implementations of the present invention, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of the present invention. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of the present invention, and these modifications and improvements all fall within the scope of protection of the present invention. Therefore, the scope of protection of this patent should be determined by the appended claims.
Claims
1. A method for fast startup of a system terminal, characterized in that, The method includes: Obtain the target configuration file, parse the target configuration file to obtain multiple configuration names and configuration task packages that correspond one-to-one with the configuration names, the configuration task packages include executable files; The corresponding environment startup parameters are retrieved from the preset environment association parameter table according to the configuration name, and the JAVA environment corresponding to the configuration name is started according to the environment startup parameters and the executable file. Obtain the server list based on the configuration name, determine the system port corresponding to the server list based on the server list, and connect the executable file to the system port based on the JAVA environment to configure system parameters according to the executable file.
2. The system terminal fast startup method according to claim 1, characterized in that, The step of connecting the executable file to the system port based on the JAVA environment to configure system parameters according to the executable file further includes: Obtain the target server name and target data source name based on the configured name, match the target server name and target data source name with the system server name and system data source name, and determine whether the match is successful. If a match is found, the system is allowed to start.
3. The system terminal fast startup method according to claim 1, characterized in that, The step of determining the system port corresponding to the server list based on the server list includes: Based on the server list, determine multiple connectable system node ports, and connect these multiple connectable system node ports to idle system ports through load balancing.
4. The system terminal fast startup method according to claim 1, characterized in that, Before the step of starting the JAVA environment corresponding to the configuration name according to the environment startup parameters and the executable file, the following steps are included: The storage address of the executable file is determined based on the configuration name, and the executable file required for system configuration is retrieved from the storage address.
5. The system terminal fast startup method according to claim 1, characterized in that, The step of obtaining the server list based on the configuration name further includes: The server category and corresponding server parameters are obtained based on the target configuration file, and a server list is generated based on the server category and corresponding server parameters.
6. A system terminal fast startup system, characterized in that, The system includes: The target configuration file parsing module is used to obtain the target configuration file, parse the target configuration file to obtain multiple configuration names and configuration task packages corresponding to the configuration names, and the configuration task packages include executable files; The JAVA environment startup module is used to retrieve the corresponding environment startup parameters from the preset environment association parameter table according to the configuration name, and start the JAVA environment corresponding to the configuration name according to the environment startup parameters and the executable file. The system configuration module is used to obtain a server list based on the configuration name, determine the system port corresponding to the server list based on the server list, and interface the executable file with the system port based on the JAVA environment to configure system parameters according to the executable file.
7. The system terminal fast startup system according to claim 6, characterized in that, The system configuration module includes: The service name matching unit is used to obtain the target server name and the target data source name according to the configuration name, match the target server name and the target data source name with the system server name and the system data source name, and determine whether the match is successful. If a match is found, the system is allowed to start.
8. The system terminal fast startup system according to claim 6, characterized in that, The system configuration module includes: The load balancing module is used to determine multiple connectable system node ports based on the server list, and connect the multiple connectable system node ports to idle system ports through load balancing.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the system terminal fast startup method as described in any one of claims 1-5.
10. A data processing apparatus, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the system terminal fast startup method as described in any one of claims 1-5.
Citation Information
Patent Citations
Implementation method of plug-in registration and device thereof
CN101571809A
Micro kernel pluggable program application system and implementation method thereof
CN102141922A
Automatic application publishing system based on freemarker template engine
CN114675842A