CN108829391A - Control recognition methods and system in a kind of Fragment - Google Patents
Control recognition methods and system in a kind of Fragment Download PDFInfo
- Publication number
- CN108829391A CN108829391A CN201810421629.1A CN201810421629A CN108829391A CN 108829391 A CN108829391 A CN 108829391A CN 201810421629 A CN201810421629 A CN 201810421629A CN 108829391 A CN108829391 A CN 108829391A
- Authority
- CN
- China
- Prior art keywords
- fragment
- control
- type
- identification
- identification information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiment of the invention provides control recognition methods in a kind of Fragment, including:In the life cycle of Activity component, the Fragment in the Activity component is monitored;In the life cycle of the Fragment, control, the title of the Fragment and the type of the Fragment in the Fragment are obtained;The identification information for the control that the name of the Fragment is referred to as in the Fragment is implanted in the control in the Fragment, and the corresponding identification method of type of the Fragment is determined based on the type of the Fragment, to be identified according to the identification method and the identification information to the control in the Fragment.Method provided in an embodiment of the present invention realizes control identification, identification process precise and high efficiency and size of code is small in the different Fragment for the type of different Fragment by obtaining control, the type of Fragment and the title of Fragment in Fragment.
Description
Technical field
The present embodiments relate to control recognition methods in field of computer technology more particularly to a kind of Fragment and it is
System.
Background technique
Currently, user interface switches all cutting using activity in the software development process of android system
It changes, this has resulted in entirely slower using speed of getting up, and memory is accounted for very much, because activity is the group of heavyweight
Part, using very inconvenient inside application program.For said circumstances, the concept of Fragment is introduced in Android 3.0,
Fragment can be translated as segment, and Fragment is the control with oneself life cycle, it has the processing input of oneself
The ability of event has the life cycle of oneself, and is necessarily dependent upon Activity, can communicate with each other and trustship.Pass through
Fragment can solve the dynamic and flexible UI design of different screen resolution, large screen such as tablet computer, the small screen such as hand
Machine can be used, tablet computer by the design of Fragment so that it has more spaces to put more UI components, and it is more
Space storage UI out makes it that can generate more interactions.
But in the prior art, the page and logic development all are carried out just with Fragment, and inside Fragment
Control is due to being attached in activity, so being monitored and being identified there is no good method, to cause user data
The difficulty of acquisition.
Therefore a kind of Fragment control recognition methods is needed now to be monitored simultaneously the control inside Fragment
Identification.
Summary of the invention
To solve the above-mentioned problems, the embodiment of the present invention provides one kind and overcomes the above problem or at least be partially solved
State control recognition methods and system in the Fragment of problem.
The first aspect embodiment of the present invention provides control recognition methods in a kind of Fragment, including:
In the life cycle of Activity component, the Fragment in the Activity component is monitored;
In the life cycle of the Fragment, the name of control in the Fragment, the Fragment are obtained
The type of title and the Fragment;
The identification information for the control that the name of the Fragment is referred to as in the Fragment is implanted to described
In control in Fragment, and determine based on the type of the Fragment the corresponding identification side of type of the Fragment
Formula, to be identified according to the identification method and the identification information to the control in the Fragment.
Second aspect the embodiment of the invention provides control identifying system in a kind of Fragment, the system comprises:
Module is monitored, in the life cycle of Activity component, monitoring in the Activity component
Fragment;
Module is obtained, in the life cycle of the Fragment, obtaining the control in the Fragment, described
The type of the title of Fragment and the Fragment;
The identification information of identification module, the control for being referred to as the name of the Fragment in the Fragment is planted
Enter into the control in the Fragment, and determines that the type of the Fragment is corresponding based on the type of the Fragment
Identification method, to be identified according to the identification method and the identification information to the control in the Fragment.
The embodiment of the invention provides controls in a kind of Fragment to identify equipment for the third aspect, including:
Processor, memory, communication interface and bus;Wherein, the processor, memory, communication interface pass through described
Bus completes mutual communication;The memory is stored with the program instruction that can be executed by the processor, the processor
Described program instruction is called to be able to carry out control recognition methods in a kind of Fragment described above.
The embodiment of the invention provides a kind of non-transient computer readable storage medium, the non-transient calculating for fourth aspect
Machine readable storage medium storing program for executing stores computer instruction, and the computer instruction makes the computer execute the above method.
Control recognition methods and system in a kind of Fragment provided in an embodiment of the present invention, by obtaining in Fragment
Control, the type of Fragment and the title of Fragment, realize for different Fragment type difference
Control identifies in Fragment, identification process precise and high efficiency and size of code is small.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair
Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root
Other attached drawings are obtained according to these attached drawings.
Fig. 1 is control recognition methods flow chart in a kind of Fragment provided in an embodiment of the present invention;
Fig. 2 is control identifying system structural schematic diagram in a kind of Fragment provided in an embodiment of the present invention;
Fig. 3 is the structural block diagram of control identification equipment in a kind of Fragment provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, technical solution in the embodiment of the present invention is explicitly described, it is clear that described embodiment is the present invention
A part of the embodiment, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not having
Every other embodiment obtained under the premise of creative work is made, shall fall within the protection scope of the present invention.
In the prior art, it in Android development process, for more flexible and dynamic UI design, introduces
The concept of Fragment.Fragment is used to indicate behavior or user interface portion in Activity component, can will be multiple
Fragment combination constructs more pane UI in an Activity component, can also repeat to make in multiple Activity components
With some Fragment.
But the prior art is all only in the exploitation for completing certain functions using Fragment, and inside Fragment
Space, due to being attached in Activity component, so failing to be monitored well, to cause in data acquisition
Some unnecessary difficulties.
For above-mentioned problems of the prior art, Fig. 1 is controlled in a kind of Fragment provided in an embodiment of the present invention
Part recognition methods flow chart, as shown in Figure 1, including:
S1, in the life cycle of Activity component, monitor the Fragment in the Activity component;
S2, in the life cycle of the Fragment, obtain control in the Fragment, the Fragment
The type of title and the Fragment;
S3, the identification information for the control that the name of the Fragment is referred to as in the Fragment is implanted to it is described
In control in Fragment, and determine based on the type of the Fragment the corresponding identification side of type of the Fragment
Formula, to be identified according to the identification method and the identification information to the control in the Fragment.
In step sl, the Activity component be the most substantially be also most commonly seen four big in android system
One of component is mainly used for providing a screen page for android system, and user can be handed over by the screen page
Mutually.It should be noted that Activity component provide screen page in contain one or more Fragment and
The control shown in Fragment, these controls are generally referred in embodiments of the present invention as View class control, these are aobvious
The control shown, which carries out identification, just may determine which Fragment it belongs to actually.
Further, it is to be understood that Activity component has the life cycle of itself, and Activity component passes through
The method of life cycle is come the creation of oneself and destruction that manage.A general life cycle is needed by from creation, operation stops
Only, the normal life-cycle processes such as destruction, so the embodiment of the present invention needs the life cycle in entire Activity component
In the Fragment in Activity component is monitored, so that it is determined that in Activity component each Fragment it is specific
Information.
In step s 2, likewise, Fragment also has the life cycle of oneself, the life cycle of Fragment is similar
In the life cycle of Activity component, it is also desirable to by running from creation, stop, the normal life-cycle processes such as destruction.
Also, because Fragment represents Activity component and working, its state should also react the state of Activity.Cause
And Fragment needs corresponding life cycle methodology to handle the work of Activity.So in the Life Cycle of Fragment
In phase, in order to obtain each work in Fragment View control control information, the embodiment of the present invention also needs
The View control of work each in Fragment is monitored in the life cycle of Fragment, to obtain corresponding
The type of the control information of Fragment, the title of the Fragment and the Fragment.
It is understood that the type of Fragment generally can be divided into dynamic Fragment and static state Fragment, without
Its implementation of the Fragment of same type is different, such as in dynamic Fragment, View control is dynamically to be put into the page,
And in static state Fragment, View control is to be directly displayed on the page, so it is directed to the type of different Fragment, this hair
Bright embodiment needs to take different recognition strategies, could targetedly realize the knowledge of control in various types Fragment
Not.
In step s3, it is to be understood that by the snoop procedure of step S1 and step S2, the embodiment of the present invention can
The corresponding Fragment title of control in each Fragment is obtained, Fragment can be referred to as marking by the embodiment of the present invention
Information Embedding is known in the control into Fragment, so that directly detecting identification information just may recognize that when being identified
Fragment belonging to any control in Fragment.
Further, the embodiment of the present invention formulates corresponding identification method also directed to different types of Fragment, then
It is identified when being identified using identification method corresponding with type, to realize the comprehensive of control in Fragment
Identification.
Control recognition methods in a kind of Fragment provided in an embodiment of the present invention, by obtaining the control in Fragment
The title of part, the type of Fragment and Fragment realizes the different Fragment of the type for different Fragment
The identification of interior control, identification process precise and high efficiency and size of code is small.
On the basis of the above embodiments, described in the life cycle of Activity component, monitoring belongs to described
The Fragment of Activity component, including:
It is detected whether by first object method there are FragmentActivity, the first object method is described
The method realized in the life cycle of Activity component;
FragmentActivity if it exists, then Fragment corresponding to the FragmentActivity is infused
Volume, to monitor the Fragment for belonging to the Activity component.
By the content of above-described embodiment it is found that the embodiment of the present invention is in step sl to the Fragment of Activity component
It is monitored, so that the change information of Fragment is persistently obtained in the life cycle of entire Activity component, then
Specific snoop procedure, the embodiment of the present invention is by the way of the judgement of first object method.
In embodiments of the present invention, first object method is referred to as onActivityCreated method, it is possible to understand that
Be many methods can be realized in the life cycle of Activity component, wherein just include onActivityCreated method,
This method can be called after the onCreate method in Activity has executed, that is to say, that work as execution
The onCreate of Activity is just completed when onActivityCreated method, is equivalent to Activity group at this time
The initial phase of part building, in initial phase, by whether being had invoked in detection onActivityCreated method
FragmentActivity, so that it may judge whether be embedded in Fragment in Activity component.
The case where embodiment of the present invention is just for Fragment is embedded in Activity component, then correspondingly, being
System can detect that there are FragmentActivity in first object method, then the embodiment of the present invention can be right at this time
The life cycle of the corresponding Fragment of FragmentActivity is registered, to complete to being embedded in Activity component
Fragment monitored.
It should be noted that onActivityCreated method is as first object side provided by the embodiment of the present invention
Method carries out monitoring Fragment being a kind of specific embodiment provided in an embodiment of the present invention, other equally can be realized monitoring
The method of Fragment function can be used as first object method described in the embodiment of the present invention, not do to this embodiment of the present invention
It is specific to limit.
On the basis of the above embodiments, described in the life cycle of the Fragment, obtain the Fragment
In control, the title of the Fragment and the type of the Fragment, including:
The control in the Fragment for executing second goal approach is obtained by the second goal approach, executes described the
The type of the Fragment of the title and execution second goal approach of the Fragment of two goal approach, wherein described
Second goal approach is the method realized in the life cycle of the Fragment.
By the content of above-described embodiment it is found that the embodiment of the present invention obtains in the life cycle of Fragment
The type of the control of Fragment, the title of Fragment and Fragment, specifically, the embodiment of the present invention be use pair
What the mode that the second goal approach is monitored was obtained.
Wherein, in embodiments of the present invention, the second goal approach is referred to as in Fragment
OnFragmentViewCreated method, it is to be understood that many methods can be realized in the life cycle of Fragment,
It wherein just include onFragmentViewCreated method, this method can be held immediately after onCreateView method has executed
Row, can return to current Fragment View control information to be shown by this method, then from View control information, this
Inventive embodiments can get the type of the control of Fragment, the title of Fragment and Fragment.
It should be noted that onFragmentViewCreated method is as the second mesh provided by the embodiment of the present invention
Control, the title of Fragment and the acquisition of Fragment that mark method carries out Fragment are that the embodiment of the present invention provides
A kind of specific embodiment, other equally can be realized the control of Fragment, the title of Fragment and Fragment
The method of acquisition function can be used as the second goal approach described in the embodiment of the present invention, this embodiment of the present invention is not done and is had
Body limits.
On the basis of the above embodiments, the name by the Fragment is referred to as the control of the Fragment
Identification information is implanted in the control of the Fragment, including:
The control in all Fragment is traversed, it, will be described if the control in the Fragment is View class
The identification information implantation of the corresponding described Fragment control being referred to as in the Fragment of control in Fragment
In control in the Fragment.
As can be seen from the above embodiments, the embodiment of the present invention can get in the title and Fragment of Fragment and control
The control information of part, then identification process could be completed by needing to be identified control Information Embedding, for said circumstances, this hair
Bright embodiment provides a kind of mode of identification information implantation.
Specifically, since each control can be corresponding with a Fragment title, then the embodiment of the present invention will be right
All controls are traversed, and then stamp Tag for each control, that is, are implanted into its corresponding identification information.
It should be noted that the class as belonging to some controls is ViewGroup, each in ergodic process
ViewGroup includes multiple View classes, then ergodic process provided in an embodiment of the present invention needs to be directed to each View
Class, it is known that until the last View class in system component.
It is provided in an embodiment of the present invention traversal control and for each control beat Tag identification information implantation it is succinctly high
Effect, can preferably realize the identification of Fragment belonging to control.
On the basis of the above embodiments, the type based on the Fragment determines the type of the Fragment
Corresponding identification method, to be identified according to the identification method and the identification information to the control in the Fragment, packet
It includes:
If judgement knows that the type of the Fragment is dynamic Fragment, will be in the Fragment after implantation
Control be added in the control of the Activity component, in the Activity component according to the identification information pair
Control identification in the Fragment.
By the content of above-described embodiment it is found that the embodiment of the present invention can for different types of Fragment formulate it is different
Identification method is identified, in general, the type of Fragment can be divided into dynamic Fragment and static state Fragment, needle
For the identification method of dynamic Fragment, the embodiment of the invention provides a kind of modes of Activity components page implantation.
Specifically, View control is dynamically to be put into the page, so in order to know due in dynamic Fragment
This other View control, it is necessary to this View is added in the View control of Activity, then again Activity's
The traversal that control is carried out in View control, thus according to the identification information being implanted into View control to institute in Activity component
State the control identification of Fragment.
The embodiment of the invention provides a kind of identification method of control in dynamic Fragment, identification process is realized interior
Portion's logic can be ignored original influence of code, will not impact to the overall performance of system.
On the basis of the above embodiments, the type based on the Fragment determines the type of the Fragment
Corresponding identification method, to be identified according to the identification method and the identification information to the control in the Fragment, packet
It includes:
If judgement knows that the type of the Fragment is static Fragment, the name of the Fragment is referred to as
The identification information of control in the Fragment is implanted in the control in the Fragment, according to the identification information
To the control identification in the Fragment.
By the content of above-described embodiment it is found that the embodiment of the present invention can for different types of Fragment formulate it is different
Identification method is identified, in general, the type of Fragment can be divided into dynamic Fragment and static state Fragment, needle
For the identification method of static Fragment, the embodiment of the invention provides a kind of modes of page Direct Recognition.
Specifically, due in static Fragment, the View control of Fragment can be directly displayed on the page and not
It changes, then the embodiment of the present invention can directly acquire the identification information of View control in static Fragment, with basis
Identification information identifies View control.
The embodiment of the invention provides a kind of identification method of control in static state Fragment, identification process is realized interior
Portion's logic equally can be ignored original influence of code, will not impact to the overall performance of system.
Fig. 2 is control identifying system structure chart in a kind of Fragment provided in an embodiment of the present invention, as shown in Fig. 2, institute
The system of stating includes:It monitors module 1, obtain module 2 and identification module 3, wherein:
It monitors module 1 to be used in the life cycle of Activity component, monitor in the Activity component
Fragment;
It obtains module 2 to be used in the life cycle of the Fragment, obtains control in the Fragment, described
The type of the title of Fragment and the Fragment;
The identification information for the control that identification module 3 is used to be referred to as the name of the Fragment in the Fragment is planted
Enter into the control in the Fragment, and determines that the type of the Fragment is corresponding based on the type of the Fragment
Identification method, to be identified according to the identification method and the identification information to the control in the Fragment.
Specific how to be identified by monitoring module 1, acquisition module 2 and identification module 3 to control in Fragment can
For executing the technical solution of control recognition methods embodiment in Fragment shown in FIG. 1, implementing principle and technical effect
Similar, details are not described herein again.
Control identifying system in a kind of Fragment provided in an embodiment of the present invention, by obtaining the control in Fragment
The title of part, the type of Fragment and Fragment realizes the different Fragment of the type for different Fragment
The identification of interior control, identification process precise and high efficiency and size of code is small.
The embodiment of the present invention provides control identification equipment in a kind of Fragment, including:At least one processor;And with
At least one processor of the processor communication connection, wherein:
Fig. 3 is the structural block diagram of control identification equipment in Fragment provided in an embodiment of the present invention, described referring to Fig. 3
Control identifies equipment in Fragment, including:Processor (processor) 310, communication interface (Communications
Interface) 320, memory (memory) 330 and bus 340, wherein processor 310, communication interface 320, memory 330
Mutual communication is completed by bus 340.Processor 310 can call the logical order in memory 330, as follows to execute
Method:In the life cycle of Activity component, the Fragment in the Activity component is monitored;Described
In the life cycle of Fragment, control in the Fragment, the title of the Fragment and described are obtained
The type of Fragment;The identification information for the control that the name of the Fragment is referred to as in the Fragment is implanted to institute
It states in the control in Fragment, and determines the corresponding identification of type of the Fragment based on the type of the Fragment
Mode, to be identified according to the identification method and the identification information to the control in the Fragment.
The embodiment of the present invention discloses a kind of computer program product, and the computer program product is non-transient including being stored in
Computer program on computer readable storage medium, the computer program include program instruction, when described program instructs quilt
When computer executes, computer is able to carry out method provided by above-mentioned each method embodiment, for example including:In Activity group
In the life cycle of part, the Fragment in the Activity component is monitored;In the life cycle of the Fragment, obtain
Take control, the title of the Fragment and the type of the Fragment in the Fragment;It will be described
The identification information for the control that the name of Fragment is referred to as in the Fragment is implanted in the control in the Fragment,
And the corresponding identification method of type of the Fragment is determined based on the type of the Fragment, according to the identification side
Formula and the identification information identify the control in the Fragment.
The embodiment of the present invention provides a kind of non-transient computer readable storage medium, the non-transient computer readable storage
Medium storing computer instruction, the computer instruction make the computer execute side provided by above-mentioned each method embodiment
Method, for example including:In the life cycle of Activity component, the Fragment in the Activity component is monitored;Institute
It states in the life cycle of Fragment, obtains control in the Fragment, the title of the Fragment and described
The type of Fragment;The identification information for the control that the name of the Fragment is referred to as in the Fragment is implanted to institute
It states in the control in Fragment, and determines the corresponding identification of type of the Fragment based on the type of the Fragment
Mode, to be identified according to the identification method and the identification information to the control in the Fragment.
Those of ordinary skill in the art will appreciate that:Realize that all or part of the steps of above method embodiment can pass through
The relevant hardware of program instruction is completed, and program above-mentioned can be stored in a computer readable storage medium, the program
When being executed, step including the steps of the foregoing method embodiments is executed;And storage medium above-mentioned includes:ROM, RAM, magnetic disk or light
The various media that can store program code such as disk.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on
Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should
Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers
It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation
Method described in certain parts of example or embodiment.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that:It still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and
Range.
Claims (9)
1. control recognition methods in a kind of Fragment, which is characterized in that including:
In the life cycle of Activity component, the Fragment in the Activity component is monitored;
In the life cycle of the Fragment, obtain control in the Fragment, the Fragment title with
And the type of the Fragment;
The identification information for the control that the name of the Fragment is referred to as in the Fragment is implanted to the Fragment
In control in, and the corresponding identification method of type of the Fragment is determined based on the type of the Fragment, with root
The control in the Fragment is identified according to the identification method and the identification information.
2. the method according to claim 1, wherein described in the life cycle of Activity component, monitoring
Belong to the Fragment of the Activity component, including:
It is detected whether by first object method there are FragmentActivity, the first object method is described
The method realized in the life cycle of Activity component;
FragmentActivity if it exists, then Fragment corresponding to the FragmentActivity is registered, with
Monitor the Fragment for belonging to the Activity component.
3. the method according to claim 1, wherein described in the life cycle of the Fragment, acquisition
The title of control, the Fragment in the Fragment and the type of the Fragment, including:
The control in the Fragment for executing second goal approach is obtained by the second goal approach, executes second mesh
The type of the Fragment of the title and execution second goal approach of the Fragment of mark method, wherein described second
Goal approach is the method realized in the life cycle of the Fragment.
4. the method according to claim 1, wherein the name by the Fragment is referred to as described
The identification information of the control of Fragment is implanted in the control of the Fragment, including:
The control in all Fragment is traversed, if the FragmenControl in t is View class, then will be in the Fragment
Control it is corresponding described Fragment be referred to as the Fragment in control identification information implantation described in
In control in Fragment.
5. according to the method described in claim 4, it is characterized in that, described in the type based on the Fragment is determining
The corresponding identification method of the type of Fragment, with according to the identification method and the identification information in the Fragment
Control identification, including:
If judgement knows that the type of the Fragment is dynamic Fragment, by the control in the Fragment after implantation
Part is added in the control of the Activity component, in the Activity component according to the identification information to described
Control identification in Fragment.
6. according to the method described in claim 4, it is characterized in that, described in the type based on the Fragment is determining
The corresponding identification method of the type of Fragment, with according to the identification method and the identification information in the Fragment
Control identification, including:
If judgement knows that the type of the Fragment is static Fragment, the name of the Fragment is referred to as described
The identification information of control in Fragment is implanted in the control in the Fragment, with according to the identification information to institute
State the control identification in Fragment.
7. control identifying system in a kind of Fragment, which is characterized in that the system comprises:
Module is monitored, in the life cycle of Activity component, monitoring the Fragment in the Activity component;
Module is obtained, in the life cycle of the Fragment, obtaining the control in the Fragment, described
The type of the title of Fragment and the Fragment;
The identification information of identification module, the control for the name of the Fragment to be referred to as in the Fragment is implanted to
In control in the Fragment, and determine based on the type of the Fragment the corresponding knowledge of type of the Fragment
Other mode, to be identified according to the identification method and the identification information to the control in the Fragment.
8. control identifies equipment in a kind of Fragment, which is characterized in that including memory and processor, the processor and institute
It states memory and completes mutual communication by bus;The memory, which is stored with, to be referred to by the program that the processor executes
It enables, the processor calls described program instruction to be able to carry out the method as described in claim 1 to 6 is any.
9. a kind of non-transient computer readable storage medium, which is characterized in that the non-transient computer readable storage medium is deposited
Computer instruction is stored up, the computer instruction makes the computer execute such as method as claimed in any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810421629.1A CN108829391B (en) | 2018-05-04 | 2018-05-04 | Method and system for identifying control in Fragment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810421629.1A CN108829391B (en) | 2018-05-04 | 2018-05-04 | Method and system for identifying control in Fragment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108829391A true CN108829391A (en) | 2018-11-16 |
CN108829391B CN108829391B (en) | 2021-08-31 |
Family
ID=64147437
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810421629.1A Active CN108829391B (en) | 2018-05-04 | 2018-05-04 | Method and system for identifying control in Fragment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108829391B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110083355A (en) * | 2019-04-26 | 2019-08-02 | 北京奇艺世纪科技有限公司 | A kind of processing method and processing device of the APP page |
CN111078348A (en) * | 2019-12-25 | 2020-04-28 | 广州市百果园信息技术有限公司 | Interface management method, device, equipment and storage medium |
CN111782210A (en) * | 2019-04-04 | 2020-10-16 | 阿里巴巴集团控股有限公司 | Page management method and device, electronic equipment and computer readable medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2390055C1 (en) * | 2008-10-29 | 2010-05-20 | Петр Михайлович Кузнецов | Method of creating static, dynamic or animation images on mobile communication devices equipped with photographic camera |
US20160344846A1 (en) * | 2014-03-12 | 2016-11-24 | Shenzhen Chuangwei-Rgb Electronic Co., Ltd | Inter-process communication method based on application layer of android and basic application communication system |
CN107491488A (en) * | 2017-07-18 | 2017-12-19 | 北京京东尚科信息技术有限公司 | The method and apparatus of page data collection |
CN107506291A (en) * | 2017-06-30 | 2017-12-22 | 杭州大搜车汽车服务有限公司 | A kind of analysis method and device based on data acquisition |
CN107818162A (en) * | 2017-11-01 | 2018-03-20 | 平安科技(深圳)有限公司 | Bury a processing method, device, computer equipment and storage medium |
-
2018
- 2018-05-04 CN CN201810421629.1A patent/CN108829391B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
RU2390055C1 (en) * | 2008-10-29 | 2010-05-20 | Петр Михайлович Кузнецов | Method of creating static, dynamic or animation images on mobile communication devices equipped with photographic camera |
US20160344846A1 (en) * | 2014-03-12 | 2016-11-24 | Shenzhen Chuangwei-Rgb Electronic Co., Ltd | Inter-process communication method based on application layer of android and basic application communication system |
CN107506291A (en) * | 2017-06-30 | 2017-12-22 | 杭州大搜车汽车服务有限公司 | A kind of analysis method and device based on data acquisition |
CN107491488A (en) * | 2017-07-18 | 2017-12-19 | 北京京东尚科信息技术有限公司 | The method and apparatus of page data collection |
CN107818162A (en) * | 2017-11-01 | 2018-03-20 | 平安科技(深圳)有限公司 | Bury a processing method, device, computer equipment and storage medium |
Non-Patent Citations (3)
Title |
---|
JESSYANCODING: "JessYanCoding/MVPArms", 《HTTPS://GITHUB.COM/JESSYANCODING/MVPARMS/TREE/RX1》 * |
WOBUAIHUANGJUN: "wobuaihuangjun/EventCollection", 《HTTPS://GITHUB.COM/WOBUAIHUANGJUN/EVENTCOLLECTION》 * |
陶菜菜: "Android无埋点数据收集SDK关键技术解析", 《HTTPS://BLOG.CSDN.NET/QQ_29647881/ARTICLE/DETAILS/70148992》 * |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111782210A (en) * | 2019-04-04 | 2020-10-16 | 阿里巴巴集团控股有限公司 | Page management method and device, electronic equipment and computer readable medium |
CN110083355A (en) * | 2019-04-26 | 2019-08-02 | 北京奇艺世纪科技有限公司 | A kind of processing method and processing device of the APP page |
CN110083355B (en) * | 2019-04-26 | 2023-07-25 | 北京奇艺世纪科技有限公司 | APP page processing method and device |
CN111078348A (en) * | 2019-12-25 | 2020-04-28 | 广州市百果园信息技术有限公司 | Interface management method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108829391B (en) | 2021-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3508977A1 (en) | Partitioning based migration of systems to container and microservice based platforms | |
US9129056B2 (en) | Tracing values of method parameters | |
CN109558308A (en) | Application program method for detecting memory leakage, device, electronic equipment and storage medium | |
US20220012085A1 (en) | Memory management method and apparatus | |
CN108829391A (en) | Control recognition methods and system in a kind of Fragment | |
CN107133174A (en) | Test case code automatically generating device and method | |
CN106030456B (en) | Automatic asynchronised handover mark | |
CN106445292B (en) | Method and system for managing application programs in different body modes | |
US20110138363A1 (en) | Combining method parameter traces with other traces | |
CN103176892B (en) | A kind of page monitoring method and system | |
US10466985B2 (en) | Hybrid deoptimization mechanism for class hierarchy analysis | |
CN106096391B (en) | A kind of course control method and user terminal | |
KR20070038637A (en) | A method of data call stack tracing in data monitoring of java byte code | |
CN117149658A (en) | Presenting differences between code entity calls | |
CN107783829A (en) | Task processing method, device, storage medium and computer equipment | |
CN106909457A (en) | EMS memory management process and device | |
CN111813635A (en) | Monitoring method, system and device for intelligent contracts of block chains | |
CN108197004A (en) | The method of IOS applications takes, loads monitoring method and system that view takes | |
WO2016175851A1 (en) | Automatic task tracking | |
CN114428733A (en) | Kernel data competition detection method based on static program analysis and fuzzy test | |
US9880925B1 (en) | Collecting structured program code output | |
Cho et al. | A situation-based exception detection mechanism for safety in pervasive systems | |
CN109634569A (en) | Process implementation method, device, equipment and readable storage medium storing program for executing based on note | |
CN108829471A (en) | Control path generating method, device, computer equipment and storage medium | |
CN107957931A (en) | A kind of method and device for monitoring run time |
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 |