CN109828808B - Anti-interception method and related equipment - Google Patents
Anti-interception method and related equipment Download PDFInfo
- Publication number
- CN109828808B CN109828808B CN201811585287.3A CN201811585287A CN109828808B CN 109828808 B CN109828808 B CN 109828808B CN 201811585287 A CN201811585287 A CN 201811585287A CN 109828808 B CN109828808 B CN 109828808B
- Authority
- CN
- China
- Prior art keywords
- application software
- window
- information
- program
- configuration file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the application discloses an anti-interception method and related equipment, which comprise the following steps: acquiring a preset configuration file, wherein the configuration file comprises program modification information; when the application software is started, modifying the program characteristics of the application software according to the configuration file; and creating and displaying an information window of the application software according to the modified program characteristics. By adopting the embodiment of the application, the information window is prevented from being intercepted, and the information displayed by the information window is ensured.
Description
Technical Field
The present application relates to the field of electronic technologies, and in particular, to an anti-interception method and related devices.
Background
Many application software now display information through an information window (e.g., bubble window) that a user can view to obtain information. However, if a plurality of application software display information windows exist at the same time, a competitive relationship exists between the application software, and one application software may intercept an information window of another application software, so that the information window of another application software cannot be normally displayed.
Disclosure of Invention
The embodiment of the application provides an anti-interception method and related equipment. The information window can be prevented from being intercepted, and the information displayed by the information window is guaranteed.
In a first aspect, an embodiment of the present application provides an anti-interception method, including:
acquiring a preset configuration file, wherein the configuration file comprises program modification information;
when the application software is started, modifying the program characteristics of the application software according to the configuration file;
and creating and displaying an information window of the application software according to the modified program characteristics.
Wherein the program modification information includes at least one of a window title, a form class name, a program name, and a window size.
Wherein the modifying the program features of the application software according to the configuration file comprises:
creating a transparent window of said window size as a background for said information window.
Wherein the program modification information includes modification information of a plurality of features, and modifying the program features of the application software according to the configuration file includes:
determining a software type of the application software;
selecting modification information of at least one feature from the modification information of the plurality of features according to the software type;
and modifying the program characteristics of the application software according to the modification information of the at least one characteristic.
Wherein the program modification information includes modification information of a plurality of features, and modifying the program features of the application software according to the configuration file includes:
acquiring reason information of the intercepted information window of the application software;
selecting modification information of at least one feature from the modification information of the plurality of features according to the reason information;
and modifying the program characteristics of the application software according to the modification information of the at least one characteristic.
Wherein, obtaining the preset configuration file further comprises:
determining whether the information window is located in a preset screen area displayed by other application software;
and if the information window is positioned in a preset screen area displayed by other application software, acquiring the configuration file.
In a second aspect, an embodiment of the present application provides an anti-interception apparatus, including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring a preset configuration file, and the configuration file comprises program modification information;
the processing module is used for modifying the program characteristics of the application software according to the configuration file when the application software is started;
and the display module is used for creating and displaying the information window of the application software according to the modified program characteristics.
Wherein the program modification information includes at least one of a window title, a form class name, a program name, and a window size.
Wherein, the processing module is configured to create a transparent window of the window size as a background of the information window.
Wherein the program modification information includes modification information of a plurality of features;
the processing module is further used for determining the software type of the application software; selecting modification information of at least one feature from the modification information of the plurality of features according to the software type; and modifying the program characteristics of the application software according to the modification information of the at least one characteristic.
Wherein the program modification information includes modification information of a plurality of features;
the processing module is further configured to obtain reason information for intercepting the information window of the application software; selecting modification information of at least one feature from the modification information of the plurality of features according to the reason information; and modifying the program characteristics of the application software according to the modification information of the at least one characteristic.
The processing module is further configured to determine whether the information window is located in a preset screen area displayed by other application software; and if the information window is positioned in a preset screen area displayed by other application software, acquiring the configuration file.
In a third aspect, an embodiment of the present application provides an electronic device, including: a processor, a memory, a communication interface, and a bus;
the processor, the memory and the communication interface are connected through the bus and complete mutual communication;
the memory stores executable program code;
the processor runs a program corresponding to the executable program code by reading the executable program code stored in the memory for executing the above-described executed method.
Accordingly, an embodiment of the present application provides a storage medium, where the storage medium is used to store an application program, and the application program is used to execute, at runtime, the anti-interception method disclosed in the first aspect of the embodiment of the present application.
Accordingly, an embodiment of the present application provides an application program, where the application program is configured to execute the anti-interception method disclosed in the first aspect of the embodiment of the present application at runtime.
The method comprises the steps of firstly obtaining a preset configuration file, and then modifying the program characteristics of application software according to the configuration file when the application software is started; and finally, creating and displaying an information window of the application software according to the modified program characteristics. By modifying the program characteristics, other application software cannot recognize the program characteristics of the application software, so that the information window of the application program is prevented from being intercepted, and the normal information display of the information window is ensured.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of an anti-interception method according to an embodiment of the present application;
fig. 2 is a schematic flow chart of another anti-interception method according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of an anti-interception device according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Referring to fig. 1, fig. 1 is a schematic flow chart of an anti-interception method according to an embodiment of the present application. As shown in the figures, the steps in the embodiment of the present application include:
s101, acquiring a preset configuration file, wherein the configuration file comprises program modification information.
Wherein the program modification information includes at least one of a window title, a form class name, a program name, and a window size. Dat files can include a variety of configuration schemes, such as a first configuration scheme, modifying program characteristics such as window title, form class name, etc. And in the second configuration scheme, program characteristics such as program names are modified. And in the third configuration scheme, the program characteristics such as window size and the like are modified. A switch may be provided for each configuration scheme, and the switch for a configuration scheme may be opened when a configuration scheme is enabled and closed when a configuration scheme is disabled.
Optionally, after the configuration file is read each time, the configuration file may be updated, for example, parameters of program features such as a window title, a window class name, a program name, and a window size may be randomly modified, so as to ensure that the configuration files read each time are different, thereby improving the success rate of anti-interception.
Optionally, it may be detected whether other application software intercepts the information window of the application software, and if it is determined that other application software intercepts the information window of the application software, the preset configuration file is obtained. If it is determined that other application software will not intercept the information window of the application software, this step is terminated. Wherein, the information window can be a bubble window, and the bubble window is used for displaying information.
And S102, when the application software is started, modifying the program characteristics of the application software according to the configuration file.
In a specific implementation, when the first configuration scheme in the configuration file is used, the window title or the form class name of the information window may be modified when the application software is started. When the second configuration scheme in the configuration file is used, the original program name of the application software can be modified to a new program name when the application software is started. When the third configuration scheme in the configuration file is used, when the application software is started, a transparent window with the size of the window can be created as the background of the information window, the transparent window does not affect the visual effect and the user operation of the information window, and other application software cannot identify the transparent window.
Alternatively, the software type of the application software may be determined first; then according to the software type, selecting modification information of at least one characteristic from the modification information of the multiple characteristics; and finally, modifying the program characteristics of the application software according to the modification information of the at least one characteristic.
For example, the application software 1, the application software 2 and the application software 3 are respectively of three different software types, and the information window of each application software is likely to be intercepted by other application software, so that the program features of each application software are modified by adopting different configuration schemes. The application software 1 can adopt a first configuration scheme to modify program characteristics such as window titles and window class names, the application software 2 can adopt a second configuration scheme to modify program characteristics such as program names, and the application software 3 can adopt a third configuration scheme to modify program characteristics such as window sizes.
Optionally, the reason information for intercepting the information window of the application software may be obtained; then, according to the reason information, selecting modification information of at least one characteristic from the modification information of the multiple characteristics; and finally, modifying the program characteristics of the application software according to the modification information of the at least one characteristic. For example, when the application software 1 intercepts the information window of the application software 2 by identifying the window size of the application software 2, and cannot normally display the information window, the third configuration scheme may be adopted to modify the program characteristics such as the window size of the application software 2.
S103, creating and displaying an information window of the application software according to the modified program characteristics.
It should be noted that after the program features of the application software are modified, since the application program creates a window using the modified window title or form class name, or the program name of the application program has been modified, or the information window is overlaid on the transparent window, the program features of the application software cannot be identified by other application software, so that the information window of the application software can be normally displayed.
Optionally, an operation instruction input by a user may be received, and the information window is operated according to the operation instruction. For example, opening an information window, closing an information window, or changing the settings of an information window, etc.
In the embodiment of the application, a preset configuration file is firstly obtained, and then when the application software is started, the program characteristics of the application software are modified according to the configuration file; and finally, creating and displaying an information window of the application software according to the modified program characteristics. By modifying the program characteristics, other application software cannot recognize the program characteristics of the application software, so that the information window of the application program is prevented from being intercepted, and the normal information display of the information window is ensured.
Referring to fig. 2, fig. 2 is a schematic flowchart illustrating an anti-interception method according to an embodiment of the present disclosure. As shown in the figures, the steps in the embodiment of the present application include:
s201, determining whether the information window is located in a preset screen area displayed by other application software. For example, if two display windows of the application software are displayed in the same screen area at the same time, a conflict may occur between the two application software, and one of the application software may intercept the other application software, so that before the application software is started, the display area position of the display window of the application software may be detected, and if the display windows of the two application software are not displayed in the same screen area, the step is terminated, and the following steps are not performed. If the display windows of the two application software are displayed in the same screen area, S202 is executed. Wherein, the information window can be a bubble window, and the bubble window is used for displaying information.
S202, if the information window is located in a preset screen area displayed by other application software, the configuration file is obtained. Wherein the configuration file includes program modification information.
Wherein the program modification information includes at least one of a window title, a form class name, a program name, and a window size. A profile (e.g., cfg.dat file) may include a plurality of profiles, e.g., a first profile, modifying program characteristics such as window title, form class name, etc. And in the second configuration scheme, program characteristics such as program names are modified. And in the third configuration scheme, the program characteristics such as window size and the like are modified. A switch may be provided for each configuration scheme, and when a configuration scheme is enabled, the switch for that configuration scheme may be opened, and when a configuration scheme is disabled, the switch for that configuration scheme may be closed.
Optionally, after the configuration file is read each time, the configuration file may be updated, for example, parameters of program features such as a window title, a window class name, a program name, and a window size may be randomly modified, so as to ensure that the configuration files read each time are different, thereby improving the success rate of anti-interception.
Optionally, it may be detected whether other application software intercepts the information window of the application software, and if it is determined that other application software intercepts the information window of the application software, the preset configuration file is obtained. If the other application software is determined not to intercept the information window of the application software, the step is terminated.
S203, when the application software is started, modifying the program characteristics of the application software according to the configuration file.
In a specific implementation, when the first configuration scheme in the configuration file is used, the window title or the form class name of the information window may be modified when the application software is started. When the second configuration scheme in the configuration file is used, the original program name of the application software can be modified to a new program name when the application software is started. When the third configuration scheme in the configuration file is used, when the application software is started, a transparent window with the size of the window can be created as the background of the information window, the transparent window does not affect the visual effect and the user operation of the information window, and other application software cannot identify the transparent window.
Alternatively, the software type of the application software may be determined first; then according to the software type, selecting modification information of at least one characteristic from the modification information of the multiple characteristics; and finally, modifying the program characteristics of the application software according to the modification information of the at least one characteristic.
For example, the application software 1, the application software 2 and the application software 3 are respectively of three different software types, and the information window of each application software is likely to be intercepted by other application software, so that the program features of each application software are modified by adopting different configuration schemes. The application software 1 can adopt a first configuration scheme to modify program characteristics such as window titles, window class names and the like, the application software 2 can adopt a second configuration scheme to modify program characteristics such as program names and the like, and the application software 3 can adopt a third configuration scheme to modify program characteristics such as window sizes and the like.
Optionally, the information of the reason for intercepting the information window of the application software may be obtained; then according to the reason information, selecting the modification information of at least one characteristic from the modification information of the multiple characteristics; and finally, modifying the program characteristics of the application software according to the modification information of the at least one characteristic. For example, when the application software 1 intercepts the information window of the application software 2 by identifying the window size of the application software 2, and cannot normally display the information window, the third configuration scheme may be adopted to modify the program characteristics such as the window size of the application software 2.
And S204, creating and displaying an information window of the application software according to the modified program characteristics.
It should be noted that after the program features of the application software are modified, since the application program creates a window using the modified window title or form class name, or the program name of the application program has been modified, or the information window is overlaid on the transparent window, the program features of the application software cannot be identified by other application software, so that the information window of the application software can be normally displayed.
Optionally, an operation instruction input by a user may be received, and the information window is operated according to the operation instruction. For example, opening an information window, closing an information window, or changing the settings of an information window, etc.
In the embodiment of the application, a preset configuration file is firstly obtained, and then when the application software is started, the program characteristics of the application software are modified according to the configuration file; and finally, creating and displaying an information window of the application software according to the modified program characteristics. By modifying the program characteristics, other application software cannot recognize the program characteristics of the application software, so that the information window of the application program is prevented from being intercepted, and the normal information display of the information window is ensured.
Referring to fig. 3, fig. 3 is a schematic structural diagram of an anti-blocking device according to an embodiment of the present disclosure. As shown, the apparatus in the embodiment of the present application may include:
an obtaining module 301, configured to obtain a preset configuration file, where the configuration file includes program modification information.
Wherein the program modification information includes at least one of a window title, a form class name, a program name, and a window size. A profile (e.g., cfg.dat file) may include a plurality of profiles, e.g., a first profile, modifying program characteristics such as window title, form class name, etc. And in the second configuration scheme, program characteristics such as program names are modified. And in the third configuration scheme, the program characteristics such as window size and the like are modified. A switch may be provided for each configuration scheme, and the switch for a configuration scheme may be opened when a configuration scheme is enabled and closed when a configuration scheme is disabled.
Optionally, after the configuration file is read each time, the configuration file may be updated, for example, parameters of each program feature, such as a window title, a window class name, a program name, and a window size, may be randomly modified, so as to ensure that the configuration files read each time are different, thereby improving the success rate of anti-interception.
Optionally, it may be detected whether other application software will intercept the information window of the application software, and if it is determined that other application software will intercept the information window of the application software, the preset configuration file is obtained. If it is determined that other application software will not intercept the information window of the application software, this step is terminated. Wherein, the information window can be a bubble window, and the bubble window is used for displaying information.
Alternatively, it may be determined whether the information window is located in a preset screen area displayed by other application software. For example, if two display windows of the application software are displayed in the same screen area at the same time, a conflict may occur between the two application software, and one of the application software may intercept the other application software, so that before the application software is started, the display area position of the display window of the application software may be detected, and if the display windows of the two application software are displayed in the same screen area, the preset configuration file may be obtained. Wherein, the information window can be a bubble window, and the bubble window is used for displaying information.
The processing module 302 is configured to modify, when the application software is started, the program feature of the application software according to the configuration file.
In a specific implementation, when the first configuration scheme in the configuration file is used, the window title or the form class name of the information window may be modified when the application software is started. When the second configuration scheme in the configuration file is used, the original program name of the application software can be modified to a new program name when the application software is started. When the third configuration scheme in the configuration file is used, when the application software is started, a transparent window with the size of the window can be created as the background of the information window, the transparent window does not affect the visual effect and the user operation of the information window, and other application software cannot identify the transparent window.
Alternatively, the software type of the application software may be determined first; then according to the software type, selecting modification information of at least one characteristic from the modification information of the multiple characteristics; and finally, modifying the program characteristics of the application software according to the modification information of the at least one characteristic.
For example, the application software 1, the application software 2 and the application software 3 are respectively of three different software types, and the information window of each application software is likely to be intercepted by other application software, so that the program features of each application software are modified by adopting different configuration schemes. The application software 1 can adopt a first configuration scheme to modify program characteristics such as window titles and window class names, the application software 2 can adopt a second configuration scheme to modify program characteristics such as program names, and the application software 3 can adopt a third configuration scheme to modify program characteristics such as window sizes.
Optionally, the information of the reason for intercepting the information window of the application software may be obtained; then, according to the reason information, selecting modification information of at least one characteristic from the modification information of the multiple characteristics; and finally, modifying the program characteristics of the application software according to the modification information of the at least one characteristic. For example, when the application software 1 intercepts the information window of the application software 2 by identifying the window size of the application software 2, and cannot normally display the information window, the third configuration scheme may be adopted to modify the program characteristics such as the window size of the application software 2.
A display module 303, configured to create and display an information window of the application software according to the modified program feature.
It should be noted that, after the program features of the application software are modified, because the application program creates a window using the modified window title or form class name, or the program name of the application program has been modified, or the information window is overlaid on the transparent window, other application software cannot identify the program features of the application software, and therefore, the information window of the application software can be displayed normally.
Optionally, an operation instruction input by a user may be received, and the information window is operated according to the operation instruction. For example, opening an information window, closing an information window, or changing the settings of an information window, etc.
In the embodiment of the application, a preset configuration file is firstly obtained, and then when the application software is started, the program characteristics of the application software are modified according to the configuration file; and finally, creating and displaying an information window of the application software according to the modified program characteristics. By modifying the program characteristics, other application software cannot recognize the program characteristics of the application software, so that the information window of the application program is prevented from being intercepted, and the normal information display of the information window is ensured.
Referring to fig. 4, fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. As shown, the electronic device may include: at least one processor 401, e.g., a CPU, at least one communication interface 402, at least one memory 403, at least one bus 404. Bus 404 is used to enable, among other things, connectivity communication between these components. In this embodiment, the communication interface 402 of the electronic device in this application is a wired transmission port, and may also be a wireless device, for example, including an antenna apparatus, for performing signaling or data communication with other node devices. The memory 403 may be a high-speed random access memory (ram) or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 403 may optionally be at least one storage device located remotely from the processor 401. A set of program codes is stored in the memory 403 and the processor 401 is used to call the program codes stored in the memory for performing the following operations:
acquiring a preset configuration file, wherein the configuration file comprises program modification information;
when the application software is started, modifying the program characteristics of the application software according to the configuration file;
and creating and displaying an information window of the application software according to the modified program characteristics.
Wherein the program modification information includes at least one of a window title, a form class name, a program name, and a window size.
Wherein, the processor 401 is further configured to perform the following operation steps:
creating a transparent window of said window size as a background for said information window.
Wherein, the processor 401 is further configured to perform the following operation steps:
determining a software type of the application software;
selecting modification information of at least one feature from the modification information of the multiple features according to the software type;
and modifying the program characteristics of the application software according to the modification information of the at least one characteristic.
Wherein, the processor 401 is further configured to perform the following operation steps:
acquiring reason information of the intercepted information window of the application software;
selecting modification information of at least one feature from the modification information of the plurality of features according to the reason information;
and modifying the program characteristics of the application software according to the modification information of the at least one characteristic.
Wherein, the processor 401 is further configured to execute the following operation steps:
determining whether the information window is located in a preset screen area displayed by other application software;
and if the information window is positioned in a preset screen area displayed by other application software, acquiring the configuration file.
It should be noted that, the embodiment of the present application also provides a storage medium for storing an application program, where the application program is used to execute, at runtime, an operation performed in one of the anti-interception methods shown in fig. 1 and fig. 2.
It should be noted that, the embodiment of the present application also provides an application program, and the application program is configured to execute, at runtime, operations performed in an anti-interception method shown in fig. 1 and fig. 2.
It should be noted that, for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts or combinations, but those skilled in the art should understand that the present application is not limited by the order of acts described, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by associated hardware instructed by a program, which may be stored in a computer-readable storage medium, and the storage medium may include: flash Memory disks, read-Only memories (ROMs), random Access Memories (RAMs), magnetic or optical disks, and the like.
The content downloading method, the related device and the system provided in the embodiment of the present application are described in detail above, and a specific example is applied in the present application to explain the principle and the embodiment of the present application, and the description of the above embodiment is only used to help understand the method and the core idea of the present application; meanwhile, for a person skilled in the art, according to the idea of the present application, the specific implementation manner and the application scope may be changed, and in summary, the content of the present specification should not be construed as a limitation to the present application.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or to implicitly indicate the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless explicitly specified otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps in the process, and alternate implementations are included within the scope of the preferred embodiment of the present application in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer-readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Claims (7)
1. An anti-interception method, characterized in that it comprises:
detecting whether other application software intercepts an information window of the application software, if so, acquiring a preset configuration file and updating the configuration file, wherein the configuration file comprises program modification information, and the program modification information comprises modification information with various characteristics;
when the application software is started, modifying the program characteristics of the application software according to the configuration file, wherein the modifying comprises the following steps: acquiring reason information of the intercepted information window of the application software; selecting modification information of at least one feature from the modification information of the plurality of features according to the reason information; modifying the program features of the application software according to the modification information of the at least one feature, wherein the modification information of the plurality of features comprises at least one of a window title, a window class name, a program name and a window size, and the modified program features of the application software cannot be identified by other software;
and creating and displaying an information window of the application software according to the modified program characteristics.
2. The method of claim 1, wherein said modifying program features of said application software according to said configuration file comprises:
creating a transparent window of said window size as a background for said information window.
3. The method of claim 1 or 2, wherein the obtaining of the preset configuration file further comprises:
determining whether the information window is located in a preset screen area displayed by other application software;
and if the information window is positioned in a preset screen area displayed by other application software, acquiring the configuration file.
4. An anti-interception device, characterized in that it comprises:
the acquisition module is used for detecting whether other application software intercepts an information window of the application software, acquiring a preset configuration file if the other application software intercepts the information window of the application software, and updating the configuration file, wherein the configuration file comprises program modification information, and the program modification information comprises modification information with various characteristics;
a processing module, configured to modify, according to the configuration file, a program feature of the application software when the application software is started, where the processing module includes: acquiring reason information of the intercepted information window of the application software; selecting modification information of at least one feature from the modification information of the plurality of features according to the reason information; modifying the program features of the application software according to the modification information of the at least one feature, wherein the modification information of the plurality of features comprises at least one of a window title, a window class name, a program name and a window size, and the modified program features of the application software cannot be identified by other software;
and the display module is used for creating and displaying the information window of the application software according to the modified program characteristics.
5. The apparatus of claim 4,
the processing module is used for creating a transparent window with the window size as the background of the information window.
6. The apparatus of claim 4 or 5,
the processing module is also used for determining whether the information window is positioned in a preset screen area displayed by other application software; and if the information window is positioned in a preset screen area displayed by other application software, acquiring the configuration file.
7. An electronic device, comprising: a processor, a memory, a communication interface, and a bus;
the processor, the memory and the communication interface are connected through the bus and complete mutual communication;
the memory stores executable program code;
the processor executes a program corresponding to the executable program code by reading the executable program code stored in the memory, for performing the anti-interception method according to any one of claims 1 to 3.
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 CN109828808A (en) | 2019-05-31 |
CN109828808B true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110780897B (en) * | 2019-08-26 | 2022-05-10 | 华为云计算技术有限公司 | Code changing method and device |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1904823A (en) * | 2005-07-25 | 2007-01-31 | 腾讯科技(深圳)有限公司 | Multi-interface displaying method |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7478237B2 (en) * | 2004-11-08 | 2009-01-13 | Microsoft Corporation | System and method of allowing user mode applications with access to file data |
US8127316B1 (en) * | 2006-11-30 | 2012-02-28 | Quest Software, Inc. | System and method for intercepting process creation events |
CN102810040B (en) * | 2011-05-31 | 2016-03-30 | 联想(北京)有限公司 | A kind of display processing method, 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 |
-
2018
- 2018-12-24 CN CN201811585287.3A patent/CN109828808B/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1904823A (en) * | 2005-07-25 | 2007-01-31 | 腾讯科技(深圳)有限公司 | Multi-interface displaying method |
Non-Patent Citations (3)
Title |
---|
weixin_34392906.解决浏览器拦截弹出窗口问题.《https://blog.csdn.net/weixin_34392906/article/details/86465168》.CSDN,2018, * |
俞华.如何解决javascript弹窗被阻止?——华为云bug解决.《https://blog.csdn.net/qq_17175013/article/details/83003018》.CSDN,2018, * |
软件弹窗怎么拦截过滤网页和软件骚扰弹窗方法;百度经验;《https://jingyan.baidu.com/article/dca1fa6f0d87bff1a4405283.html》;20181108;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN109828808A (en) | 2019-05-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8676770B2 (en) | Displaying changes to versioned files | |
US9921817B2 (en) | Application name modification method and device, and storage medium | |
CN104866341A (en) | Component upgrading method and device and terminal | |
CN106528791A (en) | Method and device for pushing notification messages | |
KR101551206B1 (en) | A vehicle data control system and a control method | |
CN104346202A (en) | Setting method and device of terminal application program and terminal | |
CN110764849A (en) | Rendering method and device for user interface, client device and electronic device | |
CN107491324A (en) | A kind of method and terminal for installing application program | |
CN113867743A (en) | Network operating system loading burning method and device, electronic equipment and storage medium | |
CN109828808B (en) | Anti-interception method and related equipment | |
US9037994B2 (en) | Navigation to a data definition in a diff context | |
JP2016533588A (en) | Storage processing method, apparatus and terminal | |
CN110889116A (en) | Advertisement blocking method and device and electronic equipment | |
CN110187872A (en) | A kind of BIOS development approach, system and electronic equipment and storage medium | |
CN113849236A (en) | Configuration method for BIOS customization and related components | |
CN111198830B (en) | Identification method and device of mobile storage equipment, electronic equipment and storage medium | |
CN106708569B (en) | Hot loading method and device for VOBC configuration file in over-the-line train | |
CN105847516B (en) | A kind of method for managing contact person information and device | |
CN113272785B (en) | Method for mounting file system, terminal equipment and storage medium | |
CN112434494A (en) | Text editing method, device, terminal and storage medium | |
CN105278993B (en) | A kind of drive module upgrade method and device based on linux system | |
US8549273B1 (en) | Method and apparatus to present a unique background image on a personal computer display when the computer system is booted from an external drive | |
CN112068895B (en) | Code configuration method, device, video playing equipment and storage medium | |
CN104461251A (en) | Application program label display method and device | |
CN105631318B (en) | A kind of acquisition methods and device of registration table key assignments |
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 |