CN103853420A - Information exhibiting method and information exhibiting device for customizing shape of browser window - Google Patents

Information exhibiting method and information exhibiting device for customizing shape of browser window Download PDF

Info

Publication number
CN103853420A
CN103853420A CN201210519650.8A CN201210519650A CN103853420A CN 103853420 A CN103853420 A CN 103853420A CN 201210519650 A CN201210519650 A CN 201210519650A CN 103853420 A CN103853420 A CN 103853420A
Authority
CN
China
Prior art keywords
browser window
information
rendering image
shape
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.)
Granted
Application number
CN201210519650.8A
Other languages
Chinese (zh)
Other versions
CN103853420B (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201210519650.8A priority Critical patent/CN103853420B/en
Publication of CN103853420A publication Critical patent/CN103853420A/en
Application granted granted Critical
Publication of CN103853420B publication Critical patent/CN103853420B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to an information exhibiting method and an information exhibiting device for customizing a shape of a browser window. The information exhibiting method for customizing the shape of the browser window comprises the following steps of: creating a browser application process of a rendered image with a customized shape and creating the browser window with the customized shape; detecting an event which occurs in the browser window and sending the event to the browser application process to carry out processing; and detecting pixel information of the rendered image and copying the pixel information of the rendered image into the browser window to carry out exhibiting. The invention also relates to the information exhibiting device for customizing the shape of the browser window. According to the information exhibiting method and the information exhibiting device for customizing the shape of the browser window, which are disclosed by the invention, the browser application process is created on the background and the browser window is simultaneously created on the foreground, so that customized design of the shape of the browser window is implemented.

Description

The information displaying method of custom browser window shape and device for displaying information
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of information displaying method and device for displaying information that can customize browser window shape.
Background technology
The browser window of existing displaying application program is substantially all prim rectangle, even realize erose layered window by background transparent picture is set in browser, but because it will rely on this rectangular window of browser, be therefore presented in the regular window that remains in face of user.
In order to bring stronger visual impact and interface to experience to user, some companies are constantly attempting developing the device for displaying information with irregular browser window.Recently Microsoft has externally announced a kind of LAYERED WINDOW(layered window by name) window application, get final product custom browser window shape, but because the mode of playing up of the device for displaying information that the mode of playing up of LAYERED WINDOW and traditional Microsoft carry has bigger difference, LAYERED WINDOW can not be applied to subwindow simultaneously, and therefore more difficult direct use LAYERED WINDOW realizes the device for displaying information of custom browser window shape.
Therefore, be necessary to provide a kind of information displaying method and device for displaying information that can customize browser window shape, to solve the existing problem of prior art.
Summary of the invention
The object of the present invention is to provide a kind of browser application process that creates on backstage, create information displaying method and the device for displaying information of the custom browser window shape of browser window on foreground simultaneously, realize the self-definition design of browser window shape; Can not realize the technical matters of custom browser window shape to solve existing information displaying method and device for displaying information.
For addressing the above problem, technical scheme provided by the invention is as follows:
The information displaying method that the present invention relates to a kind of custom browser window shape, it comprises step:
Establishment have self-defined shape rendering image browser application process and there is the browser window of self-defined shape;
Detect event in described browser window, and send to described browser application process to process described event; And
Detect the Pixel Information of described rendering image, and the Pixel Information of described rendering image is copied in described browser window and is shown.
The device for displaying information that the invention still further relates to a kind of custom browser window shape, it comprises:
Creation module, has the browser window of self-defined shape for creating the browser application process of the rendering image with self-defined shape and establishment;
Event checking module, for detection of event in described browser window, and sends to described browser application process to process described event; And
Pixel detection module, for detection of the Pixel Information of described rendering image, and is copied to the Pixel Information of described rendering image in described browser window and shows.
Compared to prior art, the information displaying method of custom browser window shape of the present invention and device for displaying information create browser application process on backstage, create browser window on foreground simultaneously, realized self-definition design and the displaying of browser window shape.
For foregoing of the present invention can be become apparent, preferred embodiment cited below particularly, and coordinate appended graphicly, be described in detail below:
Brief description of the drawings
Fig. 1 is the process flow diagram of the preferred embodiment of the information displaying method of custom browser window shape of the present invention;
Fig. 2 is the structural representation of the preferred embodiment of the device for displaying information of custom browser window shape of the present invention;
Fig. 3 is the schematic diagram of the information displaying method of custom browser window shape of the present invention and the specific embodiment of device for displaying information;
Embodiment
Please refer to Fig. 1, Fig. 1 is the process flow diagram of the preferred embodiment of the methods of exhibiting of custom browser window shape of the present invention.The methods of exhibiting of the custom browser window shape of this preferred embodiment comprises:
Step 101, sets in advance the self-defined shape of rendering image and the self-defined shape of browser window, and the self-defined shape of rendering image is identical with the self-defined shape of browser window;
Step 102, creates the browser application process of the rendering image with self-defined shape and has the browser window of self-defined shape;
Step 103, detects event in browser window, and sends to browser application process to process event;
Step 104, detects the Pixel Information of rendering image, and the Pixel Information of rendering image is copied in browser window and is shown;
The information displaying method of the custom browser window shape of this preferred embodiment ends at step 104.
Describe the detailed process of each step of the information displaying method of the custom browser window shape of this preferred embodiment below in detail.
In step 101, set in advance the self-defined shape of rendering image and the self-defined shape of browser window in browser application process according to user's requirement, and the self-defined shape of rendering image is identical with the self-defined shape of browser window.The inessential step of this step as set the self-defined shape of rendering image and the self-defined shape of browser window, can directly be used browser window and the rendering image with self-defined shape in step 102.
Come subsequently step 102.
In step 102, use browser kernel to create the browser application process of the rendering image with self-defined shape on backstage, use layered window to create the browser window with self-defined shape on foreground.Here the window application of layered window has ensured the displaying of the self-defined shape of foreground browser window, and the browser application process that the browser kernel on backstage creates can well be played up image, good with the compatibility of browser window, ensure the normal demonstration of image in browser window.
Come subsequently step 103.
In step 103, detect all events (as mouse-click, mouse slip and window size change etc. behavior) that occur in the browser window on foreground by the message circulation framework (this message circulation framework can be provided by Microsoft) of layered window, and send to the browser application process on backstage to process these events by the mode of message.
Come subsequently step 104.
In step 104, after browser application process is processed the event in step 103, can generate on backstage corresponding rendering image; Then detect each Pixel Information (comprising pixel color information and location of pixels information etc.) of this rendering image, and each Pixel Information of rendering image is copied in browser window and is shown.
Further, can buffer zone be set on backstage here.Detect after the Pixel Information of rendering image, the Pixel Information of rendering image can be copied in the buffer zone setting in advance successively, in the time that the quantity of the Pixel Information in buffer zone is greater than setting value, the Pixel Information in buffer zone is copied in browser window and is shown.Can reduce like this refreshing frequency of foreground browser window, promote the work efficiency of browser window.The value of the setting value here can be chosen according to user's requirement.
Further, can buffer zone be set on backstage equally.Detect after the Pixel Information of rendering image, all Pixel Information of rendering image can be copied in the buffer zone setting in advance successively, then the Pixel Information in buffer zone is copied in browser window and is shown.Can farthest reduce like this refreshing frequency of foreground browser window, farthest promote the work efficiency of browser window, needn't strengthen for the Pixel Information of rendering image refreshes the refreshing frequency of browser window.
The information displaying method of the custom browser window shape of this preferred embodiment creates browser application process on backstage, create browser window on foreground simultaneously, has simply realized the self-definition design of browser window shape.The simultaneously setting in back buffer district, has further promoted the work efficiency of browser.
The invention still further relates to a kind of device for displaying information of custom browser window shape.As shown in Figure 2, Fig. 2 is the structural representation of the preferred embodiment of the device for displaying information of custom browser window shape of the present invention.The device for displaying information of the custom browser window shape of this preferred embodiment comprises that self-defined shape arranges module 21, creation module 22, event checking module 23 and pixel detection module 24.
Self-defined shape arranges module 21 for setting in advance the self-defined shape of rendering image and the self-defined shape of browser window, and the self-defined shape of rendering image is identical with the self-defined shape of browser window; Creation module 22 has the browser window of self-defined shape for creating the browser application process of the rendering image with self-defined shape and establishment; Event checking module 23 is for detection of event in browser window, and sends to browser application process to process event; Pixel detection module 24 is for detection of the Pixel Information of described rendering image, and the Pixel Information of described rendering image is copied in described browser window and is shown.
When the exhibiting device of custom browser window shape of the present invention uses, first self-defined shape arranges module 21 and sets in advance the self-defined shape of rendering image and the self-defined shape of browser window in browser application process according to user's requirement, and the self-defined shape of rendering image is identical with the self-defined shape of browser window.Creation module 22 is used browser kernel to create the browser application process of the rendering image with self-defined shape on backstage subsequently, uses layered window to create the browser window with self-defined shape on foreground.Then event checking module 23 detects by the message circulation framework of layered window all events that occur in the browser window of foreground, and sends to the browser application process on backstage to process these events by the mode of message.Last pixel detection module 24 can detect each Pixel Information of rendering image, and each Pixel Information of rendering image is copied in browser window and is shown.
Further, pixel detection module 24 can arrange buffer zone on backstage.Detect after the Pixel Information of rendering image, the Pixel Information of rendering image can be copied in the buffer zone setting in advance successively, in the time that the quantity of the Pixel Information in buffer zone is greater than setting value, the Pixel Information in buffer zone is copied in browser window and is shown.
Further, pixel detection module 24 can arrange buffer zone on backstage.Detect after the Pixel Information of rendering image, all Pixel Information of rendering image can be copied in the buffer zone setting in advance successively, then the Pixel Information in buffer zone is copied in browser window and is shown.
Description in the preferred embodiment of the information displaying method of the specific works principle of the device for displaying information of the custom browser window shape of this preferred embodiment and above-mentioned custom browser window shape is same or similar, specifically refers to the description in the preferred embodiment of information displaying method of above-mentioned custom browser window shape.
Please refer to Fig. 3, Fig. 3 is the schematic diagram of the information displaying method of custom browser window shape of the present invention and the specific embodiment of device for displaying information.The browser window that Fig. 3 left side is used layered window to create on foreground for creation module, Fig. 3 right side is the browser application process that creation module is used browser kernel to create on backstage.Because the browser window on foreground has adopted the window application of layered window, the housing of this browser window is sightless (being represented by dotted lines in figure), has realized the window shape self-defined (being three self-defined shapes that circle is overlapping in Fig. 3) of browser window.When this device for displaying information work, event checking module detects event on browser window, and sends to the browser application process on backstage to process; Browser application process can generate on backstage corresponding rendering image after the event receiving is processed; Then pixel detection module detects the each Pixel Information in this rendering image, and by back buffer district, each Pixel Information of rendering image is copied in browser window and is shown, completes whole displaying process.
The information displaying method of custom browser window shape of the present invention and device for displaying information create browser application process on backstage, create browser window on foreground simultaneously, have realized the self-definition design of browser window shape; Solve existing methods of exhibiting and exhibiting device and can not realize the technical matters of custom browser window shape.The simultaneously setting in back buffer district, has further promoted the work efficiency of browser.
In sum; although the present invention discloses as above with preferred embodiment; but above preferred embodiment is not in order to limit the present invention; those of ordinary skill in the art; without departing from the spirit and scope of the present invention; all can do various changes and retouching, the scope that therefore protection scope of the present invention defines with claim is as the criterion.

Claims (10)

1. an information displaying method for custom browser window shape, is characterized in that, comprises step:
Establishment have self-defined shape rendering image browser application process and there is the browser window of self-defined shape;
Detect event in described browser window, and send to described browser application process to process described event; And
Detect the Pixel Information of described rendering image, and the Pixel Information of described rendering image is copied in described browser window and is shown.
2. the information displaying method of custom browser window shape according to claim 1, is characterized in that, described establishment has the browser application process of rendering image of self-defined shape and the step with the browser window of self-defined shape comprises:
Use layered window to create the browser window with self-defined shape.
3. the information displaying method of custom browser window shape according to claim 1, is characterized in that, the information displaying method of described custom browser window shape also comprises step:
Set in advance the self-defined shape of described rendering image and the self-defined shape of described browser window, and the self-defined shape of described rendering image is identical with the self-defined shape of described browser window.
4. the information displaying method of custom browser window shape according to claim 1, it is characterized in that, the Pixel Information of the described rendering image of described detection, and the Pixel Information of described rendering image is copied to the step of showing in described browser window comprises:
Detect the Pixel Information of described rendering image, and the Pixel Information of described rendering image is copied to the buffer zone setting in advance successively;
In the time that the quantity of the Pixel Information in described buffer zone is greater than setting value, the Pixel Information in described buffer zone is copied in described browser window and is shown.
5. the information displaying method of custom browser window shape according to claim 1, it is characterized in that, the Pixel Information of the described rendering image of described detection, and the Pixel Information of described rendering image is copied to the step of showing in described browser window comprises:
Detect all Pixel Information of described rendering image, and all Pixel Information of described rendering image are copied to the buffer zone setting in advance successively;
Pixel Information in described buffer zone is copied in described browser window and is shown.
6. a device for displaying information for custom browser window shape, is characterized in that, comprising:
Creation module, has the browser window of self-defined shape for creating the browser application process of the rendering image with self-defined shape and establishment;
Event checking module, for detection of event in described browser window, and sends to described browser application process to process described event; And
Pixel detection module, for detection of the Pixel Information of described rendering image, and is copied to the Pixel Information of described rendering image in described browser window and shows.
7. the device for displaying information of custom browser window shape according to claim 6, is characterized in that, described creation module specifically for,
Use layered window to create the browser window with self-defined shape.
8. the device for displaying information of custom browser window shape according to claim 6, is characterized in that, the device for displaying information of described custom browser window shape also comprises:
Self-defined shape arranges module, and for setting in advance the self-defined shape of described rendering image and the self-defined shape of described browser window, and the self-defined shape of described rendering image is identical with the self-defined shape of described browser window.
9. the device for displaying information of custom browser window shape according to claim 6, is characterized in that, described pixel detection module specifically for,
Detect the Pixel Information of described rendering image, and the Pixel Information of described rendering image is copied to the buffer zone setting in advance successively;
In the time that the quantity of the Pixel Information in described buffer zone is greater than setting value, the Pixel Information in described buffer zone is copied in described browser window and is shown.
10. the device for displaying information of custom browser window shape according to claim 6, is characterized in that, described pixel detection module specifically for,
Detect all Pixel Information of described rendering image, and all Pixel Information of described rendering image are copied to the buffer zone setting in advance successively;
Pixel Information in described buffer zone is copied in described browser window and is shown.
CN201210519650.8A 2012-12-06 2012-12-06 The information displaying method and device for displaying information of custom browser window shape Active CN103853420B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210519650.8A CN103853420B (en) 2012-12-06 2012-12-06 The information displaying method and device for displaying information of custom browser window shape

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210519650.8A CN103853420B (en) 2012-12-06 2012-12-06 The information displaying method and device for displaying information of custom browser window shape

Publications (2)

Publication Number Publication Date
CN103853420A true CN103853420A (en) 2014-06-11
CN103853420B CN103853420B (en) 2017-07-18

Family

ID=50861158

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210519650.8A Active CN103853420B (en) 2012-12-06 2012-12-06 The information displaying method and device for displaying information of custom browser window shape

Country Status (1)

Country Link
CN (1) CN103853420B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070299830A1 (en) * 2006-06-26 2007-12-27 Christopher Muenchhoff Display of search results
CN101454744A (en) * 2006-06-27 2009-06-10 国际商业机器公司 Method, program, and data processing system for modifying shape of display object
US7933473B2 (en) * 2008-06-24 2011-04-26 Microsoft Corporation Multiple resolution image storage
CN102414682A (en) * 2009-05-01 2012-04-11 高通股份有限公司 Method and apparatus for providing scraped web pages in a graphical user interface
CN102724413A (en) * 2011-05-09 2012-10-10 新奥特(北京)视频技术有限公司 Method and system for realizing caption special effect by self-defining polygon unit
CN102760139A (en) * 2011-04-29 2012-10-31 国际商业机器公司 Webpage processing method and webpage processing system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070299830A1 (en) * 2006-06-26 2007-12-27 Christopher Muenchhoff Display of search results
CN101454744A (en) * 2006-06-27 2009-06-10 国际商业机器公司 Method, program, and data processing system for modifying shape of display object
US7933473B2 (en) * 2008-06-24 2011-04-26 Microsoft Corporation Multiple resolution image storage
CN102414682A (en) * 2009-05-01 2012-04-11 高通股份有限公司 Method and apparatus for providing scraped web pages in a graphical user interface
CN102760139A (en) * 2011-04-29 2012-10-31 国际商业机器公司 Webpage processing method and webpage processing system
CN102724413A (en) * 2011-05-09 2012-10-10 新奥特(北京)视频技术有限公司 Method and system for realizing caption special effect by self-defining polygon unit

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
WEBLLUSORY: "分层窗口(Layered windows)", 《CSDN》 *

Also Published As

Publication number Publication date
CN103853420B (en) 2017-07-18

Similar Documents

Publication Publication Date Title
US20230039100A1 (en) Multi-layer reprojection techniques for augmented reality
US9996893B2 (en) Display apparatus constituting multi display system and control method thereof
CN110955367A (en) Display device and control method thereof
US20180247613A1 (en) Display apparatus and control method thereof
CN104103045B (en) The Gaussian Blur processing method and system of terminal
CN101950239A (en) Large size image display method and system
WO2018228384A1 (en) Image processing method and apparatus, electronic device and storage medium
CN104182430A (en) Method and device for displaying image in text message
CN102567025B (en) QT-based two-dimensional/three-dimensional (2D/3D) graph drawing method and device
CN105718420A (en) Data-Processing Apparatus And Operation Method Thereof
CN103607581A (en) Video monitoring image display method based on three-dimensional images
JP2014023037A5 (en) Image forming apparatus, image forming method, and data generation method
CN104063837A (en) Image display processing method and system and mobile terminal
US9460481B2 (en) Systems and methods for processing desktop graphics for remote display
WO2022134361A1 (en) Screen watermark display method and apparatus, and electronic device and storage medium
CN111787240A (en) Video generation method, device and computer readable storage medium
CN104299252A (en) Picture display switching transition method and system thereof
TWI698834B (en) Methods and devices for graphics processing
TW201327466A (en) Image editing system and editing method
CN103853420A (en) Information exhibiting method and information exhibiting device for customizing shape of browser window
CN104516696A (en) Information processing method and electronic device
CN103201786A (en) Reshaping interfaces using content-preserving warps
US20140157025A1 (en) Static frame display from a memory associated with a processor of a data processing device during low activity thereof
CN103037268B (en) Method and device for watermark adding
US11962743B2 (en) 3D display system and 3D display method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant