CN112671930A - Method for automatically updating application resources of diskless workstation by diskless server - Google Patents

Method for automatically updating application resources of diskless workstation by diskless server Download PDF

Info

Publication number
CN112671930A
CN112671930A CN202110045591.4A CN202110045591A CN112671930A CN 112671930 A CN112671930 A CN 112671930A CN 202110045591 A CN202110045591 A CN 202110045591A CN 112671930 A CN112671930 A CN 112671930A
Authority
CN
China
Prior art keywords
diskless
application
server
application resources
client
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.)
Granted
Application number
CN202110045591.4A
Other languages
Chinese (zh)
Other versions
CN112671930B (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.)
Hangzhou Wulian Technology Co ltd
Original Assignee
Hangzhou Wulian Technology 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 Hangzhou Wulian Technology Co ltd filed Critical Hangzhou Wulian Technology Co ltd
Priority to CN202110045591.4A priority Critical patent/CN112671930B/en
Publication of CN112671930A publication Critical patent/CN112671930A/en
Application granted granted Critical
Publication of CN112671930B publication Critical patent/CN112671930B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method for automatically updating application resources of a diskless workstation by a diskless server, which is characterized in that the application resources are written into a network disk in advance, so that a client creates file symbols of application files on the network disk to a default installation position such as a C disk by driving in the starting process of a diskless environment, a registry is imported, and the application resources are loaded after an operating system is started. The invention relates to a client application resource efficient configuration technology, which realizes diskless and batched operation of client application resource installation by improving the technology of a server control center; by automatically updating the application resources of the diskless server, a user does not need to open the application resources in a super management mode, and the application resources are installed in the diskless environment, so that the installation efficiency of the application resources is improved, and the batch and one-click installation and upgrading of the application resources are realized.

Description

Method for automatically updating application resources of diskless workstation by diskless server
Technical Field
The invention belongs to the technical field of diskless starting of computers, and particularly relates to a method for automatically updating application resources of a diskless workstation by a diskless server.
Background
The diskless starting technology generally refers to downloading a system image and starting a computer through a network, a diskless workstation (Client) does not have a hard disk, that is, the local system image does not exist, and the system image is stored in a Server (Server). The Client acquires an IP address by using a DHCP protocol through a starting code in a network card Rom of the Client, downloads a mirror image or a boot file by using a TFTP protocol, and constructs a running environment of the mirror image or the boot file, so that the Client is started by the mirror image of a server.
The software greening technology is to simulate the installation of a program and pack the program so that the program can be directly operated by using a greening bag without depending on windows environment. A general application program can be operated only by being installed in a windows, and still needs to be installed when the application program is copied to another windows environment; after the software is greened, the greening package can be directly used for direct operation, so that the software is convenient to copy and deploy.
For traditional applications, a user generally installs application resources in a diskless environment, and needs to open a super-management mode and install the application resources to a default installation environment such as a C disk, and the client can take effect after a restore point is saved; however, in the above version of win7, clients with different requirements need to open the super-management mode and confirm the installed start-up scheme by the operating system, so as to normally use the application resources, and if the user has different deployment requirements of the application in different periods, the super-management operation needs to be performed repeatedly and repeatedly, which undoubtedly increases the maintenance cost; therefore, in the future, to solve the problem and improve the efficiency of driver installation, a method for automatically updating application resources of a diskless workstation by a diskless server needs to be developed.
From the product nature of the method for automatically updating the application resources of the diskless workstation by the diskless server, the method is a resource synchronization technology, and realizes the step that the client does not need to independently install the application resources through the relationship between the client and the server, directly calls the application resources from a control center in a server system, realizes the quick installation or upgrade of the application, saves the hardware resources of the client, improves the utilization efficiency of the resources, further can realize the centralized management of the application resources corresponding to the IDC through the relationship between the edge server and the IDC (Internet data center), and realizes that the server does not need to upload and manage a large amount of application resources and directly downloads and updates the application resources according to instructions issued by the IDC.
The main application of the technology can be diversified, the method for automatically updating the application resources of the diskless workstation by the diskless server at the present stage is mainly applied to the Internet bar environment or similar scenes, and the main application is to improve the resource utilization efficiency of the control center and the affiliated terminals, realize the high-efficiency synchronization of the application resources of the affiliated terminals and simplify the application installation process of the terminals; through the derivation of the technology, the method can also be applied to various scenes or enterprises needing to improve the resource synchronization benefit of the server control center, and the strong association between the control center and subordinate terminals is realized.
Therefore, in the product sense, the method for automatically updating the application resources of the diskless workstation by the diskless server can greatly improve the installation or upgrading efficiency of the application resources of the client computer in the environment such as an internet bar, and simultaneously, carries out technical support for industries or enterprises needing to provide services of the server control center, can efficiently realize the resource synchronization of the control center to the terminal, and realizes the resource optimization.
Disclosure of Invention
In view of the above, the present invention provides a method for automatically updating application resources of a diskless workstation by a diskless server, which aims to green an application resource installation process into an application resource package and download corresponding application resources according to a client IP, so that clients with various requirements can be started by using the same mirror image.
A method for automatically updating application resources of a diskless workstation by a diskless server is characterized in that an application center program is utilized to obtain a client IP at the starting stage of a client diskless system and send the client IP to the server, the server sends an application resource program and related configuration information to the client according to the client IP, and loading of the application resources is completed by means of software PNP drive.
Furthermore, the method of the invention needs to use software greening technology in advance, namely extracting and making a greening packet of the application resource program, uploading the greening packet to an IDC (Internet data center) server, issuing the greening packet to an edge server through the IDC server, and simultaneously exposing a corresponding configuration file to a user, so that the user can independently set the configuration file of the application resource program.
Furthermore, in the implementation process, the server needs to extract the application resources, that is, a snapshot tool is used to export a registry and a resource file of installation release according to changes of the client before and after installation, and meanwhile, operations required for installation are written into the configuration information, and the extracted application resources and the configuration information are packaged and uploaded to the server.
Furthermore, the application resource program and the related configuration information can be placed in an installation directory in advance, or automatically imported by a user, or automatically acquired from an IDC server, and meanwhile, the user can also perform personalized setting and adjustment on the application attributes at the server.
Furthermore, after the client starts up diskless, the server side issues corresponding application resources and configuration packets according to the starting scheme, and a driver in the client configures the environment necessary for the application resource program to run in advance according to the corresponding configuration file of the application in the windows starting process, so that the application resource program can run normally.
Furthermore, a user can set a client diskless system starting scheme by using a user platform, so that application resources suitable for each starting scheme can be configured in a personalized manner, and when the application requirements change continuously, only one key is needed to configure the application, rather than the traditional method of repeatedly starting the hypervisor to install and update the application.
According to the invention, the application resources are written into the network disk in advance, so that the client links the application file creating symbol on the network disk to the default installation environment through the drive in the starting process of the diskless environment, and the application resources are loaded after the operating system is started. The invention relates to a client application resource efficient configuration technology, which realizes diskless and batched operation of client application resource installation by improving the technology of a server control center; through the automatic updating of the application resources of the diskless server, a user does not need to open a super-management mode to install the application resources, and through installing the application resources in a diskless environment, the installation efficiency of the application resources is improved, and the batch and one-click installation and upgrading of the application resources are realized.
In the research and development process, the invention overcomes a plurality of technical problems and solves the defects of the traditional application resource technology, wherein the reading problem is most outstanding by the effective time of the application resource and the application resource; the final result of the research is that the application resources provided by the server can efficiently provide the application resource installation and upgrade services for the client. Therefore, the invention has the following beneficial technical effects:
1. the invention provides convenience for installing application resources, a super-pipe mode is not required to be opened under the traditional condition for batch upgrading of client drivers, and the problem of resource synchronization of the application resources of the existing client and server is solved.
2. The invention can optimize the management mode of the server to the client, realize the batch upgrade management of the client application resources and release the limitation of upgrading the application resources by a single client.
3. The invention can further optimize the management mode of IDC (Internet data center) to the edge server, realize the centralized management of IDC to the application resources, realize that the server does not need to upload and manage a large amount of application resources, and directly download and update the application resources according to the instructions issued by IDC
4. The invention can promote the application resource program to update the version in time and ensure the high-efficiency management of the application resource version.
5. The invention has the function of intelligent application resource adaptation and can carry out systematic automatic adaptation on various application resource requirements of the client.
Drawings
FIG. 1 is a schematic diagram of an implementation process of extracting application software resources without input parameters.
FIG. 2 is a schematic diagram of an implementation process of extracting application software resources with input parameters.
FIG. 3 is a flowchart illustrating the process of composing resource image packages and configuration packages by applying resource files.
Fig. 4 is a schematic diagram illustrating a process of downloading an application resource to an edge server.
Fig. 5 is a flowchart illustrating a variable parameter delivery process of the server.
Fig. 6 is a schematic diagram of the software PNP driver workflow.
Detailed Description
In order to more specifically describe the present invention, the following detailed description is provided for the technical solution of the present invention with reference to the accompanying drawings and the specific embodiments.
The software PNP function can acquire the client IP at the earlier stage of starting the client system and send the client IP to the server, the server sends an application resource mirror image and a configuration packet to the client, and the client diskless system software PNP drive is used for completing the installation of the application software; the application resources and the configuration package are placed in an installation directory in advance, or are automatically imported by a user or are automatically acquired from IDC, and meanwhile, the user can also perform personalized setting and adjustment on the application attributes at the server.
To implement the software PNP during diskless boot, the first step is to afforest the software resources from the installation package, and the afforestation needs to know the programs, the related work files, and the registry information released during the installation process.
Firstly, extracting application software resources, wherein the extraction implementation flow is as shown in fig. 1, taking snapshots before and after installing software by using system snapshot software, comparing the snapshots for 2 times, extracting programs, related work files and registry information released by the installation programs in the installation process, extracting the released programs and the related work files as application Resource packages, placing the application Resource packages in Resource folders, generating file links from the Resource folders to application default installation environments according to resources, recording the file links in Resource ecnf, namely software page install in Resource file configuration folders, wherein the corresponding modules are [ SW _ FileLinksWIN764], and writing the extracted registry information into [ Win7_64.reg ], so as to finish the Resource extraction of the application software which does not need input parameters in the installation process.
In addition, in the installation process of some application software, parameters similar to the IP of the server side need to be input, for such application software, a configuration file used for recording the input parameters by the application software needs to be found out from a release file, and after setting the specified parameters as variable parameters, such configuration file is placed under the ResourceCnf for receiving the parameter deployment of the application by the user, so as to afforest the normal operation of the application, as shown in fig. 2.
After the extraction of the application software resources is completed, the extracted application software resource files are formed into a resource package and distributed, as shown in fig. 3.
After the resource packet is successfully extracted, the resource packet can be made into a mirror image packet and uploaded to the IDC for distribution to the edge server. In the configuration package, softwarnpinstall. inf records all operations required to install an application, and this configuration file is for software PNP drivers, for example:
[IntcAzAudModel]
AddReg=Win7_64.reg
AddLink=SW_FileLinksWIN764
CopyFiles=cp
and according to modules with different functions under the [ IntcAzAudModel ], executing operations under the corresponding modules, including writing a registry, adding symbolic links and copying files.
transform. py and transform. ini are used to replace variable parameters in the configuration file under ResourceCnf with user actual input parameters.
The specific process of the software PNP implementation scheme of the invention is as follows:
(1) the process of downloading application resources to the edge server is shown in fig. 4.
The edge server downloads the resource packages and the configuration packages of all the applications to be launched in operation to the hard disk, and the resource packages and the configuration packages are used for timely feedback when the client starts and requests the applications.
(2) When a user needs to use a designated application, the user can start the designated internet bar in a starting scheme, and if the started application needs to input individual parameters, the individual parameters can also be input together, wherein the parameter transmission flow is shown in fig. 5.
In the user environment, different areas, different machine rooms and different internet cafes have different requirements on applications, and even under the same internet cafe, the requirements on applications are different according to the difference of the internet cafe boss in the equipment area. Thus, the server will pass, translate and record the variable parameters of the actual user according to different internet cafes (gateways) and different start-up schemes (start-up scheme IDs). And meanwhile, recording starting scheme IDs corresponding to different client IPs so that when the client is started, the required application resources and application configuration are distributed according to the IP reported by the client.
(3) The actual workflow of the software PNP driver installation application is shown in fig. 6. When the client is started, the client reports the IP to the server, the server provides corresponding application resources and configuration according to the client IP, the client loads a software PNP drive, then the software PNP drive is read, and the software PNP analyzes and executes the operation in software PNP Installall. Writing the registry information under [ Win7_64.reg ] in inf into an operating system, wherein the registry information comprises registry starting items of files and records of some information parameters; executing file copy under [ cp ], mostly copying the application configuration file with updated user individual parameters to an application default installation directory for reading and calling an application program; and executing file link under SW _ FileLinksWIN764, and mostly linking the extracted application files to the application default installation directory to simulate the application default installation environment. Therefore, the software PNP completes the whole process of application installation and deployment, after the operating system starts to execute the registry, the application can be started according to the registry or the system starting item written by the software PNP, and the application program has the configuration file and the file environment of normal operation, so that the application program can be started and operated normally.
In the above process, because the starting modes of the applications are different, some applications need to be started by the automatically started service, some applications need to be started by a run key of a windows, and some applications need to be started by a windows starting item directory. After various modes are tried, the final selection software PNP writes the phase of the stuck boot2 into the registry in the system starting process, and in addition, the influence on the client starting speed is less when the phase of the stuck boot2 is compared with the phase of the stuck boot 1. Through the scheme, after the server side is greened through the application, versions of different applications are provided for the user, and the user can realize complex deployment of 'opening the super tube, inputting individual parameters and deploying various applications' instead of 'batch and one-button switching of different applications' using experience.
The embodiments described above are presented to enable a person having ordinary skill in the art to make and use the invention. It will be readily apparent to those skilled in the art that various modifications to the above-described embodiments may be made, and the generic principles defined herein may be applied to other embodiments without the use of inventive faculty. Therefore, the present invention is not limited to the above embodiments, and those skilled in the art should make improvements and modifications to the present invention based on the disclosure of the present invention within the protection scope of the present invention.

Claims (8)

1. A method for automatically updating application resources of a diskless workstation by a diskless server is characterized by comprising the following steps: the client IP is obtained by the application center program at the starting stage of the diskless system of the client and is sent to the server, the server sends the application resource program and the relevant configuration information to the client according to the client IP, and the loading of the application resource is completed by the PNP drive of the software.
2. The method for automatically updating application resources of the diskless workstation by the diskless server as claimed in claim 1, wherein: the method needs to use a software greening technology in advance, namely, a greening packet of the application resource program is extracted and manufactured, uploaded to an IDC server, issued to an edge server through the IDC server, and simultaneously, a corresponding configuration file is exposed to a user, so that the user can independently set the configuration file of the application resource program.
3. The method for automatically updating application resources of the diskless workstation by the diskless server as claimed in claim 1, wherein: in the implementation process, the server needs to extract the application resources, namely, a snapshot tool is used for exporting a registry and a resource file of installation release according to changes of the client before and after installation, meanwhile, operations needed by installation are written into configuration information, and the extracted application resources and the configuration information are packaged and uploaded to the server.
4. The method for automatically updating application resources of the diskless workstation by the diskless server as claimed in claim 1, wherein: the application resource program and the related configuration information can be placed in an installation directory in advance, or automatically imported by a user, or automatically acquired from an IDC server, and meanwhile, the user can also perform personalized setting and adjustment on the application attributes at the server.
5. The method for automatically updating application resources of the diskless workstation by the diskless server as claimed in claim 1, wherein: after the client starts up diskless, the server side issues corresponding application resources and configuration packages according to the starting scheme, and a driver in the client configures the environment necessary for the application resource program to run in advance according to the corresponding configuration file of the application in the process of starting the windows, so that the application resource program can run normally.
6. The method for automatically updating application resources of the diskless workstation by the diskless server as claimed in claim 1, wherein: a user can set a client diskless system starting scheme by using a user platform, application resources suitable for each starting scheme are configured in a personalized mode, and when application requirements change continuously, only one-click configuration of applications is needed.
7. The method for automatically updating application resources of the diskless workstation by the diskless server as claimed in claim 1, wherein: according to the method, the application resources are written into the network disk in advance, so that a client can link an application file creating symbol on the network disk to a default installation environment through a driver in the process of starting a diskless environment, a registry is imported, and the application resources are loaded after an operating system is started.
8. The method for automatically updating application resources of the diskless workstation by the diskless server as claimed in claim 1, wherein: the method is a client application resource efficient configuration technology, and diskless and batched operation of client application resource installation is realized by technical improvement of a server control center; through the automatic updating of the application resources of the diskless server, a user does not need to open a super-management mode to install the application resources, and through installing the application resources in a diskless environment, the installation efficiency of the application resources is improved, and the batch and one-click installation and upgrading of the application resources are realized.
CN202110045591.4A 2021-01-13 2021-01-13 Method for automatically updating application resources of diskless workstation by diskless server Active CN112671930B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110045591.4A CN112671930B (en) 2021-01-13 2021-01-13 Method for automatically updating application resources of diskless workstation by diskless server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110045591.4A CN112671930B (en) 2021-01-13 2021-01-13 Method for automatically updating application resources of diskless workstation by diskless server

Publications (2)

Publication Number Publication Date
CN112671930A true CN112671930A (en) 2021-04-16
CN112671930B CN112671930B (en) 2022-09-20

Family

ID=75415050

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110045591.4A Active CN112671930B (en) 2021-01-13 2021-01-13 Method for automatically updating application resources of diskless workstation by diskless server

Country Status (1)

Country Link
CN (1) CN112671930B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5889942A (en) * 1996-12-18 1999-03-30 Orenshteyn; Alexander S. Secured system for accessing application services from a remote station
US20040221024A1 (en) * 2000-11-16 2004-11-04 Katsuya Yamada Apparatus and method for setting environment of client in client / server system, and program recording medium therefor
US20060155838A1 (en) * 2004-12-31 2006-07-13 Inventec Corporation Program installation system and method using the same
CN1855042A (en) * 2005-04-18 2006-11-01 三星电子株式会社 Software installation system and method thereof and storage medium for software installation program
CN102833344A (en) * 2012-09-04 2012-12-19 中国人民解放军国防科学技术大学 Local boot mapping file-based diskless computer boot method
CN107577510A (en) * 2017-09-21 2018-01-12 成都领沃网络技术有限公司 One kind quickly pre-installs method and system automatically without hardware driving under disk ring border
CN108829410A (en) * 2018-06-20 2018-11-16 郑州云海信息技术有限公司 A kind of method and device of the configuration and customization PXE without disc system
CN110618822A (en) * 2019-08-26 2019-12-27 杭州顺网科技股份有限公司 Method for pre-installing network card drive in starting stage of diskless workstation

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5889942A (en) * 1996-12-18 1999-03-30 Orenshteyn; Alexander S. Secured system for accessing application services from a remote station
US20040221024A1 (en) * 2000-11-16 2004-11-04 Katsuya Yamada Apparatus and method for setting environment of client in client / server system, and program recording medium therefor
US20060155838A1 (en) * 2004-12-31 2006-07-13 Inventec Corporation Program installation system and method using the same
CN1855042A (en) * 2005-04-18 2006-11-01 三星电子株式会社 Software installation system and method thereof and storage medium for software installation program
CN102833344A (en) * 2012-09-04 2012-12-19 中国人民解放军国防科学技术大学 Local boot mapping file-based diskless computer boot method
CN107577510A (en) * 2017-09-21 2018-01-12 成都领沃网络技术有限公司 One kind quickly pre-installs method and system automatically without hardware driving under disk ring border
CN108829410A (en) * 2018-06-20 2018-11-16 郑州云海信息技术有限公司 A kind of method and device of the configuration and customization PXE without disc system
CN110618822A (en) * 2019-08-26 2019-12-27 杭州顺网科技股份有限公司 Method for pre-installing network card drive in starting stage of diskless workstation

Also Published As

Publication number Publication date
CN112671930B (en) 2022-09-20

Similar Documents

Publication Publication Date Title
JP3799246B2 (en) Device driver upgrade system and method
US6026438A (en) Dynamic workstation configuration processor
US8606765B2 (en) Systems and methods for updating software appliances
CN1331045C (en) Software automatic upgrading and updating method under Client/Server frame
US8230416B2 (en) System, method and article of manufacture for using shadow installations of software modules during distributed system upgrade
US9240925B1 (en) System and method for server customization
CN110572436A (en) Multi-place cross-cluster server deployment method and system
CN102622241B (en) A kind of method for upgrading software and device
US7765542B2 (en) Method and system for describing and extracting application information
US7310801B2 (en) Servicing a component-based software product throughout the software product lifecycle
WO2016078417A1 (en) Method and device for upgrading virtualized network function manager, and server
US20070271552A1 (en) System and method for packaging software
KR20040028804A (en) System and method for the automatic installation and configuration of an operating system
TW200301048A (en) Configuration and management systems for mobile and embedded devices
JP2001043086A (en) System and method for constituting personal system
CN107992355A (en) A kind of method, apparatus and virtual machine of application deployment software
CN101179430A (en) Device and method of controlling distributed system software version updating
CN111786810A (en) Automatic deployment method and system for large-scale test bed nodes
CN112671930B (en) Method for automatically updating application resources of diskless workstation by diskless server
CN111459643A (en) Host migration method
CN111124598A (en) Virtual desktop software management method and system
Cisco CiscoView CD Installation Instructions for AIX
Cisco CiscoView CD Installation Instructions for AIX
CN110764831B (en) Method for pre-installing display card drive in starting stage of diskless workstation
CN106100909A (en) The method that program based on WEB server updates with data automatic synchronization

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