CN105653433B - The method for tracing and device of a kind of application program - Google Patents
The method for tracing and device of a kind of application program Download PDFInfo
- Publication number
- CN105653433B CN105653433B CN201510995946.0A CN201510995946A CN105653433B CN 105653433 B CN105653433 B CN 105653433B CN 201510995946 A CN201510995946 A CN 201510995946A CN 105653433 B CN105653433 B CN 105653433B
- Authority
- CN
- China
- Prior art keywords
- application program
- request information
- call request
- service module
- bridge service
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/34—Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
Abstract
An embodiment of the present invention provides the method for tracing and device of a kind of application program, it is related to browser field, the described method includes:The call request information for request call application program that assembly management service acquisition browser is sent, the call request information include the relevant information of destination application;The assembly management service sends the call request information to bridge service module;The bridge service module records the destination application, the call request information is sent to the destination application by the assembly management service, to call the destination application.It is too low to improve the method for tracing of existing calling application program controllability and autgmentability caused by being limited to application program it is an object of the invention to provide a kind of method for tracing and device for calling application program.
Description
Technical field
The present invention relates to browser field, in particular to the method for tracing and device of a kind of application program.
Background technology
Browser has many application scenarios to need to call the operation of application program at present, for example, application program is opened, and mesh
It is to need to carry out statistical operation by the application program of cooperation that the mode of application program operation trace has been adjusted in preceding tracking.
For example, browser has a floating frame, when clicking on the floating frame, the application program specified can have been adjusted, and
Floating frame is not belonging to browser in itself, therefore, when the floating frame is shown in the interface of browser, for the floating window
Any operation browser of mouth can not be followed the trail of, it is necessary to can just be counted on by the cooperation of the application program.
Therefore, the existing method for tracing for calling application program is severely limited by application program, and controllability and autgmentability are non-
It is often poor.
The content of the invention
It is an object of the invention to provide the method for tracing and device of a kind of application program, to improve the problem of above-mentioned.
In a first aspect, a kind of method for tracing of application program provided in an embodiment of the present invention, including:
Assembly management service receives the call request information of the second application program, and the call request information is by the first application
Program is sent;
The assembly management service sends the call request information to bridge service module;
The bridge service module records the call request information of second application program, by the call request information
Sent by the assembly management service to second application program, to call second application program.
Second aspect, an embodiment of the present invention provides a kind of follow-up mechanism of application program, described device includes:Component pipe
Reason service and bridge service module;
The assembly management service includes:
Acquiring unit, for receiving the call request information of the second application program, the call request information should by first
Sent with program;
Transmitting element, for sending the call request information to bridge service module;
The bridge service module includes:
Recording unit, for recording the call request information of second application program, the call request information is led to
Cross the transmitting element to send to second application program, to call second application program.
, will after the call request information of the assembly management service acquisition application program of user terminal in the embodiment of the present invention
The call request information is sent to the bridge service module, wherein, the call request information can include intended application
The mark and operational order of program, the mark can be the bag name of application program, class name or other can play the letter of mark
Breath, the bridge service module obtain the mark of the destination application in the call request information, it becomes possible to which record issues
The module (such as browser) for acting the call request information for calling application program has adjusted title and relevant operation of application program etc.,
Play the purpose that record has adjusted the operation trace of application program.
The related of destination application is played to record browser tune by the statistics of destination application to the prior art
Operation is compared, the embodiment of the present invention, and the bridge service module is unrelated with the destination application, and being not belonging to the target should
With a component of program, therefore, the operation of invocation target application program is recorded by the bridge service module to be limited
In destination application, the method and the controllability and autgmentability of device are effectively increased.
Other features and advantages of the present invention will be illustrated in subsequent specification, also, partly be become from specification
It is clear that or by implementing understanding of the embodiment of the present invention.The purpose of the present invention and other advantages can be by saying what is write
Specifically noted structure is realized and obtained in bright book, claims and attached drawing.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to institute in embodiment
Attached drawing to be used is needed to be briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention
Example, for those of ordinary skill in the art, without creative efforts, can also obtain according to these attached drawings
Obtain other attached drawings.By the way that shown in attached drawing, above and other purpose of the invention, feature and advantage will become apparent from.In whole
Identical reference numeral indicates identical part in attached drawing.Deliberately attached drawing, emphasis are not drawn by actual size equal proportion scaling
It is the purport for showing the present invention.
Fig. 1 shows the signal of the method for tracing of application program provided in an embodiment of the present invention and the application environment of device
Figure;
Fig. 2 shows a kind of method flow diagram of the method for tracing of application program provided in an embodiment of the present invention;
Fig. 3 shows the method flow diagram of the method for tracing of another application program provided in an embodiment of the present invention;
Fig. 4 shows the method flow diagram of the method for tracing of another application program provided in an embodiment of the present invention;
Fig. 5 shows a kind of module frame chart of the follow-up mechanism of application program provided in an embodiment of the present invention;
Fig. 6 shows the module frame chart of the follow-up mechanism of another application program provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Whole description, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work
Embodiment, belongs to the scope of protection of the invention.
The method for tracing and device for the application program that the embodiment of the present invention is provided can be applied to application ring as shown in Figure 1
In border.As shown in Figure 1, including browser 101, bridge service module 102 and application program 103, the browser 101, bridge joint
Service module 102 and application program 103 are application program module, are installed on the subscriber terminal, by the operation on user terminal
Systematic unity management.The operating system can be Android (Android) operating system or IOS operating system or
Windows operating systems.
Additionally, it should be noted that the application environment of the application is not limited to initiate to have adjusted application program by browser 101
103 call request information, can also initiate call request information by other application program modules.
In the embodiment of the present invention, user terminal is preferably mobile terminal device, such as can include smart mobile phone, tablet
Computer, E-book reader, pocket computer on knee, vehicle-mounted computer, wearable mobile terminal etc..
Bridge service module can be one in the application program of operating system running background or in operating system
Current window operation application program, can be bound together with browser, when user terminal is installed in the browser, meeting
Automatically by bridge service module installation on the subscriber terminal, certainly, the bridge service module can also be as one
Independent application program is, it is necessary to which user downloads and installs manually.
Fig. 2 shows a kind of flow chart of the method for tracing of calling application program provided in an embodiment of the present invention, refers to
Fig. 2, the described method includes:
Step S21:Assembly management service receives the call request information of application program;
The assembly management service for the calling that is used in operating system manage between each application program or component etc. and
Data interaction etc. operates, and is responsible for playing application according to the call request information tune that application program or component are sent or sends data to
Intended application.
In the embodiment of the present invention, by taking the tune of browser plays third-party application as an example, user is by clicking in browser
The redirected link such as default selection region or floating frame, the tune for request call application program is sent by browser kernel
With solicited message to assembly management service, the call request information includes the relevant information of destination application, wherein, institute
State destination application relevant information can include destination application title or other can play identity work
Information, naturally it is also possible to be intended to be sent to other data of destination application by call request information including browser.
Preferably, the destination application can be being called of clearly being specified in call request information of browser
Application program or browser set the action to be completed, assembly management service basis in call request information
The action to be completed matches an application program that can complete the action to be completed for browser.Wherein, it is above-mentioned
Destination application referred to is application program that browser tune rises.
Step S22:Assembly management service sends call request information to bridge service module;
After assembly management service obtains the call request information that browser is sent, the call request information is sent to institute
State bridge service module.
In the embodiment of the present invention, the call request information of the invocation target application program of the browser need not repair
Change, i.e., browser need not make any modification, for example, in the prior art, browser is intended to the identity mark of invocation target application program
To know for A, the call request information that browser is initiated includes the identity A of destination application, in the embodiment of the present invention,
It is still the identity A of destination application in the call request information that browser is initiated, assembly management service receives institute
After stating call request information, the call request information is sent to the bridge service module.
Step S23:The call request information of bridge service module records application program, passes through component by call request information
Management service is sent to application program, to call application program;
The bridge service module can obtain the destination application in the call request information title or its
His mark, record browser tune play the operation trace of destination application, wherein, the operation trace can include described clear
Device tune of looking at plays the time of destination application and the title of destination application etc..
The bridge service module specific embodiment can include:The rail of the destination application is called in record
After mark, the call request information is sent to the assembly management service, then by the assembly management service by the calling
Solicited message is sent to the destination application.
The bridge service module specific embodiment can also include:The bridge service module receives the tune
After solicited message, the call request information is sent while starting execution and recording the operation of the destination application
To the assembly management service, then the call request information is sent to the intended application journey by the assembly management service
Sequence, the operation trace for having adjusted application program and the operation for sending call request information perform parallel.
Therefore, in the embodiment of the present invention, the bridge service module is as between browser and destination application
After station, what the assembly management service acquisition browser in the operating system of user terminal was sent is used for request call application program
After call request information, the call request information is sent to the bridge service module, the bridge service module and is obtained
The mark of destination application in the relevant information, it becomes possible to record browser tune rise destination application title and
Relevant operation etc., plays the purpose that record browser tune plays the operation trace of application program.
The related of destination application is played to record browser tune by the statistics of destination application to the prior art
Operation is compared, the embodiment of the present invention, and the bridge service module is unrelated with the destination application, and being not belonging to the target should
With a component of program, therefore, the operation of invocation target application program is recorded by the bridge service module to be limited
In destination application, the method and the controllability and autgmentability of device are effectively increased.
The flow chart of the method for tracing of another calling application program provided in an embodiment of the present invention shown in Fig. 3, please join
Fig. 3 is read, by taking browser invocation target application program as an example, the operating system and bridge joint that describe user terminal take the present embodiment
Process flow between module of being engaged in, wherein, destination application belongs to third party application, i.e., is not belonging to browser same
A developer, the application program in the operating system for the terminal for being not belonging to be provided with browser, the described method includes:
Step S31:Judge that user terminal whether there is destination application;
The each application program installed on user terminal is unified by operating system management, therefore operating system memory contains often
Bag name in the mark of a application program, such as Android or IOS systems.Therefore, application program is received in assembly management service
Call request information before, in mark of the browser by searching for all application programs, if there are destination application
Bag name, wherein, lookup action can be browser initiate a search request, performed by system, if it is not, then performing step
S37;
Step S37:Feed back judging result;
Wherein, the result of feedback can be a notice, illustrate non-installation targets application program, then user can voluntarily pacify
Fill target the 3rd to apply, in addition, the result of feedback can also be the floating frame with link turn function, it is floating that user clicks on this
During dynamic window, it can automatic jump to and download the interface that target the 3rd is applied, click on the download option at the interface, then it is automatic to download simultaneously
Installation targets application program.
In addition, performing the step S31, operating system judges that user terminal there are during destination application, performs
S32;
S32:Assembly management service judges whether bridge service module is currently running;
It can include being used for the quantity of state for reflecting the bridge service module working status, the bridge in bridge service module
Operation, stopping or pause etc. can be included by connecing service module operating status, and whether assembly management service judges bridge service module
The embodiment being currently running can include:The letter of the quantity of state in the bridge service module is read in assembly management service
Breath, judge whether the bridge service module is currently running according to the information of acquired quantity of state, such as quantity of state for 1 when,
Represent operating status, when quantity of state is 0, represent halted state.
It is of course also possible to be, the assembly management service sends a checking information to the bridge service module, described
Bridge service module sends a value of feedback to the assembly management service, the assembly management after receiving the checking information
When service receives the value of feedback, judge that the bridge service module is currently running, otherwise, it is determined that not run.
When performing step S32, if the assembly management service judges that bridge service module is not being run, step is performed
S34;
Step S34:Assembly management service starts bridge service module;
Before browser initiates call request information, whether bridge service module is in described in assembly management service detection
Operating status, it is possible to increase the execution efficiency of the method for tracing, meanwhile, it is capable to which the call request information for avoiding sending can not be by
Bridge service module receives.
If assembly management service judges that bridge service module is currently running, step S33 is performed;
Step S33:The call request for request call application program that assembly management service acquisition browser is sent is believed
Breath;
Wherein, the execution sequence of the step S33 and the step S32 do not limit, i.e., a kind of embodiment can be:When
The result of step S31, when the implementing result of step S32 is no, performs S34, then performs again when being, to perform step S32
S33, or when the implementing result of step S32 is is, perform step S33.
Also a kind of embodiment can be:When the result of step S31 is is, S32 is performed, when the execution of step S32
When being as a result no, S34 is performed, then performs S35 again, alternatively, when the implementing result of step S32 is is, perform step S35.
There can certainly be other executive modes, not limit herein.
Step S35:Assembly management service sends call request information to bridge service module;
Step S36:Bridge service module records destination application, and call request information is sent out by assembly management service
Send to destination application, with invocation target application program;
Step S38:Assembly management service startup bridge service module destroys flow;
The purpose for destroying flow is memory and resource for the system of saving, i.e., if bridge service module is grown
Phase is in idle condition, i.e., does not receive call request information next time for a long time, then just stops the bridge service module,
Specific embodiment can include:
The flow of destroying can send call request information to bridge service module in assembly management service
Perform afterwards, or after the bridge service module obtains the call request information, execution records the intended application
After the operation of program, the call request information is sent to assembly management service, the assembly management service is receiving
Flow is destroyed in execution after stating the call request information of bridge service module transmission, it is also possible that being connect in assembly management service
Receive the call request information that the bridge service module is sent and send call request information to destination application
Perform again and destroy flow.
The flow of destroying can be:Judge call request information next time whether is received in preset time, if it is not,
The bridge service module is closed.
Therefore, in the embodiment of Fig. 3, browser is recorded with the statistics by destination application of the prior art
The relevant operation of destination application has been adjusted to compare, the embodiment of the present invention, the bridge service module and the intended application journey
Sequence is unrelated, is not belonging to a component of the destination application, therefore, invocation target is recorded by the bridge service module
The operation of application program is not limited by destination application, effectively increases the controllability and extension of the method and device
Property.
Such as the flow chart of 4 method for tracing for showing another calling application program provided in an embodiment of the present invention, please join
Fig. 4 is read, the present embodiment describes the process flow between the operating system of user terminal and bridge service module, in this implementation
In example, the operating system is Android, the described method includes:
Step S41:Judge that user terminal whether there is destination application;
Each application program of the user terminal installation of android system corresponds to a bag name, such as after application program
Sew for .apk, wherein, apk is bag name, in mark of the browser by searching for all application programs, if should there are target
With the bag name of program, if it is not, then performing step S47;
Step S47:Feed back judging result;
In addition, performing the step S41, assembly management service judges that user terminal there are during destination application, is held
Row S42;
S42:Assembly management service judges whether bridge service module is currently running;
In android system, established using intent objects and realize the communication of component, and application program can be regarded as
The set of multiple components, this is exactly the intention mechanism in Android, in intention mechanism, using assembly management service come
The component of connection is managed, assembly management service understands the function and classification of component by the configuration information of component, so as to help to adjust
The component for meeting demand, invocation component and the decoupling for realizing component are found with component.
Bridge service module can be one in the application program of android system running background or operate
The application program of the current window operation of system, can bind together with browser, when user terminal installs the browser
It is interior, the bridge service module can be installed on the subscriber terminal automatically, certainly, the bridge service module can also be conduct
One independent application program is, it is necessary to which user downloads and installs manually.
The important composition unit of the application program of android system include Activity, Service,
BroadcastReceiver and ContentProvider, the bridge service module can be that Activity can also be
Service, by taking the bridge service module is the application program of multiple Activity compositions as an example, Activity is roughly divided into 4
A state:The bridge service module is checked in active state, halted state, halted state and destruction state, assembly management service
State, so as to judge whether the bridge service is in operating status.
When performing step S42, if assembly management service judges that bridge service module is not being run, step S44 is performed;
Step S44:Assembly management service starts bridge service module;
By taking the bridge service module is the application program of multiple Activity compositions as an example, android system starts institute
Stating the mode of bridge service module can be:The program entry that an Activity is the bridge service module is defined, is passed through
After startActivity (Intent) instructions start Activity, the bridge service module is activated.
If operating system judges bridge service, module is currently running, and performs step S43;
Step S43:The intent for request call application program that assembly management service acquisition browser is sent is called
Request;
In the embodiment of the present invention, the intent call requests are the call request information comprising intent objects,
Intent is equivalent to the courier between multiple application programs, when an application component needs to call another application component, journey
Sequence is made oneself understood, it is necessary to start which Activity by intent, and the intent call requests include target
The relevant information of application program, wherein, relevant information includes the identity information of destination application.
Intent substantially contains seven attribute, is respectively:Component、Action、Category、Data、Type、
Extra and Flag, wherein, Component, which is used to clearly specify, needs destination application to be started, wherein, Component is needed
A ComponentName object is wanted, wherein, ComponentName needs to specify bag name and class name, this can uniquely be determined
One destination application, starts specific destination application.
Therefore, when defining an Activity, can be directed to this Activity configuration in < intent-filter .../
> element arrangements.< intent-filter .../> elements be < activity ... in AndroidManifest.xml files/
The daughter element of > elements, < activity .../> elements are used to configure Activity, < activity .../> for application program
< intent-filter .../> in element is then used to configure the Intent that the Activity can be responded.
Above-mentioned starts specific destination application as display Intent by Component, does not specify
The Intent of Component attributes is referred to as implicit Intent, which implicit Intent will start and apply journey without clearly specifying
Sequence, specifically can set an abstract rule, system will by configuring Action the and Category attributes of Intent
The qualified application program of regular deactivation that can be specified according to Intent.
, can be by showing Intent invocation target application programs, for example, having one in browser in the embodiment of the present invention
A floating frame, the floating frame are an Activity, are defined as Activity1, and the bridge service module is also one
A Activity, is defined as Activity2, application program Activity3.
The Activity1 includes an Intent, is defined as Intent1, configures the attribute of the Intent1, such as with
Put the Component of the Intent1, make the Intent1 correspond to start component be Activity3, furthermore it is also possible to by with
Putting the Bundle attributes of the Intent1 makes the Intent1 carry the data that browser is interacted with destination application.
After browser initiates the call request information of the intent1, assembly management service obtains the call request information, will
The call request information is sent to the bridge service module, that is, performs S45;
Step S45:Assembly management service sends intent call requests to bridge service module;
Step S46:Bridge service module records destination application, and intent call requests are passed through assembly management service
Send to destination application, with invocation target application program;
Bridge service module obtains intent call requests, obtains the destination application in the intent call requests
Title or other mark, record browser tune play the operation trace of destination application.
For example, the call request information that the bridge service module obtains includes above-mentioned intent1, intent1 is obtained
Component attributes in specified destination application bag name Activity3, record the destination application
Wrap entitled Activity3, it becomes possible to record the title of the browser destination application to be called, that is, record browser tune and rise
The operation trace of application program.
Then, intent call requests are sent to assembly management service, assembly management service and started by bridge service module
Destination application, such as start destination application, that is, Activity3 specified in the Component attributes of intent1,
Intent call requests are sent to Activity3, to have adjusted destination application Activity3.
Step S48:Assembly management service startup bridge service module destroys flow;
The flow of destroying is memory and resource of the android system for the system of saving, if bridge service mould
Block is chronically at idle condition, i.e., does not receive call request information next time for a long time, then just by the bridge service module
Stop, specific embodiment can include:
Assembly management service judges intent call requests next time whether are received in preset time, if it is not, by the bridge
Connect service module closing.
As shown in figure 5, the embodiment of the present invention additionally provides a kind of follow-up mechanism for calling application program, described device bag
Include:Assembly management service and bridge service module;
The assembly management service includes:
Acquiring unit 501, for receiving the call request information of application program;
Transmitting element 502, for sending the call request information to bridge service module;
The bridge service module includes:
Recording unit 503, for recording the destination application, list is sent by the call request information by described
Member 502 is sent to the destination application, to call the destination application.
The interaction flow of above-mentioned each unit can be:The acquiring unit 501 of the assembly management service obtains browser hair
After the call request information for request call application program sent, the call request information is sent to described and sends list
Member 502, the transmitting element 502 sends the call request information to the recording unit 503 of bridge service module, the note
Record unit 503 records the destination application, and the call request information is sent to described by the transmitting element 502
Destination application, to call the destination application.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
As shown in fig. 6, the embodiment of the present invention additionally provides another follow-up mechanism for calling application program, described device bag
Include browser, assembly management service and bridge service module;
The assembly management service further includes:
First judging unit 601, for judging whether the bridge service module has been turned on, if it is not, starting the bridge joint
Service module;
The browser includes:
Second judging unit 606, for judging that user terminal whether there is destination application;
The assembly management service includes:
Second judging unit 606, for judging whether bridge service module is currently running;
Acquiring unit 602, for obtaining the call request information for request call application program of browser transmission, institute
Stating call request information includes the relevant information of destination application;
Transmitting element 603, for sending the call request information to bridge service module;
The bridge service module includes:
Recording unit 605, for recording the destination application, passes through the component pipe by the call request information
Reason service is sent to the destination application, to call the destination application;
The assembly management service further includes:
Unit 604 is destroyed, for judging call request information next time whether is received in preset time, if it is not, will
The bridge service module is closed.
The interaction flow of above-mentioned each unit can include:
Second judging unit 606 judges whether user terminal is provided with destination application, if it is not, then feeding back a judgement
As a result it is used to prompt the non-installation targets application program of user or jumps to the installation interface of destination application, if second judges list
Member 606 judges that user terminal is provided with destination application, then jumps to the first judging unit 601;
First judging unit 601 judges whether bridge service module is currently running, if so, then jumping to acquiring unit 602;
If it is not, then starting bridge service module, acquiring unit 602 is then jumped to again;
Acquiring unit 602 obtains the call request information for request call application program that browser is sent, by described in
Call request information sends to the transmitting element 603, the transmitting element 603 and sends the call request information to bridge joint
The recording unit 605 of service module, the recording unit 605 record the destination application, by the call request information
Sent by the transmitting element 603 to the destination application, to call the destination application;
Transmitting element 603 sends call request information to bridge service module, or transmitting element 603 receives
After the call request information that the bridge service module is sent, exclusive or transmitting element 603 receives the bridge service module hair
The call request information sent simultaneously sends call request information to destination application, jumps to and destroys unit 604,
Destroy unit 604 and judge call request information next time whether is received in preset time, if it is not, by the bridge service mould
Block is closed.
In addition, in the embodiment of the present invention, the call request information can be that the calling for including intent objects is asked
Seek information.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,
The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, details are not described herein.
In addition, the flow chart and block diagram in attached drawing show system, method and the meter of multiple embodiments according to the present invention
Architectural framework in the cards, function and the operation of calculation machine program product.At this point, each square frame in flow chart or block diagram
Can represent a part for a module, program segment or code, the part of the module, program segment or code include one or
Multiple executable instructions for being used for realization defined logic function.It should also be noted that some as replace realization in, square frame
Middle marked function can also be with different from the order marked in attached drawing generation.For example, two continuous square frames are actually
It can perform substantially in parallel, they can also be performed in the opposite order sometimes, this is depending on involved function.Also to note
Meaning, the combination of each square frame and block diagram in block diagram and/or flow chart and/or the square frame in flow chart can be with holding
Function as defined in row or the dedicated hardware based system of action are realized, or can use specialized hardware and computer instruction
Combination realize.
In several embodiments provided herein, it should be understood that disclosed systems, devices and methods, can be with
Realize by another way.Device embodiment described above is only schematical, for example, the division of the unit,
Only a kind of division of logic function, can there is other dividing mode when actually realizing, in another example, multiple units or component can
To combine or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or beg for
The mutual coupling, direct-coupling or communication connection of opinion can be by some communication interfaces, device or unit it is indirect
Coupling or communication connection, can be electrical, machinery or other forms.
The unit illustrated as separating component may or may not be physically separate, be shown as unit
The component shown may or may not be physical location, you can with positioned at a place, or can also be distributed to multiple
In network unit.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs
's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also
That unit is individually physically present, can also two or more units integrate in a unit.
If the function is realized in the form of SFU software functional unit and is used as independent production marketing or in use, 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 to contribute to the prior art or the part of the technical solution can be embodied in the form of software product, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be
People's computer, server, or network equipment etc.) perform all or part of step of each embodiment the method for the present invention.
And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read-Only Memory), arbitrary access
Memory (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 herein, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any this actual relation or order.Moreover, term " comprising ", "comprising" or its any other variant are intended to
Non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only will including those
Element, but also including other elements that are not explicitly listed, or further include as this process, method, article or equipment
Intrinsic key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that
Also there are other identical element in process, method, article or equipment including the key element.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention answers the scope of the claims of being subject to.
Claims (10)
- A kind of 1. method for tracing of application program, it is characterised in that including:Assembly management service receives the call request information of the second application program, and the call request information is by the first application program Send, wherein, the assembly management service is the interior component for being used to manage the calling between all application programs of operating system;The assembly management service sends the call request information to bridge service module, wherein, the bridge service mould Block is as application program, the calling of bridge service module described in the operating system management;The bridge service module records the call request information of second application program, and the call request information is passed through The assembly management service is sent to second application program, to call second application program.
- 2. according to the method described in claim 1, it is characterized in that:The call request information is sent by browser.
- 3. according to the method described in claim 2, it is characterized in that, further include:Judge whether the bridge service module has been turned on, if it is not, starting the bridge service module.
- 4. according to any method of claim 1-3, it is characterised in that further include:Judge call request information next time whether is received in preset time, if it is not, closing the bridge service module.
- 5. according to the method described in claim 4, it is characterized in that, the call request information of second application program includes the The identity information of two application programs;The bridge service module records the call request information of second application program, further includes:Record the time at current time.
- 6. according to the method described in claim 5, it is characterized in that, the call request information is to include intent objects Call request information.
- 7. a kind of follow-up mechanism of application program, it is characterised in that described device includes:Assembly management service and bridge service mould Block;The assembly management service includes:Acquiring unit, for receiving the call request information of the second application program, the call request information applies journey by first Sequence is sent, wherein, the assembly management service is the interior component for being used to manage the calling between all application programs of operating system;Transmitting element, for sending the call request information to bridge service module, wherein, the bridge service module is made For application program, the calling of bridge service module described in the operating system management;The bridge service module includes:Recording unit, for recording the call request information of second application program, passes through institute by the call request information State transmitting element to send to second application program, to call second application program.
- 8. the follow-up mechanism of application program according to claim 7, it is characterised in that the assembly management service is also wrapped Include:First judging unit, for judging whether the bridge service module has been turned on, if it is not, starting the bridge service mould Block.
- 9. the follow-up mechanism of the application program according to claim 7 or 8, it is characterised in that the assembly management service is also Including:Unit is destroyed, for judging call request information next time whether is received in preset time, if it is not, described in closing Bridge service module.
- 10. device according to claim 9, it is characterised in that the call request information of second application program includes The identity information of second application program;The recording unit, is additionally operable to the time at record current time.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510995946.0A CN105653433B (en) | 2015-12-24 | 2015-12-24 | The method for tracing and device of a kind of application program |
PCT/CN2016/108559 WO2017107762A1 (en) | 2015-12-24 | 2016-12-05 | Application tracing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510995946.0A CN105653433B (en) | 2015-12-24 | 2015-12-24 | The method for tracing and device of a kind of application program |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105653433A CN105653433A (en) | 2016-06-08 |
CN105653433B true CN105653433B (en) | 2018-04-13 |
Family
ID=56476913
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510995946.0A Active CN105653433B (en) | 2015-12-24 | 2015-12-24 | The method for tracing and device of a kind of application program |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN105653433B (en) |
WO (1) | WO2017107762A1 (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105653433B (en) * | 2015-12-24 | 2018-04-13 | 广州市动景计算机科技有限公司 | The method for tracing and device of a kind of application program |
CN109885787B (en) * | 2019-02-21 | 2021-06-22 | 百度在线网络技术(北京)有限公司 | APP page display method and system, mobile terminal and computer readable medium |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101320350B (en) * | 2008-07-17 | 2010-07-14 | 金蝶软件(中国)有限公司 | Performance monitoring method and device |
KR101653162B1 (en) * | 2010-10-13 | 2016-09-01 | 삼성전자주식회사 | Mobile communication terminal of providing widget expansion function by using message and method of the same |
CN102662815A (en) * | 2012-03-12 | 2012-09-12 | 苏州萃智新技术开发有限公司 | Cloud computing supervision and management system |
CN104102537B (en) * | 2013-04-07 | 2017-09-29 | 华为技术有限公司 | A kind of application call method and user terminal |
CN104462978B (en) * | 2014-12-24 | 2017-09-15 | 北京奇虎科技有限公司 | A kind of method and apparatus of application program rights management |
CN104462980A (en) * | 2014-12-30 | 2015-03-25 | 北京奇虎科技有限公司 | Authority management method, device and system of application programs and mobile terminal |
CN105653433B (en) * | 2015-12-24 | 2018-04-13 | 广州市动景计算机科技有限公司 | The method for tracing and device of a kind of application program |
-
2015
- 2015-12-24 CN CN201510995946.0A patent/CN105653433B/en active Active
-
2016
- 2016-12-05 WO PCT/CN2016/108559 patent/WO2017107762A1/en active Application Filing
Also Published As
Publication number | Publication date |
---|---|
WO2017107762A1 (en) | 2017-06-29 |
CN105653433A (en) | 2016-06-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109670951B (en) | Block chain intelligent contract debugging and publishing method and system | |
CN108293081B (en) | Deep linking of program playback to mobile application state through user interface events | |
US10050848B2 (en) | Data-driven profiling for distributed applications | |
US9049105B1 (en) | Systems and methods for tracking and managing event records associated with network incidents | |
US9836346B2 (en) | Error troubleshooting using a correlated knowledge base | |
CN109446570B (en) | Business process display method, device, computer equipment and storage medium | |
CN109710354A (en) | Page monitor method, page restoring method, device, equipment and medium | |
CN105095059B (en) | A kind of method and apparatus of automatic test | |
CN107133174A (en) | Test case code automatically generating device and method | |
CN110321273A (en) | A kind of business statistical method and device | |
US10078579B1 (en) | Metrics-based analysis for testing a service | |
CN107844518B (en) | Method for evaluating download quantity of specified APP, data server, packaging platform and system | |
CN109815111A (en) | Gray scale test method, device, computer equipment and storage medium | |
US10778526B2 (en) | Automated creation of test tenants for data center technical issue detection | |
CN108399072A (en) | Five application page update method and device | |
CN109960491A (en) | Application program generation method, generating means, electronic equipment and storage medium | |
CN110321275A (en) | Program monitoring method, calculates equipment and storage medium at device | |
CN103176892A (en) | Page monitoring method and system | |
CN109117208A (en) | Information sharing method, device, user terminal and readable storage medium storing program for executing | |
CN107329991A (en) | A kind of list access to web page and methods of exhibiting and its system | |
CN109492181A (en) | Method for page jump, device, computer equipment and storage medium | |
CN108255708A (en) | Method, apparatus, storage medium and the equipment of production file are accessed in test environment | |
CN111045893A (en) | Method, device and system for executing monitoring task, storage medium and electronic device | |
CN109739704A (en) | A kind of interface test method, server-side and computer readable storage medium | |
CN105653433B (en) | The method for tracing and device of a kind of application program |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200623 Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province Patentee after: Alibaba (China) Co.,Ltd. Address before: 510627 Guangdong city of Guangzhou province Whampoa Tianhe District Road No. 163 Xiping Yun Lu Yun Ping B radio 14 floor tower square Patentee before: GUANGZHOU UCWEB COMPUTER TECHNOLOGY Co.,Ltd. |
|
TR01 | Transfer of patent right |