CN104102495A - Window display method and device - Google Patents

Window display method and device Download PDF

Info

Publication number
CN104102495A
CN104102495A CN201410374968.0A CN201410374968A CN104102495A CN 104102495 A CN104102495 A CN 104102495A CN 201410374968 A CN201410374968 A CN 201410374968A CN 104102495 A CN104102495 A CN 104102495A
Authority
CN
China
Prior art keywords
window
information
subroutine
window parameter
demonstration
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
CN201410374968.0A
Other languages
Chinese (zh)
Other versions
CN104102495B (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.)
Guangzhou Huaduo Network Technology Co Ltd
Original Assignee
Guangzhou Huaduo Network Technology 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 Guangzhou Huaduo Network Technology Co Ltd filed Critical Guangzhou Huaduo Network Technology Co Ltd
Priority to CN201410374968.0A priority Critical patent/CN104102495B/en
Publication of CN104102495A publication Critical patent/CN104102495A/en
Application granted granted Critical
Publication of CN104102495B publication Critical patent/CN104102495B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The embodiment of the invention discloses a window display method and device. The method comprises the following steps: receiving a display instruction used for displaying the display information of a target subprogram; responding to the display instruction; obtaining window parameter information corresponding to the target subprogram; according to the window parameter information, regulating the window parameter of a current window of a main program, wherein the main program comprises the target subprogram; and displaying the display information in the regulated current window. The use ratio of the window resource of an application program can be improved by the embodiment of the invention.

Description

A kind of window display method and device
Technical field
The present invention relates to Internet technical field, relate in particular to a kind of window display method and device.
Background technology
Along with the development of Internet technology, in Internet technical field, a lot of application programs can be supported a plurality of subroutines, can move the process of a plurality of subroutines simultaneously.For example: player application can be play a plurality of videos simultaneously, page application can be opened a plurality of pages simultaneously, and game application can be moved a plurality of game etc. simultaneously.Although at present a lot of application programs can be supported a plurality of subroutines, synchronization often can only show the interface of a subroutine, and the parameter of application program display window when showing the interface of different subroutines can not change.The information that need to show when different subroutines is like this to distinguish when larger, and the window resource of application program can not get effective utilization.For example: when information that a certain subroutine need to show is very few, will there is vacant viewing area in the window of application program like this, or when the information that a certain subroutine need to show is too much, the window of application program may just cannot show the information that this subroutine need to show like this.
Summary of the invention
The embodiment of the present invention provides a kind of window display method and device, can improve the utilization factor of the window resource of application program.
First aspect, the embodiment of the present invention provides a kind of window display method, comprising:
Receive the idsplay order for the demonstration information of display-object subroutine;
Respond described idsplay order, obtain the window parameter information corresponding with described target subroutine, adjust the window parameter of the current window of master routine according to described window parameter information, described master routine comprises described target subroutine;
In described current window after described adjustment, show described demonstration information.
Second aspect, the embodiment of the present invention provides a kind of window display, comprising: receiving element, adjustment unit and display unit, wherein:
Described receiving element, for receiving the idsplay order for the demonstration information of display-object subroutine;
Described adjustment unit, for responding described idsplay order, obtains the window parameter information corresponding with described target subroutine, adjusts the window parameter of the current window of master routine according to described window parameter information, and described master routine comprises described target subroutine;
Described display unit, for showing described demonstration information in the described current window after described adjustment.
In technique scheme, when receiving the idsplay order of the demonstration information that is used for display-object subroutine, respond described idsplay order, obtain the window parameter information corresponding with described target subroutine, according to described window parameter information, adjust the window parameter of the current window of master routine, then in the current window after adjustment, show described demonstration information.Thereby can realize the demonstration information of different subroutines in the window of different window parameters, thereby improve the window resource utilization of application program.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the schematic flow sheet of a kind of window display method of providing of the embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the another kind of window display method that provides of the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the another kind of window display method that provides of the embodiment of the present invention;
Fig. 4 is the schematic flow sheet of the another kind of window display method that provides of the embodiment of the present invention;
Fig. 5 is the structural representation of a kind of window display of providing of the embodiment of the present invention;
Fig. 6 is the structural representation of the another kind of window display that provides of the embodiment of the present invention;
Fig. 7 is the structural representation of the another kind of window display that provides of the embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
In the embodiment of the present invention, master routine can be the arbitrary application program that can support subroutine, for example: the application program of page type, the application program of player types, the application program of type of play or application program of security type etc.And target subroutine can be the arbitrary subroutine that can move on master routine.
Refer to Fig. 1, Fig. 1 is the schematic flow sheet of a kind of window display method of providing of the embodiment of the present invention, as shown in Figure 1, comprises the following steps:
S101, reception are used for the idsplay order of the demonstration information of display-object subroutine.
Optionally, above-mentioned idsplay order can arbitraryly can be presented at the demonstration information of target subroutine the instruction in the current window of master routine.For example: the instruction that the instruction of user's input or master routine oneself generate.In addition, the information of required demonstration when above-mentioned demonstration information can be target subprogram activation, for example: the picture that need to show, word, video, virtual key etc.
S102, respond described idsplay order, obtain the window parameter information corresponding with described target subroutine, adjust the window parameter of the current window of master routine according to described window parameter information, described master routine comprises described target subroutine.
The above-mentioned window parameter information corresponding with target subroutine can be the window parameter information that the demonstration information that need to show with target subroutine adapts to, for example: when the demonstration information that need to show when target subroutine is too much, above-mentioned window parameter information can be the excessive parameter information of window size, tunes up the size of current window; When the demonstration information that need to show when target subroutine is very few, above-mentioned window parameter information can be the too small parameter information of window size, turns the size of current window down; When the demonstration information Chinese word that need to show when target subroutine is very few, above-mentioned window parameter information can be the excessive parameter information of window font, tunes up the font in current window; The color of the demonstration information that need to show when target subroutine is when green, and above-mentioned window parameter information can be that window color is green parameter information, and the color that is about to current window is adjusted into green.
In S103, the described current window after described adjustment, show described demonstration information.
Optionally, step S103 can be the demonstration information of obtaining target subroutine from this locality, to in the current window of this demonstration information after adjustment, show again, before execution step S103, the demonstration information of target subroutine generates, for example: master routine had moved above-mentioned target subroutine before execution step S103, just the demonstration information of target subroutine does not show in current window, and current window is now the demonstration information that shows another subroutine.Step S103 can also be the demonstration information that generates target subroutine, and will in the current window of this demonstration information after adjustment, show, before execution step S103, the demonstration information of target subroutine does not also generate, for example: master routine did not also start target subroutine before execution step S103.
When step S103 shows above-mentioned demonstration information in current window, this current window shows that the interface of above-mentioned demonstration information just can be understood as the user interface of target subroutine (User Interface, UI) interface.
The demonstration information that just can realize different subroutines by above-mentioned steps is in the window of different window parameters, thus the window resource utilization of raising application program.In addition, when improving the window resource utilization of application program, because the demonstration information of each subroutine shows in the window that is window parameter corresponding to this subroutine, demonstration information that like this can this subroutine can the most comprehensively show, and be also to show in optimal window, it is also best giving user's experience like this.
Optionally, said method can be applied to any equipment that possesses application program, for example: panel computer, mobile phone, electronic reader, telepilot, personal computer (Personal Computer, PC), notebook computer, mobile unit, Web TV, wearable device etc. have the smart machine of network function.
In technique scheme, when receiving the idsplay order of the demonstration information that is used for display-object subroutine, respond described idsplay order, obtain the window parameter information corresponding with described target subroutine, according to described window parameter information, adjust the window parameter of the current window of master routine, then in the current window after adjustment, show described demonstration information.Thereby can realize the demonstration information of different subroutines in the window of different window parameters, thereby improve the window resource utilization of application program.
Refer to Fig. 2, Fig. 2 is the schematic flow sheet of the another kind of window display method that provides of the embodiment of the present invention, as shown in Figure 2, comprises the following steps:
S201, reception are for starting the enabled instruction of described target subroutine.
Step S201 receives the click commands of clicking the icon of target subroutine in master routine interface, or step S201 can be the above-mentioned enabled instruction that master routine generates automatically, for example: master routine periodically starts above-mentioned target subroutine, or automatically start above-mentioned target subroutine when master routine certain trigger parameter detected.In addition, startup target subroutine is the demonstration information of meeting display-object subroutine.
S202, respond described enabled instruction, obtain the window parameter information corresponding with described target subroutine, adjust the window parameter of the current window of master routine according to described window parameter information, described master routine comprises described target subroutine.
Optionally, above-mentioned window parameter can comprise following at least one:
Window size, window font and window color.
Be that step S202 can be the window size of adjusting the current window of master routine, or adjust the window font of the current window of master routine, or the window color of the current window of adjustment master routine etc.
Optionally, above-mentionedly obtain the window parameter information corresponding with described target subroutine and can comprise:
To the request of server send window parameter acquiring, the identification information of described target subroutine is carried in described parameter acquiring request;
Receive described server and respond the described window parameter information that the request of obtaining of described window parameter sends.
Wherein, server can obtain the window parameter information corresponding with described target subroutine in advance, because the characteristic parameter server of above-mentioned target subroutine can be known in advance, be the demonstration information that server is known target subroutine in advance, thereby server can obtain the window parameter information applicable with these demonstration information in advance.For example: server receives the operation of user's input and the window parameter information corresponding with described target subroutine that generates, or the window parameter information corresponding with described target subroutine that generates according to the demonstration information of target subroutine of server.
This embodiment can obtain above-mentioned parameter current information at alignment server, thereby can realize, obtains more accurate window parameter information, because server window parameter information corresponding to above-mentioned and described target subroutine that can be real-time update.
Optionally, described in obtain the window parameter information corresponding with described target subroutine, can comprise:
From this locality, obtain the window parameter information corresponding with described target subroutine.
For example: local pre-stored window parameter information corresponding to each subroutine that has, step S202 just can directly obtain the window parameter information corresponding with described target subroutine from this locality like this.
In addition, this locality can be pre-stored configuration file, this configuration file can be to adopt the main file that adopts extend markup language (Extensible Markup Language, XML) file layout of invention, and this configuration file can record window parameter information corresponding to each subroutine.
Optionally, described in obtain the window parameter information corresponding with described target subroutine, can comprise:
Analyze the information that needs demonstration in described display window, and generate window parameter information corresponding to information that needs demonstration in described display window, and using this window parameter information as the window parameter information corresponding with described target subroutine.
For example: by analysis, obtain demonstration information that target subroutine need to show when too much, just can the oversize parameter information of generating window; By analysis, obtain demonstration information that target subroutine need to show when very few, just can the undersized parameter information of generating window; By analysis, obtain demonstration information Chinese word that target subroutine need to show when very few, just can generate is the excessive parameter information of window font.
In this embodiment, can realize the real-time generation window parameter information corresponding with described target subroutine.
The demonstration information that shows described target subroutine in S203, the described current window after described adjustment.
Optionally, described method can also comprise the following steps:
Respond described enabled instruction, generate the target process of described target subroutine, wherein, the demonstration information of target subroutine comprises the demonstration information of described target process.
Above-mentioned target process can be for carrying the process of target subroutine.In addition, the demonstration information of target process can be equal to the demonstration information of target subroutine.
In this embodiment, above-mentionedly obtain the window parameter information corresponding with described target subroutine, according to described window parameter information, adjust the window parameter of the current window of master routine, can comprise:
By the UI process being pre-created, obtain the window parameter information corresponding with described target subroutine, and utilize described UI process according to described window parameter information, to adjust the window parameter of the current window of master routine;
In the described current window of step S203 after described adjustment, show described demonstration information, can comprise:
Utilize described UI process to be controlled at the demonstration information that shows described target process in the described current window after described adjustment.
Wherein, the above-mentioned UI process being pre-created can be in operation during above-mentioned master routine, the UI process creating for this master routine, in addition, this UI process can be for managing window parameter and the displaying contents of the current window of master routine, and UI process can be for controlling the user interface of master routine.
In this embodiment, can realize the corresponding event that is completed target subroutine by target process, and the demonstration information that adjustment current window and display-object carry out is all realized by UI process, by different processes, complete different events like this, thereby raising execution efficiency, in addition, can avoid makeing mistakes and causing the problem of all event handling failures because of a certain process.
It should be noted that, before execution step S201, master routine is in operation.
In technique scheme, on the basis of first embodiment, increase the embodiment of plurality of optional, and can realize the utilization factor that window resource is provided.
Refer to Fig. 3, Fig. 3 is the schematic flow sheet of the another kind of window display method that provides of the embodiment of the present invention, as shown in Figure 3, comprises the following steps:
S301, reception are for switching to the demonstration information of described target subroutine the current switching command that needs the demonstration information of demonstration.
For example: master routine had moved a plurality of subroutines that comprise above-mentioned target subroutine before step S301, and the current window of master routine is the demonstration information that shows another subroutine before step S301, like this when step S301 receives the out code of closing in current window subroutine corresponding to the demonstration information that shows, and after in current window, the subroutine corresponding to demonstration information of demonstration closed, when the demonstration information of target subroutine can show, this out code can be above-mentioned switching command so.Or when receiving the click commands of the icon of clicking target subroutine, and this click commands can trigger the demonstration information of target subroutine is switched to the current demonstration information that shows of needing, and this out code can be above-mentioned click commands so.
S302, respond described switching command, obtain the window parameter information corresponding with described target subroutine, adjust the window parameter of the current window of master routine according to described window parameter information, described master routine comprises described target subroutine.
Optionally, above-mentioned window parameter can comprise following at least one:
Window size, window font and window color.
Be that step S302 can be the window size of adjusting the current window of master routine, or adjust the window font of the current window of master routine, or the window color of the current window of adjustment master routine etc.
Optionally, above-mentionedly obtain the window parameter information corresponding with described target subroutine and can comprise:
To the request of server send window parameter acquiring, the identification information of described target subroutine is carried in described parameter acquiring request;
Receive described server and respond the described window parameter information that the request of obtaining of described window parameter sends.
Wherein, server can obtain the window parameter information corresponding with described target subroutine in advance, because the characteristic parameter server of above-mentioned target subroutine can be known in advance, be the demonstration information that server is known target subroutine in advance, thereby server can obtain the window parameter information applicable with these demonstration information in advance.For example: server receives the operation of user's input and the window parameter information corresponding with described target subroutine that generates, or the window parameter information corresponding with described target subroutine that generates according to the demonstration information of target subroutine of server.
This embodiment can obtain above-mentioned parameter current information at alignment server, thereby can realize, obtains more accurate window parameter information, because server window parameter information corresponding to above-mentioned and described target subroutine that can be real-time update.
Optionally, described in obtain the window parameter information corresponding with described target subroutine, can comprise:
From this locality, obtain the window parameter information corresponding with described target subroutine.
For example: local pre-stored window parameter information corresponding to each subroutine that has, step S202 just can directly obtain the window parameter information corresponding with described target subroutine from this locality like this.
Optionally, described in obtain the window parameter information corresponding with described target subroutine, can comprise:
Analyze the information that needs demonstration in described display window, and generate window parameter information corresponding to information that needs demonstration in described display window, and using this window parameter information as the window parameter information corresponding with described target subroutine.
For example: by analysis, obtain demonstration information that target subroutine need to show when too much, just can the oversize parameter information of generating window; By analysis, obtain demonstration information that target subroutine need to show when very few, just can the undersized parameter information of generating window; By analysis, obtain demonstration information Chinese word that target subroutine need to show when very few, just can generate is the excessive parameter information of window font.
In this embodiment, can realize the real-time generation window parameter information corresponding with described target subroutine.
In S303, the described current window after described adjustment, show described demonstration information.
It should be noted that, before execution step S301, master routine is in operation.
In technique scheme, on the basis of first embodiment, increase the embodiment of plurality of optional, and can realize the utilization factor that window resource is provided.
Refer to Fig. 4, Fig. 4 is the schematic flow sheet of the another kind of window display method that provides of the embodiment of the present invention, the present embodiment is illustrated with the game application scenarios in the applicable a plurality of application scenarioss of method of the present invention, certainly, the applicable application scenarios of the present embodiment can also be page application scenarios or player application scene, as browser, open a plurality of pages, player application is play a plurality of videos.As shown in Figure 4, this method can comprise the steps:
S401, receive the enabled instruction that starts target pages game, respond the target process that described enabled instruction creates this target pages game.
Wherein, this target pages game can be arbitrary a page game in Internet technical field, and page game it is also understood that as web game.In addition, above-mentioned target process for example can be, for carrying the process of target pages game: grender process.
S402, UI process are obtained the demonstration size of the most applicable target pages game from pre-configured configuration file.
Wherein, the UI process that above-mentioned UI process can be game center, for example: game process.Wherein, game center can be a client software that is used for carrying carbon game, and game center can concentrate in together the page game of various styles, facilitates player to select different page games to play according to the hobby of oneself.
In addition, in this embodiment, what game center adopted is the corresponding process of a page game, and the process of each page game is independently, avoids causing game center collapse because page game itself goes wrong.
In addition, above-mentioned configuration file can be to adopt XML file layout to record the applicable demonstration size of every money web game.
S403, UI process are adjusted the size of game center display interface according to the demonstration size of obtaining, and the interface of display-object page game.
In technique scheme, can be for different in the market page game products, according to the size of its demonstration, game center interface size is set dynamically, avoid too small or excessive because of game center interface, cause page trip show complete or show more than neededly, affect player's game experiencing.It is the most comprehensive making to be presented on user's interface in front, and also the most applicable interface that represents this video game character, makes great efforts to build a game atmosphere the most satisfied to user.
Be apparatus of the present invention embodiment below, apparatus of the present invention embodiment is for carrying out the method for the inventive method embodiment mono-to four realization, for convenience of explanation, only show the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to the embodiment of the present invention one, embodiment bis-, embodiment tri-and embodiment tetra-.
Refer to Fig. 5, Fig. 5 is the structural representation of a kind of window display of providing of the embodiment of the present invention, as shown in Figure 5, comprising: receiving element 51, adjustment unit 52 and display unit 53, wherein:
Receiving element 51, for receiving the idsplay order for the demonstration information of display-object subroutine.
Optionally, above-mentioned idsplay order can arbitraryly can be presented at the demonstration information of target subroutine the instruction in the current window of master routine.For example: the instruction that the instruction of user's input or master routine oneself generate.In addition, the information of required demonstration when above-mentioned demonstration information can be target subprogram activation, for example: the picture that need to show, word, video, virtual key etc.
Adjustment unit 52, for responding described idsplay order, obtains the window parameter information corresponding with described target subroutine, adjusts the window parameter of the current window of master routine according to described window parameter information, and described master routine comprises described target subroutine.
The above-mentioned window parameter information corresponding with target subroutine can be the window parameter information that the demonstration information that need to show with target subroutine adapts to, for example: when the demonstration information that need to show when target subroutine is too much, above-mentioned window parameter information can be the excessive parameter information of window size, tunes up the size of current window; When the demonstration information that need to show when target subroutine is very few, above-mentioned window parameter information can be the too small parameter information of window size, turns the size of current window down; When the demonstration information Chinese word that need to show when target subroutine is very few, above-mentioned window parameter information can be the excessive parameter information of window font, tunes up the font in current window; The color of the demonstration information that need to show when target subroutine is when green, and above-mentioned window parameter information can be that window color is green parameter information, and the color that is about to current window is adjusted into green.
Display unit 53, for showing described demonstration information in the described current window after described adjustment.
Optionally, display unit 53 can be the demonstration information of obtaining target subroutine from this locality, then will in the current window of this demonstration information after adjustment, show.Display unit 53 can also be the demonstration information that generates target subroutine, and will in the current window of this demonstration information after adjustment, show.
When display unit 53 shows above-mentioned demonstration information in current window, this current window shows that the interface of above-mentioned demonstration information just can be understood as the user interface of target subroutine (User Interface, UI) interface.
Optionally, above-mentioned window parameter can comprise following at least one:
Window size, window font and window color.
Be that adjustment unit 52 can be the window size of adjusting the current window of master routine, or adjust the window font of the current window of master routine, or the window color of the current window of adjustment master routine etc.
Optionally, as shown in Figure 6, adjustment unit 52 can comprise:
Request subelement 521, for responding described idsplay order, to the request of server send window parameter acquiring, the identification information of described target subroutine is carried in described parameter acquiring request;
Receive subelement 522, for receiving described server, respond the described window parameter information that the request of obtaining of described window parameter sends;
Adjust subelement 523, for adjust the window parameter of the current window of master routine according to described window parameter information.
Wherein, server can obtain the window parameter information corresponding with described target subroutine in advance, because the characteristic parameter server of above-mentioned target subroutine can be known in advance, be the demonstration information that server is known target subroutine in advance, thereby server can obtain the window parameter information applicable with these demonstration information in advance.For example: server receives the operation of user's input and the window parameter information corresponding with described target subroutine that generates, or the window parameter information corresponding with described target subroutine that generates according to the demonstration information of target subroutine of server.
This embodiment can obtain above-mentioned parameter current information at alignment server, thereby can realize, obtains more accurate window parameter information, because server window parameter information corresponding to above-mentioned and described target subroutine that can be real-time update.
Optionally, adjustment unit 52 can obtain the window parameter information corresponding with described target subroutine for responding described idsplay order from this locality, adjusts the window parameter of the current window of master routine according to described window parameter information.
For example: local pre-stored window parameter information corresponding to each subroutine that has, adjustment unit 52 just can directly obtain the window parameter information corresponding with described target subroutine from this locality like this.
In addition, this locality can be pre-stored configuration file, and this configuration file can be the file that adopts the main XML of employing of invention file layout, and this configuration file can record window parameter information corresponding to each subroutine.
Optionally, adjustment unit 52 can be for responding described idsplay order, analyze the information that needs demonstration in described display window, and generate and in described display window, need window parameter information corresponding to information that shows, and using this window parameter information as the window parameter information corresponding with described target subroutine, according to described window parameter information, adjust the window parameter of the current window of master routine.
For example: by analysis, obtain demonstration information that target subroutine need to show when too much, just can the oversize parameter information of generating window; By analysis, obtain demonstration information that target subroutine need to show when very few, just can the undersized parameter information of generating window; By analysis, obtain demonstration information Chinese word that target subroutine need to show when very few, just can generate is the excessive parameter information of window font.
In this embodiment, can realize the real-time generation window parameter information corresponding with described target subroutine.
Optionally, receiving element 51 can be for receiving for starting the enabled instruction of described target subroutine.
For example: receiving element 51 can be to receive the click commands of clicking the icon of target subroutine in master routine interface, or receiving element 51 can be the above-mentioned enabled instruction that master routine generates automatically, for example: master routine periodically starts above-mentioned target subroutine, or automatically start above-mentioned target subroutine when master routine certain trigger parameter detected.In addition, startup target subroutine is the demonstration information of meeting display-object subroutine.
In this embodiment, as shown in Figure 7, described device can also comprise:
Creating unit 54, for responding described enabled instruction, generates the target process of described target subroutine, and described demonstration information comprises the demonstration information of described target process;
Adjustment unit 52 can obtain the window parameter information corresponding with described target subroutine for the UI process by being pre-created, and utilizes described UI process according to described window parameter information, to adjust the window parameter of the current window of master routine;
Display unit 53 can be for utilizing described UI process to be controlled at the demonstration information that shows described target process in the described current window after described adjustment.
In this embodiment, can realize the corresponding event that is completed target subroutine by target process, and the demonstration information that adjustment current window and display-object carry out is all realized by UI process, by different processes, complete different events like this, thereby raising execution efficiency, in addition, can avoid makeing mistakes and causing the problem of all event handling failures because of a certain process.
Optionally, receiving element 51 can be for receiving for the demonstration information of described target subroutine being switched to the current switching command that needs the demonstration information of demonstration.
For example: master routine had moved a plurality of subroutines that comprise above-mentioned target subroutine before receiving element 51 receives switching command, and the current window of master routine is the demonstration information that shows another subroutine before receiving element 51 receives switching command, like this when receiving element 51 receives the out code of closing in current window subroutine corresponding to the demonstration information that shows, and after in current window, the subroutine corresponding to demonstration information of demonstration closed, when the demonstration information of target subroutine can show, this out code can be above-mentioned switching command so.Or when receiving the click commands of the icon of clicking target subroutine, and this click commands can trigger the demonstration information of target subroutine is switched to the current demonstration information that shows of needing, and this out code can be above-mentioned click commands so.
The demonstration information that just can realize different subroutines by said units is in the window of different window parameters, thus the window resource utilization of raising application program.In addition, when improving the window resource utilization of application program, because the demonstration information of each subroutine shows in the window that is window parameter corresponding to this subroutine, demonstration information that like this can this subroutine can the most comprehensively show, and be also to show in optimal window, it is also best giving user's experience like this.
Optionally, said apparatus can be applied to any equipment that possesses application program, for example: panel computer, mobile phone, electronic reader, telepilot, personal computer (Personal Computer, PC), notebook computer, mobile unit, Web TV, wearable device etc. have the smart machine of network function.
In technique scheme, when receiving the idsplay order of the demonstration information that is used for display-object subroutine, respond described idsplay order, obtain the window parameter information corresponding with described target subroutine, according to described window parameter information, adjust the window parameter of the current window of master routine, then in the current window after adjustment, show described demonstration information.Thereby can realize the demonstration information of different subroutines in the window of different window parameters, thereby improve the window resource utilization of application program.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, to come the hardware that instruction is relevant to complete by computer program, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random access memory (Random Access Memory is called for short RAM) etc.
Above disclosed is only preferred embodiment of the present invention, certainly can not limit with this interest field of the present invention, and the equivalent variations of therefore doing according to the claims in the present invention, still belongs to the scope that the present invention is contained.

Claims (12)

1. a window display method, is characterized in that, comprising:
Receive the idsplay order for the demonstration information of display-object subroutine;
Respond described idsplay order, obtain the window parameter information corresponding with described target subroutine, adjust the window parameter of the current window of master routine according to described window parameter information, described master routine comprises described target subroutine;
In described current window after described adjustment, show described demonstration information.
2. the method for claim 1, is characterized in that, described window parameter comprises following at least one:
Window size, window font and window color.
3. method as claimed in claim 1 or 2, is characterized in that, described reception, for the idsplay order of the demonstration information of display-object subroutine, comprising:
Receive for starting the enabled instruction of described target subroutine;
Described method also comprises:
Respond described enabled instruction, generate the target process of described target subroutine, described demonstration information comprises the demonstration information of described target process;
Describedly obtain the window parameter information corresponding with described target subroutine, according to described window parameter information, adjust the window parameter of the current window of master routine, comprising:
By the user interface UI process being pre-created, obtain the window parameter information corresponding with described target subroutine, and utilize described UI process according to described window parameter information, to adjust the window parameter of the current window of master routine;
In described described current window after described adjustment, show described demonstration information, comprising:
Utilize described UI process to be controlled at the demonstration information that shows described target process in the described current window after described adjustment.
4. method as claimed in claim 1 or 2, is characterized in that, described reception, for the idsplay order of the demonstration information of display-object subroutine, comprising:
Receive for the demonstration information of described target subroutine being switched to the current switching command that needs the demonstration information of demonstration.
5. method as claimed in claim 1 or 2, is characterized in that, described in obtain the window parameter information corresponding with described target subroutine, comprising:
To the request of server send window parameter acquiring, the identification information of described target subroutine is carried in described parameter acquiring request;
Receive described server and respond the described window parameter information that the request of obtaining of described window parameter sends.
6. method as claimed in claim 1 or 2, is characterized in that, described in obtain the window parameter information corresponding with described target subroutine, comprising:
From this locality, obtain the window parameter information corresponding with described target subroutine; Or
Analyze the information that needs demonstration in described display window, and generate window parameter information corresponding to information that needs demonstration in described display window, and using this window parameter information as the window parameter information corresponding with described target subroutine.
7. a window display, is characterized in that, comprising: receiving element, adjustment unit and display unit, wherein:
Described receiving element, for receiving the idsplay order for the demonstration information of display-object subroutine;
Described adjustment unit, for responding described idsplay order, obtains the window parameter information corresponding with described target subroutine, adjusts the window parameter of the current window of master routine according to described window parameter information, and described master routine comprises described target subroutine;
Described display unit, for showing described demonstration information in the described current window after described adjustment.
8. device as claimed in claim 7, is characterized in that, described window parameter comprises following at least one:
Window size, window font and window color.
9. install as claimed in claim 7 or 8, it is characterized in that, described receiving element is for receiving for starting the enabled instruction of described target subroutine;
Described device also comprises:
Creating unit, for responding described enabled instruction, generates the target process of described target subroutine, and described demonstration information comprises the demonstration information of described target process;
Described adjustment unit is used for obtaining the window parameter information corresponding with described target subroutine by the user interface UI process being pre-created, and utilizes described UI process according to described window parameter information, to adjust the window parameter of the current window of master routine;
Described display unit is for utilizing described UI process to be controlled at the demonstration information that shows described target process in the described current window after described adjustment.
10. install as claimed in claim 7 or 8, it is characterized in that, described receiving element is for receiving for the demonstration information of described target subroutine being switched to the current switching command that needs the demonstration information of demonstration.
11. install as claimed in claim 7 or 8, it is characterized in that, described adjustment unit, comprising:
Request subelement, for responding described idsplay order, to the request of server send window parameter acquiring, the identification information of described target subroutine is carried in described parameter acquiring request;
Receive subelement, for receiving described server, respond the described window parameter information that the request of obtaining of described window parameter sends;
Adjust subelement, for adjust the window parameter of the current window of master routine according to described window parameter information.
12. install as claimed in claim 7 or 8, it is characterized in that, described adjustment unit is used for responding described idsplay order, obtains the window parameter information corresponding with described target subroutine from this locality, adjusts the window parameter of the current window of master routine according to described window parameter information; Or
Described adjustment unit is used for responding described idsplay order, analyze the information that needs demonstration in described display window, and generate and in described display window, need window parameter information corresponding to information that shows, and using this window parameter information as the window parameter information corresponding with described target subroutine, according to described window parameter information, adjust the window parameter of the current window of master routine.
CN201410374968.0A 2014-07-31 2014-07-31 A kind of window display method and device Active CN104102495B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410374968.0A CN104102495B (en) 2014-07-31 2014-07-31 A kind of window display method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410374968.0A CN104102495B (en) 2014-07-31 2014-07-31 A kind of window display method and device

Publications (2)

Publication Number Publication Date
CN104102495A true CN104102495A (en) 2014-10-15
CN104102495B CN104102495B (en) 2017-11-07

Family

ID=51670673

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410374968.0A Active CN104102495B (en) 2014-07-31 2014-07-31 A kind of window display method and device

Country Status (1)

Country Link
CN (1) CN104102495B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016095246A1 (en) * 2014-12-18 2016-06-23 深圳Tcl数字技术有限公司 Method and device for displaying window of screen
CN107508886A (en) * 2017-08-24 2017-12-22 西安万像电子科技有限公司 Application display method and device
CN107704306A (en) * 2017-10-31 2018-02-16 北京小米移动软件有限公司 Note display method and device
CN110321192A (en) * 2019-04-29 2019-10-11 上海连尚网络科技有限公司 A kind of method and apparatus that boarding program is presented
CN112559200A (en) * 2019-09-25 2021-03-26 杭州海康威视数字技术股份有限公司 User interface module processing method, door phone and storage medium
CN112688851A (en) * 2019-10-17 2021-04-20 腾讯科技(深圳)有限公司 Display method, device and equipment for sharing information of small programs and storage medium
WO2022143869A1 (en) * 2020-12-31 2022-07-07 维沃移动通信有限公司 Program running method and apparatus, and electronic device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046721A (en) * 2006-03-31 2007-10-03 腾讯科技(深圳)有限公司 Method and device for controlling window interface display
CN101105862A (en) * 2007-08-02 2008-01-16 宁波大学 Medical image window parameter self-adaptive regulation method
CN101299176A (en) * 2008-06-27 2008-11-05 广东威创视讯科技股份有限公司 Method and system for displaying additional information in main viewfinder

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101046721A (en) * 2006-03-31 2007-10-03 腾讯科技(深圳)有限公司 Method and device for controlling window interface display
CN101105862A (en) * 2007-08-02 2008-01-16 宁波大学 Medical image window parameter self-adaptive regulation method
CN101299176A (en) * 2008-06-27 2008-11-05 广东威创视讯科技股份有限公司 Method and system for displaying additional information in main viewfinder

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2016095246A1 (en) * 2014-12-18 2016-06-23 深圳Tcl数字技术有限公司 Method and device for displaying window of screen
CN105761681A (en) * 2014-12-18 2016-07-13 深圳Tcl数字技术有限公司 Window display method and device for screen
CN107508886A (en) * 2017-08-24 2017-12-22 西安万像电子科技有限公司 Application display method and device
CN107704306A (en) * 2017-10-31 2018-02-16 北京小米移动软件有限公司 Note display method and device
CN110321192A (en) * 2019-04-29 2019-10-11 上海连尚网络科技有限公司 A kind of method and apparatus that boarding program is presented
CN110321192B (en) * 2019-04-29 2023-03-31 上海连尚网络科技有限公司 Method and equipment for presenting hosted program
CN112559200A (en) * 2019-09-25 2021-03-26 杭州海康威视数字技术股份有限公司 User interface module processing method, door phone and storage medium
CN112688851A (en) * 2019-10-17 2021-04-20 腾讯科技(深圳)有限公司 Display method, device and equipment for sharing information of small programs and storage medium
CN112688851B (en) * 2019-10-17 2022-07-08 腾讯科技(深圳)有限公司 Display method, device and equipment for sharing information of small programs and storage medium
WO2022143869A1 (en) * 2020-12-31 2022-07-07 维沃移动通信有限公司 Program running method and apparatus, and electronic device

Also Published As

Publication number Publication date
CN104102495B (en) 2017-11-07

Similar Documents

Publication Publication Date Title
CN104102495A (en) Window display method and device
US11800192B2 (en) Bullet screen processing method and apparatus, electronic device, and computer-readable storage medium
US20180349107A1 (en) Preview Changes To Mobile Applications At Different Display Resolutions
JP5892121B2 (en) Information processing apparatus, control method, program, and information processing system
CN102609188A (en) User interface interaction behavior based on insertion point
WO2016150388A1 (en) Interface processing method, apparatus, and system
CN104199911A (en) Storage method and device for PPT
US9146907B1 (en) Systems and methods providing parameters for modifying a font
CN105120006A (en) Live commenting control method, live commenting server and live commenting control device for electronic readings
CN111352600A (en) Large screen control system, method and device and electronic equipment
JP2018538619A (en) Synchronization of server-side keyboard layout and client-side keyboard layout in virtual sessions
US10303331B2 (en) Live mobile application visual editor demo
US20170315704A1 (en) Application user interfaces with scrollable color palettes
US20140259083A1 (en) System and method for use in enhancing the display of multimedia content
CN112068873A (en) Webpage generation method, device, server and storage medium
CN104714713A (en) Page interaction method and page management device
US20160132219A1 (en) Enhanced view transitions
US20150261392A1 (en) Adaptive interface providing apparatus and method
CN109905753B (en) Corner mark display method and device, storage medium and electronic device
US20120079533A1 (en) Techniques for developing a customized television user interface for a secondary device
CN104216626A (en) Image obtaining method and electronic device
KR101987183B1 (en) Apparatus, method and server for app development supporting front-end development using app development utility
US20160147741A1 (en) Techniques for providing a user interface incorporating sign language
CN107220045B (en) Station building method, device, equipment and storage medium based on artificial intelligence
CN104244022A (en) Method and system for processing image

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Address after: 510000, Guangdong Province, Guangzhou, Panyu District Town, Huambo business district, Wanda Plaza, block B1, 28 floor

Applicant after: Guangzhou Huaduo Network Technology Co., Ltd.

Address before: 510655, Guangzhou, Whampoa Avenue, No. 2, creative industrial park, building 3-08,

Applicant before: Guangzhou Huaduo Network Technology Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20141015

Assignee: GUANGZHOU HUYA INFORMATION TECHNOLOGY Co.,Ltd.

Assignor: Guangzhou Huaduo Network Technology Co., Ltd.

Contract record no.: 2018990000088

Denomination of invention: Window display method and device

Granted publication date: 20171107

License type: Common License

Record date: 20180413

EE01 Entry into force of recordation of patent licensing contract