CN102236562A - Method for updating files in computer - Google Patents
Method for updating files in computer Download PDFInfo
- Publication number
- CN102236562A CN102236562A CN2010101587772A CN201010158777A CN102236562A CN 102236562 A CN102236562 A CN 102236562A CN 2010101587772 A CN2010101587772 A CN 2010101587772A CN 201010158777 A CN201010158777 A CN 201010158777A CN 102236562 A CN102236562 A CN 102236562A
- Authority
- CN
- China
- Prior art keywords
- file
- updating
- renewal
- client
- service end
- 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.)
- Pending
Links
Images
Abstract
The invention discloses a method for updating files in a computer. The method is applicable to a production line of the computer. By the method, a server side transmits the files to a plurality of client sides by an intranet. The method comprises the following steps that: the client sides transmit updating requirements to the server side; the server side analyzes updated files which correspond to the updating requirements according to the updating requirements to generate an updating list and a plurality of updating blocks, and returns the updating list to the client sides; the server side transmits the updating blocks to the client sides by a network multicast protocol; the client sides write the received updating blocks into corresponding addresses in target files according to the serial numbers of the updating blocks; and the client sides repeatedly carry out the step of receiving the updating blocks until the updating blocks of all target files are received successfully by the client sides.
Description
Technical field
The present invention relates to a kind of update method of computer documents, particularly a kind of update method of file of computing machine.
Background technology
Present personal computer (for example mobile computer) production firm; usually operating system (Operation System) can before dispatching from the factory, personal computer just be housed in advance; the Windows of Microsoft (Microsoft Windows System) for example; because the data volume of this type operating system is huge and during mounting cost; so can utilize image file (image file) reduction technique the personal computer that will dispatch from the factory to be carried out the pre-installation (pre-installation) of operating system and/or other application program usually; reaching the purpose of rapid installing operating system, and then improve Production Line usefulness.
The generating mode of existing image file please refer to shown in Figure 1ly, and it is to be that existing image file generates synoptic diagram.Reading the relevant information (step S110) of the storage device (referreding to herein as in the personal computer Winchester disk drive) of source end, wherein for example number of sectors, document location, and the quantity of documents etc. of storage device of relevant information in order to installing operating system and/or other application program.Carry out image file according to the relevant information of storage device again and handle (step S120), with above-mentioned relevant information the file in the storage device compress handle and will compress after file discharge again.
Though prior art can reach the purpose of Fast Installation or update calculation machine, be not only to provide generally with a image file producing online.Particularly, upstream manufacturer is often for asking timeliness, can send the different editions updating file or corresponding patch file (patch) is given downstream manufacturers according to current development progress.Patch file is for software vendor is leak or the disappearance that modification is found, the correction file of being released.Downstream manufacturers can only be made new image file again with updating file and original image file.Thus, the consume human resources that downstream manufacturers will be a large amount of are in the making of carrying out new image file.
Summary of the invention
In view of above problem, fundamental purpose of the present invention is to provide a kind of update method of file of computing machine, and the production that is applied to computing machine is online, makes service end by internal network updating file is sent to a plurality of clients.
For achieving the above object, the update method of the file of the disclosed computing machine of the present invention may further comprise the steps: send more new demand by client to service end; Service end is resolved the corresponding updating file of more new demand institute according to more new demand, upgrades tabulation and a plurality of renewal pieces in order to produce, and will upgrade to tabulate and reply to client; Service end sends these a plurality of renewal pieces to client by the network multicast agreement; Client is according to the serial numbering of these a plurality of renewal pieces, and received renewal piece is write corresponding address in the file destination; Client repeats to receive the step of upgrading piece, is all finished receiving by client until these a plurality of renewal pieces of all file destinations.
Wherein, producing the step of upgrading piece in service end comprises in addition: resolve pre-installation directory and at least one operation file from updating file; Pre-installation directory is recorded in the renewal tabulation; According to the piece capacity each operation file is cut, in order to produce corresponding renewal piece.
The update method of the file of computing machine provided by the present invention is by multicast transmission, can effectively reduce computing machine spent manpower and time when upgrading, and then promotes and produce online operation usefulness.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
Fig. 1 generates synoptic diagram for existing image file;
Fig. 2 is a configuration diagram of the present invention;
Fig. 3 is an operation workflow synoptic diagram of the present invention;
Fig. 4 is that service end of the present invention produces the operation workflow synoptic diagram that upgrades piece;
Fig. 5 is the synoptic diagram of pre-installation directory of the present invention and operation file.
Wherein, Reference numeral
Service end 210
Client 220
Pre-installation directory 510
Operation file 520
Embodiment
Below in conjunction with accompanying drawing structural principle of the present invention and principle of work are done concrete description:
Please refer to shown in Figure 2ly, it is to be configuration diagram of the present invention.The file that the present invention is applied to the production line of computing machine upgrades processing.Comprise in the present invention: service end 210 and a plurality of clients 220.Service end 210 stores many different updating files.Updating file can be any file, for example but be not defined as patch file (patch), driver (driver) or configuration file (configure).Service end 210 is connected in each client 220 by internal network (intranet).Client 220 can be personal computer or mobile computer.
Please refer to shown in Figure 3ly, it is to be operation workflow synoptic diagram of the present invention.The update method of the file of computing machine of the present invention may further comprise the steps:
Step S310: send more new demand to service end by client;
Step S320: service end is resolved the corresponding updating file of more new demand institute according to more new demand, upgrades tabulation and a plurality of renewal pieces in order to produce, and will upgrade to tabulate and reply to client;
Step S330: service end sends these a plurality of renewal pieces to client by the network multicast agreement;
Step S340: client is according to the serial numbering of these a plurality of renewal pieces, and received renewal piece is write correspondence position in the file destination; And
Step S350: client repeats to receive the step of upgrading piece, is all finished receiving by client until the renewal piece of all file destinations.
At first, client 220 sends the more new demand of down loading updating file to service end 210.Service end 210 is after obtaining more new demand, and service end 210 is resolved the content of client 220 desired updating files.Wherein, the content of updating file comprises respectively: pre-installation directory and at least one operation file.Please refer to shown in Figure 4ly, it is the operation workflow figure that produce to upgrade piece for service end:
Step S321: resolve pre-installation directory and at least one operation file from updating file;
Step S322: pre-installation directory is recorded in the renewal tabulation; And
Step S323: according to the piece capacity each operation file is cut, upgrade piece in order to produce.
Because client 220 need be known the operating environment of updating file when operation when installing, so service end 210 can be resolved the pre-installation directory of updating file and the quantity of operation file in advance.Service end 210 writes the position of pre-installation directory in the renewal tabulation.Service end 210 can be come processing that operation file is cut according to the piece capacity.For clearly demonstrating the cutting process of upgrading piece, following example as an illustration.Please cooperate shown in Figure 5ly, it is the synoptic diagram for pre-installation directory and operation file.
Suppose in pre-installation directory 510, to comprise n operation file 520, and the file size of each operation file 520 differs.Service end 210 is at first according to the piece amount of capacity of setting (being assumed to be 10MB at this).Service end 210 is resolved the quantity of the renewal piece (not illustrating) that each operation file 520 will comprise one by one.And upgrade the piece record shift quantity, side-play amount is arranged in the address of this updating file in order to point out this renewal piece.Service end 210 can be in order then, with the number record of the renewal piece of the numbering of the initial renewal piece of each operation file 520 and end to upgrading in the tabulation.The renewal number of blocks that can learn first operation file from Fig. 5 is 1,20 of the renewal numbers of blocks of second operation file, and the renewal number of blocks of n operation file is 7.The all renewal piece of service end 210 number does not repeat.At last, service end 210 to upgrading tabulation, and will be upgraded the record of the numbering of the renewal piece of the initial end of all operations file 520 to tabulate and pass to client 220.When client 220 receives the renewal piece, service end 210 will be numbered s and be compared with the data of upgrading in tabulating for upgrading piece.
Service end 210 can send the renewal piece to client 220 by the network multicast agreement.Multicast (multicast) agreement is a kind ofly to allow one or more senders to send single data packet to a plurality of recipients' network technology.Network multicast protocol data package typically uses User Datagram Protocol (UserDatagram Protocol is hereinafter to be referred as UDP), and UDP is a kind of insecure data packet transmission agreement.Transmit the omission that can cause data packet under the congested situation in network package.Therefore just need reissue the data packet of omitting.
When upgrading piece s is the initial renewal piece (i.startblock) of the operation file 520 of i more than or equal to label, and during smaller or equal to the renewal piece (i.endblock) of the end of operation file 520i, just can think that upgrading piece s is the part of operation file 520i, and, calculate the skew of renewal piece in operation file 520i and be (s-i.startblock) * b further according to upgrading piece s.
The update method of the file of computing machine provided by the present invention is by multicast transmission, can effectively reduce computing machine spent manpower and time when upgrading, and then promotes and produce online operation usefulness.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection domain of the appended claim of the present invention.
Claims (4)
1. the update method of the file of a computing machine, the production that is applied to computing machine is online, makes a service end by internal network one updating file is sent to a plurality of clients, it is characterized in that the update method of the file of this computing machine may further comprise the steps:
Send a more new demand by this client to this service end;
This service end is according to this more new demand, resolves this corresponding this updating file of more new demand institute, upgrades tabulation and a plurality of renewal pieces in order to produce one, and should upgrade to tabulate and reply to this client;
This service end sends these a plurality of renewal pieces to this client by a network multicast agreement;
This client is according to a serial numbering of these a plurality of renewal pieces, and this received renewal piece is write corresponding address in the file destination; And
This client repeats to receive the step of this renewal piece, is all finished receiving by this client until these a plurality of renewal pieces of all these file destinations.
2. the update method of the file of computing machine according to claim 1 is characterized in that, this updating file is updating file, driver or configuration file.
3. the update method of the file of computing machine according to claim 1 is characterized in that, this renewal piece has a side-play amount, is arranged in the address of this updating file in order to point out this renewal piece.
4. the update method of the file of computing machine according to claim 1 is characterized in that, the step that this service end produces these a plurality of renewal pieces also comprises:
Resolve a pre-installation directory and an at least one operation file from this updating file;
Should be recorded in this renewal tabulation by pre-installation directory; And
According to a capacity each this operation file is cut, in order to produce these a plurality of renewal pieces.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101587772A CN102236562A (en) | 2010-04-23 | 2010-04-23 | Method for updating files in computer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101587772A CN102236562A (en) | 2010-04-23 | 2010-04-23 | Method for updating files in computer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102236562A true CN102236562A (en) | 2011-11-09 |
Family
ID=44887236
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010101587772A Pending CN102236562A (en) | 2010-04-23 | 2010-04-23 | Method for updating files in computer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102236562A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103257866A (en) * | 2012-02-20 | 2013-08-21 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and application program management method |
TWI490689B (en) * | 2013-05-17 | 2015-07-01 | 英業達股份有限公司 | System for updating test command and method thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1374589A (en) * | 2001-03-14 | 2002-10-16 | 开碁数位科技股份有限公司 | Modular system and method of updating application software in execution |
US20070226269A1 (en) * | 2006-03-24 | 2007-09-27 | International Business Machines Corporation | Method and system for an update synchronization of a domain information file |
CN101400167A (en) * | 2008-10-21 | 2009-04-01 | 北京闪联互动网络科技有限责任公司 | Dynamic menu implementing method, apparatus and system for mobile terminal |
-
2010
- 2010-04-23 CN CN2010101587772A patent/CN102236562A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1374589A (en) * | 2001-03-14 | 2002-10-16 | 开碁数位科技股份有限公司 | Modular system and method of updating application software in execution |
US20070226269A1 (en) * | 2006-03-24 | 2007-09-27 | International Business Machines Corporation | Method and system for an update synchronization of a domain information file |
CN101400167A (en) * | 2008-10-21 | 2009-04-01 | 北京闪联互动网络科技有限责任公司 | Dynamic menu implementing method, apparatus and system for mobile terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103257866A (en) * | 2012-02-20 | 2013-08-21 | 宇龙计算机通信科技(深圳)有限公司 | Mobile terminal and application program management method |
TWI490689B (en) * | 2013-05-17 | 2015-07-01 | 英業達股份有限公司 | System for updating test command and method thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102129378B (en) | A kind of software menu updating method and device | |
US10348861B2 (en) | Software upgrade method and terminal | |
CN107203395A (en) | Resource graded method, device and computer-readable recording medium and electronic equipment | |
US20140250158A1 (en) | Method and device for obtaining file | |
CN102510357A (en) | Synchronous method of enterprise organization structure address book and system thereof | |
CN102932777A (en) | Method for updating terminal application and user terminal | |
CN104199706A (en) | Firmware upgrade method and device for eMMC | |
CN104298526A (en) | Software updating method and device | |
US20090210871A1 (en) | System and method for software application migration | |
CN103885426A (en) | Control method of equipment, client side, server, intermediate equipment and controlled equipment | |
CN110377314B (en) | System upgrading method, device, equipment and medium for distributed storage system | |
CN106569863B (en) | Resource and code modularization-based android app resource updating and repairing method | |
CN110543301A (en) | Method and device for generating jenkins code file | |
US20160183082A1 (en) | Information processing device, server device, data communication system, data communication method, and computer-readable storage medium storing data communication program | |
CN111459524A (en) | Software upgrading method, device and system | |
CN102236562A (en) | Method for updating files in computer | |
CN104202471A (en) | Firmware upgrade processing method and system based on mobile terminal and mobile terminal | |
CN104639973A (en) | Information pushing method and device | |
CN103793240A (en) | Interface scanning method, interface scanning device and corresponding plug-in updating method | |
CN105027079A (en) | Object life cycle management in a publish-subscribe environment | |
CN102130927B (en) | Update method, the Apparatus and system of session window in instant communication software | |
US8775541B2 (en) | Mail manufacturing virtualization | |
CN104077126B (en) | Audio/video processing unit for automobile | |
CN106843952B (en) | Method and device for updating function module in application | |
CN112667255A (en) | Updating method, updating device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20111109 |
|
WD01 | Invention patent application deemed withdrawn after publication |