CN106582013A - Game service system and method and device for updating data of online games - Google Patents

Game service system and method and device for updating data of online games Download PDF

Info

Publication number
CN106582013A
CN106582013A CN201611136030.0A CN201611136030A CN106582013A CN 106582013 A CN106582013 A CN 106582013A CN 201611136030 A CN201611136030 A CN 201611136030A CN 106582013 A CN106582013 A CN 106582013A
Authority
CN
China
Prior art keywords
data
game
allocation list
modification
server
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
CN201611136030.0A
Other languages
Chinese (zh)
Other versions
CN106582013B (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.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network 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 Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201611136030.0A priority Critical patent/CN106582013B/en
Publication of CN106582013A publication Critical patent/CN106582013A/en
Application granted granted Critical
Publication of CN106582013B publication Critical patent/CN106582013B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/70Game security or game management aspects

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Business, Economics & Management (AREA)
  • Computer Security & Cryptography (AREA)
  • General Business, Economics & Management (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a game service system and a method and device for updating data of online games. The game service system comprises an intermediate server and a game server, wherein the game server is used for providing game service for a game client; the intermediate server is used for providing configuration service; the configuration service comprises correction of data in a configuration table of a game; the data in the corrected configuration table of the game are used for reloading data of an online game to update data of the online game; and the intermediate server is further used for transmitting data in the corrected configuration table of the game for the game server. By the game service system and the method and device for updating data of online games, the technical problems that when the data in the configuration table in the correlation technique are corrected, the data cannot be edited conveniently in real time, the results cannot be observed are solved, and the game research and development efficiency is greatly improved.

Description

Game service system, for the method and apparatus of online game renewal data
Technical field
The present invention relates to development of games field.Specifically, the present invention relates to game service system, for online trip The method and apparatus that play is updated the data.
Background technology
During development of games, planning numerical value and game identification code are separated often by the form of allocation list, middle Support turns table instrument and the form that allocation list is converted into code is applied in the middle of game.In the development process of game, often The situation for needing to change allocation list numerical value is run into, allocation list numerical value can be changed in order to adjust numerical value when numerical value balance is verified; Test function during test game for convenience can also change numerical value or addition test data.
In existing application, generally can be there is two kinds by the way of for problem above.First kind of way is directly to repair Or change adjustment allocation list data and be to increase test data, by turning table instrument code form data are re-converted into, then again Start game identification code.The development result that final demand is reached the step of modification is restarted is performed repeatedly.Another method is, in trip In play running, the code for being applied to corresponding data is found in game scripts code space, corresponding heavy duty code is write manually To change corresponding data code block.
Which kind of either all waste time and energy with method, it is impossible to immediately, easily edit and observe result.
For above-mentioned problem, not yet propose to efficiently solve scheme at present.
The content of the invention
The method and apparatus to online game renewal data is embodiments provided, is solved in correlation technique more Problem caused by institute during new data.
According to an aspect of the invention, there is provided a kind of game service system, including:Intermediate server and game services Device, wherein, game server is used to provide game services to game client;Intermediate server is used to provide configuration service, its In, configuration service includes the data in the allocation list of modification game, and the data in the allocation list of the game of modification are used for heavy duty and exist The data of the game of line, with to online game renewal data;And intermediate server is additionally operable to be repaiied to game server Data in the allocation list of the game for changing.
According to another aspect of the present invention, additionally provide a kind of for the method for online game renewal data, bag Include:Configuration service is provided, wherein, configuration service includes the data in the allocation list of modification game, the allocation list of the game of modification In data be used for the data of the online game of heavy duty, with to online game renewal data;And to game server Data in the allocation list of the game of modification.
According to another aspect of the present invention, additionally provide a kind of for the method for online game renewal data, bag Include:By port snoop and connection request is waited, connection is set up after the connection request for receiving permission, modification is received by connection Data, and according to the data of the online game of modification data heavy duty, with to online game renewal data.
According to another aspect of the present invention, additionally provide a kind of for the device of online game renewal data, bag Include:Configuration service module, for providing configuration service, wherein, configuration service includes the data in the allocation list of modification game, repaiies Data in the allocation list of the game for changing are used for the data of the online game of heavy duty, with to online game renewal data;And Communication module, for the data in the allocation list of the game for sending modification.
According to another aspect of the present invention, additionally provide a kind of for the device of online game renewal data, bag Include:Port module, for passing through port snoop and waiting connection request, communication module, for receiving the connection request of permission Connection, the data in the allocation list of the game that modification is received by connection, and processing module are set up afterwards, for according to modification The data of the heavily loaded online game of data in the allocation list of game, with to online game renewal data.
The present invention proposes the scheme for adding the operating game of intermediary service connection and the configuration list file played.It is middle Server realized in the form of Web server, user is made by browser access Web server, to edit more on the page Act on the data of change by changing configuration list file in gaming in real time.
In embodiments of the present invention there is provided the method for online updating editor's game configuration table, change that can be easy to use Editor game configuration table, and can be instant apply game in the middle of, greatly improve game research and development efficiency.
Description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this Bright schematic description and description does not constitute inappropriate limitation of the present invention for explaining the present invention.In the accompanying drawings:
Fig. 1 is the block diagram of game service system according to embodiments of the present invention;
Fig. 2 is the embodiment according to the middleware Web server of exemplary embodiment to process and the presentation of allocation list Flow chart;
Fig. 3 is that the effect of process and the presentation of allocation list is shown according to the middleware Web server of exemplary embodiment It is intended to;
Fig. 4 is one embodiment flow chart for awarding user's change configuration table handling according to exemplary embodiment;
Fig. 5 is the effect diagram of the flow process shown in Fig. 4;
Fig. 6 is the effect diagram of the modification operation according to exemplary embodiment;
Fig. 7 is an interaction of the middleware Web server equipment according to exemplary embodiment and game server device Flow chart;
Fig. 8 is the flow chart of the specific game server end handling process according to exemplary embodiment.
Specific embodiment
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only The embodiment of a part of the invention, rather than the embodiment of whole.Based on the embodiment in the present invention, ordinary skill people The every other embodiment that member is obtained under the premise of creative work is not made, should all belong to the model of present invention protection Enclose.
It should be noted that description and claims of this specification and the term " first " in above-mentioned accompanying drawing, " Two " it is etc. the object for distinguishing similar, without for describing specific order or precedence.It should be appreciated that so using Data can exchange in the appropriate case, so as to embodiments of the invention described herein can with except illustrating here or Order beyond those of description is implemented.Additionally, term " comprising " and " having " and their any deformation, it is intended that cover Lid is non-exclusive to be included, and for example, process, method, system, product or the equipment for containing series of steps or module is not necessarily limited to Those steps clearly listed or module, but may include clearly not list or for these processes, method, product Or intrinsic other steps of equipment or module.
According to embodiments of the present invention, there is provided a kind of embodiment of the method that can be performed by the application device embodiment, It should be noted that can be in the department of computer science of such as one group of computer executable instructions the step of the flow process of accompanying drawing is illustrated Perform in system, and, although show logical order in flow charts, but in some cases, can be with different from herein Order perform shown or described step.
The technical problem to be solved in the present invention is:A kind of method of online updating editor game configuration table is provided, it is simple easy Change edit game configuration table, and can be instant apply game in the middle of, greatly improve game research and development efficiency.
For solve above technical problem, the present invention propose add intermediary service connection it is operating game and play match somebody with somebody Put the scheme of list file.Intermediate server realized in the form of Web server, makes user pass through browser access Web service Device, with the data that editor's change configuration list file on the page can in gaming act in real time change.
The effect of three parts is undertaken as the Web server of middleware, including:
Existing game numerical value configuration list file is read in parsing, with the internal memory that unified data structure preserves Web server It is central.
Corresponding allocation list data content is presented to the Web browser client of user according to the request demand of user, is carried For a kind of direct interactive mode of convenience to change allocation list in data.
Open a port to monitor Web clothes in the server real time modifying data content of connection game, game server end The request that business device is sent, to interact mutually according to a set of self-defining communication protocol.
According to embodiments of the present invention, there is provided a kind of game service system.Fig. 1 is game garment according to embodiments of the present invention The block diagram of business system.
As shown in figure 1, game service system 2 includes:Intermediate server 4 and game server 6, wherein, game server 6 For providing game services to game client;Intermediate server 4 is used to provide configuration service, wherein, configuration service includes repairing Change the data in the allocation list of game, the data in the allocation list of the game of modification are used for the data of the online game of heavy duty, with To online game renewal data;And intermediate server 4 is additionally operable to the allocation list of the game that modification is sent to game server 6 In data.In the technology of the allocation list of existing configuration game, it is only capable of turning again by turning table instrument after modification allocation list Change code form data into, then restart game identification code, modification repeatedly restarts to reach the development result of needs.Or, In game play, the code for being applied to corresponding data is found in game scripts code space, corresponding heavy duty generation is write manually Code is changing corresponding data code block.And according in the game service system 2 of the present embodiment, repaiied by intermediate server 4 Change the data in the allocation list of game, to game server 6, game server 6 can be according to centre for amended data is activation The data of the heavily loaded online game of the data of the modification that server 4 is sent, the data of more new game when playing online.With this Mode, using according to the game service system 2 of the present embodiment without the need for manual switch code, without writing heavily loaded code manually, Without the need for restarting game repeatedly, you can immediately, easily edit and observe result.
Embodiments in accordance with the present invention, intermediate server provides configuration service by Web service.Intermediate server can be with The form of Web service is realized, there is provided Web service, for example, can provide Web browser interface in web front end, and user can be with The allocation list of game is configured in web front end, intermediate server processes the modification of the data in the allocation list of corresponding game immediately. In this way, user can use configuration service by way of browser is with webpage, and friendly interface is easy-to-use, convenient to allocation list Browse and edit.
Embodiments in accordance with the present invention, data of the intermediate server in the allocation list that game is changed by configuration service In the case of, the data in the allocation list of the game for sending modification to the listening port for opening of game server, wherein, monitor end Mouth is opened to intermediate server in advance for game server.In order to provide the data of modification, game services to game server Device opens listening port, for the data in the allocation list for waiting the game to receive the modification of intermediate server transmission.If Data in the allocation list (allocation list can be stored on intermediate server in the way of excel files) of intermediate server are repaiied Change, then amended data are sent to game server by the listening port.Port opens in advance, whenever to ensure, The data as long as data of allocation list are changed, in the allocation list of the modification that game server can receive transmission.For example, user Configure after the allocation list of game via Web service (such as by web front end), via Web service modification game configuration table is sent The request of data, intermediate server processes the request immediately, by the data is activation in the allocation list of the game of modification to game garment The listening port that business device is opened.In this way, user is configured after the allocation list of game by Web service, and game server can be with Data in the allocation list of the game changed by listening port real-time reception.
Embodiments in accordance with the present invention, intermediate server is encrypted to the data in the allocation list of the game changed, will Data is activation after encryption is to game server;And/or, intermediate server is sent out by predefined agreement to game server Send modification game allocation list in data.Game server has opened the port for configuration service for intermediate server, The encrypted rear transmission of data in order to ensure the safety of data transfer, in allocation list.Or, if not by the way of encryption, The mutual transmission data of predefined agreement can also be adopted between intermediate server and game server, data can be also realized Safe transmission.
Embodiments in accordance with the present invention, the data in the allocation list of the game of modification include:The configuration table name of allocation list, repair The value of the line number, row name and cell of the cell of the data for changing.After data in the allocation list of modification game, in order to just Which data is have modified in being accurately positioned in allocation list, and represents which modification is data carried out, in the allocation list of modification Data include essential information of the data in allocation list.The configuration table name of allocation list is used to represent that allocation list is which of game opens Allocation list, cell line number and row name can be used in position of the rapid location data in allocation list, be worth the data for modification Value.
Embodiments in accordance with the present invention, before data of the intermediate server in the allocation list of game of modification is sent, will repair Data in the allocation list of the game for changing are packaged as packet, wherein, packet includes:Protocol header, for the trip for showing to change The sender of the data in the allocation list of play;Index number, for guiding the process that will be performed;And the configuration of the game of modification Data in table.Intermediate server is needed with the predetermined mutual transmission information of agreement with game server, in the present embodiment, is repaiied The data for changing are packaged, and the packet of packing shows that data are sent by intermediate server in the way of protocol header, for identification and Checking sender.Need to inform that recipient receives the process type performed after data after data is activation, index of reference sequence number is represented In packet, inform that game server is received after modification data, for example, perform and call overload function to be based on modification data execution Game data heavy duty.
Embodiments in accordance with the present invention, packet also includes:Player's id field of game, for carrying out to the data of player Process.When packet includes this data, you can think that particular player performs process, the number for needing to update can be more rapidly positioned According to.
Embodiments in accordance with the present invention, configuration service also includes:By intermediate server, the allocation list of game is obtained, and Allocation list is presented in Web forms.Except the data in the allocation list that can change game, intermediate server can read in configuration Table, is then presented in a browser allocation list and its data.Intermediate server is presented allocation list and makes user intuitively in Web forms Allocation list is accessed, and the mode using browser access allocation list is more friendly and directly perceived, directly complains to the higher authorities about an injustice and request fair settlement in intermediate server Ask that allocation list is also convenient for changing on intermediate server for data, to be sent to game server.
Embodiments in accordance with the present invention, obtaining the allocation list of game includes:By the root for configuring the allocation list for reading game Catalogue, according to filter condition corresponding with the storage form of allocation list, filters all allocation lists under root to obtain configuration Table, wherein, root is stored in configuration in the way of configuration file.In this way, it is possible to what quick and automatic reading needed Configuration list file.
Embodiments in accordance with the present invention, obtaining the allocation list of game also includes:Deposited in intermediate server with tree The catalogue of storage allocation list.In this way, it is possible to structured data storage, clear in structure, convenient use.
Embodiments in accordance with the present invention, allocation list is presented in the form of Web includes:In maiden visit, intermediate server The catalogue and allocation list of allocation list are rendered according to the form encapsulation of html, for the presentation of Web forms.In this way, configure Table is converted into the form that can be presented by Web forms, when user accesses for the first time, it can be seen that allocation list and catalogue it is total Look at.
Embodiments in accordance with the present invention, allocation list is presented in the form of Web includes:By intermediate server, allocation list is parsed, The html files and css files for presenting in Web forms is generated, wherein, html files include the data of allocation list, css File is included in the form called when rendering html for presenting in Web forms.In this way, the data to be presented are divided into number According to form two parts are presented, by calling data and form being presented, allocation list arrangement mode as required is presented.
Embodiments in accordance with the present invention, allocation list is presented in the form of Web includes:By intermediate server, solve in first time Data after analysis allocation list, after caching parsing.Need every time storage and the data volume transmitted, the data after parsing to reduce In being buffered in intermediate server, when accessing again or change later, intermediate server need not re-call allocation list, can make With the data after the parsing of caching, eliminate substantial amounts of transmission and parse the time of data, reduce resource consumption.
Embodiments in accordance with the present invention, the data changed in allocation list include:By intermediate server, reception is matched somebody with somebody to presentation The selection of table is put, according to the data selected in request allocation list, wherein, the data in allocation list are used for after parsing with Web shapes Formula is presented.For the data in bond-allocating table, presenting in Web forms needs the data of modification, user selecting from browser After allocation list, the data in the allocation list are resolved to show on a web browser, and data are only parsed after selection to save money Source.
Embodiments in accordance with the present invention, the data changed in allocation list also include:Receive the configuration to presenting in Web forms The selection of the data to be changed in table, shows editable text frame, for the data in the allocation list for receiving change.User exists After the data to be changed in option and installment table, you can modify editor to data.To show editable text frame after click Mode is that user is presented friendly editing interface, can be used to change data with the input of receive user in editable text frame, side Just change.
Embodiments in accordance with the present invention, the data changed in allocation list also include:It is in from Web forms using locating function The position of the data in the allocation list to be selected is searched in existing allocation list.User can be with searching for example, by browser itself Rope instrument carries out data search, in research tool input need modification data after, you can find the data, save from Level clicks to select the time of data in allocation list catalogue.
Embodiments in accordance with the present invention, the allocation list to presenting is optionally comprised in option and installment in the directory tree of allocation list Table, wherein, directory tree is presented the catalogue of the allocation list stored with tree.User can directly click the catalogue of allocation list, Catalogue can be apparent from the position of structure of the data in allocation list with tree displaying, user, and this is to game data Logic distribution arrangement is favourable.
Embodiments in accordance with the present invention, the selection of the allocation list to presenting also includes:The gauge outfit of the fixed allocation list for presenting, The row of selection is indicated with highlight color, and the content in the allocation list that cell display is presented is elongated by focus dynamic.For Facilitate the user data are intuitively browsed from browser, gauge outfit can be fixed, so for the data in allocation list need When page turning is presented, content and the position represented by data can be conveniently determined, the data of selection are than more prominent.If data content It is long, then dynamic can elongate display in cell again.In this way, there is provided friendly browser interface.
Embodiments in accordance with the present invention, intermediate server connects after data of the heavy duty in the game of line from game server The result of the data of the game for being loaded in line of laying equal stress on is received, and shows result.Modification Data Concurrent is given after game server, middle Server receives the result of game server and shows, makes user to understand modification whether successful Application.
In an embodiment according to the present invention, there is provided the allocation list for being received, being presented and change game with intermediate server In data method, and by the data is activation of modification to game server, enable what game server real-time reception was changed Data, and call overload function to update the data when playing online so that the data modification of the allocation list of game is simply square Just, and can in real time see modification result, the time required for data is adjusted when greatling save game plan.
Embodiments of the invention additionally provide a kind of for the method for online game renewal data, its specific embodiment party The method that formula is implemented with above intermediate server side is identical.Embodiments of the invention additionally provide a kind of for online trip The method that play is updated the data, the method that its specific embodiment is implemented with game server side above is identical.At this to the party Method is no longer illustrated.With it, enabling the data that game server real-time reception is changed, and overload function is called in trip Update the data when playing online so that the data modification of the allocation list of game is simple and convenient, and can in real time see modification result, The time required for data is adjusted when greatling save game plan.
Embodiments of the invention additionally provide it is a kind of for the device of online game renewal data, including:Configuration clothes Business module, for providing configuration service, wherein, configuration service includes the data in the allocation list of modification game, the game of modification Allocation list in data be used for the data of the online game of heavy duty, with to online game renewal data;And communication module, For the data in the allocation list of the game for sending modification.By the device of the present embodiment, game configuration can be easily changed Data in table, and for calling overload function to update the data when playing online so that the data of the allocation list of game Modification is simple and convenient, and can in real time see modification result, and the time required for data is adjusted when greatling save game plan.
Embodiments of the invention additionally provide it is a kind of for the device of online game renewal data, including:Port mould Block, for passing through port snoop and waiting connection request, communication module, for the company of foundation after the connection request for receiving permission Connect, the data in the allocation list of the game that modification is received by connection, and processing module, for matching somebody with somebody according to the game of modification The data of the heavily loaded online game of data in table are put, with to online game renewal data.By the device of the present embodiment, can Data in easily to receive modification game configuration table, and call overload function to update the data when playing online, make The data modification of the allocation list that must be played is simple and convenient, and can in real time see modification result, when greatling save game plan Time required for adjustment data.
Below in conjunction with Description of Drawings exemplary embodiment of the invention.
Embodiment 1
Fig. 2 is the embodiment according to the middleware Web server of exemplary embodiment to process and the presentation of allocation list Flow chart, as shown in Fig. 2 the user that the present embodiment is provided includes with the exchange method of allocation list:
S202, the root by configuring reading allocation list:
Root path can be stored in the middle of the configuration of middleware Web server by way of configuration file, be filtered All effective allocation list under root, here allocation list different filter conditions can be arranged according to different storage forms, All of allocation list file directory is stored with tree.
S204, by catalogue configuration list file user is presented in the form of Web:
When user's maiden visit, the middleware Web clothes of the present invention can be asked by way of Web browser is with Http Business device, the request of middleware response user simultaneously renders the catalogue and file of the reading of previous step S202 according to the form encapsulation of Html After be sent to user's Web browser, for user next select need modification allocation list.
S206, wait user select request to the allocation list in requisition for modification:
User can select corresponding configuration list file, request Web server to send specific configuration list file in front end Content.
S208, the corresponding configuration list file of parsing, then user is sent in the form of Web:
Here different configuration files needs to be parsed in a corresponding way, and unification changes into the form exhibition of web front end Web front end is now given, because the data content of game configuration table is often than larger, so wait taking very long, general common practice It is that user is presented in part in the form of paging, but so differs greatly with actual excel on Consumer's Experience, it is impossible to immediately Find the content of oneself needs.Comprise the step of in this presentation flow process:Parsing excel->Encapsulation html->It is sent to and browses Device->Browser loading->Browser renders, in order to optimize the time for reducing this flow process significantly, the embodiment is presented what is pushed Processing method has:
Data and form are separated, and most form is put in css files, and the size of html files is reduced as far as possible. Mainly include data content in html files, together the encapsulation of being serviced device is dealt into browser to css files with html, and browser exists The form in css files can be called when rendering html.
Data after parsing for the first time after server buffer is firmly parsed, that is, the way for employing space for time.
Simplify front end to render, wide cell etc. reduces the render time of front end.
Fig. 3 is that the effect of process and the presentation of allocation list is shown according to the middleware Web server of exemplary embodiment It is intended to, as shown in figure 3, user accesses middleware Web server by the form request of Web, the planning in left side configures entry Select the data content that correspondence xlsx form allocation lists can be obtained to the configuration list file in requisition for modification in record tree, and with The mode of web front end presents the data content of allocation list so that the modification of next step is operated.
In the present embodiment, data configuration table abandoned it is original turn the operating process of table manually, and then be converted into centre Part Web server parses the mode of allocation list automatically, and the effect that middleware is played includes:Parsing game configuration table data, transfer Data storage function, the form presentation for being rendered to html, the data table handling of front end user are processed.It is unified saturating for a user Realization mechanism bright, without understanding bottom, one-stop peration data allocation list content, clearly operation interface, succinct behaviour Make flow process, can greatly save the time of change data configuration table and observe in gaming in real time after modification allocation list Effect, by changing allocation list data content repeatedly, can quickly correct game configuration table numerical value, be accurately positioned data and ask Topic.
Embodiment 2
Fig. 4 be according to exemplary embodiment award user change configuration table handling one embodiment flow chart, this reality Apply example to describe for the side of user operation one, as shown in figure 4, the mode step of the user operation of the present embodiment offer includes:
S402, the allocation list cell for double-clicking needs modification:
Game configuration table content often has many data contents, is embodied in line number more and columns is more, for convenience soon The cell that needs modification can be locked onto of speed, the embodiment has been done with some operation as follows:
In order to preferably search, fixed gauge outfit is necessary, and the way of the embodiment is to replicate gauge outfit by front end script Element fix show, so down drag form when gauge outfit still can rest on top.
The content pages that form is often gone are very long, position for convenience, and a line is clicked on using single-click operation and highlight color is used Indicate full line.
For rendering speed, so wide table cell has been done, but like this many contents do not show, gauge outfit The method that part adopts is that the focus dynamic elongation cell for obtaining mouse shows.
The allocation list data that user chooses can be fully loaded to Web browser, present after rendering, by browsing The locating function that device is carried can be quickly found out the location of content for needing amendment.Find and double-click after the cell for needing amendment behaviour Make to carry out the operation of next step, Fig. 5 is the effect diagram of the flow process, and gauge outfit content is moved in mouse up being capable of dynamic drawing Stretch, be highlighted selected line, and fixed gauge outfit content in top.
S404, double-click cell location show an editable text box:
Web front end determines the cell location for needing modification by the operation of response double-click cell, reads the unit The value of lattice simultaneously creates an editable text box and is affiliated on this cell, and the value default setting of text frame is the list The value of first lattice.
S406, the value being modified as after change:
Content in the text that this cell is affiliated to after editor's change
S408, carriage return confirm to change and mark it is red, cancel if clicking by right key elsewhere this change:
Modification operation is simply done in order to light weight, the embodiment does not make unnecessary button to operate, but logical The operation for crossing carriage return and other places of click to complete to confirm and cancel, if the entry is by with redness after successfully changing in addition Background shows, points out to inform that user changes successfully.
Fig. 6 is the effect diagram of the modification operation according to exemplary embodiment, illustrates the effect of S402 to S410, is found Cell " 2000 life of loss ", double-click is changed to " 1000 life of loss " in text edit box, after carriage return in cell Hold change success and mark red display, show that this operation is changed successfully.
S410, the content of modification is sent to into middleware Web server:
For acquisition table content not repeatedly, this submits every time modification operation to all without refresh page, but only does The operation of one submission.Here 4 parameters to be got including current table name, the line number of cell, row name and the unit The value of lattice, consolidation form turns to the form of character string and is sent to middleware Web server, and concrete form is:Table name be [cell Line number] [row name]=" cell value ".
In the present embodiment, the data table handling handling process of user mutual is described in detail, from gauge outfit, list item, data Many aspects optimize the operating experience of user, and can quickly lock onto needs the data content of change.In the step being altered In the middle of rapid, without the extra any push-botton operation of increase, using double click operation is clicked, dynamic generates editable text frame to edit Content, utilizes, and change is determined and cancelled using carriage return clicking operation.User operation end can effectively and rapidly complete positioning, more The operating process for change, coming into force.Game configuration table data are changed with most easy mode dynamic and enforcement is acted in the middle of game, lead to Modification allocation list data content repeatedly is crossed, game configuration table numerical value can be quickly corrected, data problem is accurately positioned.
Embodiment 3
Fig. 7 is an interaction of the middleware Web server equipment according to exemplary embodiment and game server device Flow chart, as shown in fig. 7, the part flow process includes the flow elements of two equipment, 72 is the flow process of middleware Web server, 74 is the flow process of game server, including:
72 is the communication interaction flow chart of middleware Web server equipment one end, and S7202 is that the change of receive user front end is matched somebody with somebody The parameter sent after table numerical value is put, parameter format is:The value of table name [line number of cell] [row name]=" cell ".Next S7204 will carry out packing data information according to the protocol format formulated, and the data packing scheme of the embodiment is to include 4 parts: Protocol header, index number, player Id, parameter.Protocol header fields are for showing that the packet is middleware Web service of the present invention The data that device is sent, index number field is used to refer to draw which bar operation game server will perform, and player Id fields are optional Field, then processes in the data of the player if present, and last parameter field is then specific packet content. S7206 sends connection request by the formulation IP of game server, port, and a TCP connection is set up if being proved to be successful. S7208 sends packed information in the connection for establishing.S7210 waits return information, return information to be game The operating result at the end of server 74, comprising success, failure, web front end can be pointed out in the form of pop-up dialogue box user this Whether what is operated is successful.Complete the interaction flow of middleware Web server.
74 is the communication interaction flow chart of game server one end, and S7402 game servers can open a port monitoring The request that middleware Web server 72 is sent, S7404 waits connection request, a white list can be arranged here, only in white name User in list could set up connection by request, and white list here is just arranged to middleware Web server 72, white list Connection will be set up by after.S7406, reception S7204 packed data message, parses protocol header, index number, object for appreciation Family Id, the partial content of parameter 4.S7406, processed according to specific bag content, here can be by the design parameter part in bag Context resolution out, including the value after allocation list table name, row name, line index, the change to be changed.
Fig. 8 is the flow chart of the specific game server end handling process according to exemplary embodiment, wherein, such as Fig. 8 Shown, specific game server end handling process includes:
S802 can navigate to the functional module in concrete game according to table name catalogue, and S804 calls corresponding function module Data overload function, needs independent process to increase corresponding interface if game server does not have corresponding data overload function Function, after S806 change data online game client is synchronized to, and this flow process then completes the change part of game data.
S7410, the result for returning process, the result is returned by the result of data overload function, including success, failure. S7412, closing connection.So far the operation of complete online updating data configuration table is completed once.
In the present embodiment, middleware Web server can process the tables of data change content that front end sends, and beat by agreement Encapsulating dresses up packet and is sent to corresponding game server.Game server can unpack processing data bag, according to matching somebody with somebody for modification Put table name and navigate to corresponding game inner module, the corresponding tables of data content of heavy duty and synchronously this partial content are to game client End.Middleware completes data packing, data is activation part, while game server has corresponding processing data packets mode.It is whole Set flow process is transparent for user, and user can in the client observe amended allocation list content after modification allocation list, By changing allocation list data content repeatedly, game configuration table numerical value can be quickly corrected, be accurately positioned data problem.
In the above embodiment of the present invention, the description to each embodiment all emphasizes particularly on different fields, and does not have in certain embodiment The part of detailed description, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed client, other sides can be passed through Formula is realized.Wherein, device embodiment described above is only schematic, and the division of such as module, only one kind are patrolled Volume function is divided, and can have other dividing mode when actually realizing, such as multiple module or components can with reference to or can be with Another system is integrated into, or some features can be ignored, or do not perform.It is another, it is shown or discussed each other Coupling or direct-coupling or communication connection can be INDIRECT COUPLING or the communication connections by some interfaces, module or module, can Being electrical or other forms.
Can be as the module of separating component explanation or may not be physically separate, show as module Part can be or may not be physical module, you can with positioned at a place, or can also be distributed to multiple networks In module.Some or all of module therein can according to the actual needs be selected to realize the purpose of this embodiment scheme.
In addition, each functional module in each embodiment of the invention can be integrated in a processing module, it is also possible to It is that modules are individually physically present, it is also possible to which two or more modules are integrated in a module.Above-mentioned integrated mould Block both can be realized in the form of hardware, it would however also be possible to employ the form of software function module is realized.
The above is only the preferred embodiments of the present invention, it is noted that for those skilled in the art, Under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improvements and modifications also should be regarded as this The protection domain of invention.

Claims (44)

1. a kind of game service system, it is characterised in that include:Intermediate server and game server, wherein,
The game server, for providing game services to game client;
The intermediate server, for providing configuration service, wherein, the configuration service includes the allocation list of the modification game In data, the data in the allocation list of the game of modification are used for the data of the online game of heavy duty, with to online trip Play is updated the data;And
The intermediate server, is additionally operable to the data in the allocation list of the game of game server modification.
2. system according to claim 1, it is characterised in that the intermediate server by Web service provide described in match somebody with somebody The service of putting.
3. system according to claim 1 and 2, it is characterised in that the intermediate server is by the configuration service In the case of changing the data in the allocation list of the game, to the listening port that the game server is opened modification is sent Data in the allocation list of the game, wherein, the listening port is that the game server is opened to the centre in advance Server.
4. system according to claim 3, it is characterised in that
The intermediate server is encrypted to the data in the allocation list of the game changed, by the data is activation after encryption To the game server;And/or,
The configuration of the game that the intermediate server is changed by predefined agreement to the game server Data in table.
5. system according to claim 3, it is characterised in that the data in the allocation list of the game of modification include:
The configuration table name of the allocation list, the value of the line number, row name and the cell of the cell of the data of modification.
6. system according to claim 4, it is characterised in that the intermediate server is in the game for sending modification Before data in allocation list, the data in the allocation list of the game of modification are packaged as into packet, wherein, the packet Including:
Protocol header, for show change the game allocation list in data sender;
Index number, for guiding the process that will be performed;And
Data in the allocation list of the game of modification.
7. system according to claim 6, it is characterised in that the packet also includes:
Player's id field of the game, for processing the data of the player.
8. system according to claim 1 and 2, it is characterised in that the configuration service also includes:
By the intermediate server, the allocation list of the game is obtained, and
The allocation list is presented in Web forms.
9. system according to claim 8, it is characterised in that obtaining the allocation list of the game includes:
By the root for configuring the allocation list for reading the game, according to filtration corresponding with the storage form of the allocation list Condition, filters all allocation lists under the root to obtain the allocation list,
Wherein, the root is stored in the configuration in the way of configuration file.
10. system according to claim 9, it is characterised in that obtaining the allocation list of the game also includes:
With the catalogue that tree stores the allocation list in the intermediate server.
11. systems according to claim 8, it is characterised in that the allocation list is presented in the form of Web includes:
In maiden visit, the intermediate server seals the catalogue of the allocation list and the allocation list according to the form of html Dress is rendered, for the presentation of Web forms.
12. systems according to claim 8, it is characterised in that the allocation list is presented in the form of Web includes:
By the intermediate server, the allocation list is parsed, the html files and css generated for presenting in Web forms is literary Part,
Wherein, the html files include the data of the allocation list, and the css files are included in and render html for Web The form that form is called when presenting.
13. systems according to claim 8, it is characterised in that the allocation list is presented in the form of Web includes:
By the intermediate server, the data after first time parses the allocation list, after caching parsing.
14. systems according to claim 8, it is characterised in that the data in the modification allocation list include:
By the intermediate server, the selection of the allocation list to presenting is received, according to described the request allocation list is selected In data, wherein, the data in the allocation list be used for after parsing with Web forms presentation.
15. systems according to claim 14, it is characterised in that the data in the modification allocation list also include:
The selection of the data to be changed in the allocation list to presenting in Web forms is received, editable text frame is shown, is used Data in the allocation list for receiving change.
16. systems according to claim 15, it is characterised in that the data in the modification allocation list also include:
The data in the allocation list to be selected are searched from the allocation list presented in Web forms using locating function Position.
17. systems according to claim 14, it is characterised in that described to being optionally comprised in for the allocation list that presents The allocation list is selected in the directory tree of allocation list, wherein, the directory tree is presented the allocation list stored with tree Catalogue.
18. systems according to claim 14, it is characterised in that the selection of the allocation list to presenting also includes:
The gauge outfit of the fixed allocation list for presenting, with highlight color the row of selection is indicated, and is elongated by focus dynamic single First lattice show the content in the allocation list for presenting.
19. systems according to claim 1 and 2, it is characterised in that the intermediate server is in the online game of heavy duty After data, the result of the data of the game for being loaded in line of laying equal stress on is received from the game server, and
Show the result.
20. is a kind of for the method for online game renewal data, it is characterised in that includes:
Configuration service is provided, wherein, the configuration service includes the data in the allocation list of the modification game, modification it is described Data in the allocation list of game are used for the data of the online game of heavy duty, with to online game renewal data;And
Data in the allocation list of the game of game server modification.
21. methods according to claim 20, it is characterised in that provide the configuration service by Web service.
22. methods according to claim 20 or 21, it is characterised in that the game is being changed by the configuration service Allocation list in data in the case of, the listening port opened to the game server sends matching somebody with somebody for the game of modification The data in table are put, wherein, the listening port is that the game server is open in advance.
23. methods according to claim 22, it is characterised in that
Data in the allocation list of the game changed are encrypted, by the data is activation after encryption the game services are given Device;And/or,
Data in the allocation list of the game changed to the game server by predefined agreement.
24. methods according to claim 22, it is characterised in that the packet in the allocation list of the game of modification Include:
The configuration table name of the allocation list, the value of the line number, row name and the cell of the cell of the data of modification.
25. methods according to claim 23, it is characterised in that the number in the allocation list of the game of modification is sent According to front, the data in the allocation list of the game of modification are packaged as into packet, wherein, the packet includes:
Protocol header, for show change the game allocation list in data sender;
Index number, for guiding the process that will be performed;And
Data in the allocation list of the game of modification.
26. methods according to claim 25, it is characterised in that the packet also includes:
Player's id field of the game, for processing the data of the player.
27. methods according to claim 20 or 21, it is characterised in that the configuration service also includes:
The allocation list of the game is obtained, and
The allocation list is presented in Web forms.
28. methods according to claim 27, it is characterised in that obtaining the allocation list of the game includes:
By the root for configuring the allocation list for reading the game, according to filtration corresponding with the storage form of the allocation list Condition, filters all allocation lists under the root to obtain the allocation list,
Wherein, the root is stored in the configuration in the way of configuration file.
29. methods according to claim 28, it is characterised in that obtaining the allocation list of the game also includes:
With the catalogue that tree stores the allocation list.
30. methods according to claim 27, it is characterised in that the allocation list is presented in the form of Web includes:
In maiden visit, the catalogue of the allocation list and the allocation list are rendered according to the form encapsulation of html, for Web forms are presented.
31. methods according to claim 27, it is characterised in that the allocation list is presented in the form of Web includes:
The allocation list is parsed, html files and css files for presenting in Web forms is generated,
Wherein, the html files include the data of the allocation list, and the css files are included in and render html for Web The form that form is called when presenting.
32. methods according to claim 27, it is characterised in that the allocation list is presented in the form of Web includes:
Data after first time parses the allocation list, after caching parsing.
33. methods according to claim 27, it is characterised in that the data in the modification allocation list include:
The selection of the allocation list to presenting is received, according to the data selected in the request allocation list, wherein, it is described Data in allocation list are used for after parsing with the presentation of Web forms.
34. methods according to claim 33, it is characterised in that the data in the modification allocation list also include:
The selection of the data to be changed in the allocation list to presenting in Web forms is received, editable text frame is shown, is used Data in the allocation list for receiving change.
35. methods according to claim 34, it is characterised in that the data in the modification allocation list also include:
The data in the allocation list to be selected are searched from the allocation list presented in Web forms using locating function Position.
36. methods according to claim 33, it is characterised in that described to being optionally comprised in for the allocation list that presents The allocation list is selected in the directory tree of allocation list, wherein, the directory tree is presented the allocation list stored with tree Catalogue.
37. methods according to claim 33, it is characterised in that the selection of the allocation list to presenting also includes:
The gauge outfit of the fixed allocation list for presenting, with highlight color the row of selection is indicated, and is elongated by focus dynamic single First lattice show the content in the allocation list for presenting.
38. methods according to claim 20 or 21, it is characterised in that after data of the heavy duty in the game of line, from institute The result that game server receives the data of the game for being loaded in line of laying equal stress on is stated, and
Show the result.
39. is a kind of for the method for online game renewal data, it is characterised in that includes:
By port snoop and wait connection request,
Connection is set up after the connection request for receiving permission, modification data are received by the connection, and
According to the data of the online game of the modification data heavy duty, with to online game renewal data.
40. methods according to claim 39, it is characterised in that the data of the online game of heavy duty include:
According to the modification data, the functional module of the game is positioned,
Data overload function corresponding with the functional module, or independent process is called to increase corresponding interface function, and
The online game is synchronized to after change data.
41. methods according to claim 40, it is characterised in that the data of the online game of heavy duty also include:
According to the result of the data overload function, send heavy duty and the connection is closed after the result of the data of the game of line.
42. methods according to claim 41, it is characterised in that the result is success or failure.
43. is a kind of for the device of online game renewal data, it is characterised in that includes:
Configuration service module, for providing configuration service, wherein, the configuration service is included in the allocation list of the modification game Data, the data in the allocation list of the game of modification are used for the data of the online game of heavy duty, with to online game Update the data;And
Communication module, for the data in the allocation list of the game for sending modification.
44. is a kind of for the device of online game renewal data, it is characterised in that includes:
Port module, for passing through port snoop and waiting connection request,
Communication module, for setting up connection after the connection request for receiving permission, the game of modification is received by the connection Data in allocation list, and
Processing module, for the data of the data online game of heavy duty in the allocation list of the game of modification, with to online The game renewal data.
CN201611136030.0A 2016-12-09 2016-12-09 Game service system, method and device for updating data to online game Active CN106582013B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611136030.0A CN106582013B (en) 2016-12-09 2016-12-09 Game service system, method and device for updating data to online game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611136030.0A CN106582013B (en) 2016-12-09 2016-12-09 Game service system, method and device for updating data to online game

Publications (2)

Publication Number Publication Date
CN106582013A true CN106582013A (en) 2017-04-26
CN106582013B CN106582013B (en) 2019-12-10

Family

ID=58598870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611136030.0A Active CN106582013B (en) 2016-12-09 2016-12-09 Game service system, method and device for updating data to online game

Country Status (1)

Country Link
CN (1) CN106582013B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107261501A (en) * 2017-06-06 2017-10-20 网易(杭州)网络有限公司 Game context of numeric values construction method and device
CN109582726A (en) * 2018-12-18 2019-04-05 网易(杭州)网络有限公司 The treating method and apparatus of tables of data
CN110362338A (en) * 2019-07-14 2019-10-22 广州泳泳信息科技有限公司 Game resource packaging and resource quick access method under mobile platform
CN111475192A (en) * 2020-04-15 2020-07-31 上海莉莉丝科技股份有限公司 Method, device, storage medium and system for performing hot update on game server

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594876A (en) * 2012-01-19 2012-07-18 网宿科技股份有限公司 Method and system for accelerating speed of mixing game real-time data and updated data
CN104573334A (en) * 2014-12-24 2015-04-29 珠海金山网络游戏科技有限公司 Playing system and method for triggering special effects and sound effects by using tag events
EP3187236A1 (en) * 2015-12-15 2017-07-05 Nintendo Co., Ltd. Game system, game process control method, and game apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594876A (en) * 2012-01-19 2012-07-18 网宿科技股份有限公司 Method and system for accelerating speed of mixing game real-time data and updated data
CN104573334A (en) * 2014-12-24 2015-04-29 珠海金山网络游戏科技有限公司 Playing system and method for triggering special effects and sound effects by using tag events
EP3187236A1 (en) * 2015-12-15 2017-07-05 Nintendo Co., Ltd. Game system, game process control method, and game apparatus

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107261501A (en) * 2017-06-06 2017-10-20 网易(杭州)网络有限公司 Game context of numeric values construction method and device
CN107261501B (en) * 2017-06-06 2021-01-26 网易(杭州)网络有限公司 Game numerical environment construction method and device
CN109582726A (en) * 2018-12-18 2019-04-05 网易(杭州)网络有限公司 The treating method and apparatus of tables of data
CN110362338A (en) * 2019-07-14 2019-10-22 广州泳泳信息科技有限公司 Game resource packaging and resource quick access method under mobile platform
CN110362338B (en) * 2019-07-14 2020-04-10 广州泳泳信息科技有限公司 Game resource packaging and resource quick access method under mobile platform
CN111475192A (en) * 2020-04-15 2020-07-31 上海莉莉丝科技股份有限公司 Method, device, storage medium and system for performing hot update on game server
CN111475192B (en) * 2020-04-15 2023-11-10 上海莉莉丝科技股份有限公司 Method, device, storage medium and system for performing thermal augmentation on game server

Also Published As

Publication number Publication date
CN106582013B (en) 2019-12-10

Similar Documents

Publication Publication Date Title
CN104427627B (en) Test data acquisition methods, client and server
JP5089684B2 (en) Technology for generating service programs
CN104021172B (en) Advertisement filter method and advertisement filter device
CN104965691B (en) The method, apparatus and system of the page elements of the configuration webpage page
CN103927253B (en) Multiple browser compatibility testing method and system
US7761842B2 (en) System and method for generating a graphical user interface (GUI) element
US8468145B2 (en) Indexing of URLs with fragments
CN106582013A (en) Game service system and method and device for updating data of online games
CN110020278A (en) Displaying, providing method, client and the server of page data
CN106445486A (en) Webpage construction and generation method and system
CN104520816B (en) For adjusting method, equipment and storage media across expanding communication
CN108733499A (en) Browser page display data processing method and processing device
CN106339414A (en) Webpage rendering method and device
CN103838558B (en) Website build a station system and method, access website method and webpage adaptation system
Esposito Programming Microsoft ASP. NET MVC
CN104317570B (en) The apparatus and method of dynamic analysis Web applications
CN104321743A (en) Method and system for developing applications for consulting content and services on a telecommunications network
CN110297636A (en) A kind of automatic production of HTML page and parameter management method based on page configuration file, system and device
CN107203470A (en) Page adjustment method and device
CN105786846A (en) Website platform component capable of generating modules in user-defined manner
CN104965904B (en) A kind of grasping means of multi-platform data and device
CN107229653A (en) Pseudo- static Web page generation method and device
CN106412080A (en) Method for realizing software localization and internationalization based on network service
CN105025065B (en) Web site is converted to the method, apparatus and system of Web application
CN110311819B (en) Page automatic generation and MIBs table generation method based on page configuration file, management method, equipment side and management system

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