CN103365616A - Self-adaptive display method and device for display module - Google Patents
Self-adaptive display method and device for display module Download PDFInfo
- Publication number
- CN103365616A CN103365616A CN2012100876257A CN201210087625A CN103365616A CN 103365616 A CN103365616 A CN 103365616A CN 2012100876257 A CN2012100876257 A CN 2012100876257A CN 201210087625 A CN201210087625 A CN 201210087625A CN 103365616 A CN103365616 A CN 103365616A
- Authority
- CN
- China
- Prior art keywords
- display
- application program
- display module
- resource
- self
- 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.)
- Pending
Links
Images
Landscapes
- Controls And Circuits For Display Device (AREA)
Abstract
The invention discloses a self-adaptive display method and device for a display module. The method includes: acquiring display parameters of at least one display module currently in connection, acquiring matched resource packets according to the display parameters and current-operated application identification, and displaying the image of the application on corresponding display module according to the acquired resource packets. By the method, self-adaptive adjustments can be achieved according to display devices, in connection, of different resolution, and appropriate images can be generated and displayed.
Description
Technical field
The present invention relates to the communications field, be specifically related to a kind of adaptive display method and device of display module.
Background technology
Application program generally has one or more resource bags in existing portable terminal, these resource bags are according to the portable terminal type classification, application program can be identified the current mobile terminal model, the resource bag that selection is fit to according to the portable terminal model is installed or all resource bags are all installed but the resource bags that selection is fit to according to the portable terminal model generate picture disply, the display environment that guarantees in this way corresponding resource bag and adaptive portable terminal is perfect compatible, guarantees the display effect of application program.
Obviously, when portable terminal is connected to other display equipment and exports dependent picture, application program thinks that still display environment does not change, still output outputs to other display device with the picture that portable terminal resolution is complementary, and can not adjust adaptation for the true resolution of other display device, had a strong impact on the quality of display frame.For example, if the resolution of other display device is higher than portable terminal self resolution, when then portable terminal output picture is to other display device, can cause fuzzy pictures unclear because the pixel of output picture is low; If the resolution of other display device is lower than portable terminal self resolution, when then portable terminal output picture is to other display device, because the pixel height of output picture can cause picture can only demonstrate a part.
As seen, the defective of prior art mainly is, portable terminal can not be adjusted adaptively and shows according to the display device of the different resolution that connects.
Summary of the invention
Technical matters to be solved by this invention is to provide a kind of adaptive display method and device of display module, can adjust adaptively according to the display device of the different resolution that connects, and the image that generation is fit to also shows.
In order to solve the problems of the technologies described above, the present invention has disclosed a kind of adaptive display method of display module, comprise: the display parameter that obtain at least one display module of current connection, and obtain the resource bag of coupling according to the sign of the application program of described display parameter and current operation, wrap in the picture that shows the application program of current operation on the corresponding display module according to the resource of obtaining.
Further, obtain the display parameter of at least one display module of current connection, and obtain the resource bag of coupling according to the sign of the application program of described display parameter and current operation, wrap in the operation of the picture of the application program that shows current operation on the corresponding display module according to the resource of obtaining, comprise: obtain the display parameter of at least one display module of current connection, and search for according to being identified in the resource bag of preserving of application program of described display parameter and current operation; If there is the resource bag that mates with described display parameter, wrap in the picture that shows described application program on the corresponding display module according to described resource; If there is no with the resource bag of described display parameter coupling, search for beyond the clouds described resource bag and crawl is preserved, wrap in the picture that shows described application program on the corresponding display module according to described resource.
Further, obtain the operation of display parameter of at least one display module of current connection, comprising: the configuration file that reads described display module; Resolve the display parameter of the current use of display module described in the described configuration file.
Further, obtain the display parameter of at least one display module of current connection, and obtain the resource bag of coupling according to the sign of the application program of described display parameter and current operation, wrap in according to the resource of obtaining before the operation of the picture of the application program of the current operation of demonstration on the corresponding display module, also comprise: the resource bag of preserving respectively the described application program of mating with various display parameter for arbitrary application program.
Further, preserve respectively the operation of the resource bag of the described application program of mating with various display parameter for arbitrary application program, comprise: building database beyond the clouds, collect for arbitrary application program and to preserve with the resource bag of the described application program of various display parameter couplings and constantly update; Database search and push the resource requirement bag to this locality beyond the clouds perhaps is issued to the related resource bag in the database of high in the clouds locally for search in advance, and whole resource bags of perhaps the high in the clouds database being preserved are saved in this locality synchronously.
Further, described display parameter comprise: resolution, refresh rate; Described resource bag comprises: picture resource, video resource, Image Rendering parameter.
In order to solve the problems of the technologies described above, the present invention has also disclosed a kind of self-adaptation display device of display module, described self-adaptation display device links to each other with at least one display module, described self-adaptation display device comprises: matching unit, be used for obtaining the display parameter of at least one display module of current connection, and obtain the resource bag of coupling according to the sign of the application program of described display parameter and current operation; Performance element is used for wrapping in the picture that shows the application program of current operation on the corresponding display module according to the resource of obtaining.
Further, described matching unit, be used for searching for according to the resource bag of preserving that is identified at of the application program of described display parameter and current operation, when the resource bag that do not exist with described display parameter coupling, the described resource bag of web search and crawl are preserved beyond the clouds.
Further, described matching unit for the configuration file that reads described display module, is resolved the display parameter of the current use of display module described in the described configuration file.
Further, described performance element shows at described display device for the operation picture that generates the described application program of coupling according to described resource bag.
Further, also comprise: data provide the unit, are used for preserving respectively for arbitrary application program the resource bag of the described application program of mating with various display parameter;
Further, described data provide the unit, are positioned at the local of described self-adaptation display device or are positioned at high in the clouds, also are used for for resource bag and the continuous renewal of arbitrary application program collection preservation with the described application program of various display parameter couplings.
Further, described self-adaptation display device links to each other with a portable terminal, and described display module is the display module of described portable terminal and/or the display module of described portable terminal outside.
Compared with prior art, the present invention can obtain following technique effect:
1) can adjust adaptively according to the display device of the different resolution that connects, the image that generation is fit to also shows.
2) identify for the display parameter of display device, thereby select adaptive resource bag, do not need dependence that portable terminal self is identified, especially for simple external display device, the advantage of this processing is very obvious.
3) when adaptive resource bag does not exist, can automatically obtain renewal from high in the clouds, guarantee to greatest extent the self-adaptation demonstration.
Description of drawings
Accompanying drawing described herein is used to provide a further understanding of the present invention, consists of the application's a part, and illustrative examples of the present invention and explanation thereof are used for explaining the present invention, do not consist of improper restriction of the present invention.In the accompanying drawings:
Fig. 1 is the method flow diagram of the embodiment of the invention;
Fig. 2 is the thin section method flow diagram of the embodiment of the invention;
Fig. 3 is the structural representation of the device of the embodiment of the invention;
Fig. 4 is the schematic diagram of application example of the present invention.
Embodiment
Below will cooperate drawings and Examples to describe embodiments of the present invention in detail, by this to the present invention how the application technology means implementation procedure that solves technical matters and reach the technology effect can fully understand and implement according to this.
Core of the present invention is to obtain the display parameter of at least one display module of current connection, and obtain the resource bag of coupling according to the sign of the application program of described display parameter and current operation, wrap in the picture that shows the application program of current operation on the corresponding display module according to the resource of obtaining.
The below is described further the realization of the inventive method with an embodiment.As shown in Figure 1, the method flow diagram for the embodiment of the invention comprises:
Step S1 preserves respectively the resource bag of the described application program of mating with various display parameter for arbitrary application program.
Described display parameter comprise: resolution, refresh rate; Described resource bag comprises: picture resource, video resource, Image Rendering parameter;
Form that can database with the resource bag of the described application program of various display parameter coupling is kept at this locality of described self-adaptation display device, also can be kept at high in the clouds, perhaps is kept at simultaneously high in the clouds and this locality.In actual applications, because need search and preserve whole applicable resource bags of all application programs, often require database to have magnanimity hold capacity and extremely strong search capacity gauge, for this situation, general building database is beyond the clouds collected for arbitrary application program and to be preserved with the resource bag of the described application program of various display parameter couplings and constantly update.Database search and push required resource bag to this locality beyond the clouds when needing the resource bag, perhaps be issued in advance the relevant resource bag of part local for search, if perhaps the data total amount of database is little, whole resource bags that the high in the clouds database is preserved can also be saved in synchronously local for search.
Step S2 obtains the display parameter of at least one display module of current connection.
Operation below concrete execution the among the step S2: read the configuration file of described display module, resolve the display parameter of the current use of display module described in the described configuration file.
Below with an application example obtaining of display parameter described.Comprise the display parameter such as refresh rate and resolution generally all can keeping records in the configuration file of system, for example, be equipped with in the terminal of linux system, refresh rate and the resolution of the display of this terminal is kept at/etc/X11/xorg.conf in, the form with horizontal resolution and vertical resolution in this document has recorded the resolution that current display uses.
Described self-adaptation display device links to each other with a portable terminal, described display module can be the display module of described portable terminal self, it also can be other the external display module that is positioned at the portable terminal outside, in actual use, described self-adaptation display device can be installed in the portable terminal and link to each other with portable terminal, simultaneously to the display module of portable terminal self and external display module self-adaptation output picture.
Step S3 obtains the resource bag of coupling according to the sign of the application program of described display parameter and current operation, wrap in the picture that shows described application program on the corresponding display module according to the resource of obtaining.
When described resource bag is stored in this locality, thereby directly travel through the resource bag that obtains coupling according to described display parameter; When described resource bag is stored in high in the clouds, can directly finish retrieval according to described display parameter beyond the clouds the resource bag that mates is issued to this locality, also part related resource bag can be issued in advance local for search, if the data total amount is little certainly, thereby the resource bag that preserve in high in the clouds can also be saved in this locality synchronously at local search.
Certainly, might be in the resource bag that store this locality or in the resource bag of high in the clouds storage, all can't find the resource bag that mates with display parameter, can also retrieve this moment to cloud network, resource bag and the real-time update of crawl coupling are kept at the memory location, high in the clouds, and the resource bag that grasps is issued to this locality.
The below is described further the realization of the step S3 of the inventive method with an embodiment again.As shown in Figure 2, the thin section method flow diagram for the embodiment of the invention comprises:
Step S31, obtain the display parameter of at least one display module of current connection, and search for according to being identified in the resource bag of preserving of application program of described display parameter and current operation, if Search Results is empty, execution in step S33, if Search Results is not empty, execution in step S32;
Step S32 obtains the resource bag that mates with described display parameter, execution in step S35;
There is not the resource bag with described display parameter coupling in step S33, the described resource bag of web search beyond the clouds, if Search Results be empty, and execution in step S34, if Search Results is sky, execution in step S36;
Step S34, network grasps described resource bag and is sent to this locality beyond the clouds, in this locality or the position, high in the clouds preserve described resource bag, execution in step S35;
Step S35 wraps in the picture that shows described application program on the corresponding display module according to described resource;
Step S36, there is not the resource bag with described display parameter coupling in prompting, and self-adaptation shows unsuccessfully, can point out at this moment to show unsuccessfully, also can use acquiescence display parameter or other display parameter to show.
The below is described further the realization of apparatus of the present invention with an embodiment again.As shown in Figure 3, structural representation for the device of the embodiment of the invention, described self-adaptation display device 1 links to each other with at least one display module 3, described self-adaptation display device 1 comprises: data provide unit 11, matching unit 12 and performance element 13, matching unit 12 provides unit 11, performance element 13, cloud network 2, display module 3 to link to each other with data respectively, and performance element 13 links to each other with display module 3 respectively;
Data provide unit 11, are used for preserving respectively for arbitrary application program the resource bag of the described application program of mating with various display parameter;
Matching unit 12, be further used for obtaining the display parameter of at least one display module 3 of current connection, and search for according to being identified in the resource bag of preserving of application program of described display parameter and current operation, when not having the resource bag that mates with described display parameter, notification data provides unit 11;
Data provide unit 11, and the network 2 described resource bags of search and crawl are preserved beyond the clouds, and described resource bag is fed back to matching unit 12.
Data provide unit 11 to be positioned at the local of described self-adaptation display device 1 or are positioned at high in the clouds, are used for for resource bag and the continuous renewal of arbitrary application program collection preservation with the described application program of various display parameter couplings.
Described display module 3 is the display module of described portable terminal 5, self-adaptation display device 1 can also be connected with a display module 4 simultaneously, described display module 4 is the display module of described portable terminal 5 outsides, for display module 4, self-adaptation display device 1 is finished above-mentioned similar functions at the picture of display module 4 demonstrations with the display capabilities adaptation of display module 4.
Described portable terminal is corresponding with aforesaid method flow description, and weak point is given unnecessary details no longer one by one with reference to the narration of said method flow process.
The below is described further whole realization the of the present invention with an application example again.
As shown in Figure 4, the portable terminal A that the self-adaptation display device is installed is connected with external connection display equipment B, the application program C of the current operation of described portable terminal A wishes on the display device A of portable terminal A self and external connection display equipment B the simultaneously operation picture of display application program C.
The request that the matching unit of self-adaptation display device sends the query display parameter to display device A and the external connection display equipment B of portable terminal A self, read the configuration file of portable terminal A, the resolution of resolving the current use of self display device A of recording in the configuration file is 800 * 600, then feeds back described resolution to the self-adaptation display device.Similarly, read the configuration file in the driver of external connection display equipment B, the resolution of resolving the current use of external connection display equipment B of recording in the configuration file is 1024 * 768, then feeds back described resolution to the self-adaptation display device.Need to prove, the matching unit of self-adaptation display device can directly read configuration file and obtain resolution, also can control method, apparatus is read configuration file or only is to trigger method, apparatus is read configuration file, and the present invention is not limited to this.
After the matching unit of self-adaptation display device is known the resolution of display device A and external connection display equipment B, in providing each resource bag of the application program C that the unit preserves, the data of self-adaptation display device inquire about.Need to prove, the memory element that data provide the unit can use portable terminal A at the physical location of this locality certainly, also can be the memory element that is independent of the self-adaptation display device self of portable terminal A, can also be present in cloud server, the present invention is not limited to this.
The matching unit of self-adaptation display device finds the resource bag A that mates with 800 * 600 resolution of self display device A, and the performance element of self-adaptation display device generates the operation picture of the application program C that mates in self display device A demonstration according to resource bag A.
But the matching unit of self-adaptation display device does not find the resource bag that mates with 1024 * 768 resolution of external connection display equipment B, then notification data provides the unit interconnection network to inquire beyond the clouds the resource bag B that application program C exists and 1024 * 768 resolution are mated, then download to this locality and preserve and feed back to matching unit, the performance element of self-adaptation display device shows at external connection display equipment B according to the operation picture that resource bag B generates the application program C of coupling.
Display parameter are described with resolution in the above example, and application scenarios is positioned at portable terminal A inside with the self-adaptation display device and is described, and the self-adaptation display device is described self display device and the external connection display equipment B of portable terminal A.But it will be recognized by those skilled in the art that display parameter also comprise such as other parameters such as refresh rates, display parameter of the present invention are not limited to resolution; Application scenarios is varied, the relation of the not position of limiting adaptive display device, and display device.
Above-mentioned explanation illustrates and has described some preferred embodiments of the present invention, but as previously mentioned, be to be understood that the present invention is not limited to the disclosed form of this paper, should not regard the eliminating to other embodiment as, and can be used for various other combinations, modification and environment, and can in invention contemplated scope described herein, change by technology or the knowledge of above-mentioned instruction or association area.And the change that those skilled in the art carry out and variation do not break away from the spirit and scope of the present invention, then all should be in the protection domain of claims of the present invention.
Claims (10)
1. the adaptive display method of a display module is characterized in that, comprising:
Obtain the display parameter of at least one display module of current connection, and obtain the resource bag of coupling according to the sign of the application program of described display parameter and current operation, wrap in the picture that shows the application program of current operation on the corresponding display module according to the resource of obtaining.
2. adaptive display method as claimed in claim 1, it is characterized in that, obtain the display parameter of at least one display module of current connection, and obtain the resource bag of coupling according to the sign of the application program of described display parameter and current operation, wrap in the operation of the picture of the application program that shows current operation on the corresponding display module according to the resource of obtaining, further comprise:
Obtain the display parameter of at least one display module of current connection, and search for according to being identified in the resource bag of preserving of application program of described display parameter and current operation;
If there is the resource bag that mates with described display parameter, wrap in the picture that shows described application program on the corresponding display module according to described resource;
If there is no with the resource bag of described display parameter coupling, search for beyond the clouds described resource bag and crawl is preserved, wrap in the picture that shows described application program on the corresponding display module according to described resource.
3. adaptive display method as claimed in claim 1 is characterized in that, obtains the operation of display parameter of at least one display module of current connection, comprising:
Read the configuration file of described display module;
Resolve the display parameter of the current use of display module described in the described configuration file.
4. adaptive display method as claimed in claim 1, it is characterized in that, obtain the display parameter of at least one display module of current connection, and obtain the resource bag of coupling according to the sign of the application program of described display parameter and current operation, wrap in according to the resource of obtaining before the operation of the picture of the application program of the current operation of demonstration on the corresponding display module, also comprise:
Preserve respectively the resource bag of the described application program of mating with various display parameter for arbitrary application program.
5. the self-adaptation display device of a display module is characterized in that, described self-adaptation display device links to each other with at least one display module, and described self-adaptation display device comprises:
Matching unit is used for obtaining the display parameter of at least one display module of current connection, and obtains the resource bag of coupling according to the sign of the application program of described display parameter and current operation;
Performance element is used for wrapping in the picture that shows the application program of current operation on the corresponding display module according to the resource of obtaining.
6. self-adaptation display device as claimed in claim 5 is characterized in that,
Described matching unit, be further used for searching for according to being identified in the resource bag of preserving of application program of described display parameter and current operation, when not having the resource bag that mates with described display parameter, the described resource bag of web search and crawl are preserved beyond the clouds.
7. self-adaptation display device as claimed in claim 5 is characterized in that,
Described matching unit is further used for reading the configuration file of described display module, resolves the display parameter of the current use of display module described in the described configuration file.
8. self-adaptation display device as claimed in claim 5 is characterized in that,
Described performance element, the operation picture that is further used for generating according to described resource bag the described application program of coupling shows at described display device.
9. self-adaptation display device as claimed in claim 5 is characterized in that, also comprises:
Data provide the unit, are used for preserving respectively for arbitrary application program the resource bag of the described application program of mating with various display parameter;
10. self-adaptation display device as claimed in claim 9 is characterized in that,
Described data provide the unit, are positioned at the local of described self-adaptation display device or are positioned at high in the clouds, also are used for for resource bag and the continuous renewal of arbitrary application program collection preservation with the described application program of various display parameter couplings.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100876257A CN103365616A (en) | 2012-03-29 | 2012-03-29 | Self-adaptive display method and device for display module |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100876257A CN103365616A (en) | 2012-03-29 | 2012-03-29 | Self-adaptive display method and device for display module |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103365616A true CN103365616A (en) | 2013-10-23 |
Family
ID=49367070
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012100876257A Pending CN103365616A (en) | 2012-03-29 | 2012-03-29 | Self-adaptive display method and device for display module |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103365616A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105094891A (en) * | 2015-06-30 | 2015-11-25 | 小米科技有限责任公司 | Method and device for effect display |
CN107748688A (en) * | 2017-09-30 | 2018-03-02 | 微梦创科网络科技(中国)有限公司 | A kind of information displaying method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101227554A (en) * | 2008-02-04 | 2008-07-23 | 中兴通讯股份有限公司 | Method and system for implementing self-adapting display of set-top box on television |
CN102221984A (en) * | 2010-06-14 | 2011-10-19 | 微软公司 | Plane independently processing display data |
-
2012
- 2012-03-29 CN CN2012100876257A patent/CN103365616A/en active Pending
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101227554A (en) * | 2008-02-04 | 2008-07-23 | 中兴通讯股份有限公司 | Method and system for implementing self-adapting display of set-top box on television |
CN102221984A (en) * | 2010-06-14 | 2011-10-19 | 微软公司 | Plane independently processing display data |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105094891A (en) * | 2015-06-30 | 2015-11-25 | 小米科技有限责任公司 | Method and device for effect display |
CN105094891B (en) * | 2015-06-30 | 2018-11-06 | 小米科技有限责任公司 | effect display method and device |
CN107748688A (en) * | 2017-09-30 | 2018-03-02 | 微梦创科网络科技(中国)有限公司 | A kind of information displaying method and device |
CN107748688B (en) * | 2017-09-30 | 2021-05-11 | 微梦创科网络科技(中国)有限公司 | Information display method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106846495B (en) | Method and device for realizing augmented reality | |
CN105120159B (en) | The method and server of picture are obtained by remote control | |
CN105760405A (en) | Methods and devices for obtaining network resource for loading web page and method and device for caching network resource | |
US20100071008A1 (en) | System and method for transmitting an animated figure | |
EP2690580A2 (en) | Identification code processing system, identification code processing method thereof, and apparatus for supporting same | |
CN102761456A (en) | Method, device and system for acquiring performance parameters of browser of mobile terminal | |
KR102134944B1 (en) | Method and system for bandwidth-dependent file transfer | |
JP2018198064A5 (en) | ||
CN103957240A (en) | Weather system capable of shooting pictures in real time and conducting sharing and implementation method of weather system capable of shooting pictures in real time and conducting sharing | |
CN106210132A (en) | A kind of web camera collocation method, Apparatus and system | |
CN105338564B (en) | A kind of client adaptation method, client, server and system | |
CN102810109A (en) | Storing method and device for augmented reality view | |
CN101159739B (en) | Subtitling display process and communication system and related equipment | |
CN106095472A (en) | A kind of head portrait setting method and device | |
JP2013205835A (en) | Screen display device and screen display system | |
CN103365616A (en) | Self-adaptive display method and device for display module | |
CN104053016B (en) | A kind of image preview method and device | |
CN102378068A (en) | Digital network television system and method for acquiring network parameters by using same | |
CN106133718B (en) | System comprising an audio device and a mobile device for displaying information about the audio device | |
CN104349169B (en) | A kind of image processing method and electronic equipment | |
CN106569934A (en) | Application log display method and device | |
CN109781135B (en) | Information screen information supplement display method, system and application of road-directing robot | |
CN111262996A (en) | Notification bar message processing method and device, electronic device and storage medium | |
CN103902608A (en) | Method and device for monitoring and compressing web images | |
CN104125497B (en) | Webpage video recording method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20131023 |