CN104020849A - Multi-program simultaneous display method and system based on windows CE - Google Patents
Multi-program simultaneous display method and system based on windows CE Download PDFInfo
- Publication number
- CN104020849A CN104020849A CN201410237168.4A CN201410237168A CN104020849A CN 104020849 A CN104020849 A CN 104020849A CN 201410237168 A CN201410237168 A CN 201410237168A CN 104020849 A CN104020849 A CN 104020849A
- Authority
- CN
- China
- Prior art keywords
- layer
- client
- data
- coverage diagram
- virtual
- 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
Links
Abstract
The invention discloses a multi-program simultaneous display method and system based on windows CE. The method comprises the steps that A, an interface layer receives requests for virtual overlay layers of all client sides, and data which are sent by the client sides and need to be displayed are packaged and sent to a drive layer; B, a server side receives the packaged data in the drive layer and sets up virtual overlay layers of all the client sides by utilizing the packaged data; C, the server side synthesizes an image of a composite overlay layer according to the information of the virtual overlay layers of all client sides, and the image is refreshed to be displayed on a physical page. By means of the method and system, each client side can access multiple overlay resources, and virtual reuse of the resources is achieved. Under the condition that the overlay resources are not sufficient, multiple programs do not need to be complexly matched, all application programs use the uniform interface to access the resources, the occupancy conditions of the resources do not need to be considered, and transplant of the programs is facilitated.
Description
Technical field
The present invention relates to image and show field, relate in particular to a kind of multiprogram based on Windows CE display packing and system simultaneously.
Background technology
Windows CE(or abbreviation WinCE) be that Microsoft is embedded, the basis of mobile computing platform, it is an opening, upgradeable 32 embedded OSs, is the electronic equipment operating system based on palmtop computer class
In the interface of the vehicle-mounted multimedia equipment of WinCE system, often need to show the content that some need top set, and may a plurality of programs need to show simultaneously, (Overlay technology is a characteristic of the DirectDraw of Microsoft technology generally can to use covering (overlay) technology, under the support of hardware resource, can improve the efficiency that image shows, the functions such as realization figure layer is compound), but hardware overlay resource-constrained, cannot meet a plurality of application programs and use overlay resource to carry out the requirement of interface simultaneously.For addressing the above problem, the method adopting is at present all by coordinating between each application program, and for example, when B program is used, A program first discharges, then B program first discharges when switching back A program.But the cooperation meeting of doing like this between each program is very complicated, is difficult to management, and is difficult to transplant.
Therefore, prior art has yet to be improved and developed.
Summary of the invention
In view of above-mentioned the deficiencies in the prior art, the object of the present invention is to provide a kind of multiprogram based on Windows CE display packing and system simultaneously, be intended to solve the problem that current Windows CE system cannot realize multiple utility program and uses overlay resource to show simultaneously.
Technical scheme of the present invention is as follows:
Multiprogram based on Windows CE is a display packing simultaneously, wherein, said method comprising the steps of:
A, interface layer receive the virtual coverage diagram layer application of each client, and the data that the needs that each client is imported into show encapsulate, and the data after encapsulation are sent to and drive layer;
B, service end are obtained data after the encapsulation driving in layer, and utilize the virtual coverage diagram layer of each client of data creation after encapsulation;
C, service end are synthesized the image of compound coverage diagram layer according to the information of the virtual coverage diagram layer of each client, and this image refreshing is shown to physical page.
The described multiprogram based on Windows CE is display packing simultaneously, and wherein, described steps A is specially:
A1, the virtual coverage diagram layer of each client call interface layer interface application, and import view data and the attribute that needs demonstration into;
The view data that A2, interface layer import each client into and attribute encapsulate respectively and send to driving layer;
The described multiprogram based on Windows CE is display packing simultaneously, and wherein, described step B is specially:
B1, to service end, send notice after driving layer to receive the encapsulation of data of each client that interface layer transmits;
After B2, service end reception notification, obtain the encapsulation of data that drives each client in layer, and utilize view data and the attribute of this each client of data reconstruction;
B3, the view data of utilizing each client of rebuilding and the virtual coverage diagram layer that attribute creates respectively each client.
The described multiprogram based on Windows CE is display packing simultaneously, and wherein, described step C is specially:
The demonstration thread of C1, service end obtains the information of the virtual coverage diagram layer of each client, calculates the region that each virtual coverage diagram layer need to refresh, and creates DIB bitmap according to result of calculation;
The first compatible equipment description list of C2, establishment cover page, is selected into created DIB bitmap in the first compatible equipment description list;
C3, the first compatible equipment description list is copied in physical page device context, by upgrading physical page, DIB bitmap images is shown on screen.
The described multiprogram based on Windows CE is display packing simultaneously, and wherein, described steps A 2 is specially:
The second compatible equipment description list of A21, compatible each client device description list of establishment, and create DIB bitmap according to the second compatible equipment description list attribute;
A22, created DIB bitmap is selected into the second compatible equipment description list, and each client device description list is copied in the second compatible equipment description list;
A23, the second compatible equipment description list that this is comprised to DIB bitmap are sent to and drive layer.
Multiprogram based on Windows CE is a display system simultaneously, and wherein, described system comprises:
Client, for send the application of virtual coverage diagram layer to interface layer, and sends the data that need demonstration to interface layer;
Interface layer, for receiving the virtual coverage diagram layer application of each client, the data that the needs that each client is imported into show encapsulate, and the data after encapsulation are sent to and drive layer;
Drive layer, the data after the encapsulation sending for receiving interface layer;
Service end, for obtaining data after the encapsulation that drives layer, and utilize the virtual coverage diagram layer that encapsulates rear each client of data creation, and according to the image of the synthetic compound coverage diagram layer of the information of the virtual coverage diagram layer of each client, and this image refreshing is shown to physical page.
Beneficial effect: the invention provides a kind of multiprogram based on Windows CE display packing and system simultaneously, realize the addressable a plurality of overlay resources of each client by system of the present invention, realize the virtual multiplexing of resource.System of the present invention makes the in the situation that of overlay inadequate resource, and a plurality of programs do not need to carry out complicated cooperation, and each application program is used unified interface to carry out the access of resource, and the situation that takies without considering resource, facilitates the transplanting of program.Avoid because hardware overlay resource limitation cannot meet a plurality of application programs, using overlay resource to carry out the problem of interface requirement in existing Windows CE simultaneously.
Accompanying drawing explanation
Fig. 1 is the while of the multiprogram based on Windows CE display packing process flow diagram in the specific embodiment of the invention.
Fig. 2 is the concrete grammar process flow diagram of step S100 in Fig. 1.
Fig. 3 is the concrete grammar process flow diagram of step S120 in Fig. 2.
Fig. 4 is the concrete grammar process flow diagram of step S200 in Fig. 1.
Fig. 5 is the concrete grammar process flow diagram of step S300 in Fig. 1.
Fig. 6 is the theory diagram of the while of the multiprogram based on Windows CE display system in the specific embodiment of the invention.
Fig. 7 is the while of the multiprogram based on Windows CE display system and method for work process flow diagram thereof in the specific embodiment of the invention.
Embodiment
The invention provides a kind of multiprogram based on Windows CE display packing and system simultaneously, for making object of the present invention, technical scheme and effect clearer, clear and definite, below the present invention is described in more detail.Should be appreciated that specific embodiment described herein, only in order to explain the present invention, is not intended to limit the present invention.
The invention provides a kind of multiprogram based on Windows CE display packing simultaneously, it is in service end internal memory, to create a plurality of virtual page numbers (being about to a hardware overlay resource invents a plurality of), each page is exactly an overlay page concerning client, and service end is according to the final hardware overlay page of the property operations of each figure layer.An actual overlay resource of service end operation, but for client, each client can be accessed a plurality of overlay resources, has realized the virtual multiplexing of resource.
Wherein, the described multiprogram while display packing based on Windows CE as shown in Figure 1, comprises the following steps:
S100, interface layer receive the virtual coverage diagram layer application of each client, and the data that the needs that each client is imported into show encapsulate, and the data after encapsulation are sent to and drive layer.
Further, described step S100 specifically as shown in Figure 2, the steps include:
S110, the virtual coverage diagram layer of each client call interface layer interface application (overlay virtual graph layer), and import view data and the attribute that needs demonstration into.
The view data that S120, interface layer import each client into and attribute encapsulate respectively and send to driving layer.
In specific embodiment, described step S120 as shown in Figure 3, is specially:
The second compatible equipment description list (device context is called again DC) of S121, compatible each client device description list of establishment, and create DIB bitmap according to the second compatible equipment description list attribute.
S122, created DIB bitmap is selected into the second compatible equipment description list, and each client device description list is copied in the second compatible equipment description list.
S123, the second compatible equipment description list that this is comprised to DIB bitmap are sent to and drive layer.Drive layer can drive service end to obtain this data bitmap.
S200, service end are obtained data after the encapsulation driving in layer, and utilize the virtual coverage diagram layer of each client of data creation after encapsulation.Create the virtual overlay figure layer of each client
Further, as shown in Figure 4, its step is specially described step S200:
S210, to service end, send notice after driving layer to receive the encapsulation of data of each client that interface layer transmits.Notification service end has new data to arrive, and need to take away.
After S220, service end reception notification, obtain the encapsulation of data that drives each client in layer, and utilize view data and the attribute of this each client of data reconstruction.
S230, the view data of utilizing each client of rebuilding and the virtual coverage diagram layer that attribute creates respectively each client.
S300, service end are synthesized the image of compound coverage diagram layer according to the information of the virtual coverage diagram layer of each client, and this image refreshing is shown to physical page.The actual displayed that needs the image of compound coverage diagram layer arrives the image of overlay figure layer.
Wherein, as shown in Figure 5, its step is specially described step S300:
The demonstration thread of S310, service end obtains the information of the virtual coverage diagram layer of each client, calculates the region that each virtual coverage diagram layer need to refresh, and creates DIB bitmap according to result of calculation.
The first compatible equipment description list of S320, establishment cover page (the overlay page), is selected into created DIB bitmap in the first compatible equipment description list.
S330, the first compatible equipment description list is copied in physical page device context, by upgrading physical page, DIB bitmap images is shown on screen.
By said method, make WinCE system the overlay inadequate resource in the situation that, a plurality of programs do not need to carry out complicated cooperation yet, and each application program is used unified interface to carry out the access of resource.
Be illustrated in figure 6 the multiprogram based on the Windows CE of the present invention workflow diagram of display system simultaneously, described system comprises:
Client 100, for send the application of virtual coverage diagram layer to interface layer, and sends the data that need demonstration, specifically as described in step S100 to interface layer.Simply say, a page of client application service end is for display routine interface.
Interface layer 200, for receiving the virtual coverage diagram layer application of each client, the data that the needs that each client is imported into show encapsulate, and the data after encapsulation are sent to and drive layer, specifically as described in step S200.
Drive layer 300, the data after the encapsulation sending for receiving interface layer.Because client and service end belong to respectively two processes, therefore need an exchanges data that drives the responsible service end of layer and client, the data that client will show are passed to service end by driving, and service end returns results by driving, specifically as described in step S200.
Service end 400, for obtaining data after the encapsulation that drives layer, and the virtual coverage diagram layer of rear each client of data creation of utilization encapsulation, and according to the image of the synthetic compound coverage diagram layer of the information of the virtual coverage diagram layer of each client, and this image refreshing is shown to physical page, specifically as described in step S300.In function, say, service end is responsible for creating the page of each client, and manages the attribute of these pages, finally determines which page need to flush to the upper demonstration of overlay.
In sum, native system is by client, interface layer, drive layer (or making Inter-Process Communication drive layer), several parts such as service end form, the display interface that client call interface layer provides, the data that interface layer is responsible for client to show are by driving layer to pass to service end, service end creates a figure layer after obtaining data, then notice shows thread, demonstration thread is responsible for collecting the information that arranges All Layers, calculating chart ply region etc., so then will need the figure tomographic image showing to copy in the overlay page, call the overlay interface that display driver provides, so the figure layer that client is created is shown on same overlay, realizing the virtual of resource shares.
As shown in Figure 7, a plurality of clients (customer end A, customer end B, client C) all can perform step S1 for concrete system and method for work flow process thereof, the virtual overlay figure of calling interface layer interface application layer.
The compatible DC of S2, establishment client DC.According to the customer end A, B, the C that send the application of virtual overlay figure layer, create compatible equipment description list.
S3, according to compatible DC attribute, create DIB bitmap.
S4, bitmap is selected into compatible DC.
S5, copy client DC to compatible DC.
S6, import data bitmap into driving, be about to DIB bitmap and compatible DC and be sent to and drive layer.
S7, a driving layer notification service end obtain data.Service end is obtained data, performs step S8.
S8, return data are to service end.
S9, from driving, obtain data bitmap, create layer, and carries out image data reconstruction, after creating virtual graph layer, perform step S10.
S10, notice show thread.
S11, obtain the information of all virtual graph layers, the region that calculating need to refresh etc.
S12, the figure layer that each need to refresh, create DIB bitmap according to data bitmap
The compatible DC of S13, the establishment overlay page is also selected into this DC by the bitmap of establishment.
S14, compatible DC is copied in the page DC of overlay.
S15, the renewal overlay page, be shown to image on screen.By display driver, drive hardware to show image.
In addition, in service end, from driving layer to get data bitmap, can return results, and this result is passed through to drive layer, be sent to interface layer, finally by interface layer, be back to relative client.
The invention provides a kind of multiprogram based on Windows CE display packing and system simultaneously, by system of the present invention, realize the addressable a plurality of overlay resources of each client, realize the virtual multiplexing of resource.System of the present invention makes the in the situation that of overlay inadequate resource, and a plurality of programs do not need to carry out complicated cooperation, and each application program is used unified interface to carry out the access of resource, and the situation that takies without considering resource, facilitates the transplanting of program.Avoid because hardware overlay resource limitation cannot meet a plurality of application programs, using overlay resource to carry out the problem of interface requirement in existing Windows CE simultaneously.
Should be understood that, application of the present invention is not limited to above-mentioned giving an example, and for those of ordinary skills, can be improved according to the above description or convert, and all these improvement and conversion all should belong to the protection domain of claims of the present invention.
Claims (6)
1. the while of the multiprogram based on a Windows CE display packing, is characterized in that, said method comprising the steps of:
A, interface layer receive the virtual coverage diagram layer application of each client, and the data that the needs that each client is imported into show encapsulate, and the data after encapsulation are sent to and drive layer;
B, service end are obtained data after the encapsulation driving in layer, and utilize the virtual coverage diagram layer of each client of data creation after encapsulation;
C, service end are synthesized the image of compound coverage diagram layer according to the information of the virtual coverage diagram layer of each client, and this image refreshing is shown to physical page.
2. the multiprogram while display packing based on Windows CE according to claim 1, is characterized in that, described steps A is specially:
A1, the virtual coverage diagram layer of each client call interface layer interface application, and import view data and the attribute that needs demonstration into;
The view data that A2, interface layer import each client into and attribute encapsulate respectively and send to driving layer.
3. the multiprogram while display packing based on Windows CE according to claim 2, is characterized in that, described step B is specially:
B1, to service end, send notice after driving layer to receive the encapsulation of data of each client that interface layer transmits;
After B2, service end reception notification, obtain the encapsulation of data that drives each client in layer, and utilize view data and the attribute of this each client of data reconstruction;
B3, the view data of utilizing each client of rebuilding and the virtual coverage diagram layer that attribute creates respectively each client.
4. the multiprogram while display packing based on Windows CE according to claim 3, is characterized in that, described step C is specially:
The demonstration thread of C1, service end obtains the information of the virtual coverage diagram layer of each client, calculates the region that each virtual coverage diagram layer need to refresh, and creates DIB bitmap according to result of calculation;
The first compatible equipment description list of C2, establishment cover page, is selected into created DIB bitmap in the first compatible equipment description list;
C3, the first compatible equipment description list is copied in physical page device context, by upgrading physical page, DIB bitmap images is shown on screen.
5. the multiprogram while display packing based on Windows CE according to claim 4, is characterized in that, described steps A 2 is specially:
The second compatible equipment description list of A21, compatible each client device description list of establishment, and create DIB bitmap according to the second compatible equipment description list attribute;
A22, created DIB bitmap is selected into the second compatible equipment description list, and each client device description list is copied in the second compatible equipment description list;
A23, the second compatible equipment description list that this is comprised to DIB bitmap are sent to and drive layer.
6. the while of the multiprogram based on a Windows CE display system, is characterized in that, described system comprises:
Client, for send the application of virtual coverage diagram layer to interface layer, and sends the data that need demonstration to interface layer;
Interface layer, for receiving the virtual coverage diagram layer application of each client, the data that the needs that each client is imported into show encapsulate, and the data after encapsulation are sent to and drive layer;
Drive layer, the data after the encapsulation sending for receiving interface layer;
Service end, for obtaining data after the encapsulation that drives layer, and utilize the virtual coverage diagram layer that encapsulates rear each client of data creation, and according to the image of the synthetic compound coverage diagram layer of the information of the virtual coverage diagram layer of each client, and this image refreshing is shown to physical page.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410237168.4A CN104020849B (en) | 2014-05-30 | 2014-05-30 | Based on multiprogram display packing and the system simultaneously of Windows CE |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410237168.4A CN104020849B (en) | 2014-05-30 | 2014-05-30 | Based on multiprogram display packing and the system simultaneously of Windows CE |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104020849A true CN104020849A (en) | 2014-09-03 |
CN104020849B CN104020849B (en) | 2015-09-30 |
Family
ID=51437643
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410237168.4A Active CN104020849B (en) | 2014-05-30 | 2014-05-30 | Based on multiprogram display packing and the system simultaneously of Windows CE |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104020849B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107196945A (en) * | 2017-05-27 | 2017-09-22 | 成都康拓邦科技有限公司 | Medical software communication means and device |
CN108399090A (en) * | 2018-02-08 | 2018-08-14 | 广东欧珀移动通信有限公司 | Visibility method for refreshing, device, storage medium and intelligent terminal |
CN109697097A (en) * | 2018-12-19 | 2019-04-30 | 西安万像电子科技有限公司 | Data processing method and system |
CN110795097A (en) * | 2019-11-04 | 2020-02-14 | 腾讯科技(深圳)有限公司 | Page processing method and device, computer equipment and storage medium |
CN113254132A (en) * | 2021-05-24 | 2021-08-13 | 青岛海信移动通信技术股份有限公司 | Application display method and related device |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0569902A2 (en) * | 1992-05-11 | 1993-11-18 | Softis Hf | User interface system for computers |
CN102339221A (en) * | 2010-07-22 | 2012-02-01 | 厦门雅迅网络股份有限公司 | Method for processing application program interface based on Windows CE platform |
CN102968807A (en) * | 2012-10-29 | 2013-03-13 | 广东威创视讯科技股份有限公司 | Automatic image generating method and automatic image generating system |
CN103617027A (en) * | 2013-10-29 | 2014-03-05 | 合一网络技术(北京)有限公司 | Android-based method and system for constructing image rendering engine |
-
2014
- 2014-05-30 CN CN201410237168.4A patent/CN104020849B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP0569902A2 (en) * | 1992-05-11 | 1993-11-18 | Softis Hf | User interface system for computers |
CN102339221A (en) * | 2010-07-22 | 2012-02-01 | 厦门雅迅网络股份有限公司 | Method for processing application program interface based on Windows CE platform |
CN102968807A (en) * | 2012-10-29 | 2013-03-13 | 广东威创视讯科技股份有限公司 | Automatic image generating method and automatic image generating system |
CN103617027A (en) * | 2013-10-29 | 2014-03-05 | 合一网络技术(北京)有限公司 | Android-based method and system for constructing image rendering engine |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107196945A (en) * | 2017-05-27 | 2017-09-22 | 成都康拓邦科技有限公司 | Medical software communication means and device |
CN108399090A (en) * | 2018-02-08 | 2018-08-14 | 广东欧珀移动通信有限公司 | Visibility method for refreshing, device, storage medium and intelligent terminal |
CN108399090B (en) * | 2018-02-08 | 2021-04-27 | Oppo广东移动通信有限公司 | Visibility refreshing method and device, storage medium and intelligent terminal |
CN109697097A (en) * | 2018-12-19 | 2019-04-30 | 西安万像电子科技有限公司 | Data processing method and system |
CN109697097B (en) * | 2018-12-19 | 2022-03-22 | 西安万像电子科技有限公司 | Data processing method and system |
CN110795097A (en) * | 2019-11-04 | 2020-02-14 | 腾讯科技(深圳)有限公司 | Page processing method and device, computer equipment and storage medium |
CN110795097B (en) * | 2019-11-04 | 2021-12-14 | 腾讯科技(深圳)有限公司 | Page processing method and device, computer equipment and storage medium |
CN113254132A (en) * | 2021-05-24 | 2021-08-13 | 青岛海信移动通信技术股份有限公司 | Application display method and related device |
CN113254132B (en) * | 2021-05-24 | 2023-01-20 | 青岛海信移动通信技术股份有限公司 | Application display method and related device |
Also Published As
Publication number | Publication date |
---|---|
CN104020849B (en) | 2015-09-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104020849B (en) | Based on multiprogram display packing and the system simultaneously of Windows CE | |
CN106060622B (en) | The screenshotss method and TV of TV | |
WO2018086580A1 (en) | Extensible heterogeneous cloud platform adaptation method and system thereof | |
CN105338358B (en) | The method and device that image is decoded | |
CN103106058B (en) | A kind of double-screen display method and intelligent display terminal based on android system | |
US10169302B2 (en) | Method and system for page display, server-end device, client device and storage medium | |
CN107292807B (en) | Graph synthesis method, window setting method and system | |
CN102902745B (en) | A kind of web service integration method of geographic information | |
CN104199723B (en) | Camera mapping method based on virtual equipment | |
CN102184107B (en) | Method and system for combining user interface services | |
CN103530340A (en) | Network thematic map making method and map making system | |
CN105867956A (en) | Method and device for showing plugin view element in host application page | |
CA2557111A1 (en) | System and method for building mixed mode execution environment for component applications | |
CN104301788A (en) | Method and device for providing video interaction | |
CN104778022A (en) | Data processing method and electronic equipment | |
CN110611735A (en) | Mobile terminal remote control method, device and system and storage medium | |
CN110634171A (en) | Device and method for drawing map | |
CN109725977A (en) | A kind of more application display methods and terminal device based on android system | |
CN102622217B (en) | A kind of method and system running application across screen | |
CN104461431A (en) | Method and system for switching of superposed windows of joined screen | |
CN112653761A (en) | Unified monitoring management device under mixed cloud mode | |
CN102097080B (en) | Display drive processing method, device and system | |
CN105933154A (en) | Management method of cloud calculation resources | |
CN107179920A (en) | Network engine starts method and device | |
CN105138399A (en) | Cross-platform mobile Web application runtime engine |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C56 | Change in the name or address of the patentee | ||
CP01 | Change in the name or title of a patent holder |
Address after: 518057 Guangdong city of Shenzhen province Nanshan District science and Technology Park North Long Road Thunis Information Port R & D building B Building 9 layer Patentee after: Shenzhen Aipei Science and Technology Co., Ltd Address before: 518057 Guangdong city of Shenzhen province Nanshan District science and Technology Park North Long Road Thunis Information Port R & D building B Building 9 layer Patentee before: Apical technology development (Shenzhen) Co., Ltd. |