CN112579202B - Method, device, equipment and storage medium for editing server program of Windows system - Google Patents

Method, device, equipment and storage medium for editing server program of Windows system Download PDF

Info

Publication number
CN112579202B
CN112579202B CN202011497139.3A CN202011497139A CN112579202B CN 112579202 B CN112579202 B CN 112579202B CN 202011497139 A CN202011497139 A CN 202011497139A CN 112579202 B CN112579202 B CN 112579202B
Authority
CN
China
Prior art keywords
data
adjustment
windows system
preset
registry
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011497139.3A
Other languages
Chinese (zh)
Other versions
CN112579202A (en
Inventor
江泽龙
李盛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Afirstsoft Co Ltd
Original Assignee
Afirstsoft Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Afirstsoft Co Ltd filed Critical Afirstsoft Co Ltd
Priority to CN202011497139.3A priority Critical patent/CN112579202B/en
Publication of CN112579202A publication Critical patent/CN112579202A/en
Application granted granted Critical
Publication of CN112579202B publication Critical patent/CN112579202B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The invention relates to the field of operation optimization, and discloses a method, a device, equipment and a storage medium for editing a server program of a Windows system. The method comprises the following steps: accessing a preset starting storage disk, and reading registry data based on a Windows system in the starting storage disk, wherein the registry data comprises: original data, registry path, target disk address; calling a preset loading function, storing the original data into the target disk address through the registry path, and loading the original data to generate initial operation data; receiving an adjustment instruction of the initial operation data, and adjusting the initial operation data according to the adjustment instruction to obtain system adjustment data; and receiving a preset program creation instruction, loading the system adjustment data, and creating a target program.

Description

Method, device, equipment and storage medium for editing server program of Windows system
Technical Field
The present invention relates to the field of operation optimization, and in particular, to a method, an apparatus, a device, and a storage medium for editing a server program of a Windows system.
Background
The Windows can run executable application programs in the session, and the application programs can be started automatically when the computer is started, or can be stopped and restarted without displaying any user interface when the computer is started, and the starting mode is used when the functions are required to run for a long time so as not to influence other users working on the same computer. The program may also be run in a security context that is different from the particular user account or default computer account of the logged-in user. There are a number of ways to create programs:
1. the windows system is used for creating and managing a sequence tool. The program line tool is a tool for managing a local or remote host program under a command line, has very powerful functions, can complete the inquiry, the new construction and the deletion of a program sequence list, and can also control the running state of the program, including stopping and running; the parameters of the program, such as start-up, start-up authority, automatic operation, etc., can also be modified.
2. Using the registry compiler, under the HKEY_LOCAL_MACHINE\SYSTEM\ Current Control Set \Services path, items are created and relevant program parameters are newly added under the items.
3. And calling a system interface to realize program management in a programming mode.
However, the program creation method cannot create a program and set a main function of the program without a user logging into the Windows system. In some application scenarios where a Windows system cannot be logged in, a technology is needed in which the program creation is completed without logging in the Windows system.
Disclosure of Invention
The invention mainly aims to solve the technical problem that the program creation mode cannot realize the program creation under the condition that a user does not log in a Windows system.
The first aspect of the present invention provides a method for editing a service program of a Windows system, where the method for editing a service program of a Windows system includes:
accessing a preset starting storage disk, and reading registry data based on a Windows system in the starting storage disk, wherein the registry data comprises: original data, registry path, target disk address;
calling a preset loading function, storing the original data into the target disk address through the registry path, and loading the original data to generate initial operation data;
receiving an adjustment instruction of the initial operation data, and adjusting the initial operation data according to the adjustment instruction to obtain system adjustment data;
and receiving a preset program creation instruction, and loading the system adjustment data to obtain an edited target program.
Optionally, in a first implementation manner of the first aspect of the present invention, before the accessing the preset startup storage disc and reading registry data based on the Windows system in the startup storage disc, the method further includes:
writing registry data based on Windows system into a starting storage disk;
and writing a preset trigger starting character string into the starting storage disk.
Optionally, in a second implementation manner of the first aspect of the present invention, the accessing the preset boot storage disc, and reading registry data based on the Windows system in the boot storage disc includes:
scanning a preset starting storage disk, and judging whether a triggering starting character string exists in the starting storage disk or not;
if yes, reading registry data based on a Windows system in the starting storage disk;
if not, rescanning the boot storage disk.
Optionally, in a third implementation manner of the first aspect of the present invention, the calling a preset loading function, storing the original data to the target disk address through the registry path, and loading the original data to generate initial running data includes:
calling a preset RegLoadKey () function, and grabbing the original data in the registry data based on character string matching;
and importing the original data into the target disk address, loading the original data from the target disk address, and generating initial operation data.
Optionally, in a fourth implementation manner of the first aspect of the present invention, the receiving an adjustment instruction of the initial operation data, and performing adjustment processing on the initial operation data according to the adjustment instruction, to obtain system adjustment data includes:
receiving an adjustment instruction of the initial operation data, and analyzing the adjustment instruction to activate a corresponding modification value;
judging whether the modified value can be queried from a preset adjustment mapping table to obtain a processing execution path;
if the initial running data exist, reading a processing execution path corresponding to the change value in the adjustment mapping table, and adjusting the initial running data according to the processing execution path to obtain system adjustment data.
Optionally, in a fifth implementation manner of the first aspect of the present invention, the reading a processing execution path corresponding to the modification value in the adjustment mapping table includes:
reading a Select item of the adjustment mapping table in the Windows system, and inquiring a plurality of control set configurations of Current values in the Select item;
and matching the modified value with the Current value, and grabbing the control set configuration corresponding to the modified value.
Optionally, in a sixth implementation manner of the first aspect of the present invention, after the receiving a preset program creation instruction, loading the system adjustment data, and creating a target program, the method further includes:
reading a regUnLoadKey () function in the Windows system;
and unloading the original data in the target disk address based on the regUnLoadKey () function, and deleting the registry data in a preset cache disk in the Windows system.
The second aspect of the present invention provides a server program editing apparatus for Windows system, comprising:
the reading module is used for accessing a preset starting storage disk and reading registry data based on a Windows system in the starting storage disk, wherein the registry data comprise: original data, registry path, target disk address;
the calling module is used for calling a preset loading function, storing the original data into the target disk address through the registry path, and loading the original data to generate initial operation data;
the adjustment processing module is used for receiving an adjustment instruction of the initial operation data and adjusting the initial operation data according to the adjustment instruction to obtain system adjustment data;
the creating module is used for receiving a preset program creating instruction, loading the system adjustment data and creating an edited target program.
A third aspect of the present invention provides a server program editing apparatus of a Windows system, including: a memory and at least one processor, the memory having instructions stored therein, the memory and the at least one processor being interconnected by a line; the at least one processor invokes the instructions in the memory to cause the server program editing apparatus of the Windows system to execute the server program editing method of the Windows system described above.
A fourth aspect of the present invention provides a computer-readable storage medium having instructions stored therein, which when run on a computer, cause the computer to perform the above-described method for editing a service program of a Windows system.
Drawings
FIG. 1 is a diagram showing a first embodiment of a method for editing a server program of a Windows system according to an embodiment of the present invention;
FIG. 2 is a diagram showing a second embodiment of a method for editing a server program of a Windows system according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a third embodiment of a method for editing a server program of a Windows system according to an embodiment of the present invention;
FIG. 4 is a schematic diagram of an embodiment of a server program editing apparatus for Windows system according to the present invention;
FIG. 5 is a schematic diagram of another embodiment of a server editing apparatus for Windows system according to the present invention;
fig. 6 is a schematic diagram of an embodiment of a server program editing apparatus of a Windows system according to an embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a method, a device, equipment and a storage medium for editing a server program of a Windows system.
The terms "first," "second," "third," "fourth" and the like in the description and in the claims and in the above drawings, if any, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments described herein may be implemented in other sequences than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed or inherent to such process, method, article, or apparatus.
For easy understanding, the following describes a specific flow of an embodiment of the present invention, referring to fig. 1, and an embodiment of a method for editing a service program of a Windows system in an embodiment of the present invention includes:
101. accessing a preset starting storage disk, and reading registry data based on a Windows system in the starting storage disk, wherein the registry data comprises: original data, registry path, target disk address;
in this embodiment, the boot storage disk may be a mobile U disk, a mobile hard disk, or a mobile storage medium, where the mobile hard disk writes data registry data, and writes an activation string { dsd-! The following is carried out WEG }, the registry data is: { data: SSSXXX, path: C\X\A\SYSTEM address:53.2d }. The content of the registry data is SSSXXX, registry information under a path is a SYSTEM file stored under a C \Windows\System 32\config folder, but the file is not a common text file or a common file format, the file format is not disclosed, and a certain technical difficulty exists in directly editing and modifying the file, so that the registry data can be used as one of the improvement directions of the scheme.
102. Calling a preset loading function, storing original data into a target disk address through a registry path, and loading the original data to generate initial operation data;
in this embodiment, the loading function loads the registry file { SSSXXX } to the path of the running Windows SYSTEM c\x\a\system under the condition that the Windows SYSTEM is a RegLoadKey () function, finds the data corresponding to the address of 53.2d, and generates the initial running data { SYTYUGHJJ }, after the loading is completed, after the SSSXXX is run.
103. Receiving an adjustment instruction of initial operation data, and adjusting the initial operation data according to the adjustment instruction to obtain system adjustment data;
in this embodiment, under the Services registry, a program item can be added as long as we add the correct information here. Under the mount path, a Select item is found, which is followed by a Current value. Because there are multiple control set configurations allowed in the system, in the registry, the naming items of "control set001" item, "control set 002" and other "control set serial numbers" can be seen, each of which is an independent configuration, only one of which is used when the system is running, and the Current value found by us is the configuration that marks which is used by the Current system, for example, the value is 1, and the relevant configuration of the control set001 will be used after the value target system is started. Receiving various pairs of control set adjustment data, wherein the adjustment content is as follows:
"Display Name", string value, corresponding to program Name;
"Description", string value, corresponding to program Description;
"Image Path", a string value corresponding to a Path in which the program is located;
"Object Name", string value "Local System", indicating Local login;
"Error Control", dword value, value "1";
"Start", dword value, 2,3, manual, 4, inhibit;
"Type", dword value, application corresponding to 10, other corresponding to 20;
"Start", dword value, 2,3, manual, 4, inhibit;
"Depend On Service", a multistring value, indicates that the program is dependent on the operation of other programs;
a Group character string value indicates which Group the program belongs to, different groups have different starting sequences, and if the starting sequence of the program is required, the related information of the groups can be modified to achieve the purpose;
"Tag", dword value, number of the program in the group;
"Required Privileges", a multistring value, indicating the rights possessed by the program;
after receiving all kinds of combination adjustment, system adjustment data { sssqUIDD } after initial operation data { SYTYUGHJJ } adjustment is obtained.
104. And receiving a preset program creation instruction, loading system adjustment data, and creating an edited target program.
In this embodiment, after receiving a program creation instruction, the { sssqUIDD } is loaded into a creation program, and data is injected into a Windows system creation framework to create a target program for which parameter setting is completed.
In the embodiment of the invention, the program registration function of the whole Windows system is activated by the data in the mobile starting storage disk, the setting of the Windows system creation program is completed by the operation instruction, and finally the program editing is completed without logging in the Windows system.
Referring to fig. 2, a second embodiment of a method for editing a server program of a Windows system according to an embodiment of the present invention includes:
201. writing registry data based on Windows system into a starting storage disk;
in the present embodiment, { data: SSSXXX, path: C\X\A\SYSTEM address:53.2d } is written into the mobile U disk.
202. Writing a preset trigger starting character string into a starting storage disk;
in this embodiment, the trigger start string { dsd-! The following is carried out WEG }, is written to the mobile U disk.
203. Scanning a preset starting storage disk, and judging whether a triggering starting character string exists in the starting storage disk or not;
in this embodiment, the scanning mobile USB flash disk uses regular matching to determine if { dsd-! The following is carried out WEG }.
204. If yes, reading registry data based on a Windows system in a starting storage disk;
in this embodiment, if there is a data: SSSXXX, path C\X\A\SYSTEM address:53.2d } is extracted into the cache region of the Windows SYSTEM.
205. If not, rescanning and starting the storage disk;
in this embodiment, the trigger start string { dsd! The following is carried out WEG is preset for 10 times according to the set scanning times, the mobile U disk is scanned again, the scanning times are increased by 1, and the cycle is stopped until 10 times.
206. Calling a preset RegLoadKey () function, and grabbing original data in registry data based on character string matching;
in the present embodiment, grabbing is performed based on RegLoadKey () function
{ data: SSSXXX, path C\X\A\SYSTEM address:53.2d }.
207. The method comprises the steps of importing original data into a target disk address, loading the original data from the target disk address, and generating initial operation data;
in this embodiment, { SSSXXX } is imported onto 53.2d in the C\X\A\SYSTEM path, and the SSSXXX generates the initial operational data { SYTYUGHJJ }.
208. Receiving an adjustment instruction of initial operation data, and adjusting the initial operation data according to the adjustment instruction to obtain system adjustment data;
in this embodiment, an instruction for receiving control set adjustment data adjusts the entire initial operation data { SYTYUGHJJ } to obtain system adjustment data { sssqUIDD }.
209. Receiving a preset program creation instruction, loading system adjustment data, and creating an edited target program;
the method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding procedure in the foregoing method embodiment, which is not described herein.
210. Reading a regUnLoadKey () function in a Windows system;
in this embodiment, the preset reguloadkey () function is read through the API interface in the Windows system.
211. And deleting the original data in the target disk address based on the regUnLoadKey () function, and deleting registry data in a preset cache disk in the Windows system.
In this embodiment, the reguloadkey () function will copy all registry data { data in the storage disk and in the cache data region: SSSXXX, path: C\X\A\SYSTEM address:53.2d }, reducing memory space waste.
In the embodiment of the invention, the program registration function of the whole Windows system is activated by the data in the mobile starting storage disk, the setting of the Windows system creation program is completed by the operation instruction, and finally the program editing is completed without logging in the Windows system.
Referring to fig. 3, a third embodiment of a method for editing a server program of a Windows system according to an embodiment of the present invention includes:
301. accessing a preset starting storage disk, and reading registry data based on a Windows system in the starting storage disk, wherein the registry data comprises: original data, registry path, target disk address;
302. calling a preset loading function, storing original data into a target disk address through a registry path, and loading the original data to generate initial operation data;
the method embodiments described in embodiments 301-302 are similar to the first embodiment, and reference may be made to the corresponding processes in the foregoing method embodiments, which are not described herein.
303. Receiving an adjustment instruction of initial operation data, and analyzing the adjustment instruction to activate a corresponding modification value;
in this embodiment, a value of "Start", dword, 2 indicates automatic operation, a value of 3 indicates manual operation, a value of 4 indicates prohibition, and the adjustment instruction sets "Start" to 2, where "Start" changes the value to 2, and the others are unchanged.
304. Judging whether the modified value can be queried from a preset adjustment mapping table to obtain a processing execution path;
in this embodiment, it is determined whether the modified value of "Start" is 2, which can be found out in the adjustment mapping table of the whole Windows system.
305. If the Current value exists, reading a Select item of an adjustment mapping table in the Windows system, and inquiring a plurality of control set configurations of the Current value in the Select item;
in this embodiment, the control set configuration {2,3,4} of "Start" in the Current value is read.
306. Matching the modified value with the Current value, grabbing the control set configuration corresponding to the modified value, and adjusting the initial operation data according to the processing execution path to obtain system adjustment data;
in this embodiment, 2 matches with the element "2" in {2,3,4}, and the control set that can query the corresponding "Start" in the Current value is configured as 2. And adjusting the whole initial operation data { SYTYUGHJJ } according to the control set configuration to obtain system adjustment data { ssSqUIDD }.
307. And receiving a preset program creation instruction, loading system adjustment data, and creating an edited target program.
The method embodiment described in this embodiment is similar to the first embodiment, and reference may be made to the corresponding procedure in the foregoing method embodiment, which is not described herein.
In the embodiment of the invention, the program registration function of the whole Windows system is activated by the data in the mobile starting storage disk, the setting of the Windows system creation program is completed by the operation instruction, and finally the program editing is completed without logging in the Windows system.
The above describes a method for editing a service program of a Windows system in an embodiment of the present invention, and the following describes a device for editing a service program of a Windows system in an embodiment of the present invention, please refer to fig. 4, and one embodiment of the device for editing a service program of a Windows system in an embodiment of the present invention includes:
the reading module 401 is configured to access a preset startup storage disc, and read registry data based on a Windows system in the startup storage disc, where the registry data includes: original data, registry path, target disk address;
the calling module 402 is configured to call a preset loading function, store the original data to the target disk address through the registry path, and load the original data to generate initial operation data;
the adjustment processing module 403 is configured to receive an adjustment instruction of the initial operation data, and perform adjustment processing on the initial operation data according to the adjustment instruction, so as to obtain system adjustment data;
the creating module 404 is configured to receive a preset program creating instruction, load the system adjustment data, and create an edited target program.
In the embodiment of the invention, the program registration function of the whole Windows system is activated by the data in the mobile starting storage disk, the setting of the Windows system creation program is completed by the operation instruction, and finally the program creation is completed without logging in the Windows system.
Referring to fig. 5, another embodiment of a server program editing apparatus for Windows system according to an embodiment of the present invention includes:
the reading module 401 is configured to access a preset startup storage disc, and read registry data based on a Windows system in the startup storage disc, where the registry data includes: original data, registry path, target disk address;
the calling module 402 is configured to call a preset loading function, store the original data to the target disk address through the registry path, and load the original data to generate initial operation data;
the adjustment processing module 403 is configured to receive an adjustment instruction of the initial operation data, and perform adjustment processing on the initial operation data according to the adjustment instruction, so as to obtain system adjustment data;
the creating module 404 is configured to receive a preset program creating instruction, load the system adjustment data, and create an edited target program.
The server program editing apparatus of the Windows system further includes an import module 405, where the import module 405 is specifically configured to:
writing registry data based on Windows system into a starting storage disk;
and writing a preset trigger starting character string into the starting storage disk.
The reading module 401 is specifically configured to:
scanning a preset starting storage disk, and judging whether a triggering starting character string exists in the starting storage disk or not;
if yes, reading registry data based on a Windows system in the starting storage disk;
if not, rescanning the boot storage disk.
The calling module 402 is specifically configured to:
calling a preset RegLoadKey () function, and grabbing the original data in the registry data based on character string matching;
and importing the original data into the target disk address, loading the original data from the target disk address, and generating initial operation data.
Wherein, the adjustment processing module 403 includes:
a receiving unit 4031, configured to receive an adjustment instruction of the initial operation data, and parse the adjustment instruction to activate a corresponding modification value;
a judging unit 4032, configured to judge whether the modification value can be queried from a preset adjustment mapping table to obtain a processing execution path;
and the processing unit 4033 is configured to read a processing execution path corresponding to the modification value in the adjustment mapping table if the modification value exists, and perform adjustment processing on the initial operation data according to the processing execution path to obtain system adjustment data.
Wherein, the processing unit 4033 is specifically configured to:
reading a Select item of the adjustment mapping table in the Windows system, and inquiring a plurality of control set configurations of Current values in the Select item;
and matching the modified value with the Current value, and grabbing Control Set configuration corresponding to the modified value.
The server program editing apparatus of the Windows system further includes a deletion module 406, where the deletion module 406 is specifically configured to:
reading a regUnLoadKey () function in the Windows system;
and unloading the original data in the target disk address based on the regUnLoadKey () function, and deleting the registry data in a preset cache disk in the Windows system.
In the embodiment of the invention, the program registration function of the whole Windows system is activated by the data in the mobile starting storage disk, the setting of the Windows system creation program is completed by the operation instruction, and finally the program creation is completed without logging in the Windows system.
The above-described server program editing apparatus for Windows system in the embodiment of the present invention is described in detail from the point of view of modularized functional entities in fig. 4 and 5, and the following describes the server program editing device for Windows system in the embodiment of the present invention in detail from the point of view of hardware processing.
Fig. 6 is a schematic structural diagram of a server program editing apparatus for a Windows system according to an embodiment of the present invention, where the server program editing apparatus 600 for a Windows system may have relatively large differences according to configuration or performance, and may include one or more processors (central processing units, CPU) 610 (e.g., one or more processors) and a memory 620, and one or more storage media 630 (e.g., one or more mass storage devices) storing application programs 633 or data 632. Wherein the memory 620 and the storage medium 630 may be transitory or persistent storage. The program stored in the storage medium 630 may include one or more modules (not shown), each of which may include a series of instruction operations in the server program editing apparatus 600 for Windows systems. Still further, the processor 610 may be configured to communicate with the storage medium 630 and execute a series of instruction operations in the storage medium 630 on the server program editing apparatus 600 of the Windows system.
The Windows system-based service program editing device 600 may also include one or more power supplies 640, one or more wired or wireless network interfaces 650, one or more input/output interfaces 660, and/or one or more operating systems 631, such as Windows Serve, mac OS X, unix, linux, freeBSD, and the like. It will be appreciated by those skilled in the art that the configuration of the WINDOWS system service editing device shown in fig. 6 does not constitute a limitation of the WINDOWS system based service editing device, and may include more or less components than those illustrated, or may combine certain components, or may have a different arrangement of components.
The present invention also provides a computer readable storage medium, which may be a non-volatile computer readable storage medium, or may be a volatile computer readable storage medium, where instructions are stored in the computer readable storage medium, when the instructions are executed on a computer, cause the computer to execute the steps of the method for editing a service program of the Windows system.
It will be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the system or apparatus and unit described above may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
The integrated units, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied essentially or in part or all of the technical solution or in part in the form of a software product stored in a storage medium, including instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a read-only memory (ROM), a random access memory (random access memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A program creation method of a Windows system, comprising the steps of:
accessing a preset starting storage disk, and reading registry data based on a Windows system in the starting storage disk, wherein the registry data comprises: original data, registry path, target disk address;
calling a preset loading function, storing the original data into the target disk address through the registry path, and loading the original data to generate initial operation data;
receiving an adjustment instruction of the initial operation data, and adjusting the initial operation data according to the adjustment instruction to obtain system adjustment data;
receiving a preset program creation instruction, loading the system adjustment data, and creating a target program;
the receiving the adjustment instruction of the initial operation data, and adjusting the initial operation data according to the adjustment instruction, so as to obtain system adjustment data, wherein the obtaining the system adjustment data comprises:
receiving an adjustment instruction of the initial operation data, and analyzing the adjustment instruction to activate a corresponding modification value;
judging whether the modified value can be queried from a preset adjustment mapping table to obtain a processing execution path;
if yes, reading a processing execution path corresponding to the change value in the adjustment mapping table, and adjusting the initial operation data according to the processing execution path to obtain system adjustment data;
the reading the processing execution path corresponding to the change value in the adjustment mapping table includes:
reading a Select item of the adjustment mapping table in the Windows system, and inquiring a plurality of Control Set configurations of Current values in the Select item;
and matching the modified value with the Current value, and grabbing Control Set configuration corresponding to the modified value.
2. The program creation method of a Windows system according to claim 1, wherein before said accessing a preset boot storage disk and reading registry data based on the Windows system in said boot storage disk, further comprising:
importing registry data based on a Windows system into a starting storage disk;
and writing a preset trigger starting character string into the starting storage disk.
3. The program creation method of a Windows system according to claim 1, wherein said accessing a preset boot storage disk, and reading registry data based on the Windows system in the boot storage disk comprises:
scanning a preset starting storage disk, and judging whether a triggering starting character string exists in the starting storage disk or not;
if yes, reading registry data based on a Windows system in the starting storage disk;
if not, rescanning the boot storage disk.
4. The program creation method of the Windows system according to claim 1, wherein the calling a preset loading function, storing the original data to the target disk address through the registry path, and loading the original data to generate initial running data comprises:
calling a preset Reg Load Key () function, and grabbing the original data in the registry data based on character string matching;
and importing the original data into the target disk address, loading the original data from the target disk address, and generating initial operation data.
5. The program creation method of a Windows system according to claim 1, wherein after said receiving a preset program creation instruction, loading said system adjustment data, creating a target program, further comprises:
reading a Reg UnLoad Key () function in the Windows system;
and deleting the original data in the target disk address based on the Reg UnLoad Key () function, and deleting the registry data in a preset cache disk in the Windows system.
6. A program creation device of a Windows system, characterized in that the program creation device of a Windows system comprises:
the reading module is used for accessing a preset starting storage disk and reading registry data based on a Windows system in the starting storage disk, wherein the registry data comprise: original data, registry path, target disk address;
the calling module is used for calling a preset loading function, storing the original data into the target disk address through the registry path, and loading the original data to generate initial operation data;
the adjustment processing module is used for receiving an adjustment instruction of the initial operation data and adjusting the initial operation data according to the adjustment instruction to obtain system adjustment data;
the creating module is used for receiving a preset program creating instruction, removing all registry data in the Windows system, loading the system adjustment data and creating a target program;
the adjustment processing module is specifically configured to:
receiving an adjustment instruction of the initial operation data, and analyzing the adjustment instruction to activate a corresponding modification value;
judging whether the modified value can be queried from a preset adjustment mapping table to obtain a processing execution path;
if yes, reading a processing execution path corresponding to the change value in the adjustment mapping table, and adjusting the initial operation data according to the processing execution path to obtain system adjustment data;
the adjustment processing module is specifically configured to:
reading a Select item of the adjustment mapping table in the Windows system, and inquiring a plurality of Control Set configurations of Current values in the Select item;
and matching the modified value with the Current value, and grabbing Control Set configuration corresponding to the modified value.
7. A program creation device of a Windows system, characterized in that the program creation device of a Windows system comprises: a memory and at least one processor, the memory having instructions stored therein, the memory and the at least one processor being interconnected by a line;
the at least one processor invokes the instructions in the memory to cause the program creation device of the Windows system to perform the program creation method of the Windows system as recited in any of claims 1-5.
8. A computer-readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements a program creation method of a Windows system according to any one of claims 1-5.
CN202011497139.3A 2020-12-17 2020-12-17 Method, device, equipment and storage medium for editing server program of Windows system Active CN112579202B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011497139.3A CN112579202B (en) 2020-12-17 2020-12-17 Method, device, equipment and storage medium for editing server program of Windows system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011497139.3A CN112579202B (en) 2020-12-17 2020-12-17 Method, device, equipment and storage medium for editing server program of Windows system

Publications (2)

Publication Number Publication Date
CN112579202A CN112579202A (en) 2021-03-30
CN112579202B true CN112579202B (en) 2024-04-05

Family

ID=75135944

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011497139.3A Active CN112579202B (en) 2020-12-17 2020-12-17 Method, device, equipment and storage medium for editing server program of Windows system

Country Status (1)

Country Link
CN (1) CN112579202B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112131550B (en) * 2020-09-30 2024-05-10 深圳软牛科技有限公司 Windows system unlocking method and device, electronic equipment and computer readable medium
CN113485895A (en) * 2021-07-22 2021-10-08 北京天空卫士网络安全技术有限公司 Method and device for determining IO device type
CN114563978A (en) * 2022-02-24 2022-05-31 乐健科技(珠海)有限公司 Drilling machine instruction generation method and drilling machine instruction generation device
CN117075967B (en) * 2023-10-16 2024-01-30 西安羚控电子科技有限公司 Ground station automation instruction generation method, data rendering method and system

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1680817A (en) * 2005-01-31 2005-10-12 南京迪玛斯电气有限公司 Metering and charging system of electric energy amount
CN1871850A (en) * 2003-08-22 2006-11-29 索尼株式会社 Reproducing apparatus, method and program
CN101038551A (en) * 2006-03-16 2007-09-19 南京大学 Method for implementing the start of Linux operation system in mobile hard disk
CN101777018A (en) * 2010-02-08 2010-07-14 北京同有飞骥科技有限公司 Copying and snapshot combined Windows system protection method
CN101789019A (en) * 2010-02-11 2010-07-28 株洲南车时代电气股份有限公司 Method for controlling removable disk under Windows
CN102184368A (en) * 2011-06-13 2011-09-14 上海置水软件技术有限公司 Method for safely using mobile storage device
CN103473090A (en) * 2011-01-21 2013-12-25 北京奇虎科技有限公司 Method and system for software migration and installation for removable equipment
CN105446876A (en) * 2015-11-03 2016-03-30 北京京东尚科信息技术有限公司 Service dimension based automatic testing method, apparatus and system
CN105912349A (en) * 2016-06-29 2016-08-31 北京金山安全软件有限公司 Drive loading method and device
CN105930192A (en) * 2016-05-03 2016-09-07 北京金山安全软件有限公司 Service creation method and device
CN106843917A (en) * 2015-12-07 2017-06-13 珠海市君天电子科技有限公司 Driver loading method and device
CN107423077A (en) * 2016-12-21 2017-12-01 北京安云世纪科技有限公司 Mobile terminal and its Application Backup and installation method and device
CN111737057A (en) * 2020-06-24 2020-10-02 深圳软牛科技有限公司 APFS file system data recovery method and device and electronic equipment

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1871850A (en) * 2003-08-22 2006-11-29 索尼株式会社 Reproducing apparatus, method and program
CN1680817A (en) * 2005-01-31 2005-10-12 南京迪玛斯电气有限公司 Metering and charging system of electric energy amount
CN101038551A (en) * 2006-03-16 2007-09-19 南京大学 Method for implementing the start of Linux operation system in mobile hard disk
CN101777018A (en) * 2010-02-08 2010-07-14 北京同有飞骥科技有限公司 Copying and snapshot combined Windows system protection method
CN101789019A (en) * 2010-02-11 2010-07-28 株洲南车时代电气股份有限公司 Method for controlling removable disk under Windows
CN103473090A (en) * 2011-01-21 2013-12-25 北京奇虎科技有限公司 Method and system for software migration and installation for removable equipment
CN102184368A (en) * 2011-06-13 2011-09-14 上海置水软件技术有限公司 Method for safely using mobile storage device
CN105446876A (en) * 2015-11-03 2016-03-30 北京京东尚科信息技术有限公司 Service dimension based automatic testing method, apparatus and system
CN106843917A (en) * 2015-12-07 2017-06-13 珠海市君天电子科技有限公司 Driver loading method and device
CN105930192A (en) * 2016-05-03 2016-09-07 北京金山安全软件有限公司 Service creation method and device
CN105912349A (en) * 2016-06-29 2016-08-31 北京金山安全软件有限公司 Drive loading method and device
CN107423077A (en) * 2016-12-21 2017-12-01 北京安云世纪科技有限公司 Mobile terminal and its Application Backup and installation method and device
CN111737057A (en) * 2020-06-24 2020-10-02 深圳软牛科技有限公司 APFS file system data recovery method and device and electronic equipment

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
组件对象模型在电力模拟市场管理软件中的应用;董兰芳, 许广德, 陈意云, 胡世骏, 谢衡;电力系统自动化;20000830(第16期);第39-43页 *

Also Published As

Publication number Publication date
CN112579202A (en) 2021-03-30

Similar Documents

Publication Publication Date Title
CN112579202B (en) Method, device, equipment and storage medium for editing server program of Windows system
US9558218B2 (en) Truncating data associated with objects in a multi-tenant database
CN111181975B (en) Account management method, device, equipment and storage medium
US10216510B2 (en) Silent upgrade of software with dependencies
CN111008034B (en) Patch generation method and device
CN108415736B (en) Method, device and equipment for marking program process by using process file system
DE112011105687T5 (en) Using Option ROM Memory
CN109033313B (en) Method and terminal equipment for realizing full-disk scanning function by using USN
CN111209256A (en) File monitoring method and device, electronic equipment and storage medium
CN111078279A (en) Processing method, device and equipment of byte code file and storage medium
WO2019237822A1 (en) Android system boot speed control method, smart device, and storage medium
US8117432B2 (en) Method for controlling boot sequence of server
KR20040051322A (en) Data retouching method for executing file on real time and virus elimination method using the data retouching method thereof
CN103984621B (en) log separation method and system
CN110968351A (en) BIOS configuration method and device
CN110941471A (en) Method and device for internationalizing basic data of software system
US9940334B2 (en) Image forming apparatus and control method thereof
CN113010197B (en) Application silence upgrading method, system, terminal equipment and storage medium
CN110781527B (en) Control register protection method and device
CN109783156B (en) Application starting control method and device
CN112507346A (en) Vulnerability scanning system
CN112000354A (en) Version information updating method, version information updating device, version information updating equipment and storage medium
CN112650713A (en) File system operation method, device, equipment and storage medium
CN107305498B (en) Application installation method, controller and application installation system
US11748110B2 (en) Server with setup menu for the bios settings

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant