Embodiment
Be described below in detail embodiments of the invention, the example of described embodiment is shown in the drawings, and wherein same or similar label represents same or similar element or has element that is identical or similar functions from start to finish.Being exemplary below by the embodiment be described with reference to the drawings, only for explaining the present invention, and can not limitation of the present invention being interpreted as.On the contrary, embodiments of the invention comprise fall into attached claims spirit and intension within the scope of all changes, amendment and equivalent.
In describing the invention, it is to be appreciated that term " first ", " second " etc. are only for describing object, and instruction or hint relative importance can not be interpreted as.In describing the invention, it should be noted that, unless otherwise clearly defined and limited, term " is connected ", " connection " should be interpreted broadly, such as, can be fixedly connected with, also can be removably connect, or connect integratedly; Can be mechanical connection, also can be electrical connection; Can be directly be connected, also indirectly can be connected by intermediary.For the ordinary skill in the art, concrete condition above-mentioned term concrete meaning in the present invention can be understood.In addition, in describing the invention, except as otherwise noted, the implication of " multiple " is two or more.
Describe and can be understood in process flow diagram or in this any process otherwise described or method, represent and comprise one or more for realizing the module of the code of the executable instruction of the step of specific logical function or process, fragment or part, and the scope of the preferred embodiment of the present invention comprises other realization, wherein can not according to order that is shown or that discuss, comprise according to involved function by the mode while of basic or by contrary order, carry out n-back test, this should understand by embodiments of the invention person of ordinary skill in the field.
Below with reference to the accompanying drawings the recognition methods of malice advertisement in the mobile terminal according to the embodiment of the present invention, device and mobile terminal are described.
In order to solve at present by extracting the problem of the malice advertisement in the malicious software program of the encrypted mistake of code characteristic matching technique None-identified, to solve in current mobile terminal the inefficient problem of recognition methods of malice advertisement, the present invention proposes the recognition methods of malice advertisement in a kind of mobile terminal, device and mobile terminal simultaneously.
Fig. 1 is the process flow diagram of the recognition methods of malice advertisement in mobile terminal according to an embodiment of the invention.As shown in Figure 1, in mobile terminal, the recognition methods of malice advertisement comprises the following steps.
S101, obtains the application program run in mobile terminal.
In one embodiment of the invention, mobile terminal can be the hardware device that mobile phone, panel computer, personal digital assistant, e-book etc. have various operating system, and can run application, and also has the function that network connects.
S102, the informing of monitoring mobile terminal is to determine the announcement information that application program is corresponding.
Wherein, announcement information can comprise md5 value (Message Digest Algorithm5, informative abstract value), digital signature md5 value, title, bag name, stack name, the information content etc. of application program.
Whether S103, eject malice advertisement according to the frequency of occurrence of announcement information and/or the content determination application program of announcement information.
Particularly, malice advertisement can whether be ejected according to the content determination application program of the frequency of occurrence of announcement information and announcement information.Thus, improve the accuracy rate that recognition application can eject malice advertisement.Be to be understood that, the content determination application program of the frequency of occurrence of announcement information or announcement information can also be selected whether to eject malice advertisement, wherein, whether eject malice advertisement according to the frequency of occurrence of announcement information and the content determination application program of announcement information to describe in detail in follow-up embodiment, whether ejecting malice advertisement according to the frequency of occurrence of announcement information or the content determination application program of announcement information can understand according to follow-up embodiment correspondence.
According to the recognition methods of malice advertisement in the mobile terminal of the embodiment of the present invention, by monitoring the informing of mobile terminal to determine the announcement information that application program is corresponding, and whether eject malice advertisement according to the frequency of occurrence of announcement information and/or the content determination application program of announcement information, the application program that can eject malice advertisement can be identified exactly, effectively compensate for the deficiency judging malice advertisement by extracting code characteristic matching technique, improve the recognition efficiency of malice advertisement.
Fig. 2 is the process flow diagram of the recognition methods of malice advertisement in mobile terminal in accordance with another embodiment of the present invention.If the content of announcement information meets pre-conditioned, or the frequency of occurrence of announcement information exceedes threshold values, then determine that application program ejects malice advertisement.Particularly, as shown in Figure 2, in mobile terminal, the recognition methods of malice advertisement comprises the following steps.
S201, obtains the application program run in mobile terminal.
S202, the informing of monitoring mobile terminal is to determine the announcement information that application program is corresponding.
S203, judges whether the frequency of occurrence of announcement information exceedes threshold value, if the frequency of occurrence of announcement information exceedes threshold values, then continues to perform S205.
Wherein, threshold values can for system default setting, also can be mobile phone users oneself set.Such as, threshold value is 5, and the frequency of occurrence of announcement information is greater than 5, then think that corresponding application program harasses user frequently, can determine that the announcement information that this application program ejects is malice advertisement.
S204, if the frequency of occurrence of announcement information does not exceed threshold value, then judges whether the content of announcement information meets pre-conditioned further.
In one embodiment of the invention, pre-conditionedly to comprise: the content of announcement information comprises malice word, announcement information can not be removed, announcement information does not have the content pushing source or announcement information and comprises risk character string etc.Particularly, can judge whether the content of announcement information comprises malice word according to malice dictionary, whether can remove according to the mark of announcement information or this announcement information of determined property, judge whether this announcement information has propelling movement source according to whether comprising corresponding application name in the content of announcement information, judge whether the content of announcement information comprises risk character string according to risk character string storehouse, wherein, malice word can comprise the word of harmful content, such as, anti-government, obscene word etc., risk character string can be frequent eject notification information and the content of announcement information comprises malice word, filter out and download, the character string obtained after the normal character string such as successful installation.
In one embodiment of the invention, judge that announcement information does not have propelling movement source and specifically comprises: the content information obtaining announcement information; Obtain the character of predetermined number in content information; Judge the title whether comprising corresponding application program in the character of predetermined number; And if do not comprise, then determine announcement information do not have push source.Such as, predetermined number is 120,120 characters are obtained from content information, judge the title whether comprising corresponding application program in these 120 characters, if do not comprised, then can determine that corresponding announcement information does not have and push source, thus the application program determining not have the announcement information that pushes source corresponding can eject malice advertisement, makes recognition result more accurate.
S205, if meet pre-conditioned, then determines that application program ejects malice advertisement.
Particularly, if the content of announcement information meets pre-conditioned, then can determine that corresponding application program ejects malice advertisement.Such as, if judge that the content of announcement information comprises malice word, according to the mark of announcement information or this announcement information of determined property can not be removed, judge that this announcement information does not have and push source according to not comprising corresponding application name in the content of announcement information or judge that the content of announcement information comprises risk character string according to risk character string storehouse, then can determine that corresponding application program can eject maliciously advertisement according to malice dictionary.
According to the recognition methods of malice advertisement in the mobile terminal of the embodiment of the present invention, if the content of announcement information meets pre-conditioned, or the frequency of occurrence of announcement information exceedes threshold values, then can determine that corresponding application program can eject malice advertisement, improve accuracy rate.
In one embodiment of the invention, in order to improve accuracy, screening is needed to the announcement information first-selection that monitoring informing obtains, and record qualified announcement information, namely particularly, judging the frequency of occurrence of announcement information also comprises before S203 before whether exceeding threshold values: in detection notice information, whether comprise white character string; If comprise white character string, then do not record corresponding announcement information; If do not comprise white character string, then judge whether the content-length of announcement information is 0 further; And if content-length is not 0, then the frequency of occurrence of announcement information application program ejected increases by 1.
Wherein, white character string can be the character string in the content of normal system announcement information, such as, downloads, successful installation etc.
Particularly, if when the content-length of announcement information is 0, then do not record corresponding announcement information, namely the Word message in informing is not got, now announcement information may be picture etc., if when the content-length of announcement information is not 0, then the frequency of occurrence of announcement information corresponding for application program is increased by 1.Thus, the frequency of occurrence of announcement information can be obtained, whether to eject malice advertisement according to the frequency of occurrence determination application program of announcement information, make recognition effect more accurate.
In an embodiment of the invention, in order to improve accuracy rate further, the stack name and application name of monitoring the announcement information that informing obtains are judged, thus determine whether corresponding application program ejects malice advertisement, particularly, judge the occurrence number of announcement information exceed threshold values and/or judge the content of announcement information meet pre-conditioned after namely also comprise after S203 and/or S205: judge whether the stack name of announcement information exists in black stack list; If existed in black stack list, then judge whether the application name of announcement information exists in white signature list further; And if there is no sign in list in vain, then determine that application program ejects malice advertisement.Wherein, black stack can comprise harmful content (such as ejecting, anti-government, obscene word etc.) advertisement SDK(Software Development Kit, SDK (Software Development Kit)) the stack name of corresponding program stack, white signature list can comprise without eject notification information application name, eject the application name etc. of normal announcement information.Thus, the accuracy rate of recognition result is further increased.
Namely in one embodiment of the invention, in order to expand the coverage rate in risk character string storehouse, judging that the frequency of occurrence of announcement information also comprises after S203 after exceeding threshold values: the content of announcement information is added in risk character string storehouse.Particularly, when judging that the frequency of occurrence of announcement information exceedes threshold values, the content of announcement information can be added in risk character string storehouse.Thus, the coverage rate in risk character string storehouse is expanded.
In one embodiment of the invention, in order to expand black stack list, further raising recognition efficiency, in mobile terminal, the recognition methods of malice advertisement also comprises: if the content of announcement information comprises malice word, then stack name corresponding for announcement information be added in black stack list.Particularly, judge in the content of the announcement information that application program is corresponding, whether to comprise malice word according to pre-conditioned, if comprise malice word, namely comprise harmful content, then can determine that this application program ejects malice advertisement, and stack name corresponding for this announcement information is added in black stack list.Thus, expand black stack list, further increase recognition efficiency.
In another embodiment of the present invention, the stack name length being added into announcement information in black stack list corresponding need exceed preset length, and do not comprise specific character string in this stack name, such as, ijinshan, tencent etc., if the stack name that announcement information is corresponding comprises specific character string, then this stack name is not black stack, namely can not judge that corresponding application program ejects malice advertisement.Thus, ensure that the reliability of black stack list.
Fig. 3 is the process flow diagram of the recognition methods of malice advertisement in the mobile terminal according to another embodiment of the present invention.If determine that application program ejects malice advertisement, then by the malice ad-delivery of application program and/or correspondence to cloud server.Particularly, as shown in Figure 3, in mobile terminal, the recognition methods of malice advertisement comprises the following steps.
S301, obtains the application program run in mobile terminal.
S302, the informing of monitoring mobile terminal is to determine the announcement information that application program is corresponding.
S303, judges whether the frequency of occurrence of announcement information exceedes threshold value, if the frequency of occurrence of announcement information exceedes threshold values, then continues to perform S305.
S304, if the frequency of occurrence of announcement information does not exceed threshold value, then judges whether the content of announcement information meets pre-conditioned further.
S305, if meet pre-conditioned, then determines that application program ejects malice advertisement.
S306, by the malice ad-delivery of application program and/or correspondence to cloud server.
Particularly, after determining that application program ejects malice advertisement, one or more in application program, corresponding malice advertisement, corresponding announcement information etc. can be connected by network and be sent to cloud server, obtain the application information that can eject malice advertisement to make cloud server.Wherein, network connection can be 2G(Second Generation, Generation Mobile Telecommunication System technology), 3G(3rd-Generation, G mobile communication), WiFi(wireless fidelity, Wireless Fidelity), WiMax(Worldwide Interoperability for Microwave Access, worldwide interoperability for microwave access) etc.
According to the recognition methods of malice advertisement in the mobile terminal of the embodiment of the present invention, if determine that application program ejects malice advertisement, then one or more in application program, corresponding malice advertisement, corresponding announcement information etc. are sent to cloud server, the application information that can eject malice advertisement is obtained to make cloud server, when user download and install this can eject malice advertisement application program time, cloud server can send reminder message with reminding user to the mobile terminal of correspondence, improves Consumer's Experience.
In order to realize above-described embodiment, the present invention also proposes the recognition device of malice advertisement in a kind of mobile terminal.
Fig. 4 is the structured flowchart of the recognition device of malice advertisement in mobile terminal according to an embodiment of the invention.As shown in Figure 4, in mobile terminal, the recognition device of malice advertisement comprises: acquisition module 10, monitoring module 20 and determination module 30.
Particularly, acquisition module 10 is for obtaining the application program run in mobile terminal.In one embodiment of the invention, mobile terminal can be the hardware device that mobile phone, panel computer, personal digital assistant, e-book etc. have various operating system, and can run application, and also has the function that network connects.
Monitoring module 20 is for monitoring the informing of mobile terminal to determine the announcement information that application program is corresponding.Wherein, announcement information can comprise the md5 value, digital signature md5 value, title, bag name, stack name, the information content etc. of application program.
Whether determination module 30 is for ejecting malice advertisement according to the frequency of occurrence of announcement information and/or the content determination application program of announcement information.More specifically, whether determination module 30 can eject malice advertisement according to the content determination application program of the frequency of occurrence of announcement information and announcement information.Thus, the accuracy rate that recognition application can eject malice advertisement is provided.Be to be understood that, whether the content determination application program of the frequency of occurrence of announcement information or announcement information of can also selecting determination module 30 ejects malice advertisement, wherein, whether eject malice advertisement according to the frequency of occurrence of announcement information and the content determination application program of announcement information to describe in detail in follow-up embodiment, whether ejecting malice advertisement according to the frequency of occurrence of announcement information or the content determination application program of announcement information can understand according to follow-up embodiment correspondence.
According to the recognition device of malice advertisement in the mobile terminal of the embodiment of the present invention, the informing of mobile terminal is monitored to determine the announcement information that application program is corresponding by monitoring module, whether determination module ejects malice advertisement according to the content determination application program of the frequency of occurrence of announcement information and/or announcement information, the application program that can eject malice advertisement can be identified exactly, effectively compensate for the deficiency judging malice advertisement by extracting code characteristic matching technique, improve the recognition efficiency of malice advertisement.
In one embodiment of the invention, determination module 30 specifically for: judge whether the frequency of occurrence of announcement information exceedes threshold values, and when the frequency of occurrence of announcement information exceedes threshold values, determine that application program ejects malice advertisement, and when the frequency of occurrence of announcement information does not exceed threshold values, judge whether the content of announcement information meets pre-conditioned further, and when the content of announcement information meets pre-conditioned, determine that application program ejects malice advertisement.Wherein, threshold values can for system default setting, also can be that mobile phone users oneself sets, such as, threshold values is 5, pre-conditionedly to comprise: the content of announcement information comprises malice word, announcement information can not be removed, announcement information does not have propelling movement source or announcement information content comprises risk character string etc., particularly, can judge whether the content of announcement information comprises malice word according to malice dictionary, whether can remove according to the mark of announcement information or this announcement information of determined property, judge whether this announcement information has propelling movement source according to whether comprising corresponding application name in the content of announcement information, judge whether the content of announcement information comprises risk character string according to risk character string, malice word can comprise the word of harmful content, such as, anti-government, obscene word etc., risk character string can be frequent eject notification information and the content of announcement information comprises malice word, filter out and download, the character string obtained after the normal character string such as successful installation.Thus, improve the accuracy rate of recognition result.
In order to make recognition result more accurate, need judge whether announcement information has and push source, in one embodiment of the invention, determination module 30 is also specifically for obtaining the content information of announcement information, and obtain the character of predetermined number in content information, and judge the title whether comprising corresponding application program in the character of predetermined number further, and when not comprising the title of corresponding application program, determining that announcement information does not have and pushing source.Such as, predetermined number is 120,120 characters are obtained from content information, judge the title whether comprising corresponding application program in these 120 characters, if do not comprised, then determination module 30 can be determined that corresponding announcement information does not have and pushes source, thus the application program determining not have the announcement information that pushes source corresponding can eject malice advertisement, makes recognition result more accurate.
In one embodiment of the invention, determination module 30 also specifically for: before judging whether the frequency of occurrence of announcement information exceedes threshold values, white character string whether is comprised in detection notice information, and when comprising white character string, do not record corresponding announcement information, and when not comprising white character string, judge whether the content-length of announcement information is 0 further, and when content-length is not 0, the frequency of occurrence of announcement information application program ejected increases by 1.Wherein, white character string can be the character string in the content of normal system announcement information, such as, downloads, successful installation etc.
Particularly, if when the content-length of announcement information is 0, then determination module 30 does not record corresponding announcement information, namely the Word message in informing is not got, now announcement information may be picture etc., if when the content-length of announcement information is not 0, then the frequency of occurrence of announcement information corresponding for application program is increased by 1 by determination module 30.Thus, the frequency of occurrence of announcement information can be obtained, whether to eject malice advertisement according to the frequency of occurrence determination application program of announcement information, make recognition effect more accurate.
In one embodiment of the invention, determination module 30 also specifically for: judge the frequency of occurrence of announcement information exceed threshold value and/or judgement meet pre-conditioned after, judge whether the stack name of announcement information exists in black stack list, and when existing in black stack list, judge whether the application name of announcement information exists in white signature list further, and when not existing in white signature list, determine that application program ejects malice advertisement.Wherein, black stack can comprise harmful content (such as ejecting, anti-government, obscene word etc.) the stack name of program stack that advertisement SDK is corresponding, white signature list can comprise without eject notification information application name, eject the application name etc. of normal announcement information.Thus, the accuracy rate of recognition result is further increased.
In one embodiment of the invention, determination module 30 also specifically for: after judging that the frequency of occurrence of announcement information exceedes threshold values, the content of announcement information is added in risk character string storehouse.Particularly, when judging that the frequency of occurrence of announcement information exceedes threshold values, the content of announcement information can be added in risk character string storehouse by determination module 30.Thus, the coverage rate of risk character string is expanded.
In one embodiment of the invention, determination module 30 also specifically for: the content of announcement information comprise malice word time, stack name corresponding for announcement information is added in black stack list.Particularly, judge in the content of the announcement information that application program is corresponding, whether to comprise malice word according to pre-conditioned, if comprise malice word, namely comprise harmful content, determination module 30 can determine that this application program ejects malice advertisement, and stack name corresponding for this announcement information is added in black stack list.Thus, expand black stack list, further increase recognition efficiency.
In another embodiment of the present invention, the stack name length being added into announcement information in black stack list corresponding need exceed preset length, and do not comprise specific character string in this stack name, such as, ijinshan, tencent etc., if the stack name that announcement information is corresponding comprises specific character string, then this stack name is not black stack, namely can not judge that corresponding application program ejects malice advertisement.Thus, ensure that the reliability of black stack list.
Fig. 5 is the structured flowchart of the recognition device of malice advertisement in mobile terminal in accordance with another embodiment of the present invention.As shown in Figure 5, in mobile terminal, the recognition device of malice advertisement comprises: acquisition module 10, monitoring module 20, determination module 30 and sending module 40.
Particularly, sending module 40 for when determining that application program ejects malice advertisement, by the malice ad-delivery of application program and/or correspondence to cloud server.More specifically, after determining that application program ejects malice advertisement, one or more in application program, corresponding malice advertisement, corresponding announcement information etc. can be sent to cloud server by network connection by sending module 40, obtain the application information that can eject malice advertisement to make cloud server.Wherein, network connection can be 2G, 3G, WiFi, WiMax etc.
According to the recognition device of malice advertisement in the mobile terminal of the embodiment of the present invention, by sending module after determining that application program ejects malice advertisement, one or more in application program, corresponding malice advertisement, corresponding announcement information etc. can be sent to cloud server, the application information that can eject malice advertisement is obtained to make cloud server, when user download and install this can eject malice advertisement application program time, cloud server can send reminder message with reminding user to the mobile terminal of correspondence, improves Consumer's Experience.
In order to realize above-described embodiment, the present invention also proposes a kind of mobile terminal.
A kind of mobile terminal, comprising: shell, processor and circuit board; Circuit board is placed in the interior volume that shell surrounds, and processor is arranged on circuit boards; Processor is used for:
Run application, and by monitoring mobile terminal informing to determine the announcement information that application program is corresponding, and according to the frequency of occurrence of announcement information and/or the content determination application program of announcement information whether eject malice advertisement.Wherein, mobile terminal can be the hardware device that mobile phone, panel computer, personal digital assistant, e-book etc. have various operating system, and can run application, also have the function that network connects, announcement information can comprise the md5 value, digital signature md5 value, title, bag name, stack name, the information content etc. of application program.
Particularly, malice advertisement can whether be ejected according to the content determination application program of the frequency of occurrence of announcement information and announcement information.Thus, the accuracy rate that recognition application can eject malice advertisement is provided.Be to be understood that, the content determination application program of the frequency of occurrence of announcement information or announcement information can also be selected whether to eject malice advertisement, wherein, whether eject malice advertisement according to the frequency of occurrence of announcement information and the content determination application program of announcement information to describe in detail in follow-up embodiment, whether ejecting malice advertisement according to the frequency of occurrence of announcement information or the content determination application program of announcement information can understand according to follow-up embodiment correspondence.
According to the mobile terminal of the embodiment of the present invention, by monitoring the informing of mobile terminal to determine the announcement information that application program is corresponding, and whether eject malice advertisement according to the frequency of occurrence of announcement information and/or the content determination application program of announcement information, the application program that can eject malice advertisement can be identified exactly, effectively compensate for the deficiency judging malice advertisement by extracting code characteristic matching technique, improve the recognition efficiency of malice advertisement.
In one embodiment of the invention, processor also specifically for: judge whether the frequency of occurrence of announcement information exceedes threshold values, and when the frequency of occurrence of announcement information exceedes threshold value, determine that application program ejects malice advertisement, and when the frequency of occurrence of announcement information does not exceed threshold value, judge whether the content of announcement information meets pre-conditioned further, and when meeting pre-conditioned, determine that application program ejects malice advertisement.Wherein, threshold values can for system default setting, also can be that mobile phone users oneself sets, such as, threshold values is 5, pre-conditionedly to comprise: the content of announcement information comprises malice word, announcement information can not be removed, announcement information does not have propelling movement source or announcement information content comprises risk character string etc., particularly, can judge whether the content of announcement information comprises malice word according to malice dictionary, whether can remove according to the mark of announcement information or this announcement information of determined property, judge whether this announcement information has propelling movement source according to whether comprising corresponding application name in the content of announcement information, judge whether the content of announcement information comprises risk character string according to risk character string, malice word can comprise the word of harmful content, such as, anti-government, obscene word etc., risk character string can be frequent eject notification information and the content of announcement information comprises malice word, filter out and download, the character string obtained after the normal character string such as successful installation.Thus, improve the accuracy rate of recognition result.
In order to make recognition result more accurate, need judge whether announcement information has and push source, in one embodiment of the invention, processor also specifically for: obtain the content information of announcement information, and obtain the character of predetermined number in content information, and judge the title whether comprising corresponding application program in the character of predetermined number further, and when not comprising the title of corresponding application program, determining that announcement information does not have and pushing source.Such as, predetermined number is 120,120 characters are obtained from content information, judge the title whether comprising corresponding application program in these 120 characters, if do not comprised, then processor can be determined that corresponding announcement information does not have and pushes source, thus the application program determining not have the announcement information that pushes source corresponding can eject malice advertisement, makes recognition result more accurate.
In one embodiment of the invention, processor also specifically for: before judging whether the frequency of occurrence of announcement information exceedes threshold values, white character string whether is comprised in detection notice information, and when comprising white character string, do not record corresponding announcement information, and when not comprising white character string, judge whether the content-length of announcement information is 0 further, and when content-length is not 0, the frequency of occurrence of announcement information application program ejected increases by 1.Wherein, white character string can be the character string in the content of normal system announcement information, such as, downloads, successful installation etc.
Particularly, if when the content-length of announcement information is 0, then do not record corresponding announcement information, namely the Word message in informing is not got, now announcement information may be picture etc., if when the content-length of announcement information is not 0, then the frequency of occurrence of announcement information corresponding for application program is increased by 1.Thus, the frequency of occurrence of announcement information can be obtained, whether to eject malice advertisement according to the frequency of occurrence determination application program of announcement information, make recognition effect more accurate.
In one embodiment of the invention, processor also specifically for: judge the frequency of occurrence of announcement information exceed threshold value and/or judgement meet pre-conditioned after, judge whether the stack name of announcement information exists in black stack list, and when existing in black stack list, judge whether the application name of announcement information exists in white signature list further, and when not existing in white signature list, determine that application program ejects malice advertisement.Wherein, black stack can comprise harmful content (such as ejecting, anti-government, obscene word etc.) the stack name of program stack that advertisement SDK is corresponding, white signature list can comprise without eject notification information application name, eject the application name etc. of normal announcement information.Thus, the accuracy rate of recognition result is further increased.
In one embodiment of the invention, processor also specifically for: after judging that the frequency of occurrence of announcement information exceedes threshold values, the content of announcement information is added in risk character string storehouse.Particularly, when judging that the frequency of occurrence of announcement information exceedes threshold values, the content of announcement information can be added in risk character string storehouse.Thus, the coverage rate of risk character string is expanded.
In one embodiment of the invention, processor also specifically for: the content of announcement information comprise malice word time, stack name corresponding for announcement information is added in black stack list.Particularly, judge in the content of the announcement information that application program is corresponding, whether to comprise malice word according to pre-conditioned, if comprise malice word, namely comprise harmful content, processor can determine that this application program ejects malice advertisement, and stack name corresponding for this announcement information is added in black stack list.Thus, expand black stack list, further increase recognition efficiency.
In another embodiment of the present invention, the stack name length being added into announcement information in black stack list corresponding need exceed preset length, and do not comprise specific character string in this stack name, such as, ijinshan, tencent etc., if the stack name that announcement information is corresponding comprises specific character string, then this stack name is not black stack, namely can not judge that corresponding application program ejects malice advertisement.Thus, ensure that the reliability of black stack list.
In one embodiment of the invention, processor also specifically for: when determining that application program ejects malice advertisement, by the malice ad-delivery of application program and/or correspondence to cloud server.Particularly, after determining that application program ejects malice advertisement, one or more in application program, corresponding malice advertisement, corresponding announcement information etc. can be sent to cloud server by network connection by processor, obtain the application information that can eject malice advertisement to make cloud server.Wherein, network connection can be 2G, 3G, WiFi, WiMax etc.Thus, when user download and install this can eject malice advertisement application program time, cloud server can to correspondence mobile terminal send reminder message with reminding user, improve Consumer's Experience.
Should be appreciated that each several part of the present invention can realize with hardware, software, firmware or their combination.In the above-described embodiment, multiple step or method can with to store in memory and the software performed by suitable instruction execution system or firmware realize.Such as, if realized with hardware, the same in another embodiment, can realize by any one in following technology well known in the art or their combination: the discrete logic with the logic gates for realizing logic function to data-signal, there is the special IC of suitable combinational logic gate circuit, programmable gate array (PGA), field programmable gate array (FPGA) etc.
In the description of this instructions, specific features, structure, material or feature that the description of reference term " embodiment ", " some embodiments ", " example ", " concrete example " or " some examples " etc. means to describe in conjunction with this embodiment or example are contained at least one embodiment of the present invention or example.In this manual, identical embodiment or example are not necessarily referred to the schematic representation of above-mentioned term.And the specific features of description, structure, material or feature can combine in an appropriate manner in any one or more embodiment or example.
In each embodiment of the method for the present invention; the sequence number of described each step can not be used for the sequencing limiting each step; for those of ordinary skill in the art, under the prerequisite not paying creative work, the priority of each step is changed also within protection scope of the present invention.
Although illustrate and describe embodiments of the invention, those having ordinary skill in the art will appreciate that: can carry out multiple change, amendment, replacement and modification to these embodiments when not departing from principle of the present invention and aim, scope of the present invention is by claim and equivalents thereof.