CN105245558A - Application running method supporting virtual online mode, system and server - Google Patents
Application running method supporting virtual online mode, system and server Download PDFInfo
- Publication number
- CN105245558A CN105245558A CN201410325950.1A CN201410325950A CN105245558A CN 105245558 A CN105245558 A CN 105245558A CN 201410325950 A CN201410325950 A CN 201410325950A CN 105245558 A CN105245558 A CN 105245558A
- Authority
- CN
- China
- Prior art keywords
- application program
- client
- server
- module
- program operation
- 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
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses an application running method supporting a virtual online mode, comprising the steps as follows: a server creates application running logic rules and sends the application running logic rules to a client for storage; the client enters an online application running mode; when the client and the server are disconnected, the client independently runs the application running logic rules, and the application running process is saved to the client; and when the client and the server are reconnected, the client sends the saved application running process to the server for data synchronization. The invention further discloses a corresponding application running system supporting a virtual online mode, a server, and a client. According to the invention, as the application running logic rules are pre-created and saved to the client, the client can still run an application offline according to the logic rules. The utilization efficiency of applications is improved, and the user experience in application running is enhanced.
Description
Technical field
The invention belongs to communication technical field, particularly relate to and a kind ofly support the application program operation method of virtual online and games system, the server of correspondence thereof.
Background technology
Along with popularizing of smart mobile phone, increasing application program appears at mobile phone terminal, for user.For game, network game development business starts Research Emphasis compatible to mobile phone terminal.Meanwhile, because mobile phone games have the advantages such as portability, line duration, place be unrestricted, and it is made day by day to online game mainstream development.
But, mobile phone games can only be communicated with server by mobile network mostly, and mobile network environment differs greatly, when running into network environment and being poor, each logic rules and server in online game can not be met and carry out the demand of real time communication.Also just result in network environment poor when, game client can disconnect game or game can not play; When by the time having network, reconnect server and could continue game, this have impact on the experience sense of user greatly, causes the utilization rate of the application programs such as game lower.
Summary of the invention
The object of the present invention is to provide and a kind ofly support the application program operation method of virtual online and games system, the server of correspondence thereof, under being intended to solve in prior art vulnerable network or the poor situation of network, client disconnects, client cannot remain running in application program, reduce the service efficiency of application program, affect the experience sense that user runs application.
For solving the problems of the technologies described above, the embodiment of the present invention provides following technical scheme: a kind of application program operation method supporting virtual online, is applied between server and at least one client, said method comprising the steps of:
Described server creates application program operation logic rule;
Described application program operation logic rule is sent to described client by described server;
Described client receives and stores described application program operation logic rule;
Described client enters online application program operational mode;
Described client judges whether to disconnect with described server;
If disconnected, then application program operation logic rule described in described client independent operating, and process of application program being run is saved to described client;
Described client judges whether to recover to be connected with described server;
If recover to connect, then the application program of preservation is run process and is sent to described server and carries out data syn-chronization by described client.
For solving the problems of the technologies described above, the embodiment of the present invention provides following technical scheme: a kind of server, be applied to the application program operational system supporting virtual online, described application program operational system comprises described server and multiple client, and described server comprises:
Rule creation module, for creating application program operation logic rule;
First synchronization module, for by described application program operation logic regular and synchronized to described client; And
First judge module, for judging whether described server and described client are in connection status;
Wherein said first synchronization module, time also for judging when described first judge module again to recover to connect after described connection status is off, the application program operation process reading the preservation of described client is carried out synchronously, and it is that described in described client independent operating, application program operation logic rule produced that wherein said application program runs process.
For solving the problems of the technologies described above, the embodiment of the present invention provides following technical scheme: a kind of client, and be applied to the application program operational system supporting virtual online, described application program operational system comprises server and multiple client, and described client comprises:
Transport module, for receiving the application program operation logic rule sent by described server;
Memory module, for storing described application program operation logic rule;
Second judge module, for judging the connection status of described client and described server;
Run module, for when described judge module judges that connection status is off connection, continue to run described application program according to described application program operation logic rule;
Cache module, the application program produced for storing described operation module runs process;
Second synchronization module, during for judging connection status when described judge module as recovering to connect, runs Process Synchronization to described server by the application program in described cache module.
For solving the problems of the technologies described above, the embodiment of the present invention provides following technical scheme: a kind of application program operational system supporting virtual online, comprises a server and multiple client,
Described server, comprising:
Rule creation module, for creating application program operation logic rule;
First synchronization module, for by described application program operation logic regular and synchronized to described client;
First judge module, for judging the connection status of described server and described client;
Described first synchronization module, time also for judging when described first judge module again to recover to connect after described connection status is off, the application program operation process reading the preservation of described client is carried out synchronously, and it is that described in described client independent operating, application program operation logic rule produced that wherein said application program runs process;
Described client, comprising:
Transport module, for receiving the application program operation logic rule sent by described server;
Memory module, for storing described application program operation logic rule;
Second judge module, for judging the connection status of described client and described server;
Run module, for when described judge module judges that connection status is off connection, continue to run described application program according to described application program operation logic rule;
Cache module, the application program produced for storing described operation module runs process;
Second synchronization module, during for judging connection status when described judge module as recovering to connect, runs Process Synchronization to described server by the application program in described cache module.
Relative to prior art, application program operation logic rule refinement is out sent to client by server end by the present invention, and carry out buffer memory when unstable networks by client memory application programs operation process, when network recovery connects, the application program of client-cache being run process sends to server end to carry out synchronously, still can continue to run application according to above-mentioned logic rules when making network failure or interrupt, improve the service efficiency of application program, promote the experience sense of user's application programs.
Accompanying drawing explanation
Fig. 1 is the applied environment schematic diagram of the application program operation method supporting virtual online in the present invention;
Fig. 2 is the schematic flow sheet of the application program operation method of the support virtual online that one embodiment of the invention provides;
Fig. 3 is the server architecture figure that provides of one embodiment of the invention and applied environment thereof;
Fig. 4 is the client terminal structure figure that provides of one embodiment of the invention and applied environment thereof;
Fig. 5 is the schematic flow sheet of the application program operation method of the support virtual online that another embodiment of the present invention provides;
Fig. 6 is the schematic flow sheet of the application program operation method of the support virtual online that another embodiment of the present invention provides.
Embodiment
What please refer in accompanying drawing is graphic, and wherein identical element numbers represents identical assembly, and principle of the present invention implements to illustrate in a suitable computing environment.The following description is based on the illustrated specific embodiment of the invention, and it should not be regarded as limiting the present invention not at other specific embodiment that this describes in detail.
In the following description, specific embodiments of the invention illustrate, unless otherwise stating clearly with reference to the step performed by or multi-section computer and symbol.Therefore, these steps and operation will have to mention for several times and performed by computer, and computer execution as referred to herein includes by representing with the operation of the computer processing unit of the electronic signal of the data in a structuring pattern.These data of this operation transformation or the position maintained in the memory system of this computer, its reconfigurable or other running changing this computer in the mode known by the tester of this area.The data structure that these data maintain is the provider location of this internal memory, and it has the particular characteristics defined by this data format.But the principle of the invention illustrates with above-mentioned word, it is not represented as a kind of restriction, and this area tester can recognize that the plurality of step of the following stated and operation also may be implemented in the middle of hardware.
Principle of the present invention uses other wide usages many or specific purpose computing, communication environment or configuration to operate.The known example being suitable for arithmetic system of the present invention, environment and configuration can include, but is not limited to cell-phone, personal computer, server, multicomputer system, microcomputer are system, body frame configuration computer and the distributed computing environment led, which includes any said system or device.
Term as used herein " module " can see the software object performed in this arithmetic system as.Different assembly as herein described, module, engine and service can see the objective for implementation in this arithmetic system as.And device and method as herein described is preferably implemented in the mode of software, certainly also can implement on hardware, all within scope.
Refer to Fig. 1, the applied environment schematic diagram of the application program operation method of the support virtual online provided for the embodiment of the present invention, comprises server 10, at least one client 20 and communication network 30.
Described server 10 carries out logical process to the application program instructions that each client 20 inputs, and feed back to the service equipment that each client 20 carries out presenting.It both can be server apparatus, also can be the cloud service platform based on virtual equipment or the combination of the two, here with the name of the performance of its service, but not it was carried out to the restriction of entity.
Described client 20 is terminal uses in order to be obtained the application program service being stored in server 10 and the communication terminal used by communication network 30.Described client 20 not only comprises common smart mobile phone, personal digital assistant (PersonalDigitalAssistant, PDA), net book (Webpad) etc., also comprise desktop PC, mobile computer, work station, palmtop computer, UMPC (UltraMobilePersonalComputer: super mobile personal computer) etc. and possess storage element and the terminating machine being provided with microprocessor and having an operational capability is formed.
Described communication network 30, can comprise LAN (LocalAreaNetwork, LAN), all can network (MetropolitanAreaNetwork, MAN), Wide Area Network (WideAreaNetwork, WAN), the data communication network that included such as internet, also comprise telephone network etc., regardless of wired and wireless, use any communication mode all irrelevant.
In the present invention, application program operation logic rule refinement is out sent to client 20 by server 10, stored by client 20, continued to run according to application program operation logic rule by client 20 when unstable networks, and stored by the memory application programs operation process of client 20, application program client 20 stored when network recovery connects is run process and is sent to server 10 to carry out data syn-chronization, make network failure, when network signal is weak or network signal interrupts, client 20 still can continue to run application according to above-mentioned logic rules, improve the service efficiency of application program, promote the experience sense of user in the process of running application.
Embodiment 1
Refer to Fig. 2, be depicted as a kind of flow chart supporting the application program operation method of virtual online provided by the invention, the method is applied between the server 10 shown in Fig. 1 and at least one client 20.
In step s 201, described server creates application program operation logic rule.
Be understandable that, described application program operation logic rule, its essence is the core algorithm of application program, or is only the continuity sense of picture when keeping application program to run.
In step S202, described application program operation logic rule is sent to described client by described server.
In specific implementation process, the transmission of described application program operation logic rule, can when client first time downloads described application program, described application program operation logic rule together to be packed download, also off-line data bag can be provided to client, selected whether to download and when download by client.
In step S203, described client receives and stores described application program operation logic rule, and enters online application program operational mode.
In specific implementation process, during application program on-line operation, the data that each client produces are generally that Real-time Feedback stores and process to server processes.
In step S204, described client judges whether to disconnect with described server, if disconnect, then carries out step S205, otherwise proceeds step S203.
In specific implementation process, this determining step S204, both can occur in client, can occur in server again, or carried out simultaneously.
In step S205, application program operation logic rule described in described client independent operating, and application program is run the memory that process is saved to described client.
In step S206, described client judges whether described client and described server recover to be connected, and connects, then carry out step S207, otherwise proceed step S206 if recover.
In step S207, the application program operation process that described memory is preserved by described client is sent to described server and carries out data syn-chronization.
Embodiment 2
Figure 3 shows that server and the applied environment thereof of the embodiment of the present invention, in a kind of embodiment of configuration, described server comprises at least one first processing unit 11, memory 12 and the first transport module 13 and rule creation module 14, first judge module 15, first synchronization module 16 that increases for the goal of the invention realizing the embodiment of the present invention and the first reminding module 17.Be understandable that, herein, also comprise the common configuration do not indicated, as input module (one or more the combination in keyboard, mouse, microphone) and output module (one or more combination) in display, printer, sound equipment, due to marrow of the present invention without direct impact, therefore to repeat no more.
First processing unit 11, for calling and perform above-mentioned memory 12, first transport module 13, rule creation module 14, first judge module 15, first synchronization module 16 and the first reminding module 17.
Memory 12, according to exact configuration and the type of server, can be volatibility (such as random access memory ram), non-volatile (such as read-only memory ROM, flash memory etc.) or certain combination of the two.In the present embodiment, memory 12 not only for operating system, file system, Database Systems that storage server 10 runs, also for buffer memory or permanent preserve that client 20 transmits all kinds of in real time or the game data of time delay.
First transport module 13, for by wired or wireless mode, directly provides for client 20 or indirectly provides transmission service by network 30 high in the clouds.Wherein, along with the development of transmission technology, the embedding based on technology such as WI-FI, 3G, 4G does not all affect the original idea of transmission of the present invention.
Rule creation module 14, for creating application program operation logic rule, and is stored to described memory 12.In the present embodiment, described application program operation logic rule, its essence is the core algorithm of application program, or is only the continuity sense of picture when keeping application program to run.
For example, such as currently provide the game that strange upgrading is played by a collective, its application program operation logic rule created comprises: break in 3 seconds, run in former route; In broken string 3-10 second, beauty or little beast is had to come to strike up a conversation with; Break more than 10 seconds, some small-sized strange scalable empirical value.But the results of broken string should be less than online usually, in order to avoid player deliberately breaks when gathering in the crops less and forms leak BUG.
Or specifically for WOW, described application program operation logic rule is presented as, when attacking, its final player by fatal probability formula is: by fatal probability=assailant's lethality-F (defender's toughness); That is, if broken when belligerent, offline attacks can be carried out according to above-mentioned rule, and in the data of its game process of client 20 buffer memory.
For another example, the game of a two-person game, its application program operation rule created is determine trick again based on way each other, now, after side's off-line exceedes scheduled time threshold value, both sides and computer can carry out standalone version game with regard to former situation, and after resuming connections, judge whether that way is identical, if not identical, then be confirmed whether to accept online version situation by broken string player, if do not accepted, then can take shuangping san, be considered as off-line player abstention or be considered as the modes such as online player victory continuing former game.
First synchronization module 16, for when with described client first connection, by described application program operation logic regular and synchronized to described client.Should be understood that, during described first connection, when its implication includes but not limited to described client downloads application program, also should comprise described client when registering or log in this application program first, described server update application program packet time, the total degree that disconnects of described client is greater than predetermined threshold value or disconnects the individuation data bag provided by server when number of times is greater than predetermined threshold value in the unit interval and upgrade.
First judge module 15, for judging whether described server and each client described are in connection status.Be understandable that, described connection status, three kinds of situations should be comprised, (log in online) online, disconnect (off-line) and recover to connect (reaching the standard grade after off-line).In the present invention, distinguish and be with the meaning recovering to be connected online, when directly logging in online, the application program reading each client-cache without the need to server runs process data; And recover to connect, then need server to go the application program reading client-cache to run process data.
First reminding module 17, for pointing out the connection status between described server and each client.Such as, in same group of game, in this connection, client C disconnects for customer end A, B.
In an embodiment, described first reminding module 17 is also for being transferred to other online client with forms such as notice boards by the first transport module 13 by described connection status.Usually, only point out the situation of wherein client broken string, e.g., your comrade-in-arms/enemy C passes through and (gets lost, taken have tea by Director of Teaching ...).
First synchronization module 14, also for judging that when described first judge module 15 state is when recovering connection, reads the application program operation process that client is saved to client memory 12, to carry out data syn-chronization.
Be understandable that, when not relating to other online client data, first synchronization module 14 can read the data of described broken string client completely herein, but when the break data of client and the data of online client produce conflict time, should the data of preferential online client.That is, be only the experience sense that offline client provides online, and not exclusively retain its empirical value etc., in order to avoid produce data corruption and the design BUG of application program operational system.
For QQ farm, further lexical or textual analysis is carried out to above-mentioned data collision: such as, customer end A disconnects after signing in the interface, vegetable plot of client C, now, customer end A still can perform the operation of plucking at this interface, and can be uploaded onto the server by the empirical value of harvesting after recovery connects.And while customer end A disconnects, if the interface, vegetable plot that customer end B has also entered into C is plucked.So the data of customer end B and customer end A are when uploading onto the server, may output data conflict.
Embodiment 3
Figure 4 shows that client and the applied environment thereof of the embodiment of the present invention.In one configuration, described client comprises the second processing unit 21, second transport module 22, memory module 23, cache module 24, second judge module 25, runs module 26, second synchronization module 27 and the second reminding module 28.
In the present embodiment, the second processing unit 21 is for calling and performing above-mentioned second transport module 22, memory module 23, cache module 24, second judge module 25, run module 26, second synchronization module 27 and the second reminding module 28.
Second transport module 22, for being connected with communication network by wired or wireless mode, and uploads down load application program related data to server, such as down load application program operation logic rule.
Memory module 23 and cache module 24 form the memory (dotted line frame) of client jointly.Described memory is mainly used in the operating system, file system, Database Systems etc. that store client operation, and in addition, memory module 23, for during with described server first connection, receives and store application program operation logic rule; Cache module 24, for when disconnecting, the application program that buffer memory is produced according to the described application program of described application program operation logic rule operation by described operation module 26 runs process data.
Should be understood that, during described first connection, when its implication includes but not limited to that client downloads this application program first, also should comprise described client when registering or log in this application program first, described server update application program packet time, the total degree that disconnects of described client is greater than predetermined threshold value or disconnects the packet initiatively downloading described application program operation logic rule when number of times is greater than predetermined threshold value in the unit interval.The reason of above-mentioned design provides multiple choices, can while the sense of maintenance application program on-line operation, as far as possible few internal memory taking client.
Second judge module 25, for judging whether described server and described client are in connection status.Should be understood that, described connection status should comprise three kinds of situations, comprises in connection, disconnects and recover to connect.Wherein, in connection, refer to that the mode by logging in is reached the standard grade and keeps the connection with server; Recover to connect, refer to reaching the standard grade after because of the disappearance of communication network disruption.The meaning being distinguished into three kinds of connection status is, the state in connection, and the application program sending its buffer memory without the need to user end to server runs process data; And recover the state of connection, then the application program needing user end to server to remove to send its buffer memory runs process data.
Run module 26, for when described second judge module 25 judges that connection status is off connection, continue to run described application program according to described application program operation logic rule.
Second synchronization module 27, during for judging described state when described second judge module 25 as recovering to connect, running process data by the application program in described cache module 24 and being synchronized to described server.
Second reminding module 27, for pointing out the connection status between described client and server, and the situation that application program operation process data in the disconnected state may not exclusively be preserved.
Be understandable that: word used herein " preferably " means to be used as example, example or illustration.Any aspect that Feng Wen is described as " preferably " or design need not be interpreted as than other aspects or design more favourable.On the contrary, the use of word " preferably " is intended to propose concept in a concrete fashion.Term "or" as used in this application is intended to the "or" that means to comprise and the "or" of non-excluded.That is, unless otherwise or clear from the context, " X uses A or B " means any one that nature comprises arrangement.That is, if X uses A; X uses B; Or X uses both A and B, then " X uses A or B " is met in aforementioned arbitrary example.
And although illustrate and describe the disclosure relative to one or more implementation, those skilled in the art are based on to the reading of this specification and accompanying drawing with understand and will expect equivalent variations and amendment.The disclosure comprises all such amendments and modification, and is only limited by the scope of claims.Especially about the various functions performed by said modules (such as element, resource etc.), term for describing such assembly is intended to the random component (unless otherwise instructed) corresponding to the appointed function (such as it is functionally of equal value) performing described assembly, even if be not structurally equal to the open structure of the function performed in exemplary implementations of the present disclosure shown in this article.In addition, although special characteristic of the present disclosure relative in some implementations only one be disclosed, this feature can with can be such as expect and other Feature Combinations one or more of other favourable implementations for given or application-specific.And, " comprise " with regard to term, " having ", " containing " or its distortion be used in embodiment or claim with regard to, such term is intended to comprise " to comprise " similar mode to term.
Please respectively with reference to Fig. 3 and Fig. 4, be depicted as the different embodiments of the application program operation method of support virtual online of the present invention.
There is provided herein the various operations of embodiment.In one embodiment, described one or more operations can form the computer-readable instruction that one or more computer-readable medium stores, and it will make computing equipment perform described operation when serviced device performs.The order describing some or all of operation should not be interpreted as implying what these operations were necessarily sequentially correlated with.It will be appreciated by those skilled in the art that the alternative sequence of the benefit with this specification.
Embodiment 4
Referring to Fig. 5, is the schematic flow sheet of the application program operation method of the support virtual online that another embodiment of the present invention provides.
In step S301, server creates application program operation logic rule.
Be understandable that, described application program operation logic rule, its essence is the core algorithm of game, or is only the continuity sense of picture when keeping application program to run.
For example, such as currently provide the game that strange upgrading is played by a collective, its application program operation logic rule created comprises: break in 5 seconds, scene loop is also run along former route; In broken string 5-15 second, have the old or little beast to come to strike up a conversation with, broken string more than 15 seconds, some small-sized strange MAXEXP.But the results of broken string should be less than online usually, in order to avoid player deliberately breaks when gathering in the crops less.
For another example, the game of quintet game, its application program operation rule created is determine trick again based on way each other, now, after side's off-line exceedes scheduled time threshold value, both sides and computer can carry out standalone version game with regard to former situation, and after resuming connections, judge whether that way is identical, if not identical, then be confirmed whether to accept online version situation by broken string player, if do not accepted, then can adopt shuangping san, be considered as off-line player abstention or be considered as the modes such as online player victory continuing former game.
In step s 302, application program operation logic rule is sent to client by server.
In specific implementation process, the transmitting time of application program operation logic rule, comprises client when downloading this application program first, the renewal bag of client when registering first and log in described application program, server subsequent issued or through judging that certain client total degree that goes offline exceedes threshold value or provides by server the packet downloading described application program operation logic rule after number of dropped calls exceedes threshold value in the unit interval.The reason of above-mentioned design is, when keeping application program to run picture continuity sense while, as far as possible few internal memory taking client.Preferably, when transmitting time being set to download this application program first.
In step S303, client receives and stores described application program operation logic rule, and enters online application program operational mode.
Now, it is all directly store on the server usually that application program runs process data, so that the data that each client produces are mutual each other at server.
In step s 304, client judges whether client and server disconnect.If do not disconnected, then client continues to run application; If disconnected, then perform step S305.
In step S305, application program operation logic rule described in client independent operating, and application program is run the memory that process data is saved to client.
In step S306, client judges whether recover between its with server to be connected, if do not recover to connect, then continues to perform step S304, connects, then perform step S307 if recovered.
In step S307, client sends its application program of preserving and runs synchronous to server processes data of process.Be understandable that, the leader of this step also can make server, that is, go the application program reading client preservation or buffer memory to run the synchronous process that process carries out data by server.
In step S308, the application program that server receives it or reads is run process and is analyzed, judge that described application program is run process and whether be there is with the data that other online client produce conflict, if there is no data collision, then carry out in step S310, if there is data collision, then carry out step S209.
Be understandable that, described data collision is ever-present, and such as during quintet game off-line, both sides may walk different way; During fun farm game, possible off-line player and online player have plucked same vegetable plot simultaneously; Etc..
In step S309, server is according to the principle of online client high priority data, synchronous after modifying to the data of broken string client, and prompting application program runs synchronous regime.As you offline play process synchronously, sync rates 20%, equipment A lose.Be understandable that, but when the data of offline client and the data of online client produce conflict time, should the data of preferential online client.That is, be only the experience sense that offline client provides online, and not exclusively retain its empirical value etc., in order to avoid produce data corruption and design leak (BUG) of application program system.
In step S310, server runs the synchronous regime of process to its application program of Client-Prompt recovering to connect, e.g., your offline play process synchronously, sync rates 100%.
For ease of illustrating, the application program in following examples of the present invention is all for online game, and application program operation logic rule is game logic rule, and it is game process that application program runs process.Certainly, in specific implementation process, also can be other application program, such as network trading, electronic navigation, network social intercourse etc., do not enumerate herein.
Embodiment 5
Referring to Fig. 6, is the schematic flow sheet of the application program operation method of the support virtual online that another embodiment of the present invention provides.
In step, server creates game logic rule.
Be understandable that, described game logic rule, its essence is the core algorithm of game, or is only the continuity sense keeping game picture.
For example, such as currently provide the game that strange upgrading is played by a collective, its game logic rule created comprises: break in 5 seconds, scene loop is also run along former route; In broken string 5-15 second, have the old or little beast to come to strike up a conversation with, broken string more than 15 seconds, some small-sized strange MAXEXP.But the results of broken string should be less than online usually, in order to avoid player deliberately breaks when gathering in the crops less.
For another example, the game of quintet game, its rule created is determine trick again based on way each other, now, after side's off-line exceedes scheduled time threshold value, both sides and computer can carry out standalone version game with regard to former situation, and after resuming connections, judge whether that way is identical, if not identical, then be confirmed whether to accept online version situation by broken string player, if do not accepted, then can adopt shuangping san, be considered as off-line player abstention or be considered as the modes such as online player victory continuing former game.
In stepb, game logic rule is sent to client by server.
Be understandable that, the transmitting time of game logic rule, comprises client when downloading this game first, the renewal bag of client when registering first and log in described game, server subsequent issued or through judging that certain client total degree that goes offline exceedes threshold value or provides by server the packet downloading described game logic rule after number of dropped calls exceedes threshold value in the unit interval.The reason of above-mentioned design is, while the continuity sense keeping game picture, and as far as possible few internal memory taking client.Preferably, when transmitting time being set to download this game first.
In step C, client receives and stores described application program operation logic rule, and enters online game mode.
In step D, the data such as the game process produced in gaming are sent to server by client in real time, and are undertaken unifying to store and process, so that the data that each client produces are mutual each other at server end by server.
In step e, server at regular intervals interval will judge the connection status of each client and server.
Be understandable that: described connection status comprises: in connection, disconnect, can also comprise and recover to connect.Distinguish in connecting with recover the benefit that is connected and be, can purposive, the reading of selectively carrying out game process.
If disconnected, then in step F, client will utilize download game logic rule continue game, and by produce game process buffer memory in the memory of client.
If recover to connect, then in step G, then user end to server sends the game process data of buffer memory.
In steph, the data of client-cache are carried out synchronously by server.
Being understandable that, when not relating to other online player's data, the data of described offline user can being read herein completely, but when the data of off-line player and the data of online player produce conflict time, should the data of preferential online player.That is, be only the experience sense that off-line player provides online, and not exclusively retain its empirical value etc., in order to avoid produce data corruption and design leak (BUG) of games system.
Therefore, in step I, server sends synchronous performance to client, and is confirmed by client.
From the above, relative to prior art, in the present invention, application program operation logic rule refinement is out sent to client by server, and continued to run according to application program operation logic rule by client when unstable networks, and stored by the memory application programs operation process of client, when network recovery connects, the application program that client stores being run process sends to server to carry out data syn-chronization, make network failure, still can continue to run application according to above-mentioned logic rules when network signal is weak or network signal interrupts, improve the service efficiency of application program, promote the experience sense of user in the process of running application.
In the above-described embodiments, the description of each embodiment is all emphasized particularly on different fields, in certain embodiment, there is no the part described in detail, see specification detailed description in full, can repeat no more herein.
The application program operational system of the described support virtual online that the embodiment of the present invention provides, be for example cloud service platform, server, computer, panel computer, smart mobile phone etc., same design is belonged to the application program operation method of described support virtual online, its specific implementation process refers to specification in full, repeats no more herein.
It should be noted that, for application program operational system and the method for support virtual online of the present invention, this area common test personnel are appreciated that all or part of flow process realizing application program operation method described in the embodiment of the present invention, that the hardware that can control to be correlated with by computer program has come, described computer program can be stored in a computer read/write memory medium, as being stored in the memory of client, and performed by least one processor in this terminal, can comprise in the process of implementation as described in the flow process of embodiment of operation method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (ROM) or random store-memory body (RAM) etc.
For the described games system of the embodiment of the present invention, its each functional module can be integrated in a process chip, also can be that the independent physics of modules exists, also can two or more module integrations in a module.Above-mentioned integrated module both can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.If described integrated module using the form of software function module realize and as independently production marketing or use time, also can be stored in a computer read/write memory medium, described storage medium such as be read-only memory, disk or CD etc.
In sum; although the present invention discloses as above with preferred embodiment; but above preferred embodiment is also not used to limit the present invention; the common test personnel of this area; without departing from the spirit and scope of the present invention; all can do various change and retouching, the scope that therefore protection scope of the present invention defines with claim is as the criterion.
Claims (16)
1. support an application program operation method for virtual online, be applied between server and at least one client, it is characterized in that, said method comprising the steps of:
Described server creates application program operation logic rule;
Described application program operation logic rule is sent to described client by described server;
Described client receives and stores described application program operation logic rule;
Described client enters online application program operational mode;
Described client judges whether to disconnect with described server;
If disconnected, then application program operation logic rule described in described client independent operating, and process of application program being run is saved to described client;
Described client judges whether to recover to be connected with described server;
If recover to connect, then the application program of preservation is run process and is sent to described server and carries out data syn-chronization by described client.
2. the application program operation method of support virtual online according to claim 1, is characterized in that, disconnects in described client and described server, and in the step of game logic rule described in described client independent operating, further comprising the steps of:
Prompting client current state is in asynchronous connection.
3. the application program operation method of support virtual online according to claim 1, is characterized in that, when described client and described server disconnect, further comprising the steps of:
Other online client of described server prompts: current described client is in asynchronous connection.
4. the application program operation method of support virtual online according to claim 3, is characterized in that, the time that described server sends application program operation logic rule comprises any one in the following moment:
During described client downloads application program, the packet of described client when registering first and log in described application program, described server update application program time, the total degree that disconnects of described client is greater than predetermined threshold value or disconnects number of times in the unit interval when being greater than predetermined threshold value.
5. the application program operation method of support virtual online according to claim 1, is characterized in that, described method is further comprising the steps of:
Described server receive described application program run process carry out data syn-chronization time, described server judges whether the application program operation process that described client sends conflicts mutually with the data that other online client produces;
If data are not conflicted, then described server is directly preserved described application program and is run process;
If data collision, then the data of preferential other online client generation, and preserve after the data that current described client sends are modified.
6. a server, be applied to the application program operational system supporting virtual online, described application program operational system comprises described server and multiple client, it is characterized in that, described server comprises:
Rule creation module, for creating application program operation logic rule;
First synchronization module, for by described application program operation logic regular and synchronized to described client; And
First judge module, for judging whether described server and described client are in connection status;
Wherein said first synchronization module, time also for judging when described first judge module again to recover to connect after described connection status is off, the application program operation process reading the preservation of described client is carried out synchronously, and it is that described in described client independent operating, application program operation logic rule produced that wherein said application program runs process.
7. server according to claim 6, it is characterized in that, described first judge module, also for when carrying out described application program and running process synchronous, judges whether the application program operation process that described client sends conflicts mutually with the data that other online client produce;
If data are not conflicted, then described first synchronization module, is saved in described server for described application program is run process;
If data collision, then the data of the preferential online client generation of described first synchronization module, and the data for sending current described client are saved to described server after modifying.
8. server according to claim 6, is characterized in that, the time point that described first synchronization module sends application program operation logic rule comprises any one in the following moment:
Described client first down load application program time, described client when registering first and log in described application program, described server update application program packet time, the total degree that disconnects of described client is greater than predetermined threshold value or disconnects number of times in the unit interval when being greater than predetermined threshold value.
9. server according to claim 6, is characterized in that, described server also comprises:
First reminding module, for pointing out the connection status between described server and each client, and to disconnect a wherein client and the information recovering to connect is sent to other online client.
10. a client, be applied to the application program operational system supporting virtual online, described application program operational system comprises server and multiple client, it is characterized in that, described client comprises:
Second transport module, for receiving the application program operation logic rule sent by described server;
Memory module, for storing described application program operation logic rule;
Second judge module, for judging the connection status of described client and described server;
Run module, for when described second judge module judges that connection status is off connection, continue to run described application program according to described application program operation logic rule;
Cache module, the application program produced for storing described operation module runs process;
Second synchronization module, during for judging connection status when described judge module as recovering to connect, runs Process Synchronization to described server by the application program in described cache module.
11. clients according to claim 10, is characterized in that, described client also comprises:
Second reminding module, for the connection status between described Client-Prompt itself and described server, described connection status includes but not limited to: in connection, disconnect and recover to connect.
12. clients according to claim 10, is characterized in that, the time point that described transport module receives described application program operation logic rule comprises any one in the following moment:
Described client first down load application program time, described client when registering or log in described application program first, described server update application program packet time, the total degree that disconnects of described client is greater than predetermined threshold value or disconnects number of times in the unit interval when being greater than predetermined threshold value.
13. 1 kinds of application program operational systems supporting virtual online, comprise a server and multiple client, it is characterized in that,
Described server, comprising:
Rule creation module, for creating application program operation logic rule;
First synchronization module, for by described application program operation logic regular and synchronized to described client;
First judge module, for judging the connection status of described server and described client;
Described first synchronization module, time also for judging when described first judge module again to recover to connect after described connection status is off, the application program operation process reading the preservation of described client is carried out synchronously, and it is that described in described client independent operating, application program operation logic rule produced that wherein said application program runs process;
Described client, comprising:
Transport module, for receiving the application program operation logic rule sent by described server;
Memory module, for storing described application program operation logic rule;
Second judge module, for judging the connection status of described client and described server;
Run module, for when described judge module judges that connection status is off connection, continue to run described application program according to described application program operation logic rule;
Cache module, the application program produced for storing described operation module runs process;
Second synchronization module, during for judging connection status when described judge module as recovering to connect, runs Process Synchronization to described server by the application program in described cache module.
The 14. application program operational systems supporting virtual online as claimed in claim 13, it is characterized in that, described server also comprises:
First reminding module, for pointing out the connection status of itself and described each client, and disconnects described active client with the information pushing recovering to be connected to other online client.
The 15. application program operational systems supporting virtual online as claimed in claim 13, it is characterized in that, described client also comprises:
Second reminding module, for pointing out the connection status of itself and described server, described connection status comprises: in connection, disconnect and recover to connect.
The 16. application program operational systems supporting virtual online as claimed in claim 13, it is characterized in that, described first judge module, also for when carrying out described application program and running process synchronous, judge whether the application program operation process that described client sends conflicts mutually with the data that other online client produce;
If data are not conflicted, then described first synchronization module, is saved in described server for then described application program being run process;
If data collision, then the data of the preferential online client generation of described first synchronization module, the data for sending current described client are saved to described server after modifying.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410325950.1A CN105245558B (en) | 2014-07-09 | 2014-07-09 | Application program running method, system and server supporting virtual online |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410325950.1A CN105245558B (en) | 2014-07-09 | 2014-07-09 | Application program running method, system and server supporting virtual online |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105245558A true CN105245558A (en) | 2016-01-13 |
CN105245558B CN105245558B (en) | 2020-04-21 |
Family
ID=55043058
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410325950.1A Active CN105245558B (en) | 2014-07-09 | 2014-07-09 | Application program running method, system and server supporting virtual online |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105245558B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114443172A (en) * | 2020-12-18 | 2022-05-06 | 北京信息科技大学 | Application program running method and system |
WO2023005632A1 (en) * | 2021-07-27 | 2023-02-02 | Oppo广东移动通信有限公司 | Game offline processing method and apparatus, and storage medium and electronic device |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002099592A2 (en) * | 2001-06-06 | 2002-12-12 | Sap Aktiengesellschaft | An application programming interface layer for a device |
CN101256644A (en) * | 2008-03-28 | 2008-09-03 | 山东浪潮齐鲁软件产业股份有限公司 | Design and implementing method of off-line indent gathering system |
CN101388911A (en) * | 2008-11-07 | 2009-03-18 | 用友软件股份有限公司 | Off-line data collecting method for network application program |
GB2463028A (en) * | 2008-08-28 | 2010-03-03 | Cr Systems Ltd | A method of operating an offline mobile sales service logistics system |
CN103309694A (en) * | 2012-03-14 | 2013-09-18 | 腾讯科技(深圳)有限公司 | Application program updating method and device |
-
2014
- 2014-07-09 CN CN201410325950.1A patent/CN105245558B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2002099592A2 (en) * | 2001-06-06 | 2002-12-12 | Sap Aktiengesellschaft | An application programming interface layer for a device |
CN101256644A (en) * | 2008-03-28 | 2008-09-03 | 山东浪潮齐鲁软件产业股份有限公司 | Design and implementing method of off-line indent gathering system |
GB2463028A (en) * | 2008-08-28 | 2010-03-03 | Cr Systems Ltd | A method of operating an offline mobile sales service logistics system |
CN101388911A (en) * | 2008-11-07 | 2009-03-18 | 用友软件股份有限公司 | Off-line data collecting method for network application program |
CN103309694A (en) * | 2012-03-14 | 2013-09-18 | 腾讯科技(深圳)有限公司 | Application program updating method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114443172A (en) * | 2020-12-18 | 2022-05-06 | 北京信息科技大学 | Application program running method and system |
WO2023005632A1 (en) * | 2021-07-27 | 2023-02-02 | Oppo广东移动通信有限公司 | Game offline processing method and apparatus, and storage medium and electronic device |
Also Published As
Publication number | Publication date |
---|---|
CN105245558B (en) | 2020-04-21 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20220355204A1 (en) | Game data processing method and apparatus, computer, and readable storage medium | |
US8745015B2 (en) | System and method for remote updates | |
CN104702696B (en) | The cross-platform instant data interactive method of one kind, device and system | |
CN109697123B (en) | Rendering method and device of game animation, storage medium and electronic device | |
CN113018848B (en) | Game picture display method, related device, equipment and storage medium | |
CN116322915A (en) | Automatic disjunctive players from game interactions | |
CN106303331A (en) | video recording method, terminal and system | |
US9223399B2 (en) | Translation of gesture responses in a virtual world | |
CN108965989B (en) | Processing method and device for interactive application scene and storage medium | |
US11465044B2 (en) | Method and system for providing game based on video call and object recognition | |
EP3827380A1 (en) | Secure exploration for reinforcement learning | |
CN102646152A (en) | Game map switching method and system | |
US20050272492A1 (en) | Method and system for synchronizing a game system with a physics system | |
KR102307870B1 (en) | Method for game test | |
CN105245558A (en) | Application running method supporting virtual online mode, system and server | |
CN109364489B (en) | Dance action processing method and device based on role playing game | |
CN110580257A (en) | Data sharing method, server and medium | |
US10058781B2 (en) | Rendering of game characters | |
CN112386906B (en) | Media resource playing method and device, storage medium and electronic equipment | |
US11241628B2 (en) | Augmented gaming with item gifting and online gameplay | |
CN114531406A (en) | Interface display method and device and storage medium | |
CN111161032A (en) | Product generation method and device | |
US9687744B2 (en) | Method for providing battle game, server device, and computer-readable recording medium | |
CN107783722B (en) | Data transmission method and data forwarding device | |
CN104063233B (en) | Load method, storage device and the terminal device of HTML performing environments |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |