CN103942076B - Integral wall information acquisition method and device - Google Patents

Integral wall information acquisition method and device Download PDF

Info

Publication number
CN103942076B
CN103942076B CN201410145745.7A CN201410145745A CN103942076B CN 103942076 B CN103942076 B CN 103942076B CN 201410145745 A CN201410145745 A CN 201410145745A CN 103942076 B CN103942076 B CN 103942076B
Authority
CN
China
Prior art keywords
information
application program
current application
class
character string
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
Application number
CN201410145745.7A
Other languages
Chinese (zh)
Other versions
CN103942076A (en
Inventor
安亚龙
焦国强
张楠
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhuhai Juntian Electronic Technology Co Ltd
Original Assignee
Zhuhai Juntian Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Juntian Electronic Technology Co Ltd filed Critical Zhuhai Juntian Electronic Technology Co Ltd
Priority to CN201410145745.7A priority Critical patent/CN103942076B/en
Publication of CN103942076A publication Critical patent/CN103942076A/en
Application granted granted Critical
Publication of CN103942076B publication Critical patent/CN103942076B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides an integral wall information acquisition method and device. The method comprise the steps that an operation request for a current application program from a user is obtained, wherein the operation request comprises a downloading request and/or an installation request; a detection request for detecting whether the current application program contains integral wall information or not is sent to a server according to the operation request; a detection result fed back by the server according to the detection request is received, and when the detection result is confirmed that the current application program contains the integral wall information, a prompt message that the current application program contains the integral wall information is displayed. According to the integral wall information acquisition method and device, when the user downloads and/or installs the application program, the prompt message of whether the application program contains the integral wall information or not is provided for the user, and the user can decide whether to download and/or install the application program or not according to the prompt message; as a result, the situation that after the application program is downloaded and/or installed, the functions of the application program can not be fully achieved is avoided, and user experience is improved.

Description

Integrate the acquisition methods and device of wall information
Technical field
The present invention relates to field of computer technology, more particularly to a kind of acquisition methods and device for integrating wall information.
Background technology
With Android(Android)The continuous popularization of system, the various advertisement forms that can apply to android system Increasingly rise, wherein, advertisement integration wall be currently based on that Android platform carries out that advertisement and application program recommend it is a kind of more Conventional means.
At present, during the use of application program, if user needs to use the work(of the higher level of the application program Can, or when playing the game more than intended level, the prompting page for obtaining integration, user can be ejected in commonly used program The page comprising multiple application programs can be may occur in which by clicking on Free Acquisition integration, the page is advertisement integration wall In one kind.Now, user can integrate the application program recommended in the wall page according to advertisement and download the application program recommended to obtain Take integration.However, application program necessary to the advertisement integration application program not usually terminal user that is recommended of wall, in order to can To be continuing with the function of current application program or can continue play under game, user would generally download what is recommended from integration wall Application program, this frequently can lead to user and wastes the application program that a large amount of network traffics download recommendation, while disturbing user's body The function of current application program is tested, Consumer's Experience is unsatisfactory.
However, the existing method for analyzing rogue program in application program is not particularly suited in identification current application program Whether wall is integrated comprising advertisement.Therefore, there is presently no can with recognition application whether comprising integration wall method.
The content of the invention
It is contemplated that at least solving one of technical problem in correlation technique to a certain extent.
Therefore, it is an object of the present invention to propose a kind of acquisition methods and device for integrating wall information.
Embodiment proposes a kind of acquisition methods for integrating wall information according to a first aspect of the present invention, including:Obtain user To the operation requests of current application program, wherein, the operation requests include download request and/or mount request;According to described Operation requests send the current application program to server, and whether the detection comprising integration wall information is asked;And receive described The testing result that server is returned according to the detection request, and it is determined that the testing result is the current application program bag During the wall information containing integration, prompt message of the current application program comprising integration wall information is shown.
The acquisition methods of the integration wall information of the embodiment of the present invention, please by obtaining operation of the user to current application program Ask, and send whether current application program asks comprising the detection for integrating wall information to server according to operation requests, Yi Jijie By the testing result that server is returned, and when current application program is comprising integration wall information, thus display reminding information, make User can decide whether to download and/or installs application program according to prompt message oneself, it is to avoid answered downloading and/or installing After with program, cannot fully be occurred using the situation of the function of application program because comprising integration wall information, improve under user The experience of load and/installation application program.
Embodiment proposes a kind of acquisition device for integrating wall information according to a second aspect of the present invention, including:Acquisition module, For obtaining operation requests of the user to current application program, wherein, the operation requests include download request and/or install to ask Ask;Sending module, for sending whether the current application program is believed comprising integration wall to server according to the operation requests The detection request of breath;And receiver module, for receiving the testing result that the server is returned according to the detection request, and When it is determined that the testing result includes integration wall information for the current application program, show that the current application program is included Integrate the prompt message of wall information.
The acquisition device of the integration wall information of the embodiment of the present invention, user is obtained to current application program by acquisition module Operation requests, and according to operation requests by sending module to server send current application program whether comprising integration wall believe The detection request of breath, and the testing result that server is returned is received by receiver module, and include product in current application program When dividing wall information, display reminding information, as a result, user can decide whether to download and/or install according to prompt message oneself Application program, it is to avoid after downloading and/or installing application program, because cannot fully use application journey comprising integration wall information The situation of the function of sequence occurs, and improves user's download and the experience of/installation application program.
Third aspect present invention embodiment proposes a kind of mobile terminal, and the mobile terminal includes housing, processor, storage Device, circuit board and power circuit, wherein, the circuit board is placed in the interior volume that the housing is surrounded, the processor and The memory is arranged on the circuit board;The power circuit, for each circuit or device for the mobile terminal Power supply;The memory is used to store executable program code;The processor by read store in the memory can Configuration processor code runs program corresponding with the executable program code, for performing following steps:Obtain user To the operation requests of current application program, wherein, the operation requests include download request and/or mount request;According to described Operation requests send the current application program to server, and whether the detection comprising integration wall information is asked;And receive described The testing result that server is returned according to the detection request, and it is determined that the testing result is the current application program bag During the wall information containing integration, prompt message of the current application program comprising integration wall information is shown.
The mobile terminal of the embodiment of the present invention, by obtaining operation requests of the user to current application program, and according to behaviour Ask to send whether current application program asks comprising the detection for integrating wall information to server, and receive server return Testing result, and current application program comprising integration wall information when, display reminding information, as a result, user can basis Prompt message oneself decides whether to download and/or install application program, it is to avoid after downloading and/or installing application program, because Cannot fully be occurred using the situation of the function of application program comprising wall information is integrated, improve user's download and/installation should With the experience of program.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partly become from the following description Obtain substantially, or recognized by practice of the invention.
Brief description of the drawings
The above-mentioned and/or additional aspect of the present invention and advantage will become from the following description of the accompanying drawings of embodiments Substantially and be readily appreciated that, wherein,
Fig. 1 is the flow chart of the acquisition methods of integration wall information according to an embodiment of the invention.
Fig. 2 is according to a flow chart for the testing result of the identification current application program of specific embodiment of the invention.
Fig. 3 is the structural representation of the acquisition device of integration wall information according to an embodiment of the invention.
Fig. 4 is the structural representation of the acquisition device of integration wall information in accordance with another embodiment of the present invention.
Specific embodiment
Embodiments of the invention are described below in detail, the example of the embodiment is shown in the drawings, wherein from start to finish Same or similar label represents same or similar element or the element with same or like function.Below with reference to attached It is exemplary to scheme the embodiment of description, it is intended to for explaining the present invention, and be not considered as limiting the invention.
In the description of the invention, it is to be understood that term " first ", " second " etc. be only used for describe purpose, without It is understood that to indicate or implying relative importance.In the description of the invention, it is necessary to explanation, specifies unless otherwise clear and definite And restriction, term " connected ", " connection " should be interpreted broadly, for example, it may be fixedly connected, or be detachably connected, Or be integrally connected;Can mechanically connect, or electrically connect;Can be joined directly together, it is also possible to by intermediary It is indirectly connected to.For the ordinary skill in the art, above-mentioned term tool in the present invention can be understood with concrete condition Body implication.Additionally, in the description of the invention, unless otherwise indicated, " multiple " is meant that two or more.
Any process described otherwise above or method description in flow chart or herein is construed as, and expression includes It is one or more for realizing specific logical function or process the step of the module of code of executable instruction, fragment or portion Point, and the scope of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussion suitable Sequence, including function involved by basis by it is basic simultaneously in the way of or in the opposite order, carry out perform function, this should be of the invention Embodiment person of ordinary skill in the field understood.
Below with reference to the accompanying drawings the acquisition methods and device of the integration wall information of the embodiment of the present invention described.
Fig. 1 is the flow chart of the acquisition methods of integration wall information according to an embodiment of the invention.
As shown in figure 1, the acquisition methods of integration wall information are comprised the following steps:
S101, obtains user to the operation requests of current application program, wherein, operation requests include download request and/or Mount request.
Specifically, operation of the real-time detection user to current application program, when detecting, user downloads and/installation is current During application program, user is obtained to the download request of current application program and/mount request.
Whether S102, send current application program please comprising the detection for integrating wall information according to operation requests to server Ask.
Specifically, after download request and/or mount request of the user to current application program is obtained, client can Whether the detection comprising integration wall information is asked to send current application program to server.
S103, the testing result that the reception server is returned according to detection request, and it is determined that testing result is current application During program bag wall information containing integration, prompt message of the display current application program comprising integration wall information.
Specifically, after whether server receives current application program comprising the detection request for integrating wall information, The testing result of current application program, and the detection that will be inquired are inquired about in such as database of server according to detection request Result is back to client.
The testing result that client the reception server is returned according to detection request, wherein, can not only be wrapped in testing result Whether current application program is included comprising integration wall information, whether detection current application program can also be included comprising integration wall information Detected rule, i.e., including based on which rule to current application program whether comprising integration wall information be identified.
Furthermore, when it is determined that the testing result for returning includes integration wall information for current application program, ejection is carried Show frame display reminding information, and show that current application program includes integration wall information in prompting frame, would you please be confirmed whether to download And/or current application program is installed.Now, user can decide whether to download and/or install currently should according to prompt message oneself With program, to avoid after downloading and/or installing current application program, because influenceing current application program comprising integration wall information Normal service condition generation, thus, improve user download and/or install application program experience.
In addition, in this embodiment, before the testing result that the reception server is returned according to detection request, can also wrap Include:The testing result of current application program is recognized, and testing result is preserved to server.
Wherein, the process of the testing result of identification current application program is as shown in Fig. 2 can include:
S201, obtains the relevant information of current application program.
Specifically, the relevant information of current application program can be collected from the informing information of current application program.Its In, the relevant information of current application program can include but are not limited to the message digest algorithm the 5th edition of current application program (Message Digest Algorithm, MD5), advertisement manufacturer's information etc..
S202, makes a reservation in detecting relevant information based on the first string matching rule and logic calling rule comprising first Character string information, then according to the first book character string information acquisition correlation category information, when it is determined that associated class information be included in it is predetermined In file, it is determined that current application program includes integration wall information.
Wherein, the first book character string information includes at least one predetermined character string.Specifically, the first book character string Information is that some can identify the character string for integrating wall information, and these character strings can represent the feature of integration wall information.Example Such as, the first book character string information can be not limited to the character strings such as integration, free credit, gold coin, free gold coin including working as.
Specifically, after the relevant information for obtaining current application program, can be based on the first string matching rule inspection Survey in relevant information and whether include at least one predetermined character string, if predetermined comprising at least one in detecting relevant information Character string, it is determined that in relevant information include the first book character string information.Wherein, the first string matching rule refers to base The rule of string matching is carried out in the first book character string information.
In this embodiment, included in detecting relevant information based on the first string matching rule and logic calling rule First book character string information, can include the class of the first book character string information according to the first book character string information acquisition, And after the class for obtaining character string information, judge whether the information of class is included in predetermined file, when it is determined that the packet of class It is contained in predetermined file, it is determined that current application program includes integration wall information.
Wherein, predetermined file is the global configuration file of application program, and this document includes definition application and its group The structure and metadata information of part.With Android(Android)As a example by operating system, predetermined file can be AndroidManifest.xml files(Android inventory file).
It should be appreciated that above-mentioned predetermined file is that Android inventory file is merely illustrative, can as needed be adjusted or use Alternative document or means.
In this embodiment, in it is determined that category information is not included in predetermined file, then that searches class calls class, if predetermined Search the class of calling found in number of times to be included in predetermined file, it is determined that current application program includes integration wall information.Its In, make a reservation for search number of times more than or equal to 1 less than or equal to 8.In such an embodiment, it is preferable predetermined number of times of searching is 5.
Wherein, logic calling rule refers to class of the detection comprising the first book character string information and searches number of times predetermined Inside find call class whether predetermined file rule.
Specifically, it is AndroidManifest.xml files with predetermined file(Android inventory file)As a example by, in detection To in relevant information comprising after the first book character string information, can be arrived according to the feature location of the first book character string information Class comprising the first book character string information, and after the class of the first book character string information that obtains, judge obtained class Whether AndroidManifest.xml files control container(Activity)Registered in information, wherein, control container information Comprising Activity titles, correspondence class and other attributes in one or several.If such The control container of AndroidManifest.xml files(Activity)Registered in information, it is determined that the information of class is included in In AndroidManifest.xml files.In it is determined that the information of class is included in AndroidManifest.xml files, then may be used To determine that current application program includes integration wall information.
If such is not in the control container of AndroidManifest.xml files(Activity)Registered in information, then Determine that the information of class is not included in AndroidManifest.xml files.When it is determined that the information of class is not included in During AndroidManifest.xml files, then search whether such is called by other classes.If finding such corresponding to call After class, detection calls whether class is included in the control container of AndroidManifest.xml files(Activity)In information Registration, if not finding such corresponding control container for calling class in AndroidManifest.xml files (Activity)Registered in information, then judge to search whether such corresponding number of times for calling class exceedes predetermined lookup number of times, such as Fruit then continues based on calling class not less than predetermined lookup number of times, searches this and calls whether class is called by other classes.At this After calling that class is corresponding and calling class called, detect this call class it is corresponding call class whether The control container of AndroidManifest.xml files(Activity)Registered in information.
If being included in AndroidManifest.xml files in the predetermined class of calling that is found in number of times such as 5 times of searching Control container(Activity)Registered in information, it is determined that associated class information is included in AndroidManifest.xml files, At this point it is possible to comprising integration wall information in determining current application program.
In addition, in order to more accurately determine whether include integration wall information in current application program, based on the first word Before symbol String matching rule and logic calling rule are detected in relevant information comprising the first book character string information, worked as After the relevant information of preceding application program, the related letter that the second string matching rule determines current application program is also based on There is the second book character string information in breath.Wherein, the second string matching rule refers to based on the second book character string information Carry out the rule of string matching.
In this embodiment, the second book character string information can be the set of the character string for recognizing advertisement manufacturer's information.
Specifically, after the relevant information for obtaining current application program, can detect the related letter of current application program Breath such as SDK SDK(Software Development Kit)In whether comprising the second book character string letter Breath, if it is determined that the second book character string information is included in such as SDK SDK of current application program, it is determined that There is prestored information in current application program.
After the testing result for obtaining current application program by above-mentioned steps S201-202, can be by comprising integration wall letter The testing result of breath and corresponding detected rule(That is the first string matching rule, the second string matching rule and logic are adjusted Use rule detection)Upload onto the server, server receives the testing result and corresponding detected rule of current application program, and root The current application program comprising integration wall information is classified and preserved according to download and software function.
The acquisition methods of the integration wall information of the embodiment of the present invention, please by obtaining operation of the user to current application program Ask, and send whether current application program asks comprising the detection for integrating wall information to server according to operation requests, Yi Jijie By the testing result that server is returned, and when current application program is comprising integration wall information, thus display reminding information, make User can decide whether to download and/or installs application program according to prompt message oneself, it is to avoid answered downloading and/or installing After with program, cannot fully be occurred using the situation of the function of application program because comprising integration wall information, improve under user The experience of load and/installation application program.
In order to realize above-described embodiment, the present invention also proposes a kind of acquisition device for integrating wall information.
Fig. 3 is the structural representation of the acquisition device of integration wall information according to an embodiment of the invention.
As shown in figure 3, the acquisition device of integration wall information includes:Acquisition module 11, sending module 12 and receiver module 13.
Specifically, acquisition module 11 is used to obtain operation requests of the user to current application program, wherein, operation requests bag Include download request and/or mount request;Sending module 12 is used to send current application program to server according to operation requests The no detection request comprising integration wall information;Receiver module 13 is used for the detection knot that the reception server is returned according to detection request Really, and when it is determined that testing result includes integration wall information for current application program, display current application program is included and integrates wall The prompt message of information.
Specifically, whether current application program is sent comprising integration to server according to operation requests in sending module 12 After the detection request of wall information, server receives detection request, and according to detection request in such as database of server The testing result of current application program is inquired about, and after the testing result that will be inquired, testing result is back to client.
The testing result that the reception server of receiver module 13 is returned according to detection request, wherein, not only may be used in testing result With including current application program whether whether detection current application program comprising integration wall information, can also be included comprising integration wall The detected rule of information, i.e., including whether being identified comprising integration wall information to current application program based on which rule.Enter For one step, when receiver module 13 determines that the testing result for returning includes integration wall information for current application program, mould is received Block 13 shows that current application program includes integration wall information by ejecting prompting frame display reminding information in prompting frame, please You confirm whether current application program is downloaded and/or installed to thing.Now, user can decide whether to download according to prompt message oneself And/or current application program is installed, to avoid after downloading and/or installing current application program, because comprising integration wall information The generation of the normal service condition of current application program is influenceed, thus, the body that user downloads and/or installs application program is improve Test.
In addition, the acquisition device of above-mentioned integration wall information can also include identification module 14, as shown in Figure 4.
Wherein, identification module 14 be used for the reception server of receiver module 13 according to detection request return testing result it Before, the testing result of current application program is recognized, and testing result is preserved to server.
Above-mentioned identification module 14 can include acquiring unit 141 and detection unit 142, wherein, acquiring unit 141 is used to obtain Obtain the relevant information of current application program;Detection unit 142 is used for based on the first string matching rule and logic calling rule Detect in relevant information comprising the first book character string information, then believed according to the first book character string information acquisition associated class Breath, in it is determined that associated class information is included in predetermined file, it is determined that current application program includes integration wall information.
Wherein, the first book character string information includes at least one predetermined character string.Specifically, the first book character string Information is that some can identify the character string for integrating wall information, and these character strings can represent the feature of integration wall information.Example Such as, the first book character string information can be not limited to the character strings such as integration, free credit, gold coin, free gold coin including working as.
Specifically, after the relevant information that acquiring unit 141 obtains current application program, detection unit 142 can base Whether at least one predetermined character string is included in the first string matching rule detection relevant information, if detecting correlation At least one predetermined character string is included in information, it is determined that the first book character string information is included in relevant information.Wherein, One string matching rule refers to the rule that string matching is carried out based on the first book character string information.
Above-mentioned detection unit 142 can also include that judgment sub-unit 1421, the first determination subelement 1422 and second determine Subelement 1423.Wherein, judgment sub-unit 1421 is used to include the first book character according to the first book character string information acquisition The class of string information, judges whether the information of class is included in predetermined file;First determination subelement 1422 is used for when determination class Information is included in predetermined file, it is determined that current application program includes integration wall information;Second determination subelement 1423 is used for In it is determined that category information is not included in predetermined file, then that searches class calls class, if in the predetermined tune searched and found in number of times It is included in predetermined file with class, it is determined that current application program includes integration wall information.Wherein, make a reservation for search number of times more than etc. 8 are less than or equal in 1.In such an embodiment, it is preferable predetermined number of times of searching is 5.
Wherein, logic calling rule refers to class of the detection comprising the first book character string information and searches number of times predetermined Inside find call class whether predetermined file rule.
Wherein, predetermined file is the global configuration file of application program, and this document includes definition application and its group The structure and metadata information of part.With Android(Android)As a example by operating system, predetermined file can be AndroidManifest.xml files(Android inventory file).Above-mentioned predetermined file is that Android inventory file is merely illustrative, above-mentioned Predetermined file can also be alternative document.
Specifically, it is AndroidManifest.xml files with predetermined file(Android inventory file)As a example by, in detection After unit 142 is detected in relevant information comprising the first book character string information, judgment sub-unit 1421 can be according to first The feature location of book character string information is obtaining the first book character string letter to the class comprising the first book character string information After the class of breath, judge obtained class whether AndroidManifest.xml files control container(Activity)Letter Registered in breath, wherein, it is a kind of or several in control container packet title containing Activity, correspondence class and other attributes Kind.If such is in the control container of AndroidManifest.xml files(Activity)Registered in information, it is determined that class Information is included in AndroidManifest.xml files.When it is determined that the information of class is included in AndroidManifest.xml texts In part, then the first determination subelement 1422 can determine that current application program includes integration wall information.
If such is not in the control container of AndroidManifest.xml files(Activity)Registered in information, then Second determination subelement 1423 determines that the information of class is not included in AndroidManifest.xml files.When it is determined that the letter of class When breath is not included in AndroidManifest.xml files, then whether the second determination subelement 1423 searches such by other classes Call.If find such it is corresponding call class after, detection calls whether class is included in AndroidManifest.xml texts The control container of part(Activity)Registered in information, corresponding call class to exist if not finding such The control container of AndroidManifest.xml files(Activity)Registered in information, then judge to search such corresponding tune Whether exceed predetermined lookup number of times with the number of times of class, if not less than predetermined lookup number of times, continued based on calling class, look into This is looked for call whether class is called by other classes.After this calls that class is corresponding and calls class called, detect that this calls class pair Answer call class whether AndroidManifest.xml files control container(Activity)Registered in information.
If being included in AndroidManifest.xml files in the predetermined class of calling that is found in number of times such as 5 times of searching Control container(Activity)Registered in information, then the second determination subelement 1423 determines that associated class information is included in In AndroidManifest.xml files, now, the second determination subelement 1423 can determine to include product in current application program Divide wall information.
In addition, above-mentioned identification module 14 can also include determining unit 143, the determining unit 143 is used in detection unit 142 are detected in relevant information comprising the first book character string information based on the first string matching rule and logic calling rule Before, after the relevant information that acquiring unit 141 obtains current application program, determine to work as based on the second string matching rule There is the second book character string information in the relevant information of preceding application program.Wherein, the second string matching rule refers to be based on Second book character string information carries out the rule of string matching.Second book character string information can be identification advertisement manufacturer letter The set of the character string of breath.
Specifically, after the relevant information that acquiring unit 141 obtains current application program, determining unit 143 can be examined Survey the relevant information such as SDK SDK of current application program(Software Development Kit)In whether Comprising the second book character string information, if it is determined that include second in such as SDK SDK of current application program Book character string information, it is determined that unit 143 determines that current application program has prestored information.
After the testing result for obtaining current application program by above-mentioned identification module 14, above-mentioned identification module 14 may be used also Result comprising integration wall information and detected rule is uploaded onto the server.Service is received and preserved comprising integration wall information and inspection Gauge testing result then.
The acquisition device of the integration wall information of the embodiment of the present invention, user is obtained to current application program by acquisition module Operation requests, and according to operation requests by sending module to server send current application program whether comprising integration wall believe The detection request of breath, and the testing result that server is returned is received by receiver module, and include product in current application program When dividing wall information, display reminding information, as a result, user can decide whether to download and/or install according to prompt message oneself Application program, it is to avoid after downloading and/or installing application program, because cannot fully use application journey comprising integration wall information The situation of the function of sequence occurs, and improves user's download and the experience of/installation application program.
In order to realize above-described embodiment, the present invention also proposes a kind of mobile terminal, and the mobile terminal includes housing, treatment Device, memory, circuit board and power circuit, wherein, foregoing circuit plate is placed in the interior volume that above-mentioned housing is surrounded, above-mentioned place Reason device and above-mentioned memory are arranged on foregoing circuit plate;Above-mentioned power circuit, for each circuit for above-mentioned mobile terminal Or device is powered;Above-mentioned memory is used to store executable program code;Above-mentioned processor deposit in above-mentioned memory by being read The executable program code of storage runs program corresponding with above-mentioned executable program code, for performing following steps:
S101 ', obtains user to the operation requests of current application program, wherein, operation requests include download request and/or Mount request.
Specifically, operation of the real-time detection user to current application program, when detecting, user downloads and/installation is current During application program, user is obtained to the download request of current application program and/mount request.
Whether S102 ', send current application program please comprising the detection for integrating wall information according to operation requests to server Ask.
Specifically, after download request and/or mount request of the user to current application program is obtained, client can Whether the detection comprising integration wall information is asked to send current application program to server.
S103 ', the testing result that the reception server is returned according to detection request, and it is determined that testing result is current application During program bag wall information containing integration, prompt message of the display current application program comprising integration wall information.
Specifically, after whether server receives current application program comprising the detection request for integrating wall information, The testing result of current application program, and the detection that will be inquired are inquired about in such as database of server according to detection request Result returns to mobile terminal.
The testing result that mobile terminal the reception server is returned according to detection request, wherein, not only can be with testing result Including current application program whether comprising integration wall information, whether detection current application program can also be included comprising integration wall letter The detected rule of breath, i.e., including whether being identified comprising integration wall information to current application program based on which rule.
Furthermore, when it is determined that the testing result for returning includes integration wall information for current application program, ejection is carried Show frame display reminding information, and show that current application program includes integration wall information in prompting frame, would you please be confirmed whether to download And/or current application program is installed.Now, user can decide whether to download and/or install currently should according to prompt message oneself With program, to avoid after downloading and/or installing current application program, because influenceing current application program comprising integration wall information Normal service condition generation, thus, improve user download and/or install application program experience.
In addition, in this embodiment, before the testing result that the reception server is returned according to detection request, can also wrap Include:The testing result of current application program is recognized, and testing result is preserved to server.
In order to recognize the testing result of current application program, the processor is additionally operable to perform following steps:
S201 ', obtains the relevant information of current application program.
Specifically, the relevant information of current application program can be collected from the informing information of current application program.Its In, the relevant information of current application program can include but are not limited to the message digest algorithm the 5th edition of current application program (Message Digest Algorithm, MD5), advertisement manufacturer's information etc..
S202 ', is detected pre- comprising first in relevant information based on the first string matching rule and logic calling rule Determine character string information, then according to the first book character string information acquisition correlation category information, when it is determined that associated class information be included in it is pre- In determining file, it is determined that current application program includes integration wall information.
Wherein, the first book character string information includes at least one predetermined character string.Specifically, the first book character string Information is that some can identify the character string for integrating wall information, and these character strings can represent the feature of integration wall information.Example Such as, the first book character string information can be not limited to the character strings such as integration, free credit, gold coin, free gold coin including working as.
Specifically, after the relevant information for obtaining current application program, can be based on the first string matching rule inspection Survey in relevant information and whether include at least one predetermined character string, if predetermined comprising at least one in detecting relevant information Character string, it is determined that in relevant information include the first book character string information.Wherein, the first string matching rule refers to base The rule of string matching is carried out in the first book character string information.
In this embodiment, included in detecting relevant information based on the first string matching rule and logic calling rule First book character string information, can include the class of the first book character string information according to the first book character string information acquisition, And after the class for obtaining character string information, judge whether the information of class is included in predetermined file, when it is determined that the packet of class It is contained in predetermined file, it is determined that current application program includes integration wall information.
Wherein, predetermined file is the global configuration file of application program, and this document includes definition application and its group The structure and metadata information of part.With Android(Android)As a example by operating system, predetermined file can be AndroidManifest.xml files(Android inventory file).
It should be appreciated that above-mentioned predetermined file is that Android inventory file is merely illustrative, can as needed be adjusted or use Alternative document or means.
In this embodiment, in it is determined that category information is not included in predetermined file, then that searches class calls class, if predetermined Search the class of calling found in number of times to be included in predetermined file, it is determined that current application program includes integration wall information.Its In, make a reservation for search number of times more than or equal to 1 less than or equal to 8.In such an embodiment, it is preferable predetermined number of times of searching is 5.
Wherein, logic calling rule refers to class of the detection comprising the first book character string information and searches number of times predetermined Inside find call class whether predetermined file rule.
Specifically, it is AndroidManifest.xml files with predetermined file(Android inventory file)As a example by, in detection To in relevant information comprising after the first book character string information, can be arrived according to the feature location of the first book character string information Class comprising the first book character string information, and after the class of the first book character string information that obtains, judge obtained class Whether AndroidManifest.xml files control container(Activity)Registered in information, wherein, control container information Comprising Activity titles, correspondence class and other attributes in one or several.If such The control container of AndroidManifest.xml files(Activity)Registered in information, it is determined that the information of class is included in In AndroidManifest.xml files.In it is determined that the information of class is included in AndroidManifest.xml files, then may be used To determine that current application program includes integration wall information.
If such is not in the control container of AndroidManifest.xml files(Activity)Registered in information, then Determine that the information of class is not included in AndroidManifest.xml files.When it is determined that the information of class is not included in During AndroidManifest.xml files, then search whether such is called by other classes.If finding such corresponding to call After class, detection calls whether class is included in the control container of AndroidManifest.xml files(Activity)In information Registration, if not finding such corresponding control container for calling class in AndroidManifest.xml files (Activity)Registered in information, then judge to search whether such corresponding number of times for calling class exceedes predetermined lookup number of times, such as Fruit then continues based on calling class not less than predetermined lookup number of times, searches this and calls whether class is called by other classes.At this After calling that class is corresponding and calling class called, detect this call class it is corresponding call class whether The control container of AndroidManifest.xml files(Activity)Registered in information.
If being included in AndroidManifest.xml files in the predetermined class of calling that is found in number of times such as 5 times of searching Control container(Activity)Registered in information, it is determined that associated class information is included in AndroidManifest.xml files, At this point it is possible to comprising integration wall information in determining current application program.
In addition, in order to more accurately determine whether include integration wall information in current application program, based on the first word Before symbol String matching rule and logic calling rule are detected in relevant information comprising the first book character string information, worked as After the relevant information of preceding application program, the related letter that the second string matching rule determines current application program is also based on There is the second book character string information in breath.Wherein, the second string matching rule refers to based on the second book character string information Carry out the rule of string matching.
In this embodiment, the second book character string information can be the set of the character string for recognizing advertisement manufacturer's information.
Specifically, after the relevant information for obtaining current application program, can detect the related letter of current application program Breath such as SDK SDK(Software Development Kit)In whether comprising the second book character string letter Breath, if it is determined that the second book character string information is included in such as SDK SDK of current application program, it is determined that There is prestored information in current application program.
After the testing result for obtaining current application program by above-mentioned steps S201-202, can be by comprising integration wall letter The testing result of breath and corresponding detected rule upload onto the server, and server receives the testing result of current application program, and The current application program comprising integration wall information is classified and preserved according to download and software function.
The mobile terminal of the embodiment of the present invention, by obtaining operation requests of the user to current application program, and according to behaviour Ask to send whether current application program asks comprising the detection for integrating wall information to server, and receive server return Testing result, and current application program comprising integration wall information when, display reminding information, as a result, user can basis Prompt message oneself decides whether to download and/or install application program, it is to avoid after downloading and/or installing application program, because Cannot fully be occurred using the situation of the function of application program comprising wall information is integrated, improve user's download and/installation should With the experience of program.
It should be appreciated that each several part of the invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In implementation method, the software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage Or firmware is realized.If for example, realized with hardware, and in another embodiment, can be with well known in the art Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array(PGA), scene Programmable gate array(FPGA)Deng.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means to combine specific features, structure, material or spy that the embodiment or example are described Point is contained at least one embodiment of the invention or example.In this manual, to the schematic representation of above-mentioned term not Identical embodiment or example must be directed to.And, the specific features of description, structure, material or feature can be with office Combined in an appropriate manner in one or more embodiments or example.Additionally, in the case of not conflicting, the skill of this area Art personnel can be tied the feature of the different embodiments or example described in this specification and different embodiments or example Close and combine.
Additionally, term " first ", " second " are only used for describing purpose, and it is not intended that indicating or implying relative importance Or the implicit quantity for indicating indicated technical characteristic.Thus, define " first ", the feature of " second " can express or Implicitly include at least one this feature.In the description of the invention, " multiple " is meant that at least two, such as two, three It is individual etc., unless otherwise expressly limited specifically.
Although embodiments of the invention have been shown and described above, it is to be understood that above-described embodiment is example Property, it is impossible to limitation of the present invention is interpreted as, one of ordinary skill in the art within the scope of the invention can be to above-mentioned Embodiment is changed, changes, replacing and modification.

Claims (16)

1. it is a kind of integrate wall information acquisition methods, it is characterised in that including:
Operation requests of the user to current application program are obtained, wherein, the operation requests include download request and/or install to ask Ask;
Send whether the current application program asks comprising the detection for integrating wall information to server according to the operation requests; And
The testing result that the server is returned according to the detection request is received, and it is determined that the testing result is worked as described When preceding application program is comprising integration wall information, prompt message of the current application program comprising integration wall information is shown;
Before the testing result for receiving the server according to the detection request return, also include:
The testing result of the current application program is recognized, and the testing result is preserved to the server;
The testing result of the identification current application program, including:
Obtain the relevant information of current application program;
Detected in the relevant information comprising the first book character based on the first string matching rule and logic calling rule String information, then according to the first book character string information acquisition correlation category information, when it is determined that the associated class information is included in In predetermined file, it is determined that the current application program includes integration wall information.
2. method according to claim 1, it is characterised in that receive the server according to the detection request described During the testing result of return, also include:
Receive the corresponding detected rule of the testing result.
3. method according to claim 1, it is characterised in that the display current application program includes integration wall letter The prompt message of breath, including:
The prompt message is shown by ejecting prompting frame.
4. method according to claim 1, it is characterised in that be based on the first string matching rule and logic is adjusted described With before including the first book character string information in rule detection to the relevant information, in the acquisition current application program After relevant information, also include:
There is the second book character string in the relevant information that the current application program is determined based on the second string matching rule Information.
5. method according to claim 1, it is characterised in that the determination current application program includes integration wall letter Breath, including:
According to class of the first book character string information acquisition comprising the first book character string information, the class is judged Whether information is included in the predetermined file;And
In it is determined that the information of the class is included in the predetermined file, it is determined that the current application program includes integration wall letter Breath.
6. method according to claim 5, it is characterised in that whether be included in the information for judging the class described After in predetermined file, also include:
In it is determined that the category information is not included in the predetermined file, then that searches the class calls class, if in predetermined lookup The class of calling found in number of times is included in the predetermined file, it is determined that the current application program includes integration wall letter Breath.
7. method according to claim 6, it is characterised in that the predetermined lookup number of times is less than or equal to 8 more than or equal to 1.
8. method according to claim 7, it is characterised in that the predetermined lookup number of times is 5.
9. it is a kind of integrate wall information acquisition device, it is characterised in that including:
Acquisition module, for obtaining operation requests of the user to current application program, wherein, the operation requests include downloading asks Ask and/or mount request;
Sending module, for sending whether the current application program is believed comprising integration wall to server according to the operation requests The detection request of breath;
And
Receiver module, for receiving the testing result that the server is returned according to the detection request, and it is determined that the inspection When survey result is that the current application program includes integration wall information, show that the current application program includes integration wall information Prompt message;
Identification module, for the receiver module receive testing result that the server returned according to the detection request it Before, the testing result of the current application program is recognized, and the testing result is preserved to the server;
The identification module, including:
Acquiring unit, the relevant information for obtaining current application program;
Detection unit, for based on the first string matching rule and logic calling rule detect the relevant information in include First book character string information, then according to the first book character string information acquisition correlation category information, when it is determined that the correlation Category information is included in predetermined file, it is determined that the current application program includes integration wall information.
10. device according to claim 9, it is characterised in that the receiver module, is additionally operable to:
Receive the corresponding detected rule of the testing result.
11. devices according to claim 9, it is characterised in that the receiver module, are additionally operable to:
The prompt message is shown by ejecting prompting frame.
12. devices according to claim 9, it is characterised in that the identification module also includes:
Determining unit, it is described for being detected based on the first string matching rule and logic calling rule in the detection unit Comprising before the first book character string information in relevant information, the relevant information of current application program is obtained in the acquiring unit Afterwards, there is the second book character string in the relevant information that the current application program is determined based on the second string matching rule Information.
13. devices according to claim 9, it is characterised in that the detection unit, including:
Judgment sub-unit, for including the first book character string information according to the first book character string information acquisition Class, judges whether the information of the class is included in the predetermined file;And
First determination subelement, for being included in the predetermined file when the information for determining the class, it is determined that described current Application program includes integration wall information.
14. devices according to claim 13, it is characterised in that the detection unit also includes:
Second determination subelement, for being not included in the predetermined file when the determination category information, then searches the class Call class, if it is predetermined search found in number of times call class to be included in the predetermined file, it is determined that it is described currently should With program bag wall information containing integration.
15. devices according to claim 14, it is characterised in that the predetermined lookup number of times is less than or equal to more than or equal to 1 8。
16. devices according to claim 15, it is characterised in that the predetermined lookup number of times is 5.
CN201410145745.7A 2014-04-11 2014-04-11 Integral wall information acquisition method and device Active CN103942076B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410145745.7A CN103942076B (en) 2014-04-11 2014-04-11 Integral wall information acquisition method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410145745.7A CN103942076B (en) 2014-04-11 2014-04-11 Integral wall information acquisition method and device

Publications (2)

Publication Number Publication Date
CN103942076A CN103942076A (en) 2014-07-23
CN103942076B true CN103942076B (en) 2017-05-24

Family

ID=51189752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410145745.7A Active CN103942076B (en) 2014-04-11 2014-04-11 Integral wall information acquisition method and device

Country Status (1)

Country Link
CN (1) CN103942076B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104780209A (en) * 2015-04-07 2015-07-15 北京奇点机智信息技术有限公司 Portable equipment and server for realizing sharing interface scenario

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617099A (en) * 2003-10-24 2005-05-18 微软公司 Application identity for software products

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4459250B2 (en) * 2007-04-20 2010-04-28 富士通株式会社 Transmission method, image transmission system, transmission device, and program
US9047441B2 (en) * 2011-05-24 2015-06-02 Palo Alto Networks, Inc. Malware analysis system

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1617099A (en) * 2003-10-24 2005-05-18 微软公司 Application identity for software products

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
基于系统调用的Android恶意软件检测;蔡志标 等;《计算机工程与设计》;20131130;第34卷(第11期);第3757-3761页 *
运营商恶意软件防护体系与关键技术研究;陈涛 等;《电信科学》;20140131;第30卷(第1期);第83-89页 *

Also Published As

Publication number Publication date
CN103942076A (en) 2014-07-23

Similar Documents

Publication Publication Date Title
US20170368683A1 (en) User portrait based skill package recommendation device and method
CN104838405B (en) The method and system of test frame for application program
CN103577658B (en) The appraisal procedure and assessment system of intelligent terminal hardware
CN105339893B (en) The application shop supported with integration testing
CN105988836B (en) Application recommendation method and device
CN104216998B (en) A kind of method, apparatus and terminal device for recommending application program
CN104317649A (en) Processing method and device of terminal application program APP and terminal
CN105893075A (en) Update method and device of application
CN107872534B (en) Information pushing method and device, server and readable storage medium
CN107391168B (en) animation loading method and device and request processing method and device
CN109408375A (en) The generation method and device of interface document
CN105335134A (en) Method and device for processing CPU occupancy rate abnormity of APP and mobile terminal
CN104698919A (en) Method and device for inspecting intelligent terminal
CN104021218A (en) Information display method and device
CN110149298A (en) A kind of method and apparatus for kidnapping detection
CN104750839A (en) Data recommendation method, terminal and server
CN104239775A (en) Method and device for establishing wireless connection of mobile phone end and PC (Personal Computer) end by short message
CN112000884A (en) User content recommendation method and device, server and storage medium
CN110795329A (en) Coverage rate testing method and system, processor and storage medium
CN107895119A (en) Program installation packet inspection method, device and electronic equipment
CN103942076B (en) Integral wall information acquisition method and device
CN110415044A (en) Cheat detection method, device, equipment and storage medium
CN108096838B (en) Gift package receiving method, device, server, mobile terminal and storage medium
CN103942487B (en) Integrate the acquisition methods and device of wall information
CN107871021B (en) Method and device for obtaining identification features of webpage search keywords

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant