CN109731330A - The display methods and device of picture, storage medium, electronic device - Google Patents

The display methods and device of picture, storage medium, electronic device Download PDF

Info

Publication number
CN109731330A
CN109731330A CN201910100386.6A CN201910100386A CN109731330A CN 109731330 A CN109731330 A CN 109731330A CN 201910100386 A CN201910100386 A CN 201910100386A CN 109731330 A CN109731330 A CN 109731330A
Authority
CN
China
Prior art keywords
client
result
state
server
virtual scene
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
CN201910100386.6A
Other languages
Chinese (zh)
Other versions
CN109731330B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201910100386.6A priority Critical patent/CN109731330B/en
Publication of CN109731330A publication Critical patent/CN109731330A/en
Application granted granted Critical
Publication of CN109731330B publication Critical patent/CN109731330B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Processing Or Creating Images (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of display methods of picture and device, storage medium, electronic device.Wherein, this method comprises: detecting that the control operation triggered on the client, control operation are used to indicate that state change is performed to the object in virtual scene;The first request is sent to server, first request is used for the first result of request, the Status Change to the object in virtual scene that first result is server to be determined according to control operation and the first information as a result, the first information be server preservation with the associated information of object in virtual scene;Before the first result for getting server return, the second result is determined according to control operation and the second information on the client, second result be client determine Status Change as a result, the second information be client save with the associated information of object in virtual scene;The picture of the second result is shown in the client.The present invention solves animation play in the related technology and there is technical issues that.

Description

The display methods and device of picture, storage medium, electronic device
Technical field
The present invention relates to internet areas, display methods and device, storage medium in particular to a kind of picture, Electronic device.
Background technique
In recent years, with the popularity of the internet, online game has obtained great development, in online game, Yong Huxu It is mobile to realize certain purposes to be operable to object in control game, for example reaches certain specific positions or makes certain Movement, these movements need system to carry out mobile logical operation.The logical operation of such movement is carried out on server end, Again from server end to all clients issue logical operation as a result, mobile in order to show above-mentioned object on the client Picture.
In the above scheme, due between game server and player's client data transmission need time, game services There is delay in the time between device and player's client, the logical operation of game server needs the reasons such as certain time, cause Client there is certain hysteresis quality such as to show as client to affect user experience the response of the operation of user There is Caton in the game animation locally played.
For above-mentioned problem, currently no effective solution has been proposed.
Summary of the invention
The embodiment of the invention provides a kind of display methods of picture and device, storage medium, electronic device, at least to solve Certainly animation play in the related technology there is technical issues that.
According to an aspect of an embodiment of the present invention, a kind of display methods of picture is provided, comprising: detect in client The control operation triggered on end, wherein control operation is used to indicate that state change is performed to the object in virtual scene;To service Device sends the first request, wherein the first request is for request first as a result, the first result is that server is operated according to control With the first information determine the Status Change to the object in virtual scene as a result, the first information be server save with it is virtual The associated information of object in scene;Before the first result for getting server return, grasped on the client according to control Make and the second information determines the second result, wherein the second result is that the state of the object in the virtual scene that client determines becomes More as a result, the second information be client save with the associated information of object in virtual scene;It is operated in response to control, in visitor The picture of the second result is shown in the end of family.
According to another aspect of an embodiment of the present invention, a kind of display device of picture is additionally provided, comprising: detection unit, For detect trigger on the client control operation, wherein control operation be used to indicate to the object in virtual scene into Row Status Change;Transmission unit, for sending the first request to server, wherein the first request is used for the first knot of request Fruit, the first result are the Status Change knot to the object in virtual scene that server is determined according to control operation and the first information Fruit, the first information be server save with the associated information of object in virtual scene;Determination unit, for getting clothes It is engaged in front of the first result that device returns, the second result is determined according to control operation and the second information on the client, wherein second As a result be client determine virtual scene in object Status Change as a result, the second information be client save with it is virtual The associated information of object in scene;Pre-display unit shows the second result for operating in response to control in the client Picture.
According to another aspect of an embodiment of the present invention, a kind of storage medium is additionally provided, which includes storage Program, program execute above-mentioned method when running.
According to another aspect of an embodiment of the present invention, it additionally provides a kind of electronic device, including memory, processor and deposits The computer program that can be run on a memory and on a processor is stored up, processor executes above-mentioned side by computer program Method.
In embodiments of the present invention, the control operation triggered on the client is detected, wherein control operation is used to indicate To the object in virtual scene, state change is performed;The first request is sent to server, wherein the first request is used for request First as a result, the first result is the state to the object in virtual scene that server is determined according to control operation and the first information Change as a result, the first information be server save with the associated information of object in virtual scene;It is operated in response to control, Before the first result for getting server return, the picture of the second result is shown in the client, and the second result is client According to the Status Change to the object in virtual scene of control operation and the second information prediction as a result, the second information is client Save with the associated information of object in virtual scene, due to client do not have to until first server return first as a result, And the second of Client Prediction is directly showed in advance in client as a result, so as to solve animation play presence in the related technology The technical issues of lag, and then reach the technical effect responded immediately to the control operation of user.
Detailed description of the invention
The drawings described herein are used to provide a further understanding of the present invention, constitutes part of this application, this hair Bright illustrative embodiments and their description are used to explain the present invention, and are not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the schematic diagram of the hardware environment of the display methods of picture according to an embodiment of the present invention;
Fig. 2 is a kind of flow chart of the display methods of optional picture according to an embodiment of the present invention;
Fig. 3 is a kind of schematic diagram at optional game operation interface according to an embodiment of the present invention;
Fig. 4 is the schematic diagram of interaction in the optional CS framework of one of the relevant technologies;
Fig. 5 is the schematic diagram of interaction in a kind of optional CS framework according to an embodiment of the present invention;
Fig. 6 is the schematic diagram of interaction in a kind of optional CS framework according to an embodiment of the present invention;
Fig. 7 is the schematic diagram of interaction in the optional CS framework of one of the relevant technologies;
Fig. 8 is the schematic diagram of interaction in a kind of optional CS framework according to an embodiment of the present invention;
Fig. 9 is a kind of schematic diagram of the display device of optional picture according to an embodiment of the present invention;
And
Figure 10 is a kind of structural block diagram of terminal according to an embodiment of the present invention.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present invention Attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is only The embodiment of a part of the invention, instead of all the embodiments.Based on the embodiments of the present invention, ordinary skill people The model that the present invention protects all should belong in member's every other embodiment obtained without making creative work It encloses.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product Or other step or units that equipment is intrinsic.
One side according to an embodiment of the present invention provides a kind of embodiment of the method for the display methods of picture.
Optionally, in the present embodiment, the display methods of above-mentioned picture can be applied to as shown in Figure 1 by terminal 101 In the hardware environment of the CS framework (Client-Server network synchronization architecture) constituted with server 103 (i.e. Server).Such as Shown in Fig. 1, server 103 is attached by network with terminal 101, and server 103 can be used for executing management resource, and execute The computer software of service (such as game services, social interaction server) is provided for user, it is mountable for using service in terminal 101 The client (Client) of device service provided is requested as client is sent when needing the service to server, server fortune It calculates core logic and then issues implementing result to client, implementing result is showed by client.Can on the server or independently of Database 105 is arranged in server, and for providing data storage service for server 103, above-mentioned network includes but is not limited to: wide area Net, Metropolitan Area Network (MAN) or local area network, terminal 101 are not limited to PC, mobile phone, tablet computer etc..
The display methods of the picture of the embodiment of the present invention can be executed by terminal 101, and terminal 101 executes implementation of the present invention The display methods of the picture of example is also possible to be executed by client mounted thereto.What the technical solution of the application was applicable in Scene includes but is not limited to following scene:
The technical solution of the application can be applied in the social scene using the technologies such as augmented reality AR, Virtual Reality In, the social scene provided at this time is equivalent to virtual scene, in the social application using augmented reality AR, Virtual Reality etc. In, after user logs in, there are an object (being equivalent to following first objects) corresponding with login user in virtual scene, The object can manipulate affiliated stage property (i.e. the second object) in virtual scene, (detect in the first object of user's control To when control operation), the first request that synchronously control operates can be sent to server, in the first knot for receiving server feedback Before fruit, client can be estimated according to identical algorithm second as a result, and to carry out prefiguration existing, and do not have to wait until server feedback The first result after showed again, the operation that user can be allowed to experience oneself is responded rapidly to, so as to provide user Experience.
Similarly, the technical solution of the application can be applied in scene of game, such as MOBA game (Multiplayer Online Battle Arena, Chinese are translated into the online tactics competitive game of more people), FPS game (First-person Shooter game, Chinese are translated into first person shooting game), TPS game (Third-person shooter game, in Text is translated into third person shooting game) etc., the scene of game that game at this time provides is equivalent to virtual scene, when player is in During game, there are a game roles (being equivalent to following first objects) corresponding with player in virtual scene, should Role can be in virtual scene using stage properties (being equivalent to the second object) such as gun, grenades, when player controls the first object (when detecting control operation) can send the first request that synchronously control operates to server, receive server feedback The first result before, client can be estimated according to identical algorithm second as a result, and to carry out prefiguration existing, and do not have to until clothes It being showed again after first result of business device feedback, the operation that player can be allowed to experience oneself is responded rapidly to, so as to User experience is provided.
Fig. 2 is a kind of flow chart of the display methods of optional picture according to an embodiment of the present invention, as shown in Fig. 2, should Method may comprise steps of:
Step S202, terminal detect that the control operation triggered on the client, control operation are used to indicate to virtual field State change is performed for object in scape.
Above-mentioned client can be the game applications such as MOBA game or shooting game, using augmented reality AR or Virtual Reality Etc. technologies social application be mounted in above-mentioned terminal after be formed by client;Virtual scene provided by client can be trip The scenes such as play scene, social scene;Object (such as the first object, the second object) is related to user right in virtual scene As such as user's mapping (i.e. for indicating the virtual objects of user oneself) of oneself, the pet of oneself, stage property in social scene Deng user's operated role, used stage property etc. in gaming for another example;Above-mentioned state can be object in virtual scene The state of scene ground location, object is in the state of virtual scene spatial location, state of expanded size etc..
Step S204, terminal to server send the first request, and the first request is for request first as a result, the first knot Fruit is the Status Change to the object in virtual scene that server is operated according to control and the first information determines as a result, the first letter Breath be server save with the associated information of object in virtual scene.
The technical solution of the application is suitable for CS framework, the i.e. framework of terminal and server composition, for terminal, Operation in the client of terminal needs the approval via server, therefore, can be to when detecting control operation on the client Server sends the first request, at the same time, need to also be by server if game is multiplayer with the license of request server Control operation is synchronized to the client of other players, the Status Change result that server determines can be used to indicate that server is Deny can to the object in virtual scene, state change is performed, in the case where approval, may further be used to indicate in virtual scene The object amount of change that state change is performed, such as mobile distance.
Step S206, before the first result for getting server return, terminal is operated according to control on the client With the second information determine second as a result, the second result be client determine virtual scene in object Status Change as a result, Second information be client save with the associated information of object in virtual scene, in other words, the second information and the first information It is the information of same type, but because the synchronizing information between client and server has delay, it is possible that there is visitor The second information and some or all of different situation of the first information that family end saves.
Step S208, operates in response to control, and terminal shows the picture of the second result in the client.
Step S204 and step S206 is the step of execution after step S202, and step S206 and step S208 are serial Execute, the i.e. step S206 that step S208 show obtain second as a result, being had no between step S204 and step S206 successive Sequentially, step S204 and step S206 can be executed parallel, namely detect control operation when, while trigger transmission first request With the pre- performance (confirming and show the picture of the second result in the client) in client;Step S204 can be in step S206 First in the pre- performance of client when executing later, in other words, detecting control operation, the first request is then retransmited to service Device;Step S206 can be executed after step s 204 and before receiving the first result, that is, detect control operation Shi Xianfa Send the first request to server, without returning to first as a result, and directly showing client in advance in client until first server Second result of prediction.
Due to needing time, game garment to the transmission of the data such as the first request, the first result between server and client The logical operation of business device needs the reasons such as certain time, and the response for causing operation of the client to user has certain lag Property, in the step S206-S208 of the application, since client does not have to return to first as a result, and direct until first server Confirm the second result in client and carry out prefiguration and shows the second of Client Prediction as a result, so as to solve in the related technology Animation play there is technical issues that, and then reach the technical effect responded immediately to the control operation of user.
It is said so that the display methods of the picture of the embodiment of the present invention is executed by terminal 101 as an example in above-described embodiment Bright, optionally, the display methods of the picture of the embodiment of the present invention can also be executed jointly by server 103 and terminal 101, such as eventually When end detects the control operation triggered on the client, the first request is sent to server and is getting what server returned Before first result, the picture of the second result is shown in the client, and server is determined according to control operation and the first information To the first result of the object in virtual scene and return to terminal.It continues with the display of the picture of the embodiment of the present invention For method is executed by terminal 101 and as shown in connection with fig. 2 the step of, is illustrated the technical solution of the application:
In the technical solution that step S202 is provided, the object in virtual scene can be divided into two types, one is objective The object (being denoted as the first object) that family end can directly manipulate, the other is the object for being controlled by the first object (is denoted as second pair As), terminal detects that the control operation triggered on the client, control operation are the operation for manipulating the first object, such as The operation of the button of the bounce mark in the lower right corner is clicked shown in Fig. 3, the state that may cause the first object and/or the second object becomes More.
Optionally, in the above-described embodiments, detect that the control triggered on the client operation includes: to examine in the client The first control operation is measured, the first control operation is used to indicate that state change is performed to the first object in virtual scene, such as grasps It controls the first object to be moved, that is, the first object of instruction carries out location status change;And/or it detects in the client To the second control operation, the second control operation is used to indicate that state change is performed to the second object in virtual scene, such as manipulates First object uses carrier (such as vehicle) this second object, is equivalent to the second object of instruction and carries out speed state change.
It optionally, can be as follows in virtual scene before sending the first request to the server Object is pre-created: sending the second request to server, wherein the second request is for request server according to entrained mesh Mark the object in object identity (can be the mark of aforementioned first object and/or the second object) creation virtual scene;It is obtaining Before the creation result returned to server, the object in the virtual scene that pre-creates of client is shown on the client.
Optionally, after showing corresponding second object of target object mark that client pre-creates on the client, It creates in the result instruction successful situation of the second Object Creation, keeps the state of the second object constant;In creation result instruction the In the case where the failure of two Object Creations, the second object pre-created is deleted on the client, and stop the display to the second object. Similarly, for the first object, can also by it is above-mentioned to the second object in the way of handle, repeat no more.
It is current in creation prefiguration, by taking player launches the role of howitzer using a meeting as an example, in the scheme of the relevant technologies, As shown in figure 4, the every click button of player is attempted to launch a howitzer, requires waiting for server and return packet (such as the second request of response The network object of return creates data, the i.e. data of the second object), in the case where vulnerable network, from player by lower button to pomegranate Bullet is practical to be come out, it may be necessary to be asked by the delay of 400ms or more, and when transmitting network object mobile data there is also similar Topic, player experience are very poor.In the scheme of the application, player clicks button and attempts after launching howitzer, and client is without waiting for clothes Business device returns packet, and pre- performance at once creates howitzer (pre-creating network object) and using the mobile howitzer of logic as server (carrying out the pre- performance of location status), after vulnerable network 400ms server returns packet, client is by howitzer data application in advance The howitzer of performance such as compares whether creation result is consistent, and whether compare state outcome consistent, if server agrees to creation and client The position that end locally determines and the position that server end indicates are inconsistent, then howitzer position are interpolated into the position that server issues It sets, player is almost not felt by howitzer and never arrives the delay for this most critical moment occur, to improve player experience.
Above-mentioned network object (NetworkObject) is object (such as game for being simultaneously present in server and client side Object), by server creation and more new state, and notify one in client creation and more new state, such as online game Role, one are rifle, it is believed that are network objects.
In the technical solution that step S204 is provided, terminal to server sends the first request, and the first request is for requesting Obtain first as a result, the first result be server according to control operation and the first information determine to the object in virtual scene Status Change as a result, the first information be server save with the associated information of object in virtual scene.
Optionally, the Status Change of the object in virtual scene includes at least one state phase, and each state phase can Expect to need to consume 2 seconds from being thrown to landing with a corresponding phase identification, such as grenade, 2 ranks can be classified as Section, the 1st second is first stage, and the 2nd second is second stage, knows it is which for the ease of server in stage, to service When device sends the first request, the first request including object identity, operation mark and status indicator is generated, object identity is used for The object in virtual scene is identified, operation mark is used to identify what device to be serviced determined for identifying control operation, status indicator The first result dbjective state stage locating at least one state phase;The first request generated is sent to server.
Optionally, the object mark in the object identity and the first request in the creation information that the server received is sent Sensible to abandon the creation information in the case where, creation information is used to indicate according to entrained object identity in virtual field Object is created in scape, in other words, for the object pre-created, can directly be lost if the creation information for receiving server It abandons.
Optionally, for different types of operation, server can be used corresponding with the operation of the type in polyalgorithm Algorithm (i.e. targeted manner) changes to determine as a result, for example, when the first object of control tosses a grenade This move, needs first Whether the blood volume for looking at the first object is zero, if then baulk, otherwise allows to execute This move, further sees first pair The physical strength value of elephant, for the distance y and physical strength value that grenade is thrown away at x direct ratio, such as y=kx+b, k and b are constant.
In the technical solution that step S206 is provided, before the first result for getting server return, terminal is in visitor On the end of family according to control operation and the second information determine second as a result, the second result be client determine virtual scene in pair The Status Change of elephant as a result, the second information be client save with the associated information of object in virtual scene.
Optionally, terminal determines the second result according to control operation and the second information on the client can include: according to mesh Mark mode determine with control operation and the second information corresponding second as a result, targeted manner be server determine with control operate and Used mode, then shows the picture of the second result in the client when corresponding first result of the first information.
It in the technical solution that step S208 is provided, is operated in response to control, terminal is getting the of server return Before one result, the picture of the second result is shown in the client.
In an alternative embodiment, it if the object in above-mentioned scene includes the first object, shows in the client When the picture of the second result, it can play for indicating the first object that client determines that state change is performed in the client the The animation of two results.
Optionally, show that the picture of the second result can be played only for indicating represented by the second result in the client State single frames picture, can also be showed in the form of animation dynamic state represented by from initial equilibrium state to the second result It draws, i.e., is played in the client for indicating that the first object is changed to the second state indicated by the second result from first state The first picture of multiframe of process, first state are the first object in location before changing.
Optionally, it is played in client for indicating that the first object is changed to indicated by the second result the from first state The first picture of multiframe of the process of two-state, state can be the states such as ground location, spatial position, expanded size, with state For position, can play in the client for indicate the first object from first position be changed to the second position process it is more The first picture of frame, wherein first position is position represented by first state, and the second position is position represented by the second state It sets.
Optionally, the operation in client needs the authentication of server, and the operation needs in client are same by server For step to other clients, information (attack value, the blood volume of such as object) needs in each client are subject to server, such as It is first to determine whether attack is effective by server when the first object in client is attacked by the object in other clients, Then the blood volume for correspondingly reducing by the first object if effectively informs the blood volume after its first object of client is reduced again.Due to The reasons such as information transmission, network delay will cause Asymmetry information of client and server etc., the i.e. first information and the second information Possible difference (such as blood volume is different), it is possible to cause client sharp using the second determining result of the second information and server The first result determined with the first information is different.
In order to guarantee the consistent of client and server, in first knot in the dbjective state stage for receiving server return After fruit, the second state indicated by the second result under the dbjective state stage that Client Prediction obtains and server are returned The dbjective state stage the first result indicated by the third state it is different in the case where, by the state of the first object by the second shape State is corrected as the third state.
Optionally, in order to more show Status Change glibly, by the state of the object in virtual scene by the second shape When state is corrected as the third state, it can play in the client for indicating that the first object is corrected as the third state from the second state The second picture of multiframe of process, for indicating the second state, last frame is used to indicate the third state the second picture of first frame, in Between the second picture be used to indicate that the second state to carry out the intermediate state of transition to the third state, as grenade is winged from role's hand To the picture of track between target.
In another optional embodiment, if the object in above-mentioned scene includes the second object, show in the client When showing the picture of the second result, it can play in the client for indicating what state change is performed for the second determining object of client The animation of second result.
Optionally, the picture of the second result is shown in the client can include: is determined according to targeted manner and is controlled operation Corresponding with the second information second as a result, targeted manner is that server determines the first knot corresponding with control operation and the first information Used mode when fruit;Then the picture of the second result is shown in the client.
Optionally, show that the picture of the second result can be played only for indicating represented by the second result in the client State single frames picture, can also be showed in the form of animation dynamic state represented by from initial equilibrium state to the second result It draws, i.e., is played in the client for indicating that the second object is changed to the second state indicated by the second result from first state The first picture of multiframe of process, first state are the second object in location before changing.
Optionally, it is played in client for indicating that the second object is changed to indicated by the second result the from first state The first picture of multiframe of the process of two-state, state can be the states such as ground location, spatial position, expanded size, with state For position, can play in the client for indicate the second object from first position be changed to the second position process it is more The first picture of frame, wherein first position is position represented by first state, and the second position is position represented by the second state It sets.
In order to guarantee the consistent of client and server, in first knot in the dbjective state stage for receiving server return After fruit, the second state indicated by the second result under the dbjective state stage that Client Prediction obtains and server are returned The dbjective state stage the first result indicated by the third state it is different in the case where, by the state of the second object by the second shape State is corrected as the third state.
Optionally, in order to more show Status Change glibly, by the state of the object in virtual scene by the second shape When state is corrected as the third state, it can play in the client for indicating that the second object is corrected as the third state from the second state The second picture of multiframe of process.
If the object in above-mentioned scene includes the first object and the second object, the first object and the second object are pressed respectively It is handled according to above scheme, details are not described herein.
In the scheme that above-mentioned carry out state shows in advance, by taking the role that player is rolled using a meeting as an example, in related skill In the scheme of art, the every click button trial of player is rolled, and is required waiting for server and is returned packet, in the case where vulnerable network, Enter tumbling state by lower button to role from player and carry out practical rolling, it may be necessary to by the delay of 400ms or more, player It experiences very poor.In the technical solution of the application, player clicks button and attempts after rolling, and client withouts waiting for server and returns Packet, the role that makes a display of one's in advance at once enter tumbling state and carry out rolling animation using the logic as server and turn over Rolling movement, after the server under vulnerable network returns packet, client has received role's tumbling state result just now and position, visitor If the state that family end verifies out this server state and client showed in advance just now is consistent, so as to directly ignore this A server returns packet, and client continues state and shows in advance, so that player is almost not felt by role's roll procedure Delay, to improve player experience.
The game of CS framework in the related technology is realized, pre- performance mechanism is lacked, this can allow game in vulnerable network, It allows player to have obvious delay sense, influences player's feel.And the technical solution of the application has made the pre- performance of innovation in bottom Mechanism, using the technical solution of the application, will allow player to exist if network object creates pre- performance, network object state shows in advance In the game process of vulnerable network, the operation of player can be fed back in the form of animation immediately, so that player's impression is in one's hands Sense is rapid in time, to improve player experience.
As a kind of optional embodiment, it is described in further detail for the technical solution of the application is applied to game below The technical solution of the application, it is similar if the technical solution of the application is applied to social activity, it repeats no more.
It is the creation of the network frames lower network objects (NetworkObject) such as current Unity/Unreal as shown in 3 figures (Spawn) process, client send order (Command, i.e., the second request) and give server, and server executes creation logic (Spawn Logic) determines to generate, and sends creation data (Spawn Data) to client;After creation is completed, server Also other logics, such as movement (Movement) logic of created object are executed, and sends exercise data (i.e. mobile data) To client, after client receives creation data, corresponding network object is locallyd create in client;Client receives fortune After dynamic data, allows network object to move according to exercise data, real creation can be issued commands to from user as seen from Figure 4 Object, it may be necessary to which the time for postponing 40ms-400ms brings the experience of very bad delay sense to user.
Above-mentioned Unity, Unreal are game engine (Game Engine), refer to some editable computer trips write The core component of play system or some interactive realtime graphic application programs, such as shooting game, game engine can be trip Play ejaculator provide it is various write game needed for tools, allow game ejaculator can easily and quickly make games without With by zero.
And the creation of the application shows logic in advance as shown in figure 5, sending order (Command) to service in player's client After device, client is not to wait for server, is locally pre-creating network object at once, and allows net with server the same logic Network object is moved.When pre-creating, client can generate a predictSpawnId, and (for example value is 1, i.e. object mark Know), and be attached in Command and issue server.If server agrees to creation (Spawn), creation data are also sent (Spawn Data) to client and this subsidiary predictSpawnId (for example value is 1), server also executes other logics For example it moves (Movement) logic and sends data to client.After client receives this predictSpawnId, it is known that Corresponding is exactly network object A, generates A to not have to repeat, and Spawn information is only assigned to object A.For movement Information, because client is demonstrated by position in advance, if the position of indirect assignment object A has mutation, visual experience is bad, So needing an interpolation, the position of client existing object A is slowly interpolated into server and is told to the true of client Position.
Even if being improved through the above technical solutions, client can also promptly appreciate that object A in the case where vulnerable network User experience.
Optionally, if the current creation of server refusal, client needs logic and cancels pre-creating for oneself, such as Fig. 6 It is shown, when pre-creating (i.e. time-out in the case where) after a certain period of time, do not receive the correspondence of server return yet The creation message of predictSpawnId, then client needs to destroy this network object A.
Other than showing creation network object in advance, network object already existing for player exercises, when these networks pair When as generating state variation, client can also show in advance its carry out state.
As shown in fig. 7, conventional client server game can wait after client sends Command (the i.e. first request) After the state change of device to be serviced issues, just state is applied and gives network object A.As can be seen from Figure 7 it can issue and order from user Really change to Obj State, it may be necessary to which the time for postponing 40ms-400ms brings the body of bad delay sense to user It tests.
And in the technical solution of the application, as shown in figure 8, the free position for network object (including is not limited to position Set movement, object logics major state, the sub- state of object logics, free position on scheduling theory), client and server increases for it The logic of number of state indexes (StatusIndex), client-server carry out same operation according to consistent logic simultaneously, so While client issues Command, client can operation new state at once, and network object is allowed to be equal to the with number of state indexes K identity shows in advance enters new state, returns packet without waiting for server, client can be the state and shape of this pre- performance State serial number saves.After server receives Command, executes same logic and carry out operation, and checkout result shape State data (Status Data) and number of state indexes (StatusIndex) issue client.After client receives, according to clothes The number of state indexes of business device finds the number of state indexes that client saved just now, and corresponding status data is taken to be compared, if than More equal, then Client Prediction success, will directly abandon this server data, if more unequal, Client Prediction Failure, will be applied to the status data of server this network object of client, i.e. the state of network object is retracted.
Using the technical solution of the application, even if client can also promptly appreciate that the shape of object in the case where vulnerable network State variation, the experience of player can obtain more real-time feedback, allow user to be almost not felt by the presence of vulnerable network, improve use Family experience.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
Through the above description of the embodiments, those skilled in the art can be understood that according to above-mentioned implementation The method of example can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but it is very much In the case of the former be more preferably embodiment.Based on this understanding, technical solution of the present invention is substantially in other words to existing The part that technology contributes can be embodied in the form of software products, which is stored in a storage In medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can be mobile phone, calculate Machine, server or network equipment etc.) execute method described in each embodiment of the present invention.
Other side according to an embodiment of the present invention additionally provides a kind of for implementing the display methods of above-mentioned picture The display device of picture.Fig. 9 is a kind of schematic diagram of the display device of optional picture according to an embodiment of the present invention, such as Fig. 9 It is shown, the apparatus may include:
Detection unit 901, for detecting the control triggered on the client operation, wherein control operation is used to indicate To the object in virtual scene, state change is performed.
Above-mentioned client is the game applications such as MOBA game or shooting game, using augmented reality AR or Virtual Reality etc. The social application of technology is formed by client after being mounted in above-mentioned terminal;Provided virtual scene be scene of game, The scenes such as social scene;Object (such as the first object, the second object) is object related to user, such as user in virtual scene The mapping (i.e. for indicating the virtual objects of user oneself) of oneself, the pet of oneself, stage property etc., are used for another example in social scene Family operated role, used stage property etc. in gaming.
Above-mentioned state can be hollow in virtual scene in the state of the scene ground location of virtual scene, object for object Between position state etc..
Transmission unit 903, for sending the first request to server, wherein the first request is used for the first knot of request Fruit, the first result are the Status Change knot to the object in virtual scene that server is determined according to control operation and the first information Fruit, the first information be server save with the associated information of object in virtual scene.
The technical solution of the application is suitable for CS framework, the i.e. framework of terminal and server composition, for terminal, Operation in the client of terminal needs the certification via server, therefore, can be to when detecting control operation on the client Server sends the first request, at the same time, need to also be by server if game is multiplayer with the license of request server Control operation is synchronized to the client of other players.Status Change result can be used to indicate whether server is approved to virtual State change is performed for object in scene, in the case where approval, may further be used to indicate to carry out shape to the object in virtual scene The amount of change of state change, such as mobile distance.
Determination unit 905, for being grasped on the client according to control before the first result for getting server return Make and the second information determines the second result, wherein the second result is that the state of the object in the virtual scene that client determines becomes More as a result, the second information be client save with the associated information of object in virtual scene.
Pre-display unit 907 shows the picture of the second result for operating in response to control in the client.
It should be noted that the detection unit 901 in the embodiment can be used for executing the step in the embodiment of the present application S202, the transmission unit 903 in the embodiment can be used for executing the step S204 in the embodiment of the present application, in the embodiment Determination unit 905 can be used for executing the step S206 in the embodiment of the present application, and the pre-display unit 907 in the embodiment can be with For executing the step S208 in the embodiment of the present application.
Herein it should be noted that above-mentioned module is identical as example and application scenarios that corresponding step is realized, but not It is limited to above-described embodiment disclosure of that.It should be noted that above-mentioned module as a part of device may operate in as In hardware environment shown in FIG. 1, hardware realization can also be passed through by software realization.
Due to needing time, game garment to the transmission of the data such as the first request, the first result between server and client The logical operation of business device needs the reasons such as certain time, and the response for causing operation of the client to user has certain lag Property, by above-mentioned module, since client does not have to return to first as a result, and directly showing in advance in client until first server The second of Client Prediction so as to the animation play for solving in the related technology as a result, there is technical issues that, in turn Reach the technical effect responded immediately to the control operation of user.
Optionally, above-mentioned determination unit can include: determining module, for determining according to targeted manner and controlling operation and the Corresponding second result of two information, wherein targeted manner is that server determines and control operation and the first information corresponding first Used mode when as a result.
Optionally, pre-display unit can also be used in: be played in the client for indicating the object in virtual scene from One Status Change is the first picture of multiframe of the process of the second state indicated by the second result, wherein first state is virtual Object in scene is in location before changing.
Optionally, pre-display unit can also be used in: be played in the client for indicating the object in virtual scene from One position is changed to the first picture of multiframe of the process of the second position, and first position is position represented by first state, and second Position is position represented by the second state.
Optionally, the Status Change of the object in virtual scene includes at least one state phase, wherein transmission unit can It include: generation module, for generating the first request including object identity, operation mark and status indicator, wherein object mark Know for identifying the object in virtual scene, operation mark is for identifying control operation, and status indicator is for identifying device to be serviced The first determining result dbjective state stage locating at least one state phase;Sending module, for being sent out to server The first of generation is sent to request.
Optionally, the device of the application may also include, correcting unit, in the dbjective state for receiving server return After first result in stage, the second state indicated by the second result under the dbjective state stage that Client Prediction obtains It, will be in virtual scene in the case where different from the third state indicated by first result in the dbjective state stage that server returns The state of object the third state is corrected as by the second state.
Optionally, correcting unit can also be used to played in the client for indicating the object in virtual scene from the second shape State is corrected as the second picture of multiframe of the process of the third state, wherein the second picture is for indicating the second state or third shape State or the second state carry out the intermediate state of transition to the third state.
Optionally, client is used to control the first object in virtual scene, wherein detection unit can also be used in client Detect that the first control operates in end, wherein the first control operation, which is used to indicate, carries out shape to the first object in virtual scene State change;Pre-display unit can also be used to played in the client for indicating that the first object that client determines carries out state change The animation of the second result more.
Optionally, detection unit can also be used to detect that the second control operates in the client, wherein the second control operation It is used to indicate that state change is performed to the second object in virtual scene, the second object is controlled by the first object;Pre-display unit It can also be used to played in the client for indicating the dynamic of determining the second object the second result that state change is performed of client It draws.
Optionally, in the case that the object in virtual scene is the second object, transmission unit can also be used in service Before device sends the first request, the second request is sent to server, wherein the second request is for request server according to entrained Target object mark creation virtual scene in object;Before the creation result for getting server return, in client The object in virtual scene that upper displaying client pre-creates, wherein in the creation information that the server received is sent In object identity situation identical with the object identity in the first request, creation information is abandoned, wherein creation information is used to indicate Object is created in virtual scene according to entrained object identity.
Optionally, it is corresponding to can also be used in the target object mark for showing that client pre-creates on the client for correcting unit After second object, in the case where creating result and indicating the failure of the second Object Creation, the pre-created is deleted on the client Two objects, and stop the display to the second object.
It is current in creation prefiguration, by taking player launches the role of howitzer using a meeting as an example, in the scheme of the relevant technologies, As shown in figure 4, the every click button of player is attempted to launch a howitzer, requires waiting for server and return packet (such as the second request of response The network object of return creates data, the i.e. data of the second object), in the case where vulnerable network, from player by lower button to pomegranate Bullet is practical to be come out, it may be necessary to be asked by the delay of 400ms or more, and when transmitting network object mobile data there is also similar Topic, player experience are very poor.In the scheme of the application, player clicks button and attempts after launching howitzer, and client is without waiting for clothes Business device returns packet, and pre- performance at once creates howitzer (pre-creating network object) and using the mobile howitzer of logic as server (carrying out the pre- performance of location status), after vulnerable network 400ms server returns packet, client is by howitzer data application in advance The howitzer of performance such as compares whether creation result is consistent, and whether compare state outcome consistent, if server agrees to creation and client The position that end locally determines and the position that server end indicates are inconsistent, then howitzer position are interpolated into the position that server issues It sets, player is almost not felt by howitzer and never arrives the delay for this most critical moment occur, to improve player experience.
In the scheme that carry out state shows in advance, by taking the role that player is rolled using a meeting as an example, in the relevant technologies In scheme, the every click button trial of player is rolled, and is required waiting for server and is returned packet, in the case where vulnerable network, from object for appreciation Family enters tumbling state by lower button to role and carries out practical rolling, it may be necessary to by the delay of 400ms or more, player experience It is very poor.In the technical solution of the application, player clicks button and attempts after rolling, and client withouts waiting for server and returns packet, The role that makes a display of one's in advance at once enters tumbling state and carries out rolling animation and rolling using the logic as server Mobile, after the server under vulnerable network returns packet, client has received role's tumbling state result just now and position, client If the state that end verifies out this server state and client showed in advance just now is consistent, so as to directly ignore this Server returns packet, and client continues state and shows in advance, so that player is almost not felt by role's roll procedure Delay, to improve player experience.
Herein it should be noted that above-mentioned module is identical as example and application scenarios that corresponding step is realized, but not It is limited to above-described embodiment disclosure of that.It should be noted that above-mentioned module as a part of device may operate in as In hardware environment shown in FIG. 1, hardware realization can also be passed through by software realization, wherein hardware environment includes network Environment.
Other side according to an embodiment of the present invention additionally provides a kind of for implementing the display methods of above-mentioned picture Server or terminal.
Figure 10 is a kind of structural block diagram of terminal according to an embodiment of the present invention, and as shown in Figure 10, which may include: One or more (one is only shown in figure) processors 1001, memory 1003 and transmitting device 1005, as shown in Figure 10, The terminal can also include input-output equipment 1007.
Wherein, memory 1003 can be used for storing software program and module, such as showing for the picture in the embodiment of the present invention Show the corresponding program instruction/module of method and apparatus, the software journey that processor 1001 is stored in memory 1003 by operation Sequence and module realize the display methods of above-mentioned picture thereby executing various function application and data processing.Memory 1003 may include high speed random access memory, can also include nonvolatile memory, as one or more magnetic storage device, Flash memory or other non-volatile solid state memories.In some instances, memory 1003 can further comprise relative to processing The remotely located memory of device 1001, these remote memories can pass through network connection to terminal.The example packet of above-mentioned network Include but be not limited to internet, intranet, local area network, mobile radio communication and combinations thereof.
Above-mentioned transmitting device 1005 is used to that data to be received or sent via network, can be also used for processor with Data transmission between memory.Above-mentioned network specific example may include cable network and wireless network.In an example, Transmitting device 1005 includes a network adapter (Network Interface Controller, NIC), can pass through cable It is connected with other network equipments with router so as to be communicated with internet or local area network.In an example, transmission dress 1005 are set as radio frequency (Radio Frequency, RF) module, is used to wirelessly be communicated with internet.
Wherein, specifically, memory 1003 is for storing application program.
The application program that processor 1001 can call memory 1003 to store by transmitting device 1005, it is following to execute Step:
Detect the control operation triggered on the client, wherein control operation is used to indicate to pair in virtual scene As state change is performed;
The first request is sent to server, wherein the first request is for request first as a result, the first result is service The Status Change to the object in virtual scene that device is determined according to control operation and the first information is as a result, the first information is service Device save with the associated information of object in virtual scene;
Before the first result for getting server return, determined on the client according to control operation and the second information Second result, wherein the second result is the Status Change of the object in the virtual scene that client determines as a result, the second information is Client save with the associated information of object in virtual scene;
It is operated in response to control, shows the picture of the second result in the client.
Processor 1001 is also used to execute following step:
Generate the first request including object identity, operation mark and status indicator, wherein object identity is for identifying Object in virtual scene, operation mark are used to identify device to be serviced determines first for identifying control operation, status indicator As a result the dbjective state stage locating at least one state phase;
The first request generated is sent to server.
Using the embodiment of the present invention, the control operation triggered on the client is detected, wherein control operation is used to indicate To the object in virtual scene, state change is performed;The first request is sent to server, wherein the first request is used for request First as a result, the first result is the state to the object in virtual scene that server is determined according to control operation and the first information Change as a result, the first information be server save with the associated information of object in virtual scene;It is operated in response to control, Before the first result for getting server return, the picture of the second result is shown in the client, wherein the second result is visitor Family end is according to the Status Change to the object in virtual scene of control operation and the second information prediction as a result, the second information is visitor Family end save with the associated information of object in virtual scene, due to client do not have to until first server return the first knot Fruit, and directly the second of Client Prediction is showed in advance in client as a result, so as to solve animation play in the related technology There is technical issues that, and then reaches the technical effect responded immediately to the control operation of user.
Optionally, the specific example in the present embodiment can be with reference to example described in above-described embodiment, the present embodiment Details are not described herein.
It will appreciated by the skilled person that structure shown in Fig. 10 is only to illustrate, terminal can be smart phone (such as Android phone, iOS mobile phone), tablet computer, palm PC and mobile internet device (Mobile Internet Devices, MID), the terminal devices such as PAD.Figure 10 it does not cause to limit to the structure of above-mentioned electronic device.For example, terminal is also May include than shown in Figure 10 more perhaps less component (such as network interface, display device) or have and Figure 10 institute Show different configurations.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing the relevant hardware of terminal device by program, which can store in a computer readable storage medium In, storage medium may include: flash disk, read-only memory (Read-Only Memory, ROM), random access device (Random Access Memory, RAM), disk or CD etc..
The embodiments of the present invention also provide a kind of storage mediums.Optionally, in the present embodiment, above-mentioned storage medium can With the program code of the display methods for executing picture.
Optionally, in the present embodiment, above-mentioned storage medium can be located at multiple in network shown in above-described embodiment On at least one network equipment in the network equipment.
Optionally, in the present embodiment, storage medium is arranged to store the program code for executing following steps:
Detect the control operation triggered on the client, wherein control operation is used to indicate to pair in virtual scene As state change is performed;
The first request is sent to server, wherein the first request is for request first as a result, the first result is service The Status Change to the object in virtual scene that device is determined according to control operation and the first information is as a result, the first information is service Device save with the associated information of object in virtual scene;
Before the first result for getting server return, determined on the client according to control operation and the second information Second result, wherein the second result is the Status Change of the object in the virtual scene that client determines as a result, the second information is Client save with the associated information of object in virtual scene;
It is operated in response to control, shows the picture of the second result in the client.
Optionally, storage medium is also configured to store the program code for executing following steps:
Generate the first request including object identity, operation mark and status indicator, wherein object identity is for identifying Object in virtual scene, operation mark are used to identify device to be serviced determines first for identifying control operation, status indicator As a result the dbjective state stage locating at least one state phase;
The first request generated is sent to server.
Optionally, the specific example in the present embodiment can be with reference to example described in above-described embodiment, the present embodiment Details are not described herein.
Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or The various media that can store program code such as CD.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
If the integrated unit in above-described embodiment is realized in the form of SFU software functional unit and as independent product When selling or using, it can store in above-mentioned computer-readable storage medium.Based on this understanding, skill of the invention Substantially all or part of the part that contributes to existing technology or the technical solution can be with soft in other words for art scheme The form of part product embodies, which is stored in a storage medium, including some instructions are used so that one Platform or multiple stage computers equipment (can be personal computer, server or network equipment etc.) execute each embodiment institute of the present invention State all or part of the steps of method.
In the above embodiment of the invention, it all emphasizes particularly on different fields to the description of each embodiment, does not have in some embodiment The part of detailed description, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed client, it can be by others side Formula is realized.Wherein, the apparatus embodiments described above are merely exemplary, such as the division of the unit, and only one Kind of logical function partition, there may be another division manner in actual implementation, for example, multiple units or components can combine or It is desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussed it is mutual it Between coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING or communication link of unit or module It connects, can be electrical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (15)

1. a kind of display methods of picture characterized by comprising
Detect the control operation triggered on the client, wherein the control operation is used to indicate to pair in virtual scene As state change is performed;
The first request is sent to server, wherein first request is for request first as a result, first result is The Status Change knot to the object in the virtual scene that the server is determined according to the control operation and the first information Fruit, the first information be the server save with the associated information of object in the virtual scene;
Before getting first result that the server returns, in the client according to the control operate with Second information determines the second result, wherein second result is the object in the virtual scene that the client determines Status Change as a result, second information be the client save with the associated letter of object in the virtual scene Breath;
It is operated in response to the control, the picture of second result is shown in the client.
2. the method according to claim 1, wherein according to control operation and second in the client Information determines that the second result includes:
According to targeted manner determination and control operation and second information corresponding described second in the client As a result, wherein the targeted manner is that the server is determining corresponding with control operation and the first information described Used mode when the first result.
3. the method according to claim 1, wherein showing the picture of second result in the client Include:
It plays in the client for indicating that the object in the virtual scene is changed to second knot from first state The first picture of multiframe of the process of second state indicated by fruit, wherein the first state is pair in the virtual scene As in state in which before changing.
4. according to the method described in claim 3, it is characterized in that, playing in the client for indicating the virtual field Object in scape is changed to multiframe the first picture packet of the process of the second state indicated by second result from first state It includes:
It plays in the client for indicating that the object in the virtual scene is changed to the second position from first position The first picture of multiframe of process, wherein the first position is position represented by the first state, and the second position is Position represented by second state.
5. the method according to claim 1, wherein the Status Change of the object in the virtual scene includes extremely A few state phase, wherein
Sending the first request to server includes: described first generated including object identity, operation mark and status indicator Request, wherein the object identity is used to identify the object in the virtual scene, and the operation mark is for identifying the control System operation, the status indicator are used to identify first result determining to the server at least one described state rank The locating dbjective state stage in section;First request generated is sent to the server;
After sending the first request to server, the method also includes: in the creation letter that the server received is sent In object identity situation identical with the object identity in first request in breath, the creation information is abandoned, wherein institute Creation information is stated to be used to indicate and create object in the virtual scene according to entrained object identity.
6. according to the method described in claim 5, it is characterized in that, in the dbjective state for receiving the server return After first result in stage, the method also includes:
The second state indicated by second result under the dbjective state stage that the Client Prediction obtains with It, will in the case that the third state indicated by first result in the dbjective state stage that the server returns is different The state of object in the virtual scene is corrected as the third state by second state.
7. according to the method described in claim 6, it is characterized in that, by the state of the object in the virtual scene by described Two-state is corrected as the third state
It is played in the client for indicating that the object in the virtual scene is corrected as described the from second state The second picture of multiframe of the process of three condition, wherein second picture is for indicating second state or the third shape State or second state carry out the intermediate state of transition to the third state.
8. the method according to claim 1, wherein to the server send it is described first request before, The method also includes:
The second request is sent to the server, wherein second request is for requesting the server according to entrained Target object mark creates the object in the virtual scene;
Before getting the creation result that the server returns, show what the client pre-created in the client Object in the virtual scene.
9. method as claimed in any of claims 1 to 8, which is characterized in that the client is described for controlling The first object in virtual scene, wherein
Detect that the control triggered on the client operation includes: to detect that the first control operates in the client, wherein The first control operation is used to indicate that state change is performed to first object in the virtual scene;In the client The picture that the second result is shown in end includes: described first for playing in the client and determining for indicating the client The animation of object second result that state change is performed;Or,
Detect that the control triggered on the client operation includes: to detect that the second control operates in the client, wherein The second control operation is used to indicate that state change is performed to the second object in the virtual scene, second object by It controls in first object;The picture that the second result is shown in the client includes: to play to be used in the client Indicate the animation for second object, second result that state change is performed that the client determines.
10. according to the method described in claim 9, it is characterized in that, showing that the client pre-creates in the client Target object identify corresponding second object after, the method also includes:
In the case where creating result instruction second Object Creation failure, deleted in the client described in pre-creating Second object, and stop the display to second object.
11. a kind of display device of picture characterized by comprising
Detection unit, for detecting the control triggered on the client operation, wherein the control operation is used to indicate to void State change is performed for object in quasi- scene;
Transmission unit, for sending the first request to server, wherein first request for request first as a result, First result be the server according to it is described control operation and the first information determine to pair in the virtual scene The Status Change of elephant as a result, the first information be the server save with the associated letter of object in the virtual scene Breath;
Determination unit, for before getting first result that the server returns, the basis in the client The control operation and the second information determine the second result, wherein second result is the void that the client determines The Status Change of object in quasi- scene as a result, second information be the client save in the virtual scene The associated information of object;
Pre-display unit shows the picture of the second result for operating in response to the control in the client.
12. device according to claim 11, which is characterized in that the determination unit includes:
Determining module, for determining according to targeted manner in the client and the control operates and second information pair Second result answered, wherein the targeted manner is that the server is determining to be believed with control operation and described first Cease used mode when corresponding first result.
13. device according to claim 12, which is characterized in that the pre-display unit is also used to:
It plays in the client for indicating that the object in the virtual scene is changed to second knot from first state The first picture of multiframe of the process of second state indicated by fruit, wherein the first state is pair in the virtual scene As in state in which before changing.
14. a kind of storage medium, which is characterized in that the storage medium includes the program of storage, wherein when described program is run Execute method described in 1 to 10 any one of the claims.
15. a kind of electronic device, including memory, processor and it is stored on the memory and can transports on the processor Capable computer program, which is characterized in that the processor executes the claims 1 to 10 by the computer program Method described in one.
CN201910100386.6A 2019-01-31 2019-01-31 Method and device for displaying picture, storage medium and electronic device Active CN109731330B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910100386.6A CN109731330B (en) 2019-01-31 2019-01-31 Method and device for displaying picture, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910100386.6A CN109731330B (en) 2019-01-31 2019-01-31 Method and device for displaying picture, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN109731330A true CN109731330A (en) 2019-05-10
CN109731330B CN109731330B (en) 2020-08-28

Family

ID=66367144

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910100386.6A Active CN109731330B (en) 2019-01-31 2019-01-31 Method and device for displaying picture, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN109731330B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111068331A (en) * 2019-11-21 2020-04-28 腾讯科技(深圳)有限公司 Animation configuration method and device of virtual prop, storage medium and electronic device
CN111714884A (en) * 2020-06-22 2020-09-29 网易(杭州)网络有限公司 Game scene processing method, device, equipment and storage medium
CN111744195A (en) * 2020-06-11 2020-10-09 北京冰封互娱科技有限公司 Model control method and apparatus, storage medium, and electronic apparatus
CN112221120A (en) * 2020-10-15 2021-01-15 网易(杭州)网络有限公司 Game state synchronization method and device, electronic equipment and storage medium
CN112774189A (en) * 2021-02-08 2021-05-11 腾讯科技(深圳)有限公司 Picture display method, device, terminal and storage medium
CN113744372A (en) * 2020-05-15 2021-12-03 完美世界(北京)软件科技发展有限公司 Animation generation method, device and equipment
CN115243109A (en) * 2022-07-29 2022-10-25 广州方硅信息技术有限公司 Object state updating method and device, live broadcast system, equipment and storage medium

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111068331A (en) * 2019-11-21 2020-04-28 腾讯科技(深圳)有限公司 Animation configuration method and device of virtual prop, storage medium and electronic device
CN111068331B (en) * 2019-11-21 2021-07-27 腾讯科技(深圳)有限公司 Animation configuration method and device of virtual prop, storage medium and electronic device
CN113744372A (en) * 2020-05-15 2021-12-03 完美世界(北京)软件科技发展有限公司 Animation generation method, device and equipment
CN111744195A (en) * 2020-06-11 2020-10-09 北京冰封互娱科技有限公司 Model control method and apparatus, storage medium, and electronic apparatus
CN111744195B (en) * 2020-06-11 2024-03-22 北京冰封互娱科技有限公司 Model control method and device, storage medium and electronic device
CN111714884A (en) * 2020-06-22 2020-09-29 网易(杭州)网络有限公司 Game scene processing method, device, equipment and storage medium
CN112221120A (en) * 2020-10-15 2021-01-15 网易(杭州)网络有限公司 Game state synchronization method and device, electronic equipment and storage medium
CN112774189A (en) * 2021-02-08 2021-05-11 腾讯科技(深圳)有限公司 Picture display method, device, terminal and storage medium
CN115243109A (en) * 2022-07-29 2022-10-25 广州方硅信息技术有限公司 Object state updating method and device, live broadcast system, equipment and storage medium

Also Published As

Publication number Publication date
CN109731330B (en) 2020-08-28

Similar Documents

Publication Publication Date Title
CN109731330A (en) The display methods and device of picture, storage medium, electronic device
US11318390B2 (en) Systems and methods for hardware-based matchmaking
CN107423015B (en) The synchronous display method and device of game content
US10091281B1 (en) Multi-user application host-system selection system
CN108310771A (en) The execution method and apparatus of task, storage medium, electronic device
CN105288998B (en) The exchange method and device of Intelligent hardware
KR101629378B1 (en) Apparstus and method of providing replay movie in massively multiplayer online role playing game
CN110711380B (en) State processing method and related device
CN109499059A (en) The rendering method and device of object, storage medium, electronic device
CN102985142A (en) Server, game device, and program executed by said server
CN107744665A (en) The acquisition methods and device of the game operation for account number of playing
WO2021143318A1 (en) Control method and device for virtual operating object, storage medium, and electronic device
US20160059134A1 (en) Storage medium, game system, and control method
US20220305384A1 (en) Data processing method in virtual scene, device, storage medium, and program product
US20220409998A1 (en) Request distribution system
WO2015011741A1 (en) Image processing program, server device, image processing system, and image processing method
CN114911558B (en) Cloud game starting method, device, system, computer equipment and storage medium
CN108261762B (en) Method of data synchronization and device, storage medium and electronic device
CN110237528A (en) The control method and device of object, storage medium and electronic device
CN112138379B (en) Interaction method and device among different application modes and storage medium
CN109873876A (en) A kind of method of the interaction and computational load equilibrium assignment of distributed virtual environment
CN111228805B (en) Virtual operation object control method and device, storage medium and electronic device
JP2016039876A (en) System, server device, and program
CN113730907B (en) Virtual resource transfer method and device, storage medium and electronic equipment
CN111803958B (en) Virtual object queuing method and device and storage medium

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