CN102360285B - Method for distributing local area network (LAN) program in Windows operating system - Google Patents

Method for distributing local area network (LAN) program in Windows operating system Download PDF

Info

Publication number
CN102360285B
CN102360285B CN201110207353.5A CN201110207353A CN102360285B CN 102360285 B CN102360285 B CN 102360285B CN 201110207353 A CN201110207353 A CN 201110207353A CN 102360285 B CN102360285 B CN 102360285B
Authority
CN
China
Prior art keywords
file
client
engineering
service end
packet
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.)
Expired - Fee Related
Application number
CN201110207353.5A
Other languages
Chinese (zh)
Other versions
CN102360285A (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.)
Returnstar Interactive Technology Group Co., Ltd.
Original Assignee
FUZHOU RETURNSTAR DIGITAL 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 FUZHOU RETURNSTAR DIGITAL TECHNOLOGY Co Ltd filed Critical FUZHOU RETURNSTAR DIGITAL TECHNOLOGY Co Ltd
Priority to CN201110207353.5A priority Critical patent/CN102360285B/en
Publication of CN102360285A publication Critical patent/CN102360285A/en
Application granted granted Critical
Publication of CN102360285B publication Critical patent/CN102360285B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method for distributing a local area network (LAN) program in a Windows operating system. The method comprises the following steps of: establishing a project group, and establishing a server side project and a client side project in the project group; establishing windows in the server side project and the client side project; establishing program distributing, packaging and transmitting windows in the server side project; establishing program distributing, receiving and decomposing windows in the client side project; and establishing a self-defined message type to ensure that the requirement of the server side project is consistent with that of the client side project, and performing self-defined message communication when a certain function is required so as to meet the requirement of a preset function. In the method, certain software is installed on a server side through an LAN and is distributed to all client sides through a network after being packaged to ensure that software which has the same type as the server side is installed on the client sides, so that the working amount of network managers is reduced, and the management efficiency of the network managers is improved.

Description

In Windows operating system, realize the method for LAN (Local Area Network) program distribution
[technical field]
The present invention relates to a kind of computer program distribution method, specifically refer to a kind of method that realizes LAN computer program distribution in Windows operating system.
[background technology]
LAN (Local Area Network) (Local Area Network, LAN) refers in a certain region the calculating unit by many interconnected one-tenth of computing machine.Generally in several kms of circumference.The functions such as LAN (Local Area Network) can realize that file management, application software are shared, schedule, Email and facsimile service service in sharing printer, working group.LAN (Local Area Network) is case type, can be made up of two computing machines in office, also can be made up of thousands of computing machines in a company.
As the network manager of LAN (Local Area Network), in the time of the software of installing in machine room, traditional method is to be shared one by one and installed by network, for large-scale LAN (Local Area Network), is a great engineering, not only takes time but also easily make mistakes.Therefore all wish in the industry the installation method that a kind of efficiency is high and be not easy to make mistakes.
[summary of the invention]
The technical problem to be solved in the present invention, be to provide a kind of method that realizes LAN (Local Area Network) program distribution in Windows operating system, utilize LAN (Local Area Network) to realize one, in service end, some software has been installed, after packing by net distribution on each client, client just installs the software similar with server, these reduce workload, to use fully the facility of network.
The present invention is achieved in that a kind of method that realizes LAN (Local Area Network) program distribution in Windows operating system, it is characterized in that: comprise the steps:
Step 10, first create projects group, in projects group, create service end engineering and client engineering;
Step 20, then in service end engineering and client engineering, found forms class:
In service end engineering: in code initialization window procedure, read historical listed customer terminals, arrange simultaneously; Then UDP PORT COM is set, obtains the IP address of the machine; Obtain again the broadcast address of current LAN (Local Area Network), reach the standard grade and notify and require client to respond to client transmission service end;
In client engineering: in code initialization window procedure, UDP PORT COM is set, obtains the IP address of the machine; Obtain the broadcast address of current LAN (Local Area Network); send client reach the standard grade notice and the essential information of some clients to service end; not display position on taskbar of engineering is set, and the attribute that Application.ShowMainForm is set makes engineering not show in task manager, do not show;
Step 30, in service end engineering, creation procedure distribution packing, send forms class: this type of major function is packing, send the packet of the software of required distribution;
And creation procedure distribution receives, decomposes class in client engineering: the packet that this type of major function receives, resolution service end sends;
Step 40, set up self-defining type of message, service end engineering is consistent with client requirement of engineering, in the time that needs carry out certain function, carries out self-defined message communication, to reach the requirement of predetermined function.
Tool of the present invention has the following advantages: utilize LAN (Local Area Network) to realize one, in service end, some software has been installed, after packing by net distribution on each client, by service end, multiple clients are carried out to teleprogram distribution function to realize, make client install the software similar with service end, reduce network manager's workload, improved network manager's the efficiency of management.
[brief description of the drawings]
The present invention is further illustrated in conjunction with the embodiments with reference to the accompanying drawings.
Fig. 1 is the inventive method schematic flow sheet.
[embodiment]
Shown in Fig. 1, elaborate the present invention and realize an embodiment of the method for LAN (Local Area Network) program distribution in Windows operating system, specifically comprise the steps:
Step 10, employing Delphi7 develop, and first create projects group, in projects group, create service end engineering and client engineering; What deserves to be explained is, the present embodiment is to adopt Delphi7 to develop, but the invention is not restricted to this, also may develop by other computerese in other embodiments.
Step 20, then in service end engineering and client engineering, found forms class:
In service end engineering: in code initialization window procedure, in OnCreate () function, read historical listed customer terminals, arrange simultaneously; Then UDP PORT COM is set, obtains the IP address of the machine; Obtain again the broadcast address of current LAN (Local Area Network), reach the standard grade and notify and require client to respond to client transmission service end, creation procedure distribution packing, transmission forms class: this type of major function is to pack, send the packet of the software of required distribution;
In client engineering: in code initialization window procedure, in OnCreate () function, UDP PORT COM is set, obtains the IP address of the machine; Obtain the broadcast address of current LAN (Local Area Network); send client reach the standard grade notice and the essential information of some clients to service end; by SetWindowLongs (), not display position on taskbar of engineering is set, the attribute that Application.ShowMainForm is set makes engineering not show in task manager, do not show;
Step 30, in service end engineering, creation procedure distribution packing, send forms classes (TFrm_FModule): this type of major function is packing, send the packet of the software of required distribution; It specifically comprises:
(1) before mounting software, the software object dish of the system disk to system and installation scans, and generation system catalogue file 1, scans system registry, generation system registry information file 1;
(2) carry out required software installation, after all software installs, then carry out the system disk of system and the software object dish of installation scans, generation system catalogue file 2, scans system registry, generation system registry information file 2;
(3) carrying out system catalog file 1 compares with system catalog file 2, the record that upgrades, increase than system catalog file 1 in system catalog file 2 is generated to a new catalogue file, according to new catalogue file, required file (record that upgrades, increases) is compressed, copies and be packaged into a packet afterwards;
(4) carrying out system registry message file 1 contrasts with system registry message file 2, the record of above-mentioned renewal, increase is generated to a new registry file, add to afterwards in the packet of step (3), generate last packet;
(5) after packet generates, last packet in step (4), send to each client.
And creation procedure distribution receives, decomposes class (TExplainModule) in client engineering: the packet that this type of major function receives, resolution service end sends; It specifically comprises:
(1) receive the packet that service end is sent;
(2) after finishing receiving, carry out the disintegration of packet, first decomposite file bag and registry information bag, then each file in file bag according to service end institute installation directory information, copy to respectively in corresponding catalogue;
(3) afterwards the relevant information file in registry information bag, be registered in system registry.
Step 40, set up self-defining type of message, service end engineering is consistent with client requirement of engineering, in the time that needs carry out certain function, carries out self-defined message communication, to reach the requirement of predetermined function.
Wherein self-defining message is as follows:
′#S#ServerInfo′、
′#S#ServerClose′、
′#C#ClientInfo′、
′@E@CloseClient′、
′#S#ProgramDiepenseStar′、
′#S#ProgramDiepenseEnd′;
By above self-defining message, process predetermined separately function;
Described self-defined message comprises: the upper and lower line notice of service end, the upper and lower line notice of client, the distribution of beginning teleprogram, the distribution of end teleprogram;
The communication of this software network is used ICP/IP protocol, has respectively TCP to connect and be connected with UDP in application, and the application scenario that wherein TCP connects is teleprogram distribution, and the application scenario that UDP connects is the presence of safeguarding each client computer, the order of enabling each function;
Although more than described the specific embodiment of the present invention; but being familiar with those skilled in the art is to be understood that; our described specific embodiment is illustrative; instead of for the restriction to scope of the present invention; those of ordinary skill in the art are in equivalent modification and the variation done according to spirit of the present invention, all should be encompassed in the scope that claim of the present invention protects.

Claims (1)

1. a method that realizes LAN (Local Area Network) program distribution in Windows operating system, is characterized in that: comprise the steps:
Step 10, first create projects group, in projects group, create service end engineering and client engineering;
Step 20, then in service end engineering and client engineering, found forms class:
In service end engineering: in code initialization window procedure, read historical listed customer terminals, arrange simultaneously; Then UDP PORT COM is set, obtains the IP address of the machine; Obtain again the broadcast address of current LAN (Local Area Network), reach the standard grade and notify and require client to respond to client transmission service end;
In client engineering: in code initialization window procedure, UDP PORT COM is set, obtains the IP address of the machine; Obtain the broadcast address of current LAN (Local Area Network); send client reach the standard grade notice and the essential information of some clients to service end; not display position on taskbar of engineering is set, and the attribute that Application.ShowMainForm is set makes engineering not show in task manager, do not show;
Step 30, in service end engineering, creation procedure distribution packing, send forms class: this type of major function is packing, send the packet of the software of required distribution;
And creation procedure distribution receives, decomposes class in client engineering: the packet that this type of major function receives, resolution service end sends;
Described creation procedure distribution packing, transmission forms class specifically comprise:
(1) before mounting software, the software object dish of the system disk to system and installation scans, and generation system catalogue file 1, scans system registry, generation system registry information file 1;
(2) carry out required software installation, after all software installs, then carry out the system disk of system and the software object dish of installation scans, generation system catalogue file 2, scans system registry, generation system registry information file 2;
(3) carry out the comparison of system catalog file 1 and system catalog file 2, the new catalogue file of record generation upgrading, increase, according to new catalogue file, required file is compressed, copies and be packaged into a packet afterwards;
(4) carry out the contrast of system registry message file 1 and system registry message file 2, the new registry file of record generation upgrading, increase, add to afterwards in the packet of step (3), generate last packet;
(5) after packet generates, last packet in step (4), send to each client;
It is described that in client engineering, creation procedure is distributed reception, decomposition class further comprises:
(1) receive the packet that service end is sent;
(2) after finishing receiving, carry out the disintegration of packet, first decomposite file bag and registry information bag, then each file in file bag according to service end institute installation directory information, copy to respectively in corresponding catalogue;
(3) afterwards the relevant information file in registry information bag, be registered in system registry;
Step 40, set up self-defining type of message, and make service end engineering consistent with the self-defining classes of messages of client engineering, in the time that needs carry out certain function, carry out self-defined message communication, to reach the requirement of predetermined function.
CN201110207353.5A 2011-07-21 2011-07-21 Method for distributing local area network (LAN) program in Windows operating system Expired - Fee Related CN102360285B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110207353.5A CN102360285B (en) 2011-07-21 2011-07-21 Method for distributing local area network (LAN) program in Windows operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110207353.5A CN102360285B (en) 2011-07-21 2011-07-21 Method for distributing local area network (LAN) program in Windows operating system

Publications (2)

Publication Number Publication Date
CN102360285A CN102360285A (en) 2012-02-22
CN102360285B true CN102360285B (en) 2014-09-03

Family

ID=45585619

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110207353.5A Expired - Fee Related CN102360285B (en) 2011-07-21 2011-07-21 Method for distributing local area network (LAN) program in Windows operating system

Country Status (1)

Country Link
CN (1) CN102360285B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101452402A (en) * 2008-11-28 2009-06-10 珠海金山软件股份有限公司 Software operation system and software operation method
CN101478424A (en) * 2008-12-18 2009-07-08 深圳华为通信技术有限公司 Distribution method, apparatus and system for local area network side equipment software upgrade data
CN101790720A (en) * 2007-08-31 2010-07-28 索尼株式会社 A method of distributing software and a client device having the same

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101790720A (en) * 2007-08-31 2010-07-28 索尼株式会社 A method of distributing software and a client device having the same
CN101452402A (en) * 2008-11-28 2009-06-10 珠海金山软件股份有限公司 Software operation system and software operation method
CN101478424A (en) * 2008-12-18 2009-07-08 深圳华为通信技术有限公司 Distribution method, apparatus and system for local area network side equipment software upgrade data

Also Published As

Publication number Publication date
CN102360285A (en) 2012-02-22

Similar Documents

Publication Publication Date Title
EP3261300B1 (en) Method and device for establishing link between virtual network functions
CN100486200C (en) USB mapping method
US20230114443A1 (en) Configuring service mesh networking resources for dynamically discovered peers or network functions
CN111130901A (en) Device management method, device, communication device and storage medium
CN102932408A (en) Management method and platform of server cluster
JP2012248184A (en) Method for accessing automated system, and system to operate based on the same method
CN103677858A (en) Method, system and device for managing virtual machine software in cloud environment
CN103703724A (en) Resource payment method
CN104348873A (en) Virtual network element automatic loading method and system and virtual machine IP (Internet Protocol) address acquisition method and system
CN103023857A (en) Method and system for remote deployment of information resources
CN103647853A (en) Method for sending ARP message in VxLAN, VTEP and VxLAN controller
WO2021098819A1 (en) Route updating method and user cluster
CN104199723A (en) Camera mapping method based on virtual equipment
CN101635726B (en) Service end of C/S architecture and service executing method and service executing system of client
CN105072118A (en) Login management system and method for call center seat
CN104104720A (en) Server cluster management method and system
CN105245418A (en) Method, device and system for controlling smart home devices
CN102664758A (en) Method for binding and automatically recovering network configuration
CN102968861B (en) Tax copying method
CN103916274A (en) Network element access method and system with multiple concurrent instances
CN103281407B (en) A kind of IP address long-distance management system based on Godson cloud terminal
CN108540408B (en) Openstack-based distributed virtual switch management method and system
CN102360285B (en) Method for distributing local area network (LAN) program in Windows operating system
CN104283910A (en) Resource management system in cloud computation environment
CN103309722A (en) Cloud computation system and application access method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C56 Change in the name or address of the patentee

Owner name: RETURNSTAR INTERACTIVE TECHNOLOGY GROUP CO., LTD.

Free format text: FORMER NAME: FUZHOU RETURNSTAR DIGITAL TECHNOLOGY CO., LTD.

CP01 Change in the name or title of a patent holder

Address after: Cangshan District of Fuzhou City, Fujian province 350000 to build a new town, Jinshan Road No. 618 Garden State Industrial Park Gulou Park Building No. 8

Patentee after: Returnstar Interactive Technology Group Co., Ltd.

Address before: Cangshan District of Fuzhou City, Fujian province 350000 to build a new town, Jinshan Road No. 618 Garden State Industrial Park Gulou Park Building No. 8

Patentee before: Fuzhou Returnstar Digital Technology Co., Ltd.

CP02 Change in the address of a patent holder

Address after: 350000 6, No. 1 Innovation Park, No. 3 east science and technology road, Minhou street, Minhou, Fuzhou.

Patentee after: Returnstar Interactive Technology Group Co., Ltd.

Address before: 350000 Building 8, Gulou garden, Citrus Industrial Park, 618 Jinshan Road, Jianxin Town, Cangshan District, Fuzhou, Fujian, China

Patentee before: Returnstar Interactive Technology Group Co., Ltd.

CP02 Change in the address of a patent holder
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20140903

Termination date: 20200721

CF01 Termination of patent right due to non-payment of annual fee