CN104102495B - A kind of window display method and device - Google Patents

A kind of window display method and device Download PDF

Info

Publication number
CN104102495B
CN104102495B CN201410374968.0A CN201410374968A CN104102495B CN 104102495 B CN104102495 B CN 104102495B CN 201410374968 A CN201410374968 A CN 201410374968A CN 104102495 B CN104102495 B CN 104102495B
Authority
CN
China
Prior art keywords
window
display
information
target
subprogram
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
CN201410374968.0A
Other languages
Chinese (zh)
Other versions
CN104102495A (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

Landscapes

  • User Interface Of Digital Computer (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The embodiment of the invention discloses a kind of window display method and device, this method may include:Receive the idsplay order of the display information for display target subprogram;The idsplay order is responded, window parameter information corresponding with the target subprogram is obtained, the window parameter of the current window of main program is adjusted according to the window parameter information, the main program includes the target subprogram;The display information is shown in the current window after the adjustment.The embodiment of the present invention can improve the utilization rate of the window resource of application program.

Description

A kind of window display method and device
Technical field
The present invention relates to Internet technical field, more particularly to a kind of window display method and device.
Background technology
With the development of Internet technology, many application programs can support multiple subprograms in Internet technical field, The process of multiple subprograms can be run simultaneously.For example:Player application can play multiple videos simultaneously, and the page should Multiple pages can be opened simultaneously with program, game application can run multiple game etc. simultaneously.Although many at present Application program can support multiple subprograms, but synchronization is often only able to display the interface of a subprogram, and application program When showing the interface of different subprograms, the parameter of display window will not change.So when different subprograms need what is shown When information is that difference is larger, the window resource of application program cannot be utilized effectively.For example:A certain subprogram needs the letter shown When ceasing very few, the window of such application program will have vacant viewing area, or a certain subprogram needs the information of display When excessive, the window of such application program may can not just show that the subprogram needs the information shown.
The content of the invention
The embodiments of the invention provide a kind of window display method and device, the window resource of application program can be improved Utilization rate.
In a first aspect, the embodiment of the present invention provides a kind of window display method, including:
Receive the idsplay order of the display information for display target subprogram;
The idsplay order is responded, window parameter information corresponding with the target subprogram is obtained, according to the window The window parameter of the current window of parameter information adjustment main program, the main program includes the target subprogram;
The display information is shown in the current window after the adjustment.
Second aspect, the embodiment of the present invention provides a kind of window display, including:Receiving unit, adjustment unit and aobvious Show unit, wherein:
The receiving unit, the idsplay order for receiving the display information for display target subprogram;
The adjustment unit, for responding the idsplay order, obtains window parameter corresponding with the target subprogram Information, the window parameter of the current window of main program is adjusted according to the window parameter information, and the main program includes the mesh Mark subprogram;
The display unit, for showing the display information in the current window after the adjustment.
In above-mentioned technical proposal, when receiving the idsplay order for the display information of display target subprogram, institute is responded Idsplay order is stated, window parameter information corresponding with the target subprogram is obtained, is adjusted and led according to the window parameter information The window parameter of the current window of program, then the interior display display information of current window after the adjustment.So as to realize The display information of different subprograms is in the window of different window parameters, so as to improve the window utilization of resources of application program Rate.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of window display method provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another window display method provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another window display method provided in an embodiment of the present invention;
Fig. 4 is the schematic flow sheet of another window display method provided in an embodiment of the present invention;
Fig. 5 is a kind of structural representation of window display provided in an embodiment of the present invention;
Fig. 6 is the structural representation of another window display provided in an embodiment of the present invention;
Fig. 7 is the structural representation of another window display provided in an 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 carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
In the embodiment of the present invention main program can be it is any can support the application program of subprogram, for example:Page type Application program, the application program of player types, the application program of the application program of type of play or security type etc.. And target subprogram can be any subprogram that can be run on main program.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow sheet of window display method provided in an embodiment of the present invention, such as Fig. 1 institutes Show, comprise the following steps:
S101, the idsplay order for receiving display information for display target subprogram.
Optionally, above-mentioned idsplay order can include the display information of target subprogram working as in main program with any Instruction in front window.For example:The instruction of user's input or the instruction of main program oneself generation.In addition, above-mentioned display information The information of required display when can be target subprogram activation, for example:Need picture, word, video, the virtual key of display Etc..
S102, the response idsplay order, obtain window parameter information corresponding with the target subprogram, according to described The window parameter of the current window of window parameter information adjustment main program, the main program includes the target subprogram.
Above-mentioned window parameter information corresponding with target subprogram can need the display shown to believe with target subprogram The window parameter information adapted to is ceased, for example:When target subprogram needs the display information of display excessive, above-mentioned window parameter letter Breath can be the excessive parameter information of window size, that is, tune up the size of current window;When target subprogram needs what is shown to show When showing that information is very few, above-mentioned window parameter information can be the too small parameter information of window size, that is, turn the chi of current window down It is very little;When word is very few in the display information that target subprogram needs display, above-mentioned window parameter information can be window font Excessive parameter information, that is, tune up the font in current window;It is when target subprogram needs the color of the display information shown When green, above-mentioned window parameter information can be that window color is the parameter information of green, i.e., adjust the color of current window For green.
The display information is shown in S103, the current window after the adjustment.
Optionally, step S103 can be existed from the local display information for obtaining target subprogram, then by the display information Shown in current window after adjustment, i.e., the display information of target subprogram has been generated before step S103 is performed, for example: Main program has been running for above-mentioned target subprogram before step S103 is performed, and simply the display information of target subprogram does not exist Shown in current window, and current window is now the display information for showing another subprogram.Step S103 can also be generation The display information of target subprogram, and will be shown in the current window of the display information after the adjustment, that is, performing step S103 The display information of target subprogram is not generated also before, for example:Main program also not actuated target before step S103 is performed Program.
When step S103 shows above-mentioned display information in current window, i.e., the current window shows above-mentioned display information Interface it can be understood that being user interface (User Interface, UI) interface of target subprogram.
The display information of different subprograms can be just realized by above-mentioned steps in the window of different window parameters, So as to improve the window resource utilization of application program.In addition, while the window resource utilization of application program is improved, by In each subprogram display information be the corresponding window parameter of the subprogram window in show, so can the subprogram Display information most can comprehensively show, and be also to be shown in most suitable window, so experience to user is also most Alright.
Optionally, the above method can apply to any equipment for possessing application program, for example:Tablet personal computer, hand are mechanical, electrical Sub- reader, remote control, personal computer (Personal Computer, PC), notebook computer, mobile unit, network electricity There is the smart machine of network function depending on, wearable device etc..
In above-mentioned technical proposal, when receiving the idsplay order for the display information of display target subprogram, institute is responded Idsplay order is stated, window parameter information corresponding with the target subprogram is obtained, is adjusted and led according to the window parameter information The window parameter of the current window of program, then the interior display display information of current window after the adjustment.So as to realize The display information of different subprograms is in the window of different window parameters, so as to improve the window utilization of resources of application program Rate.
Referring to Fig. 2, Fig. 2 is the schematic flow sheet of another window display method provided in an embodiment of the present invention, such as Fig. 2 It is shown, comprise the following steps:
S201, receive enabled instruction for starting the target subprogram.
Step S201 can receive the click commands for clicking on the icon of target subprogram in main program interface, or step S201 can be the above-mentioned enabled instruction that main program is automatically generated, for example:Main program periodically starts above-mentioned target subprogram, or Automatic start above-mentioned target subprogram when person's main program detects certain trigger parameter.In addition, it is to show to start target subprogram Show the display information of target subprogram.
S202, the response enabled instruction, obtain window parameter information corresponding with the target subprogram, according to described The window parameter of the current window of window parameter information adjustment main program, the main program includes the target subprogram.
Optionally, above-mentioned window parameter can include at least one of following:
Window size, window font and window color.
That is step S202 can be the window size for the current window for adjusting main program, or adjust the current window of main program The window font of mouth, or adjust the window color of current window of main program etc..
Optionally, above-mentioned acquisition window parameter information corresponding with the target subprogram can include:
Window parameter is sent to server and obtains request, and the parameter acquiring request carries the mark of the target subprogram Information;
Receive the server and respond the window parameter information that the window parameter obtains request transmission.
Wherein, server can obtain window parameter information corresponding with the target subprogram in advance, due to above-mentioned The characteristic parameter server of target subprogram can be known a priori by, i.e., server is known a priori by the display letter of target subprogram Breath, so that server can obtain the window parameter information being adapted to these display informations in advance.For example:Server receives user The operation of input and the window parameter information corresponding with the target subprogram generated, or server is according to target subprogram Display information and the window parameter information corresponding with the target subprogram that generates.
The embodiment can obtain above-mentioned parameter current information to server online, obtain more smart so as to realize True window parameter information, because server can be the above-mentioned window parameter letter corresponding with the target subprogram of real-time update Breath.
Optionally, it is described to obtain window parameter information corresponding with the target subprogram, it can include:
Window parameter information corresponding with the target subprogram is obtained from local.
For example:The corresponding window parameter information of each subprogram is locally previously stored with, such step S202 just can be direct Window parameter information corresponding with the target subprogram is obtained from local.
In addition, can be locally to prestore configuration file, the configuration file can be expanded using the main use of invention The file of markup language (Extensible Markup Language, XML) file format is opened up, the configuration file can be recorded often The corresponding window parameter information of individual subprogram.
Optionally, it is described to obtain window parameter information corresponding with the target subprogram, it can include:
Analyzing needs the information of display in the display window, and generates the information pair for needing to show in the display window The window parameter information answered, and it regard the window parameter information as window parameter information corresponding with the target subprogram.
For example:By analysis obtain target subprogram need show display information it is excessive when, it is possible to generate window chi Very little excessive parameter information;By analysis obtain target subprogram need show display information it is very few when, it is possible to generate window The undersized parameter information of mouth;By analysis obtain target subprogram need show display information in word it is very few when, just It is the excessive parameter information of window font that can generate.
In the embodiment, it is possible to achieve generate window parameter information corresponding with the target subprogram in real time.
The display information of the target subprogram is shown in S203, the current window after the adjustment.
Optionally, methods described can also comprise the following steps:
The enabled instruction is responded, the target process of the target subprogram is generated, wherein, the display letter of target subprogram Breath includes the display information of the target process.
Above-mentioned target process can be the process for carrying target subprogram.In addition, the display information of target process can To be equal to the display information of target subprogram.
In the embodiment, above-mentioned acquisition window parameter information corresponding with the target subprogram, according to the window The window parameter of the current window of parameter information adjustment main program, can include:
Window parameter information corresponding with the target subprogram is obtained by the UI processes being pre-created, and described in UI processes adjust the window parameter of the current window of main program according to the window parameter information;
Step S203 shows the display information in the current window after the adjustment, can include:
The display of the target process is shown in the current window after the adjustment using the UI Process flowcharts Information.
Wherein, the above-mentioned UI processes being pre-created can when operationally stating main program, be created for the main program UI processes, in addition, the UI processes can be used for the window parameter and display content, i.e. UI processes for managing the current window of main program It can be used for the user interface for controlling main program.
The corresponding event that target subprogram is completed by target process can be realized in the embodiment, and adjusts current window The display information that mouth and display target are carried out all is realized by UI processes, and different events are so completed by different processes, so that Execution efficiency is improved, furthermore it is possible to avoid causing the problem of all event handlings fail because a certain process malfunctions.
It should be noted that main program is in operation before step S201 is performed.
In above-mentioned technical proposal, the embodiment of plurality of optional is added on the basis of one embodiment, and all may be used To realize the utilization rate for providing window resource.
Referring to Fig. 3, Fig. 3 is the schematic flow sheet of another window display method provided in an embodiment of the present invention, such as Fig. 3 It is shown, comprise the following steps:
S301, receive the display information that display is currently needed for for the display information of the target subprogram to be switched to Switching command.
For example:Main program has been running for many sub- journeys including above-mentioned target subprogram before step S301 Sequence, and the current window of main program is the display information for showing another subprogram before step S301, so works as step When S301 receives the out code for closing the corresponding subprogram of display information shown in current window, and show in current window After the corresponding subprogram of display information shown is closed, when the display information of target subprogram can be shown, then the out code can To be above-mentioned switching command.Or when receiving the click commands for the icon for clicking on target subprogram, and the click commands can The display information of target subprogram is switched to the display information for being currently needed for display to trigger, then the out code can be Above-mentioned click commands.
S302, the response switching command, obtain window parameter information corresponding with the target subprogram, according to described The window parameter of the current window of window parameter information adjustment main program, the main program includes the target subprogram.
Optionally, above-mentioned window parameter can include at least one of following:
Window size, window font and window color.
That is step S302 can be the window size for the current window for adjusting main program, or adjust the current window of main program The window font of mouth, or adjust the window color of current window of main program etc..
Optionally, above-mentioned acquisition window parameter information corresponding with the target subprogram can include:
Window parameter is sent to server and obtains request, and the parameter acquiring request carries the mark of the target subprogram Information;
Receive the server and respond the window parameter information that the window parameter obtains request transmission.
Wherein, server can obtain window parameter information corresponding with the target subprogram in advance, due to above-mentioned The characteristic parameter server of target subprogram can be known a priori by, i.e., server is known a priori by the display letter of target subprogram Breath, so that server can obtain the window parameter information being adapted to these display informations in advance.For example:Server receives user The operation of input and the window parameter information corresponding with the target subprogram generated, or server is according to target subprogram Display information and the window parameter information corresponding with the target subprogram that generates.
The embodiment can obtain above-mentioned parameter current information to server online, obtain more smart so as to realize True window parameter information, because server can be the above-mentioned window parameter letter corresponding with the target subprogram of real-time update Breath.
Optionally, it is described to obtain window parameter information corresponding with the target subprogram, it can include:
Window parameter information corresponding with the target subprogram is obtained from local.
For example:The corresponding window parameter information of each subprogram is locally previously stored with, such step S202 just can be direct Window parameter information corresponding with the target subprogram is obtained from local.
Optionally, it is described to obtain window parameter information corresponding with the target subprogram, it can include:
Analyzing needs the information of display in the display window, and generates the information pair for needing to show in the display window The window parameter information answered, and it regard the window parameter information as window parameter information corresponding with the target subprogram.
For example:By analysis obtain target subprogram need show display information it is excessive when, it is possible to generate window chi Very little excessive parameter information;By analysis obtain target subprogram need show display information it is very few when, it is possible to generate window The undersized parameter information of mouth;By analysis obtain target subprogram need show display information in word it is very few when, just It is the excessive parameter information of window font that can generate.
In the embodiment, it is possible to achieve generate window parameter information corresponding with the target subprogram in real time.
The display information is shown in S303, the current window after the adjustment.
It should be noted that main program is in operation before step S301 is performed.
In above-mentioned technical proposal, the embodiment of plurality of optional is added on the basis of one embodiment, and all may be used To realize the utilization rate for providing window resource.
Referring to Fig. 4, Fig. 4 is the schematic flow sheet of another window display method provided in an embodiment of the present invention, this reality Game application scene of the example with the inventive method in applicable multiple application scenarios is applied to be illustrated, certainly, this reality Apply the applicable application scenarios of example and can also be page application scenarios or player application scene, such as browser opens multiple pages Face, player application plays multiple videos.As shown in figure 4, this method may include steps of:
S401, the enabled instruction for receiving startup target pages game, respond the enabled instruction and create the target pages The target process of game.
Wherein, target pages game can be any a page game in Internet technical field, and page game is also It can be understood as web game.In addition, above-mentioned target process can be the process for carrying target pages game, such as: Grender processes.
S402, UI process obtain the display size for being best suitable for target pages game from the configuration file being pre-configured with.
Wherein, above-mentioned UI processes can be the UI processes of QQGame, for example:Game processes.Wherein, QQGame can be with It is a client software for being used for carrying carbon game, QQGame can concentrate in together the page game of various styles, Facilitate player according to the different page game of the hobby selection of oneself to play.
In addition, in the embodiment, QQGame uses page game one process of correspondence, each page game Process be independent, it is to avoid cause QQGame to collapse because page game goes wrong in itself.
In addition, above-mentioned configuration file can be recorded using XML file format every money web game suitable display it is big It is small.
S403, UI process adjust the size of QQGame display interface, and display target page according to the display size of acquisition The interface of face game.
Can be for page game products different in the market, according to the big of its display in above-mentioned technical proposal It is small, it is dynamic that QQGame interface size is set, it is to avoid because QQGame interface is too small or excessive, cause page trip display incomplete or Display is more than needed, influences the game experiencing of player.It is most comprehensively, to be also best suitable for showing this to make the interface of presentation in front of the user The interface of video game character, makes great efforts to build a most satisfied game atmosphere to user.
It is apparatus of the present invention embodiment below, apparatus of the present invention embodiment is used to perform the inventive method embodiment one to four The method of realization, for convenience of description, illustrate only the part related to the embodiment of the present invention, particular technique details is not disclosed , it refer to the embodiment of the present invention one, embodiment two, embodiment three and example IV.
Referring to Fig. 5, Fig. 5 is a kind of structural representation of window display provided in an embodiment of the present invention, such as Fig. 5 institutes Show, including:Receiving unit 51, adjustment unit 52 and display unit 53, wherein:
Receiving unit 51, the idsplay order for receiving the display information for display target subprogram.
Optionally, above-mentioned idsplay order can include the display information of target subprogram working as in main program with any Instruction in front window.For example:The instruction of user's input or the instruction of main program oneself generation.In addition, above-mentioned display information The information of required display when can be target subprogram activation, for example:Need picture, word, video, the virtual key of display Etc..
Adjustment unit 52, for responding the idsplay order, obtains window parameter letter corresponding with the target subprogram Breath, the window parameter of the current window of main program is adjusted according to the window parameter information, and the main program includes the target Subprogram.
Above-mentioned window parameter information corresponding with target subprogram can need the display shown to believe with target subprogram The window parameter information adapted to is ceased, for example:When target subprogram needs the display information of display excessive, above-mentioned window parameter letter Breath can be the excessive parameter information of window size, that is, tune up the size of current window;When target subprogram needs what is shown to show When showing that information is very few, above-mentioned window parameter information can be the too small parameter information of window size, that is, turn the chi of current window down It is very little;When word is very few in the display information that target subprogram needs display, above-mentioned window parameter information can be window font Excessive parameter information, that is, tune up the font in current window;It is when target subprogram needs the color of the display information shown When green, above-mentioned window parameter information can be that window color is the parameter information of green, i.e., adjust the color of current window For green.
Display unit 53, for showing the display information in the current window after the adjustment.
Optionally, display unit 53 can be from the local display information for obtaining target subprogram, then by the display information Shown in current window after the adjustment.Display unit 53 can also be the display information of generation target subprogram, and this is shown Show display in the current window of information after the adjustment.
When display unit 53 shows above-mentioned display information in current window, i.e., the current window shows above-mentioned display letter The interface of breath is it can be understood that be user interface (User Interface, UI) interface of target subprogram.
Optionally, above-mentioned window parameter can include at least one of following:
Window size, window font and window color.
I.e. adjustment unit 52 can be the window size for the current window for adjusting main program, or adjust the current of main program The window font of window, or adjust the window color of current window of main program etc..
Optionally, as shown in fig. 6, adjustment unit 52 can include:
Subelement 521 is asked, for responding the idsplay order, window parameter is sent to server and obtains request, it is described Parameter acquiring request carries the identification information of the target subprogram;
Receiving subelement 522, the window that the window parameter obtains request transmission is responded for receiving the server Mouth parameter information;
Subelement 523 is adjusted, the window parameter of the current window for adjusting main program according to the window parameter information.
Wherein, server can obtain window parameter information corresponding with the target subprogram in advance, due to above-mentioned The characteristic parameter server of target subprogram can be known a priori by, i.e., server is known a priori by the display letter of target subprogram Breath, so that server can obtain the window parameter information being adapted to these display informations in advance.For example:Server receives user The operation of input and the window parameter information corresponding with the target subprogram generated, or server is according to target subprogram Display information and the window parameter information corresponding with the target subprogram that generates.
The embodiment can obtain above-mentioned parameter current information to server online, obtain more smart so as to realize True window parameter information, because server can be the above-mentioned window parameter letter corresponding with the target subprogram of real-time update Breath.
Optionally, adjustment unit 52 can be used for responding the idsplay order, be obtained and the target subprogram from local Corresponding window parameter information, the window parameter of the current window of main program is adjusted according to the window parameter information.
For example:The corresponding window parameter information of each subprogram is locally previously stored with, such adjustment unit 52 just can be straight Connect from local and obtain window parameter information corresponding with the target subprogram.
In addition, can be locally to prestore configuration file, the configuration file can be main using XML texts using invention The file of part form, the configuration file can record the corresponding window parameter information of each subprogram.
Optionally, adjustment unit 52 can be used for responding the idsplay order, and analyzing needs display in the display window Information, and generate the corresponding window parameter information of information of display needed in the display window, and the window parameter is believed Breath adjusts the current of main program as window parameter information corresponding with the target subprogram according to the window parameter information The window parameter of window.
For example:By analysis obtain target subprogram need show display information it is excessive when, it is possible to generate window chi Very little excessive parameter information;By analysis obtain target subprogram need show display information it is very few when, it is possible to generate window The undersized parameter information of mouth;By analysis obtain target subprogram need show display information in word it is very few when, just It is the excessive parameter information of window font that can generate.
In the embodiment, it is possible to achieve generate window parameter information corresponding with the target subprogram in real time.
Optionally, receiving unit 51 can be used for receiving the enabled instruction for being used for starting the target subprogram.
For example:Receiving unit 51 can receive the click commands for clicking on the icon of target subprogram in main program interface, Or receiving unit 51 can be the above-mentioned enabled instruction that main program is automatically generated, for example:Main program periodically starts above-mentioned mesh Mark subprogram, or main program automatic start above-mentioned target subprogram when detecting certain trigger parameter.In addition, starting target Program is the display information of meeting display target subprogram.
In the embodiment, as shown in fig. 7, described device can also include:
Creating unit 54, for responding the enabled instruction, generates the target process of the target subprogram, the display Information includes the display information of the target process;
Adjustment unit 52 can be used for obtaining window corresponding with the target subprogram by the UI processes being pre-created Parameter information, and utilize window parameter of the UI processes according to the current window of window parameter information adjustment main program;
Display unit 53 can be used for showing in the current window after the adjustment using the UI Process flowcharts The display information of the target process.
The corresponding event that target subprogram is completed by target process can be realized in the embodiment, and adjusts current window The display information that mouth and display target are carried out all is realized by UI processes, and different events are so completed by different processes, so that Execution efficiency is improved, furthermore it is possible to avoid causing the problem of all event handlings fail because a certain process malfunctions.
Optionally, receiving unit 51, which can be used for receiving, is used to switch to the display information of the target subprogram currently Need the switching command of the display information of display.
For example:Main program has been running for including above-mentioned target subprogram before receiving unit 51 receives switching command Multiple subprograms inside, and the current window of main program is to show another before receiving unit 51 receives switching command The display information of subprogram, so when receiving unit 51 receives the corresponding sub- journey of display information closed and shown in current window During the out code of sequence, and after the corresponding subprogram of the display information of display is closed in current window, the display of target subprogram When information can be shown, then the out code can be above-mentioned switching command.Or when the figure for receiving click target subprogram During target click commands, and the click commands can trigger to switch to the display information of target subprogram and be currently needed for display Display information, then the out code can be above-mentioned click commands.
The display information of different subprograms can be just realized by said units in the window of different window parameters, So as to improve the window resource utilization of application program.In addition, while the window resource utilization of application program is improved, by In each subprogram display information be the corresponding window parameter of the subprogram window in show, so can the subprogram Display information most can comprehensively show, and be also to be shown in most suitable window, so experience to user is also most Alright.
Optionally, said apparatus can apply to any equipment for possessing application program, for example:Tablet personal computer, hand are mechanical, electrical Sub- reader, remote control, personal computer (Personal Computer, PC), notebook computer, mobile unit, network electricity There is the smart machine of network function depending on, wearable device etc..
In above-mentioned technical proposal, when receiving the idsplay order for the display information of display target subprogram, institute is responded Idsplay order is stated, window parameter information corresponding with the target subprogram is obtained, is adjusted and led according to the window parameter information The window parameter of the current window of program, then the interior display display information of current window after the adjustment.So as to realize The display information of different subprograms is in the window of different window parameters, so as to improve the window utilization of resources of application program Rate.
One of ordinary skill in the art will appreciate that realize all or part of flow in above-described embodiment method, being can be with The hardware of correlation is instructed to complete by computer program, described program can be stored in a computer read/write memory medium In, the program is upon execution, it may include such as the flow of the embodiment of above-mentioned each method.Wherein, described storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, abbreviation RAM) etc..
Above disclosure is only preferred embodiment of present invention, can not limit the right model of the present invention with this certainly Enclose, therefore the equivalent variations made according to the claims in the present invention, still belong to the scope that the present invention is covered.

Claims (12)

1. a kind of window display method, it is characterised in that including:
The idsplay order of the display information for display target subprogram is received, the display information is the target subprogram fortune The information of required display during row;
The idsplay order is responded, window parameter information corresponding with the target subprogram is obtained, according to the window parameter The window parameter of the current window of information adjustment main program, the main program includes the target subprogram;
The display information is shown in the current window after the adjustment;
It is described to obtain window parameter information corresponding with the target subprogram, main program is adjusted according to the window parameter information Current window window parameter, including:
Window parameter information corresponding with the target subprogram is obtained by the UI processes being pre-created;
The window parameter of the current window of main program is adjusted according to the window parameter information using the UI processes, it is described advance The UI processes of establishment be when running the main program, the main program and create, the UI processes are used to manage described The window parameter and display content of the current window of main program.
2. the method as described in claim 1, it is characterised in that the window parameter includes at least one of following:
Window size, window font and window color.
3. method as claimed in claim 1 or 2, it is characterised in that the display that the reception is used for display target subprogram is believed The idsplay order of breath, including:
Receive the enabled instruction for starting the target subprogram;
Methods described also includes:
The enabled instruction is responded, the target process of the target subprogram is generated, the display information is entered including the target The display information of journey;
It is described to obtain window parameter information corresponding with the target subprogram, main program is adjusted according to the window parameter information Current window window parameter, including:
Window parameter information corresponding with the target subprogram is obtained by the user interface UI processes being pre-created, and utilized The UI processes adjust the window parameter of the current window of main program according to the window parameter information;
The display information is shown in the current window after the adjustment, including:
The display information of the target process is shown in the current window after the adjustment using the UI Process flowcharts.
4. method as claimed in claim 1 or 2, it is characterised in that the display that the reception is used for display target subprogram is believed The idsplay order of breath, including:
Receive the switching command for the display information of the target subprogram to be switched to the display information for being currently needed for display.
5. method as claimed in claim 1 or 2, it is characterised in that acquisition window corresponding with the target subprogram Parameter information, including:
Window parameter is sent to server and obtains request, and the parameter acquiring request carries the mark letter of the target subprogram Breath;
Receive the server and respond the window parameter information that the window parameter obtains request transmission.
6. method as claimed in claim 1 or 2, it is characterised in that acquisition window corresponding with the target subprogram Parameter information, including:
Window parameter information corresponding with the target subprogram is obtained from local;Or
Analyzing needs the information of display in the display window, and generating needs the information of display corresponding in the display window Window parameter information, and it regard the window parameter information as window parameter information corresponding with the target subprogram.
7. a kind of window display, it is characterised in that including:Receiving unit, adjustment unit and display unit, wherein:
The receiving unit, the idsplay order for receiving the display information for display target subprogram;
The adjustment unit, for responding the idsplay order, obtains window parameter information corresponding with the target subprogram, The window parameter of the current window of main program is adjusted according to the window parameter information, the main program includes the sub- journey of the target Sequence;
The display unit, for showing the display information, the display letter in the current window after the adjustment The information of breath required display when being the target subprogram activation;
The adjustment unit, specifically for:
Window parameter information corresponding with the target subprogram is obtained by the UI processes being pre-created;Utilize the UI processes The window parameter of the current window of main program is adjusted according to the window parameter information, the UI processes being pre-created are in fortune During the row main program, the main program and create, the UI processes are used for the current window for managing the main program Window parameter and display content.
8. device as claimed in claim 7, it is characterised in that the window parameter includes at least one of following:
Window size, window font and window color.
9. device as claimed in claim 7 or 8, it is characterised in that the receiving unit, which is used to receive, to be used to start the mesh Mark the enabled instruction of subprogram;
Described device also includes:
Creating unit, for responding the enabled instruction, generates the target process of the target subprogram, the display information bag Include the display information of the target process;
The adjustment unit is used to obtain window corresponding with the target subprogram by the user interface UI processes being pre-created Mouth parameter information, and joined using the UI processes according to the window of the current window of window parameter information adjustment main program Number;
The display unit is used to show the mesh in the current window after the adjustment using the UI Process flowcharts The display information of mark process.
10. device as claimed in claim 7 or 8, it is characterised in that the receiving unit is used to receive and is used for the target The display information of subprogram switches to the switching command for the display information for being currently needed for display.
11. device as claimed in claim 7 or 8, it is characterised in that the adjustment unit, including:
Subelement is asked, for responding the idsplay order, window parameter is sent to server and obtains request, the parameter acquiring Request carries the identification information of the target subprogram;
Receiving subelement, the window parameter letter that the window parameter obtains request transmission is responded for receiving the server Breath;
Subelement is adjusted, the window parameter of the current window for adjusting main program according to the window parameter information.
12. device as claimed in claim 7 or 8, it is characterised in that the adjustment unit is used to respond the idsplay order, Window parameter information corresponding with the target subprogram is obtained from local, main program is adjusted according to the window parameter information The window parameter of current window;Or
The adjustment unit is used to respond the idsplay order, and analyzing needs the information of display in the display window, and generates Needed in the display window display the corresponding window parameter information of information, and using the window parameter information as with the mesh The corresponding window parameter information of subprogram is marked, the window that the current window of main program is adjusted according to the window parameter information is joined Number.
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 CN104102495A (en) 2014-10-15
CN104102495B true 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)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105761681B (en) * 2014-12-18 2019-04-02 深圳Tcl数字技术有限公司 Window display method and device 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
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
CN112688851B (en) * 2019-10-17 2022-07-08 腾讯科技(深圳)有限公司 Display method, device and equipment for sharing information of small programs and storage medium
CN112732368B (en) * 2020-12-31 2024-04-09 维沃移动通信有限公司 Program running method and device and electronic equipment

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

Also Published As

Publication number Publication date
CN104102495A (en) 2014-10-15

Similar Documents

Publication Publication Date Title
CN104102495B (en) A kind of window display method and device
CN111010585B (en) Virtual gift sending method, device, equipment and storage medium
US11450350B2 (en) Video recording method and apparatus, video playing method and apparatus, device, and storage medium
CN105190617B (en) Cooperative system with the blank access to global collaboration data
WO2020034747A1 (en) Image generation method, device and apparatus, and storage medium
WO2019120054A1 (en) Interactive control method and system, and terminal and storage medium
US11172006B1 (en) Customizable remote interactive platform
CN107770626A (en) Processing method, image synthesizing method, device and the storage medium of video material
CN110568984A (en) Online teaching method and device, storage medium and electronic equipment
CN112861472B (en) Shared document display method, device and equipment and computer readable storage medium
CN105378702A (en) Collaboration system including a spatial event map
EP3506073B1 (en) Information input method and apparatus
CN104244075A (en) Media information sharing method and system
CN105120006A (en) Live commenting control method, live commenting server and live commenting control device for electronic readings
US11349889B1 (en) Collaborative remote interactive platform
CN110019058B (en) Sharing method and device for file operation
CN110796712A (en) Material processing method, device, electronic equipment and storage medium
CN111447456A (en) Courseware operation method, computer equipment and storage medium
CN106162353A (en) Interface processing method, Apparatus and system
CN110221759A (en) Element dragging method and device, storage medium and interactive intelligent panel
CN109164966A (en) Screen capture method and device
CN107294835A (en) Document sending method and device in a kind of instant messaging
CN106791494A (en) The generation method and device of video caption
CN109905753B (en) Corner mark display method and device, storage medium and electronic device
CN105487769B (en) Media file display method and device and electronic equipment

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
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.

GR01 Patent grant
GR01 Patent grant
EE01 Entry into force of recordation of patent licensing contract
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