CN106445535A - Operation processing method and device - Google Patents

Operation processing method and device Download PDF

Info

Publication number
CN106445535A
CN106445535A CN201610862657.8A CN201610862657A CN106445535A CN 106445535 A CN106445535 A CN 106445535A CN 201610862657 A CN201610862657 A CN 201610862657A CN 106445535 A CN106445535 A CN 106445535A
Authority
CN
China
Prior art keywords
image
application
interface
window
additional
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
CN201610862657.8A
Other languages
Chinese (zh)
Other versions
CN106445535B (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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201610862657.8A priority Critical patent/CN106445535B/en
Publication of CN106445535A publication Critical patent/CN106445535A/en
Application granted granted Critical
Publication of CN106445535B publication Critical patent/CN106445535B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

One embodiment of the invention provides an operation processing method and device. The method comprises following steps: creating application mapping configuration data and application source configuration data in initialization preset application through hung target objects; determining at least one target interface according to the application mapping configuration data; when the preset application is in a full-screen mode, if an additional operation indication is received, calling the target interface to draft a first image of an additional window, wherein, the additional operation indication comprises non-preset indications of the preset application; stacking the first image of the additional window onto an interface image of the preset application for displaying. Thereby, the focus of the preset application will not be occupied; additional windows can be displayed under full-screen mode; normal use of users is not affected and the operation is flexible.

Description

A kind of operation processing method and device
Technical field
The present invention relates to field of computer technology, more particularly to a kind of operation processing method and a kind of operation process dress Put.
Background technology
With the development of network technology, user can pass through the various operations of client executing in the terminal, such as using clear Device of looking at is surfed the Net, and plays game using game client, using videoconference client playing audio-video etc..
This kind of can with the client of network connection, typically by with server interact provide the user network clothes Business, user can adopt screen mode toggle when using client, will the display interface of client be paved with screen so as to more clear Clear display content.But, the operation of the client can only be just processed when client is in screen mode toggle, once focus is no longer Full frame, the normal use of impact client will be exited positioned at client.
Content of the invention
In view of the above problems, it is proposed that on the present invention is overcome the problems referred to above or solves at least in part so as to offer one kind State the operation processing method of problem and corresponding operation processing meanss.
According to one aspect of the present invention, there is provided a kind of operation processing method, including:Beforehand through the target pair that hangs up As creating application mapping framework data and application source framework data in the default application of initialization;According to the application mapping framework Data determine at least one target interface;When the default application is in screen mode toggle, if receiving additional operations instruction, adjust The first image of additional window is drawn with the target interface, wherein, the additional operations indicate to include the non-pre- of default application If indicating;To show on the interface image of the first image overlay of the additional window to the default application.
Optionally, described beforehand through the destination object that hangs up, application mapping framework number is created in the default application of initialization According to application source framework data, including:It is monitored to creating function in system, in the establishment function creation destination object Hang up the destination object;Application is created in the default application of destination object initialization, determine according to the application message and reflect Object and interface interchange is penetrated, and application mapping framework data is built, then source object and interface interchange is determined according to the application message, Build application source framework data.
Optionally, also include:When object is created, mapping object is created according to the application message and point to source internal memory ground Location, then create source object and point to the source memory address;In calling interface, according to the application message in each interface of correspondence Place arranges one group of hook program, and determines the interface message of each interface.
Optionally, at least one target interface is determined according to the application mapping framework data, including:Based on the application Mapping framework data, determine at least one target interface for drawing display image according to the interface message.
Optionally, if described receive additional operations instruction, the target interface is called to draw the first figure of additional window Picture, including:When additional operations instruction is received, the first image correspondence image information of the additional window is determined;According to institute Stating image information calls the target interface to draw the first image.
Optionally, also include:Receiving the triggering to the additional window to indicate, the mesh is called according to the triggering instruction Second image of additional window described in mark interface renderings;Second image is substituted described first image, is added to described pre- If showing on the interface image of application.
Optionally, receiving the triggering to the additional window to indicate, the target interface is called according to the triggering instruction The second image of the additional window is drawn, including:Receive the triggering to the additional window to indicate, indicate according to the triggering Determine response message;The target interface is called to draw the second image of the additional window according to the response message.
Optionally, indicate to determine response message according to the triggering, including:When the triggering is designated as mobile instruction, Indicate that corresponding shift position determines mobile response message according to the triggering;When the triggering is designated as window operation instruction When, indicate to determine window response message in the position of the first image according to the triggering.
Optionally, second image is substituted described first image, is added on the interface image of the default application Show, including:Display location is determined according to the mobile response message;Substitute described first image, the boundary of the default application Face image corresponds to the second image described in Overlapping display on display location.
According to another aspect of the present invention, there is provided a kind of operation processing meanss, including:Initialization module, for pre- The destination object of hang-up is first passed through, and application mapping framework data and application source framework data is created in the default application of initialization;According to At least one target interface is determined according to the application mapping framework data;Drafting module, in the default application in complete During screen pattern, if receiving additional operations instruction, the target interface is called to draw the first image of additional window, wherein, institute State the non-default instruction that additional operations indicate to include default application;Display module, for by the first image of the additional window It is added on the interface image of the default application and shows.
Optionally, initialization module, including:Submodule is hung up, for being monitored to function is created in system, described The destination object is hung up when creating function creation destination object;Framework builds submodule, for initial in the destination object Changing default application and application is created, mapping object and interface interchange is determined according to the application message, builds application mapping framework number According to, then source object and interface interchange is determined according to the application message, build application source framework data.
Optionally, framework builds submodule, is additionally operable to, when object is created, create mapping object according to the application message And source memory address is pointed to, then create source object and point to the source memory address;In calling interface, believe according to the application Breath arranges one group of hook program in each seam of correspondence, and determines the interface message of each interface.
Optionally, initialization module, also includes:Interface analysis submodule, for applying mapping framework data based on described, At least one target interface for drawing display image is determined according to the interface message.
Optionally, the drafting module, for when additional operations instruction is received, determining the first of the additional window Image correspondence image information;The target interface is called to draw the first image according to described image information.
Optionally, the drafting module, is additionally operable to receive the triggering instruction to the additional window, refers to according to the triggering Show the second image for calling the target interface to draw the additional window;The display module, is additionally operable to second figure As substituting described first image, show on the interface image of the default application that is added to.
Optionally, the drafting module, indicates for receiving the triggering to the additional window, indicates according to the triggering Determine response message;The target interface is called to draw the second image of the additional window according to the response message.
Optionally, the drafting module, for when the triggering is designated as mobile instruction, it is right to indicate according to the triggering The shift position that answers determines mobile response message;When the triggering is designated as window operation instruction, indicate according to the triggering Window response message is determined in the position of the first image.
Optionally, the display module, for determining display location according to the mobile response message;Substitute described first Image, the interface image of the default application corresponds to the second image described in Overlapping display on display location.
The framework of default application is determined by creating application mapping framework data and application source framework data in initialization, At least one target interface is may thereby determine that out, when default application is in screen mode toggle, if receiving additional operations instruction, The target interface is called to draw the first image of additional window based on the structure of default application, by the first of the additional window Image overlay shows on the interface image of the default application, so as to the focus of default application will not be seized, can be full frame Show additional window under pattern, do not affect user normally to use and operate more flexible.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of description, and in order to allow the above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the specific embodiment of the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred implementation, various other advantages and benefit are common for this area Technical staff will be clear from understanding.Accompanying drawing is only used for illustrating the purpose of preferred implementation, and is not considered as to the present invention Restriction.And in whole accompanying drawing, it is denoted by the same reference numerals identical part.In the accompanying drawings:
The step of Fig. 1 shows a kind of operation processing method embodiment according to an embodiment of the invention flow chart;
The step of Fig. 2 shows a kind of default application initial method embodiment in accordance with another embodiment of the present invention is flowed Cheng Tu;
Fig. 3 shows a kind of step of the operation warehouse-out method embodiment of screen mode toggle in accordance with another embodiment of the present invention Rapid flow chart;
Fig. 4 shows a kind of structured flowchart of operation processing meanss embodiment according to an embodiment of the invention;And
Fig. 5 shows a kind of structured flowchart of operation processing meanss embodiment in accordance with another embodiment of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure and should not be by embodiments set forth here Limited.Conversely, provide these embodiments to be able to be best understood from the disclosure, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
With reference to Fig. 1, flow process the step of show a kind of operation processing method embodiment according to an embodiment of the invention Figure, specifically may include steps of:
Step 102, beforehand through the destination object that hangs up, the default application of initialization create application mapping framework data and Application source framework data.
In advance system is monitored, the establishment function such as crate function of monitoring system, when calling the establishment function creation During destination object, the destination object can be hung up, i.e., the first hook program is set in initialized target object, so as in target The source of object arranges hook program.The destination object is the significant components object of system, for executing needed for various applications Operation.
In system, the establishment of certain applications, operation etc. are required to the participation of destination object, therefore in the source of destination object Hook is set, it is possible to intercept and capture each calling for destination object, so that it is determined that required information.In the present embodiment, application Invocation target object is needed to execute operation in establishment, when therefore can call the destination object by the intercepting and capturing of the first hook program Application message, the application message is used for the application source framework data for indicating to create the default application.Create in default application When need a series of corresponding interfaces of invocation target to obtain data, and function object needed for creating etc., by the interface interchange The application source framework data of the default application be can determine that with function object, so as to starting and running the default application.
Therefore the present embodiment first builds the application mapping framework data of the default application using application message, then builds application Source framework data, i.e., determine action required according to the application message, first creates a map information and creates source information again, and this reflects Penetrating information and identical content address is pointed to source information, i.e., builds one with application source framework data phase using mapping framework data Same shell, but its flesh and blood is still provided by application source framework data, so as to minimal amount of consumption memory information, and can Know the framework of the default application, and control the return of application desired data.
In the embodiment of the present invention, can various systems various destination objects arrange hook program, in the present embodiment with As a example by The Component Object Model (Component Object Model, COM) is as destination object, function initialization can created During com component, be that com component arranges the first hook program, so as to hook be arranged in the source of com component, realize to com component Adapter.Wherein, com component be Microsoft for the component software technology for interacting between web page server and client, be A kind of OO programming mode, it defines behavior of the object between single application program inside or multiple application programs Mode.And COM is implemented on multiple platforms, however it is not limited to Windows operating system.For example, game client is adopted The 3D engine of DirectX (Direct eXtension, DX), the DirectX is connect by the Multimedia Programming that Microsoft creates Mouthful, realized by C++ programming language, it then follows com component.Therefore in the startup optimization game client, it is related to 3D engine operation When, need com component is called, by the first hook engine for arranging in com component, the application for calling com component can be obtained Information, so that it is determined that go out the source framework data of the 3D engine of the game client, that is, knows that 3D is engine-operated and required various connects Mouth and function object etc..
Step 104, determines at least one target interface according to the application mapping framework data.
The various interfaces for calling needed for the default application are can determine when application mapping framework data are built, and are respectively connect The information such as the function of mouth, thus may determine that at least one target interface needed for going out, the target interface is included for drawing, wash with watercolours Dye, the various interfaces of display image.
Step 106, when the default application is in screen mode toggle, if receiving additional operations instruction, calls the mesh First image of mark interface renderings additional window.
Step 108, will show on the interface image of the first image overlay of the additional window to the default application.
Screen mode toggle can be adopted after default application operation, under screen mode toggle, the display interface of the default application is surface chart As being paved with whole window, and focus is located in the default application.Wherein, in system bottom and the angle of screen display, In system, the interface for showing, window can be regarded as a two field picture.
In the present embodiment, in order to improve the motility of default application, can be the additional feature operation of default application configuration, These additional feature operations are not the predetermined registration operation in default application, and therefore additional function operation can be referred to by additional operations Show and execution has been adjusted, in the present embodiment, operation instruction preset for default application is referred to as default instruction, then additional operations instruction is not Default instruction, the i.e. additional operations of default application indicate to include the non-default instruction of default application.Under screen mode toggle, in order to When executing additional operations and indicating, occur without focus and the reason such as seize and the problem of screen mode toggle is exited, the present embodiment is according to above-mentioned Application mapping framework data, execute the additional operations based on the default development technique principle that applies and indicate.The additional operations Indicate to adjust an additional window that operation interface is provided the user, be exactly to draw an additional window for angles of display The first image.
Therefore after additional operations instruction is received, can be using the hook program invocation target interface foundation being previously implanted Application mapping framework data correspondence image such as draws, renders, showing at the mode, draws the first image of additional window, and should First image overlay shows on the interface image of default application, i.e., on the basis of the interface image for showing default application, Additional window correspondence position is superimposed the first image and carries out the display of additional window.
Game client is for example directed to, and user is typically with screen mode toggle when client game is played, and game client End is not supported to pay in client, and interact with forum good friend etc. and to operate, the behaviour that can not support these game clients Make as additional operations, determine corresponding additional operations indicate and additional window, so as to receive additional operations indicate when, First image is drawn according to the framework data call target interface of the game client, is then superimposed upon the display of game client On interface image show, so as to user seem be exactly full frame game under, it is shown that additional window simultaneously provides additional function, carries High Consumer's Experience and the motility of client.
To sum up, default application is determined by creating application mapping framework data and application source framework data in initialization Framework, may thereby determine that out at least one target interface, when default application is in screen mode toggle, if receiving additional operations Indicate, call the target interface to draw the first image of additional window based on the structure of default application, by the additional window The first image overlay show on the interface image of the default application, so as to the focus of default application will not be seized, can Show additional window under screen mode toggle, do not affect user normally to use and operate more flexible.
In the present embodiment, the above-mentioned tune for indicating corresponding window for additional operations rises, and grasps after additional window is shown The response of work is all based on what the architecture principle of default application was executed, therefore, it can to predefine the framework of default application and The information such as interface, function under framework, then provide additional operations again under screen mode toggle.
In one alternative embodiment, it may be determined that the framework of default application.
As a example by the present embodiment is using game client as default application, the game client can adopt the 3D engine of DX, The 3D engine in Windows operating system be based on hardware graphic accelerator (Graphics Processing Unit, GPU) Accelerate, directly from memory read-write, message mechanism can be evaded.
With reference to Fig. 2, a kind of default application initial method embodiment in accordance with another embodiment of the present invention is shown Flow chart of steps, specifically may include steps of:
Step 202, is monitored to creating function in system, hangs up in the establishment function creation destination object described Destination object.
In advance system is monitored, the establishment function such as crate function of monitoring system, when calling the establishment function creation During destination object, the destination object can be hung up, i.e., the first hook program is set in initialized target object, so as in target The source of object arranges hook program.The destination object is the significant components object of system, for executing needed for various applications Operation.
In the embodiment of the present invention, can various systems various destination objects arrange hook program, in the present embodiment with As a example by The Component Object Model (Component Object Model, COM) is as destination object, function initialization can created During com component, be that com component arranges the first hook program, so as to hook be arranged in the source of com component, realize to com component Adapter.
Step 204, intercepts and captures application message when calling the destination object to create default application.
In system, the establishment of certain applications, operation etc. are required to the participation of destination object, therefore in the source of destination object Hook is set, it is possible to intercept and capture each calling for destination object, so that it is determined that required information.In the present embodiment, application Invocation target object is needed to execute operation in establishment, when therefore can call the destination object by the intercepting and capturing of the first hook program Application message, the application message is used for the application source framework data for indicating to create the default application.Create in default application When need a series of corresponding interfaces of invocation target to obtain data, and function object needed for creating etc., by the interface interchange The application source framework data of the default application be can determine that with function object, so as to starting and running the default application.
For example, game client using DirectX (Direct eXtension, DX) 3D engine, the DirectX be by The Multimedia Programming interface that Microsoft creates, is realized by C++ programming language, it then follows com component.Therefore in the startup optimization trip Play client, when being related to 3D engine operation, needs to call com component, by the first hook engine for arranging in com component, The application message for calling com component being obtained, so that it is determined that going out the source framework data of the 3D engine of the game client, that is, being obtained Know the engine-operated required various interfaces of 3D and function object etc..
Step 206, when object is created, creates mapping object according to the application message and points to source memory address, then Create source object and point to the source memory address.
Step 208, is respectively provided with hook program in the corresponding each interface of each source object.
Step 210, according to mapping object and interface interchange, builds application mapping framework data.
Step 212, according to source object and interface interchange, builds application source framework data.
In the present embodiment, when destination object creates default application related content, can create required object needs according to determination The information such as interface to be called, in the present embodiment, build one with application source framework data identical using mapping framework data Shell, but its flesh and blood is still provided by application source framework data.Therefore, it can need to create object in the application message When, the relevant information of object being created needed for determining, is created a mapping object and point to corresponding source memory address, then creates source Object simultaneously points to the source memory address.The content for defining needed for determining according to the application message, defines one with implication Mapping object, re-defining originally needs the source object of definition, and is respectively provided with hook in the seam needed for each source object Program, so as to arranging one group of hook program for the default application, realizes linking up with the method for calling of son in entrance level.So as to Application mapping framework data are built using mapping object and interface interchange, application source framework is built using source object and interface interchange Data, so as to obtain applying mapping framework data with the application source framework data identical shell, and the application mapping framework Data actual definition, the content that calls can be corresponding with application source framework data, can also be mapped in application source framework data Process.
For example, during the 3D engine calling com component of game client, recalls information is intercepted and captured, such as recalls information indicates wound Build function A, function A calling interface B and function C, function C calling interface D, E, can to create mapping function A ' and C ', and And be respectively provided with hook program at interface B, D, E and set up the corresponding relation of mapping function, then create source function A and C with And the corresponding relation with interface B, D, E, map with the source framework data identical shell of game client so as to build one Framework data, may map to source framework data by the mapping framework data.
Step 214, based on the application mapping framework data, determines for drawing display image according to the interface message At least one target interface.
The various interfaces for calling needed for the default application are can determine when application mapping framework data are built, and are respectively connect The information such as the function of mouth, thus may determine that at least one target interface needed for going out, the target interface is included for drawing, wash with watercolours Dye, the various interfaces of display image.A series of target interfaces related to image are can determine that, and each target interface is all noted Hook program is entered, so as to subsequently can directly pass through hook program invocation target interface.
So as to application message be intercepted and captured in initialization during default application, build the application mapping frame of the default application Structure data and application source framework data, that is, analyzed the framework of default application, behaviour needed for being easy to subsequently execute based on the framework Work, such as executes default the application and corresponds to default instruction, and do not seize focus when executing non-default instruction.
In another alternative embodiment, additional operations can be provided under screen mode toggle.
With reference to Fig. 3, show that a kind of operation warehouse-out method of screen mode toggle in accordance with another embodiment of the present invention is implemented Example the step of flow chart, specifically may include steps of:
Step 302, starts default application and enters screen mode toggle.
Step 304, receives additional operations instruction.
Step 306, determines the first image correspondence image information of the additional window, calls institute according to described image information State target interface and draw the first image.
Step 308, will show on the interface image of the first image overlay of the additional window to the default application.
Build application mapping framework data and application source framework data when initializing default application in the terminal, and determine to A few target interface.Then complete initialization and can start the default application, default application enters screen mode toggle upon actuation. In this mode for the default instruction of default application, can be entered using application mapping framework data call application source framework data Row response.Still additional operations instruction is received, and the operation instruction is not the default instruction of default application.The present embodiment can be true First image correspondence image information of the fixed additional window, you can additional with started needed for indicating to determine according to additional operations Window, such as payment window, chat window etc., so that it is determined that the first image correspondence image information of each additional window, the image Information can be image display information, can be identification information etc., be then based on applying framework determined by mapping framework data Principle, is drawn, is rendered the first image using target interface described in the image information.And can determine that the aobvious of first image Showing position, first image is superimposed in the interface image correspondence position of default application, so as to realize the display of the first image, due to First image rendering be window display interface, therefore just show for user perspective needed for additional window.
For example when game client is initialized by com component, determine corresponding source framework data and mapping framework data, according to According to the game client drawing, render, the target interface needed for display image.Can be with running game client after the completion of initialization Hold and enter screen mode toggle.User if desired supplements with money during game is played, checks that forum etc. operates, and can send additional behaviour Indicate, the first figure for calling the image rendering principle of 3D engine to draw corresponding additional window is then indicated according to the additional operations Picture, will show in first image overlay to game client display interface image.
Actually in default application running, the interface image of default application can be that every frame is all drawing display , therefore from additional window is shown to exiting in additional window this period, the image of the additional window is also that every frame is drawn Overlapping display is on interface image afterwards, therefore in time user perspective interface and window be static, and system perspective be per Frame all draws the image.By taking game client as an example, shown interface image is that every frame is drawn, renders display, because First image of the additional window for showing on this interface image is also that after the drafting of every frame is rendered, be added to relevant position Show on interface image.
Step 310, receives the triggering to the additional window and indicates.
Step 312, according to the second image that the triggering indicates to call the target interface to draw the additional window.
Step 314, second image is substituted described first image, is added on the interface image of the default application Show.
During additional window is shown, user can be operated to additional window, and the response for operation also may be used Shown with drawing after respective image.Therefore the triggering to additional window can be received indicate, then the triggering is indicated to carry out Parsing, the operation for executing needed for determining.Wherein, triggering indicate include following at least one:Mobile instruction and window operation are indicated. Second image of drafting needed for indicating can determine according to the triggering, then calls the target interface to draw the additional window The second image, the second image can be adopted to substitute described first image in present frame or next frame, that is, draw for the second image generation For the first image, so as to showing on the interface image of the second image overlay to the default application.
Wherein, movement refers to indicate for the moving operation of additional window, such as by mouse drag, touch choosing In after drag etc. mode send mobile instruction.Window operation refers to the operation instruction for the additional window, for example point Hit the button of additional window, carry out the various operation instructions such as word input.
In one alternate embodiment, when the triggering is designated as mobile instruction, indicate according to the triggering corresponding Shift position determines mobile response message;The target interface is called to draw the second image of the additional window, according to described Mobile response message determines display location;Described first image is substituted, the interface image of the default application corresponds to display location Second image described in upper Overlapping display.For the mobile instruction of additional window, the movement can be adopted to indicate to determine shift position With mobile response message, so as to the second image of the movement of additional window described in invocation target interface renderings, then answer default The second image described in Overlapping display on display location is corresponded to the interface image of corresponding frame.Wherein shift position and display location pair Should, for example both are identical, and the latter can determine that corresponding display location by shift position.
In another alternative embodiment, when the triggering is designated as window operation instruction, indicate according to the triggering Window response message is determined in the position of the first image.Corresponding second image information is determined according to the window response message, Call the target interface to draw the second image of the additional window according to the second image information, described first image substituted, The second image described in Overlapping display on the interface image of the default application.Indicate for window operation, it may be determined that the behaviour Make corresponding second image information is indicated, that is, the window interface corresponding informance for showing needed for the operation instruction is responded, is then adopted Second image information calls the target interface to draw the second image of the additional window, in the surface chart of the default application The second image as described in upper Overlapping display.Can show so as to the angle based on user mutually should window circle that indicates of window operation Face, for example, enter payment interface etc..Currently, if the window operation is designated as closing window, no longer draw in next frame additional The image of window, so as to no longer show additional window.
So as to, by way of calling the direct drawing image of base layer window and showing, the communication mechanism of system can be bypassed (as the message mechanism of Windows) so that system focus will not be preempted, hence for default application outside operation instruction also may be used Full frame normally to execute and will not exit, on the basis of user's normal operating is ensured, improve Consumer's Experience.
For example in game client, user can execute other additional behaviour related to game in full frame object for appreciation game Make, the window such as such as supplement with money, be easy to user operation.
For embodiment of the method, in order to be briefly described, therefore which is all expressed as a series of combination of actions, but this area Technical staff should know, the embodiment of the present invention is not limited by described sequence of movement, because implementing according to the present invention Example, some steps can adopt other orders or while carry out.Secondly, those skilled in the art should also know, description Described in embodiment belong to preferred embodiment, necessary to the involved action not necessarily embodiment of the present invention.
On the basis of above-described embodiment, the embodiment of the present invention additionally provides a kind of operation processing meanss.
With reference to Fig. 4, a kind of structured flowchart of operation processing meanss embodiment according to an embodiment of the invention is shown, Specifically can include as lower module:
Initialization module 402, for beforehand through the destination object that hangs up, creating application mapping in the default application of initialization Framework data and application source framework data;At least one target interface is determined according to the application mapping framework data.
Drafting module 404, for when the default application is in screen mode toggle, if receiving additional operations instruction, adjusting The first image of additional window is drawn with the target interface, wherein, the additional operations indicate to include the non-pre- of default application If indicating.
Display module 406, for by the interface image of the first image overlay of the additional window to the default application Upper display.
To sum up, default application is determined by creating application mapping framework data and application source framework data in initialization Framework, may thereby determine that out at least one target interface, when default application is in screen mode toggle, if receiving additional operations Indicate, call the target interface to draw the first image of additional window based on the structure of default application, by the additional window The first image overlay show on the interface image of the default application, so as to the focus of default application will not be seized, can Show additional window under screen mode toggle, do not affect user normally to use and operate more flexible.
With reference to Fig. 5, a kind of structural frames of operation processing meanss embodiment in accordance with another embodiment of the present invention are shown Figure, specifically can include as lower module:
Initialization module 402, for beforehand through the destination object that hangs up, creating application mapping in the default application of initialization Framework data and application source framework data;At least one target interface is determined according to the application mapping framework data.
Drafting module 404, for when the default application is in screen mode toggle, if receiving additional operations instruction, adjusting The first image of additional window is drawn with the target interface, wherein, the additional operations indicate to include the non-pre- of default application If indicating.
Display module 406, for by the interface image of the first image overlay of the additional window to the default application Upper display.
Wherein, initialization module 402, including:
Submodule 4022 is hung up, for being monitored to function is created in system, in the establishment function creation target pair As when hang up the destination object.
Framework builds submodule 4024, for creating application in the default application of destination object initialization, according to described Application message determines mapping object and interface interchange, builds application mapping framework data, then determines source according to the application message Object and interface interchange, build application source framework data.
Interface analysis submodule 4026, for based on the application mapping framework data, determining according to the interface message For drawing at least one target interface of display image.12nd, device as claimed in claim 11, it is characterised in that
Wherein, framework builds submodule 4026, is additionally operable to, when object is created, create mapping pair according to the application message As and point to source memory address, then create source object and point to the source memory address;In calling interface, according to the application Information arranges one group of hook program in each seam of correspondence, and determines the interface message of each interface.
Wherein, the drafting module 404, for when receiving additional operations and indicating, determining the of the additional window One image correspondence image information;The target interface is called to draw the first image according to described image information.
The drafting module 404, is additionally operable to receive the triggering instruction to the additional window, indicates to adjust according to the triggering The second image of the additional window is drawn with the target interface;The display module 406, is additionally operable to second image Described first image is substituted, is shown on the interface image of the default application that is added to.
The drafting module 404, indicates for receiving the triggering to the additional window, indicates to determine according to the triggering Response message;The target interface is called to draw the second image of the additional window according to the response message.
The drafting module 404, for when the triggering is designated as mobile instruction, indicating according to the triggering corresponding Shift position determines mobile response message;When the triggering is designated as window operation and indicates, indicate the according to the triggering The position of one image determines window response message.
The display module 406, for determining display location according to the mobile response message;Substitute first figure Picture, the interface image of the default application corresponds to the second image described in Overlapping display on display location.
So as to, by way of calling the direct drawing image of base layer window and showing, the communication mechanism of system can be bypassed (as the message mechanism of Windows) so that system focus will not be preempted, hence for default application outside operation instruction also may be used Full frame normally to execute and will not exit, on the basis of user's normal operating is ensured, improve Consumer's Experience.
For example in game client, user can execute other additional behaviour related to game in full frame object for appreciation game Make, the window such as such as supplement with money, be easy to user operation.
For device embodiment, due to itself and embodiment of the method basic simlarity, so description is fairly simple, related Part is illustrated referring to the part of embodiment of the method.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together based on teaching in this.As described above, construct required by this kind of system Structure be obvious.Additionally, the present invention is also not for any certain programmed language.It is understood that, it is possible to use various Programming language realizes the content of invention described herein, and the description that above language-specific is done be in order to disclose this Bright preferred forms.
In description mentioned herein, a large amount of details are illustrated.It is to be appreciated, however, that the enforcement of the present invention Example can be put into practice in the case of not having these details.In some instances, known method, structure are not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it will be appreciated that in order to simplify the disclosure helping understand one or more in each inventive aspect, Above in the description to the exemplary embodiment of the present invention, each feature of the present invention is grouped together into single enforcement sometimes In example, figure or descriptions thereof.However, should the method for the disclosure be construed to reflect following intention:That is required guarantor The more features of feature that the application claims ratio of shield is expressly recited in each claim.More precisely, such as following Claims reflected as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim itself All as the separate embodiments of the present invention.
Those skilled in the art are appreciated that can be carried out adaptively to the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.Can be the module in embodiment or list Unit or component are combined into a module or unit or component, and can be divided in addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit is excluded each other, can adopt any Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and accompanying drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification (includes adjoint power Profit is required, summary and accompanying drawing) disclosed in each feature can identical by offers, be equal to or the alternative features of similar purpose carry out generation Replace.
Although additionally, it will be appreciated by those of skill in the art that some embodiments described herein include other embodiments In included some features rather than further feature, but the combination of the feature of different embodiments means in the present invention's Within the scope of and form different embodiments.For example, in the following claims, embodiment required for protection appoint One of meaning can in any combination mode using.
The all parts embodiment of the present invention can be realized with hardware, or to run on one or more processor Software module realize, or with combinations thereof realize.It will be understood by those of skill in the art that can use in practice Microprocessor or digital signal processor (DSP) are realizing a kind of operation processing method according to embodiments of the present invention and one kind The some or all functions of some or all parts in operation processing meanss equipment.The present invention be also implemented as Execute some or all equipment or program of device (for example, computer program and the calculating of method as described herein Machine program product).Such program for realizing the present invention can be stored on a computer-readable medium, or can have one Or the form of multiple signals.Such signal can be downloaded from internet website and be obtained, or provide on carrier signal, Or provided with any other form.
It should be noted that above-described embodiment the present invention will be described rather than limits the invention, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference markss Wei Yu bracket between should not be configured to limitations on claims.Word "comprising" is not excluded the presence of not Element listed in the claims or step.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can come real by means of the hardware for including some different elements and by means of properly programmed computer Existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.
The invention discloses A1, a kind of operation processing method, including:Beforehand through the destination object that hangs up, in initialization Default application creates application mapping framework data and application source framework data;Determine at least according to the application mapping framework data One target interface;When the default application is in screen mode toggle, if receiving additional operations instruction, the target is called to connect Mouth draws the first image of additional window, and wherein, the additional operations indicate to include the default non-default instruction that applies;Will be described First image overlay of additional window shows on the interface image of the default application.
A2, the method as described in A1, described beforehand through the destination object that hangs up, application is created in the default application of initialization Mapping framework data and application source framework data, including:It is monitored to creating function in system, in the establishment function creation The destination object is hung up during destination object;Application is created in the default application of destination object initialization, according to the application Information determines mapping object and interface interchange, builds application mapping framework data, then determines source object according to the application message And interface interchange, build application source framework data.
A3, the method as described in A2, also include:When object is created, mapping object is created simultaneously according to the application message Sensing source memory address, then create source object and point to the source memory address;In calling interface, according to the application message One group of hook program is set in each seam of correspondence, and determines the interface message of each interface.
A4, the method as described in A3, determine at least one target interface according to the application mapping framework data, including: Based on the application mapping framework data, determine according to the interface message and connect for drawing at least one target of display image Mouthful.
A5, the method as described in A1, if described receive additional operations instruction, call the target interface to draw additional window First image of mouth, including:When additional operations instruction is received, the first image correspondence image letter of the additional window is determined Breath;The target interface is called to draw the first image according to described image information.
A6, the method as described in A1, also include:Receive the triggering to the additional window to indicate, refer to according to the triggering Show the second image for calling the target interface to draw the additional window;Second image is substituted described first image, It is added on the interface image of the default application and shows.
A7, the method as described in A6, receive the triggering to the additional window and indicate, call institute according to the triggering instruction The second image that target interface draws the additional window is stated, including:Receive the triggering to the additional window to indicate, according to institute State triggering to indicate to determine response message;The target interface is called to draw the second of the additional window according to the response message Image.
A8, the method as described in A7, indicate to determine response message according to the triggering, including:When the triggering is designated as During mobile instruction, indicate that corresponding shift position determines mobile response message according to the triggering;When the triggering is designated as window During mouth operation instruction, indicate to determine window response message in the position of the first image according to the triggering.
A9, the method as described in A8, second image is substituted described first image, and be added to the default application Show on interface image, including:Display location is determined according to the mobile response message;Described first image is substituted, described pre- If the interface image of application corresponds to the second image described in Overlapping display on display location.
Present invention also offers B10, a kind of operation processing meanss, including:Initialization module, for beforehand through hang-up Destination object, creates application mapping framework data and application source framework data in the default application of initialization;Reflect according to the application Penetrate framework data and determine at least one target interface;Drafting module, for when the default application is in screen mode toggle, if connect Additional operations instruction is received, calls the target interface that the first image of additional window is drawn, wherein, the additional operations are indicated Including presetting the non-default instruction of application;Display module, for presetting the first image overlay of the additional window to described Show on the interface image of application.
B11, the device as described in B10, initialization module, including:Submodule is hung up, for entering to function is created in system Row monitoring, hangs up the destination object in the establishment function creation destination object;Framework builds submodule, for described The default application of destination object initialization creates application, determines mapping object and interface interchange according to the application message, and building should Mapping framework data being used, then source object and interface interchange is determined according to the application message, builds application source framework data.
B12, the device as described in B11, framework builds submodule, is additionally operable to, when object is created, believe according to the application Breath creates mapping object and points to source memory address, then creates source object and point to the source memory address;In calling interface, According to the application message, one group of hook program is set in each seam of correspondence, and determines the interface message of each interface.
B13, the device as described in B12, initialization module, also include:Interface analysis submodule, for being based on the application Mapping framework data, determine at least one target interface for drawing display image according to the interface message.
B14, the device as described in B10, the drafting module, for when additional operations instruction is received, determining described First image correspondence image information of additional window;The target interface is called to draw the first image according to described image information.
B15, the device as described in B10, the drafting module, it is additionally operable to receive the triggering instruction to the additional window, According to the second image that the triggering indicates to call the target interface to draw the additional window;The display module, also uses In second image is substituted described first image, show on the interface image of the default application that is added to.
B16, the device as described in B15, the drafting module, indicate for receiving the triggering to the additional window, according to Indicate to determine response message according to the triggering;The target interface is called to draw the additional window according to the response message Second image.
B17, the device as described in B16, the drafting module, for when the triggering is designated as mobile instruction, foundation The triggering indicates that corresponding shift position determines mobile response message;When the triggering is designated as window operation instruction, according to Indicate to determine window response message in the position of the first image according to the triggering.
B18, the device as described in B17, the display module, show position for determining according to the mobile response message Put;Described first image is substituted, the interface image of the default application corresponds to the second image described in Overlapping display on display location.

Claims (10)

1. a kind of operation processing method, including:
Beforehand through the destination object that hangs up, application mapping framework data and application source framework number is created in the default application of initialization According to;
At least one target interface is determined according to the application mapping framework data;
When the default application is in screen mode toggle, if receiving additional operations instruction, the target interface is called to draw attached First image of adding window mouth, wherein, the additional operations indicate to include the non-default instruction of default application;
To show on the interface image of the first image overlay of the additional window to the default application.
2. the method for claim 1, it is characterised in that described beforehand through the destination object that hangs up, pre- in initialization If application creates application mapping framework data and application source framework data, including:
Being monitored to function is created in system, hangs up the destination object in the establishment function creation destination object;
Application is created in the default application of destination object initialization, determine that mapping object and interface are adjusted according to the application message With building application mapping framework data, then determine source object and interface interchange according to the application message, build application source framework Data.
3. method as claimed in claim 2, it is characterised in that also include:
When object is created, mapping object is created according to the application message and point to source memory address, then create source object simultaneously Point to the source memory address;
In calling interface, according to the application message, one group of hook program is set in each seam of correspondence, and determines each interface Interface message.
4. method as claimed in claim 3, it is characterised in that determine at least one mesh according to the application mapping framework data Tag splice mouth, including:
Based on the application mapping framework data, at least one mesh for drawing display image is determined according to the interface message Tag splice mouth.
5. the method for claim 1, it is characterised in that if described receive additional operations instruction, call the target First image of interface renderings additional window, including:
When additional operations instruction is received, the first image correspondence image information of the additional window is determined;
The target interface is called to draw the first image according to described image information.
6. the method for claim 1, it is characterised in that also include:
Receive the triggering to the additional window to indicate, call the target interface to draw according to the triggering instruction described additional Second image of window;
Second image is substituted described first image, is shown on the interface image of the default application that is added to.
7. method as claimed in claim 6, it is characterised in that receive the triggering to the additional window and indicate, according to described Triggering indicates the second image for calling the target interface to draw the additional window, including:
Receive the triggering to the additional window to indicate, indicate to determine response message according to the triggering;
The target interface is called to draw the second image of the additional window according to the response message.
8. method as claimed in claim 7, it is characterised in that indicate to determine response message according to the triggering, including:
When the triggering is designated as mobile instruction, indicate that corresponding shift position determines mobile response letter according to the triggering Breath;
When the triggering is designated as window operation instruction, indicate to determine that window rings in the position of the first image according to the triggering Answer information.
9. method as claimed in claim 8, it is characterised in that second image is substituted described first image, is added to Show on the interface image of the default application, including:
Display location is determined according to the mobile response message;
Described first image is substituted, the interface image of the default application corresponds to the second figure described in Overlapping display on display location Picture.
10. one kind operates processing meanss, including:
Initialization module, for beforehand through the destination object that hangs up, creating application mapping framework number in the default application of initialization According to application source framework data;At least one target interface is determined according to the application mapping framework data;
Drafting module, for when the default application is in screen mode toggle, if receiving additional operations instruction, calling the mesh First image of mark interface renderings additional window, wherein, the additional operations indicate to include the non-default instruction of default application;
Display module, for showing on the interface image of the first image overlay of the additional window to the default application.
CN201610862657.8A 2016-09-28 2016-09-28 Operation processing method and device Active CN106445535B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610862657.8A CN106445535B (en) 2016-09-28 2016-09-28 Operation processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610862657.8A CN106445535B (en) 2016-09-28 2016-09-28 Operation processing method and device

Publications (2)

Publication Number Publication Date
CN106445535A true CN106445535A (en) 2017-02-22
CN106445535B CN106445535B (en) 2020-09-11

Family

ID=58170920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610862657.8A Active CN106445535B (en) 2016-09-28 2016-09-28 Operation processing method and device

Country Status (1)

Country Link
CN (1) CN106445535B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595082A (en) * 2018-03-15 2018-09-28 维沃移动通信有限公司 A kind of information cuing method and terminal device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455234A (en) * 2012-06-01 2013-12-18 腾讯科技(深圳)有限公司 Method and device for displaying application program interfaces
CN105597321A (en) * 2015-12-18 2016-05-25 武汉斗鱼网络科技有限公司 Barrage display method and system in full-screen game state
CN105653066A (en) * 2016-01-29 2016-06-08 腾讯科技(深圳)有限公司 Input method processing method and equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103455234A (en) * 2012-06-01 2013-12-18 腾讯科技(深圳)有限公司 Method and device for displaying application program interfaces
CN105597321A (en) * 2015-12-18 2016-05-25 武汉斗鱼网络科技有限公司 Barrage display method and system in full-screen game state
CN105653066A (en) * 2016-01-29 2016-06-08 腾讯科技(深圳)有限公司 Input method processing method and equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108595082A (en) * 2018-03-15 2018-09-28 维沃移动通信有限公司 A kind of information cuing method and terminal device
CN108595082B (en) * 2018-03-15 2020-05-26 维沃移动通信有限公司 Information prompting method and terminal equipment

Also Published As

Publication number Publication date
CN106445535B (en) 2020-09-11

Similar Documents

Publication Publication Date Title
CN106658145A (en) Live data processing method and device
CN107809593B (en) Shoot method, apparatus, terminal and the storage medium of image
CN109901894B (en) Progress bar image generation method and device and storage medium
CN107018191B (en) Method and device for controlling game
US20140313197A1 (en) Method for Displaying a 3D Scene Graph on a Screen
CN106713968B (en) Live data display method and device
CN114779987B (en) Method, device, terminal and storage medium for displaying content
CN106528096A (en) Method and system for drawing popup image on D3D12 full screen game source
WO2020143159A1 (en) User interface processing method and device
CN115409680A (en) Rendering method, device and system
CN109615478A (en) House type method for previewing, system and computer readable storage medium based on AR
CN115546410A (en) Window display method and device, electronic equipment and storage medium
CN111494952A (en) Webpage end object display method and device and readable storage medium
Kelly et al. Basic introduction to pygame
CN106445535A (en) Operation processing method and device
CN112783660A (en) Resource processing method and device in virtual scene and electronic equipment
CN112799801A (en) Method, device, equipment and medium for drawing simulation mouse pointer
WO2023066005A1 (en) Method and apparatus for constructing virtual scenario, and electronic device, medium and product
CN113192173B (en) Image processing method and device of three-dimensional scene and electronic equipment
CN116843802A (en) Virtual image processing method and related product
CN106345118A (en) Rendering method and device
CN106445534A (en) Processing method and device of operating information
CN111009025B (en) Bone animation hiding method, device and equipment
CN116302296B (en) Resource preview method, device, equipment and storage medium
US8786608B2 (en) Systems and methods for providing and using animations

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
TR01 Transfer of patent right

Effective date of registration: 20220707

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right