CN106228156B - A kind of method and apparatus of determining information alert content - Google Patents
A kind of method and apparatus of determining information alert content Download PDFInfo
- Publication number
- CN106228156B CN106228156B CN201610566745.3A CN201610566745A CN106228156B CN 106228156 B CN106228156 B CN 106228156B CN 201610566745 A CN201610566745 A CN 201610566745A CN 106228156 B CN106228156 B CN 106228156B
- Authority
- CN
- China
- Prior art keywords
- interface
- detected
- information alert
- substrate
- information
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/20—Image preprocessing
- G06V10/22—Image preprocessing by selection of a specific region containing or referencing a pattern; Locating or processing of specific regions to guide the detection or recognition
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Theoretical Computer Science (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The object of the present invention is to provide a kind of method and apparatus of determining information alert content.Wherein, the present invention is when detecting the information alert interface to be detected currently popped up in operating system, obtain the information alert interface to be detected, and information alert content corresponding to substrate interface similar with the information alert interface to be detected in substrate interface based on one or more, determine information alert content corresponding to the information alert interface to be detected.Invention replaces in the prior art by OCR technique come the scheme of the word content in recognition user interface image, and substrate interface similar with information alert interface to be detected is determined by the way of substrate interface, and then information alert content corresponding to the determining and information alert interface to be detected.For OCR technique, the present invention is higher to the recognition success rate of information alert content.
Description
Technical field
The present invention relates to information technology field more particularly to a kind of technologies of determining information alert content.
Background technique
It sometimes include word content in the images such as the dialog box currently, such as in operating system popped up, for mentioning
Show the certain items that should be noted of user.In the prior art, OCR (Optical Character can generally be passed through
Recognition, optical character identification) technology identifies word content included in these images.However, OCR technique is known
Other success rate is not high, especially for the identification of Chinese text.
Summary of the invention
The object of the present invention is to provide a kind of method and apparatus of determining information alert content.
According to an aspect of the invention, there is provided a kind of method of determining information alert content, wherein this method packet
It includes:
When detecting the information alert interface to be detected currently popped up in operating system, the letter to be detected is obtained
Cease prompting interface;
Based on one or more in substrate interface corresponding to substrate interface similar with the information alert interface to be detected
Information alert content, determine information alert content corresponding to the information alert interface to be detected, wherein it is one or
Each of multiple template interface substrate interface corresponds respectively to an information alert content.
According to another aspect of the present invention, a kind of device of determining information alert content is additionally provided, wherein the device
Include:
For obtaining described to be checked when detecting the information alert interface to be detected currently popped up in operating system
The device of measurement information prompting interface;
For substrate interface institute similar with the information alert interface to be detected in substrate interface based on one or more
Corresponding information alert content determines the device of information alert content corresponding to the information alert interface to be detected, wherein
Each of one or more of substrate interfaces substrate interface corresponds respectively to an information alert content.
Compared with prior art, the present invention, which works as, detects the information alert interface to be detected currently popped up in operating system
When, obtain the information alert interface to be detected, and based on one or more in substrate interface with the information alert interface to be detected
Information alert content corresponding to similar substrate interface determines in information alert corresponding to the information alert interface to be detected
Hold.Invention replaces in the prior art by OCR technique come the scheme of the word content in recognition user interface image, and adopt
Substrate interface similar with information alert interface to be detected, and then the determining and letter to be detected are determined with the mode of substrate interface
Cease information alert content corresponding to prompting interface.For OCR technique, the present invention is identified as information alert content
Power is higher.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, of the invention other
Feature, objects and advantages will become more apparent upon:
Fig. 1 shows a kind of method flow diagram of determining information alert content according to an embodiment of the invention;
Fig. 2 shows a kind of schematic devices of determining information alert content according to an embodiment of the invention.
The same or similar appended drawing reference represents the same or similar component in attached drawing.
Specific embodiment
It should be mentioned that some exemplary embodiments are described as before exemplary embodiment is discussed in greater detail
The processing or method described as flow chart.Although operations are described as the processing of sequence by flow chart, therein to be permitted
Multioperation can be implemented concurrently, concomitantly or simultaneously.In addition, the sequence of operations can be rearranged.When it
The processing can be terminated when operation completion, it is also possible to have the additional step being not included in attached drawing.The processing
It can correspond to method, function, regulation, subroutine, subprogram etc..
Alleged " computer equipment " within a context, also referred to as " computer ", referring to can be by running preset program or referring to
Enable to execute numerical value and calculate and/or the intelligent electronic device of the predetermined process process such as logic calculation, may include processor with
Memory executes the program instruction that prestores in memory by processor to execute predetermined process process, or by ASIC,
The hardware such as FPGA, DSP execute predetermined process process, or are realized by said two devices combination.Computer equipment includes but unlimited
In server, PC, laptop, tablet computer, smart phone etc..
The computer equipment is for example including user equipment and the network equipment.Wherein, the user equipment includes but unlimited
In smart phone, PDA, PC, laptop etc.;The network equipment includes but is not limited to single network server, multiple nets
The server group of network server composition or based on cloud computing (Cloud Computing) by a large number of computers or network servers
The cloud of composition, wherein cloud computing is one kind of distributed computing, and one consisting of a loosely coupled set of computers super
Virtual machine.Wherein, the computer equipment can isolated operation realize the present invention, also can access network and by with network
In the interactive operations of other computer equipments realize the present invention.Wherein, network locating for the computer equipment include but
It is not limited to internet, wide area network, Metropolitan Area Network (MAN), local area network, VPN network etc..
It should be noted that the user equipment, the network equipment and network etc. are only for example, other are existing or from now on may be used
The computer equipment or network that can occur such as are applicable to the present invention, should also be included within the scope of protection of the present invention, and to draw
It is incorporated herein with mode.
The method (some of them illustrated by process) discussed herein below can by hardware, software, firmware, in
Between part, microcode, hardware description language or any combination thereof implement.When with software, firmware, middleware or microcode come real
Shi Shi, program code or code segment to implement necessary task can be stored in machine or computer-readable medium (such as
Storage medium) in.Necessary task can be implemented in (one or more) processor.
Specific structure and function details disclosed herein are only representative, and are for describing the present invention show
The purpose of example property embodiment.But the present invention can be implemented by many alternative forms, and be not interpreted as
It is limited only by the embodiments set forth herein.
Although it should be understood that may have been used term " first ", " second " etc. herein to describe each unit,
But these units should not be limited by these terms.The use of these items is only for by a unit and another unit
It distinguishes.For example, without departing substantially from the range of exemplary embodiment, it is single that first unit can be referred to as second
Member, and similarly second unit can be referred to as first unit.Term "and/or" used herein above include one of them or
Any and all combinations of more listed associated items.
Term used herein above is not intended to limit exemplary embodiment just for the sake of description specific embodiment.Unless
Context clearly refers else, otherwise singular used herein above "one", " one " also attempt to include plural number.Also answer
When understanding, term " includes " and/or "comprising" used herein above provide stated feature, integer, step, operation,
The presence of unit and/or component, and do not preclude the presence or addition of other one or more features, integer, step, operation, unit,
Component and/or combination thereof.
It should further be mentioned that the function action being previously mentioned can be attached according to being different from some replace implementations
The sequence indicated in figure occurs.For example, related function action is depended on, the two width figures shown in succession actually may be used
Substantially simultaneously to execute or can execute in a reverse order sometimes.
Present invention is further described in detail with reference to the accompanying drawing.
The present invention can be realized by user equipment.Specifically, when detecting the letter to be detected currently popped up in operating system
When ceasing prompting interface, user equipment obtains the information alert interface to be detected;Then, user equipment template based on one or more
Information alert content corresponding to substrate interface similar with the information alert interface to be detected, determines the letter to be detected in interface
Cease information alert content corresponding to prompting interface, wherein each of one or more substrate interfaces substrate interface difference
Corresponding to an information alert content.
Fig. 1 is method flow diagram according to an embodiment of the invention, specifically illustrates a kind of determining information alert content
Process.As shown in Figure 1, in step sl, when detecting the information alert interface to be detected currently popped up in operating system
When, user equipment obtains the information alert interface to be detected;In step s 2, user equipment substrate interface based on one or more
In information alert content corresponding to substrate interface similar with the information alert interface to be detected, determine that the measurement information to be checked mentions
Show information alert content corresponding to interface, wherein each of one or more substrate interfaces substrate interface respectively corresponds
In an information alert content.
Specifically, in step sl, when detecting the information alert interface to be detected currently popped up in operating system,
User equipment obtains the information alert interface to be detected.
Here, the operating system includes but is not limited to the software system that windows, IOS, Android etc. are operated for user
System.
Information alert interface to be detected includes but is not limited to various for being supplied to the user interface of the indicative information of user.
Information alert interface dialog box for example to be detected to be detected etc..It may include in various texts in information alert interface to be detected
Hold, so that user checks.For example, may include various word contents in information alert interface to be detected.In the prior art, usually
These word contents are identified by OCR technique.And the present invention provides a kind of novel identification word contents (that is, determining
Information alert content) scheme.
When detecting the information alert interface to be detected as currently popped up in windows operating system, user equipment
Such as the information alert interface to be detected of the graphic form can be obtained by way of screenshot.
In step s 2, user equipment is similar to the information alert interface to be detected in substrate interface based on one or more
Substrate interface corresponding to information alert content, determine information alert content corresponding to the information alert interface to be detected,
Wherein, each of one or more substrate interfaces substrate interface corresponds respectively to an information alert content.
Here, one or more substrate interfaces include but is not limited to that one or more is preconfigured, are used to be used as template
Picture format user interface.
Information alert content includes but is not limited to the various indicative information for being supplied to user.Information alert content is for example
" current device electricity is low ", " detecting the silent automatic installation of software " etc..Each substrate interface corresponds respectively to one
Corresponding information alert content.It " is detected as substrate interface first corresponds to corresponding to " current device electricity is low ", substrate interface second
Silent automatic installation of software " etc..
User equipment can determine template similar with information alert interface to be detected from one or more substrate interfaces
Interface, and information alert content corresponding to the substrate interface (such as " current device electricity is low ") is confirmed as the letter to be detected
Cease information alert content (being then " current device electricity is low ") corresponding to prompting interface.
The present invention is based on substrate interface institute similar with information alert interface to be detected in one or more substrate interfaces is right
The information alert content answered, to determine information alert content corresponding to the information alert interface to be detected.Invention replaces
In the prior art by OCR technique come the scheme of the word content in recognition user interface image, also, the present invention proposes information
Show that the recognition success rate of content is higher.
Similitude judgement for information alert interface to be detected and one or more substrate interfaces, can use various sides
Formula carries out.
User equipment can at least be determined based on following 3 kinds of modes in one or more substrate interfaces with measurement information to be checked
The similar substrate interface of prompting interface:
1) user equipment can will be every in the dimension information at information alert interface to be detected and one or more substrate interfaces
The dimension information of a substrate interface respectively compares, if the dimension information at the information alert interface to be detected and one or more
The dimension difference of the dimension information of the first substrate interface in substrate interface is less than first threshold, then first substrate interface is true
It is set to substrate interface similar with the information alert interface to be detected.
Here, information alert interface to be detected and substrate interface can be the rectangle of formal style, or informal
Other shapes.For the sake of simple declaration, only carry out illustrating as rectangle using information alert interface to be detected and substrate interface
It is bright.
Preferably, the dimension information of information alert interface to be detected and substrate interface includes but is not limited to any one of following:
I) length information.
Here, length information means lateral distance, usually as unit of pixel.
Ii) elevation information.
Here, elevation information means longitudinal distance, usually as unit of pixel.
Iii) length information and elevation information.
The combination of both of the above.
For the sake of simple declaration, only it is illustrated so that dimension information includes length information and elevation information as an example.
For example, being currently included 3 substrate interfaces, wherein the dimension information of substrate interface a is length information 200px, width
The dimension information of information 50px, substrate interface b are length information 150px, width information 50px, the dimension information of substrate interface c
For length information 250px, width information 100px.And the dimension information at information alert interface to be detected be length information 148px,
Width information 49px.First threshold can be for example the 3% of the dimension information of substrate interface.Then information alert interface to be detected
The dimension difference of the dimension information of substrate interface b in dimension information and this 3 substrate interfaces is less than first threshold, then by the mould
Board interface b is determined as substrate interface similar with the information alert interface to be detected.
Here, if information alert interface to be detected and one or more substrate interface sheets are used as identical resolution ratio
Family equipment can no longer be adjusted their resolution ratio.Otherwise, if information alert interface to be detected and one or more
A substrate interface is not identical resolution ratio, and user equipment can also be by information alert interface to be detected and one or more templates
Each substrate interface is respectively set to identical resolution ratio in interface.
Preferably, by each template in the dimension information at information alert interface to be detected and one or more substrate interfaces
Before the dimension information of interface respectively compares, user equipment can also be by information alert interface to be detected and one or more moulds
Each substrate interface is respectively set to identical resolution ratio in board interface.
For example, user equipment can also be by each template in information alert interface to be detected and one or more substrate interfaces
Interface is respectively set to identical resolution ratio such as 1280*768, for another example 800*600 etc..
2) for being belonging respectively to each pixel of each position in information alert interface to be detected, and it is one or more
Each pixel of same position is belonging respectively in substrate interface in each substrate interface, user equipment can be with respectively two two places
Color difference between the respective pixel that compares point, to determine the color difference between respective pixel point whether less than the second threshold
Value;Subsequently, for the second substrate interface in one or more substrate interfaces, if identified color difference is less than the second threshold
The pixel quantity accounting of value is greater than third threshold value, which is then determined as and the measurement information to be checked by user equipment
The similar substrate interface of prompting interface.
Wherein, second threshold is preset value, such as (15,15,15).Third threshold value can be preset value,
Such as 85%.
Here, user equipment can for example be originated from the pixel in the upper left corner comes information alert interface more to be detected and one
The pixel of substrate interface e.Come with RGB (RGB) color mode for example, the information alert interface to be detected upper left corner
The color value of pixel be (150,150,150), and the color value of the pixel in the upper left corner substrate interface e be (145,151,
149).User equipment respectively compare between information alert interface more to be detected and substrate interface e top left corner pixel point by two two places
Color difference, determine that color difference between the two pixels is less than second threshold.And so on, user equipment can be adopted
With this mode, respectively the pixel at information alert interface more to be detected and substrate interface e other positions is compared in two two places, and divides
Do not determine whether the color difference between the respective pixel point of each position is less than second threshold.For information alert circle to be detected
The color difference of this partial pixel point can be determined as greatly by the partial pixel point that face is not overlapped with substrate interface e, user equipment
In second threshold.
Subsequently, for information alert interface to be detected and substrate interface e, if identified color difference is less than the second threshold
The pixel quantity accounting of value is greater than third threshold value (such as 85%), and substrate interface e is then determined as to be checked with this by user equipment
The similar substrate interface of measurement information prompting interface.
Here, if information alert interface to be detected and one or more substrate interface sheets are used as identical resolution ratio
Family equipment can no longer be adjusted their resolution ratio.Otherwise, if information alert interface to be detected and one or more
A substrate interface is not identical resolution ratio, and user equipment can also be by information alert interface to be detected and one or more templates
Each substrate interface is respectively set to identical resolution ratio in interface.
Preferably, before respectively two two places compare the color difference between respective pixel point, user equipment may be used also
Each substrate interface in information alert interface to be detected and one or more substrate interfaces is respectively set to identical resolution
Rate.
3) user equipment can mention to determine in one or more substrate interfaces with measurement information to be checked in conjunction with above-mentioned 2 kinds of modes
Show the similar substrate interface in interface.
For example, 1) user equipment first can plant mode using the, by the dimension information and one at information alert interface to be detected
The dimension information of each substrate interface respectively compares in a or multiple template interface, if the information alert interface to be detected
The dimension difference of the dimension information of the first substrate interface of one or more of dimension information and one or more substrate interfaces is small
In first threshold, then the first substrate interface of this (s) is primarily determined as template circle similar with the information alert interface to be detected
Face.Then, user equipment continues 2) to plant mode using the, for being belonging respectively to each position in information alert interface to be detected
Each pixel, and be somebody's turn to do (s) each pixel that same position is belonging respectively in the first substrate interface, user equipment can be with
Respectively two two places compare the color difference between respective pixel point, whether to determine the color difference between respective pixel point
Less than second threshold;Subsequently, for the second substrate interface in one or more first substrate interfaces, if identified color
The pixel quantity accounting that difference is less than second threshold is greater than third threshold value, which is then determined as by user equipment
Substrate interface similar with the information alert interface to be detected.
Preferably, is first used 1) before kind mode in aforementioned user equipment, user equipment can also be by measurement information to be checked
Each substrate interface is respectively set to identical resolution ratio in prompting interface and one or more substrate interfaces.
Those skilled in the art, which will be understood that, to be mentioned in above-mentioned 3 kinds determining one or more substrate interfaces with measurement information to be checked
Show that the mode of the similar substrate interface in interface is only for example, and be not construed as any limitation of the invention, it is any it is existing its
It or what is be likely to occur from now on determine substrate interface similar with information alert interface to be detected in one or more substrate interfaces
Mode be such as applicable to the present invention, should also be included within the scope of protection of the present invention, and be incorporated herein by reference.
User equipment substrate interface similar with the information alert interface to be detected in substrate interface based on one or more
Corresponding information alert content, determine information alert content corresponding to the information alert interface to be detected mode include but
It is not limited to following 2 kinds:
1) user equipment can be by least one template in information alert interface to be detected and one or more substrate interfaces
Interface compares, and determines substrate interface similar with the information alert interface to be detected in one or more substrate interfaces;Then,
User equipment by information alert content corresponding to substrate interface similar with the information alert interface to be detected, be determined as this to
Information alert content corresponding to detection information prompting interface.
Wherein, user equipment is by least one template circle in information alert interface to be detected and one or more substrate interfaces
Face compares, and determines the mode packet of substrate interface similar with the information alert interface to be detected in one or more substrate interfaces
It includes but is not limited to aforementioned 3 kinds of modes.
2) information alert interface to be detected can be sent to the network equipment by user equipment, to be waited for this by the network equipment
Detection information prompting interface, and will be with the letter to be detected compared at least one substrate interface in one or more substrate interfaces
Information alert content corresponding to the similar substrate interface of prompting interface is ceased, is determined as corresponding to the information alert interface to be detected
Information alert content;Then, the network equipment will be in information alert corresponding to the identified information alert interface to be detected
Appearance is sent to user equipment, and correspondingly, user equipment receives the information alert interface institute to be detected that the network equipment is returned
Corresponding information alert content.
From aforementioned the 1) kind mode it is different, here, user equipment is by the interaction with the network equipment, by the network equipment Lai true
Information alert content corresponding to fixed information alert interface to be detected.
Wherein, the network equipment determines the mode of information alert content corresponding to information alert interface to be detected, with user
Equipment determines that the mode of information alert content corresponding to information alert interface to be detected is identical or essentially identical, therefore no longer superfluous
It states, and is incorporated herein by reference.
Those skilled in the art will be understood that information alert corresponding to above-mentioned 2 kinds of determinations information alert interface to be detected
The mode of content is only for example, and is not construed as any limitation of the invention, any existing other or be likely to occur from now on
Determination information alert interface to be detected corresponding to the mode of information alert content be such as applicable to the present invention, should also be included in
Within the scope of the present invention, and it is incorporated herein by reference.
Preferably, user equipment is also based in one or more substrate interfaces similar to information alert interface to be detected
Substrate interface corresponding to software program or intercept strategy, determine software program corresponding to the information alert interface to be detected
Or intercept strategy, wherein each of one or more of substrate interfaces substrate interface corresponds respectively to a software program
Or intercept strategy.
Here, other than substrate interface mode corresponding with information alert content, substrate interface can also and software
Program is corresponding.
For example, the content of substrate interface 1 is prompt user " current device electricity is low ", which corresponds to " operation
System " software program.
For another example, the content of substrate interface 2 is prompt user " detecting the silent automatic installation of software ", the substrate interface
2 correspond to " antivirus software 1 " software program.
Therefore, after determining substrate interface similar with information alert interface to be detected, user equipment is also based on
Software program corresponding to interface similar with the information alert interface to be detected (such as " operating system "), determines the letter to be detected
Cease software program (being then " operating system ") corresponding to prompting interface.
Other than substrate interface mode corresponding with information alert content, substrate interface can also be with the tactful phase of interception
It is corresponding.
Here, Current software just during installation, some rivals may intercept the software installed.This
When, the software of various rivals will pop up various user interfaces to prompt user to block the software currently installed
It cuts.Therefore, various substrate interfaces can be pre-configured with, these substrate interfaces may be used to prompt user and " detect software just
In silent automatic installation ", however, these substrate interfaces correspond respectively to different interception strategies.
For example, substrate interface 3, which corresponds to " md5 ", intercepts strategy.For another example, substrate interface 4 corresponds to " URL " interception strategy.
For another example, substrate interface 5 corresponds to " house keeper's interception " interception strategy.Also such as, substrate interface 6 corresponds to " antivirus intercepts " interception plan
Slightly.
Therefore, after determining substrate interface similar with information alert interface to be detected, user equipment is also based on
Interception strategy corresponding to substrate interface similar with the information alert interface to be detected (as " md5 " intercepts strategy), determining should
Interception strategy corresponding to information alert interface to be detected (then intercepts strategy for " md5 ").
Present invention determine that interception strategy corresponding to information alert interface to be detected, can contribute to identification rival couple
The interception strategy that the software program being currently installed on is taken, has very great help to product attacking and defending.
Fig. 2 is an apparatus in accordance with one embodiment of the invention schematic diagram, specifically illustrates a kind of determining information alert content
Device namely determining device 10.As shown in Fig. 2, determining device 10 is installed in user equipment, and specifically include device 11
With device 12.
When detecting the information alert interface to be detected currently popped up in operating system, it is to be detected that device 11 obtains this
Information alert interface (device 11 to be known as interface below and obtains device 11 convenient for distinguishing);Device 12 is based on one or more
Information alert content corresponding to substrate interface similar with the information alert interface to be detected, determines that this is to be checked in substrate interface
Information alert content corresponding to measurement information prompting interface is (to be known as content determining device for device 12 below convenient for distinguishing
12), wherein each of one or more substrate interfaces substrate interface corresponds respectively to an information alert content.
Specifically, when detecting the information alert interface to be detected currently popped up in operating system, interface is filled
Set the 11 acquisitions information alert interface to be detected.
Here, the operating system includes but is not limited to the software system that windows, IOS, Android etc. are operated for user
System.
Information alert interface to be detected includes but is not limited to various for being supplied to the user interface of the indicative information of user.
Information alert interface dialog box for example to be detected to be detected etc..It may include in various texts in information alert interface to be detected
Hold, so that user checks.For example, may include various word contents in information alert interface to be detected.In the prior art, usually
These word contents are identified by OCR technique.And the present invention provides a kind of novel identification word contents (that is, determining
Information alert content) scheme.
When detecting the information alert interface to be detected as currently popped up in windows operating system, interface is obtained
Device 11 can for example obtain the information alert interface to be detected of the graphic form by way of screenshot.
Then, content determining device 12 is similar to the information alert interface to be detected in substrate interface based on one or more
Substrate interface corresponding to information alert content, determine information alert content corresponding to the information alert interface to be detected,
Wherein, each of one or more substrate interfaces substrate interface corresponds respectively to an information alert content.
Here, one or more substrate interfaces include but is not limited to that one or more is preconfigured, are used to be used as template
Picture format user interface.
Information alert content includes but is not limited to the various indicative information for being supplied to user.Information alert content is for example
" current device electricity is low ", " detecting the silent automatic installation of software " etc..Each substrate interface corresponds respectively to one
Corresponding information alert content.It " is detected as substrate interface first corresponds to corresponding to " current device electricity is low ", substrate interface second
Silent automatic installation of software " etc..
Content determining device 12 can determine similar to information alert interface to be detected from one or more substrate interfaces
Substrate interface, and information alert content corresponding to the substrate interface (as " current device electricity is low ") be confirmed as this to
Information alert content corresponding to detection information prompting interface (being then " current device electricity is low ").
The present invention is based on substrate interface institute similar with information alert interface to be detected in one or more substrate interfaces is right
The information alert content answered, to determine information alert content corresponding to the information alert interface to be detected.Invention replaces
In the prior art by OCR technique come the scheme of the word content in recognition user interface image, also, the present invention proposes information
Show that the recognition success rate of content is higher.
Similitude judgement for information alert interface to be detected and one or more substrate interfaces, can use various sides
Formula carries out.
Content determining device 12 can at least be determined based on following 3 kinds of modes in one or more substrate interfaces with it is to be checked
The similar substrate interface of measurement information prompting interface:
1) content determining device 12 can be by the dimension information at information alert interface to be detected and one or more templates circle
The dimension information of each substrate interface respectively compares in face, if the dimension information at the information alert interface to be detected and one
Or the dimension difference of the dimension information of the first substrate interface in multiple template interface is less than first threshold, then by first template
Interface is determined as substrate interface similar with the information alert interface to be detected.
Here, information alert interface to be detected and substrate interface can be the rectangle of formal style, or informal
Other shapes.For the sake of simple declaration, only carry out illustrating as rectangle using information alert interface to be detected and substrate interface
It is bright.
Preferably, the dimension information of information alert interface to be detected and substrate interface includes but is not limited to any one of following:
I) length information.
Here, length information means lateral distance, usually as unit of pixel.
Ii) elevation information.
Here, elevation information means longitudinal distance, usually as unit of pixel.
Iii) length information and elevation information.
The combination of both of the above.
For the sake of simple declaration, only it is illustrated so that dimension information includes length information and elevation information as an example.
For example, being currently included 3 substrate interfaces, wherein the dimension information of substrate interface a is length information 200px, width
The dimension information of information 50px, substrate interface b are length information 150px, width information 50px, the dimension information of substrate interface c
For length information 250px, width information 100px.And the dimension information at information alert interface to be detected be length information 148px,
Width information 49px.First threshold can be for example the 3% of the dimension information of substrate interface.Then information alert interface to be detected
The dimension difference of the dimension information of substrate interface b in dimension information and this 3 substrate interfaces is less than first threshold, then by the mould
Board interface b is determined as substrate interface similar with the information alert interface to be detected.
Here, if information alert interface to be detected and one or more substrate interface sheets as identical resolution ratio, really
Can no longer their resolution ratio be adjusted by determining device 10.Otherwise, if information alert interface to be detected with one or
Multiple template interface is not identical resolution ratio, and determining device 10 can also be by information alert interface to be detected and one or more
Each substrate interface is respectively set to identical resolution ratio in substrate interface.
Preferably, determining device 10 can also include first resolution setting device (being not shown in Fig. 2).
Content determining device 12 will be in the dimension information at information alert interface to be detected and one or more substrate interfaces
Before the dimension information of each substrate interface respectively compares, device is arranged in first resolution can be by information alert circle to be detected
Each substrate interface is respectively set to identical resolution ratio in face and one or more substrate interfaces.
For example, first resolution setting device can also be by information alert interface to be detected and one or more substrate interfaces
In each substrate interface be respectively set to identical resolution ratio such as 1280*768, for another example 800*600 etc..
2) for being belonging respectively to each pixel of each position in information alert interface to be detected, and it is one or more
Each pixel of same position is belonging respectively in substrate interface in each substrate interface, content determining device 12 can be respectively
Whether two two places compare the color difference between respective pixel point, to determine the color difference between respective pixel point less than
Two threshold values;Subsequently, for the second substrate interface in one or more substrate interfaces, if identified color difference is less than
The pixel quantity accounting of two threshold values is greater than third threshold value, which is then determined as and is somebody's turn to do by content determining device 12
The similar substrate interface in information alert interface to be detected.
Wherein, second threshold is preset value, such as (15,15,15).Third threshold value can be preset value,
Such as 85%.
Here, content determining device 12 can for example be originated from the pixel in the upper left corner carrys out information alert circle more to be detected
The pixel in face and a substrate interface e.Come with RGB (RGB) color mode for example, information alert interface to be detected is left
The color value of the pixel at upper angle be (150,150,150), and the color value of the pixel in the upper left corner substrate interface e be (145,
151,149).Respectively information alert interface more to be detected and the upper left corner substrate interface e are compared in two two places to content determining device 12
Color difference between pixel determines that the color difference between the two pixels is less than second threshold.And so on, content
Determining device 12 can respectively information alert interface more to be detected and other positions substrate interface e be compared in two two places using this mode
The pixel set, and determine whether the color difference between the respective pixel point of each position is less than second threshold respectively.For
The partial pixel point that information alert interface to be detected is not overlapped with substrate interface e, content determining device 12 can be by this part pictures
The color difference of vegetarian refreshments is determined as being greater than second threshold.
Subsequently, for information alert interface to be detected and substrate interface e, if identified color difference is less than the second threshold
The pixel quantity accounting of value be greater than third threshold value (such as 85%), content determining device 12 then by substrate interface e be determined as with
The similar substrate interface in the information alert interface to be detected.
Here, if information alert interface to be detected and one or more substrate interface sheets as identical resolution ratio, really
Can no longer their resolution ratio be adjusted by determining device 10.Otherwise, if information alert interface to be detected with one or
Multiple template interface is not identical resolution ratio, and determining device 10 can also be by information alert interface to be detected and one or more
Each substrate interface is respectively set to identical resolution ratio in substrate interface.
Preferably, determining device 10 can also include second resolution setting device (being not shown in Fig. 2)
In content determining device 12, respectively two two places compare before the color difference between respective pixel point, and second point
Device, which is arranged, in resolution to distinguish each substrate interface in information alert interface to be detected and one or more substrate interfaces
It is set as identical resolution ratio.
3) content determining device 12 can be determined in conjunction with above-mentioned 2 kinds of modes in one or more substrate interfaces with it is to be detected
The similar substrate interface in information alert interface.
For example, 1) content determining device 12 first can plant mode using the, the size at information alert interface to be detected is believed
Breath is compared with the dimension information of each substrate interface respectively in one or more substrate interfaces, if the information alert to be detected
The size of one or more of the dimension information at interface and one or more substrate interfaces dimension information of the first substrate interface
Difference is less than first threshold, then the first substrate interface of this (s) is primarily determined to be similar with the information alert interface to be detected
Substrate interface.Then, content determining device 12 continues 2) to plant mode using the, for belonging to respectively in information alert interface to be detected
Each pixel in each position, and it is somebody's turn to do (s) each pixel that same position is belonging respectively in the first substrate interface,
Content determining device 12 can be compared the color difference between respective pixel point with respectively two two places, to determine respective pixel point
Between color difference whether be less than second threshold;Subsequently, for the second template circle in one or more first substrate interfaces
Face, if the pixel quantity accounting that identified color difference is less than second threshold is greater than third threshold value, content determining device
Second substrate interface is determined as substrate interface similar with the information alert interface to be detected by 12.
Preferably, in foregoing teachings determining device 12 first using the 1) kind mode before, device is arranged also in first resolution
Each substrate interface in information alert interface to be detected and one or more substrate interfaces can be respectively set to identical point
Resolution.
Those skilled in the art, which will be understood that, to be mentioned in above-mentioned 3 kinds determining one or more substrate interfaces with measurement information to be checked
Show that the mode of the similar substrate interface in interface is only for example, and be not construed as any limitation of the invention, it is any it is existing its
It or what is be likely to occur from now on determine substrate interface similar with information alert interface to be detected in one or more substrate interfaces
Mode be such as applicable to the present invention, should also be included within the scope of protection of the present invention, and be incorporated herein by reference.
The mould similar with the information alert interface to be detected in substrate interface based on one or more of content determining device 12
Information alert content corresponding to board interface determines the mode of information alert content corresponding to the information alert interface to be detected
It is including but not limited to 2 kinds following:
1) content determining device 12 can will be at least one in information alert interface to be detected and one or more substrate interfaces
A substrate interface compares, and determines template circle similar with the information alert interface to be detected in one or more substrate interfaces
Face;Then, content determining device 12 is by information alert corresponding to substrate interface similar with the information alert interface to be detected
Content is determined as information alert content corresponding to the information alert interface to be detected.
Wherein, content determining device 12 is by least one in information alert interface to be detected and one or more substrate interfaces
Substrate interface compares, and determines substrate interface similar with the information alert interface to be detected in one or more substrate interfaces
Mode includes but is not limited to aforementioned 3 kinds of modes.
2) information alert interface to be detected can be sent to the network equipment by content determining device 12, by the network equipment
By the information alert interface to be detected, at least one substrate interface compares in one or more substrate interfaces, and will wait for this
Information alert content corresponding to the similar substrate interface of detection information prompting interface is determined as the information alert interface to be detected
Corresponding information alert content;Then, the network equipment is by information corresponding to the identified information alert interface to be detected
Suggestion content is sent to user equipment, and correspondingly, the content determining device 12 of user equipment receives what the network equipment was returned
Information alert content corresponding to the information alert interface to be detected.
From aforementioned the 1) kind mode it is different, here, content determining device 12 by the interaction with the network equipment, is set by network
It is standby to determine information alert content corresponding to information alert interface to be detected.
Wherein, the network equipment determines the mode of information alert content corresponding to information alert interface to be detected, with user
The content determining device 12 of equipment determines that the mode of information alert content corresponding to information alert interface to be detected is identical or base
This is identical, therefore repeats no more, and be incorporated herein by reference.
Those skilled in the art will be understood that information alert corresponding to above-mentioned 2 kinds of determinations information alert interface to be detected
The mode of content is only for example, and is not construed as any limitation of the invention, any existing other or be likely to occur from now on
Determination information alert interface to be detected corresponding to the mode of information alert content be such as applicable to the present invention, should also be included in
Within the scope of the present invention, and it is incorporated herein by reference.
Preferably, determining device 10 can also include an other information determining device (being not shown in Fig. 2).
Other information determining device can be similar to information alert interface to be detected in substrate interface based on one or more
Substrate interface corresponding to software program or intercept strategy, determine software program corresponding to the information alert interface to be detected
Or intercept strategy, wherein each of one or more of substrate interfaces substrate interface corresponds respectively to a software program
Or intercept strategy.
Here, other than substrate interface mode corresponding with information alert content, substrate interface can also and software
Program is corresponding.
For example, the content of substrate interface 1 is prompt user " current device electricity is low ", which corresponds to " operation
System " software program.
For another example, the content of substrate interface 2 is prompt user " detecting the silent automatic installation of software ", the substrate interface
2 correspond to " antivirus software 1 " software program.
Therefore, after determining substrate interface similar with information alert interface to be detected, other information determining device is also
Can be based on software program corresponding to interface similar with the information alert interface to be detected (such as " operating system "), determining should
Software program corresponding to information alert interface to be detected (being then " operating system ").
Other than substrate interface mode corresponding with information alert content, substrate interface can also be with the tactful phase of interception
It is corresponding.
Here, Current software just during installation, some rivals may intercept the software installed.This
When, the software of various rivals will pop up various user interfaces to prompt user to block the software currently installed
It cuts.Therefore, various substrate interfaces can be pre-configured with, these substrate interfaces may be used to prompt user and " detect software just
In silent automatic installation ", however, these substrate interfaces correspond respectively to different interception strategies.
For example, substrate interface 3, which corresponds to " md5 ", intercepts strategy.For another example, substrate interface 4 corresponds to " URL " interception strategy.
For another example, substrate interface 5 corresponds to " house keeper's interception " interception strategy.Also such as, substrate interface 6 corresponds to " antivirus intercepts " interception plan
Slightly.
Therefore, after determining substrate interface similar with information alert interface to be detected, other information determining device is also
It can be based on interception strategy corresponding to substrate interface similar with the information alert interface to be detected (as " md5 " intercepts plan
Slightly), interception strategy corresponding to the information alert interface to be detected (then intercepting strategy for " md5 ") is determined.
Present invention determine that interception strategy corresponding to information alert interface to be detected, can contribute to identification rival couple
The interception strategy that the software program being currently installed on is taken, has very great help to product attacking and defending.
It should be noted that the present invention can be carried out in the assembly of software and/or software and hardware, for example, this hair
Specific integrated circuit (ASIC) can be used in bright each device or any other is realized similar to hardware device.In one embodiment
In, software program of the invention can be executed to implement the above steps or functions by processor.Similarly, of the invention
Software program (including relevant data structure) can be stored in computer readable recording medium, for example, RAM memory,
Magnetic or optical driver or floppy disc and similar devices.In addition, some of the steps or functions of the present invention may be implemented in hardware, example
Such as, as the circuit cooperated with processor thereby executing each step or function.
It is obvious to a person skilled in the art that invention is not limited to the details of the above exemplary embodiments, Er Qie
In the case where without departing substantially from spirit or essential attributes of the invention, the present invention can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the present invention is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included in the present invention.Any reference signs in the claims should not be construed as limiting the involved claims.This
Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.That states in system claims is multiple
Unit or device can also be implemented through software or hardware by a unit or device.The first, the second equal words are used to table
Show title, and does not indicate any particular order.
Although front is specifically shown and describes exemplary embodiment, it will be understood to those of skill in the art that
It is that without departing substantially from the spirit and scope of claims, can be varied in terms of its form and details.Here
Sought protection illustrates in the dependent claims.These of each embodiment are defined in following number clause
In terms of other:
1. a kind of method of determining information alert content, wherein this method comprises:
When detecting the information alert interface to be detected currently popped up in operating system, the letter to be detected is obtained
Cease prompting interface;
Based on one or more in substrate interface corresponding to substrate interface similar with the information alert interface to be detected
Information alert content, determine information alert content corresponding to the information alert interface to be detected, wherein it is one or
Each of multiple template interface substrate interface corresponds respectively to an information alert content.
2. according to method described in clause 1, wherein in the substrate interface based on one or more with the letter to be detected
Information alert content corresponding to the similar substrate interface of prompting interface is ceased, is determined corresponding to the information alert interface to be detected
Information alert content the step of specifically include:
By the information alert interface to be detected compared at least one substrate interface in one or more substrate interfaces
Compared with determining substrate interface similar with the information alert interface to be detected in one or more of substrate interfaces;
By information alert content corresponding to substrate interface similar with the information alert interface to be detected, it is determined as
Information alert content corresponding to the information alert interface to be detected.
3. according to method described in clause 1, wherein in the substrate interface based on one or more with the letter to be detected
Information alert content corresponding to the similar substrate interface of prompting interface is ceased, is determined corresponding to the information alert interface to be detected
Information alert content the step of specifically include:
The information alert interface to be detected is sent to the network equipment, with will be described to be detected by the network equipment
It information alert interface, and will be with the measurement information to be checked compared at least one substrate interface in one or more substrate interfaces
Information alert content corresponding to the similar substrate interface of prompting interface is determined as corresponding to the information alert interface to be detected
Information alert content;
Receive information alert content corresponding to the information alert interface to be detected that the network equipment is returned.
4. the method according to clause 1 or 2, wherein in one or more of substrate interfaces with the letter to be detected
The similar substrate interface of prompting interface is ceased to determine based on following steps:
By each template in the dimension information at the information alert interface to be detected and one or more of substrate interfaces
The dimension information of interface respectively compares, if the dimension information at the information alert interface to be detected with it is one or more of
The dimension difference of the dimension information of the first substrate interface in substrate interface is less than first threshold, then by first substrate interface
It is determined as substrate interface similar with the information alert interface to be detected.
5. according to method described in clause 4, wherein the dimension information includes but is not limited to following at least any one:
Length information;
Elevation information.
6. the method according to clause 4 or 5, wherein this method further include:
It is every in the dimension information by the information alert interface to be detected and one or more of substrate interfaces
Before the dimension information of a substrate interface respectively compares, by the information alert interface to be detected and one or more of moulds
Each substrate interface is respectively set to identical resolution ratio in board interface.
7. the method according to any one of clause 1,2,4 to 6, wherein in one or more of substrate interfaces with
The similar substrate interface in the information alert interface to be detected is determined based on following steps:
For being belonging respectively to each pixel and described one of each position in the information alert interface to be detected
Each pixel of same position is belonging respectively in a or multiple template interface in each substrate interface, respectively two two places are compared
Compared with the color difference between respective pixel point, to determine whether the color difference between respective pixel point is less than second threshold;
For the second substrate interface in one or more substrate interfaces, if identified color difference is less than second
The pixel quantity accounting of threshold value is greater than third threshold value, then is determined as mentioning with the measurement information to be checked by second substrate interface
Show the similar substrate interface in interface.
8. according to method described in clause 7, wherein this method further include:
Before respectively two two places compare the color difference between respective pixel point, by the letter to be detected
Each substrate interface is respectively set to identical resolution ratio in breath prompting interface and one or more of substrate interfaces.
9. the method according to any one of clause 1,2,4 to 8, wherein this method further include:
Based on one or more in substrate interface corresponding to substrate interface similar with the information alert interface to be detected
Software program or intercept strategy, determine software program corresponding to the information alert interface to be detected or intercept strategy,
In, each of one or more of substrate interfaces substrate interface corresponds respectively to a software program or intercepts strategy.
10. a kind of device of determining information alert content, wherein the device includes:
For obtaining described to be checked when detecting the information alert interface to be detected currently popped up in operating system
The device of measurement information prompting interface;
For substrate interface institute similar with the information alert interface to be detected in substrate interface based on one or more
Corresponding information alert content determines the device of information alert content corresponding to the information alert interface to be detected, wherein
Each of one or more of substrate interfaces substrate interface corresponds respectively to an information alert content.
11. according to device described in clause 10, wherein in the substrate interface based on one or more with it is described to be detected
Information alert content corresponding to the similar substrate interface in information alert interface determines that the information alert interface institute to be detected is right
The device for the information alert content answered is specifically used for:
By the information alert interface to be detected compared at least one substrate interface in one or more substrate interfaces
Compared with determining substrate interface similar with the information alert interface to be detected in one or more of substrate interfaces;
By information alert content corresponding to substrate interface similar with the information alert interface to be detected, it is determined as
Information alert content corresponding to the information alert interface to be detected.
12. according to device described in clause 10, wherein in the substrate interface based on one or more with it is described to be detected
Information alert content corresponding to the similar substrate interface in information alert interface determines that the information alert interface institute to be detected is right
The device for the information alert content answered is specifically used for:
The information alert interface to be detected is sent to the network equipment, with will be described to be detected by the network equipment
It information alert interface, and will be with the measurement information to be checked compared at least one substrate interface in one or more substrate interfaces
Information alert content corresponding to the similar substrate interface of prompting interface is determined as corresponding to the information alert interface to be detected
Information alert content;
Receive information alert content corresponding to the information alert interface to be detected that the network equipment is returned.
13. the device according to clause 10 or 11, wherein in one or more of substrate interfaces with it is described to be detected
The similar substrate interface in information alert interface is determined based on following operation:
By each template in the dimension information at the information alert interface to be detected and one or more of substrate interfaces
The dimension information of interface respectively compares, if the dimension information at the information alert interface to be detected with it is one or more of
The dimension difference of the dimension information of the first substrate interface in substrate interface is less than first threshold, then by first substrate interface
It is determined as substrate interface similar with the information alert interface to be detected.
14. according to device described in clause 13, wherein the dimension information includes but is not limited to following at least any one:
Length information;
Elevation information.
15. the device according to clause 13 or 14, wherein the device further include:
For in the dimension information by the information alert interface to be detected and one or more of substrate interfaces
In before the dimension information of each substrate interface respectively compares, by the information alert interface to be detected with it is one or more
Each substrate interface is respectively set to the device of identical resolution ratio in a substrate interface.
16. the device according to any one of clause 10,11,13 to 15, wherein one or more of substrate interfaces
In substrate interface similar with the information alert interface to be detected determined based on following operation:
For being belonging respectively to each pixel and described one of each position in the information alert interface to be detected
Each pixel of same position is belonging respectively in a or multiple template interface in each substrate interface, respectively two two places are compared
Compared with the color difference between respective pixel point, to determine whether the color difference between respective pixel point is less than second threshold;
For the second substrate interface in one or more substrate interfaces, if identified color difference is less than second
The pixel quantity accounting of threshold value is greater than third threshold value, then is determined as mentioning with the measurement information to be checked by second substrate interface
Show the similar substrate interface in interface.
17. according to device described in clause 16, wherein the device further include:
It is used for before respectively two two places compare the color difference between respective pixel point, it will be described to be checked
Each substrate interface is respectively set to identical resolution ratio in measurement information prompting interface and one or more of substrate interfaces
Device.
18. the method according to any one of clause 10,11,13 to 17, wherein the device further include:
For substrate interface institute similar with the information alert interface to be detected in substrate interface based on one or more
Corresponding software program intercepts strategy, determines software program corresponding to the information alert interface to be detected or intercepts strategy
Device, wherein each of one or more of substrate interfaces substrate interface corresponds respectively to a software program or blocks
Cut strategy.
Claims (16)
1. a kind of method of determining information alert content, wherein this method comprises:
When detecting the information alert interface to be detected currently popped up in operating system, obtains the measurement information to be checked and mention
Show interface;
Based on one or more in substrate interface corresponding to substrate interface similar with the information alert interface to be detected
Information alert content determines information alert content corresponding to the information alert interface to be detected, wherein one or more
Each of a substrate interface substrate interface corresponds respectively to an information alert content;
Wherein, in one or more of substrate interfaces substrate interface similar with the information alert interface to be detected be based on
Lower step determines:
For be belonging respectively in the information alert interface to be detected each position each pixel and it is one or
Each pixel of same position is belonging respectively in multiple template interface in each substrate interface, respectively two two places compare phase
The color difference between pixel is answered, to determine whether the color difference between respective pixel point is less than second threshold;
For the second substrate interface in one or more substrate interfaces, if identified color difference is less than second threshold
Pixel quantity accounting be greater than third threshold value, then second substrate interface is determined as and information alert circle to be detected
The similar substrate interface in face.
2. according to the method described in claim 1, wherein, in the substrate interface based on one or more with the letter to be detected
Information alert content corresponding to the similar substrate interface of prompting interface is ceased, is determined corresponding to the information alert interface to be detected
Information alert content the step of specifically include:
By the information alert interface to be detected, at least one substrate interface compares in one or more substrate interfaces, really
Substrate interface similar with the information alert interface to be detected in fixed one or more of substrate interfaces;
By information alert content corresponding to substrate interface similar with the information alert interface to be detected, it is determined as described
Information alert content corresponding to information alert interface to be detected.
3. according to the method described in claim 1, wherein, in the substrate interface based on one or more with the letter to be detected
Information alert content corresponding to the similar substrate interface of prompting interface is ceased, is determined corresponding to the information alert interface to be detected
Information alert content the step of specifically include:
The information alert interface to be detected is sent to the network equipment, with by the network equipment by the measurement information to be checked
Prompting interface, and will be with the information alert to be detected compared at least one substrate interface in one or more substrate interfaces
Information alert content corresponding to the similar substrate interface in interface is determined as letter corresponding to the information alert interface to be detected
Cease suggestion content;
Receive information alert content corresponding to the information alert interface to be detected that the network equipment is returned.
4. according to the method described in claim 1, wherein, being mentioned in one or more of substrate interfaces with the measurement information to be checked
Show that the similar substrate interface in interface is determined based on following steps:
By each template circle in the dimension information at the information alert interface to be detected and one or more of substrate interfaces
The dimension information of face respectively compares, if the dimension information at the information alert interface to be detected and one or more of moulds
The dimension difference of the dimension information of the first substrate interface in board interface is less than first threshold, then first substrate interface is true
It is set to substrate interface similar with the information alert interface to be detected.
5. according to the method described in claim 4, wherein, the dimension information includes but is not limited to following at least any one:
Length information;
Elevation information.
6. according to the method described in claim 4, wherein, this method further include:
It is each in the dimension information by the information alert interface to be detected and one or more of substrate interfaces
Before the dimension information of substrate interface respectively compares, by the information alert interface to be detected and one or more of templates
Each substrate interface is respectively set to identical resolution ratio in interface.
7. according to the method described in claim 1, wherein, this method further include:
Before respectively two two places compare the color difference between respective pixel point, the measurement information to be checked is mentioned
Show that each substrate interface is respectively set to identical resolution ratio in interface and one or more of substrate interfaces.
8. according to claim 1, method described in any one of 2,4 to 7, wherein this method further include:
Based on one or more in substrate interface corresponding to substrate interface similar with the information alert interface to be detected
Software program intercepts strategy, determines software program corresponding to the information alert interface to be detected or intercepts strategy, wherein
Each of one or more of substrate interfaces substrate interface corresponds respectively to a software program or intercepts strategy.
9. a kind of device of determining information alert content, wherein the device includes:
For obtaining the letter to be detected when detecting the information alert interface to be detected currently popped up in operating system
Cease the device of prompting interface;
It is right for substrate interface institute similar with the information alert interface to be detected in substrate interface based on one or more
The information alert content answered determines the device of information alert content corresponding to the information alert interface to be detected, wherein institute
It states each of one or more substrate interfaces substrate interface and corresponds respectively to an information alert content;
Wherein, in one or more of substrate interfaces substrate interface similar with the information alert interface to be detected be based on
Lower operation determines:
For be belonging respectively in the information alert interface to be detected each position each pixel and it is one or
Each pixel of same position is belonging respectively in multiple template interface in each substrate interface, respectively two two places compare phase
The color difference between pixel is answered, to determine whether the color difference between respective pixel point is less than second threshold;
For the second substrate interface in one or more substrate interfaces, if identified color difference is less than second threshold
Pixel quantity accounting be greater than third threshold value, then second substrate interface is determined as and information alert circle to be detected
The similar substrate interface in face.
10. device according to claim 9, wherein in the substrate interface based on one or more with it is described to be detected
Information alert content corresponding to the similar substrate interface in information alert interface determines that the information alert interface institute to be detected is right
The device for the information alert content answered is specifically used for:
By the information alert interface to be detected, at least one substrate interface compares in one or more substrate interfaces, really
Substrate interface similar with the information alert interface to be detected in fixed one or more of substrate interfaces;
By information alert content corresponding to substrate interface similar with the information alert interface to be detected, it is determined as described
Information alert content corresponding to information alert interface to be detected.
11. device according to claim 9, wherein in the substrate interface based on one or more with it is described to be detected
Information alert content corresponding to the similar substrate interface in information alert interface determines that the information alert interface institute to be detected is right
The device for the information alert content answered is specifically used for:
The information alert interface to be detected is sent to the network equipment, with by the network equipment by the measurement information to be checked
Prompting interface, and will be with the information alert to be detected compared at least one substrate interface in one or more substrate interfaces
Information alert content corresponding to the similar substrate interface in interface is determined as letter corresponding to the information alert interface to be detected
Cease suggestion content;
Receive information alert content corresponding to the information alert interface to be detected that the network equipment is returned.
12. device according to claim 9, wherein in one or more of substrate interfaces with the measurement information to be checked
The similar substrate interface of prompting interface is determined based on following operation:
By each template circle in the dimension information at the information alert interface to be detected and one or more of substrate interfaces
The dimension information of face respectively compares, if the dimension information at the information alert interface to be detected and one or more of moulds
The dimension difference of the dimension information of the first substrate interface in board interface is less than first threshold, then first substrate interface is true
It is set to substrate interface similar with the information alert interface to be detected.
13. device according to claim 12, wherein the dimension information includes but is not limited to following at least any one:
Length information;
Elevation information.
14. device according to claim 12, wherein the device further include:
For in the dimension information by the information alert interface to be detected and one or more of substrate interfaces
Before the dimension information of each substrate interface respectively compares, by the information alert interface to be detected with it is one or more of
Each substrate interface is respectively set to the device of identical resolution ratio in substrate interface.
15. device according to claim 9, wherein the device further include:
It is used for before respectively two two places compare the color difference between respective pixel point, by the letter to be detected
Each substrate interface is respectively set to the device of identical resolution ratio in breath prompting interface and one or more of substrate interfaces.
16. the device according to any one of claim 9,10,12 to 15, wherein the device further include:
It is right for substrate interface institute similar with the information alert interface to be detected in substrate interface based on one or more
The software program or interception strategy answered, determine software program corresponding to the information alert interface to be detected or intercept strategy
Device, wherein each of one or more of substrate interfaces substrate interface corresponds respectively to a software program or interception
Strategy.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610566745.3A CN106228156B (en) | 2016-07-18 | 2016-07-18 | A kind of method and apparatus of determining information alert content |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610566745.3A CN106228156B (en) | 2016-07-18 | 2016-07-18 | A kind of method and apparatus of determining information alert content |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106228156A CN106228156A (en) | 2016-12-14 |
CN106228156B true CN106228156B (en) | 2019-09-20 |
Family
ID=57530962
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610566745.3A Active CN106228156B (en) | 2016-07-18 | 2016-07-18 | A kind of method and apparatus of determining information alert content |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106228156B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110609522A (en) * | 2018-06-15 | 2019-12-24 | 虫洞科技股份有限公司 | Machine parameter acquisition device |
CN109685930A (en) * | 2018-12-19 | 2019-04-26 | 深圳供电局有限公司 | Power component inspection method and device, computer equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102750555A (en) * | 2012-06-28 | 2012-10-24 | 北京理工大学 | Expression robot applied to instant messaging tool |
CN103488947A (en) * | 2013-10-11 | 2014-01-01 | 北京金山网络科技有限公司 | Method and device for identifying instant messaging client-side account number stealing Trojan horse program |
CN103530561A (en) * | 2013-10-21 | 2014-01-22 | 北京奇虎科技有限公司 | Method and device for preventing attacks of Trojan horse programs based on social engineering |
CN103699843A (en) * | 2013-12-30 | 2014-04-02 | 珠海市君天电子科技有限公司 | Malicious activity detection method and device |
CN104992152A (en) * | 2015-06-30 | 2015-10-21 | 深圳訾岽科技有限公司 | Character recognition method and system based on template character library |
-
2016
- 2016-07-18 CN CN201610566745.3A patent/CN106228156B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102750555A (en) * | 2012-06-28 | 2012-10-24 | 北京理工大学 | Expression robot applied to instant messaging tool |
CN103488947A (en) * | 2013-10-11 | 2014-01-01 | 北京金山网络科技有限公司 | Method and device for identifying instant messaging client-side account number stealing Trojan horse program |
CN103530561A (en) * | 2013-10-21 | 2014-01-22 | 北京奇虎科技有限公司 | Method and device for preventing attacks of Trojan horse programs based on social engineering |
CN103699843A (en) * | 2013-12-30 | 2014-04-02 | 珠海市君天电子科技有限公司 | Malicious activity detection method and device |
CN104992152A (en) * | 2015-06-30 | 2015-10-21 | 深圳訾岽科技有限公司 | Character recognition method and system based on template character library |
Non-Patent Citations (1)
Title |
---|
"一种基于图像灰度的快速匹配方法";李强 等,;《软件学报》;20060330;第17卷(第2期);第217页 * |
Also Published As
Publication number | Publication date |
---|---|
CN106228156A (en) | 2016-12-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
AU2017362937B2 (en) | Information processing device, information processing method, and program | |
US10984266B2 (en) | Vehicle lamp detection methods and apparatuses, methods and apparatuses for implementing intelligent driving, media and devices | |
CN107181976B (en) | Bullet screen display method and electronic equipment | |
US9940532B2 (en) | Liveness detection apparatus and liveness detection method | |
US11182885B2 (en) | Method and apparatus for implementing image enhancement, and electronic device | |
US10679252B2 (en) | Information processing method and information processing apparatus | |
US20140210857A1 (en) | Realization method and device for two-dimensional code augmented reality | |
KR20130056309A (en) | Text-based 3d augmented reality | |
CN105825535B (en) | A kind of figure layer merging method and system | |
CA2898668A1 (en) | Realization method and device for two-dimensional code augmented reality | |
US9218680B2 (en) | Systems and methods for rendering graphical content and glyphs | |
CN106228156B (en) | A kind of method and apparatus of determining information alert content | |
KR101539781B1 (en) | Method for visualizing a change caused by scrolling in a scrolling direction of a section of a text and/or graphic displayed on an optical display means | |
CN113239746A (en) | Electric vehicle detection method and device, terminal equipment and computer readable storage medium | |
US20150169970A1 (en) | Image processing apparatus and image processing method | |
CN111553172A (en) | Translation document display method, device, system and storage medium | |
GB2606807A (en) | Image creation for computer vision model training | |
CN112380940B (en) | Processing method and device of high-altitude parabolic monitoring image, electronic equipment and storage medium | |
KR20190020281A (en) | Processing visual input | |
Jia et al. | Image-based label placement for augmented reality browsers | |
US12046019B2 (en) | Surface automation in black box environments | |
JP6609181B2 (en) | Character attribute estimation apparatus and character attribute estimation program | |
CN110832504A (en) | Detecting whether a mobile computing device is pointing at a visual code | |
CN114639056A (en) | Live content identification method and device, computer equipment and storage medium | |
US20210142098A1 (en) | Polygon detection device, polygon detection method, and polygon detecting program |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |