CN107861759A - Window control method, apparatus, terminal device and storage medium - Google Patents

Window control method, apparatus, terminal device and storage medium Download PDF

Info

Publication number
CN107861759A
CN107861759A CN201711167126.8A CN201711167126A CN107861759A CN 107861759 A CN107861759 A CN 107861759A CN 201711167126 A CN201711167126 A CN 201711167126A CN 107861759 A CN107861759 A CN 107861759A
Authority
CN
China
Prior art keywords
pop
interfaces windows
display
terminal device
event
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711167126.8A
Other languages
Chinese (zh)
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201711167126.8A priority Critical patent/CN107861759A/en
Publication of CN107861759A publication Critical patent/CN107861759A/en
Pending legal-status Critical Current

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/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/485Task life-cycle, e.g. stopping, restarting, resuming execution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/32Means for saving power
    • G06F1/3203Power management, i.e. event-based initiation of a power-saving mode
    • G06F1/3234Power saving characterised by the action undertaken
    • G06F1/329Power saving characterised by the action undertaken by task scheduling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

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

Abstract

The embodiment of the present application discloses a kind of window control method, apparatus, terminal device and storage medium, and this method includes opening bulletproof window pattern according to the user operation instruction received;When detecting that interfaces windows eject event, the display parameters of pop-up corresponding to the interfaces windows ejection event are obtained;The display parameters of the pop-up are configured according to predetermined display parameter.This programme rationally effectively avoids influence of the pop-up to user, simplifies user's operation, improves the operational efficiency of terminal device, reduces the power consumption of terminal device.

Description

Window control method, apparatus, terminal device and storage medium
Technical field
The invention relates to computer technology, more particularly to a kind of window control method, apparatus, terminal device and deposit Storage media.
Background technology
With the raising of terminal device popularity, increasing user's using terminal equipment performs various work( Can be to meet self-demand, such as using terminal equipment reads word, watches video, listen music, play game, with terminal device Function is gradually become strong, wherein the sorts of systems application installed and third party application also gradually increase.
In the prior art, the application program of installing terminal equipment can pop-up window, influence in the case of user is unwitting User uses, and the window control mode existing defects of existing terminal interface, adds user's operation complexity, reduces terminal The treatment effeciency of equipment, improves power consumption.
The content of the invention
The invention provides a kind of window control method, apparatus, terminal device and storage medium, rationally effectively avoid Influence of the pop-up to user, user's operation is simplified, improve the operational efficiency of terminal device, reduce the work(of terminal device Consumption.
In a first aspect, the embodiment of the present application provides a kind of window control method, including:
Bulletproof window pattern is opened according to the user operation instruction received;
When detecting that interfaces windows eject event, the display ginseng of pop-up corresponding to the interfaces windows ejection event is obtained Number;
The display parameters of the pop-up are configured according to predetermined display parameter.
Second aspect, the embodiment of the present application additionally provide a kind of window control device, including:
Opening module is protected, for opening bulletproof window pattern according to the user operation instruction received;
Data message determining module, during for detecting that interfaces windows eject event, obtain interfaces windows ejection thing The display parameters of pop-up corresponding to part;
Response processing module, for being configured according to predetermined display parameter to the display parameters of the pop-up.
The third aspect, the embodiment of the present application additionally provide a kind of terminal device, including:Processor, memory and storage On a memory and the computer program that can run on a processor, realized such as during computer program described in the computing device Window control method described in the embodiment of the present application.
Fourth aspect, the embodiment of the present application additionally provide a kind of storage medium for including terminal device executable instruction, institute State terminal device executable instruction as during terminal device computing device for the window control described in performing the embodiment of the present application Method processed.
In this programme, bulletproof window pattern is opened according to the user operation instruction received, detects that interfaces windows eject thing During part, the display parameters of pop-up corresponding to the interfaces windows ejection event are obtained, according to predetermined display parameter to the pop-up Display parameters be configured, rationally effectively avoid influence of the pop-up to user, simplify user operation, improve terminal The operational efficiency of equipment, reduce the power consumption of terminal device.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of flow chart for window control method that the embodiment of the present application provides;
Fig. 2 is the flow chart of another window control method provided in an embodiment of the present invention;
Fig. 3 is the flow chart for another window control method that the embodiment of the present application provides;
Fig. 4 is a kind of structured flowchart for window control device that the embodiment of the present application provides;
Fig. 5 is a kind of structural representation for terminal device that the embodiment of the present application provides.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used to explain the present invention, rather than limitation of the invention.It also should be noted that for the ease of retouching State, part related to the present invention rather than entire infrastructure are illustrate only in accompanying drawing.
Fig. 1 is a kind of flow chart for window control method that the embodiment of the present application provides, and is applicable to terminal device Interface display window is controlled, and this method can be performed by the terminal device that the embodiment of the present application provides, the terminal device Window control device can be realized by the way of software and/or hardware, as shown in figure 1, the present embodiment provide concrete scheme It is as follows:
Step S101, bulletproof window pattern is opened according to the user operation instruction received.
Currently, intelligence system oneself through being the maximum intelligent terminal operation system platform of customer group, intelligent terminal is to be permitted at present The most frequently used most important electronic equipment of multi-user, user often install various third-party applications, and these third-party applications make With much all less specifications, there are some applications often to influence user's ejecting various interfaces, advertisement windows etc from the background Normal use, and one kind does not prevent effectively these tripartites from applying in backstage pop-out to existing Android system in itself Mouth or the method at interface, most hold-up interception method is required for user to set various strategies, or is blocked by the various operations of user Pop-up window is cut, but also can be intercepted by mistake, lacks one kind and more possesses validity, backstage bullet is applied in intelligence limitation easily to operate Go out the method at window or interface, be unfavorable for operating the experience of user.
In android system, system services WindowManagerService by window management, and abbreviation WMS is responsible for The window of management system and all applications, including various window informations, window level, window drafting, window animation, window whether It can be seen that, the display of window transparency and window etc..
In one embodiment, bulletproof window pattern is opened according to the user operation instruction received.Wherein, the bulletproof window mould Formula is a kind of pop-up control mode for preventing unexpected, illegal pop-up from influenceing set, after terminal device enters bulletproof window pattern, Run the shellproof window mechanism of the application.Specifically, the user operation instruction can be a kind of predetermined registration operation instruction of definition, such as User is when some interface a is double-clicked (or up being slided from bottom, slid down from top), the institute using b belonging to a of interface There is interface to enter bulletproof window pattern.
Rapid S102, when detecting that interfaces windows eject event, obtain pop-up corresponding to the interfaces windows ejection event Display parameters.
Corresponding program is performed to realize corresponding pop-up after interfaces windows ejection event is triggered.In an implementation In example, by increasing mechanism of control in being serviced in window management to realize, run application scheme, first in window management service One monitor of middle setting, event is ejected for audit window, it is exemplary, can be to Dialog by taking android operating systems as an example Monitored with PopUpWindow method call event, determine to assert after Dialog or PopUpWindow methods are called Detect that interfaces windows eject event.When detecting that interfaces windows eject event, it is corresponding to obtain the interfaces windows ejection event Pop-up display parameters, wherein the display location parameter of the display parameters including pop-up, transparency parameter etc..Specifically, with Exemplified by android operating systems, the method function in Dialog or PopUpWindow is called to have determined that the display ginseng of current pop-up Number, such as getDialog () .getWindow () .getAttributes () .width.
Step S103, the display parameters of the pop-up are configured according to predetermined display parameter.
Wherein, predetermined display parameter is the display mode of new pop-up under bulletproof window pattern pre-set.In a reality Apply in example, it is described according to predetermined display parameter the display parameters of the pop-up are configured including:According to predetermined display parameter The transparency of the pop-up is arranged to transparent.In one embodiment, Ke Yishi:In the display for obtaining current display interface Hold, determine the display location of the pop-up according to the display content and carry out the setting of corresponding display parameters.Exemplary, By the non-manipulation position of the currently displayed display interface of the pop-up, or non-core position.
As shown in the above, bulletproof window pattern is opened according to the user operation instruction received, detects interfaces windows During ejection event, the display parameters of pop-up corresponding to the interfaces windows ejection event are obtained, according to predetermined display parameter to institute The display parameters for stating pop-up are configured, and it is all-transparent such as to set pop-up transparency, or pop-up is arranged on into current display interface Non-core position, thus rationally effectively avoid influence of the pop-up to user, simplify user operation, improve terminal and set Standby operational efficiency, reduce the power consumption of terminal device.
Fig. 2 is the flow chart for another window control method that the embodiment of the present application provides, optionally, according to default display Parameter the display parameters of the pop-up are configured including:Judging application program corresponding to the interfaces windows ejection event is It is no to meet pop-up condition, if be unsatisfactory for, the display parameters of the pop-up are configured according to predetermined display parameter.Such as figure Shown in 2, technical scheme is specific as follows:
Step S201, bulletproof window pattern is opened according to the user operation instruction received.
When step S202, detecting that interfaces windows eject event, pop-up corresponding to the interfaces windows ejection event is obtained Display parameters.
Step S203, judge whether application program corresponding to the interfaces windows ejection event is that user manually boots, such as Fruit is no, then performs step S204, if it is, performing step S205.
In one embodiment, judge whether application program corresponding to interfaces windows ejection event is that user manually boots can To be:The operation link for triggering the interfaces windows ejection event is obtained, if determining the boundary according to the operation link Face-port mouth ejects event and triggered for non-user, then forbids responding interfaces windows ejection event.Wherein, the operational chain Road for detect bulletproof window pattern open after, by the window management service in operating system, application activity management service and Input service carries out record generation operation link to processing link caused by response user's clicking operation, specifically, according to record Clicking operation triggering start background service, caller with judge current interface window ejection event whether and the clicking operation Association, optionally, the service processes and caller of triggering interfaces windows ejection event are obtained, if it is judged that the interfaces windows The service processes and caller of ejection event are present in the operation link of user's clicking operation triggering of record, it is determined that should Interfaces windows ejection event is that user triggers manually, on the contrary, it is determined that interfaces windows ejection event is that non-user triggers manually. In one embodiment, it can also take:Take the time of response user's touch control operation before the interfaces windows ejection event triggering Information and corresponding application information, if determined according to the temporal information and the application information described Interfaces windows eject event and triggered for non-user, then forbid responding interfaces windows ejection event, specifically, one In individual embodiment, after opening bulletproof window pattern, held corresponding to the temporal information and the clicking operation to the clicking operation of user Row application program is recorded, exemplary, by taking android operating systems as an example, when listening to the interface controls such as button, list When responding clicking operation, current time point is recorded, and obtains the mark of the application program at clicking operation interface accordingly, is judged Process can be:Set a time threshold, if record the last clicking operation to interface pop-up event be triggered when Time is more than the predetermined threshold value (such as 60 seconds), and application program non-present interface corresponding to the clicking operation of the record run should With program, it is determined that interfaces windows ejection event is that non-user triggers manually, on the contrary, it is determined that interfaces windows eject event and are User triggers manually.
Step S204, the transparency of the pop-up is arranged to transparent according to predetermined display parameter.
By taking Android system as an example, set-up mode can be:
Final WindowManager.LayoutParams params=
DialogActivity.this.getWindow().getAttributes();
Params.alpha=1f;
DialogActivity.this.getWindow().setAttributes(params)
Step S205, the display parameters progress pop-up according to pop-up corresponding to interfaces windows ejection event is shown.
Whether it is further that user triggers introducing reference manually by pop-up from the foregoing, when being configured to pop-up In condition, the display parameters for the ejection that user is triggered manually keep original parameter, the ejection that non-user triggers manually such as pop-up Advertisement, tripartite are arranged to transparent using pop-up etc., avoid influence of the pop-up to user.
Fig. 3 is the flow chart for another window control method that the embodiment of the present application provides, optionally, described in the judgement Whether application program corresponding to interfaces windows ejection event meets that pop-up condition includes:Judge the interfaces windows ejection event pair Whether the application program answered is in front stage operation.As shown in figure 3, technical scheme is specific as follows:
Step S301, bulletproof window pattern is opened according to the user operation instruction received.
When step S302, detecting that interfaces windows eject event, pop-up corresponding to the interfaces windows ejection event is obtained Display parameters.
Step S303, judge that whether application program is in front stage operation corresponding to the interfaces windows ejection event, if not, Step S304 is then performed, if it is, performing step S305.
Exemplary, the process number of triggering interfaces windows ejection event can be obtained, is entered according to the process number in system operation Inquired about in journey to judge whether it is front stage operation process triggers.
Step S304, the display content of current display interface is obtained, the aobvious of the pop-up is determined according to the display content Show position and carry out the setting of corresponding display parameters.
In one embodiment, the interface layout of current display interface, such as button, check box, drop-down list control are obtained The arrangement position of part, the display location of the pop-up is arranged on to the interface location of non-control layout.Specifically, set-up mode can be with It is to be first according to preset length (such as 3cm), the length and width of width (such as 3cm) setting pop-up, then is disposed at selected interface position In putting.It is exemplary, the parameter that can be set PopUpWindow it is following " ' width=50, height=50left=300, top =300 ".
Step S305, the display parameters progress pop-up according to pop-up corresponding to interfaces windows ejection event is shown.
From the foregoing, when being configured to pop-up, will further combined with judging whether pop-up is foreground application triggering Pop-up such as the pop-up advertisement, tripartite of non-foreground application triggering are laid out its location parameter again using pop-up etc., avoid pop-up to The application program that family is used impacts.
In a possible embodiment, it is described to judge whether application program corresponding to the interfaces windows ejection event is full Sufficient pop-up condition includes:The operation note of terminal device is obtained, according to the application program pop-up frequency described in the operation note Secondary, the pop-up shut-in time determines whether application program corresponding to the interfaces windows ejection event meets pop-up condition, if not Meet pop-up condition, then the display parameters of the pop-up are configured according to predetermined display parameter.
Fig. 4 is a kind of structured flowchart for window control device that the embodiment of the present application provides, and the device is above-mentioned for performing The window control method that embodiment provides, possesses the corresponding functional module of execution method and beneficial effect.As shown in figure 4, the dress Put and specifically include:Opening module 101, data message determining module 102 and response processing module 103 are protected, wherein,
Opening module 101 is protected, for opening bulletproof window pattern according to the user operation instruction received.
In android system, system services WindowManagerService by window management, and abbreviation WMS is responsible for The window of management system and all applications, including various window informations, window level, window drafting, window animation, window whether It can be seen that, the display of window transparency and window etc..
In one embodiment, bulletproof window pattern is opened according to the user operation instruction received.Wherein, the bulletproof window mould Formula is a kind of pop-up control mode for preventing unexpected, illegal pop-up from influenceing set, after terminal device enters bulletproof window pattern, Run the shellproof window mechanism of the application.Specifically, the user operation instruction can be a kind of predetermined registration operation instruction of definition, such as User is when some interface a is double-clicked (or up being slided from bottom, slid down from top), the institute using b belonging to a of interface There is interface to enter bulletproof window pattern.
Data message determining module 102, during for detecting that interfaces windows eject event, obtain interfaces windows ejection The display parameters of pop-up corresponding to event.
Corresponding program is performed to realize corresponding pop-up after interfaces windows ejection event is triggered.In an implementation In example, by increasing mechanism of control in being serviced in window management to realize, run application scheme, first in window management service One monitor of middle setting, event is ejected for audit window, it is exemplary, can be to Dialog by taking android operating systems as an example Monitored with PopUpWindow method call event, determine to assert after Dialog or PopUpWindow methods are called Detect that interfaces windows eject event.When detecting that interfaces windows eject event, it is corresponding to obtain the interfaces windows ejection event Pop-up display parameters, wherein the display location parameter of the display parameters including pop-up, transparency parameter etc..Specifically, with Exemplified by android operating systems, the method function in Dialog or PopUpWindow is called to have determined that the display ginseng of current pop-up Number, such as getDialog () .getWindow () .getAttributes () .width.
Response processing module 103, for being configured according to predetermined display parameter to the display parameters of the pop-up.
Wherein, predetermined display parameter is the display mode of new pop-up under bulletproof window pattern pre-set.In a reality Apply in example, it is described according to predetermined display parameter the display parameters of the pop-up are configured including:According to predetermined display parameter The transparency of the pop-up is arranged to transparent.In one embodiment, Ke Yishi:In the display for obtaining current display interface Hold, determine the display location of the pop-up according to the display content and carry out the setting of corresponding display parameters.Exemplary, By the non-manipulation position of the currently displayed display interface of the pop-up, or non-core position.
As shown in the above, bulletproof window pattern is opened according to the user operation instruction received, detects interfaces windows During ejection event, the display parameters of pop-up corresponding to the interfaces windows ejection event are obtained, according to predetermined display parameter to institute The display parameters for stating pop-up are configured, and it is all-transparent such as to set pop-up transparency, or pop-up is arranged on into current display interface Non-core position, thus rationally effectively avoid influence of the pop-up to user, simplify user operation, improve terminal and set Standby operational efficiency, reduce the power consumption of terminal device.
In a possible embodiment, the response processing module 103 is specifically used for:
The transparency of the pop-up is arranged to transparent according to predetermined display parameter.
In a possible embodiment, the response processing module 103 is specifically used for:
The display content of current display interface is obtained, the display location for determining the pop-up according to the display content is gone forward side by side The setting of the corresponding display parameters of row.
In a possible embodiment, the response processing module 103 is specifically used for:
Judge whether application program corresponding to the interfaces windows ejection event meets pop-up condition, if be unsatisfactory for, The display parameters of the pop-up are configured according to predetermined display parameter.
In a possible embodiment, the response processing module 103 is specifically used for:
Judge whether application program corresponding to the interfaces windows ejection event is that user manually boots.
In a possible embodiment, the response processing module 103 is specifically used for:
Judge that whether application program is in front stage operation corresponding to the interfaces windows ejection event.
In a possible embodiment, the response processing module 103 is specifically used for:
The operation note of terminal device is obtained, according to the application program pop-up frequency described in the operation note, pop-up Shut-in time determines whether application program corresponding to the interfaces windows ejection event meets pop-up condition.
The present embodiment provides a kind of terminal device on the basis of the various embodiments described above, and Fig. 5 is that the embodiment of the present application carries The structural representation of a kind of terminal device supplied, as shown in figure 5, the terminal device 200 includes:Memory 201, processor (Central Processing Unit, CPU) 202, Peripheral Interface 203, RF (Radio Frequency, radio frequency) circuit 205, Voicefrequency circuit 206, loudspeaker 211, power management chip 208, input/output (I/O) subsystem 209, touch-screen 212, other Input/control devices 210 and outside port 204, these parts are led to by one or more communication bus or signal wire 207 Letter.
It should be understood that graphic terminal 200 is only an example of terminal device, and terminal device 200 Can have than more or less parts shown in figure, can combine two or more parts, or can be with Configured with different parts.Various parts shown in figure can be including one or more signal transactings and/or special Hardware, software including integrated circuit are realized in the combination of hardware and software.
The terminal device for being used to open the rights management of application more that the present embodiment provides is described in detail below, should Terminal device is by taking smart mobile phone as an example.
Memory 201, the memory 201 can be accessed by CPU202, Peripheral Interface 203 etc., and the memory 201 can Including high-speed random access memory, can also include nonvolatile memory, such as one or more disk memories, Flush memory device or other volatile solid-state parts.
The input of equipment and output peripheral hardware can be connected to CPU202 and deposited by Peripheral Interface 203, the Peripheral Interface 203 Reservoir 201.
I/O subsystems 209, the I/O subsystems 209 can be by the input/output peripherals in equipment, such as touch-screen 212 With other input/control devicess 210, Peripheral Interface 203 is connected to.I/O subsystems 209 can include the He of display controller 2091 For controlling one or more input controllers 2092 of other input/control devicess 210.Wherein, one or more input controls Device 2092 processed receives electric signal from other input/control devicess 210 or sends electric signal to other input/control devicess 210, Other input/control devicess 210 can include physical button (pressing button, rocker buttons etc.), dial, slide switch, behaviour Vertical pole, click on roller.What deserves to be explained is input controller 2092 can with it is following any one be connected:Keyboard, infrared port, The instruction equipment of USB interface and such as mouse.
Touch-screen 212, the touch-screen 212 are the input interface and output interface between user terminal and user, can It can include figure, text, icon, video etc. to user, visual output depending on output display.
Display controller 2091 in I/O subsystems 209 receives electric signal from touch-screen 212 or sent out to touch-screen 212 Electric signals.Touch-screen 212 detects the contact on touch-screen, and the contact detected is converted to and shown by display controller 2091 The interaction of user interface object on touch-screen 212, that is, realize man-machine interaction, the user interface being shown on touch-screen 212 Icon that object can be the icon of running game, be networked to corresponding network etc..What deserves to be explained is equipment can also include light Mouse, light mouse is not show the touch sensitive surface visually exported, or the extension of the touch sensitive surface formed by touch-screen.
RF circuits 205, it is mainly used in establishing the communication of mobile phone and wireless network (i.e. network side), realizes mobile phone and wireless network The data receiver of network and transmission.Such as transmitting-receiving short message, Email etc..Specifically, RF circuits 205 receive and send RF letters Number, RF signals are also referred to as electromagnetic signal, and RF circuits 205 convert electrical signals to electromagnetic signal or electromagnetic signal is converted into telecommunications Number, and communicated by the electromagnetic signal with communication network and other equipment.RF circuits 205 can include being used to perform The known circuit of these functions, it includes but is not limited to antenna system, RF transceivers, one or more amplifiers, tuner, one Individual or multiple oscillators, digital signal processor, CODEC (COder-DECoder, coder) chipset, user identify mould Block (Subscriber Identity Module, SIM) etc..
Voicefrequency circuit 206, it is mainly used in receiving voice data from Peripheral Interface 203, the voice data is converted into telecommunications Number, and the electric signal is sent to loudspeaker 211.
Loudspeaker 211, for the voice signal for receiving mobile phone from wireless network by RF circuits 205, it is reduced to sound And play the sound to user.
Power management chip 208, the hardware for being connected by CPU202, I/O subsystem and Peripheral Interface are powered And power management.
The executable present invention of the window control device and terminal device of the terminal device provided in above-described embodiment is any real The window control method for the terminal device that example is provided is applied, possesses and performs the corresponding functional module of this method and beneficial effect.Not The ins and outs of detailed description in the above-described embodiments, reference can be made to the window for the terminal device that any embodiment of the present invention is provided Control method.
The embodiment of the present application also provides a kind of storage medium for including terminal device executable instruction, and the terminal device can Execute instruction is used to perform a kind of window control method when by terminal device computing device, and this method includes:
Bulletproof window pattern is opened according to the user operation instruction received;
When detecting that interfaces windows eject event, the display ginseng of pop-up corresponding to the interfaces windows ejection event is obtained Number;
The display parameters of the pop-up are configured according to predetermined display parameter.
In a possible embodiment, it is described that the display parameters of the pop-up are configured according to predetermined display parameter Including:
The transparency of the pop-up is arranged to transparent according to predetermined display parameter.
In a possible embodiment, it is described that the display parameters of the pop-up are configured according to predetermined display parameter Including:
The display content of current display interface is obtained, the display location for determining the pop-up according to the display content is gone forward side by side The setting of the corresponding display parameters of row.
In a possible embodiment, it is described that the display parameters of the pop-up are configured according to predetermined display parameter Including:
Judge whether application program corresponding to the interfaces windows ejection event meets pop-up condition, if be unsatisfactory for, The display parameters of the pop-up are configured according to predetermined display parameter.
In a possible embodiment, it is described to judge whether application program corresponding to the interfaces windows ejection event is full Sufficient pop-up condition includes:
Judge whether application program corresponding to the interfaces windows ejection event is that user manually boots.
In a possible embodiment, it is described to judge whether application program corresponding to the interfaces windows ejection event is full Sufficient pop-up condition includes:
Judge that whether application program is in front stage operation corresponding to the interfaces windows ejection event.
In a possible embodiment, it is described to judge whether application program corresponding to the interfaces windows ejection event is full Sufficient pop-up condition includes:
The operation note of terminal device is obtained, according to the application program pop-up frequency described in the operation note, pop-up Shut-in time determines whether application program corresponding to the interfaces windows ejection event meets pop-up condition.
Storage medium --- any various types of memory devices or storage device.Term " storage medium " is intended to wrap Include:Install medium, such as CD-ROM, floppy disk or magnetic tape equipment;Computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, blue Bath (Rambus) RAM etc.;Nonvolatile memory, such as flash memory, magnetizing mediums (such as hard disk or optical storage);Memory component of register or other similar types etc..Storage medium can also include other The memory of type or its combination.In addition, storage medium can be located at program in the first computer system being wherein performed, Or can be located in different second computer systems, second computer system is connected to the by network (such as internet) One computer system.Second computer system can provide programmed instruction and be used to perform to the first computer." storage is situated between term Matter " can include may reside within diverse location two of (such as in different computer systems by network connection) or More storage mediums.Storage medium can store the programmed instruction that can be performed by one or more processors and (such as implement For computer program).
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present application is provided, its computer The window control method operation that executable instruction is not limited to the described above, can also carry out what any embodiment of the present invention was provided Associative operation in window control method.
Pay attention to, above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes, Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also Other more equivalent embodiments can be included, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. window control method, it is characterised in that including:
Bulletproof window pattern is opened according to the user operation instruction received;
When detecting that interfaces windows eject event, the display parameters of pop-up corresponding to the interfaces windows ejection event are obtained;
The display parameters of the pop-up are configured according to predetermined display parameter.
2. according to the method for claim 1, it is characterised in that the display according to predetermined display parameter to the pop-up Parameter be configured including:
The transparency of the pop-up is arranged to transparent according to predetermined display parameter.
3. according to the method for claim 1, it is characterised in that the display according to predetermined display parameter to the pop-up Parameter be configured including:
The display content of current display interface is obtained, the display location of the pop-up is determined according to the display content and carries out phase The setting for the display parameters answered.
4. according to the method any one of claim 1-3, it is characterised in that the foundation predetermined display parameter is to described The display parameters of pop-up be configured including:
Judge whether application program corresponding to the interfaces windows ejection event meets pop-up condition, if be unsatisfactory for, foundation Predetermined display parameter is configured to the display parameters of the pop-up.
5. according to the method for claim 4, it is characterised in that described to judge to answer corresponding to the interfaces windows ejection event Whether meet that pop-up condition includes with program:
Judge whether application program corresponding to the interfaces windows ejection event is that user manually boots.
6. according to the method for claim 4, it is characterised in that described to judge to answer corresponding to the interfaces windows ejection event Whether meet that pop-up condition includes with program:
Judge that whether application program is in front stage operation corresponding to the interfaces windows ejection event.
7. according to the method for claim 4, it is characterised in that described to judge to answer corresponding to the interfaces windows ejection event Whether meet that pop-up condition includes with program:
The operation note of terminal device is obtained, is closed according to the application program pop-up frequency described in the operation note, pop-up Time determines whether application program corresponding to the interfaces windows ejection event meets pop-up condition.
8. window control device, it is characterised in that including:
Opening module is protected, for opening bulletproof window pattern according to the user operation instruction received;
Data message determining module, during for detecting that interfaces windows eject event, obtain interfaces windows ejection event pair The display parameters for the pop-up answered;
Response processing module, for being configured according to predetermined display parameter to the display parameters of the pop-up.
9. a kind of terminal device, including:Processor, memory and storage are on a memory and the meter that can run on a processor Calculation machine program, it is characterised in that realized described in the computing device during computer program such as any one of claim 1-7 institutes The window control method stated.
A kind of 10. storage medium for including terminal device executable instruction, it is characterised in that the terminal device executable instruction As window control method during terminal device computing device for execution as any one of claim 1-7.
CN201711167126.8A 2017-11-21 2017-11-21 Window control method, apparatus, terminal device and storage medium Pending CN107861759A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711167126.8A CN107861759A (en) 2017-11-21 2017-11-21 Window control method, apparatus, terminal device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711167126.8A CN107861759A (en) 2017-11-21 2017-11-21 Window control method, apparatus, terminal device and storage medium

Publications (1)

Publication Number Publication Date
CN107861759A true CN107861759A (en) 2018-03-30

Family

ID=61703421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711167126.8A Pending CN107861759A (en) 2017-11-21 2017-11-21 Window control method, apparatus, terminal device and storage medium

Country Status (1)

Country Link
CN (1) CN107861759A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108447538A (en) * 2018-06-29 2018-08-24 贵州医科大学 A kind of interference method of the antibiotic prescription rate based on hospital HIS system
CN108932148A (en) * 2018-06-29 2018-12-04 北京奇虎科技有限公司 Pop-up management method and device
CN110865865A (en) * 2019-11-22 2020-03-06 科大讯飞股份有限公司 Popup window position determining method, device, equipment and storage medium
CN111125433A (en) * 2019-12-13 2020-05-08 珠海格力电器股份有限公司 Popup window management method and device, electronic equipment and readable storage medium
CN111212313A (en) * 2019-12-13 2020-05-29 珠海格力电器股份有限公司 Advertisement display method, device, storage medium and computer equipment
CN111818375A (en) * 2020-06-09 2020-10-23 深圳市天威视讯股份有限公司 Popup window detection method and device for intelligent set top box and intelligent set top box
CN111949339A (en) * 2019-04-30 2020-11-17 腾讯科技(深圳)有限公司 Method, apparatus, device and computer-readable storage medium for displaying information
CN112083974A (en) * 2020-09-18 2020-12-15 珠海豹趣科技有限公司 Advertisement window closing method and device and electronic equipment
CN114268811A (en) * 2021-12-31 2022-04-01 广州方硅信息技术有限公司 Method, device and equipment for controlling popup of message bubbles in live broadcast room and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123276A (en) * 2013-04-23 2014-10-29 腾讯科技(深圳)有限公司 Method, device and system for intercepting popup windows in browser
CN104298432A (en) * 2014-09-30 2015-01-21 珠海市君天电子科技有限公司 Method and device for displaying information
CN104978201A (en) * 2015-07-14 2015-10-14 安一恒通(北京)科技有限公司 Method and device for controlling automatic pop-up window display
CN106126562A (en) * 2016-06-15 2016-11-16 广东欧珀移动通信有限公司 A kind of pop-up hold-up interception method and terminal
CN106843629A (en) * 2015-12-07 2017-06-13 北京奇虎科技有限公司 A kind of suspended window methods of exhibiting and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104123276A (en) * 2013-04-23 2014-10-29 腾讯科技(深圳)有限公司 Method, device and system for intercepting popup windows in browser
CN104298432A (en) * 2014-09-30 2015-01-21 珠海市君天电子科技有限公司 Method and device for displaying information
CN104978201A (en) * 2015-07-14 2015-10-14 安一恒通(北京)科技有限公司 Method and device for controlling automatic pop-up window display
CN106843629A (en) * 2015-12-07 2017-06-13 北京奇虎科技有限公司 A kind of suspended window methods of exhibiting and device
CN106126562A (en) * 2016-06-15 2016-11-16 广东欧珀移动通信有限公司 A kind of pop-up hold-up interception method and terminal

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108447538A (en) * 2018-06-29 2018-08-24 贵州医科大学 A kind of interference method of the antibiotic prescription rate based on hospital HIS system
CN108932148A (en) * 2018-06-29 2018-12-04 北京奇虎科技有限公司 Pop-up management method and device
CN111949339A (en) * 2019-04-30 2020-11-17 腾讯科技(深圳)有限公司 Method, apparatus, device and computer-readable storage medium for displaying information
CN111949339B (en) * 2019-04-30 2023-10-20 腾讯科技(深圳)有限公司 Method, apparatus, device and computer readable storage medium for displaying information
CN110865865A (en) * 2019-11-22 2020-03-06 科大讯飞股份有限公司 Popup window position determining method, device, equipment and storage medium
CN110865865B (en) * 2019-11-22 2023-01-13 科大讯飞股份有限公司 Popup window position determining method, device, equipment and storage medium
CN111125433A (en) * 2019-12-13 2020-05-08 珠海格力电器股份有限公司 Popup window management method and device, electronic equipment and readable storage medium
CN111212313A (en) * 2019-12-13 2020-05-29 珠海格力电器股份有限公司 Advertisement display method, device, storage medium and computer equipment
CN111818375A (en) * 2020-06-09 2020-10-23 深圳市天威视讯股份有限公司 Popup window detection method and device for intelligent set top box and intelligent set top box
CN112083974A (en) * 2020-09-18 2020-12-15 珠海豹趣科技有限公司 Advertisement window closing method and device and electronic equipment
CN114268811A (en) * 2021-12-31 2022-04-01 广州方硅信息技术有限公司 Method, device and equipment for controlling popup of message bubbles in live broadcast room and storage medium
CN114268811B (en) * 2021-12-31 2024-04-19 广州方硅信息技术有限公司 Pop-up control method, device, equipment and storage medium for message bubbles in live broadcasting room

Similar Documents

Publication Publication Date Title
CN107861759A (en) Window control method, apparatus, terminal device and storage medium
CN107797841A (en) Window control method, apparatus, terminal device and storage medium
CN107943650B (en) Application program control method and device, storage medium and terminal
CN107748685A (en) Application program launching control method, device, terminal device and storage medium
CN107944259A (en) Using the management-control method of startup, device and storage medium and mobile terminal
CN108108142A (en) Voice information processing method, device, terminal device and storage medium
CN108416624A (en) A kind of discount coupon method for pushing, device, storage medium and intelligent terminal
CN107844342A (en) Management-control method, device and the storage medium and mobile terminal of application program keep-alive
CN107861773A (en) Associate management-control method, device, storage medium and the mobile terminal started
CN107027150A (en) WiFi control methods, device and terminal device
CN107944258A (en) Start control method, device, storage medium and the terminal of application with method of service
CN107957913A (en) Associate management-control method, device, storage medium and the mobile terminal started
CN107316033A (en) Fingerprint identification method, device and the storage medium and mobile terminal of mobile terminal
CN107608853A (en) Control method, device, storage medium and the intelligent terminal of terminal usage time
CN107862203A (en) Control method, device, storage medium and the terminal of application program
CN108702413A (en) A kind of input method and device of identifying code
CN107748698A (en) Start control method, device, storage medium and the terminal of application with broadcast mode
CN107783803A (en) System optimization method, device, storage medium and the intelligent terminal of intelligent terminal
CN107748684A (en) Realize processing method, device, storage medium and the mobile terminal of self-starting
CN107844341A (en) Management-control method, device and the storage medium and mobile terminal of process initiation
CN109840418A (en) Jump control method, device, storage medium and the terminal of application program
CN107527048A (en) Fingerprint identification method, device, storage medium and mobile terminal
CN107608724A (en) A kind of method, terminal and computer-readable recording medium for managing application program
CN107423064A (en) Message treatment method, device, terminal device and storage medium
CN107831886A (en) Association starts management-control method, device, storage medium and the intelligent terminal of application

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20180330

RJ01 Rejection of invention patent application after publication