CN1629809A - Frame synchronizing method and device for instant network connection game - Google Patents
Frame synchronizing method and device for instant network connection game Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 238000004148 unit process Methods 0.000 claims abstract description 3
- 238000004891 communication Methods 0.000 claims description 23
- 230000015572 biosynthetic process Effects 0.000 claims description 13
- 230000005055 memory storage Effects 0.000 claims description 8
- 230000004044 response Effects 0.000 claims description 6
- 230000008878 coupling Effects 0.000 claims description 4
- 238000010168 coupling process Methods 0.000 claims description 4
- 238000005859 coupling reaction Methods 0.000 claims description 4
- 230000008569 process Effects 0.000 abstract description 7
- 238000010586 diagram Methods 0.000 description 8
- 230000005540 biological transmission Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000012856 packing Methods 0.000 description 1
Images
Landscapes
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
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
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.
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)
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)
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 |
CN1292588C (en) * | 2001-10-29 | 2006-12-27 | 松下电器产业株式会社 | Video-voice synchronizer |
-
2003
- 2003-12-19 CN CNB2003101095566A patent/CN1293470C/en not_active Expired - Lifetime
Cited By (3)
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 | |
US6230162B1 (en) | Progressive interleaved delivery of interactive descriptions and renderers for electronic publishing of merchandise | |
AU762194B2 (en) | A method of relaying digital video and audio data via a communication media | |
JP3429789B2 (en) | Screen display device control method | |
CN104137562B (en) | The frame-grab at source device and caching in wireless display system | |
CN103181177B (en) | Image processing system, image processing method, dynamic image transmission device, and dynamic image reception device | |
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 | |
CN1196150A (en) | Data processing system | |
CN108040245A (en) | Methods of exhibiting, system and the device of 3-D view | |
CN108200447A (en) | Live data transmission method, device, electronic equipment, server and storage medium | |
AU4794000A (en) | Method and apparatus in a communication network | |
CN109358951B (en) | SPICE protocol-based display method for intelligently supporting direct connection of display cards and virtual display cards | |
CN107333095A (en) | The processing system of media resource | |
CN103327264B (en) | Concentrating type intercuts control system and method and concentrating type intercuts management end | |
CN101452418A (en) | Method and system for computer management | |
CN1293470C (en) | Frame synchronizing method and device for instant network connection game | |
CN101389385B (en) | Communication game system, communication game control method | |
CN104391886A (en) | Electronic book sending method and device | |
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 | |
CN101420347B (en) | Method for synchronously running Flash single-machine double-player game on dual hosts | |
CN109600423A (en) | Method of data synchronization, device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
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 |