CN109828808A - A kind of interception preventing method and relevant device - Google Patents
A kind of interception preventing method and relevant device Download PDFInfo
- Publication number
- CN109828808A CN109828808A CN201811585287.3A CN201811585287A CN109828808A CN 109828808 A CN109828808 A CN 109828808A CN 201811585287 A CN201811585287 A CN 201811585287A CN 109828808 A CN109828808 A CN 109828808A
- Authority
- CN
- China
- Prior art keywords
- application software
- program
- messagewindow
- configuration file
- modification
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Abstract
The embodiment of the present application discloses a kind of interception preventing method and relevant device, comprising: obtains preset configuration file, the configuration file includes modification of program information;When starting application software, according to the configuration file, modify to the performance of program of the application software;According to modified described program feature, the messagewindow of the application software is created and shown.It using the embodiment of the present application, avoids messagewindow intercepted, ensures that messagewindow shows information.
Description
Technical field
This application involves electronic technology field more particularly to a kind of interception preventing methods and relevant device.
Background technique
Now, many application software can show information by messagewindow (for example, bubble window), and user can check
Bubble window obtains information.But if existing simultaneously the case where multiple application software show messagewindow, between application software
There are competitive relation, one of application software may intercept the messagewindow of another application software, cause
The messagewindow of another application software can not normally be shown.
Summary of the invention
The embodiment of the present application provides a kind of interception preventing method and relevant device.Can be intercepted to avoid messagewindow, it ensures
Messagewindow shows information.
In a first aspect, the embodiment of the present application provides a kind of interception preventing method, comprising:
Preset configuration file is obtained, the configuration file includes modification of program information;
When starting application software, according to the configuration file, modify to the performance of program of the application software;
According to modified described program feature, the messagewindow of the application software is created and shown.
Wherein, described program modification information include in window title, forms class name, program name and window size extremely
One item missing.
Wherein, described according to the configuration file, modifying to the performance of program of the application software includes:
Create background of the transparent window of a window size as the messagewindow.
Wherein, described program modification information includes manifold modification information, described according to the configuration file, to institute
The performance of program for stating application software, which is modified, includes:
Determine the software type of the application software;
According to the software type, the modification letter of at least one feature is chosen from manifold modification information
Breath;
According to the modification information of at least one feature, modify to the described program feature of the application software.
Wherein, described program modification information includes manifold modification information, described according to the configuration file, to institute
The performance of program for stating application software, which is modified, includes:
Obtain the intercepted reason information of the messagewindow of the application software;
According to the cause information, the modification letter of at least one feature is chosen from manifold modification information
Breath;
According to the modification information of at least one feature, modify to the described program feature of the application software.
It is wherein, described to obtain preset configuration file, further includes:
Determine whether the messagewindow is located in the default screen area that other application software is shown;
If the messagewindow is located in the default screen area that other application software is shown, the configuration text is obtained
Part.
Second aspect, the embodiment of the present application provide a kind of anti-blocking apparatus, comprising:
Module is obtained, for obtaining preset configuration file, the configuration file includes modification of program information;
Processing module is used for when starting application software, special to the program of the application software according to the configuration file
Sign is modified;
Display module, for creating and showing the information window of the application software according to modified described program feature
Mouthful.
Wherein, described program modification information include in window title, forms class name, program name and window size extremely
One item missing.
Wherein, the processing module, for creating the transparent window of a window size as the messagewindow
Background.
Wherein, described program modification information includes manifold modification information;
The processing module is also used to determine the software type of the application software;According to the software type, from described
The modification information of at least one feature is chosen in manifold modification information;Believed according to the modification of at least one feature
Breath, modifies to the described program feature of the application software.
Wherein, described program modification information includes manifold modification information;
The processing module is also used to obtain the intercepted reason information of the messagewindow of the application software;Root
According to the cause information, the modification information of at least one feature is chosen from manifold modification information;According to described
The modification information of at least one feature modifies to the described program feature of the application software.
Wherein, the processing module, is also used to determine whether the messagewindow is located at what other application software was shown
In default screen area;If the messagewindow is located in the default screen area that other application software is shown, institute is obtained
State configuration file.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, comprising: processor, memory, communication interface and
Bus;
The processor, the memory are connected by the bus with the communication interface and complete mutual lead to
Letter;
The memory stores executable program code;
The processor is run by reading the executable program code stored in the memory can be performed with described
The corresponding program of program code, for executing above-mentioned performed method.
Correspondingly, the embodiment of the present application provides a kind of storage medium, wherein the storage medium applies journey for storing
Sequence, the application program for executing a kind of interception preventing method disclosed in the embodiment of the present application first aspect at runtime.
Correspondingly, the embodiment of the present application provides a kind of application program, wherein the application program for holding at runtime
A kind of interception preventing method disclosed in row the embodiment of the present application first aspect.
Implement the embodiment of the present application, preset configuration file is obtained first, then when starting application software, according to described
Configuration file modifies to the performance of program of the application software;Finally according to modified described program feature, creation is simultaneously
Show the messagewindow of the application software.By modifying performance of program, cause other application software that can not identify the application
The performance of program of software ensures that messagewindow normally shows information to avoid the messagewindow of the application program intercepted.
Detailed description of the invention
Technical solution in ord to more clearly illustrate embodiments of the present application, below will be to required use in embodiment description
Attached drawing be briefly described, it should be apparent that, the accompanying drawings in the following description is some embodiments of the present application, for this field
For those of ordinary skill, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of flow diagram for interception preventing method that the embodiment of the present application proposes;
Fig. 2 is the flow diagram for another interception preventing method that the embodiment of the present application proposes;
Fig. 3 is a kind of structural schematic diagram for anti-blocking apparatus that the embodiment of the present application proposes;
Fig. 4 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present application proposes.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on this Shen
Please in embodiment, every other implementation obtained by those of ordinary skill in the art without making creative efforts
Example, shall fall in the protection scope of this application.
Referring to FIG. 1, Fig. 1 is a kind of flow diagram for interception preventing method that the embodiment of the present application proposes.As shown,
Step in the embodiment of the present application includes:
S101, obtains preset configuration file, and the configuration file includes modification of program information.
Wherein, described program modification information include in window title, forms class name, program name and window size extremely
One item missing.Configuration file (such as cfg.dat file) may include various configurations scheme, for example, the first allocation plan, modifies window
The performance of program such as mouth title, forms class name.Second of allocation plan, the performance of program such as modification program name.The third configuration side
Case, the performance of program such as modification window size.A switch can be set for every kind of allocation plan, when a certain configuration side of enabling
When case, the switch of the allocation plan can be opened, when deactivating a certain allocation plan, opening for the allocation plan can be closed
It closes.
Optionally, configuration file can be updated, after reading configuration file every time for example, can be with machine maintenance
Change the parameter of each performance of program such as window title, forms class name, program name and window size, ensures that reads every time matches
File difference is set, improves the anti-success rate intercepted in this way.
Optionally, it can detecte whether other application software can intercept the messagewindow of the application software, if
It determines that other application software can intercept the messagewindow of the application software, then obtains preset configuration file.If really
The messagewindow of the application software will not be intercepted by determining other application software, then terminates this step.Wherein, messagewindow can
Think bubble window, the bubble window is for showing information.
S102, according to the configuration file, repairs the performance of program of the application software when starting application software
Change.
In the specific implementation, when using the first allocation plan in configuration file, it can be right when starting application software
The window title or forms class name of messagewindow are modified.When using second of allocation plan in configuration file, opening
It, can be by the original program name modifications of application software at a new program name when dynamic application software.When use configuration file
In the third allocation plan when, when starting application software, the transparent window conduct of the window size can be created
The background of messagewindow, the transparent window do not influence the visual effect and user's operation of messagewindow, and other application software
Also transparent window can not be identified.
Optionally, the software type of the application software can be determined first;Then according to the software type, from described
The modification information of at least one feature is chosen in manifold modification information;Finally according to the modification of at least one feature
Information modifies to the described program feature of the application software.
For example, application software 1, application software 2 and application software 3 are respectively three kinds of different software types, each application is soft
The messagewindow of part is likely to be intercepted by other application software, therefore using different allocation plans to the journey of each application software
Sequence characteristics are modified.Application software 1 can use the first allocation plan, and the programs such as modification window title, forms class name are special
Sign, application software 2 can use second of allocation plan, the modification performance of program such as program name, and application software 3 can be using the
Three kinds of allocation plans, the performance of program such as modification window size.
Optionally, the intercepted reason information of the messagewindow of the available application software;Then according to institute
Cause information is stated, the modification information of at least one feature is chosen from manifold modification information;Finally according to
The modification information of at least one feature modifies to the described program feature of the application software.For example, working as application software 1
It, can be with so that the messagewindow of application software 2 is intercepted when can not normally show by identifying the window size of application software 2
Using the third allocation plan, the performance of program such as the window size of application software 2 are modified.
S103 creates and shows the messagewindow of the application software according to modified described program feature.
It should be noted that after the performance of program of modification application software, since application program uses modified window
Mouthful title or forms class name are modified creating the program name of window perhaps application program or messagewindow covering
On a transparent window, cause other application software that can not identify the performance of program of the application software, therefore can normally show this
The messagewindow of application software.
Optionally, the operational order that can receive user's input grasps messagewindow according to the operational order
Make.For example, opening messagewindow, closing information window or the setting for changing messagewindow etc..
In the embodiment of the present application, preset configuration file is obtained first, then when starting application software, according to described
Configuration file modifies to the performance of program of the application software;Finally according to modified described program feature, creation is simultaneously
Show the messagewindow of the application software.By modifying performance of program, cause other application software that can not identify the application
The performance of program of software ensures that messagewindow normally shows information to avoid the messagewindow of the application program intercepted.
Referring to FIG. 2, Fig. 2 is a kind of flow diagram for interception preventing method that the embodiment of the present application proposes.As shown,
Step in the embodiment of the present application includes:
S201, determines whether the messagewindow is located in the default screen area that other application software is shown.For example,
If the display window for existing simultaneously two application software is shown in the same screen area, between two application software
Conflict can be generated, one of application software can intercept another application software, therefore before starting application software,
Can the display area position to the display window of application software detect, if the display window of two application software does not exist
It is shown in the same screen area, then terminates this step, no longer execution following step.If the display window of two application software
Mouth is shown in the same screen area, then executes S202.Wherein, messagewindow can be bubble window, the bubble window
Mouth is for showing information.
S202, if the messagewindow is located in the default screen area that other application software is shown, described in acquisition
Configuration file.Wherein, the configuration file includes modification of program information.
Wherein, described program modification information include in window title, forms class name, program name and window size extremely
One item missing.Configuration file (such as cfg.dat file) may include various configurations scheme, for example, the first allocation plan, modifies window
The performance of program such as mouth title, forms class name.Second of allocation plan, the performance of program such as modification program name.The third configuration side
Case, the performance of program such as modification window size.A switch can be set for every kind of allocation plan, when a certain configuration side of enabling
When case, the switch of the allocation plan can be opened, when deactivating a certain allocation plan, opening for the allocation plan can be closed
It closes.
Optionally, configuration file can be updated, after reading configuration file every time for example, can be with machine maintenance
Change the parameter of each performance of program such as window title, forms class name, program name and window size, ensures that reads every time matches
File difference is set, improves the anti-success rate intercepted in this way.
Optionally, it can detecte whether other application software can intercept the messagewindow of the application software, if
It determines that other application software can intercept the messagewindow of the application software, then obtains preset configuration file.If really
The messagewindow of the application software will not be intercepted by determining other application software, then terminates this step.
S203, according to the configuration file, repairs the performance of program of the application software when starting application software
Change.
In the specific implementation, when using the first allocation plan in configuration file, it can be right when starting application software
The window title or forms class name of messagewindow are modified.When using second of allocation plan in configuration file, opening
It, can be by the original program name modifications of application software at a new program name when dynamic application software.When use configuration file
In the third allocation plan when, when starting application software, the transparent window conduct of the window size can be created
The background of messagewindow, the transparent window do not influence the visual effect and user's operation of messagewindow, and other application software
Also transparent window can not be identified.
Optionally, the software type of the application software can be determined first;Then according to the software type, from described
The modification information of at least one feature is chosen in manifold modification information;Finally according to the modification of at least one feature
Information modifies to the described program feature of the application software.
For example, application software 1, application software 2 and application software 3 are respectively three kinds of different software types, each application is soft
The messagewindow of part is likely to be intercepted by other application software, therefore using different allocation plans to the journey of each application software
Sequence characteristics are modified.Application software 1 can use the first allocation plan, and the programs such as modification window title, forms class name are special
Sign, application software 2 can use second of allocation plan, the modification performance of program such as program name, and application software 3 can be using the
Three kinds of allocation plans, the performance of program such as modification window size.
Optionally, the intercepted reason information of the messagewindow of the available application software;Then according to institute
Cause information is stated, the modification information of at least one feature is chosen from manifold modification information;Finally according to
The modification information of at least one feature modifies to the described program feature of the application software.For example, working as application software 1
It, can be with so that the messagewindow of application software 2 is intercepted when can not normally show by identifying the window size of application software 2
Using the third allocation plan, the performance of program such as the window size of application software 2 are modified.
S204 creates and shows the messagewindow of the application software according to modified described program feature.
It should be noted that after the performance of program of modification application software, since application program uses modified window
Mouthful title or forms class name are modified creating the program name of window perhaps application program or messagewindow covering
On a transparent window, cause other application software that can not identify the performance of program of the application software, therefore can normally show this
The messagewindow of application software.
Optionally, the operational order that can receive user's input grasps messagewindow according to the operational order
Make.For example, opening messagewindow, closing information window or the setting for changing messagewindow etc..
In the embodiment of the present application, preset configuration file is obtained first, then when starting application software, according to described
Configuration file modifies to the performance of program of the application software;Finally according to modified described program feature, creation is simultaneously
Show the messagewindow of the application software.By modifying performance of program, cause other application software that can not identify the application
The performance of program of software ensures that messagewindow normally shows information to avoid the messagewindow of the application program intercepted.
Referring to FIG. 3, Fig. 3 is a kind of structural schematic diagram of anti-blocking apparatus provided by the embodiments of the present application.As shown,
Device in the embodiment of the present application may include:
Module 301 is obtained, for obtaining preset configuration file, the configuration file includes modification of program information.
Wherein, described program modification information include in window title, forms class name, program name and window size extremely
One item missing.Configuration file (such as cfg.dat file) may include various configurations scheme, for example, the first allocation plan, modifies window
The performance of program such as mouth title, forms class name.Second of allocation plan, the performance of program such as modification program name.The third configuration side
Case, the performance of program such as modification window size.A switch can be set for every kind of allocation plan, when a certain configuration side of enabling
When case, the switch of the allocation plan can be opened, when deactivating a certain allocation plan, opening for the allocation plan can be closed
It closes.
Optionally, configuration file can be updated, after reading configuration file every time for example, can be with machine maintenance
Change the parameter of each performance of program such as window title, forms class name, program name and window size, ensures that reads every time matches
File difference is set, improves the anti-success rate intercepted in this way.
Optionally, it can detecte whether other application software can intercept the messagewindow of the application software, if
It determines that other application software can intercept the messagewindow of the application software, then obtains preset configuration file.If really
The messagewindow of the application software will not be intercepted by determining other application software, then terminates this step.Wherein, messagewindow can
Think bubble window, the bubble window is for showing information.
Optionally, it can determine whether the messagewindow is located at the default screen area that other application software is shown
It is interior.For example, if the display window for existing simultaneously two application software is shown in the same screen area, two applications
Conflict can be generated between software, one of application software can intercept another application software, therefore apply in starting
Before software, can the display area position to the display window of application software detect, if the display of two application software
Window is shown in the same screen area, then obtains preset configuration file.Wherein, messagewindow can be bubble window
Mouthful, the bubble window is for showing information.
Processing module 302 is used for when starting application software, according to the configuration file, to the journey of the application software
Sequence characteristics are modified.
In the specific implementation, when using the first allocation plan in configuration file, it can be right when starting application software
The window title or forms class name of messagewindow are modified.When using second of allocation plan in configuration file, opening
It, can be by the original program name modifications of application software at a new program name when dynamic application software.When use configuration file
In the third allocation plan when, when starting application software, the transparent window conduct of the window size can be created
The background of messagewindow, the transparent window do not influence the visual effect and user's operation of messagewindow, and other application software
Also transparent window can not be identified.
Optionally, the software type of the application software can be determined first;Then according to the software type, from described
The modification information of at least one feature is chosen in manifold modification information;Finally according to the modification of at least one feature
Information modifies to the described program feature of the application software.
For example, application software 1, application software 2 and application software 3 are respectively three kinds of different software types, each application is soft
The messagewindow of part is likely to be intercepted by other application software, therefore using different allocation plans to the journey of each application software
Sequence characteristics are modified.Application software 1 can use the first allocation plan, and the programs such as modification window title, forms class name are special
Sign, application software 2 can use second of allocation plan, the modification performance of program such as program name, and application software 3 can be using the
Three kinds of allocation plans, the performance of program such as modification window size.
Optionally, the intercepted reason information of the messagewindow of the available application software;Then according to institute
Cause information is stated, the modification information of at least one feature is chosen from manifold modification information;Finally according to
The modification information of at least one feature modifies to the described program feature of the application software.For example, working as application software 1
It, can be with so that the messagewindow of application software 2 is intercepted when can not normally show by identifying the window size of application software 2
Using the third allocation plan, the performance of program such as the window size of application software 2 are modified.
Display module 303, for creating and showing the information of the application software according to modified described program feature
Window.
It should be noted that after the performance of program of modification application software, since application program uses modified window
Mouthful title or forms class name are modified creating the program name of window perhaps application program or messagewindow covering
On a transparent window, therefore other application software can not identify the performance of program of the application software, therefore can normally show this
The messagewindow of application software.
Optionally, the operational order that can receive user's input grasps messagewindow according to the operational order
Make.For example, opening messagewindow, closing information window or the setting for changing messagewindow etc..
In the embodiment of the present application, preset configuration file is obtained first, then when starting application software, according to described
Configuration file modifies to the performance of program of the application software;Finally according to modified described program feature, creation is simultaneously
Show the messagewindow of the application software.By modifying performance of program, cause other application software that can not identify the application
The performance of program of software ensures that messagewindow normally shows information to avoid the messagewindow of the application program intercepted.
Referring to FIG. 4, Fig. 4 is the structural schematic diagram for a kind of electronic equipment that the embodiment of the present application proposes.As shown, should
Electronic equipment may include: at least one processor 401, such as CPU, at least one communication interface 402, at least one processor
403, at least one bus 404.Wherein, bus 404 is for realizing the connection communication between these components.Wherein, the application is real
The communication interface 402 for applying electronic equipment in example is wired sending port, or wireless device, for example including antenna assembly,
For carrying out the communication of signaling or data with other node devices.Memory 403 can be high speed random access memory, be also possible to
Non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.Memory 403 is optional
It can also be that at least one is located remotely from the storage device of aforementioned processor 401.Batch processing code is stored in memory 403,
And processor 401 is used to call the program code stored in memory, for performing the following operations:
Preset configuration file is obtained, the configuration file includes modification of program information;
When starting application software, according to the configuration file, modify to the performance of program of the application software;
According to modified described program feature, the messagewindow of the application software is created and shown.
Wherein, described program modification information include in window title, forms class name, program name and window size extremely
One item missing.
Wherein, processor 401 is also used to perform the following operations step:
Create background of the transparent window of a window size as the messagewindow.
Wherein, processor 401 is also used to perform the following operations step:
Determine the software type of the application software;
According to the software type, the modification letter of at least one feature is chosen from manifold modification information
Breath;
According to the modification information of at least one feature, modify to the described program feature of the application software.
Wherein, processor 401 is also used to perform the following operations step:
Obtain the intercepted reason information of the messagewindow of the application software;
According to the cause information, the modification letter of at least one feature is chosen from manifold modification information
Breath;
According to the modification information of at least one feature, modify to the described program feature of the application software.
Wherein, processor 401 is also used to perform the following operations step:
Determine whether the messagewindow is located in the default screen area that other application software is shown;
If the messagewindow is located in the default screen area that other application software is shown, the configuration text is obtained
Part.
It should be noted that the embodiment of the present application also provides a kind of storage medium simultaneously, the storage medium is for storing
Application program, the application program for executing the operation executed in Fig. 1 and a kind of interception preventing method shown in Fig. 2 at runtime.
It should be noted that the embodiment of the present application also provides a kind of application program simultaneously, the application program is for transporting
The operation executed in Fig. 1 and a kind of interception preventing method shown in Fig. 2 is executed when row.
It should be noted that for simple description, therefore, it is stated as a systems for each embodiment of the method above-mentioned
The combination of actions of column, but those skilled in the art should understand that, the application is not limited by the described action sequence, because
For according to the application, certain some step be can be performed in other orders or simultaneously.Secondly, those skilled in the art also should
Know, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily this Shen
It please be necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, is not described in some embodiment
Part, reference can be made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can
It is completed with instructing relevant hardware by program, which can be stored in a computer readable storage medium, storage
Medium may include: flash disk, read-only memory (English: Read-Only Memory, abbreviation: ROM), random access device (English
Text: Random Access Memory, referred to as: RAM), disk or CD etc..
Content download method provided by the embodiment of the present application and relevant device, system are described in detail above,
Specific examples are used herein to illustrate the principle and implementation manner of the present application, and the explanation of above embodiments is only used
The present processes and its core concept are understood in help;At the same time, for those skilled in the art, according to the application's
Thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not be construed as
Limitation to the application.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, the skill of this field
Art personnel can tie the feature of different embodiments or examples described in this specification and different embodiments or examples
It closes and combines.
In addition, term " first ", " second " are used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance
Or implicitly indicate the quantity of indicated technical characteristic.Define " first " as a result, the feature of " second " can be expressed or
Implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two, three
It is a etc., unless otherwise specifically defined.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the application includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be by the application
Embodiment person of ordinary skill in the field understood.
Expression or logic and/or step described otherwise above herein in flow charts, for example, being considered use
In the order list for the executable instruction for realizing logic function, may be embodied in any computer-readable medium, for
Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction
The instruction fetch of row system, device or equipment and the system executed instruction) it uses, or combine these instruction execution systems, device or set
It is standby and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, stores, communicates, propagates or pass
Defeated program is for instruction execution system, device or equipment or the dress used in conjunction with these instruction execution systems, device or equipment
It sets.The more specific example (non-exhaustive list) of computer-readable medium include the following: there is the electricity of one or more wirings
Interconnecting piece (electronic device), portable computer diskette box (magnetic device), random access memory (RAM), read-only memory (ROM) can
It wipes editable read-only memory (EPROM or flash memory), fiber device and portable optic disk read-only storage
(CDROM).In addition, computer-readable medium can even is that the paper that can print described program on it or other suitable Jie
Matter, because can then be edited, be interpreted or when necessary with other for example by carrying out optical scanner to paper or other media
Suitable method is handled electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, can integrate in a processing module in each functional unit in each embodiment of the application
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application
System, those skilled in the art can be changed above-described embodiment, modify, replace and become within the scope of application
Type.
Claims (10)
1. a kind of interception preventing method, which is characterized in that the described method includes:
Preset configuration file is obtained, the configuration file includes modification of program information;
When starting application software, according to the configuration file, modify to the performance of program of the application software;
According to modified described program feature, the messagewindow of the application software is created and shown.
2. the method as described in claim 1, which is characterized in that described program modification information include window title, forms class name,
At least one of in program name and window size.
3. method according to claim 2, which is characterized in that it is described according to the configuration file, to the application software
Performance of program, which is modified, includes:
Create background of the transparent window of a window size as the messagewindow.
4. the method as described in claim 1, which is characterized in that described program modification information includes manifold modification letter
Breath, described according to the configuration file, modifying to the performance of program of the application software includes:
Determine the software type of the application software;
According to the software type, the modification information of at least one feature is chosen from manifold modification information;
According to the modification information of at least one feature, modify to the described program feature of the application software.
5. the method as described in claim 1, which is characterized in that described program modification information includes manifold modification letter
Breath, described according to the configuration file, modifying to the performance of program of the application software includes:
Obtain the intercepted reason information of the messagewindow of the application software;
According to the cause information, the modification information of at least one feature is chosen from manifold modification information;
According to the modification information of at least one feature, modify to the described program feature of the application software.
6. the method according to claim 1 to 5, which is characterized in that described to obtain preset configuration file, further includes:
Determine whether the messagewindow is located in the default screen area that other application software is shown;
If the messagewindow is located in the default screen area that other application software is shown, the configuration file is obtained.
7. a kind of anti-blocking apparatus, which is characterized in that described device includes:
Module is obtained, for obtaining preset configuration file, the configuration file includes modification of program information;
Processing module, for when starting application software, according to the configuration file, to the performance of program of the application software into
Row modification;
Display module, for creating and showing the messagewindow of the application software according to modified described program feature.
8. device as claimed in claim 7, which is characterized in that described program modification information include window title, forms class name,
At least one of in program name and window size.
9. device as claimed in claim 7, which is characterized in that
The processing module, for creating background of the transparent window of a window size as the messagewindow.
10. a kind of electronic equipment characterized by comprising processor, memory, communication interface and bus;
The processor, the memory are connected by the bus with the communication interface and complete mutual communication;
The memory stores executable program code;
The processor is run and the executable program by reading the executable program code stored in the memory
The corresponding program of code, for executing interception preventing method as claimed in any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811585287.3A CN109828808B (en) | 2018-12-24 | 2018-12-24 | Anti-interception method and related equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811585287.3A CN109828808B (en) | 2018-12-24 | 2018-12-24 | Anti-interception method and related equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109828808A true CN109828808A (en) | 2019-05-31 |
CN109828808B CN109828808B (en) | 2023-01-31 |
Family
ID=66861218
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811585287.3A Active CN109828808B (en) | 2018-12-24 | 2018-12-24 | Anti-interception method and related equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109828808B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021037050A1 (en) * | 2019-08-26 | 2021-03-04 | 华为技术有限公司 | Code change method and device |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060101263A1 (en) * | 2004-11-08 | 2006-05-11 | Microsoft Corporation | System and method of allowing user mode applications with access to file data |
CN1904823A (en) * | 2005-07-25 | 2007-01-31 | 腾讯科技(深圳)有限公司 | Multi-interface displaying method |
US8127316B1 (en) * | 2006-11-30 | 2012-02-28 | Quest Software, Inc. | System and method for intercepting process creation events |
CN102810040A (en) * | 2011-05-31 | 2012-12-05 | 联想(北京)有限公司 | Display processing method, display processing device and computer system |
CN105468674A (en) * | 2015-11-12 | 2016-04-06 | 珠海市君天电子科技有限公司 | Window interception method and device and terminal equipment |
CN106528148A (en) * | 2016-11-04 | 2017-03-22 | 广东欧珀移动通信有限公司 | Interface skipping method, interface skipping system and terminal equipment |
CN107153545A (en) * | 2017-05-09 | 2017-09-12 | 北京酷我科技有限公司 | A kind of method that pop-up is managed collectively in iOS system |
CN107391094A (en) * | 2016-05-17 | 2017-11-24 | 天津三星电子有限公司 | A kind of window display method and device |
CN108932148A (en) * | 2018-06-29 | 2018-12-04 | 北京奇虎科技有限公司 | Pop-up management method and device |
-
2018
- 2018-12-24 CN CN201811585287.3A patent/CN109828808B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060101263A1 (en) * | 2004-11-08 | 2006-05-11 | Microsoft Corporation | System and method of allowing user mode applications with access to file data |
CN1904823A (en) * | 2005-07-25 | 2007-01-31 | 腾讯科技(深圳)有限公司 | Multi-interface displaying method |
US8127316B1 (en) * | 2006-11-30 | 2012-02-28 | Quest Software, Inc. | System and method for intercepting process creation events |
CN102810040A (en) * | 2011-05-31 | 2012-12-05 | 联想(北京)有限公司 | Display processing method, display processing device and computer system |
CN105468674A (en) * | 2015-11-12 | 2016-04-06 | 珠海市君天电子科技有限公司 | Window interception method and device and terminal equipment |
CN107391094A (en) * | 2016-05-17 | 2017-11-24 | 天津三星电子有限公司 | A kind of window display method and device |
CN106528148A (en) * | 2016-11-04 | 2017-03-22 | 广东欧珀移动通信有限公司 | Interface skipping method, interface skipping system and terminal equipment |
CN107153545A (en) * | 2017-05-09 | 2017-09-12 | 北京酷我科技有限公司 | A kind of method that pop-up is managed collectively in iOS system |
CN108932148A (en) * | 2018-06-29 | 2018-12-04 | 北京奇虎科技有限公司 | Pop-up management method and device |
Non-Patent Citations (8)
Title |
---|
WEIXIN_34392906: "解决浏览器拦截弹出窗口问题", 《HTTPS://BLOG.CSDN.NET/WEIXIN_34392906/ARTICLE/DETAILS/86465168》, 28 September 2018 (2018-09-28) * |
俞华: "如何解决javascript弹窗被阻止?——华为云bug解决", 《HTTPS://BLOG.CSDN.NET/QQ_17175013/ARTICLE/DETAILS/83003018》, 10 October 2018 (2018-10-10) * |
博客园: "解决浏览器拦截弹出窗口问题", 《HTTPS://WWW.CNBLOGS.COM/GOLOVING/P/9721210.HTML》 * |
博客园: "解决浏览器拦截弹出窗口问题", 《HTTPS://WWW.CNBLOGS.COM/GOLOVING/P/9721210.HTML》, 28 September 2018 (2018-09-28) * |
嘶吼ROARTALK: "通过伪造内网网站绕过弹出窗口屏蔽、XSS过滤器以及Navigate方法", 《HTTPS://ZHUANLAN.ZHIHU.COM/P/26219050》 * |
嘶吼ROARTALK: "通过伪造内网网站绕过弹出窗口屏蔽、XSS过滤器以及Navigate方法", 《HTTPS://ZHUANLAN.ZHIHU.COM/P/26219050》, 7 April 2017 (2017-04-07) * |
百度经验: "软件弹窗怎么拦截过滤网页和软件骚扰弹窗方法", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/DCA1FA6F0D87BFF1A4405283.HTML》 * |
百度经验: "软件弹窗怎么拦截过滤网页和软件骚扰弹窗方法", 《HTTPS://JINGYAN.BAIDU.COM/ARTICLE/DCA1FA6F0D87BFF1A4405283.HTML》, 8 November 2018 (2018-11-08) * |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2021037050A1 (en) * | 2019-08-26 | 2021-03-04 | 华为技术有限公司 | Code change method and device |
Also Published As
Publication number | Publication date |
---|---|
CN109828808B (en) | 2023-01-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104133884B (en) | Show the method and device of webpage | |
CN110210021A (en) | Read understanding method and device | |
CN104199603B (en) | Browser webpage control method and device and terminal | |
US20150279070A1 (en) | Automatically Fixing Inaccessible Widgets During Mobile Application Execution | |
CN108282518A (en) | A kind of customer terminal webpage generation method and device | |
CN109308207A (en) | A kind of display methods of dynamic wallpaper, device, electronic equipment and storage medium | |
US10452231B2 (en) | Usability improvements for visual interfaces | |
CN110162525A (en) | Read/write conflict solution, device and storage medium based on B+ tree | |
US10255711B2 (en) | System and method for providing contents by merging layers of page to which motion effect is set | |
CN109597628A (en) | The method and cloud handset server of cloud mobile phone application copy | |
CN109683880A (en) | Webpage exchange method, device, equipment and storage medium | |
CN107272984A (en) | Application icon preview method and device and electronic equipment | |
CN108491195A (en) | Equipment controls page generation method and system | |
CN108959495A (en) | Page display method, device, equipment and the computer storage medium of H5 webpage | |
CN109086109A (en) | Page display method and device, electronic equipment and medium | |
US10755446B2 (en) | System and method for providing contents using automatic margin creation | |
CN107341005A (en) | Chart generation method and its device | |
CN105786920A (en) | Method and device for presenting interface label | |
CN109582153A (en) | information input method and device | |
CN108897592A (en) | A kind of software methods of exhibiting and relevant device | |
CN110362371B (en) | View level control method, device and system, computer equipment and medium | |
CN113407254B (en) | Form generation method and device, electronic equipment and storage medium | |
CN109828808A (en) | A kind of interception preventing method and relevant device | |
CN104598277A (en) | Method for building mobile terminal applications, mobile terminal and system | |
US10838579B2 (en) | Custom list for keyboard navigation of user interface |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |