CN106155736A - Software is installed and is started type detection method, device and user terminal - Google Patents
Software is installed and is started type detection method, device and user terminal Download PDFInfo
- Publication number
- CN106155736A CN106155736A CN201610474302.1A CN201610474302A CN106155736A CN 106155736 A CN106155736 A CN 106155736A CN 201610474302 A CN201610474302 A CN 201610474302A CN 106155736 A CN106155736 A CN 106155736A
- Authority
- CN
- China
- Prior art keywords
- described software
- software
- installation kit
- modification time
- startup
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 34
- 230000004048 modification Effects 0.000 claims abstract description 83
- 238000012986 modification Methods 0.000 claims abstract description 73
- 238000009434 installation Methods 0.000 claims abstract description 15
- 238000000034 method Methods 0.000 claims description 24
- 230000004044 response Effects 0.000 claims description 5
- 230000008859 change Effects 0.000 claims description 4
- 230000002159 abnormal effect Effects 0.000 abstract description 6
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 10
- 230000008569 process Effects 0.000 description 10
- 238000002372 labelling Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 3
- 230000015572 biosynthetic process Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 241000406668 Loxodonta cyclotis Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000000712 assembly Effects 0.000 description 1
- 238000000429 assembly Methods 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000004549 pulsed laser deposition Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44568—Immediately runnable code
- G06F9/44578—Preparing or optimising for loading
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the present invention proposes a kind of software and installs startup type detection method, device and user terminal.This software is installed startup type detection method and is included: responds the startup to described software and operates, it is thus achieved that the store path of software installation kit, finds described software installation kit, obtains the modification time of the described software of record in described software installation kit;Obtain the modification time of the described software of record in the storing framework of user terminal operations system;The startup type of described software is judged according to the modification time of the described software of record in the described software modification time recorded in described software installation kit and described storing framework.The embodiment of the present invention can accurately judge that the installation of software starts type, and then can prevent the collapse erroneous judgement caused because abnormal exiting is installed in software upgrading.
Description
Technical field
The present invention relates to Developing Technology of Applied Software field, in particular to one during applied software development
Software is installed and starts method, device and the user terminal that type detects.
Background technology
In prior art, when application software (application software) is developed, need application soft
The collapse rate of part is added up.Conventional statistical software (such as PP assistant) if collapse rate judgment rule be local mark file
In be marked with the mark that application software the most normally exits, then it is assumed that this application software upper once collapse exit.Along with
Software Edition is upgraded, and usually needs to be updated it during the use of application software, is carrying out application software
During update contruction, this application software is often directly killed by system, and will be by upper one when once starting on this application software
Secondary exception exits and is mistaken for collapse and exits, thus when causing the redaction of issuing application software, the collapse rate of application software is the most inclined
High technical problem.
For above-mentioned technical problem, the way of conventional statistical software is to be monitored by static registration in application configuration file
Success and the successful system broadcasts of update contruction are installed be purged with the labelling that the exception in the mark file of this locality is exited.Tool
Body ground, when listening to the broadcast of update contruction, operating system can remove the labelling that the exception in local mark file exits,
Abnormal for last time exiting would not be mistaken for collapse when starting next time.But situation about being killed by system at application software
Under, the operating system of some producer customization still cannot ensure that one receives system broadcasts surely, thus cause and extremely exit labelling
May not be eliminated formation collapse erroneous judgement, affect software collapse rate statistical accuracy after installing renewal.
Summary of the invention
In view of this, the purpose of the embodiment of the present invention is that providing a kind of can accurately judge that the side starting type installed by software
Method, the method is applied to user terminal, including:
Respond the startup to described software to operate, it is thus achieved that the store path of software installation kit, find described software installation kit,
Obtain the modification time of the described software of record in described software installation kit;
Obtain the modification time of the described software of record in the storing framework of user terminal operations system;
According to the institute of record in the described software modification time recorded in described software installation kit and described storing framework
The modification time stating software judges the startup type of described software, and wherein, described startup type includes installing startup first, updating
Install and start and normally start.
Another preferred embodiment of the present invention also provides for a kind of software and installs startup type detection device, is applied to user eventually
End, described device includes:
Very first time acquisition module, operates the startup of described software for response, it is thus achieved that the storage road of software installation kit
Footpath, finds described software installation kit, obtains the modification time of the described software of record in described software installation kit;
Second time-obtaining module, the described software of record in the storing framework obtaining user terminal operations system
Modification time;
Start type judging module, for according to the described software modification time recorded in described software installation kit and institute
State the modification time of the described software of record in storing framework and judge the startup type of described software, wherein, described startup type
Including installing startup, update contruction startup first and normally starting.
Another preferred embodiment of the present invention also provides for a kind of user terminal, installs including memorizer, processor and software
Start type detection device.Described software is installed and is started the installation of type detection device or be stored in described memorizer by described process
Device controls software and installs the execution starting each functional module of type detection device.
Compared with prior art, the software that the embodiment of the present invention provides is installed and is started type detection method and device, according to
In the software modification time recorded in software installation kit and storing framework, the modification time of the software of record judges described software
Startup type.And revise the modification time of the software of record in described storing framework according to the startup type of described software, keep away
Exempt from statistical software and cause the technical problem of collapse erroneous judgement because software upgrading abnormal the exiting of installation, improve software after installation updates
Collapse rate statistical accuracy.
For making the above-mentioned purpose of the present invention, feature and advantage to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Accompanying drawing explanation
In order to be illustrated more clearly that the technical scheme of the embodiment of the present invention, below by embodiment required use attached
Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, and it is right to be therefore not construed as
The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, it is also possible to according to this
A little accompanying drawings obtain other relevant accompanying drawings.
Fig. 1 is the block diagram of the user terminal that the embodiment of the present invention provides.
Fig. 2 is that the flow chart starting type detection method installed by the software that first embodiment of the invention provides.
Fig. 3 is the schematic diagram of the sub-step that step S111 includes in Fig. 2.
Fig. 4 is that the functional block diagram starting type detection device installed by the software that second embodiment of the invention provides.
Main element symbol description
User terminal | 100 |
Software is installed and is started type detection device | 110 |
Memorizer | 111 |
Storage control | 112 |
Processor | 113 |
Very first time acquisition module | 1101 |
Instantiation submodule | 11011 |
Time obtains submodule | 11012 |
Second time-obtaining module | 1102 |
Start type judging module | 1103 |
Application message calling module | 1104 |
Detailed description of the invention
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Ground describes, it is clear that described embodiment is only a part of embodiment of the present invention rather than whole embodiments.Generally exist
Can arrange and design with various different configurations with the assembly of the embodiment of the present invention that illustrates described in accompanying drawing herein.Cause
This, be not intended to limit claimed invention to the detailed description of the embodiments of the invention provided in the accompanying drawings below
Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing
The every other embodiment obtained on the premise of going out creative work, broadly falls into the scope of protection of the invention.
It should also be noted that similar label and letter represent similar terms, therefore, the most a certain Xiang Yi in following accompanying drawing
Individual accompanying drawing is defined, then need not it be defined further and explains in accompanying drawing subsequently.Meanwhile, the present invention's
In description, term " first ", " second " etc. are only used for distinguishing and describe, and it is not intended that indicate or hint relative importance.
Refer to Fig. 1, be the block diagram of the user terminal 100 that present pre-ferred embodiments provides.Described user is eventually
End 100 may be, but not limited to, smart mobile phone, PC (personal computer, PC), panel computer, individual number
Word assistant (personal digital assistant, PDA), mobile internet surfing equipment (mobile Internet device,
MID) etc..Described user terminal 100 can include that software is installed and start type detection device 110, memorizer 111, storage control
Device 112 and processor 113.
Described memorizer 111, storage control 112 and each element of processor 113 are the most electrical
Connect, to realize the transmission of data or mutual.Such as, these elements can pass through one or more communication bus or letter each other
Number line realizes being electrically connected with.Application software is installed and is started type detection device 110 for installation on described user terminal 100
The installation of application software 210 (such as UC browser) starts type and detects, and it can include that at least one can be with software or solid
The form of part (firmware) is stored in described memorizer 111 or is solidificated in the operating system of described user terminal 100
Software function module in (operating system, OS).Described processor 113 is used for performing to deposit in described memorizer 111
The executable module of storage, such as software are installed and are started the software function module included by type detection device 110 and computer journey
Sequence etc..
Wherein, described memorizer 111 may be, but not limited to, random access memory (Random Access
Memory, RAM), read only memory (Read Only Memory, ROM), programmable read only memory (Programmable
Read-Only Memory, PROM), erasable read-only memory (Erasable Programmable Read-Only
Memory, EPROM), electricallyerasable ROM (EEROM) (Electric Erasable Programmable Read-Only
Memory, EEPROM) etc..Wherein, memorizer 111 is used for storing program, described processor 113 receive execution instruction after,
Perform described program.The access of memorizer 111 can be controlled by described processor 113 and other possible assemblies in described storage
Carry out under the control of device 112.
Described processor 113 is probably a kind of IC chip, has the disposal ability of signal.Above-mentioned processor
113 can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit
(Network Processor, NP) etc.;Can also is that digital signal processor (DSP), special IC (ASIC), ready-made
Programmable gate array (FPGA) or other PLDs, discrete gate or transistor logic, discrete hardware group
Part.Can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.General processor is permissible
It is microprocessor or this processor can also be the processor etc. of any routine.
Refer to Fig. 2, Fig. 2 is the application software peace being applied to user terminal 100 described in Fig. 1 that the embodiment of the present invention provides
Dress starts the flow chart of type detection method.Described detection method is applied to user terminal 100.Process step in Fig. 2 is permissible
Realized by described processor 113.The idiographic flow that application software is installed startup type detection method below is described in detail.
Step S111, responds the startup to software and operates, it is thus achieved that the store path of software installation kit, find described software to pacify
Dress bag, obtains the modification time of the described software of record in described software installation kit.
User terminal 100 receives user and operates the startup of software to start described software, wherein, and described startup operation
Mode may be, but not limited to, touch operation and opens described software, and the clicking operation of input equipment (such as, mouse) is opened described
Software, Voice command opens described software etc..
In the present embodiment, it is thus achieved that the mode of the store path of software installation kit can be by calling answering of described software
By information, obtain from described application message.Described application message is obtained by the title of described software installation kit.
Wherein, in the application message of described software, record has the relevant configuration information of this software, and the relevant of described software is joined
Confidence breath may include that user right, user interface and software process etc..
As a example by Android operation system, call the comprising the following steps that of application message of described software.
Answering of described software is obtained from the installation kit Governance framework (Package Manager) of Android operation system
By information, wherein, the function of described installation kit Governance framework includes: obtain the application message of software, inquiry in android system
The relevant information of software is (such as: the association attributes of application, activity, receiver, service and provider
Deng), inquiry installed software, increase or delete permission, clear data (such as, user data, caching and code
Section) etc..
Specifically, answering of software can be obtained from described installation kit Governance framework by the title of described software installation kit
Use information.Wherein, the title of described software installation kit has unique mark (such as, installation kit of PP assistant in an operating system
Entitled " com.pp.assistant ").
Already installed on the software on user terminal 100, it all can exist under system directory (such as "/data/app ")
One corresponding software installation kit.By application programming interface (Application Programming Interface,
It is called for short API) store path of described software installation kit can be obtained from system directory.By described store path thus find
Described software installation kit.
Refer to Fig. 3, the step of the modification time therefrom obtaining described software after finding described software installation kit can be wrapped
Enclosed tool step S1111 and sub-step S1112.
Sub-step S1111, carries out instantiation by described software installation kit and obtains the file object of described software installation kit.
Described instantiation refers in OO programming, and the process creating object by class is referred to as instantiation.At this
In embodiment, described software installation kit can be instantiated as Java file object.The Java file pair of described software installation kit
The attribute of elephant includes the attribute of modification time.
Sub-step S1112, obtains the modification time of described software from described file object.
I.e. can be obtained described by the attribute of the modification time in the Java file object of the described software installation kit of access
The modification time of the described software of record in software installation kit.
Step S112, obtains the modification time of the described software of record in the storing framework of user terminal operations system.
As a example by Android operation system, described storing framework can be a lightweight in Android operation system
Storage class (such as, Shared Perferences).Described storing framework can in order to preserve some common configuration of software, and
These common configuration are finally saved in the form of xml under the private data catalogue of described software.It will of course be understood that
It is that the modification time of described software also can also use the alternate manner such as database purchase or file storage to store.
Step S113, according in the described software modification time recorded in described software installation kit and described storing framework
The modification time of the described software of record judges the startup type of described software.Wherein, described startup type includes installing first
Start, update contruction starts and normally starts.
In the present embodiment, when in storing framework, the modification time of the described software of record is not for empty (existing), sentence
The startup type of disconnected described software is for installing startup first, and the modification time change stored in storing framework by described software
For the modification time of the described software of record in described software installation kit.
In the present embodiment, for sky and do not pacify with described software when the modification time of the described software recorded in storing framework
When in dress bag, the modification time of the described software of record is unequal, it is judged that the startup type of described software is that update contruction starts,
And the modification time that described software stores in storing framework is changed in described software installation kit the described software of record
Modification time.
When described startup type is update contruction startup type, during the amendment that described software is stored in storing framework
Between be changed in described software installation kit the modification time of described software of record, it can be ensured that abnormal exit labelling and be eliminated,
Thus avoid the collapse erroneous judgement caused because abnormal exiting is installed in software upgrading.
In the present embodiment, for sky and do not pacify with described software when the modification time of the described software recorded in storing framework
When in dress bag, the modification time of the described software of record is equal, it is judged that the startup type of described software is normal startup.
The software that the present embodiment provides is installed and is started type detection method, is detecting that the startup type of software is for updating peace
When dress starts, the modification time that described software stores in storing framework is changed in described software installation kit described in record
The modification time of software, so that it is guaranteed that can be purged extremely exiting labelling, prevents because abnormal exiting is installed in software upgrading
And the collapse erroneous judgement caused, improve software collapse rate statistical accuracy after installing renewal.
Refer to software shown in Fig. 1 that Fig. 4, Fig. 4 are embodiment of the present invention offers and startup type detection device 110 is installed
Functional block diagram.Software is installed startup type detection device 110 and is applied to user terminal 100.Software is installed and is started type inspection
Survey device 110 include very first time acquisition module the 1101, second time-obtaining module 1102 and start type judging module 1103.
Described very first time acquisition module 1101, operates the startup of described software for response, it is thus achieved that software installation kit
Store path, find described software installation kit, obtain in described software installation kit the modification time of the described software of record.
Described very first time acquisition module 1101 obtains described software by application programming interface from system directory
The store path of installation kit, and then find described software installation kit.Specifically, described very first time acquisition module 1101 can wrap
Include instantiation submodule 11011 and the time obtains submodule 11012.
Described instantiation submodule 11011 obtains described software installation kit for described software installation kit is carried out instantiation
File object.
The described time obtains submodule 11012 for obtaining the modification time of described software from described file object.
In the present embodiment, described software installation startup type detection device 110 can also include: application message calls mould
Block 1104, described application message calling module 1104 is for calling the application message of described software, and this application message is by described
The title of software installation kit obtains.
In the present embodiment, described application message calling module 1104 obtains described by the title of described software installation kit
The application message of software.Wherein, in the application message of described software, record has the relevant configuration information of this software, described software
Relevant configuration information may include that user right, user interface and software process etc..
Described very first time acquisition module 1101 obtains the store path of described software installation kit by described application message.
Process described by above-mentioned steps S111 can be performed by very first time acquisition module 1101 and be realized.
Described second time-obtaining module 1102 institute of record in the storing framework obtaining user terminal operations system
State the modification time of software.
As a example by Android operation system, described storing framework can be a lightweight in Android operation system
Storage class (such as, Shared Perferences).Described storing framework can in order to preserve some common configuration of software, and
These common configuration are finally saved in the form of xml under the private data catalogue of described software.It will of course be understood that
It is that the modification time of described software also can also use the alternate manner such as database purchase or file storage to store.
Process described by above-mentioned steps S112 can be performed by the second time-obtaining module 1102 and be realized.
Described startup type judging module 1103 is for during according to the described software modification recorded in described software installation kit
Between and described storing framework in the modification time of described software of record judge the startup type of described software.Wherein, described
Start type to include startup, update contruction startup being installed first and normally starting.
In the present embodiment, the amendment of the described software that described startup type judging module 1103 records in storing framework
When time is not for empty (existing), it is judged that the startup type of described software is for installing startup first.And by described software in storage
In framework, the modification time of storage is changed in described software installation kit the modification time of the described software of record.
In the present embodiment, the amendment of the described software that described startup type judging module 1103 records in storing framework
Time be not empty and with when in described software installation kit, the modification time of the described software of record is unequal, it is judged that described software
Starting type is that update contruction starts, and the modification time that described software stores in storing framework is changed to described software peace
The modification time of the described software of record in dress bag.
In the present embodiment, the amendment of the described software that described startup type judging module 1103 records in storing framework
When time is not empty and is equal with the modification time of the described software recorded in described software installation kit, it is judged that opening of described software
Dynamic type is normal startup.
Process described by above-mentioned steps S113 can be performed by starting type judging module 1103 and realize.
In sum, the software that the embodiment of the present invention provides is installed and is started type detection method and device, pacifies according to software
In the software modification time recorded in dress bag and storing framework, the modification time of the software of record judges the startup of described software
Type.And revise the modification time of the software of record in described storing framework according to the startup type of described software, it is to avoid statistics
Software installs, because software upgrading, the technical problem extremely exited and cause collapse to be judged by accident, improves software collapse rate after installing renewal
Statistical accuracy.
In several embodiments provided herein, it should be understood that disclosed equipment and method, it is also possible to pass through
Other mode realizes.Apparatus embodiments described above is only schematically, such as, and the flow chart in accompanying drawing and block diagram
Show the equipment of multiple embodiments according to the present invention, the architectural framework in the cards of method and computer program product,
Function and operation.In this, each square frame in flow chart or block diagram can represent a module, program segment or the one of code
Part, a part for described module, program segment or code comprises holding of one or more logic function for realizing regulation
Row instruction.It should also be noted that at some as in the implementation replaced, the function marked in square frame can also be to be different from
The order marked in accompanying drawing occurs.Such as, two continuous print square frames can essentially perform substantially in parallel, and they are the most also
Can perform in the opposite order, this is depending on involved function.It is also noted that every in block diagram and/or flow chart
The combination of the square frame in individual square frame and block diagram and/or flow chart, can be with function or the special base of action performing regulation
System in hardware realizes, or can realize with the combination of specialized hardware with computer instruction.
It addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation
Point, it is also possible to it is modules individualism, it is also possible to two or more modules are integrated to form an independent part.
If described function is using the form realization of software function module and as independent production marketing or use, permissible
It is stored in a computer read/write memory medium.Based on such understanding, technical scheme is the most in other words
The part contributing prior art or the part of this technical scheme can embody with the form of software product, this meter
Calculation machine software product is stored in a storage medium, including some instructions with so that a computer equipment (can be individual
People's computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.
And aforesaid storage medium includes: USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic disc or CD.
It should be noted that in this article, the relational terms of such as first and second or the like is used merely to a reality
Body or operation separate with another entity or operating space, and deposit between not necessarily requiring or imply these entities or operating
Relation or order in any this reality.And, term " includes ", " comprising " or its any other variant are intended to
Comprising of nonexcludability, so that include that the process of a series of key element, method, article or equipment not only include that those are wanted
Element, but also include other key elements being not expressly set out, or also include for this process, method, article or equipment
Intrinsic key element.In the case of there is no more restriction, statement " including ... " key element limited, it is not excluded that
Including process, method, article or the equipment of described key element there is also other identical element.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.All within the spirit and principles in the present invention, that is made any repaiies
Change, equivalent, improvement etc., should be included within the scope of the present invention.It should also be noted that similar label and letter exist
Figure below represents similar terms, therefore, the most a certain Xiang Yi accompanying drawing is defined, is then not required in accompanying drawing subsequently
It is defined further and explains.
The above, the only detailed description of the invention of the present invention, but protection scope of the present invention is not limited thereto, and any
Those familiar with the art, in the technical scope that the invention discloses, can readily occur in change or replace, should contain
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with scope of the claims.
Claims (15)
1. software is installed and is started a type detection method, is applied to user terminal, it is characterised in that including:
Respond the startup to described software to operate, it is thus achieved that the store path of software installation kit, find described software installation kit, obtain
The modification time of the described software of record in described software installation kit;
Obtain the modification time of the described software of record in the storing framework of user terminal operations system;
Described soft according to what the described software modification time recorded in described software installation kit and described storing framework recorded
The modification time of part judges the startup type of described software, and wherein, described startup type includes installing startup, update contruction first
Start and normally start.
2. the method for claim 1, it is characterised in that judge the step of the startup type of described software, including:
When in storing framework, the modification time of the described software of record is empty, it is judged that the startup type of described software is for pacify first
Dress starts, and is changed to by the modification time that described software stores in storing framework in described software installation kit described in record
The modification time of software.
3. the method for claim 1, it is characterised in that judge the step of the startup type of described software, including:
When in storing framework the modification time of the described software of record not for empty and with described software installation kit in record described in
When the modification time of software is unequal, it is judged that the startup type of described software is that update contruction starts, and is being deposited by described software
In storage framework, the modification time of storage is changed in described software installation kit the modification time of the described software of record.
4. the method for claim 1, it is characterised in that judge the step of the startup type of described software, including:
When in storing framework the modification time of the described software of record not for empty and with described software installation kit in record described in
When the modification time of software is equal, it is judged that the startup type of described software is normal startup.
5. the method for claim 1, it is characterised in that the startup of described software is operated by described response, it is thus achieved that software
The step of the store path of installation kit includes:
Call the application message of described software, from described application message, obtain the store path of described software installation kit, described
Application message is obtained by the title of described software installation kit.
6. the method for claim 1, it is characterised in that obtain the store path of software installation kit from application message
Step, including:
From system directory, the store path of described software installation kit is obtained by application programming interface.
7. the method for claim 1, it is characterised in that obtain in described software installation kit the repairing of described software of record
Change the step of time, including:
Described software installation kit is carried out instantiation and obtains the file object of described software installation kit;
The modification time of described software is obtained from described file object.
8. software is installed and is started a type detection device, is applied to user terminal, it is characterised in that including:
Very first time acquisition module, operates the startup of described software for response, it is thus achieved that the store path of software installation kit, looks for
To described software installation kit, obtain the modification time of the described software of record in described software installation kit;
Second time-obtaining module, the amendment of the described software of record in the storing framework obtaining user terminal operations system
Time;
Start type judging module, for according in described software installation kit record the described software modification time and described in deposit
In storage framework, the modification time of the described software of record judges the startup type of described software, and wherein, described startup type includes
Install startup first, update contruction starts and normally starts.
9. software as claimed in claim 8 is installed and is started type detection device, it is characterised in that:
When the modification time of the described software that described startup type judging module records in storing framework is empty, it is judged that described soft
The startup type of part is for installing startup first, and is changed to by the modification time that described software stores in storing framework described soft
The modification time of the described software of record in part installation kit.
10. software as claimed in claim 8 is installed and is started type detection device, it is characterised in that:
The modification time of the described software that described startup type judging module records in storing framework is not empty and soft with described
When in part installation kit, the modification time of the described software of record is unequal, it is judged that the startup type of described software is that update contruction is opened
Dynamic, and the modification time that described software stores in storing framework is changed in described software installation kit the described software of record
Modification time.
11. softwares as claimed in claim 8 are installed and are started type detection device, it is characterised in that:
The modification time of the described software that described startup type judging module records in storing framework is not empty and soft with described
When in part installation kit, the modification time of the described software of record is equal, it is judged that the startup type of described software is normal startup.
12. softwares as claimed in claim 8 are installed and are started type detection device, it is characterised in that this device also includes:
Application message calling module, for calling the application message of described software, this application message passes through described software installation kit
Title obtain;
Described very first time acquisition module obtains the store path of described software installation kit by described application message.
13. softwares as claimed in claim 8 are installed and are started type detection device, it is characterised in that:
Described very first time acquisition module obtains described software installation kit by application programming interface from system directory
Store path.
14. softwares as claimed in claim 8 are installed and are started type detection device, it is characterised in that the described very first time obtains
Module includes:
Instantiation submodule, obtains the file object of described software installation kit for described software installation kit is carried out instantiation;
Time obtains submodule, for obtaining the modification time of described software from described file object.
15. 1 kinds of user terminals, it is characterised in that including:
Memorizer;
Processor;And
Software is installed and is started type detection device, and described software is installed startup type detection device and is installed in described memorizer also
Including one or more software function modules performed by described processor, described software is installed and is started type detection device bag
Include:
Very first time acquisition module, operates the startup of described software for response, it is thus achieved that the store path of software installation kit, looks for
To described software installation kit, obtain the modification time of the described software of record in described software installation kit;
Second time-obtaining module, the amendment of the described software of record in the storing framework obtaining user terminal operations system
Time;
Start type judging module, for according in described software installation kit record the described software modification time and described in deposit
In storage framework, the modification time of the described software of record judges the startup type of described software, and wherein, described startup type includes
Install startup first, update contruction starts and normally starts.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610474302.1A CN106155736B (en) | 2016-06-22 | 2016-06-22 | Software installation starts type detection method, apparatus and user terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610474302.1A CN106155736B (en) | 2016-06-22 | 2016-06-22 | Software installation starts type detection method, apparatus and user terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106155736A true CN106155736A (en) | 2016-11-23 |
CN106155736B CN106155736B (en) | 2019-04-12 |
Family
ID=57349789
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610474302.1A Active CN106155736B (en) | 2016-06-22 | 2016-06-22 | Software installation starts type detection method, apparatus and user terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106155736B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108664252A (en) * | 2017-03-27 | 2018-10-16 | Tcl集团股份有限公司 | A kind of desktop starter restoration methods based on android system and system |
CN112083934A (en) * | 2019-06-13 | 2020-12-15 | 青岛海信移动通信技术股份有限公司 | A terminal and processing method |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5038319A (en) * | 1989-04-24 | 1991-08-06 | Xerox Corporation | System for recording and remotely accessing operating data in a reproduction machine |
CN102779177A (en) * | 2012-06-27 | 2012-11-14 | 优视科技有限公司 | Back-up method, restoring method and device of browse history of browser |
CN103678091A (en) * | 2013-12-19 | 2014-03-26 | 北京奇虎科技有限公司 | Method and device for processing crash data of application software |
CN103902399A (en) * | 2012-12-28 | 2014-07-02 | 华为技术有限公司 | Software system repair processing method and software system repair processing device |
CN104516732A (en) * | 2013-09-29 | 2015-04-15 | 北京新媒传信科技有限公司 | Application crash report method and system |
-
2016
- 2016-06-22 CN CN201610474302.1A patent/CN106155736B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5038319A (en) * | 1989-04-24 | 1991-08-06 | Xerox Corporation | System for recording and remotely accessing operating data in a reproduction machine |
CN102779177A (en) * | 2012-06-27 | 2012-11-14 | 优视科技有限公司 | Back-up method, restoring method and device of browse history of browser |
CN103902399A (en) * | 2012-12-28 | 2014-07-02 | 华为技术有限公司 | Software system repair processing method and software system repair processing device |
CN104516732A (en) * | 2013-09-29 | 2015-04-15 | 北京新媒传信科技有限公司 | Application crash report method and system |
CN103678091A (en) * | 2013-12-19 | 2014-03-26 | 北京奇虎科技有限公司 | Method and device for processing crash data of application software |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108664252A (en) * | 2017-03-27 | 2018-10-16 | Tcl集团股份有限公司 | A kind of desktop starter restoration methods based on android system and system |
CN112083934A (en) * | 2019-06-13 | 2020-12-15 | 青岛海信移动通信技术股份有限公司 | A terminal and processing method |
Also Published As
Publication number | Publication date |
---|---|
CN106155736B (en) | 2019-04-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Nguyen et al. | Short text, large effect: Measuring the impact of user reviews on android app security & privacy | |
CN110569428B (en) | Recommendation model construction method, device and equipment | |
US8776009B2 (en) | Method and system for task modeling of mobile phone applications | |
CN109726105A (en) | Test data construction method, device, equipment and storage medium | |
CN111008028B (en) | Software upgrading method, device and storage medium | |
CN103077344A (en) | Terminal and method for providing risk of application using the same | |
CN101432690A (en) | Bios configuration update technique | |
CN107357593A (en) | Source code file construction method, device, electric terminal and readable storage medium storing program for executing | |
US10474329B2 (en) | Selective generation and display of interfaces of a website or program | |
CN107346284B (en) | Application program detection method and detection device | |
US20230281249A1 (en) | Computer-implemented methods, systems comprising computer-readable media, and electronic devices for enabled intervention into a network computing environment | |
US20230273959A1 (en) | Computer-implemented methods, systems comprising computer-readable media, and electronic devices for narrative representation of a network computing environment | |
US12105756B2 (en) | Computer-implemented methods, systems comprising computer-readable media, and electronic devices for narrative representation of a network computing environment | |
CN104679532A (en) | Method and device for loading kernel module | |
CN106909429A (en) | A kind of synchronous upgrade method and device | |
CN107656750A (en) | Update of plug-in method and device | |
CN109828750B (en) | Method and device for automatically configuring data embedded points, electronic equipment and storage medium | |
CN112613792A (en) | Data processing method, system, computer device and storage medium | |
CN110888628A (en) | Method, device, equipment and storage medium for generating control tool | |
US20210224246A1 (en) | Content management | |
CN106155736A (en) | Software is installed and is started type detection method, device and user terminal | |
CN108932146A (en) | Page display method, device and computer readable storage medium | |
CN111723134A (en) | Information processing method, device, electronic device and storage medium | |
US7051230B2 (en) | Method and system for allowing customization of remote data collection in the event of a system error | |
CN113435950B (en) | Bill processing method and device |
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 | ||
TR01 | Transfer of patent right |
Effective date of registration: 20200612 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 square B radio tower 15 layer self unit 02 Patentee before: GUANGZHOU UC NETWORK TECHNOLOGY Co.,Ltd. |