CN105573835B - A kind of interface combinations management system, method and terminal - Google Patents

A kind of interface combinations management system, method and terminal Download PDF

Info

Publication number
CN105573835B
CN105573835B CN201510975076.0A CN201510975076A CN105573835B CN 105573835 B CN105573835 B CN 105573835B CN 201510975076 A CN201510975076 A CN 201510975076A CN 105573835 B CN105573835 B CN 105573835B
Authority
CN
China
Prior art keywords
interface
scene
manager
game
unit
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.)
Active
Application number
CN201510975076.0A
Other languages
Chinese (zh)
Other versions
CN105573835A (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 a kind of interface combinations management systems, comprising: instruction receiving unit, for receiving the scene switching instruction for being switched to target game scene from current game scene;Query unit generates call instruction for instructing the interface manager to target game scene described in storage unit query according to the scene switching, and when inquiring the interface manager of the target game scene;Call unit, so that the interface manager carries out interface refreshing, generates the interface of the target game scene for calling the interface manager based on the call instruction;Storage unit is inquired for the query unit and is used for storing the interface manager of at least one scene of game.The invention also discloses a kind of interface combinations management method and terminal, cocoa realizes quick changing interface and recovery while guaranteeing game running performance.

Description

A kind of interface combinations management system, method and terminal
Technical field
The present invention relates to interface management domain more particularly to a kind of interface combinations management systems, method and terminal.
Background technique
In game process, the switching between interface is very frequently that player may put open an interface, make its covering On another interface, or an interface having already turned on is closed, more there is such as interface return, the spy that interface jumps etc Different switching demand.Existing Interface Management Technology usually uses a queue or storehouse and comes as an interface manager The display parameters at interface are stored, and record the sequence of interface opening.
In general, an interface manager can manage the switching at the interface of a scene of game.But in game also It is frequently encountered the switching of entire scene of game, for example is switched to home court scape from scene of fighting or is switched to beach head from home court scape Scape etc..Then at this point, the prior art can use the following two kinds way, one is interface manager is reset, by intercellular canals The data for the scene of game to be switched all are deleted and replaced with to data in reason device, that is, needs to close the sports ground for working as front opening All interfaces of scape;It is another then be to hide the entire scene of game for working as front opening, and be cached in memory.
Summary of the invention
However, for the first way, since the data of the scene of game when front opening have been deleted, when needs switch back into It when deserving the scene of game of front opening, needs to carry out interface manager again the process of reset data, can not quickly carry out The recovery at interface.And for second of way, it is rapidly performed by interface recovery although can compare, these scene of game are It caches in memory, the memory space of meeting committed memory, moreover, with the continuous switching of scene of game, occupied memory Space also can be increasing, eventually affects the runnability of terminal or game, and user experience is bad.
It, can be in view of the above-mentioned problems, the purpose of the present invention is to provide a kind of interface combinations management system, method and terminal While guaranteeing game running performance, quick changing interface and recovery are realized.
The present invention provides a kind of interface combinations management systems, comprising:
Instruction receiving unit, for receiving the scene switching instruction for being switched to target game scene from current game scene;
Query unit, for instructing the interface to target game scene described in storage unit query according to the scene switching Manager, and when inquiring the interface manager of the target game scene, generate call instruction;
Call unit, for calling the interface manager based on the call instruction so that the interface manager into Row interface is refreshed, and the interface of the target game scene is generated;
Storage unit, for storing the interface manager of at least one scene of game, so that query unit inquiry makes With.
In above-mentioned technical proposal, the interface manager of different scene of game is stored by the storage unit, in this way, into When row scene switching, the query unit inquires the interface manager of target game scene from the storage unit, then leads to It crosses the call unit and calls the interface manager, realize the interface management to different scene of game.Due to not needing An interface manager is reset after scene of game of every switching, is not also needed by hiding current game scene into memory, So as to realize that interface is restored while guaranteeing runnability, the interface solved in game, especially mobile phone games is quick Switching and the demand restored reduce the waiting time that player switches scene of game, improve the game experiencing of player.
Preferably, the storage unit is specifically used for, number and the interface of at least one scene of game are stored using dictionary Manager, wherein the dictionary includes at least a pair of of key-value pair, and the key of the key-value pair is the number of the scene of game, institute The value for stating key-value pair is the interface manager of the scene of game;
Then the query unit is specifically used for, and the volume of the target game scene is extracted from scene switching instruction Number, it initiates to inquire according to described number to the storage unit, and when inquiring with the corresponding interface manager of the number, Generate call instruction.
Preferably, the interface combinations management system further includes establishing unit, in which:
The query unit is also used to be instructed according to the scene switching to target game scene described in storage unit query Interface manager and when not inquiring the interface manager of the target game scene, generate establish instruction;
It is described to establish unit, for based on the interface manager established instruction and establish the target game scene Afterwards, the call instruction for being sent to the call unit is generated, and the interface manager of the target game scene of foundation is sent out It send to the storage unit and is stored.
In this preferred embodiment, establishes those by establishing unit there has been no the interfaces of the target game scene of interface manager Manager, and store into storage unit, so when being switched to this target game scene again next time, the query unit The interface manager that the target game scene can be inquired improves operation without creating an interface manager Efficiency.
Preferably, the interface combinations management system further include:
Display parameters cache unit, for being cached to the display parameters of the current display interface of current game scene currently In the interface manager of scene of game.
Preferably, the display parameters include coordinate, size and the transparency of the current display interface.
In this preferred embodiment, when being switched in target game scene from current game scene, the display parameters are slow The display parameters of the current display interface (such as interface of the last one display) of current game scene are cached to currently by memory cell In the interface manager of scene of game, wherein the display parameters include the coordinate of the current display interface, size and transparent Degree.In this way, the interface manager of the current game scene can when needing to return in current game scene from target game scene The interface that the last one display is quickly perfectly restored according to these display parameters, avoids repetitive operation, shortens player's Waiting time.
Preferably, the scene switching instruction further includes insertion interface identification, then the interface combinations management system is also wrapped It includes:
Unit is inserted at interface, for extracting the insertion interface identification from scene switching instruction, is inserted according to described Enter interface identification and obtain insertion interface, and the insertion interface is inserted into the interface manager of the target game scene.
In this preferred embodiment, during being switched to target game scene from current game scene, need to increase by one When a additional insertion interface, the game main program can increase the mark at this insertion interface in scene switching instruction Know.The interface insertion unit can extract the insertion interface identification from scene switching instruction, according to insertion circle Face mark obtains insertion interface, and the insertion interface is inserted into the interface manager of the target game scene, in this way, When the call unit calls the interface manager of the target game scene, the interface manager can call and show institute State insertion interface.The flexibility for so increasing interface display, is coped with numerous and complicated multiple in the case where reducing modification amount to the greatest extent Miscellaneous planning demand accelerates development time and the maintenance time of game.
The present invention also provides a kind of interface combinations management methods, comprising:
Instruction receiving unit receives the scene switching instruction that target game scene is switched to from current game scene;
Query unit is instructed in response to the scene switching, to the intercellular canals of target game scene described in storage unit query Device is managed, and when inquiring the interface manager of the target game scene, generates call instruction;Wherein, the storage unit Store the interface manager of at least one scene of game;
Call unit calls the interface manager in response to the call instruction, so that the interface manager carries out Interface is refreshed, and the interface of the target game scene is generated.
Preferably, the storage unit stores the number and interface manager of at least one scene of game using dictionary, In, the dictionary includes at least a pair of of key-value pair, and the key of the key-value pair is the number of the scene of game, the key-value pair Value is the interface manager of the scene of game;
Then the query unit is instructed in response to the scene switching, to target game scene described in storage unit query Interface manager, and when inquiring the interface manager of the target game scene, call instruction is generated, specifically:
Query unit extracts the number of the target game scene from scene switching instruction, according to it is described number to The storage unit initiates inquiry, and when inquiring with the corresponding interface manager of the number, generates call instruction.
Preferably, further includes: the query unit is instructed according to the scene switching to target described in storage unit query The interface manager of scene of game, and when not inquiring the interface manager of the target game scene, it generates and establishes instruction;
Unit is established after establishing the interface manager of the target game scene based on foundation instruction, generates and sends The extremely call instruction of the call unit, and the interface manager of the target game scene of foundation is sent to the storage Unit is stored.
Preferably, the display parameters of the current display interface of current game scene are cached to and work as by display parameters cache unit In the interface manager of preceding scene of game.
Preferably, the display parameters include coordinate, size and the transparency of the current display interface.
Preferably, the scene switching instruction further includes insertion interface identification, then the interface combinations management method is also wrapped It includes:
Interface is inserted into unit and extracts the insertion interface identification from scene switching instruction, according to the insertion interface Mark obtains insertion interface, and the insertion interface is inserted into the interface manager of the target game scene.
The present invention also provides a kind of terminals, including above-mentioned interface combinations management system.
Detailed description of the invention
In order to illustrate more clearly of technical solution of the present invention, attached drawing needed in embodiment will be made below Simply introduce, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, general for this field For logical technical staff, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is the structural schematic diagram of interface combinations management system provided in an embodiment of the present invention.
Fig. 2 is another structural schematic diagram of interface combinations management system provided in an embodiment of the present invention.
Fig. 3 is another structural schematic diagram of interface combinations management system provided in an embodiment of the present invention.
Fig. 4 is another structural schematic diagram of interface combinations management system provided in an embodiment of the present invention.
Fig. 5 is the flow diagram of interface combinations management method provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Referring to Fig. 1, Fig. 1 is the structural schematic diagram of interface combinations management system provided in an embodiment of the present invention.The boundary Face portfolio management system 100 includes instruction receiving unit 10, query unit 20, call unit 30 and storage unit 40, in which:
Described instruction receiving unit 10, for receiving the scene switching for being switched to target game scene from current game scene Instruction.
In embodiments of the present invention, in gaming, the switching of different scene of game is frequently referred to, such as user is from game Home court scape enters scene of fighting, is withdrawn into from game home court scape and logs in scene or game and existed based on the operation logic of itself Switch back into home court scape from scene of fighting automatically after fight, then it is described at this point, the game can will generate scene switching instruction Instruction receiving unit 10 will receive the instruction of this scene switching.
In embodiments of the present invention, preferably, scene switching instruction includes the number and target of current game scene The number of scene of game.
Query unit 20 inquires the target game scene for instructing according to the scene switching to storage unit 40 Interface manager, and when inquiring the interface manager of the target game scene, generate call instruction.
It in embodiments of the present invention, further include multiple interfaces for a scene of game, for example, for a game Home court scape, in addition to Interface of City outside, may further include game charater state interface, equipment upgrading interface, map interface Etc. a series of interfaces, wherein these interfaces can be managed by an interface manager.
Specifically, in embodiments of the present invention, a storehouse can be used to manage going game field for the interface manager Interface under scape, storehouse store the interface object of current scene, and interface object includes the display methods and a pop-up at interface Parameter indicates whether to show in a manner of pop-up.When carrying out the switching at interface, interface manager can carry out as follows:
(1) when receiving the request for opening an interface, the interface manager first judges whether be cached in caching The interface object at the interface, if so, then directly reading the interface object;If it is not, creating an interface object And it is stored in the storehouse;
(2) the pop-up parameter at the interface that the interface manager is opened according to request judges whether to need to close current display (interface that request is opened is shown in a manner of pop-up, does not need to close current display interface, otherwise, needs to close current at interface Display interface), and display interface is called to refresh interface;
(3) when receive close an interface request when, the interface manager by the interface object pop-up a stack simultaneously It destroys, if the non-pop-up mode in the interface is shown, pops up an interface from stack top, its display methods is called to refresh boundary Face.
It should be noted that in other embodiments of the invention, the interface manager also can use a queue To manage the interface under current game scene;Difference is, for queue, interface object is inserted into from tail of the queue, from team's head It is extracted, and for storehouse, interface object is to carry out deletion or insertion operation in stack top, these design schemes are in this hair Within bright protection scope, this will not be repeated here.
In general, the interface of a scene of game can be managed by an interface manager, if but being related to The switching of different scene of game, then an independent interface manager just seems unable to do what one wishes.For this purpose, in the embodiment of the present invention In, the storage unit 40 stores the interface manager of at least one scene of game, wherein preferably, the storage unit 40 store the number and interface manager of at least described scene of game using dictionary, wherein the dictionary includes at least a pair of keys For value to (key:value), the key (key) of the key-value pair is the number of the scene of game, the value (value) of the key-value pair For the interface manager of the scene of game.
In present example, the query unit 20, can be from the scene after receiving the scene switching instruction The number of target game scene is extracted in switching command, then initiates to inquire according to described number to the storage unit 40, After the storage unit 40 receives the number, inquiry whether there is interface manager corresponding with the number, and if it exists, then The interface manager is returned into the query unit 20, at this point, the query unit 20 generates call instruction.
The call unit 30, for calling the interface manager based on the call instruction, so that the intercellular canals It manages device and carries out interface refreshing, generate the interface of the target game scene.
In embodiments of the present invention, the call unit 30 calls the intercellular canals after receiving the call instruction Device is managed to be called by the realization step of the changing interface of foregoing description according to interface object after the interface manager is called Display interface refreshes interface, to generate the interface of the target game scene.Wherein, the interface of the target game scene can To be the default admission interface of the target game scene, by the customized setting of program.
Storage unit 40, for storing the interface manager of at least one scene of game, so that the query unit 20 is looked into It askes and uses.
Interface combinations management system 100 provided in an embodiment of the present invention, the storage unit 40 store different sports grounds The interface manager of scape, in this way, the query unit 20 is according to the target game scene being switched to when carrying out scene switching Number inquires the interface manager of target game scene from the storage unit 40, then is called by the call unit 30 The interface manager realizes the interface management to different scene of game.The embodiment of the present invention is not due to needing in every switching An interface manager is reset after scene of game, is not also needed by hiding current scene into memory, so as to protect It realizes that interface is restored while demonstrate,proving runnability, solves the demand that the interface in game, especially mobile phone games fast switches, Reduce the waiting time that player switches scene of game, improves the game experiencing of player.
For further the solution of the present invention is described in detail, hereafter to some currently preferred embodiments of the present invention into Row specifically describe or for example:
1, for the preferred embodiment of query unit 20.
Referring to Figure 2 together, in embodiments of the present invention, although the storage unit 40 stores at least one sports ground The interface manager of scape, however the scene of game being triggered for some scene of game newly increased or for the first time, then may these The interface manager of scene of game is not yet stored in the storage unit 40, and the query unit 20 possibly can not be from this time The interface manager of the target game scene is inquired in the storage unit 40.
To solve this problem, in embodiments of the present invention, the interface combinations management system 100 further includes establishing unit 50, in which:
The query unit 20 is also used to be instructed according to the scene switching to storage unit 40 and inquires the target game The interface manager of scene, and when not inquiring the interface manager of the target game scene, it generates and establishes instruction;
It is described to establish unit 50, for based on the interface manager established instruction and establish the target game scene Afterwards, it generates and is sent to the call instruction of the call unit 30, and by the interface manager of the target game scene of foundation The storage unit 40 is sent to be stored.
In embodiments of the present invention, it after the query unit 20 does not inquire corresponding interface manager, generates and establishes Instruction, the unit 50 of establishing are instructed in response to the foundation, establish the interface manager of the target game scene, and generate The call instruction, so that the call unit 30 calls the interface manager according to the call instruction.Meanwhile it described building The interface manager of foundation is also sent to the storage unit 40 and stored by vertical unit 50, in this way, ought next time again When being switched to this target game scene, the query unit 20 can inquire the interface management of the target game scene Device improves operational efficiency without creating an interface manager again.
2, the preferred embodiment restored for interface.
In gaming, such a case is encountered sometimes, and user is being switched to target game field from current game scene Jing Hou there may come a time when that current game scene can be returned to, and if player is after being switched to scene of fighting from game home court scape, discovery is forgotten It buys equipment or forgets to take over business, need to retract game home court scape again, then at this point, generally, needing to call game home court again The interface manager of scape, new root of laying equal stress on call display interface to refresh interface in order according to interface object, cause repetitive operation.
Also referring to Fig. 3, for this purpose, in the preferred embodiment, the interface combinations management system 100 further include:
Display parameters cache unit 60 is worked as being cached to the display parameters of the current display interface of current game scene In the interface manager of preceding scene of game.Wherein, the display parameters include the coordinate of the current display interface, size and thoroughly Lightness.
Specifically, in the preferred embodiment, described aobvious when being switched in target game scene from current game scene Show parameter cache unit 60, for (such as before the switch the last one to be aobvious by the current display interface of current game scene The interface shown) display parameters be cached in the interface manager of current game scene, wherein the display parameters include described Coordinate, size and the transparency of current display interface.In this way, when needing to return in current game scene from target game scene, The interface manager of the current game scene quickly can perfectly restore interface according to these display parameters, avoid repetition fortune It calculates, shortens the waiting time of player.
Certainly, it should be noted that in an embodiment of the present invention, the display parameters at each interface may be different, is This, the display parameters that the display parameters cache unit 60 caches can also be wrapped in addition to the above-mentioned coordinate referred to, size and transparency Other display parameters are included, also within protection scope of the present invention, this will not be repeated here for these schemes.
3, for the preferred embodiment of interface insertion.
In scene switching, it may require that sometimes and be related to some more complicated interface display logics.Such as when from fight When scene is cut out, additional reward interface may be popped up according to fight result.At this point it is possible to select the predefined circle containing reward The interface manager in face shown, can will also be rewarded interface and is inserted into and needs to realize in the interface manager restored.Its In, it needs to realize in the interface manager that restores obviously more flexible by will reward interface and be inserted into, nor needs to exist All interface manager is configured again when one additional interface of every increase.
Referring to Figure 4 together, for this purpose, in the preferred embodiment, the interface combinations management system 100 further include:
Unit 70 is inserted at interface, for extracting the insertion interface identification from scene switching instruction, according to described It is inserted into interface identification and obtains insertion interface, and the insertion interface is inserted into the interface manager of the target game scene In.
In the preferred embodiment, it during being switched to target game scene from current game scene, needs to increase When additional insertion interface, the game main program can increase the mark at this insertion interface in scene switching instruction. The interface insertion unit 70 can extract the insertion interface identification from scene switching instruction, according to the insertion interface Mark obtains insertion interface, and the insertion interface is inserted into the interface manager of the target game scene, in this way, working as When the call unit 30 calls the interface manager of the target game scene, the interface manager can call and show institute State insertion interface.The flexibility for so increasing interface display, is coped with numerous and complicated multiple in the case where reducing modification amount to the greatest extent Miscellaneous planning demand accelerates development time and the maintenance time of game.
Please refer to fig. 5, Fig. 5 is the flow diagram of interface combinations management method provided in an embodiment of the present invention.Institute Interface combinations management method is stated including at least following steps:
S101, instruction receiving unit receive the scene switching instruction that target game scene is switched to from current game scene.
In embodiments of the present invention, preferably, scene switching instruction includes the number and target of current game scene The number of scene of game.
S102, query unit are instructed in response to the scene switching, to target game scene described in storage unit query Interface manager, and when inquiring the interface manager of the target game scene, generate call instruction;Wherein, described to deposit Storage unit stores the interface manager of at least one scene of game.
In embodiments of the present invention, the storage unit stores the interface manager of at least one scene of game, wherein Preferably, the storage unit stores the number and interface manager of at least described scene of game using dictionary, wherein the word Allusion quotation includes at least a pair of of key-value pair (key:value), and the key (key) of the key-value pair is the number of the scene of game, described The value (value) of key-value pair is the interface manager of the scene of game.
In present example, the query unit can be cut after receiving the scene switching instruction from the scene The number for extracting target game scene in instruction is changed, then initiates to inquire according to described number to the storage unit, it is described After storage unit receives the number, inquiry whether there is interface manager corresponding with the number, and if it exists, then will be described Interface manager returns to the query unit, at this point, the query unit generates call instruction.
S103, call unit calls the interface manager in response to the call instruction, so that the interface manager Interface refreshing is carried out, the interface of the target game scene is generated.
In embodiments of the present invention, the call unit calls the interface management after receiving the call instruction Device after the interface manager is called, calls display interface to refresh interface according to interface object, to generate the target trip The interface for scene of playing.Wherein, the interface of the target game scene can be the default admission interface of the target game scene, By the customized setting of program.
Interface combinations management method provided in an embodiment of the present invention, the storage unit store the boundary of different scene of game Face manager, in this way, when carrying out scene switching, the query unit is according to the number of the target game scene being switched to from institute The interface manager for inquiring target game scene in storage unit is stated, then the interface management is called by the call unit Device realizes the interface management to different scene of game.The embodiment of the present invention is not due to needing in scene of game of every switching An interface manager is reset afterwards, is not also needed by hiding current scene into memory, so as to guarantee runnability It realizes that interface is restored simultaneously, solves the demand that the interface in game, especially mobile phone games fast switches, reduce player and cut The waiting time for changing scene of game improves the game experiencing of player.
Preferably, the interface combinations management method further include:
S104, the query unit are instructed according to the scene switching to target game scene described in storage unit query Interface manager, and when not inquiring the interface manager of the target game scene, it generates and establishes instruction;
S105 establishes unit after establishing the interface manager of the target game scene based on foundation instruction, raw Institute is sent at the call instruction for being sent to the call unit, and by the interface manager of the target game scene of foundation Storage unit is stated to be stored.
This preferred embodiment establishes those there has been no the interfaces of the target game scene of interface manager by establishing unit Manager, and store into storage unit, so when being switched to this target game scene again next time, the query unit The interface manager that the target game scene can be inquired improves operation without creating an interface manager Efficiency.
Preferably, the interface combinations management method further include:
The display parameters of the current display interface of current game scene are cached to currently by S106, display parameters cache unit In the interface manager of scene of game.
In the preferred embodiment, when being switched in target game scene from current game scene, the display parameters The display parameters of the current display interface of current game scene are cached to the interface manager of current game scene by cache unit In, wherein the display parameters include coordinate, size and the transparency of the current display interface.In this way, when needing from target Scene of game returns in current game scene, and the interface manager of the current game scene can be quick according to these display parameters It is perfect to restore interface, repetitive operation is avoided, the waiting time of player is shortened.
Preferably, the scene switching instruction further includes insertion interface identification, then the interface combinations management method is also wrapped It includes:
S107, interface are inserted into unit and extract the insertion interface identification from scene switching instruction, are inserted according to described Enter interface identification and obtain insertion interface, and the insertion interface is inserted into the interface manager of the target game scene.
In the preferred embodiment, it during being switched to target game scene from current game scene, needs to increase When additional insertion interface, the game main program can increase the mark at this insertion interface in scene switching instruction. The interface insertion unit can extract the insertion interface identification from scene switching instruction, be marked according to the insertion interface Know and obtain insertion interface, and the insertion interface is inserted into the interface manager of the target game scene, in this way, working as institute When stating call unit and calling the interface manager of the target game scene, the interface manager can call and show described insert Enter interface.The flexibility for so increasing interface management, is coped with numerous and complicated in the case where reducing modification amount to the greatest extent Planning demand accelerates development time and the maintenance time of game.
The embodiment of the present invention also provides a kind of terminal, and the terminal includes interface combinations pipe described in any of the above-described embodiment Reason system 100.The terminal can be mobile terminal, such as smart phone, tablet computer, laptop, can also be fixed Desktop computer, the present invention is not specifically limited.
Terminal provided in an embodiment of the present invention stores the interface management of different scene of game by the storage unit 40 Device, in this way, the query unit 20 is deposited according to the number for the target game scene being switched to from described when carrying out scene switching The interface manager of target game scene is inquired in storage unit 40, then the interface management is called by the call unit 30 Device realizes the interface management to different scene of game.The embodiment of the present invention is not due to needing in scene of game of every switching An interface manager is reset afterwards, is not also needed by hiding current scene into memory, so as to guarantee runnability It realizes that interface is restored simultaneously, solves the demand that the interface in game, especially mobile phone games fast switches, reduce player and cut The waiting time for changing scene of game improves the game experiencing of player.
Above disclosed is only a preferred embodiment of the present invention, cannot limit the power of the present invention with this certainly Sharp range, those skilled in the art can understand all or part of the processes for realizing the above embodiment, and weighs according to the present invention Benefit requires made equivalent variations, still belongs to the scope covered by the invention.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..

Claims (11)

1. a kind of interface combinations management system characterized by comprising
Instruction receiving unit, for receiving the scene switching instruction for being switched to target game scene from current game scene;
Query unit, for instructing the interface management to target game scene described in storage unit query according to the scene switching Device, and when inquiring the interface manager of the target game scene, generate call instruction;The target trip is not being inquired When the interface manager for scene of playing, generates and establish instruction;
Call unit, for calling the interface manager based on the call instruction, so that the interface manager carries out boundary Face is refreshed, and the interface of the target game scene is generated;
Storage unit is inquired for the query unit and is used for storing the interface manager of at least one scene of game;
Unit is established, for generating hair after establishing the interface manager of the target game scene based on foundation instruction It send to the call instruction of the call unit, and the interface manager of the target game scene of foundation is sent to described deposit Storage unit is stored;
It wherein, further include multiple interfaces for a scene of game, these interfaces carry out pipe by an interface manager Reason.
2. interface combinations management system according to claim 1, which is characterized in that
The storage unit is specifically used for, the number and interface manager of at least one scene of game are stored using dictionary, wherein The dictionary includes at least a pair of of key-value pair, and the key of the key-value pair is the number of the scene of game, the value of the key-value pair For the interface manager of the scene of game;
Then the query unit is specifically used for, and the number of the target game scene, root are extracted from scene switching instruction It initiates to inquire according to described number to the storage unit, and when inquiring with the corresponding interface manager of the number, generates Call instruction.
3. interface combinations management system according to claim 1, which is characterized in that the interface combinations management system is also wrapped It includes:
Display parameters cache unit, for the display parameters of the current display interface of current game scene to be cached to going game In the interface manager of scene.
4. interface combinations management system according to claim 3, which is characterized in that the display parameters include described current Coordinate, size and the transparency of display interface.
5. interface combinations management system according to any one of claims 1 to 4, which is characterized in that the scene switching Instruction further includes insertion interface identification, then the interface combinations management system further include:
Unit is inserted at interface, for extracting the insertion interface identification from scene switching instruction, according to insertion circle Face mark obtains insertion interface, and the insertion interface is inserted into the interface manager of the target game scene.
6. a kind of interface combinations management method characterized by comprising
Instruction receiving unit receives the scene switching instruction that target game scene is switched to from current game scene;
Query unit is instructed in response to the scene switching, the interface management to target game scene described in storage unit query Device, and when inquiring the interface manager of the target game scene, generate call instruction;The target trip is not being inquired When the interface manager for scene of playing, generates and establish instruction;Wherein, the storage unit stores the boundary of at least one scene of game Face manager;
Call unit calls the interface manager in response to the call instruction, so that the interface manager carries out interface Refresh, generates the interface of the target game scene;
It establishes after unit establishes the interface manager of the target game scene based on foundation instruction, generation is sent to described The call instruction of call unit, and by the interface manager of the target game scene of foundation be sent to the storage unit into Row storage;
It wherein, further include multiple interfaces for a scene of game, these interfaces carry out pipe by an interface manager Reason.
7. interface combinations management method according to claim 6, which is characterized in that
The storage unit stores the number and interface manager of at least one scene of game using dictionary, wherein the dictionary Including at least a pair of of key-value pair, the key of the key-value pair is the number of the scene of game, and the value of the key-value pair is the trip The interface manager for scene of playing;
Then the query unit is instructed in response to the scene switching, to the interface of target game scene described in storage unit query Manager, and when inquiring the interface manager of the target game scene, call instruction is generated, specifically:
Query unit extracts the number of the target game scene from scene switching instruction, is numbered according to described to described Storage unit initiates inquiry, and when inquiring with the corresponding interface manager of the number, generates call instruction.
8. interface combinations management method according to claim 6, which is characterized in that further include:
The display parameters of the current display interface of current game scene are cached to current game scene by display parameters cache unit Interface manager in.
9. interface combinations management method according to claim 8, which is characterized in that the display parameters include described current Coordinate, size and the transparency of display interface.
10. according to interface combinations management method described in claim 6 to 9 any one, which is characterized in that the scene switching Instruction further includes insertion interface identification, then the interface combinations management method further include:
Interface is inserted into unit and extracts the insertion interface identification from scene switching instruction, according to the insertion interface identification Insertion interface is obtained, and the insertion interface is inserted into the interface manager of the target game scene.
11. a kind of terminal, which is characterized in that including the interface combinations management system as described in claim 1 to 5 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 CN105573835A (en) 2016-05-11
CN105573835B true 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)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Citations (4)

* 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
CN103631565A (en) * 2013-11-13 2014-03-12 北京像素软件科技股份有限公司 Loading method and device for scene resources

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799456B (en) * 2012-07-24 2015-11-25 上海晨思电子科技有限公司 A kind of game engine loads the method for resource file, device and computing machine

Patent Citations (4)

* 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
CN103631565A (en) * 2013-11-13 2014-03-12 北京像素软件科技股份有限公司 Loading method and device for scene resources

Also Published As

Publication number Publication date
CN105573835A (en) 2016-05-11

Similar Documents

Publication Publication Date Title
CN107222510B (en) A kind of game synchronization method, system and relevant device
US11517818B2 (en) Processing method, rendering method and device for static component in game scene
CN104216773B (en) View switching method and apparatus
CN108235148B (en) Similar barrage merging method in live broadcast, storage medium, electronic device and system
CN102646152B (en) A kind of map changing method and system
US11514368B2 (en) Methods, apparatuses, and computing devices for trainings of learning models
CN105582674A (en) Game target selecting method and device
CN105573835B (en) A kind of interface combinations management system, method and terminal
CN103390003A (en) Method and device for combining user data information among servers
CN109471843A (en) A kind of metadata cache method, system and relevant apparatus
CN106708411B (en) A kind of display methods and display device of dummy keyboard
WO2022257692A1 (en) Virtual scene transition method and apparatus, device, storage medium and program product
CN105653304B (en) The switching method of operational mode, the switching device of operational mode and terminal
CN109289198A (en) A kind of area-of-interest determines method and apparatus
CN110928397A (en) User interface refreshing method and device, storage medium and electronic device
CN109783321A (en) Monitoring data management method, device, terminal device
CN109656638A (en) A kind of user based on Purley platform customizes the implementation method of function
CN116339643B (en) Formatting method, formatting device, formatting equipment and formatting medium for disk array
CN116069685A (en) Storage system write control method, device, equipment and readable storage medium
CN113018861B (en) Virtual character display method and device, computer equipment and storage medium
CN113760538B (en) Acceleration card type management and control method, system and device based on AI platform
CN112783860B (en) Method, device, storage medium and computer equipment for constructing mirror image database
CN107168751A (en) Application processing method and apply processing unit
CN113946604A (en) Staged go teaching method and device, electronic equipment and storage medium
CN108512882A (en) The amending method and device of location information

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