CN106557698A - A kind of component detection method and apparatus in application - Google Patents
A kind of component detection method and apparatus in application Download PDFInfo
- Publication number
- CN106557698A CN106557698A CN201611078022.5A CN201611078022A CN106557698A CN 106557698 A CN106557698 A CN 106557698A CN 201611078022 A CN201611078022 A CN 201611078022A CN 106557698 A CN106557698 A CN 106557698A
- Authority
- CN
- China
- Prior art keywords
- list
- application
- party
- party application
- component
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 59
- 238000000034 method Methods 0.000 claims abstract description 32
- 238000012360 testing method Methods 0.000 claims abstract description 11
- 238000012545 processing Methods 0.000 claims description 10
- 230000015654 memory Effects 0.000 description 12
- 238000004891 communication Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 10
- 238000003860 storage Methods 0.000 description 8
- 238000005516 engineering process Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 230000002093 peripheral effect Effects 0.000 description 5
- 238000010168 coupling process Methods 0.000 description 4
- 238000005859 coupling reaction Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000009434 installation Methods 0.000 description 3
- 238000004458 analytical method Methods 0.000 description 2
- 230000006399 behavior Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000000429 assembly Methods 0.000 description 1
- 230000000712 assembly Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 230000000295 complement effect Effects 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 238000000151 deposition Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 210000003811 finger Anatomy 0.000 description 1
- PCHJSUWPFVWCPO-UHFFFAOYSA-N gold Chemical compound [Au] PCHJSUWPFVWCPO-UHFFFAOYSA-N 0.000 description 1
- 239000010931 gold Substances 0.000 description 1
- 229910052737 gold Inorganic materials 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000010897 surface acoustic wave method Methods 0.000 description 1
- 210000003813 thumb Anatomy 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/50—Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
- G06F21/55—Detecting local intrusion or implementing counter-measures
- G06F21/56—Computer malware detection or handling, e.g. anti-virus arrangements
- G06F21/562—Static detection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2221/00—Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F2221/03—Indexing scheme relating to G06F21/50, monitoring users, programs or devices to maintain the integrity of platforms
- G06F2221/033—Test or assess software
Abstract
The invention provides the component detection method and apparatus in a kind of application, the method includes:According to the user input operation for receiving, sense command request is sent to server;The sense command that the server sends is received, the sense command includes detection components title;All of application in scanning mobile terminal, obtains third-party application list;According to the sense command, the component in the third-party application with the detection components name-matches is detected in the third-party application list, generate testing result.Invention additionally discloses the component detection device in corresponding application.
Description
Technical field
The present invention relates to the component detection method and apparatus in a kind of application.
Background technology
At present, mobile terminal has become the daily necessities of people, is provided with substantial amounts of application in the terminal, has
Application in can include malicious code and such as steal flow code, customer flow is stolen in the case of user is unwitting, or
Have malice manufacturer product placement code in the application, user using using when arbitrarily jump out advertisement page, affect user to use,
Reduce Consumer's Experience.
Accordingly, it would be desirable to a kind of technical scheme that can detect the various assemblies using in, to improve Consumer's Experience.
The content of the invention
In view of this, it is an object of the invention to provide it is a kind of application in component detection method and apparatus, with try hard to solution
Certainly or at least alleviate the problem for existing above.
In a first aspect, the present invention provides a kind of component detection method in application, the method includes:
According to the user input operation for receiving, sense command request is sent to server;
The sense command that the server sends is received, the sense command includes detection components title;
All of application in scanning mobile terminal, obtains third-party application list;
According to the sense command, with the detection components name-matches is detected in the third-party application list
Component in tripartite's application, generates testing result.
Alternatively, in the method according to the invention, all of all applications in the scanning mobile terminal, obtain the 3rd
Square list of application, including:
All applications in scanning mobile terminal are applied list;
The system application in the list of application is filtered using filter, third-party application list is obtained.
Alternatively, in the method according to the invention, it is described according to the sense command, in the third-party application list
It is middle to detect with before the component in the third-party application of the detection components name-matches, also include:
Obtain the code file list of all third-party applications in the third-party application list;
The code file list is converted to into class file list;
The class file list is iterated and is calculated third party's component Name list.
Alternatively, in the method according to the invention, it is described according to the sense command, in the third-party application list
It is middle to detect and the component in the third-party application of the detection components name-matches, including:
Each third-party application in third party's component Name list is traveled through, according to the detection in the sense command
Component Name, it is determined that the component in the third-party application consistent with the detection components title.
Alternatively, in the method according to the invention, all applications in the scanning mobile terminal are applied list,
Including:
Reason object is assured in the operating system run in obtaining the mobile terminal;
Assure the interface that reason object provides and be applied list using described.
Second aspect, the present invention provide the component detection device in a kind of application, and the device includes:
Transmitting element, for according to the user input operation for receiving, sending sense command request to server;
Receiving unit, for receiving the sense command that the server sends, the sense command includes detection components name
Claim;
Scanning element, for scanning all of application in mobile terminal, obtains including the third-party application of third-party application
List;
Processing unit, for according to the sense command, detecting in the third-party application list and the detection group
Component in the third-party application of part name-matches, generates testing result.
Alternatively, in a device in accordance with the invention, the scanning element is additionally operable to:
All applications in scanning mobile terminal are applied list;
The system application in the list of application is filtered using filter, the third-party application list is obtained.
Alternatively, in a device in accordance with the invention, the processing unit is additionally operable to:
Obtain the code file list of all third-party applications in the third-party application list;
The code file list is converted to into class file list;
The class file list is iterated and is calculated third party's component Name list.
Alternatively, in a device in accordance with the invention, the processing unit is additionally operable to:
Each third-party application in third party's component Name list is traveled through, according to the detection in the sense command
Component Name, it is determined that the component in the third-party application consistent with the detection components title.
Alternatively, in a device in accordance with the invention, the scanning element is additionally operable to:
Reason object is assured in the operating system run in obtaining the mobile terminal;
The list of application is obtained using the interface for assuring reason object offer.
Technology according to the present invention scheme, is detected in the mounted third-party application of Android operation system by sense command
Comprising component, generate testing result, so as to developer according to testing result simplify application in various functions code, be
Follow-up analysis provides support.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Description of the drawings
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by to be used attached needed for embodiment
Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, thus be not construed as it is right
The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can be with according to this
A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 shows a kind of block diagram of mobile terminal.
The flow chart that Fig. 2 shows the component detection method in a kind of application that the embodiment of the present invention is provided.
Fig. 3 shows the schematic diagram of the list of application provided by the embodiment of the present invention.
Fig. 4 shows the structure chart of the component detection device in a kind of application that the embodiment of the present invention is provided.
Specific embodiment
To make purpose, technical scheme and the advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
Middle accompanying drawing, is clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only
It is a part of embodiment of the invention, rather than the embodiment of whole.The present invention generally described and illustrated in accompanying drawing herein is real
The component for applying example can be arranged and be designed with a variety of configurations.Therefore, below to the present invention's that provides in the accompanying drawings
The detailed description of embodiment is not intended to limit the scope of claimed invention, but is merely representative of the selected reality of the present invention
Apply example.Based on embodiments of the invention, the institute obtained on the premise of creative work is not made by those skilled in the art
There is other embodiment, belong to the scope of protection of the invention.
Fig. 1 is the structured flowchart of mobile terminal 1 00.Mobile terminal 1 00 with multiple point touching ability can include storage
Device interface 102, one or more data processors, image processor and/or CPU 104, and peripheral interface
106。
Memory interface 102, one or more processors 104 and/or peripheral interface 106 can both be discrete components,
Can be integrated in one or more integrated circuits.In the mobile terminal 100, various elements can be by one or more communication
Bus or holding wire are coupling.Sensor, equipment and subsystem may be coupled to peripheral interface 106, various to help to realize
Function.For example, motion sensor 110, optical sensor 112 and range sensor 114 may be coupled to peripheral interface 106, with side
Just orientation, illumination and find range etc. function.Other sensors 116 equally can be connected with peripheral interface 106, such as alignment system
(such as GPS), temperature sensor, biometric sensor or other sensor devices, it is possible thereby to help implement correlation
Function.
Camera sub-system 120 and optical pickocff 122 can be used for the camera of convenient such as recording photograph and video clipping
The realization of function, wherein the camera sub-system and optical pickocff can for example be charge-coupled image sensor (CCD) or complementary gold
Category oxide semiconductor (CMOS) optical pickocff.
Can help realize communication function, wherein wireless communication by one or more radio communication subsystems 124
System can include radio-frequency transmitter and emitter and/or light (such as infrared) Receiver And Transmitter.Radio communication subsystem
124 particular design and embodiment can depend on one or more communication networks that mobile terminal 1 00 is supported.For example,
Mobile terminal 1 00 can include being designed to supporting GSM network, GPRS network, EDGE network, Wi-Fi or WiMax network and
The communication subsystem 124 of BlueboothTM networks.
Audio subsystem 126 can be coupled with loudspeaker 128 and microphone 130, to help implement to enable voice
Function, such as speech recognition, speech reproduction, digital record and telephony feature.
I/O subsystems 140 can include touch screen controller 142 and/or one or more other input controllers 144.
Touch screen controller 142 may be coupled to touch-screen 146.For example, the touch-screen 146 and touch screen controller
142 can detect the contact and movement or time-out for carrying out therewith using any one of various touch-sensing technologies, its
Middle detection technology includes but is not limited to capacitive character, resistive, infrared and surface acoustic wave technique.
One or more other input controllers 144 may be coupled to other input/control devicess 148, such as one or
The pointer device of multiple buttons, rocker switch, thumb wheel, infrared port, USB port, and/or instruction pen etc.One or
Multiple buttons (not shown) can include the up/down button for 130 volume of controlling loudspeaker 128 and/or microphone.
Memory interface 102 can be coupled with memory 150.The memory 150 can be deposited including high random access
Reservoir and/or nonvolatile memory, such as one or more disk storage equipments, one or more optical storage apparatus, and/
Or flash memories (such as NAND, NOR).
Memory 150 can be with storage program area 152, such as behaviour of Android, IOS or Windows Phone etc
Make system.The operating system 152 can be included for processing basic system services and performing the finger of the task of depending on hardware
Order.Memory 150 can also be stored various applies 154.When mobile device runs, can from memory 150 loading operation be
System 152, and performed by processor 104.Using 154 operationally, also can load from memory 150, and by processor 104
Perform.Operate on operating system using 154, the interface provided using operating system and bottom hardware realizes various users
Desired function, such as instant messaging, web page browsing, pictures management etc..Using operating system offer can be independently of, also may be used
Being that operating system is carried.
Apply in 154 various, a kind of application therein is the components detection means using in.Can hereafter carry out in detail
Thin narration.
The flow chart that Fig. 2 shows the component detection method in a kind of application for being provided according to embodiments of the present invention.Such as
Shown in Fig. 2, perform in the terminal, the method starts from step S210.
In step S210, according to the user input operation for receiving, sense command request is sent to server.
In one embodiment, different options to be detected, for example, purposes of commercial detection, malice can be shown in mobile terminal
Plug-in unit detection etc., user click on need detection option to be detected after, mobile terminal by TCP connection or HTTPS connect to
The option to be detected that server sends with user selects is corresponding such as the sense command request of json forms.In sense command request
Can be including version number of operating system run in the sequence number of current mobile terminal, mobile terminal etc., so as to server
Corresponding sense command is returned according to mobile terminal.
In step S220, the sense command that the reception server sends, sense command include detection components title.
Sense command is previously stored with server, different mobile terminals can return different sense commands.Detection
Order includes command type and command context, and command type is made a distinction by the value of type fields, and for example, type=1 is wide
It is malicious code plug-in unit detection etc. to accuse plug-in unit detection, type=2.Command context correspondence stores detection content with command type,
For example, when command type is 1, storage in command context needs the manufacturer of the ad plug-in of detection, advertised name keyword etc.
Deng.
Server, first please by the sense command of such as json forms after the sense command request of the mobile terminal for receiving
Ask and parsed, obtain the information related to sense command such as mobile terminal sequence number etc., return again to include detection components title
Sense command.
In step S230, all of application in scanning mobile terminal obtains third-party application list.
After mobile terminal receives sense command, all applications scanned in mobile terminal are applied list, utilize
Filter filters the system application in the list of application, obtains third-party application list.Wherein, transport in obtaining the mobile terminal
Reason object is assured in capable operating system, be applied list using the interface that reason object provides is assured.
In specific implementation process, as the attribute type of the application installed in Android operation system is Observable<
ApplicationInfo>Type, before all applications in scanning mobile terminal, needs to create one
The data source of ApplicationInfo objects.For example, creating for the data source can be by the OnSubscribe interfaces
Callback method call methods are triggered, when call methods are called, by the getPackageManager methods in Context classes
Obtain assuring in Android operation system and manage object (PackageManager objects), recall in above-mentioned Context classes
GetInstalledApplications methods filter out all mounted list of applications of mobile terminal, obtain
The table data of ApplicationInfo types, receives an OnSubscribe by the create methods of Observable classes
Interface realizes that class, as parameter, completes Observable<ApplicationInfo>The establishment of data source, be applied list
(referring to Fig. 3), all system applications and nonsystematic application that current application list is installed in including mobile terminal.
The sense command of the present invention is directed to third-party application, it is therefore desirable to nonsystematic application is carried out with system application
Distinguish.In the mobile terminal of operation Android operation system, in system application, ApplicationInfo.FLAG_ is included
Application comprising ApplicationInfo.FLAG_SYSTEM is filtered using filter methods, is obtained the 3rd by SYSTEM
The third-party application list of Fang Yingyong.
In step S240, according to sense command, detection and detection components name-matches in third-party application list
Component in third-party application, generates testing result.
In one embodiment, the code file list of all third-party applications in third-party application list is obtained, will
Code file list is converted to class file list, class file list is iterated and is calculated third party's component Name list.
Each third-party application in traversal third party's component Name list, according to the detection components title in sense command, it is determined that with
Component in the consistent third-party application of detection components title.
The plug-in unit of the third-party application in mobile terminal is analyzed, need to obtain the code file applied such as
DexFile files, DexFile files are the class class files that java codes are generated after compiling in Android operation system
Integrating document, Android operation system run its java code by reading the DexFile files in application.
In specific implementation process, the path i.e. third party for obtaining DexFile files in all third-party applications first should
Installation path, the data source of ApplicationInfo is changed into the data source of DexFile forms by map operators,
By calling in each object in the ApplicationInfo lists returned in the data source of DexFile forms
SourceDir member variables, obtain the installation path of all third-party applications in Android operation system, then instantiate one
Individual DexFile objects, using the installation path of third-party application as parameter, the code file list being applied.
Call Observable<ApplicationInfo>In data source, flatmap methods are by DexFile listed files source
The source of each class filename is converted into, that is, all of class class files title is obtained in obtaining DexFile files
The all component title of third-party application, specific embodiment are as follows:Need to return when flatmap methods are called
Observable<String>Source, class filenames are exactly character string type String, create character string list first and are used for depositing
All class names in storage DexFile files, then call the entries methods in DexFile files to obtain its enumeration object, then
Iteration is circulated to its enumeration object, each iteration is added to class name is obtained in the character string list of establishment, and iteration is completed
Afterwards, return generated third party's name list as source.
According to the detection components title in sense command, with detection components title one in matching third party's component Name list
Component in the third-party application of cause, and the relevant information of record matching component is such as using bag title, component Name etc., will record
The relevant information of matching component is sent to server, so that server is analyzed.
Technology according to the present invention scheme, is detected in the mounted third-party application of Android operation system by sense command
Comprising component, generate testing result, so as to developer according to testing result simplify application in various functions code, be
Follow-up analysis provides support.
Fig. 4 shows the schematic diagram of the component detection device in a kind of application of the embodiment provided according to the present invention.Such as
Shown in Fig. 4, during the device resides in movement to terminal, including:Transmitting element 410, receiving unit 420, scanning element 430 and place
Reason unit 440.
Transmitting element 410 sends sense command request to server according to the user input operation for receiving.
Receiving unit 420 receives the sense command that the server sends, and the sense command includes detection components title.
All of application in the scanning mobile terminal of scanning element 430, obtains third-party application list.Wherein, scanning element
All applications in 430 scanning mobile terminals are applied list, and the system filtered using filter in the list of application should
With obtaining third-party application list.In one embodiment, the behaviour that scanning element 430 is run in obtaining the mobile terminal
Make to assure reason object in system, assure the interface that reason object provides and be applied list using described.
Processing unit 440 is detected in the third-party application list and the detection components according to the sense command
Component in the third-party application of name-matches, generates testing result.Wherein, processing unit 440 obtains the third-party application
The code file list is converted to class file list, to described by the code file list of all third-party applications in list
Class file list is iterated and is calculated third party's component Name list.Travel through every in third party's component Name list
Individual third-party application, according to the detection components title in the sense command, it is determined that consistent with the detection components title
Component in tripartite's application.
The embodiment of the present invention provided it is a kind of application in component detection device can be equipment on specific hardware or
Person is installed on the software on equipment or firmware etc..The device provided by the embodiment of the present invention, which realizes the technology of principle and generation
Effect is identical with preceding method embodiment, is brief description, and device embodiment part does not refer to part, refers to preceding method reality
Apply corresponding contents in example.Those skilled in the art can be understood that, for convenience and simplicity of description, described above
System, device and unit specific work process, may be referred to the corresponding process in said method embodiment, here is no longer
Repeat.
In embodiment provided by the present invention, it should be understood that disclosed apparatus and method, other sides can be passed through
Formula is realized.Device embodiment described above is only schematic, and for example, the division of the unit, only one kind are patrolled
Volume function is divided, and can have other dividing mode when actually realizing, and for example, multiple units or component can with reference to or can
To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other
Coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication link by some communication interfaces, device or unit
Connect, can be electrical, mechanical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit
The part for showing can be or may not be physical location, you can local to be located at one, or can also be distributed to multiple
On NE.Some or all of unit therein can be selected according to the actual needs to realize the mesh of this embodiment scheme
's.
In addition, each functional unit in the embodiment that the present invention is provided can be integrated in a processing unit, also may be used
Being that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.
If the function is realized using in the form of SFU software functional unit and as independent production marketing or when using, can be with
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is substantially in other words
The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, is used including some instructions so that a computer equipment (can be individual
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment methods described of the invention.
And aforesaid storage medium includes:USB flash disk, portable hard drive, read-only storage (ROM, Read-Only Memory), arbitrary access are deposited
Reservoir (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with the medium of store program codes.
It should be noted that:Similar label and letter represent similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined in individual accompanying drawing, then in subsequent accompanying drawing which further need not be defined and is explained, additionally, term " the
One ", " second ", " the 3rd " etc. are only used for distinguishing description, and it is not intended that indicating or implying relative importance.
Finally it should be noted that:Embodiment described above, specific embodiment only of the invention, to illustrate the present invention
Technical scheme, rather than a limitation, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this
It is bright to be described in detail, it will be understood by those within the art that:Any those familiar with the art
The invention discloses technical scope in, which still can be modified to the technical scheme described in previous embodiment or can be light
Change is readily conceivable that, or equivalent is carried out to which part technical characteristic;And these modifications, change or replacement, do not make
The essence of appropriate technical solution departs from the spirit and scope of embodiment of the present invention technical scheme.The protection in the present invention should all be covered
Within the scope of.Therefore, protection scope of the present invention described should be defined by scope of the claims.
Claims (10)
1. it is a kind of application in component detection method, it is characterised in that the method includes:
According to the user input operation for receiving, sense command request is sent to server;
The sense command that the server sends is received, the sense command includes detection components title;
All of application in scanning mobile terminal, obtains third-party application list;
According to the sense command, the third party with the detection components name-matches is detected in the third-party application list
Component using in, generates testing result.
2. the method for claim 1, it is characterised in that all of all applications in the scanning mobile terminal, obtains
Third-party application list, including:
All applications in scanning mobile terminal are applied list;
The system application in the list of application is filtered using filter, the third-party application list is obtained.
3. the method for claim 1, it is characterised in that described according to the sense command, in the third-party application
Before the component in the third-party application with the detection components name-matches is detected in list, also include:
Obtain the code file list of all third-party applications in the third-party application list;
The code file list is converted to into class file list;
The class file list is iterated and is calculated third party's component Name list.
4. method as claimed in claim 3, it is characterised in that described according to the sense command, in the third-party application
The component in the third-party application with the detection components name-matches is detected in list, including:
Each third-party application in third party's component Name list is traveled through, according to the detection components in the sense command
Title, it is determined that the component in the third-party application consistent with the detection components title.
5. method as claimed in claim 2, it is characterised in that all applications in the scanning mobile terminal are applied row
Table, including:
Reason object is assured in the operating system run in obtaining the mobile terminal;
The list of application is obtained using the interface for assuring reason object offer.
6. it is a kind of application in component detection device, it is characterised in that the device includes:
Transmitting element, for according to the user input operation for receiving, sending sense command request to server;
Receiving unit, for receiving the sense command that the server sends, the sense command includes detection components title;
Scanning element, for scanning all of application in mobile terminal, obtains third-party application list;
Processing unit, for according to the sense command, detecting in the third-party application list and the detection components name
Component in the third-party application of title matching, generates testing result.
7. device as claimed in claim 6, it is characterised in that the scanning element is additionally operable to:
All applications in scanning mobile terminal are applied list;
The system application in the list of application is filtered using filter, the third-party application list is obtained.
8. device as claimed in claim 6, it is characterised in that the processing unit is additionally operable to:
Obtain the code file list of all third-party applications in the third-party application list;
The code file list is converted to into class file list;
The class file list is iterated and is calculated third party's component Name list.
9. device as claimed in claim 8, it is characterised in that the processing unit is additionally operable to:
Each third-party application in third party's component Name list is traveled through, according to the detection components in the sense command
Title, it is determined that the component in the third-party application consistent with the detection components title.
10. device as claimed in claim 7, it is characterised in that the scanning element is additionally operable to:
Reason object is assured in the operating system run in obtaining the mobile terminal;
Assure the interface that reason object provides and be applied list using described.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611078022.5A CN106557698B (en) | 2016-11-29 | 2016-11-29 | A kind of component detection method and apparatus in application |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611078022.5A CN106557698B (en) | 2016-11-29 | 2016-11-29 | A kind of component detection method and apparatus in application |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106557698A true CN106557698A (en) | 2017-04-05 |
CN106557698B CN106557698B (en) | 2019-08-02 |
Family
ID=58445865
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611078022.5A Active CN106557698B (en) | 2016-11-29 | 2016-11-29 | A kind of component detection method and apparatus in application |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106557698B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110941534A (en) * | 2019-11-19 | 2020-03-31 | 深圳开源互联网安全技术有限公司 | Method and system for detecting third-party code call of web application |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130055273A1 (en) * | 2011-08-30 | 2013-02-28 | Samsung Electronics Co., Ltd. | Terminal and application management method thereof |
CN103345420A (en) * | 2013-06-03 | 2013-10-09 | 百度在线网络技术(北京)有限公司 | Method for massively calling API interfaces, system for massively calling API interfaces and device for massively calling API interfaces |
CN104166615A (en) * | 2014-08-08 | 2014-11-26 | 可牛网络技术(北京)有限公司 | Method, device, server and mobile terminal for determining power consumption condition of third party application program |
CN104731683A (en) * | 2015-03-10 | 2015-06-24 | 惠州Tcl移动通信有限公司 | Mobile phone memory monitoring method and system |
CN105207842A (en) * | 2015-08-26 | 2015-12-30 | 福建天晴数码有限公司 | Android plug-in characteristic detection method and system |
-
2016
- 2016-11-29 CN CN201611078022.5A patent/CN106557698B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20130055273A1 (en) * | 2011-08-30 | 2013-02-28 | Samsung Electronics Co., Ltd. | Terminal and application management method thereof |
CN103345420A (en) * | 2013-06-03 | 2013-10-09 | 百度在线网络技术(北京)有限公司 | Method for massively calling API interfaces, system for massively calling API interfaces and device for massively calling API interfaces |
CN104166615A (en) * | 2014-08-08 | 2014-11-26 | 可牛网络技术(北京)有限公司 | Method, device, server and mobile terminal for determining power consumption condition of third party application program |
CN104731683A (en) * | 2015-03-10 | 2015-06-24 | 惠州Tcl移动通信有限公司 | Mobile phone memory monitoring method and system |
CN105207842A (en) * | 2015-08-26 | 2015-12-30 | 福建天晴数码有限公司 | Android plug-in characteristic detection method and system |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110941534A (en) * | 2019-11-19 | 2020-03-31 | 深圳开源互联网安全技术有限公司 | Method and system for detecting third-party code call of web application |
Also Published As
Publication number | Publication date |
---|---|
CN106557698B (en) | 2019-08-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9977668B2 (en) | Automatic updating of applications | |
CN107329750A (en) | The recognition methods of advertisement page, jump method and mobile terminal in application program | |
KR102379313B1 (en) | Electronic device for displaying application andoperating method thereof | |
CN104156233B (en) | Light application off-line update method, device and terminal | |
CN108605220B (en) | Application processing method and device for embedded universal integrated circuit card | |
US10685113B2 (en) | Determining the similarity of binary executables | |
US10021213B2 (en) | Systems and methods for adaptive cloning of mobile devices | |
US20230129384A1 (en) | Method for Browsing Application Folder and Electronic Device | |
CN106598677A (en) | Installation package downloading method and device | |
CN105512033A (en) | Automated testing method and device of mobile terminal and mobile terminal | |
CN106528163A (en) | Page switching method and device | |
CN111158547B (en) | Information processing method and related equipment | |
CN106776908B (en) | Data cleaning method and device and terminal | |
CN105739817A (en) | Icon hiding method and device and mobile terminal | |
CN105491129A (en) | Page loading progress display method and device and mobile terminal | |
CN109558553A (en) | Pattern determines method and device | |
CN106557698A (en) | A kind of component detection method and apparatus in application | |
CN106375983B (en) | A kind of identifier generation method and device | |
JP6544871B2 (en) | Information display method, terminal, and server | |
US20160196030A1 (en) | Method and electronic device for displaying electronic document | |
CN106502487A (en) | A kind of application call devices and methods therefor | |
CN105389108A (en) | Identification method and device of touch operation of mobile terminal | |
CN108268507B (en) | Browser-based processing method and device and electronic equipment | |
CN104951337A (en) | File incremental updating method and device | |
CN112083843B (en) | Control method and device of application icons |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
TR01 | Transfer of patent right |
Effective date of registration: 20231108 Address after: Room 606-609, Compound Office Complex Building, No. 757, Dongfeng East Road, Yuexiu District, Guangzhou, Guangdong Province, 510699 Patentee after: China Southern Power Grid Internet Service Co.,Ltd. Address before: 430000 East Lake Development Zone, Wuhan City, Hubei Province, No. 1 Software Park East Road 4.1 Phase B1 Building 11 Building Patentee before: WUHAN DOUYU NETWORK TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |