CN105573835A - Interface combined management system and method as well as terminal - Google Patents

Interface combined management system and method as well as terminal Download PDF

Info

Publication number
CN105573835A
CN105573835A CN201510975076.0A CN201510975076A CN105573835A CN 105573835 A CN105573835 A CN 105573835A CN 201510975076 A CN201510975076 A CN 201510975076A CN 105573835 A CN105573835 A CN 105573835A
Authority
CN
China
Prior art keywords
interface
scene
unit
interface manager
game 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
CN201510975076.0A
Other languages
Chinese (zh)
Other versions
CN105573835B (en
Inventor
胡铖林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201510975076.0A priority Critical patent/CN105573835B/en
Publication of CN105573835A publication Critical patent/CN105573835A/en
Application granted granted Critical
Publication of CN105573835B publication Critical patent/CN105573835B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses an interface combined management system. The system comprises a command receiving unit, an inquiring unit, a calling unit and a storage unit, wherein the command receiving unit is used for receiving a scene switching command for switching a current game scene to a target game scene; the inquiring unit is used for inquiring an interface manager of the target game scene from the storage unit according to the scene switching command and generating a calling command after inquiring the interface manager of the target game scene; the calling unit is used for calling the interface manager on the basis of the calling command, so that the interface manager performs interface refreshing to generate an interface of the target game scene; the storage unit is used for storing the interface manager of at least one game scene for inquiry by the inquiring unit. The invention further discloses an interface combined management method and a terminal. Rapid interface switching and restoration can be realized while the game running performance is guaranteed.

Description

A kind of interface combinations management system, method and terminal
Technical field
The present invention relates to interface management domain, particularly relate to a kind of interface combinations management system, method and terminal.
Background technology
In game process, the switching between interface is very frequently, and player may put out an interface, makes it be covered on another interface, or closes an interface of having opened, and more has such as interface to return, the special switching demand of interface redirect and so on.Existing Interface Management Technology, typically uses a queue or storehouse as an interface manager to store the display parameter at interface, and records the order opened at interface.
In general, interface manager can manage the switching at the interface of a scene of game.But, also often can run into the switching of whole scene of game in game, such as be switched to home court scape from scene of fighting or be switched to from home court scape and log in scene etc.Then now, prior art can adopt the following two kinds way, one is reset by interface manager, the data in interface manager all deleted and replace with the data of the scene of game that will switch, and namely needs all interfaces of the scene of game of closing when front opening; Another kind of then be the hiding whole scene of game when front opening, and be cached in internal memory.
Summary of the invention
But, for the first way, because the data of the scene of game when front opening are deleted, when needing to switch back the scene of game deserving front opening, needing the process of interface manager being carried out again to a secondary data replacement, the recovery at interface cannot be carried out fast.And for the second way, although interface recovery can be carried out more fast, but these scene of game are buffered in internal memory, the storage space of meeting committed memory, and along with the continuous switching of scene of game, shared memory headroom also can be increasing, finally have influence on the runnability of terminal or game, Consumer's Experience is not good.
For the problems referred to above, the object of the present invention is to provide a kind of interface combinations management system, method and terminal, while guarantee game running performance, changing interface and recovery fast can be realized.
The invention provides a kind of interface combinations management system, comprising:
Instruction reception unit, for receiving the scene switching command being switched to target game scene from current game scene;
Query unit, for according to the interface manager of described scene switching command to target game scene described in storage unit query, and when inquiring the interface manager of described target game scene, generates call instruction;
Call unit, for calling described interface manager based on described call instruction, to make described interface manager carry out interface refreshing, generates the interface of described target game scene;
Storage unit, for storing the interface manager of at least one scene of game, uses for described query unit inquiry.
In technique scheme, by the interface manager of the different scene of game of described cell stores, so, when carrying out scene and switching, described query unit inquires the interface manager of target game scene from described storage unit, call described interface manager by described call unit again, achieve the interface management to different scene of game.Owing to not needing to reset an interface manager after often switching a scene of game, do not need by hiding current game scene in internal memory yet, thus interface recovery can be realized while guarantee runnability, solve game, the demand that interface particularly in mobile phone games fast switches and recovers, decrease the stand-by period that player switches scene of game, improve the game experiencing of player.
Preferably, described storage unit specifically for, dictionary is utilized to store numbering and the interface manager of at least one scene of game, wherein, described dictionary comprises at least one pair of key-value pair, the key of described key-value pair is the numbering of described scene of game, and the value of described key-value pair is the interface manager of described scene of game;
Then described query unit specifically for, from described scene switching command, extract the numbering of described target game scene, initiate inquiry according to described numbering to described storage unit, and inquire with described number corresponding interface manager time, generation call instruction.
Preferably, described interface combinations management system also comprises sets up unit, wherein:
Described query unit, also for according to described scene switching command to the interface manager of target game scene described in storage unit query and when not inquiring the interface manager of described target game scene, generate and set up instruction;
Describedly set up unit, for setting up after instruction sets up the interface manager of described target game scene based on described, generate and be sent to the call instruction of described call unit, and the interface manager of the described target game scene set up is sent to described storage unit stores.
In this preferred version, the interface manager that those not yet have the target game scene of interface manager is set up by setting up unit, and be stored in storage unit, so when to be switched to this target game scene more next time, described query unit just can inquire the interface manager of this target game scene, and do not need a newly-built interface manager, improve operational efficiency.
Preferably, described interface combinations management system also comprises:
Display parameter buffer unit, the display parameter for the current display interface by current game scene are cached in the interface manager of current game scene.
Preferably, described display parameter comprise the coordinate of described current display interface, size and transparency.
In this preferred version, when being switched in target game scene from current game scene, the display parameter of the current display interface (interface as last display) of current game scene are cached in the interface manager of current game scene by described display parameter buffer unit, wherein, described display parameter comprise the coordinate of described current display interface, size and transparency.So, when needs return current game scene from target game scene, the interface manager of described current game scene perfectly can restore the interface of last display fast according to these display parameter, avoid repetitive operation, shorten the stand-by period of player.
Preferably, described scene switching command also comprises insertion interface identification, then described interface combinations management system also comprises:
Interface plug-in unit, for extracting described insertion interface identification from described scene switching command, obtaining according to described insertion interface identification and inserting interface, and being inserted at described insertion interface in the interface manager of described target game scene.
In this preferred version, when being switched in the process of target game scene from current game scene, during the insertion interface needing increase by extra, described game master routine can increase the mark that this inserts interface in described scene switching command.Described interface plug-in unit can extract described insertion interface identification from described scene switching command, obtain according to described insertion interface identification and insert interface, and described insertion interface is inserted in the interface manager of described target game scene, so, when described call unit calls the interface manager of described target game scene, described interface manager can call and show described insertion interface.As this increased the dirigibility of interface display, tackling the planning demand of numerous and complicated when reducing modification amount as far as possible, accelerating development time and the maintenance time of game.
The present invention also provides a kind of interface combinations management method, comprising:
Instruction reception unit receives the scene switching command being switched to target game scene from current game scene;
Query unit, in response to described scene switching command, to the interface manager of target game scene described in storage unit query, and when inquiring the interface manager of described target game scene, generates call instruction; Wherein, the described cell stores interface manager of at least one scene of game;
Call unit, in response to described call instruction, calls described interface manager, to make described interface manager carry out interface refreshing, generates the interface of described target game scene.
Preferably, described storage unit utilizes dictionary to store numbering and the interface manager of at least one scene of game, and wherein, described dictionary comprises at least one pair of key-value pair, the key of described key-value pair is the numbering of described scene of game, and the value of described key-value pair is the interface manager of described scene of game;
Then described query unit is in response to described scene switching command, to the interface manager of target game scene described in storage unit query, and when inquiring the interface manager of described target game scene, generating call instruction, being specially:
Query unit extracts the numbering of described target game scene from described scene switching command, initiates inquiry according to described numbering to described storage unit, and inquire with described number corresponding interface manager time, generation call instruction.
Preferably, also comprise: described query unit according to the interface manager of described scene switching command to target game scene described in storage unit query, and when not inquiring the interface manager of described target game scene, generating and setting up instruction;
Setting up unit is setting up after instruction sets up the interface manager of described target game scene based on described, generate and be sent to the call instruction of described call unit, and the interface manager of the described target game scene set up is sent to described storage unit stores.
Preferably, the display parameter of the current display interface of current game scene are cached in the interface manager of current game scene by display parameter buffer unit.
Preferably, described display parameter comprise the coordinate of described current display interface, size and transparency.
Preferably, described scene switching command also comprises insertion interface identification, then described interface combinations management method also comprises:
Interface plug-in unit extracts described insertion interface identification from described scene switching command, obtains and inserts interface, and be inserted at described insertion interface in the interface manager of described target game scene according to described insertion interface identification.
The present invention also provides a kind of terminal, comprises above-mentioned interface combinations management system.
Accompanying drawing explanation
In order to be illustrated more clearly in technical scheme of the present invention, be briefly described to the accompanying drawing used required in embodiment below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the structural representation of the interface combinations management system that the embodiment of the present invention provides.
Fig. 2 is the another kind of structural representation of the interface combinations management system that the embodiment of the present invention provides.
Fig. 3 is the another kind of structural representation of the interface combinations management system that the embodiment of the present invention provides.
Fig. 4 is the another kind of structural representation of the interface combinations management system that the embodiment of the present invention provides.
Fig. 5 is the schematic flow sheet of the interface combinations management method that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Refer to Fig. 1, Fig. 1 is the structural representation of the interface combinations management system that the embodiment of the present invention provides.Described interface combinations management system 100 comprises instruction reception unit 10, query unit 20, call unit 30 and storage unit 40, wherein:
Described instruction reception unit 10, for receiving the scene switching command being switched to target game scene from current game scene.
In embodiments of the present invention, in gaming, often relate to the switching of different scene of game, such as user enters into scene of fighting from game home court scape, be withdrawn into from game home court scape and log in scene, or game automatically switches back home court scape from scene of fighting based on self operation logic after fight terminates, then now, described game can by generating scene switching command, and described instruction reception unit 10 will receive this scene switching command.
In embodiments of the present invention, preferably, described scene switching command comprises the numbering of current game scene and the numbering of target game scene.
Query unit 20, for inquiring about the interface manager of described target game scene to storage unit 40 according to described scene switching command, and when inquiring the interface manager of described target game scene, generates call instruction.
In embodiments of the present invention, for a scene of game, it also comprises multiple interface, such as, for a game home court scape, it is except comprising Interface of City, also may comprise game character state interface, equipment upgrading a series of interface such as interface, map interface, wherein, these interfaces can be managed by an interface manager.
Particularly, in embodiments of the present invention, described interface manager can use a storehouse to manage the interface under current game scene, and storehouse stores the interface object of current scene, and interface object comprises the display packing at interface and one and plays window parameter and show whether show to play window mode.When carrying out the switching at interface, interface manager is undertaken by following steps:
(1) when receiving the request of opening an interface, described interface manager first judges the interface object whether being cached with described interface in buffer memory, if had, then directly reads described interface object; If no, a then newly-built interface object be stored in described storehouse;
(2) according to asking the bullet window parameter at interface opened to judge whether to need to close current display interface, (to described interface manager the request interface of opening play window mode to show, and do not need to close current display interface, otherwise, need to close current display interface), and call display interface refreshing interface;
(3) when receiving the request at a closedown interface, described interface manager is by this interface object pop-up a stack and destroy, if this interface is non-ballistic window, mode shows, then eject an interface from stack top, calls its display packing and refreshes interface.
It should be noted that, in other embodiments of the invention, described interface manager also can utilize a queue to manage the interface under current game scene; Difference is, for queue, interface object inserts from tail of the queue, and be extracted from team's head, and for storehouse, interface object carries out deleting or update in stack top, these design proposals, all within protection scope of the present invention, do not repeat at this.
In general, the interface of a scene of game can be managed by an interface manager, but if relate to the switching of different scene of game, then an independent interface manager just seems unable to do what one wishes.For this reason, in embodiments of the present invention, described storage unit 40 stores the interface manager of at least one scene of game, wherein, preferably, described storage unit 40 utilizes dictionary to store numbering and the interface manager of at least described scene of game, wherein, described dictionary comprises at least one pair of key-value pair (key:value), the numbering that the key (key) of described key-value pair is described scene of game, the interface manager that the value (value) of described key-value pair is described scene of game.
In example of the present invention, described query unit 20 is after receiving described scene switching command, the numbering of target game scene can be extracted from described scene switching command, then initiate inquiry according to described numbering to described storage unit 40, after described storage unit 40 receives described numbering, whether inquiry exists the interface manager corresponding with this numbering, if exist, then described interface manager is returned to described query unit 20, now, described query unit 20 generates call instruction.
Described call unit 30, for calling described interface manager based on described call instruction, to make described interface manager carry out interface refreshing, generates the interface of described target game scene.
In embodiments of the present invention, described call unit 30 is after receiving described call instruction, call described interface manager, after described interface manager is called, call display interface by the performing step of the changing interface of foregoing description according to interface object and refresh interface, thus generate the interface of described target game scene.Wherein, the interface of described target game scene can be the acquiescence admission interface of described target game scene, by the self-defined setting of program.
Storage unit 40, for storing the interface manager of at least one scene of game, inquiring about for described query unit 20 and using.
The interface combinations management system 100 that the embodiment of the present invention provides, described storage unit 40 stores the interface manager of different scene of game, so, when carrying out scene and switching, described query unit 20 inquires the interface manager of target game scene from described storage unit 40 according to the numbering of the target game scene be switched to, call described interface manager by described call unit 30 again, achieve the interface management to different scene of game.The embodiment of the present invention is not owing to needing to reset an interface manager after often switching a scene of game, do not need by hiding current scene in internal memory yet, thus interface recovery can be realized while guarantee runnability, solve game, the demand that interface particularly in mobile phone games fast switches, decrease the stand-by period that player switches scene of game, improve the game experiencing of player.
For being described in detail the solution of the present invention further, hereafter preferred embodiments more of the present invention being specifically described or being illustrated:
1, for the preferred embodiment of query unit 20.
See also Fig. 2, in embodiments of the present invention, although described storage unit 40 stores the interface manager of at least one scene of game, but for some scene of game newly increased or the scene of game that is triggered first, then the interface manager of these scene of game of possibility is not yet stored in described storage unit 40, and now described query unit 20 possibly cannot inquire the interface manager of described target game scene from described storage unit 40.
For addressing this problem, in embodiments of the present invention, described interface combinations management system 100 also comprises sets up unit 50, wherein:
Described query unit 20, also for inquiring about the interface manager of described target game scene to storage unit 40 according to described scene switching command, and when not inquiring the interface manager of described target game scene, generating and setting up instruction;
Describedly set up unit 50, for setting up after instruction sets up the interface manager of described target game scene based on described, generate and be sent to the call instruction of described call unit 30, and the interface manager of the described target game scene set up is sent to described storage unit 40 stores.
In embodiments of the present invention, after described query unit 20 does not inquire corresponding interface manager, instruction is set up in generation, described unit 50 of setting up sets up instruction in response to described, set up the interface manager of described target game scene, and generate described call instruction, call described interface manager to make described call unit 30 according to described call instruction.Simultaneously, the described interface manager set up also is sent to described storage unit 40 and stores by described unit 50 of setting up, so, when to be switched to this target game scene more next time, described query unit 20 just can inquire the interface manager of this target game scene, and do not need again a newly-built interface manager, improve operational efficiency.
2, for the preferred embodiment that interface is recovered.
In gaming, encounter such a case sometimes, user, after being switched to target game scene from current game scene, may return to current game scene sometimes, if player is after being switched to scene of fighting from game home court scape, discovery is forgotten to buy equipment or forget to take over to be engaged in, and needs again to return game home court scape, then now, usually, need the interface manager again calling game home court scape, and again call display interface refreshing interface in order according to interface object, cause repetitive operation.
See also Fig. 3, for this reason, in the preferred embodiment, described interface combinations management system 100 also comprises:
Display parameter buffer unit 60, the display parameter for the current display interface by current game scene are cached in the interface manager of current game scene.Wherein, described display parameter comprise the coordinate of described current display interface, size and transparency.
Particularly, in the preferred embodiment, when being switched in target game scene from current game scene, described display parameter buffer unit 60, display parameter for the current display interface (interface as last display before the switch) by current game scene are cached in the interface manager of current game scene, wherein, described display parameter comprise the coordinate of described current display interface, size and transparency.So, when needs return current game scene from target game scene, the interface manager of described current game scene perfectly can restore interface fast according to these display parameter, avoids repetitive operation, shortens the stand-by period of player.
Certainly; should be noted that; in an embodiment of the present invention; the display parameter at each interface may be different; for this reason, the display parameter of described display parameter buffer unit 60 buffer memory, except above-mentioned coordinate, size and the transparency mentioned, also can comprise other display parameter; these schemes, also within protection scope of the present invention, do not repeat at this.
3, for the preferred embodiment that interface is inserted.
When scene switches, need the interface display logic relating to some more complicated sometimes.Such as when cutting out from scene of fighting, extra award interface may be ejected according to fight result.Now, the predefined interface manager containing rewarding interface can being selected to show, also award interface can be inserted in the interface manager needing to recover and realize.Wherein, by being inserted in the interface manager needing to recover realizing obviously more flexible by rewarding interface, nor need all again to arrange interface manager when often increasing an extra interface.
See also Fig. 4, for this reason, in the preferred embodiment, described interface combinations management system 100 also comprises:
Interface plug-in unit 70, for extracting described insertion interface identification from described scene switching command, obtaining according to described insertion interface identification and inserting interface, and being inserted at described insertion interface in the interface manager of described target game scene.
In the preferred embodiment, when being switched in the process of target game scene from current game scene, when needing to increase extra insertion interface, described game master routine can increase the mark that this inserts interface in described scene switching command.Described interface plug-in unit 70 can extract described insertion interface identification from described scene switching command, obtain according to described insertion interface identification and insert interface, and described insertion interface is inserted in the interface manager of described target game scene, so, when described call unit 30 calls the interface manager of described target game scene, described interface manager can call and show described insertion interface.As this increased the dirigibility of interface display, tackling the planning demand of numerous and complicated when reducing modification amount as far as possible, accelerating development time and the maintenance time of game.
See also Fig. 5, Fig. 5 is the schematic flow sheet of the interface combinations management method that the embodiment of the present invention provides.Described interface combinations management method at least comprises the steps:
S101, instruction reception unit receives the scene switching command being switched to target game scene from current game scene.
In embodiments of the present invention, preferably, described scene switching command comprises the numbering of current game scene and the numbering of target game scene.
S102, query unit, in response to described scene switching command, to the interface manager of target game scene described in storage unit query, and when inquiring the interface manager of described target game scene, generates call instruction; Wherein, the described cell stores interface manager of at least one scene of game.
In embodiments of the present invention, the described cell stores interface manager of at least one scene of game, wherein, preferably, described storage unit utilizes dictionary to store numbering and the interface manager of at least described scene of game, and wherein, described dictionary comprises at least one pair of key-value pair (key:value), the numbering that the key (key) of described key-value pair is described scene of game, the interface manager that the value (value) of described key-value pair is described scene of game.
In example of the present invention, described query unit is after receiving described scene switching command, the numbering of target game scene can be extracted from described scene switching command, then initiate inquiry according to described numbering to described storage unit, after described storage unit receives described numbering, whether inquiry exists the interface manager corresponding with this numbering, if exist, then described interface manager is returned to described query unit, now, described query unit generates call instruction.
S103, call unit, in response to described call instruction, calls described interface manager, to make described interface manager carry out interface refreshing, generates the interface of described target game scene.
In embodiments of the present invention, described call unit, after receiving described call instruction, calls described interface manager, after described interface manager is called, calls display interface and refreshes interface, thus generate the interface of described target game scene according to interface object.Wherein, the interface of described target game scene can be the acquiescence admission interface of described target game scene, by the self-defined setting of program.
The interface combinations management method that the embodiment of the present invention provides, the described cell stores interface manager of different scene of game, so, when carrying out scene and switching, described query unit inquires the interface manager of target game scene according to the numbering of the target game scene be switched to from described storage unit, call described interface manager by described call unit again, achieve the interface management to different scene of game.The embodiment of the present invention is not owing to needing to reset an interface manager after often switching a scene of game, do not need by hiding current scene in internal memory yet, thus interface recovery can be realized while guarantee runnability, solve game, the demand that interface particularly in mobile phone games fast switches, decrease the stand-by period that player switches scene of game, improve the game experiencing of player.
Preferably, described interface combinations management method also comprises:
S104, described query unit according to the interface manager of described scene switching command to target game scene described in storage unit query, and when not inquiring the interface manager of described target game scene, generating and setting up instruction;
S105, setting up unit is setting up after instruction sets up the interface manager of described target game scene based on described, generate and be sent to the call instruction of described call unit, and the interface manager of the described target game scene set up is sent to described storage unit stores.
This preferred embodiment, the interface manager that those not yet have the target game scene of interface manager is set up by setting up unit, and be stored in storage unit, so when to be switched to this target game scene more next time, described query unit just can inquire the interface manager of this target game scene, and do not need a newly-built interface manager, improve operational efficiency.
Preferably, described interface combinations management method also comprises:
S106, the display parameter of the current display interface of current game scene are cached in the interface manager of current game scene by display parameter buffer unit.
In the preferred embodiment, when being switched in target game scene from current game scene, the display parameter of the current display interface of current game scene are cached in the interface manager of current game scene by described display parameter buffer unit, wherein, described display parameter comprise the coordinate of described current display interface, size and transparency.So, when needs return current game scene from target game scene, the interface manager of described current game scene perfectly can restore interface fast according to these display parameter, avoids repetitive operation, shortens the stand-by period of player.
Preferably, described scene switching command also comprises insertion interface identification, then described interface combinations management method also comprises:
S107, interface plug-in unit extracts described insertion interface identification from described scene switching command, obtains and inserts interface, and be inserted at described insertion interface in the interface manager of described target game scene according to described insertion interface identification.
In the preferred embodiment, when being switched in the process of target game scene from current game scene, when needing to increase extra insertion interface, described game master routine can increase the mark that this inserts interface in described scene switching command.Described interface plug-in unit can extract described insertion interface identification from described scene switching command, obtain according to described insertion interface identification and insert interface, and described insertion interface is inserted in the interface manager of described target game scene, so, when described call unit calls the interface manager of described target game scene, described interface manager can call and show described insertion interface.As this increased the dirigibility of interface management, tackling the planning demand of numerous and complicated when reducing modification amount as far as possible, accelerating development time and the maintenance time of game.
The embodiment of the present invention also provides a kind of terminal, and described terminal comprises the interface combinations management system 100 described in above-mentioned any embodiment.Described terminal can be mobile terminal, and as smart mobile phone, panel computer, notebook computer etc., also can be fixing desktop computer, the present invention is not specifically limited.
The terminal that the embodiment of the present invention provides, the interface manager of different scene of game is stored by described storage unit 40, so, when carrying out scene and switching, described query unit 20 inquires the interface manager of target game scene from described storage unit 40 according to the numbering of the target game scene be switched to, call described interface manager by described call unit 30 again, achieve the interface management to different scene of game.The embodiment of the present invention is not owing to needing to reset an interface manager after often switching a scene of game, do not need by hiding current scene in internal memory yet, thus interface recovery can be realized while guarantee runnability, solve game, the demand that interface particularly in mobile phone games fast switches, decrease the stand-by period that player switches scene of game, improve the game experiencing of player.
Above disclosedly be only a kind of preferred embodiment of the present invention, certainly the interest field of the present invention can not be limited with this, one of ordinary skill in the art will appreciate that all or part of flow process realizing above-described embodiment, and according to the equivalent variations that the claims in the present invention are done, still belong to the scope that invention is contained.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-OnlyMemory, ROM) or random store-memory body (RandomAccessMemory, RAM) etc.

Claims (13)

1. an interface combinations management system, is characterized in that, comprising:
Instruction reception unit, for receiving the scene switching command being switched to target game scene from current game scene;
Query unit, for according to the interface manager of described scene switching command to target game scene described in storage unit query, and when inquiring the interface manager of described target game scene, generates call instruction;
Call unit, for calling described interface manager based on described call instruction, to make described interface manager carry out interface refreshing, generates the interface of described target game scene;
Storage unit, for storing the interface manager of at least one scene of game, uses for described query unit inquiry.
2. interface combinations management system according to claim 1, is characterized in that,
Described storage unit specifically for, utilize dictionary to store numbering and the interface manager of at least one scene of game, wherein, described dictionary comprises at least one pair of key-value pair, the key of described key-value pair is the numbering of described scene of game, and the value of described key-value pair is the interface manager of described scene of game;
Then described query unit specifically for, from described scene switching command, extract the numbering of described target game scene, initiate inquiry according to described numbering to described storage unit, and inquire with described number corresponding interface manager time, generation call instruction.
3. interface combinations management system according to claim 1, is characterized in that, described interface combinations management system also comprises sets up unit, wherein:
Described query unit, also for according to the interface manager of described scene switching command to target game scene described in storage unit query, and when not inquiring the interface manager of described target game scene, generating and setting up instruction;
Describedly set up unit, for setting up after instruction sets up the interface manager of described target game scene based on described, generate and be sent to the call instruction of described call unit, and the interface manager of the described target game scene set up is sent to described storage unit stores.
4. interface combinations management system according to claim 1, is characterized in that, described interface combinations management system also comprises:
Display parameter buffer unit, the display parameter for the current display interface by current game scene are cached in the interface manager of current game scene.
5. interface combinations management system according to claim 4, is characterized in that, described display parameter comprise the coordinate of described current display interface, size and transparency.
6. the interface combinations management system according to claim 1 to 5 any one, is characterized in that, described scene switching command also comprises insertion interface identification, then described interface combinations management system also comprises:
Interface plug-in unit, for extracting described insertion interface identification from described scene switching command, obtaining according to described insertion interface identification and inserting interface, and being inserted at described insertion interface in the interface manager of described target game scene.
7. an interface combinations management method, is characterized in that, comprising:
Instruction reception unit receives the scene switching command being switched to target game scene from current game scene;
Query unit, in response to described scene switching command, to the interface manager of target game scene described in storage unit query, and when inquiring the interface manager of described target game scene, generates call instruction; Wherein, the described cell stores interface manager of at least one scene of game;
Call unit, in response to described call instruction, calls described interface manager, to make described interface manager carry out interface refreshing, generates the interface of described target game scene.
8. interface combinations management method according to claim 7, is characterized in that,
Described storage unit utilizes dictionary to store numbering and the interface manager of at least one scene of game, wherein, described dictionary comprises at least one pair of key-value pair, and the key of described key-value pair is the numbering of described scene of game, and the value of described key-value pair is the interface manager of described scene of game;
Then described query unit is in response to described scene switching command, to the interface manager of target game scene described in storage unit query, and when inquiring the interface manager of described target game scene, generating call instruction, being specially:
Query unit extracts the numbering of described target game scene from described scene switching command, initiates inquiry according to described numbering to described storage unit, and inquire with described number corresponding interface manager time, generation call instruction.
9. interface combinations management method according to claim 7, is characterized in that, also comprise:
Described query unit according to the interface manager of described scene switching command to target game scene described in storage unit query, and when not inquiring the interface manager of described target game scene, generating and setting up instruction;
Setting up unit sets up after instruction sets up the interface manager of described target game scene based on described, generates the call instruction being sent to described call unit, and the interface manager of the described target game scene set up is sent to described storage unit stores.
10. interface combinations management method according to claim 7, is characterized in that, also comprise:
The display parameter of the current display interface of current game scene are cached in the interface manager of current game scene by display parameter buffer unit.
11. interface combinations management methods according to claim 10, is characterized in that, described display parameter comprise the coordinate of described current display interface, size and transparency.
12. interface combinations management methods according to claim 7 to 11 any one, it is characterized in that, described scene switching command also comprises insertion interface identification, then described interface combinations management method also comprises:
Interface plug-in unit extracts described insertion interface identification from described scene switching command, obtains and inserts interface, and be inserted at described insertion interface in the interface manager of described target game scene according to described insertion interface identification.
13. 1 kinds of terminals, is characterized in that, comprise the interface combinations management system as described in claim 1 to 6 any one.
CN201510975076.0A 2015-12-22 2015-12-22 A kind of interface combinations management system, method and terminal Active CN105573835B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510975076.0A CN105573835B (en) 2015-12-22 2015-12-22 A kind of interface combinations management system, method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510975076.0A CN105573835B (en) 2015-12-22 2015-12-22 A kind of interface combinations management system, method and terminal

Publications (2)

Publication Number Publication Date
CN105573835A true CN105573835A (en) 2016-05-11
CN105573835B CN105573835B (en) 2019-04-16

Family

ID=55884005

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510975076.0A Active CN105573835B (en) 2015-12-22 2015-12-22 A kind of interface combinations management system, method and terminal

Country Status (1)

Country Link
CN (1) CN105573835B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361948A (en) * 2018-10-30 2019-02-19 深圳Tcl数字技术有限公司 Methods for interface management, intelligent terminal and readable storage medium storing program for executing
CN112138371A (en) * 2020-09-15 2020-12-29 北京智明星通科技股份有限公司 Game scene loading method, system and server based on associated access times

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101604358A (en) * 2009-07-13 2009-12-16 优万科技(北京)有限公司 A kind of resource updates methods, devices and systems
CN103034533A (en) * 2011-09-30 2013-04-10 深圳市龙视传媒有限公司 Method, device and terminal of switching games between different terminals
CN103294881A (en) * 2012-02-28 2013-09-11 腾讯科技(深圳)有限公司 Method and device for acquiring game page and mobile terminal
US20140033219A1 (en) * 2012-07-24 2014-01-30 Mstar Semiconductor, Inc. Method, apparatus and computer for loading resource file for game engine
CN103631565A (en) * 2013-11-13 2014-03-12 北京像素软件科技股份有限公司 Loading method and device for scene resources

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101604358A (en) * 2009-07-13 2009-12-16 优万科技(北京)有限公司 A kind of resource updates methods, devices and systems
CN103034533A (en) * 2011-09-30 2013-04-10 深圳市龙视传媒有限公司 Method, device and terminal of switching games between different terminals
CN103294881A (en) * 2012-02-28 2013-09-11 腾讯科技(深圳)有限公司 Method and device for acquiring game page and mobile terminal
US20140033219A1 (en) * 2012-07-24 2014-01-30 Mstar Semiconductor, Inc. Method, apparatus and computer for loading resource file for game engine
CN103631565A (en) * 2013-11-13 2014-03-12 北京像素软件科技股份有限公司 Loading method and device for scene resources

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109361948A (en) * 2018-10-30 2019-02-19 深圳Tcl数字技术有限公司 Methods for interface management, intelligent terminal and readable storage medium storing program for executing
CN109361948B (en) * 2018-10-30 2021-11-09 深圳Tcl数字技术有限公司 Interface management method, intelligent terminal and readable storage medium
CN112138371A (en) * 2020-09-15 2020-12-29 北京智明星通科技股份有限公司 Game scene loading method, system and server based on associated access times

Also Published As

Publication number Publication date
CN105573835B (en) 2019-04-16

Similar Documents

Publication Publication Date Title
CN107158705B (en) The update method and device of service
CN100578470C (en) Audio/video data access method and device based on raw device
CN108491333A (en) Method for writing data, device, equipment and the medium of buffer circle
CN104915226B (en) A kind of network device software starting method, apparatus and the network equipment
CN103092687B (en) A kind of application program management apparatus and method
CN106371763A (en) Snapshot storage method and apparatus, disk and computer
CN101894137A (en) Method and device for restoring data in embedded database
CN102622190B (en) The online wiring method of product identification information and electronic product
CN103559910B (en) The realization intelligence that is applied to cd-rom recorder is switched the system and method for burning/recording chip sequential
CN108427728A (en) Management method, equipment and the computer-readable medium of metadata
CN103020201B (en) A kind of system that stores simplifies configuration storage pool and the method for organization and administration automatically
CN104267997B (en) The startup method and terminal device of application software in a kind of terminal device
CN102646152A (en) Game map switching method and system
CN105573835A (en) Interface combined management system and method as well as terminal
CN104268097B (en) A kind of metadata processing method and system
CN104750755A (en) Method and system for recovering data after switching between main database and standby database
KR20180100626A (en) GPU resource reconstruction method, user device, system, and storage medium
CN109683825A (en) A kind of storage system online data compression method, device and equipment
CN105653304B (en) The switching method of operational mode, the switching device of operational mode and terminal
CN101795328A (en) Set-card separation mobile phone and method for realizing card initialization
CN103440204B (en) A kind of method of updating file system and memory device
CN105242941B (en) Method for burn-recording and device
CN110457321A (en) Date storage method and Related product based on block chain
CN110286852A (en) Dual control framework distributed memory system, method for reading data, device and storage medium
CN103729301B (en) Data processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant