CN102110193B - Method for displaying web page in game interface - Google Patents

Method for displaying web page in game interface Download PDF

Info

Publication number
CN102110193B
CN102110193B CN2011100842152A CN201110084215A CN102110193B CN 102110193 B CN102110193 B CN 102110193B CN 2011100842152 A CN2011100842152 A CN 2011100842152A CN 201110084215 A CN201110084215 A CN 201110084215A CN 102110193 B CN102110193 B CN 102110193B
Authority
CN
China
Prior art keywords
web page
browser
game
recreation
interface
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN2011100842152A
Other languages
Chinese (zh)
Other versions
CN102110193A (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.)
Shengqu Information Technology (Shanghai) Co., Ltd.
Original Assignee
YOUCHUAN INFORMATION TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by YOUCHUAN INFORMATION TECHNOLOGY Co Ltd filed Critical YOUCHUAN INFORMATION TECHNOLOGY Co Ltd
Priority to CN2011100842152A priority Critical patent/CN102110193B/en
Publication of CN102110193A publication Critical patent/CN102110193A/en
Application granted granted Critical
Publication of CN102110193B publication Critical patent/CN102110193B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a method for displaying a web page in a game interface, namely, embedding a browser without changing the main program of the game. The method comprises steps as follows: determining the scene position for displaying browser page; intercepting and filtering game resources during game operating process to obtain code values of resources to be rendered; displaying the web page; judging whether a user uses a built-in browser; and skipping to a built-in browser module engine for the processing. The invention eliminates the troubles of game users for repeatedly switching game and web page.

Description

A kind of method that shows the web page at interface
Technical field
The present invention relates to a kind of interface display packing, specifically, relate to a kind of method that shows the web page at interface.
Background technology
Fast development along with entertainment industry; Online game has become a kind of entertainment way of much human in the daily life; And day by day increase along with what play, advertisement delivery in online game, its commercial effect is increasing; With respect to traditional TV, press advertising, the advertisement of online game has huge advantage and chance.
Simultaneously, game user the site information that also often need surf the web, is searched for, is posted etc. when playing games, and in such cases, the user only withdraws from interface, switches on the browser.And the especially massively multiplayer game of playing tends to take computer ample resources and process, in case switch, causes the slow even deadlock of machine response easily, influences user's game experiencing.
Summary of the invention
The technical matters that the present invention will solve is: a kind of method at the interface demonstration web page is provided, and is the addressable web page under the situation that does not withdraw from interface.
In order to realize the object of the invention, the present invention provides a kind of method at the interface demonstration web page, under the condition that does not change the recreation master routine, is embedded in browser in recreation, and its step comprises:
(1) confirms the scene location of the display navigation device page, the resource pixel value of recreation own is encoded to 0 and play up, the ID of browser page is indicated be encoded in the pixel value and play up;
(2) in the game running process, the bottom graphic interface of interception and control recreation, and play up all game resources successively;
(3) show the web page;
(4) import behavior through interception and filter user click and keyboard, obtain click position pixel coder value,, then get into step (6),, convert user's operation to operation browser window corresponding coordinate position if be non-0 if encoded radio is 0;
(5) jumping to built-in browser module engine handles;
(6) carry out figure bottom API and handle, continue recreation.
Further, step (3) comprising:
Create the browser kernel objects;
The web page scene rendering that will show becomes the internal memory texture;
Create browser window, be rendered into the internal memory texture in this browser window.
Further, described browser window adopts the GUI system creation.
Further, playing up described in step (1) and (2) adopted the HOOK method.
Further, interception described in step (2) and (4) and filtration adopt SDK to insert and combined the method for HOOK.
Further, the coding described in the step (1) adopts the shader technology.
Compared with prior art, technical advantage of the present invention is:
1. solve the demonstration of the web page in recreation.
2. solve the trouble that game users switch the recreation and the web page repeatedly.
3. solve efficient and the compatibility issue of in recreation, playing up the page.
4. solved the interaction problems of the built-in page.
The mode that will adopt specific embodiment and accompanying drawing to combine below further specifies the present invention.
Description of drawings
Fig. 1 is present embodiment shows the web page at interface a process flow diagram.
Embodiment
For clearer understanding technology contents of the present invention, the special specific embodiment of lifting also cooperates appended illustrating as follows.
With reference to Fig. 1, at first confirm in recreation, can be used for showing the scene location of the web page.Play up game resource, can show that the scene of game position of the web page does different signs with the scene location that does not show the web page.If resource is recreation itself, we are encoded to 0 in the color of pixel value and play up.If the web page that resource is for we will be implanted then indicates the ID of this model and is encoded in the color of pixel and painted.
1: confirm the scene location of the display navigation device page, the resource pixel value of recreation own is encoded to 0 and play up, the ID of browser page is indicated be encoded in the pixel value and play up;
2: interception figure physical layer interface in game running, game resource is filtered and tackles, game resource is played up, carry out different markers.Through interception and filtration, obtain the encoded radio of being played up resource to game resource.Make the calling branch of game graph bottom API above the demonstration of the web page, go.
The coded system of present embodiment adopts the shader technology, and perhaps similar shader technology can realize that also the Shader technology is the DirectX API of Microsoft (Application Programming Interface; Be API) characteristic supported; Under the help of shader, the programmer can directly be used GPU as parallel processor, and this technology for a person skilled in the art; Belong to prior art; Be not described in detail in this, present embodiment adopts this coded system to make system more reliable and stable, and hardware resource consumption still less.
Interception in the present embodiment and filter method; Adopt SDK (Software Development Kit, i.e. SDK) to insert and combined the method for HOOK, API is provided to recreation; And in game process, carry out HOOK and operate; Got around anti-virus and anti-plug-in detection fully, can on more how different hardware environments, move, normally operation in different game environments.
3: show the web page.The process that shows the web page comprises for loading built-in browser:
Create the browser kernel objects;
The web page scene rendering that will show becomes the internal memory texture;
Create browser window, be rendered into the internal memory texture in this browser window, the browser window in the present embodiment adopts the GUI system creation;
4: hook user's input operation then, obtain the encoded radio of click position pixel.According to our pre-determined encoded radio (if the encoded radio of pixel is 0; Represent that then this pixel is not web page viewing area; If pixel is different ID values, represent that then this pixel is in web page viewing area), whether judges clicks built-in browser.If the user clicks built-in browser, convert user's operation to operation, and jump to built-in browser module engine and handle browser window.In order to solve efficient and compatibility issue, built-in browser has used Webkit and IE dual core scheme.If do not click built-in browser, then jump to figure bottom API and handle.
5: carry out figure bottom API and handle, recreation is proceeded.
Present embodiment makes game user when recreation; Can in interface, show the web page; Solve the trouble that game users switch the recreation and the web page repeatedly, also solve efficient and the compatibility issue of in recreation, playing up the page simultaneously, solved the interaction problems of the built-in page.
And, do not invade game developer's rights and interests because present embodiment is not made any modification to the recreation master routine.
More than show and described ultimate principle of the present invention, principal character and advantage of the present invention.The technician of the industry should understand; The present invention is not restricted to the described embodiments; That describes in the foregoing description and the instructions just explains principle of the present invention; The present invention also has various changes and modifications under the prerequisite that does not break away from spirit and scope of the invention, and these variations and improvement all fall in the scope of the invention that requires protection.The present invention requires protection domain to be defined by appending claims and equivalent thereof.

Claims (5)

1. one kind shows the method for the web page at interface, and it is characterized in that: under the condition that does not change the recreation master routine, be embedded in browser in recreation, its step comprises:
(1) confirms the scene location of the display navigation device page, the resource pixel value of recreation own is encoded to 0 and play up, the ID of browser page is indicated be encoded in the pixel value and play up;
(2) in the game running process, the bottom graphic interface of interception and control recreation is tackled and is filtered game resource, and plays up all game resources successively;
(3) show the web page;
(4) import behavior through interception and filter user click and keyboard, obtain click position pixel coder value,, then get into step (6),, convert user's operation to operation browser window corresponding coordinate position if be non-0 if encoded radio is 0;
(5) jumping to built-in browser module engine handles;
(6) carry out figure bottom API and handle, continue recreation;
Wherein, step (3) comprising:
Create the browser kernel objects;
The web page scene rendering that will show becomes the internal memory texture;
Create browser window, be rendered into the internal memory texture in this browser window.
2. according to the said method at the interface demonstration web page of claim 1, it is characterized in that: described browser window adopts the GUI system creation.
3. according to the said method at the interface demonstration web page of claim 1, it is characterized in that: playing up described in step (1) and (2) adopted the HOOK method.
4. according to the said method at the interface demonstration web page of claim 1, it is characterized in that: interception described in step (2) and (4) and filtration adopt SDK to insert and combined the method for HOOK.
5. according to the said method at the interface demonstration web page of claim 1, it is characterized in that: the coding described in the step (1) adopts the shader technology.
CN2011100842152A 2011-04-02 2011-04-02 Method for displaying web page in game interface Active CN102110193B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011100842152A CN102110193B (en) 2011-04-02 2011-04-02 Method for displaying web page in game interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100842152A CN102110193B (en) 2011-04-02 2011-04-02 Method for displaying web page in game interface

Publications (2)

Publication Number Publication Date
CN102110193A CN102110193A (en) 2011-06-29
CN102110193B true CN102110193B (en) 2012-06-27

Family

ID=44174353

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100842152A Active CN102110193B (en) 2011-04-02 2011-04-02 Method for displaying web page in game interface

Country Status (1)

Country Link
CN (1) CN102110193B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106202284B (en) * 2016-06-29 2019-08-06 珠海金山网络游戏科技有限公司 A kind of system and method that questionnaire is quickly collected in mobile phone games
CN111460342B (en) * 2019-01-21 2023-04-25 阿里巴巴集团控股有限公司 Page rendering display method and device, electronic equipment and computer storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7950999B2 (en) * 2004-09-16 2011-05-31 Bally Gaming, Inc. User interface system and method for a gaming machine
JP2004193639A (en) * 2002-12-06 2004-07-08 Canon Inc Program interlocked content broadcast distribution system
US20100082808A1 (en) * 2008-09-29 2010-04-01 Red Aril, Inc. System and method for automatically delivering relevant internet content

Also Published As

Publication number Publication date
CN102110193A (en) 2011-06-29

Similar Documents

Publication Publication Date Title
EP2174288B1 (en) Dynamic resizing of graphics content rendered by an application to facilitate rendering of additional graphics content
CN102955854B (en) A kind of webpage exhibiting method based on HTML5 agreement and device
US10537799B1 (en) User interface rendering and post processing during video game streaming
US9092061B2 (en) Augmented reality system
CN102323882B (en) Data processing device and method applied to Web3D
US9928637B1 (en) Managing rendering targets for graphics processing units
CN108174302B (en) Method and device for updating activity function playing method in live broadcast application
US20130057561A1 (en) System and method for rendering graphics content associated with an application process to a display area managed by another process
CN103930885A (en) Measuring web page rendering time
CN101322101A (en) System, method and computer program product for dynamically enhancing an application executing on a computing device
AU2007240079A1 (en) Enhancing software application features and content objects
CN111124668B (en) Memory release method, memory release device, storage medium and terminal
CN105915993A (en) Method and device for setting video playing mode by using parasitic toolkit
CN105915933A (en) Method and device for pushing video by using parasitic toolkit
CN105377381A (en) Mobile device game interface
WO2011003014A1 (en) Attracting viewer attention to advertisements embedded in media
CN102110193B (en) Method for displaying web page in game interface
CN102799425A (en) Method and device for implementing web graphic cartoon
CN111773704A (en) Game data processing method, game data processing device, storage medium, processor and electronic device
CN112799801B (en) Method, device, equipment and medium for drawing simulated mouse pointer
CN110069725A (en) Visualize embedded browser method and apparatus
CN111638820A (en) Information processing method, device, processor and terminal
EP3752914B1 (en) Techniques for native runtime of hypertext markup language graphics content
CN103946792A (en) Network appliance for transcoding or enriching virtual desktop infrastructure desktop images
US11806625B2 (en) Patch and bulk operations for a legacy game

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
ASS Succession or assignment of patent right

Owner name: SHENGQU INFORMATION TECH (SHANGHAI) CO., LTD.

Free format text: FORMER OWNER: YOU CHUAN INFORMATION TECHNOLOGY (SHANGHAI) CO., LTD.

Effective date: 20140520

C41 Transfer of patent application or patent right or utility model
TR01 Transfer of patent right

Effective date of registration: 20140520

Address after: 201203 No. 1, building 690, blue wave road, Zhangjiang hi tech park, Shanghai

Patentee after: Shengqu Information Technology (Shanghai) Co., Ltd.

Address before: 201203 Shanghai Guo Shou Jing Road, Zhangjiang High Tech Park of Pudong New Area No. 356 building 3 room 104

Patentee before: Youchuan Information Technology Co., Ltd.