CN101938470A - Upgrading system and method of client software - Google Patents

Upgrading system and method of client software Download PDF

Info

Publication number
CN101938470A
CN101938470A CN2010102521382A CN201010252138A CN101938470A CN 101938470 A CN101938470 A CN 101938470A CN 2010102521382 A CN2010102521382 A CN 2010102521382A CN 201010252138 A CN201010252138 A CN 201010252138A CN 101938470 A CN101938470 A CN 101938470A
Authority
CN
China
Prior art keywords
server end
client
port
upgrading
control unit
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
CN2010102521382A
Other languages
Chinese (zh)
Other versions
CN101938470B (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.)
Xiamen Shunhe Da Internet Co., Ltd.
Original Assignee
ZHANGZHOU SHUNHEDA SOFTWARE 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 ZHANGZHOU SHUNHEDA SOFTWARE CO Ltd filed Critical ZHANGZHOU SHUNHEDA SOFTWARE CO Ltd
Priority to CN201010252138.2A priority Critical patent/CN101938470B/en
Publication of CN101938470A publication Critical patent/CN101938470A/en
Application granted granted Critical
Publication of CN101938470B publication Critical patent/CN101938470B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses upgrading system and method of client software. The method comprises the following steps that a server end upgrading module is arranged at a server end, a server end upgrading control unit is arranged at the server end upgrading module and designates a port to designate an upgrading file list; files are prepared in modes of data stream and multithreading by the server end upgrading control unit of the server end according to the upgrading file list; a client upgrading module is arranged at a client, a client upgrading control unit is arranged at the client upgrading module and designates a port, and the port is the same with the port designated by the server end; when the client is connected with the server end, a data stream reading and writing thread is established i.e. a relative file can be read and stored into an appointed folder. The invention can ensure absolute consistency of the client software and the server end to ensure that a version of a remote client is automatically upgraded.

Description

The client terminal software updating system and method
Technical field
The invention belongs to technical field of the computer network, relate to a kind of software update system, relate in particular to a kind of client terminal software updating system; Simultaneously, the invention still further relates to a kind of client terminal software updating method.
Background technology
Along with the development of software multi-user and networking, client terminal software updating has become a big problem.Artificial upgrading can not be satisfied the practical application needs, because as long as omit a client, the lighter is that malicious storehouse there is not renewal, and weight person causes data corruption because data algorithm is inconsistent.The client of local area network is upgraded also more or less freely, but just has difficulties to upgrading far away from client all over the world; Even go upgrading by air, also necessarily require the absolute consistent problem of " simultaneously " updating time.
Nowadays also not method realization preferably: no matter be this locality or strange land, go up server end, just detect software version, in case the inconsistent server end file distributing that just allows of version is given client as long as client connects.
Summary of the invention
Technical problem to be solved by this invention is: a kind of client terminal software updating system is provided, can guarantees that client software is definitely consistent with server end.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
A kind of client terminal software updating system, described system comprises:
Server end upgrading module is arranged at server end; Described server end upgrading control module is provided with a TServerSocket, and specifying a port Port, cache size is that the upgrade file tabulation that 1KB, initial line number of passes are 0, named data stream stream reads is update.ini; The TServerSocket of server end according to update.ini each file according to data flow stream mode, be ready to multithreading;
Client upgrading module is arranged at client; Described client upgrading module is provided with a TCIientSocket, and the port Port of its appointment is identical with the port Port of described server end appointment, creates the stream stream thread that reads and writes data; When server end is gone up in the client connection, create the read-write thread, can read associated documents and deposit specified folder in.
A kind of client terminal software updating method, described method comprises the steps:
Step 1, place a TServerSocket at server end, specifying Port, a cache size is that 1KB, initial line number of passes are 0, the upgrade file tabulation of specifying strem to read is update.ini;
Step 2, place a TCIientSocket, specify identical Port, create read-write stream thread in client;
Step 3, server end TServerSocket according to update.ini each file according to the stream mode, be ready to multithreading; When server end is gone up in the client connection, create the read-write thread, can read associated documents and deposit specified folder in;
Step 4, owing to be multithreading, a plurality of clients can normally be upgraded simultaneously; After transmission is normally finished, close client and upgrade alternate file; If transmit unusually, then forced termination client operation.
A kind of client terminal software updating system, described system comprises:
Server end upgrading module is arranged at server end; Described server end upgrading control module is provided with server end upgrading control unit, specifies a port Port, specifies the upgrade file tabulation; The server updating control unit of server end according to the tabulation of described upgrade file each file according to data flow stream mode, be ready to multithreading;
Client upgrading module is arranged at client; Described client upgrading module is provided with client upgrading control unit, and client upgrading control unit is specified a port Port, and this port Port is identical with the port Port of described server end appointment; When server end is gone up in the client connection, create the stream stream thread that reads and writes data, can read associated documents and deposit specified folder in.
A kind of client terminal software updating method, described method comprises the steps:
At server end one server end upgrading module is set, described server end upgrading control module is provided with server end upgrading control unit, and server end upgrading control unit is specified a port Port, specifies the upgrade file tabulation; The server updating control unit of server end according to the tabulation of described upgrade file each file according to data flow stream mode, be ready to multithreading;
In client one client upgrading module is set, described client upgrading module is provided with client upgrading control unit, and client upgrading control unit is specified a port Port, and this port Port is identical with the port Port of described server end appointment; When server end is gone up in the client connection, create the stream stream thread that reads and writes data, can read associated documents and deposit specified folder in.
Beneficial effect of the present invention is: the client terminal software updating system and method that the present invention proposes, can guarantee that client software is definitely consistent with server end, and guarantee that far away strange land client obtains edition upgrading automatically.
Description of drawings
Fig. 1 is the schematic diagram of client terminal software updating of the present invention system.
Fig. 2 is the flow chart of client terminal software updating method of the present invention.
Embodiment
Describe the preferred embodiments of the present invention in detail below in conjunction with accompanying drawing.
Embodiment one
See also Fig. 1, the present invention has disclosed a kind of client terminal software updating system, and described system comprises server end upgrading module, client upgrading module.
Server end upgrading module is arranged at server end; Described server end upgrading control module is provided with server end upgrading control unit, specifies a port Port, specifies the upgrade file tabulation; The server updating control unit of server end according to the tabulation of described upgrade file each file according to data flow stream mode, be ready to multithreading.
Client upgrading module is arranged at client; Described client upgrading module is provided with client upgrading control unit, and client upgrading control unit is specified a port Port, and this port Port is identical with the port Port of described server end appointment; When server end is gone up in the client connection, create the stream stream thread that reads and writes data, can read associated documents and deposit specified folder in.
More than introduced client terminal software updating of the present invention system, the present invention also discloses a kind of client terminal software updating method when disclosing said system, and described method comprises the steps:
Steps A, at server end one server end upgrading module is set, described server end upgrading control module is provided with server end upgrading control unit, and server end upgrading control unit is specified a port Port, specifies the upgrade file tabulation; The server updating control unit of server end according to the tabulation of described upgrade file each file according to data flow stream mode, be ready to multithreading.
Step B, in client one client upgrading module is set, described client upgrading module is provided with client upgrading control unit, and client upgrading control unit is specified a port Port, and this port Port is identical with the port Port of described server end appointment; When server end is gone up in the client connection, create the stream stream thread that reads and writes data, can read associated documents and deposit specified folder in.
In sum, the client terminal software updating system and method that the present invention proposes can guarantee that client software is definitely consistent with server end, guarantees that far away strange land client obtains edition upgrading automatically.
Embodiment two
Present embodiment discloses a kind of client terminal software updating system, and described system comprises: server end upgrading module, client upgrading module.
Server end upgrading module is arranged at server end; Described server end upgrading control module is provided with a TServerSocket, and specifying a port Port, cache size is that the upgrade file tabulation that 1KB, initial line number of passes are 0, named data stream stream reads is update.ini; The TServerSocket of server end according to update.ini each file according to data flow stream mode, be ready to multithreading;
Client upgrading module is arranged at client; Described client upgrading module is provided with a TCIientSocket, and the port Port of its appointment is identical with the port Port of described server end appointment, creates the stream stream thread that reads and writes data; When server end is gone up in the client connection, create the read-write thread, can read associated documents and deposit specified folder in.
Present embodiment discloses the upgrade method of said system simultaneously, sees also Fig. 2, and described upgrade method comprises the steps:
Step 1, place a TServerSocket at server end, specifying Port, a cache size is that 1KB, initial line number of passes are 0, the upgrade file tabulation of specifying strem to read is update.ini.
Step 2, place a TCIientSocket, specify identical Port, create read-write stream thread in client.
Step 3, server end TServerSocket according to update.ini each file according to the stream mode, be ready to multithreading.When server end is gone up in the client connection, create the read-write thread, can read associated documents and deposit specified folder in.
Step 4, owing to be multithreading, a plurality of clients can normally be upgraded simultaneously.After transmission is normally finished, close client and upgrade alternate file; If transmit unusually, then forced termination client operation.
Here description of the invention and application is illustrative, is not to want with scope restriction of the present invention in the above-described embodiments.Here the distortion of disclosed embodiment and change are possible, and the various parts of the replacement of embodiment and equivalence are known for those those of ordinary skill in the art.Those skilled in the art are noted that under the situation that does not break away from spirit of the present invention or substantive characteristics, and the present invention can be with other form, structure, layout, ratio, and realize with other assembly, material and parts.Under the situation that does not break away from the scope of the invention and spirit, can carry out other distortion and change here to disclosed embodiment.

Claims (4)

1. a client terminal software updating system is characterized in that, described system comprises:
Server end upgrading module is arranged at server end; Described server end upgrading control module is provided with a TServerSocket, and specifying a port Port, cache size is that the upgrade file tabulation that 1KB, initial line number of passes are 0, named data stream stream reads is update.ini; The TServerSocket of server end according to update.ini each file according to data flow stream mode, be ready to multithreading;
Client upgrading module is arranged at client; Described client upgrading module is provided with a TCIientSocket, and the port Port of its appointment is identical with the port Port of described server end appointment, creates the stream stream thread that reads and writes data; When server end is gone up in the client connection, create the read-write thread, can read associated documents and deposit specified folder in.
2. a client terminal software updating method is characterized in that, described method comprises the steps:
Step 1, place a TServerSocket at server end, specifying Port, a cache size is that 1KB, initial line number of passes are 0, the upgrade file tabulation of specifying strem to read is update.ini;
Step 2, place a TCIientSocket, specify identical Port, create read-write stream thread in client;
Step 3, server end TServerSocket according to update.ini each file according to the stream mode, be ready to multithreading; When server end is gone up in the client connection, create the read-write thread, can read associated documents and deposit specified folder in;
Step 4, owing to be multithreading, a plurality of clients can normally be upgraded simultaneously; After transmission is normally finished, close client and upgrade alternate file; If transmit unusually, then forced termination client operation.
3. a client terminal software updating system is characterized in that, described system comprises:
Server end upgrading module is arranged at server end; Described server end upgrading control module is provided with server end upgrading control unit, specifies a port Port, specifies the upgrade file tabulation; The server updating control unit of server end according to the tabulation of described upgrade file each file according to data flow stream mode, be ready to multithreading;
Client upgrading module is arranged at client; Described client upgrading module is provided with client upgrading control unit, and client upgrading control unit is specified a port Port, and this port Port is identical with the port Port of described server end appointment; When server end is gone up in the client connection, create the stream stream thread that reads and writes data, can read associated documents and deposit specified folder in.
4. a client terminal software updating method is characterized in that, described method comprises the steps:
At server end one server end upgrading module is set, described server end upgrading control module is provided with server end upgrading control unit, and server end upgrading control unit is specified a port Port, specifies the upgrade file tabulation; The server updating control unit of server end according to the tabulation of described upgrade file each file according to data flow stream mode, be ready to multithreading;
In client one client upgrading module is set, described client upgrading module is provided with client upgrading control unit, and client upgrading control unit is specified a port Port, and this port Port is identical with the port Port of described server end appointment; When server end is gone up in the client connection, create the stream stream thread that reads and writes data, can read associated documents and deposit specified folder in.
CN201010252138.2A 2010-08-12 2010-08-12 Client terminal software updating system and method Expired - Fee Related CN101938470B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201010252138.2A CN101938470B (en) 2010-08-12 2010-08-12 Client terminal software updating system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010252138.2A CN101938470B (en) 2010-08-12 2010-08-12 Client terminal software updating system and method

Publications (2)

Publication Number Publication Date
CN101938470A true CN101938470A (en) 2011-01-05
CN101938470B CN101938470B (en) 2015-08-26

Family

ID=43391601

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010252138.2A Expired - Fee Related CN101938470B (en) 2010-08-12 2010-08-12 Client terminal software updating system and method

Country Status (1)

Country Link
CN (1) CN101938470B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105938434A (en) * 2016-03-24 2016-09-14 杭州迪普科技有限公司 Method and device for upgrading operation system
CN109104469A (en) * 2018-07-25 2018-12-28 山东浪潮商用系统有限公司 A kind of Universal Remote upgrade-system and method
CN109766131A (en) * 2017-11-06 2019-05-17 上海宝信软件股份有限公司 The system and method for the intelligent automatic upgrading of software is realized based on multithreading
CN109828768A (en) * 2018-12-21 2019-05-31 福建新大陆支付技术有限公司 A kind of management method and system of software patch
CN111782236A (en) * 2020-05-11 2020-10-16 广州朗国电子科技有限公司 System software upgrading method and device, storage medium and all-in-one machine equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1661557A (en) * 2004-02-27 2005-08-31 联想(北京)有限公司 Method for upgrading data
CN101042651A (en) * 2006-03-22 2007-09-26 华为技术有限公司 Software updating method and system thereof
CN101222367A (en) * 2008-01-28 2008-07-16 中兴通讯股份有限公司 Method and network guard system used for cluster network element updating version file
CN101727338A (en) * 2008-08-15 2010-06-09 北京北大众志微系统科技有限责任公司 Parallel upgrade method and application system for network computer

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1661557A (en) * 2004-02-27 2005-08-31 联想(北京)有限公司 Method for upgrading data
CN101042651A (en) * 2006-03-22 2007-09-26 华为技术有限公司 Software updating method and system thereof
CN101222367A (en) * 2008-01-28 2008-07-16 中兴通讯股份有限公司 Method and network guard system used for cluster network element updating version file
CN101727338A (en) * 2008-08-15 2010-06-09 北京北大众志微系统科技有限责任公司 Parallel upgrade method and application system for network computer

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105938434A (en) * 2016-03-24 2016-09-14 杭州迪普科技有限公司 Method and device for upgrading operation system
CN109766131A (en) * 2017-11-06 2019-05-17 上海宝信软件股份有限公司 The system and method for the intelligent automatic upgrading of software is realized based on multithreading
CN109766131B (en) * 2017-11-06 2022-04-01 上海宝信软件股份有限公司 System and method for realizing intelligent automatic software upgrading based on multithreading technology
CN109104469A (en) * 2018-07-25 2018-12-28 山东浪潮商用系统有限公司 A kind of Universal Remote upgrade-system and method
CN109828768A (en) * 2018-12-21 2019-05-31 福建新大陆支付技术有限公司 A kind of management method and system of software patch
CN111782236A (en) * 2020-05-11 2020-10-16 广州朗国电子科技有限公司 System software upgrading method and device, storage medium and all-in-one machine equipment

Also Published As

Publication number Publication date
CN101938470B (en) 2015-08-26

Similar Documents

Publication Publication Date Title
US20200084263A1 (en) A method of micro-service transformation for power trading functions
CN102999584B (en) The cross-platform spatial data services method and system of electric power GIS
CN101938470A (en) Upgrading system and method of client software
CN104142847B (en) Stateless virtual machine and its application under cloud computing environment
CN102904947B (en) Applications client shows the method and system of pattern update and/or expansion of content
CN104967552A (en) Message push method and apparatus
CN106030540B (en) Data in magnetic disk conveyer system
CN102843436A (en) Method, equipment, server and system of equipment management
CN103051469A (en) Centralized configuration management method under cloud environment
CN104778175A (en) Method and system for realizing data synchronization of heterogeneous database
US20150227605A1 (en) Information processing terminal, synchronization control method, and computer-readable recording medium
CN104539685A (en) USB disk identifying system and method for OpenStack cloud desktop
CN107153560A (en) Version upgrading method, server and system
CN103034722A (en) Network video comment gathering device and network video comment gathering method
CN106095923A (en) A kind of method and system adding data of being on the list in orderly list
CN100535863C (en) Method and apparatus for realizing configuring affair
CN104915242A (en) Multidisciplinary co-simulation architectural method
CN109508319A (en) A kind of cross-platform resource management system of 3D and method
CN106250571A (en) The method and system that a kind of ETL data process
CN102495730A (en) Dynamic and extendable web interface method
CN103246521A (en) SaaS (Software as a Service) platform based on cloud computing and use method of platform
CN103412780A (en) System, device and method for upgrading distributed file system
CN106708568A (en) Method and apparatus for paged loading of client contents
CN104268097B (en) A kind of metadata processing method and system
CN104581421A (en) Point-to-point flow media download method and node terminal device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 361008 Fujian province Xiamen software park two sunrise Road No. 22 Room 102, unit F17

Applicant after: Xiamen Shunheda Software Co., Ltd.

Address before: 4, building 363200, Zhangpu science and technology building, Zhangzhou, Fujian

Applicant before: Zhangzhou Shunheda Software Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: ZHANGZHOU CITY SHUNHEDA SOFTWARE CO., LTD. TO: XIAMEN SHUNHEDA SOFTWARE CO., LTD.

C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20190313

Address after: 361008 Area 18, Unit 303, No. 32 Guanri Road, Second Phase of Xiamen Software Park, Fujian Province

Patentee after: Xiamen Shunhe Da Internet Co., Ltd.

Address before: Unit F17, Room 102, 22 Guanri Road, Phase II, Xiamen Software Park, Fujian Province

Patentee before: Xiamen Shunheda Software Co., Ltd.

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

Granted publication date: 20150826

Termination date: 20200812