CN1629809A - Frame synchronizing method and device for instant network connection game - Google Patents

Frame synchronizing method and device for instant network connection game Download PDF

Info

Publication number
CN1629809A
CN1629809A CN 200310109556 CN200310109556A CN1629809A CN 1629809 A CN1629809 A CN 1629809A CN 200310109556 CN200310109556 CN 200310109556 CN 200310109556 A CN200310109556 A CN 200310109556A CN 1629809 A CN1629809 A CN 1629809A
Authority
CN
China
Prior art keywords
mentioned
message
mentioned message
classification information
information
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
CN 200310109556
Other languages
Chinese (zh)
Other versions
CN1293470C (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Inventec Appliances Shanghai Corp
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 Inventec Appliances Shanghai Corp filed Critical Inventec Appliances Shanghai Corp
Priority to CNB2003101095566A priority Critical patent/CN1293470C/en
Publication of CN1629809A publication Critical patent/CN1629809A/en
Application granted granted Critical
Publication of CN1293470C publication Critical patent/CN1293470C/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Abstract

This invention relates to a picture synchronizing method for a demand network on-line game suitable for the game players with an information queue memory and a processor. The queue memory stores at least an information queue list, the processor has at least a parallel process unit, each one corresponds to one said list, when it receives information of kinds and levels, it fetches said level information first and processes the mark of the level information as the highly important level, then it carries the un-marked kind information into the queue list in the temporary memory, said process unit processes corresponding information in the queue list.

Description

The picture synchronizing method and the device of the recreation of instant network line
Technical field
The technology that the present invention handles relevant for the numerical digit picture, the particularly picture synchronizing method and the device of playing relevant for the instant network line.
Background technology
Along with prevailing of network, network connectivity is played with the main flow that becomes numbers game.In the network connectivity recreation, the player who is positioned at diverse geographic location enters same virtual world through network connectivity and plays, each player handles and sends game message by the game machine of its near-end and comes operate game, and receive the far-end servomechanism and transmit message, after treatment can be with other players' trend and game state in the screen output of its near-end game machine.
In the network connectivity recreation, it is that key is smoothly carried out in recreation that the instant transmitting-receiving of game message is handled.Yet, the time that transmitting-receiving and transmission spent of game message, often make game picture on different players' game machine, to manifest synchronously, and the mistiming that manifests same picture between the different game machines can be carried out and accumulates along with recreation, and these players play according to the picture on its game machine separately, the bad that not only can make recreation, and make recreation can't carry out at last because each player's of the same recreation of participation step difference is excessive.
In brief, the traditional network connectivity method for gaming and the shortcoming of device are the instantaneity that it can't guarantee game picture, and have a strong impact on the quality of network connectivity recreation and carry out.
Summary of the invention
In view of this, purpose of the present invention makes that for a kind of picture synchronizing method and device of instant network line recreation are provided each game machine that participates in recreation can show game picture synchronously when the network connectivity recreation was carried out.
For reaching above-mentioned purpose of the present invention, the invention provides a kind of picture synchronization device of instant network line recreation, it comprises: a communication device, a memory storage, a treating apparatus and a display device.Wherein above-mentioned communication device is in order to set up line with the transmitting-receiving message, and wherein above-mentioned message comprises the class information that a classification information and that indicates above-mentioned message content type indicates above-mentioned message content important level.Wherein above-mentioned memory storage is coupled in above-mentioned communication device, has a message formation storage area to store the above-mentioned message that above-mentioned communication device is received, and there is at least one message waiting list wherein above-mentioned message formation storage area.Wherein above-mentioned treating apparatus system and above-mentioned communication device and the coupling of above-mentioned memory storage, to receive above-mentioned message and to handle above-mentioned message according to the above-mentioned classification information and the above-mentioned class information of above-mentioned message, it will be denoted as the above-mentioned message priority processing of high importance rate, and will not be denoted as high importance rate according to the parallel processing respectively of above-mentioned classification information.The display frame as a result of above-mentioned message is handled in wherein above-mentioned display device and the coupling of above-mentioned treating apparatus according to above-mentioned treating apparatus.
The picture synchronization device of above-mentioned instant network line recreation is used a kind of picture synchronizing method, makes the game machine with above-mentioned synchronous device when playing, and its shown game picture is identical with the REMOTE MACHINE that other participate in recreation.When its reception one comprises the message of a classification information and a rank information, read above-mentioned class information earlier.When the above-mentioned class information of above-mentioned message is denoted as high importance rate, handle above-mentioned message.When the above-mentioned class information of above-mentioned message is not denoted as high importance rate, read above-mentioned classification information.Continue it, above-mentioned message is written into the above-mentioned message waiting list of above-mentioned message formation working storage according to above-mentioned classification information.Then, the above-mentioned message in the above-mentioned message waiting list of above-mentioned processing unit processes correspondence.
As mentioned above, by above-mentioned picture synchronization device and method, the message that feasible serial connection is sent to is after reception, according to the classification of message, utilize multi-threading to carry out parallel processing, can not be dropped to guarantee message because of failing in time to handle, to keep the smoothness of game picture, simultaneously, because the high message of importance can be guaranteed the instantaneity and the synchronism of game picture by priority processing.
Description of drawings
For above-mentioned purpose of the present invention, feature and advantage can be become apparent, embodiment cited below particularly, and conjunction with figs., it is as follows to be elaborated:
Fig. 1 has shown the synoptic diagram that has the game machine of picture synchronization device according to the embodiment of the invention.
Fig. 2 is for showing the synoptic diagram according to the message format of the embodiment of the invention.
Fig. 3 has shown the process flow diagram that receives and handle message according to embodiment of the invention picture synchronizing method.
Fig. 4 has shown the process flow diagram that produces and send message according to embodiment of the invention picture synchronizing method.
Embodiment
As previously mentioned, the invention provides the picture synchronization device, it can be used with the various e-machines that can carry out the recreation of instant network line, make the picture of network connectivity recreation can keep instantaneity, and use the game picture that game machine presented of picture synchronization device of the present invention and the picture synchronization that REMOTE MACHINE presented of other participation recreation.
Fig. 1 has shown the synoptic diagram that has the game machine of picture synchronization device according to the embodiment of the invention.Game machine 10 can be any e-machine that can carry out the network connectivity recreation, as PC, mobile phone etc., it has display screen 11, communication device 13, treating apparatus 15 and memory storage 17, the picture data that makes network connectivity play shows output via display screen 11 after handling via communication device 13 receptions and treating apparatus 17.
Wherein, communication device 13 is in order to set up line with the transmitting-receiving message, and its line communication modes can be wired line communication or the communication of wireless transmission line.Wherein above-mentioned message comprises the message body that a class information, that indicates above-mentioned message content important level indicates the classification information and a record message content itself of above-mentioned message content type, and the form of above-mentioned message is referring to Fig. 2.
Memory storage 17 is coupled in communication device 13, has a message formation storage area 171 to store the above-mentioned message that communication device 13 is received, wherein there is at least one message waiting list 173 message formation storage area 171, each message waiting list 173 is corresponding with the kind in the above-mentioned classification information, and each message waiting list 173 comprises at least one above-mentioned message, sends to the time of communication device 13 according to above-mentioned message and arranges in regular turn.
Treating apparatus 15 and communication device 13 and memory storage 17 couplings, to receive above-mentioned message and to handle above-mentioned message according to the above-mentioned classification information and the above-mentioned class information of above-mentioned message, it will be denoted as the above-mentioned message priority processing of high importance rate, and will not be denoted as high importance rate according to the parallel processing respectively of above-mentioned classification information.Treating apparatus 155 is after communication device 13 receives above-mentioned message, read the class information of above-mentioned message, to determine whether it is denoted as high importance rate, the high importance rate if this message mark declines, the above-mentioned class information of then instant processing is denoted as the above-mentioned message of high importance rate, be not denoted as the above-mentioned message of high importance rate for above-mentioned class information, then it be written in the message waiting list 173 of correspondence of message formation storage area 17 according to above-mentioned classification information.And treating apparatus 15 is above-mentioned messages of handling in a parallel manner in each message waiting list 173, and it is according to the above-mentioned message in the corresponding message waiting list 173 of first in first out processing, that is elder generation handles the message of reception early.Treating apparatus 15 also has the corresponding above-mentioned class information and the above-mentioned message of classification information in order to generation, it at first produces a message body, and determine the importance rate and the classification of above-mentioned message body, the classification information that indicates the class information of above-mentioned message content important level and indicate above-mentioned message content type is additional to above-mentioned message body, and above-mentioned message body and the above-mentioned class information of being added thereof and above-mentioned classification information are packaged as a message and are sent to communication device 13.After communication device 13 receives the above-mentioned message that is sent by treating apparatus 15, will send out after its message body and above-mentioned class information and the classification information packing.
Fig. 2 has shown the synoptic diagram of the message format that above-mentioned game machine 10 receives and sends.Message structure 20 comprises 3 parts: class information field 21, classification information field 23 and message body field 25.Wherein, class information field 21 is in order to the class information of the above-mentioned message content important level of record sign, and classification information field 23 is in order to write down the classification information of the content type that indicates above-mentioned message, 25 contents in order to record message body of message body field.
Game machine 10 is implemented picture synchronizing method of the present invention and is received and dispatched and handle above-mentioned message, make that the display screen 11 shown pictures of game machine 10 can be synchronous with other REMOTE MACHINEs that participate in recreation, the process flow diagram of above-mentioned picture synchronizing method as shown in Figures 3 and 4.Referring to Fig. 3, when a message with message structure 20 shown in Figure 2 is sent to game machine 10, (step S31) that picture synchronization device 13 receives and the class information (step S32) that reads message earlier, and judge whether it is important information (step S33), if above-mentioned class information is denoted as high importance rate, then handle message (step S35) by treating apparatus 15, if the above-mentioned class information of message is not denoted as high importance rate, then read above-mentioned classification information by treating apparatus 15, classification with the decision message, and according to above-mentioned classification information it is written in the message waiting list 173 of correspondence of message formation storage area 171 (step S37), handle message (step S39) in the corresponding message waiting list 173 by treating apparatus 15 in regular turn according to the principle of first in first out again.
When game machine 10 users assign a game command (for example: move a certain game role), then the picture synchronization device is carried out message generation and router, and its process flow diagram as shown in Figure 4.At first,, produce a message body (step S41), insert in the message body field 25 (each field of message structure is referring to Fig. 2) according to the command content that the user assigns.Determine the importance rate of above-mentioned message body again, and the class information that will indicate above-mentioned message content important level is additional to above-mentioned message body (step S43), inserts in the class information field 21.Continue it, determine the classification of above-mentioned message body, and the classification information that will indicate above-mentioned message content type is additional to above-mentioned message body (step S45), insert in the classification information field 23.At last, above-mentioned message body and the above-mentioned class information of being added thereof and above-mentioned classification information are packaged as a message and transmit (step S47).
The class information of message and classification information are that the principle of its decision can be decided according to actual needs by its transmitting terminal decision.In general, following several message often belongs to the message that is denoted as high importance rate: recreation begins message, game over message, periodicity picture state message, requires response message.Wherein, above-mentioned periodicity picture state message is meant that game machine is pre-regularly apart from other REMOTE MACHINEs that participate in recreation are sent the game picture message status every one, above-mentioned pre-timing decides according to practical factors such as network connectivity situations apart from the length system of (that is, transmission cycle).Transmission by periodicity picture state message, make to participate in the progress that the distal actuator of recreation can its game picture of regular calibration, thus, even participate in recreation REMOTE MACHINE because network package lose etc. former thereby cause picture asynchronous, also can correct, make the hysteresis of picture can not accumulate and cause recreation to carry out by above-mentioned periodicity picture state message.The above-mentioned requirements response message refers to that requirement receives the message that the message end is responded immediately, this normally occurs in the game player and must wait a side who receives message and give a response the situation that could carry out next step recreation again, before not obtaining the other side's response as yet, the message transmitting terminal can't be proceeded recreation, therefore, the general system of this type of message is denoted as high importance message, in order to avoid make recreation stagnate because waiting response.
The classification of message decides according to handling the required system resource of above-mentioned message body.Belong to of a sort message and have identical classification information, after reception, be written into same message waiting list, and the message in the same message waiting list is handled by the pairing queue processing of above-mentioned message waiting list unit.
As previously mentioned, the present invention is for solving the nonsynchronous problem of picture of legacy network line recreation, utilize the operating system of supporting the multi-threading running, the reception of message is handled with handling respectively by different processing unit (in fact can by the real works of a plurality of Threads), use resource to classify according to its importance classification and according to it message simultaneously, transferring to different processing unit (important message processing unit and several queue processing unit in parallel) respectively handles, make the picture of network connectivity recreation can keep instantaneity, and use the game picture that game machine presented of picture synchronization device of the present invention and the picture synchronization that REMOTE MACHINE presented of other participation recreation.
Though the present invention discloses as above with preferred embodiment; right its is not in order to limit the present invention; anyly be familiar with present technique field person; without departing from the spirit and scope of the present invention; when can doing a little change and retouching, so protection scope of the present invention is as the criterion when looking accompanying the claim person of defining.

Claims (10)

1, a kind of picture synchronizing method of instant network line recreation, it comprises:
An one message formation working storage and a processor are provided, there is at least one message waiting list in the wherein above-mentioned message formation working storage, wherein above-mentioned processor has at least one processing unit in parallel, and each above-mentioned processing unit is corresponding to an above-mentioned message waiting list;
Receive a message, wherein above-mentioned message comprises the class information that a classification information and that indicates above-mentioned message content type indicates above-mentioned message content important level;
Read above-mentioned class information;
When the above-mentioned class information of above-mentioned message is denoted as high importance rate, handle above-mentioned message;
When the above-mentioned class information of above-mentioned message is not denoted as high importance rate, read above-mentioned classification information;
Above-mentioned message is written into the above-mentioned message waiting list of above-mentioned message formation working storage according to above-mentioned classification information; And
Above-mentioned message in the above-mentioned message waiting list of above-mentioned processing unit processes correspondence.
2, picture synchronizing method as claimed in claim 1 is characterized in that, above-mentioned processing unit is according to the above-mentioned message in the corresponding above-mentioned message waiting list of first in first out processing.
3, picture synchronizing method as claimed in claim 1 is characterized in that, comprises that further a message generates and router, and it comprises:
Produce a message body;
Determine the importance rate of above-mentioned message body, and the class information that will indicate above-mentioned message content important level is additional to above-mentioned message body;
Determine the classification of above-mentioned message body, and the classification information that will indicate above-mentioned message content type is additional to above-mentioned message body; And
Above-mentioned message body and the above-mentioned class information of being added thereof and above-mentioned classification information are packaged as a message and transmit.
4, picture synchronizing method as claimed in claim 3 is characterized in that, the decision of classification information is according to handling the required system resource of above-mentioned message body for it.
5, picture synchronizing method as claimed in claim 1 is characterized in that, the above-mentioned message that is denoted as high importance rate is in the following message any one: recreation begins message, game over message, periodicity picture state message, requires response message.
6, a kind of line game device with instant synchronizing picture, it comprises:
One communication device, in order to set up line with the transmitting-receiving message, wherein above-mentioned message comprises the class information that a classification information and that indicates above-mentioned message content type indicates above-mentioned message content important level;
One memory storage, it is to be coupled in above-mentioned communication device, has a message formation storage area to store the above-mentioned message that above-mentioned communication device is received, there is at least one message waiting list wherein above-mentioned message formation storage area;
One treating apparatus, itself and above-mentioned communication device and the coupling of above-mentioned memory storage, to receive above-mentioned message and to handle above-mentioned message according to the above-mentioned classification information and the above-mentioned class information of above-mentioned message, it will be denoted as the above-mentioned message priority processing of high importance rate, and will not be denoted as high importance rate according to the parallel processing respectively of above-mentioned classification information; And
One display device, itself and above-mentioned treating apparatus are coupled, and handle the display frame as a result of above-mentioned message according to above-mentioned treating apparatus.
7, line game device as claimed in claim 6 is characterized in that, above-mentioned treating apparatus further reads the above-mentioned classification information of above-mentioned message, and according to above-mentioned classification information it is written in the message waiting list of correspondence of above-mentioned message formation storage area.
8, line game device as claimed in claim 6 is characterized in that, above-mentioned treating apparatus is further handled above-mentioned message in the above-mentioned message waiting list according to first in first out.
9, line game device as claimed in claim 6, it is characterized in that, wherein above-mentioned treating apparatus further produces a message body, and determine the importance rate and the classification of above-mentioned message body, the classification information that indicates the class information of above-mentioned message content important level and indicate above-mentioned message content type is additional to above-mentioned message body, and above-mentioned message body and the above-mentioned class information of being added thereof and above-mentioned classification information are packaged as a message and are sent to above-mentioned communication device.
10, line game device as claimed in claim 9 is characterized in that, above-mentioned treating apparatus further determines above-mentioned classification information according to handling the required system resource of above-mentioned message body.
CNB2003101095566A 2003-12-19 2003-12-19 Frame synchronizing method and device for instant network connection game Expired - Lifetime CN1293470C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2003101095566A CN1293470C (en) 2003-12-19 2003-12-19 Frame synchronizing method and device for instant network connection game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2003101095566A CN1293470C (en) 2003-12-19 2003-12-19 Frame synchronizing method and device for instant network connection game

Publications (2)

Publication Number Publication Date
CN1629809A true CN1629809A (en) 2005-06-22
CN1293470C CN1293470C (en) 2007-01-03

Family

ID=34843095

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2003101095566A Expired - Lifetime CN1293470C (en) 2003-12-19 2003-12-19 Frame synchronizing method and device for instant network connection game

Country Status (1)

Country Link
CN (1) CN1293470C (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100428255C (en) * 2006-07-10 2008-10-22 华为技术有限公司 Method and device for implementing on-line real-time game in terminal
CN101420347B (en) * 2008-03-18 2011-11-09 王睿斌 Method for synchronously running Flash single-machine double-player game on dual hosts
TWI507914B (en) * 2010-10-29 2015-11-11 Inventec Corp System and method for executing online games on handheld electronic devices

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002045572A (en) * 2000-08-01 2002-02-12 Konami Computer Entertainment Osaka:Kk Game progress control method, game system, and server
WO2003039142A1 (en) * 2001-10-29 2003-05-08 Matsushita Electric Industrial Co., Ltd. Video/audio synchronization apparatus

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100428255C (en) * 2006-07-10 2008-10-22 华为技术有限公司 Method and device for implementing on-line real-time game in terminal
CN101420347B (en) * 2008-03-18 2011-11-09 王睿斌 Method for synchronously running Flash single-machine double-player game on dual hosts
TWI507914B (en) * 2010-10-29 2015-11-11 Inventec Corp System and method for executing online games on handheld electronic devices

Also Published As

Publication number Publication date
CN1293470C (en) 2007-01-03

Similar Documents

Publication Publication Date Title
US6763371B1 (en) Method and apparatus for collaborative communication in a communication network
EP1618930B1 (en) Image display system, image processing system, and a video game system
CN100591120C (en) Video communication method and apparatus
AU762194B2 (en) A method of relaying digital video and audio data via a communication media
JP3429789B2 (en) Screen display device control method
CN107924575A (en) The asynchronous 3D annotations of video sequence
CN103918011B (en) Rendering system, rendering server and its control method
CN103918012A (en) Rendering system, rendering server, control method thereof, program, and recording medium
JPS6099283A (en) System and apparatus for performing video game through telephone cable
US20110037776A1 (en) Method and Apparatus For The Identification and Selective Encoding of Changed Host Display Information
CN107924587A (en) Object is directed the user in mixed reality session
CN107211172A (en) Shared scene grid data syn-chronization
CN1196150A (en) Data processing system
CN109358951B (en) SPICE protocol-based display method for intelligently supporting direct connection of display cards and virtual display cards
AU4794000A (en) Method and apparatus in a communication network
CN105183269B (en) Method for automatically identifying screen where cursor is located
TW575447B (en) Network system processing method and network system
CN1293470C (en) Frame synchronizing method and device for instant network connection game
CN101389385B (en) Communication game system, communication game control method
CN107222711A (en) Monitoring system, method and the client of warehoused cargo
CN1540954A (en) Method for controlling flux of audio and video flow transferred in IP video meeting system
CN101917480A (en) Information transmission method and system for a plurality of Bluetooth equipments
CN109600423A (en) Method of data synchronization, device, electronic equipment and storage medium
CN101420347B (en) Method for synchronously running Flash single-machine double-player game on dual hosts
WO2011099731A2 (en) Method for synchronising character information according to data-type classification

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20161212

Address after: 100085 Beijing city Haidian District Qinghe Street No. 68 Huarun colorful city shopping center two floor 9 room 01

Patentee after: BEIJING XIAOMI MOBILE SOFTWARE Co.,Ltd.

Address before: 200233 Shanghai City Guiqin Road No. 7

Patentee before: Inventec Appliances (Shanghai) Co.,Ltd.

CX01 Expiry of patent term
CX01 Expiry of patent term

Granted publication date: 20070103