CN103731412A - Client side online updating method - Google Patents

Client side online updating method Download PDF

Info

Publication number
CN103731412A
CN103731412A CN201310577060.5A CN201310577060A CN103731412A CN 103731412 A CN103731412 A CN 103731412A CN 201310577060 A CN201310577060 A CN 201310577060A CN 103731412 A CN103731412 A CN 103731412A
Authority
CN
China
Prior art keywords
described multiple
code
updated
client
multiple 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.)
Pending
Application number
CN201310577060.5A
Other languages
Chinese (zh)
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.)
GUANGZHOU BAIYUN BIO-TECH Co Ltd
Original Assignee
GUANGZHOU BAIYUN BIO-TECH 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 GUANGZHOU BAIYUN BIO-TECH Co Ltd filed Critical GUANGZHOU BAIYUN BIO-TECH Co Ltd
Priority to CN201310577060.5A priority Critical patent/CN103731412A/en
Publication of CN103731412A publication Critical patent/CN103731412A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a client side online updating method and device. A plurality of servers execute code updating operations through online updating functions, and after a plurality of client sides log in a system, the servers send codes to be updated to the client sides so that the client sides can interpret and execute the codes to be updated through engines to complete the updating operations after the client sides receive the codes to be updated. The problem that a traditional offline updating mode is low in updating efficiency in the prior art is solved, and user experience is improved.

Description

A kind of method of client online updating
Technical field
The present invention relates to field of computer technology, relate in particular to a kind of method of client online updating.
Background technology
Online game refers to that people pass through a kind of entertainment way of the means of communication participation games on-line such as the Internet or mobile Internet.Due to by conveniently communication modes of modern times, make online game popularization, hold all and be easy to, rapidly.In all parts of the country and even people all over the world only need to just can enjoy by communication terminal or on hand the enjoyment of common participation game at one's side.
Online game, due to its convenience, popularity, becomes rapidly the pillar industry in Internet culture market, not only exceedes traditional culture industry, and is increasing with quickish speed.Therefore how better to player, providing internet game service is one of important need of current information technical development with prosperity Internet culture market.
Traditional online game is when there is BUG or the instant optimization of needs in client; when server and client side need to upgrade its run time version; normally off-line carries out more fresh code operation; therefore conventionally can put up in advance bulletin reminds player to roll off the production line in time; traditional off-line update mode is upgraded slow; player can enter game after need to waiting to be updated completing again, has a strong impact on user and experiences.
Summary of the invention
The object of the invention is to overcome weak point of the prior art, a kind of square law device of client online updating is provided, solved traditional off-line update mode in prior art and upgraded inefficient problem, improved user's experience.
The embodiment of the present invention provides a kind of method of client online updating, comprising:
Multiple servers are carried out more fresh code operation by online updating function;
Described multiple client is by after described multiple server log-in systems, and described multiple servers are sent to described multiple client by code to be updated;
Described multiple client, after described code to be updated, is explained and is carried out described code to be updated by described engine, completes and upgrades operation.
The embodiment of the present invention provides a kind of device of client online updating, comprising:
Code update unit, for carrying out more fresh code operation by online updating function;
Transmitting element, for passing through after described multiple server log-in systems in described multiple clients, described multiple server is sent to described multiple client by code to be updated, so that described multiple client is after described code to be updated, by described engine, explain and carry out described code to be updated, complete and upgrade operation.
The method providing by the embodiment of the present invention and device, multiple servers are carried out more fresh code operation by online updating function, after described multiple client login systems, described multiple server is sent to described multiple client by code to be updated, so that multiple clients are after described code to be updated, by described engine, explain and carry out described code to be updated, complete and upgrade operation.Solve traditional off-line update mode in prior art and upgraded inefficient problem, improved user's experience.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme of the embodiment of the present invention, below the accompanying drawing of required use during embodiment is described is briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the method flow diagram of the embodiment of the present invention one;
Fig. 2 is the installation composition figure of the embodiment of the present invention two.
Embodiment
For making object, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, the every other embodiment that those of ordinary skills obtain under the prerequisite of not making creative work, belongs to the scope of protection of the invention.
Embodiment mono-
Fig. 1 is the method flow diagram of the embodiment of the present invention one, and as shown in Figure 1, the method comprises:
S101. many servers are carried out more fresh code operation by online updating function;
Described multiple server is carried out more fresh code operation by online updating function, is specially: described multiple servers load described code to be updated by built-in interpreter, carry out code to be updated.For example, the built-in Python interpreter of the game engine of server, programmer inputs to server by code to be updated, and server loads and carries out this code to be updated by this interpreter to fresh code more.
S102. described multiple client is by after described multiple server log-in systems, and described multiple servers are sent to described multiple client by code to be updated;
Multiple accessing server by customer end, or server is when upgrading operation, multiple servers are sent to the plurality of client by code to be updated, be specially: multiple servers create and upgrade code interface, by the protocol number and the multiple client that pre-set, complete handshake operation, and send this code to be updated to the plurality of client by file transfer protocol (FTP) FTP mode.Wherein, multiple servers complete handshake operation by the protocol number and the multiple client that pre-set, are specially: multiple servers are sent to multiple clients by the protocol number pre-seting; Multiple clients are received after the protocol number pre-seting, and send response message to the plurality of server, so that the plurality of server and the plurality of client connect, complete handshake operation.
S103. described multiple client, after described code to be updated, is explained and is carried out described code to be updated by described engine, completes and upgrades operation.
Multiple clients are receiving after code to be updated, give engine and explain execution, and its interpreter can be identical with the interpreter of server, for example python interpreter, and interpreter receives this code to be updated and carries out, and its process is existing process, is not repeated here.
The embodiment of the present invention does not need user's off-line, and in the unware situation of user, heat is upgraded, thereby can repair code error.
Embodiment bis-
Fig. 2 is the installation composition figure of the embodiment of the present invention two, and as shown in Figure 2, this device comprises:
Code update unit 201, for carrying out more fresh code operation by online updating function;
More fresh code operation is carried out by online updating function in code update unit 201, is specially: code update unit 201 loads code to be updated by built-in interpreter, carries out code to be updated.
Transmitting element 202, for passing through after described multiple server log-in systems in described multiple clients, described multiple server is sent to described multiple client by code to be updated, so that described multiple client is after described code to be updated, by described engine, explain and carry out described code to be updated, complete and upgrade operation.
Wherein, transmitting element 202 is sent to multiple clients by code to be updated, be specially: transmitting element 202 creates and upgrades code interface, by the protocol number and the multiple client that pre-set, complete handshake operation, and by file transfer protocol (FTP) FTP mode send code to be updated to multiple clients wherein, transmitting element 202 completes handshake operation by the protocol number and the multiple client that pre-set, is specially: transmitting element 202 is sent to multiple clients by the protocol number pre-seting; Transmitting element 202 is received after the protocol number pre-seting, and sends response message to multiple servers, so that multiple server and multiple client connect, completes handshake operation.
One of ordinary skill in the art will appreciate that: accompanying drawing is the schematic diagram of an embodiment, the unit in accompanying drawing or flow process might not be that enforcement the present invention is necessary.
In the several embodiment that provide in the application, should be understood that, disclosed system, equipment and method, can realize by another way.For example, apparatus embodiments described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, during actual realization, can have other dividing mode, for example multiple unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, the indirect coupling of equipment or unit or communication connection can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in multiple network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, the each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that also can adopt hardware to add SFU software functional unit realizes.
The integrated unit that the above-mentioned form with SFU software functional unit realizes, can be stored in a computer read/write memory medium.Above-mentioned SFU software functional unit is stored in a storage medium, comprise that some instructions (can be personal computers in order to make a computer equipment, server, or the network equipment etc.) carry out the part steps of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (Read-Only Memory, be called for short ROM), the various media that can be program code stored such as random access memory (Random Access Memory, be called for short RAM), magnetic disc or CD.
Finally it should be noted that: above embodiment only, in order to technical scheme of the present invention to be described, is not intended to limit; Although the present invention is had been described in detail with reference to previous embodiment, those of ordinary skill in the art is to be understood that: its technical scheme that still can record aforementioned each embodiment is modified, or part technical characterictic is wherein equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (8)

1. a method for client online updating, is characterized in that, comprising:
Multiple servers are carried out more fresh code operation by online updating function;
Described multiple client is by after described multiple server log-in systems, and described multiple servers are sent to described multiple client by code to be updated;
Described multiple client, after described code to be updated, is explained and is carried out described code to be updated by described engine, completes and upgrades operation.
2. method according to claim 1, is characterized in that, described multiple servers are carried out more fresh code operation by online updating function, comprising:
Described multiple server loads described code to be updated by built-in interpreter, carries out code to be updated.
3. method according to claim 1, is characterized in that, described multiple servers are sent to described multiple client by code to be updated, comprising:
Described multiple server creates and upgrades code interface, by the protocol number and the described multiple client that pre-set, completes handshake operation, and sends described code to be updated to described multiple clients by file transfer protocol (FTP) FTP mode.
4. method according to claim 3, is characterized in that, described multiple servers complete handshake operation by the protocol number and the described multiple client that pre-set, comprising:
Described multiple server is sent to described multiple client by the protocol number pre-seting;
After the protocol number that described multiple client pre-sets described in receiving, send response message to described multiple servers, so that described multiple server and described multiple client connect, complete described handshake operation.
5. a device for client online updating, is characterized in that, comprising:
Code update unit, for carrying out more fresh code operation by online updating function;
Transmitting element, for passing through after described multiple server log-in systems in described multiple clients, described multiple server is sent to described multiple client by code to be updated, so that described multiple client is after described code to be updated, by described engine, explain and carry out described code to be updated, complete and upgrade operation.
6. device according to claim 5, is characterized in that, more fresh code operation is carried out by online updating function in described code update unit, comprising:
Described code update unit loads described code to be updated by built-in interpreter, carries out code to be updated.
7. device according to claim 5, is characterized in that, described transmitting element is sent to described multiple client by code to be updated, comprising:
Described transmitting element creates and upgrades code interface, by the protocol number and the described multiple client that pre-set, completes handshake operation, and sends described code to be updated to described multiple clients by file transfer protocol (FTP) FTP mode.
8. device according to claim 7, is characterized in that, described transmitting element completes handshake operation by the protocol number and the described multiple client that pre-set, comprising:
Described transmitting element is sent to described multiple client by the protocol number pre-seting;
After the protocol number that described transmitting element pre-sets described in receiving, send response message to described multiple servers, so that described multiple server and described multiple client connect, complete described handshake operation.
CN201310577060.5A 2013-11-18 2013-11-18 Client side online updating method Pending CN103731412A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310577060.5A CN103731412A (en) 2013-11-18 2013-11-18 Client side online updating method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310577060.5A CN103731412A (en) 2013-11-18 2013-11-18 Client side online updating method

Publications (1)

Publication Number Publication Date
CN103731412A true CN103731412A (en) 2014-04-16

Family

ID=50455340

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310577060.5A Pending CN103731412A (en) 2013-11-18 2013-11-18 Client side online updating method

Country Status (1)

Country Link
CN (1) CN103731412A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105897744A (en) * 2016-05-26 2016-08-24 广州多益网络股份有限公司 Game server updating method and system thereof
CN107357599A (en) * 2016-05-10 2017-11-17 平安科技(深圳)有限公司 A kind of O&M method and terminal

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6766325B1 (en) * 1999-12-02 2004-07-20 Microsoft Corporation System and method for maintaining data for performing “what if” analysis
CN1777317A (en) * 2005-12-16 2006-05-24 北京金山软件有限公司 Method for realizing programme update of wireless terminal
CN1838602A (en) * 2005-03-22 2006-09-27 日本电气株式会社 Server system and online software update method
CN102118500A (en) * 2010-12-27 2011-07-06 清华大学 Software package-based online automatic updating method for open source operating system of mobile terminal
US20130227543A1 (en) * 2012-02-24 2013-08-29 Wistron Corporation Server deployment system and method for updating data

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6766325B1 (en) * 1999-12-02 2004-07-20 Microsoft Corporation System and method for maintaining data for performing “what if” analysis
CN1838602A (en) * 2005-03-22 2006-09-27 日本电气株式会社 Server system and online software update method
CN1777317A (en) * 2005-12-16 2006-05-24 北京金山软件有限公司 Method for realizing programme update of wireless terminal
CN102118500A (en) * 2010-12-27 2011-07-06 清华大学 Software package-based online automatic updating method for open source operating system of mobile terminal
US20130227543A1 (en) * 2012-02-24 2013-08-29 Wistron Corporation Server deployment system and method for updating data

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107357599A (en) * 2016-05-10 2017-11-17 平安科技(深圳)有限公司 A kind of O&M method and terminal
CN105897744A (en) * 2016-05-26 2016-08-24 广州多益网络股份有限公司 Game server updating method and system thereof
CN105897744B (en) * 2016-05-26 2018-08-21 广州多益网络股份有限公司 A kind of game server update method and its system

Similar Documents

Publication Publication Date Title
CN101425017B (en) Installation method and system of updated software for server components
CN105373404A (en) Software mirror image burning method and equipment
CN110888599B (en) Interface device, system for virtualizing mass storage
CN107463499A (en) The long-range connection methods of ADB, device, equipment and storage medium
CN109597640B (en) Account management method, device, equipment and medium for application program
CN104065637A (en) Web-game running method and device
CN105450759A (en) System mirror image management method and device
US20140280492A1 (en) Method and System for Distributing Data among a Multi-Tenant service with a Shared Userbase
CN104216998A (en) Method and device for recommending application program and terminal equipment
CN103530164A (en) Method and device for remote updating of field programmable gate array (FPGA) configuration files
CN104932922A (en) Method and device for regulating boot sequence of SAS (Serial Attached SCSI) card hard disk
CN105553968A (en) Method and device for realizing login by multiple accounts
CN103580918B (en) A kind of configuration data processing method and device
CN109410083A (en) Information sharing method and device and storage medium
CN108694052A (en) A kind of firmware upgrade method, device for upgrading firmware and firmware upgrade system
CN104133701A (en) Application installation method and device
CN103731412A (en) Client side online updating method
US20170168796A1 (en) Method and electronic apparatus for transferring application program from pc to mobile apparatus
CN105162833B (en) Client management system and method applied to non-disk workstation
CN109885336A (en) A kind of off-line arrangement method and device of smart machine
CN102393838A (en) Data processing method and device, PCI-E (peripheral component interface-express) bus system, and server
CN106341448A (en) Distributed storage method, device and system
CN106131614A (en) A kind of multimedia file playing processing method, device and server
CN102884515A (en) Method, devices and system for serial port redirection process
CN109426511A (en) Soft core update method and system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20140416