CN105094862B - The method and browser whether detection application program is installed - Google Patents
The method and browser whether detection application program is installed Download PDFInfo
- Publication number
- CN105094862B CN105094862B CN201410191111.5A CN201410191111A CN105094862B CN 105094862 B CN105094862 B CN 105094862B CN 201410191111 A CN201410191111 A CN 201410191111A CN 105094862 B CN105094862 B CN 105094862B
- Authority
- CN
- China
- Prior art keywords
- application program
- instruction information
- installation
- installation mark
- mark
- 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
Landscapes
- Stored Programmes (AREA)
Abstract
The present invention proposes a kind of method and apparatus whether detection application program is installed, this method comprises: obtaining instruction information, the instruction information indicates the installation mark that the application program is arranged during installation;Judge the installation mark whether is got according to the instruction information;If getting the installation mark, determine that the application program has been installed, if not getting the installation mark, determines that the application program is not installed.Can this method judge get installation mark corresponding with application program to be detected according to instruction information by the way that installation mark is arranged in application program to be detected, to determine whether application program to be detected has been installed, it is ensured that the accuracy of detection.
Description
Technical field
The present invention relates to field of communication technology more particularly to a kind of methods and browsing whether detection application program is installed
Device.
Background technique
Android operation system is the operating system of a kind of freedom based on Linux and open source code, which can be with
Realize the seamless jump between application program.But in the Webpage that external browser is opened, since webpage can not be passed through
A kind of javascript (scripting language, referred to as JS) script obtains the mount message of application program in android system, from
And cause when application program is not installed, error when jumping to specified application program from Webpage.
Currently, most browsers can be according to the corresponding universal resource identifier of application program (Uniform Resource
Identifier, referred to as URI) corresponding application program is jumped to, when application program installation, arouse application program,
The execution of javascript code is blocked, and when application program is not installed, continue to execute subsequent javascript code.
Therefore, it can judge whether application program is installed by the timeout mechanism of javascript, i.e., be jumped to by URI using journey
After sequence, if Xining is more than preset time value, judge to be mounted with application program, otherwise not install application program.
But this judgment method be it is highly unstable, some browsers have optimized blocking mechanism, that is, jump to application after still
It will continue to execute javascript code, no longer block, therefore the time-out judgement failure of script, be unable to judge accurately application program
Whether install.
Summary of the invention
The present invention is directed to solve at least some of the technical problems in related technologies.
For this purpose, this method can an object of the present invention is to provide a kind of method whether detection application program is installed
Whether installed with accurate judgement application program.
It is another object of the present invention to propose a kind of browser.
In order to achieve the above objectives, the method whether the detection application program that first aspect present invention embodiment proposes is installed,
It include: to obtain instruction information, the instruction information indicates the installation mark that the application program is arranged during installation;Judge basis
Whether the instruction information gets the installation mark;If getting the installation mark, the application program has been determined
Installation determines that the application program is not installed if not getting the installation mark.
The method whether the detection application program that first aspect present invention embodiment proposes is installed, by being answered to be detected
It is identified with setting installation in program, and judges that installation corresponding with application program to be detected can be got according to instruction information
Mark, to determine whether application program to be detected has been installed, it is ensured that the accuracy of detection.
In order to achieve the above objectives, the browser that second aspect of the present invention embodiment proposes, comprising: module is obtained, for obtaining
Fetching shows information, the installation mark that the instruction information instruction application program is arranged during installation;Judgment module, for judging root
The installation mark whether is got according to the instruction information;Determining module, for determining when getting installation mark
The application program has been installed, and when not getting installation mark, determines that the application program is not installed.
The browser that second aspect of the present invention embodiment proposes, by the way that installation mark is arranged in application program to be detected
Know, and judges that installation mark corresponding with application program to be detected can be got according to instruction information, it is to be detected to determine
Application program whether installed, it is ensured that the accuracy of detection.
In order to achieve the above objectives, third aspect present invention embodiment propose client device, including shell, processor,
Memory, circuit board and power circuit, wherein circuit board is placed in the space interior that shell surrounds, and processor and memory are set
It sets on circuit boards;Power circuit, for for each circuit v code of client device it is corresponding with executable program code to run
Program, for executing following steps: obtaining instruction information, the instruction information instruction application program is set during installation
The installation mark set;Judge the installation mark whether is got according to the instruction information;If getting the installation mark
Know, determine that the application program has been installed, if not getting the installation mark, determines that the application program is not installed.
The client device that third aspect present invention embodiment proposes is installed by being arranged in application program to be detected
Mark, and judge that installation mark corresponding with application program to be detected can be got according to instruction information, it is to be checked to determine
Whether the application program of survey has been installed, it is ensured that the accuracy of detection.
The additional aspect of the present invention and advantage will be set forth in part in the description, and will partially become from the following description
Obviously, or practice through the invention is recognized.
Detailed description of the invention
Above-mentioned and/or additional aspect and advantage of the invention will become from the following description of the accompanying drawings of embodiments
Obviously and it is readily appreciated that, in which:
Fig. 1 is the flow diagram for the method whether a kind of detection application program that the embodiment of the present invention proposes is installed;
Fig. 2 is the flow chart for the method whether the detection application program that another embodiment of the present invention proposes is installed;
Fig. 3 is the code implant in JS script accord to a specific embodiment of that present invention to determine whether available arrive
The flow diagram of mark is installed;
Fig. 4 is the structural block diagram of the browser of one embodiment of the invention;
Fig. 5 is the structural block diagram of the browser of another embodiment of the present invention.
Specific embodiment
The embodiment of the present invention is described below in detail, examples of the embodiments are shown in the accompanying drawings, wherein from beginning to end
Same or similar label indicates same or similar element or element with the same or similar functions.Below with reference to attached
The embodiment of figure description is exemplary, and for explaining only the invention, and is not considered as limiting the invention.On the contrary, this
The embodiment of invention includes all changes fallen within the scope of the spiritual and intension of attached claims, modification and is equal
Object.
Below with reference to the accompanying drawings the method and browser whether detection application program according to an embodiment of the present invention is installed are described.
Fig. 1 is the flow chart for the method whether the detection application program that one embodiment of the invention proposes is installed, this method packet
It includes:
S101: obtaining instruction information, and the instruction information indicates the installation mark that the application program is arranged during installation.
Wherein, installation mark can be specifically set asserting in (assert) catalogue in application program.Installation mark can be with
For picture and/or text etc..Further, in order to save space, the size of installation mark can be set less than preset
Threshold value.
In one embodiment of the invention, the instruction information indicates the location information of the installation mark, for example, referring to
Show that information can be the URI of installation mark, corresponding installation mark can be searched according to the URI.
In one embodiment, the instruction information is stored in the specified storage location of system, for example, instruction information can be pre-
In another mounted application (such as browser) of first embedded system or default.For example, instruction information is embedded into browsing
In JS (JavaScript) script of device.
S102: judge the installation mark whether is got according to the instruction information.
Specifically, the content that the instruction information that browser can will acquire is sent to system provides
(ContentProvider) component is installed according to the instruction acquisition of information by ContentProvider component and is identified, and will be
The no result got is sent to browser.
S103: if getting installation mark, determining that the application program has been installed, if not getting installation mark
Know, determines that the application program is not installed.
Specifically, in one embodiment of the invention, when application program is mounted, installation mark is stored in application
It under the predetermined directory of program, has been installed for identifying application, installation mark can be got according to instruction information at this time;
When application program is unloaded, corresponding installation mark can also be removed simultaneously, then will be unable to get this according to instruction information
Installation mark.It therefore, can be by confirming corresponding application program whether according to whether instruction information gets installation mark
Installation, i.e., if getting installation mark, it is determined that application program to be detected has been installed;If not getting installation mark
Know, it is determined that application program to be detected is not installed.
The method whether the detection application program of the present embodiment is installed is installed by being arranged in application program to be detected
Mark, and judge that installation mark corresponding with application program to be detected can be got according to instruction information, it is to be checked to determine
Whether the application program of survey has been installed, it is ensured that the accuracy of detection.
Fig. 2 is the flow chart for the method whether the detection application program that another embodiment proposes according to the present invention is installed, this
Embodiment is for installing and be identified as picture.As shown in Fig. 2, the method whether the detection application program is installed includes:
S201: when installing the first application program, the setting installation mark in first application program.
Wherein, the first application program is that the program whether installed can be detected, for example, the first application program is chatted for one
Its application.One small picture can be set in the assert catalogue of the chat application.
It should be noted that the small picture is used to identify whether corresponding application program has been installed, due to commonly used journey
Sequence is all smaller, and in order to save space, it is that user is sightless that the small picture, which can be set,.
It is to be appreciated that the present embodiment, for installing and be identified as picture, installation mark can also be extended formatting, example
For example text formatting.Further, in order to save space, the size that the installation mark of text format can be set is less than setting
Threshold value.
S202: the instruction information of the installation mark is preset.
The instruction information indicates the location information of the installation mark, for example, may include the logical of the installation mark
Use resource identifier.The instruction information can store the storage location specified in system, such as can store in browser
In script file.
S203: detect first application program whether install when, judging whether can be according to the instruction acquisition of information
It is identified to the installation, if so, executing S204, otherwise executes S205.
Wherein, detect the tool whether first application program is installed can be it is mounted a certain using journey in system
Sequence, such as browser.
For indicating that information is URI, after browser obtains the URI of the installation mark, which can be sent to
Whether the ContentProvider component that system provides, judged available according to the URI by ContentProvider component
It is identified to installation, and by result notice to browser.
Specifically, the content of android system provides component (ContentProvider) band that can provide a standard
The URI of the schema (extensible markup language framework) of content (content), according to the URI, browser can be called using journey
Small picture under the assert catalogue of sequence.
Referring to Fig. 3, specifically following code can be implanted into the JS script of browser to determine whether available to work
The small picture identified for installation:
<img src=" content: //com.alibaba.mobileim.h5/h5.png " onError=" alert ('
Using do not install ');">
The above are judge whether be loaded into corresponding picture according to instruction information by onError function.Specific inspection
Survey function also there are many, will not enumerate herein.
S204: determine that the first application program has been installed.
Wherein, after determining that the first application program has been installed, mounted process can be executed.
For example, the chat application can be jumped to from external browser after determining that the chat application has been installed
Chat window, to provide better user experience.
S205: determine that the first application program is not installed.
Wherein, after determining that the first application program is not installed, uninstalled process can be executed.
For example, another realization chat function can be jumped to from external browser after determining that the chat application is not installed
The web application (web app) of energy or the downloading interface for jumping to the chat application.
Further, after determining the installation of the first application program, this method can also include:
S206: whether the first application program of detection unloads, if so, execute S207, otherwise repeats S203 and its corresponding
Subsequent step.
S207: the installation mark of the first application program is removed.
Later, when need to detect the first application program again whether installed when, S203 and its corresponding can be repeated
Subsequent step.
The method whether the detection application program of the present embodiment is installed provides component according to content and obtains instruction information, and
Can judgement get installation mark corresponding with application program to be detected according to the instruction information got, to be checked to determine
Whether the application program of survey has been installed, and the resource of existing Android system can be made full use of, and detection process is succinctly efficient, mentions
High accuracy, improves the stability and versatility of detection;Also, the installation mark of the present embodiment is sufficiently small, hardly accounts for
With space, space can be saved;Apply the information whether installed progress subsequent corresponding in addition, the present embodiment is detected by basis
Process, user experience can be promoted.
In order to realize above-described embodiment, the present invention also proposes a kind of browser.
Fig. 4 is the structural block diagram of browser according to an embodiment of the invention.As shown in figure 4, the browser includes: to obtain
Modulus block 100, judgment module 200 and determining module 300.
Specifically, it obtains module 100 and is arranged during installation for obtaining instruction information, instruction information instruction application program
Installation mark.
Wherein, installation mark can be specifically set asserting in (assert) catalogue in application program.Installation mark can be with
For picture and/or text etc..Further, in order to save space, the size of installation mark can be set less than preset
Threshold value.
In one embodiment of the invention, the instruction information indicates the location information of the installation mark, for example, referring to
Show that information can be the URI of installation mark, corresponding installation mark can be searched according to the URI.
In one embodiment, the instruction information is stored in the specified storage location of system, for example, instruction information can be pre-
Another mounted application of first embedded system or default, such as in browser.For example, instruction information is embedded into browser
JS (JavaScript) script in.
Judgment module 200 is for judging whether get the installation mark according to the instruction information.
Specifically, the content that the instruction information that obtaining module 100 can will acquire is sent to system provides
(ContentProvider) component is installed according to the instruction acquisition of information by ContentProvider component and is identified, and will be
The no result got is sent to judgment module 200.
Determining module 300 is used to determine that the application program has been installed when getting installation mark, not get
When installation mark, determine that the application program is not installed.
Specifically, in one embodiment of the invention, when application program is mounted, installation mark is stored in application
It under the predetermined directory of program, has been installed for identifying application, installation mark can be got according to instruction information at this time;
When application program is unloaded, corresponding installation mark can also be removed simultaneously, then will be unable to get this according to instruction information
Installation mark.Accordingly, it is determined that module 300 can be by confirming corresponding application according to whether instruction information gets installation mark
Whether program has been installed, i.e., if getting installation mark, it is determined that application program to be detected has been installed;If do not obtained
It is identified to installation, it is determined that application program to be detected is not installed.
The browser of the present embodiment by the way that installation mark is arranged in application program to be detected, and judges according to instruction
Can information get installation mark corresponding with application program to be detected, to determine whether application program to be detected has pacified
Dress, it is ensured that the accuracy of detection.
Fig. 5 is the structural block diagram of browser in accordance with another embodiment of the present invention.
As shown in figure 5, the browser includes: to obtain module 100, acquisition submodule 110, judgment module 200, determining module
300 and remove module 400.Wherein, obtaining module 100 includes acquisition submodule 110.
Specifically, by taking installation is identified as picture as an example, wherein when installing the first application program, installation mark is set
In first application program, the first application program is that the program whether installed can be detected, for example, the first application program
For a chat application.One small picture can be set in the assert catalogue of the chat application.It should be noted that the small figure
Piece is for identifying whether corresponding application program has been installed,, can be in order to save space since commonly used program is all smaller
It is that user is sightless that the small picture, which is arranged,.
It is to be appreciated that the present embodiment, for installing and be identified as picture, installation mark can also be extended formatting, example
For example text formatting.Further, in order to save space, the size that the installation mark of text format can be set is less than setting
Threshold value.
The storage location that acquisition submodule 110 is used to specify from system obtains the instruction information, and the instruction information refers to
Show the location information of the installation mark.For example, the instruction information may include the universal resource identifier of the installation mark
Symbol.The instruction information can store in the script file of browser.More specifically, the content offer group of android system
Part (ContentProvider) can provide schema (the extensible markup language frame with content (content) an of standard
Structure) URI, according to the URI, browser can call the small picture under the assert catalogue of application program.Referring to Fig. 3, specifically
Following code can be implanted into JS script to determine whether the available small picture to as installation mark:
<img src=" content: //com.alibaba.mobileim.h5/h5.png " onError=" alert ('
Using do not install ');">
The above are judge whether be loaded into corresponding picture according to instruction information by onError function.
Specific detection function also there are many, will not enumerate herein.
Further, however, it is determined that module 300 determines that the first application program has been installed, then can execute mounted process.
For example, after determining that the chat application has been installed the chat window of the chat application can be jumped to, from browser to mention
For better user experience.If it is determined that module 300 determines that the first application program is not installed, uninstalled process can be executed.Example
Such as, after determining that the chat application is not installed, another web application for realizing chat feature can be jumped to from browser
(web app) or the downloading interface for jumping to the chat application.
It removes module 400 to be used for after application program to be detected unloading, removes installation mark.More specifically, when determining
After module 300 determines the installation of the first application program, removing module 400 can detect whether the first application program is unloaded, if so,
The installation mark of the first application program is removed, if it is not, not operating to installation mark then.
The browser of the present embodiment provides component according to content and obtains instruction information, and judges according to the instruction got
Can information get installation mark corresponding with application program to be detected, to determine whether application program to be detected has pacified
Dress, can make full use of the resource of existing Android system, detection process is succinctly efficient, improves accuracy, improves detection
Stability and versatility;Also, the installation mark of the present embodiment is sufficiently small, hardly occupied space, can save space;Separately
Outside, the present embodiment passes through according to detecting using the subsequent corresponding process of information progress whether installed, and can promote user's body
It tests.
The embodiment of the invention also provides a kind of client device, which includes shell, processor, storage
Device, circuit board and power circuit, wherein circuit board is placed in the space interior that shell surrounds, and processor and memory setting exist
On circuit board;Power circuit, for each circuit or the device power supply for client device;Memory is for storing executable journey
Sequence code;Processor is corresponding with executable program code to run by reading the executable program code stored in memory
Program, for executing following steps:
S101 ': obtaining instruction information, and the instruction information indicates the installation mark that the application program is arranged during installation
Know.
Wherein, installation mark can be specifically set asserting in (assert) catalogue in application program.Installation mark can be with
For picture and/or text etc..Further, in order to save space, the size of installation mark can be set less than preset
Threshold value.
In one embodiment of the invention, the instruction information indicates the location information of the installation mark, for example, referring to
Show that information can be the URI of installation mark, corresponding installation mark can be searched according to the URI.
In one embodiment, the instruction information is stored in the specified storage location of system, for example, instruction information can be pre-
In another mounted application (such as browser) of first embedded system or default.For example, instruction information is embedded into browsing
In JS (JavaScript) script of device.
S102 ': judge the installation mark whether is got according to the instruction information.
Specifically, the content that the instruction information that browser can will acquire is sent to system provides
(ContentProvider) component is installed according to the instruction acquisition of information by ContentProvider component and is identified, and will be
The no result got is sent to browser.
S103 ': if getting installation mark, determining that the application program has been installed, if not getting installation mark
Know, determines that the application program is not installed.
Specifically, in one embodiment of the invention, when application program is mounted, installation mark is stored in application
It under the predetermined directory of program, has been installed for identifying application, installation mark can be got according to instruction information at this time;
When application program is unloaded, corresponding installation mark can also be removed simultaneously, then will be unable to get this according to instruction information
Installation mark.It therefore, can be by confirming corresponding application program whether according to whether instruction information gets installation mark
Installation, i.e., if getting installation mark, it is determined that application program to be detected has been installed;If not getting installation mark
Know, it is determined that application program to be detected is not installed.
The client terminal device of the present embodiment by the way that installation mark is arranged in application program to be detected, and judges basis
Can instruction information get installation mark corresponding with application program to be detected, whether to determine application program to be detected
It has installed, it is ensured that the accuracy of detection.
In another embodiment, processor runs and can be performed by reading the executable program code stored in memory
The corresponding program of program code, for executing following steps:
S201 ': when installing the first application program, the setting installation mark in first application program.
Wherein, the first application program is that the program whether installed can be detected, for example, the first application program is chatted for one
Its application.One small picture can be set in the assert catalogue of the chat application.
It should be noted that the small picture is used to identify whether corresponding application program has been installed, due to commonly used journey
Sequence is all smaller, and in order to save space, it is that user is sightless that the small picture, which can be set,.
It is to be appreciated that the present embodiment, for installing and be identified as picture, installation mark can also be extended formatting, example
For example text formatting.Further, in order to save space, the size that the installation mark of text format can be set is less than setting
Threshold value.
S202 ': the instruction information of the installation mark is preset.
The instruction information indicates the location information of the installation mark, for example, may include the logical of the installation mark
Use resource identifier.The instruction information can store the storage location specified in system, such as can store in browser
In script file.
S203 ': detect first application program whether install when, judging whether can be according to the instruction acquisition of information
It is identified to the installation, if so, executing S204 ', otherwise executes S205 '.
Wherein, detect the tool whether first application program is installed can be it is mounted a certain using journey in system
Sequence, such as browser.
For indicating that information is URI, after browser obtains the URI of the installation mark, which can be sent to
Whether the ContentProvider component that system provides, judged available according to the URI by ContentProvider component
It is identified to installation, and by result notice to browser.
Specifically, the content of android system provides component (ContentProvider) band that can provide a standard
The URI of the schema (extensible markup language framework) of content (content), according to the URI, browser can be called using journey
Small picture under the assert catalogue of sequence.
Referring to Fig. 3, specifically following code can be implanted into the JS script of browser to determine whether available to work
The small picture identified for installation:
<img src=" content: //com.alibaba.mobileim.h5/h5.png " onError=" alert ('
Using do not install ');">
The above are judge whether be loaded into corresponding picture according to instruction information by onError function.Specific inspection
Survey function also there are many, will not enumerate herein.
S204 ': determine that the first application program has been installed.
Wherein, after determining that the first application program has been installed, mounted process can be executed.
For example, the chat application can be jumped to from external browser after determining that the chat application has been installed
Chat window, to provide better user experience.
S205 ': determine that the first application program is not installed.
Wherein, after determining that the first application program is not installed, uninstalled process can be executed.
For example, another realization chat function can be jumped to from external browser after determining that the chat application is not installed
The web application (web app) of energy or the downloading interface for jumping to the chat application.
Further, after determining the installation of the first application program, this method can also include:
S206 ': whether the first application program of detection unloads, if so, executing S207 ', otherwise repeats S203 ' and its phase
The subsequent step answered.
S207 ': the installation mark of the first application program is removed.
Later, when need to detect the first application program again whether installed when, S203 and its corresponding can be repeated
Subsequent step.
The client terminal device of the present embodiment provides component according to content and obtains instruction information, and judges that basis gets
Can instruction information get installation mark corresponding with application program to be detected, whether to determine application program to be detected
It has been installed that, the resource of existing Android system can be made full use of, detection process is succinctly efficient, improves accuracy, improves
The stability and versatility of detection;Also, the installation mark of the present embodiment is sufficiently small, hardly occupied space, can save sky
Between;In addition, the present embodiment passes through according to detecting using the subsequent corresponding process of information progress whether installed, use can be promoted
Family experience.
It should be noted that in the description of the present invention, term " first ", " second " etc. are used for description purposes only, without
It can be interpreted as indication or suggestion relative importance.In addition, in the description of the present invention, unless otherwise indicated, the meaning of " multiple "
It is two or more.
Any process described otherwise above or method description are construed as in flow chart or herein, and expression includes
It is one or more for realizing specific logical function or process the step of executable instruction code module, segment or portion
Point, and the range of the preferred embodiment of the present invention includes other realization, wherein can not press shown or discussed suitable
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, Lai Zhihang function, this should be of the invention
Embodiment person of ordinary skill in the field understood.
It should be appreciated that each section of the invention can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, software that multiple steps or method can be executed in memory and by suitable instruction execution system with storage
Or firmware is realized.It, and in another embodiment, can be under well known in the art for example, if realized with hardware
Any one of column technology or their combination are realized: having a logic gates for realizing logic function to data-signal
Discrete logic, with suitable combinational logic gate circuit specific integrated circuit, programmable gate array (PGA), scene
Programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage medium
In matter, which when being executed, includes the steps that one or a combination set of embodiment of the method.
It, can also be in addition, each functional unit in each embodiment of the present invention can integrate in a processing module
It is that each unit physically exists alone, can also be integrated in two or more units in a module.Above-mentioned integrated mould
Block both can take the form of hardware realization, can also be realized in the form of software function module.The integrated module is such as
Fruit is realized and when sold or used as an independent product in the form of software function module, also can store in a computer
In read/write memory medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is included at least one embodiment or example of the invention.In the present specification, schematic expression of the above terms are not
Centainly refer to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be any
One or more embodiment or examples in can be combined in any suitable manner.
Although the embodiments of the present invention has been shown and described above, it is to be understood that above-described embodiment is example
Property, it is not considered as limiting the invention, those skilled in the art within the scope of the invention can be to above-mentioned
Embodiment is changed, modifies, replacement and variant.
Claims (10)
1. a kind of method whether detection application program is installed characterized by comprising
Instruction information is obtained, the instruction information indicates the installation mark that the application program is arranged during installation;
Judge the installation mark whether is got according to the instruction information;
If getting the installation mark, determine that the application program has been installed, if not getting the installation mark,
Determine that the application program is not installed;
The instruction information indicates that the location information of the installation mark, the instruction information are stored in the specified storage position of system
It sets;The storage location includes: the browser installed in system.
2. the method according to claim 1, wherein the instruction information includes the general money of the installation mark
Source identifier URI.
3. the method according to claim 1, wherein installation mark includes:
Picture, and/or, text.
4. according to the method described in claim 3, it is characterized in that, the picture is to use when the installation is identified as picture
The sightless picture in family.
5. the method according to claim 1, wherein further include:
After application program unloading, the installation mark is removed.
6. a kind of browser characterized by comprising
Module is obtained, for obtaining instruction information, the installation mark that the instruction information instruction application program is arranged during installation;
Judgment module, for judging whether get the installation mark according to the instruction information;
Determining module, for determining that the application program has been installed, not getting institute when getting installation mark
When stating installation mark, determine that the application program is not installed;
The acquisition module, comprising:
Acquisition submodule, the storage location for specifying from system obtain the instruction information, described in the instruction information indicates
The location information of mark is installed;The storage location includes: the browser installed in system.
7. browser according to claim 6, which is characterized in that the instruction information includes the general of the installation mark
Resource identifiers, URIs.
8. browser according to claim 6, which is characterized in that the installation mark includes: picture and/or text.
9. browser according to claim 8, which is characterized in that when the installation is identified as picture, the picture is
The sightless picture of user.
10. browser according to claim 6, which is characterized in that further include:
Module is removed, for after application program unloading, removing the installation mark.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410191111.5A CN105094862B (en) | 2014-05-07 | 2014-05-07 | The method and browser whether detection application program is installed |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410191111.5A CN105094862B (en) | 2014-05-07 | 2014-05-07 | The method and browser whether detection application program is installed |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105094862A CN105094862A (en) | 2015-11-25 |
CN105094862B true CN105094862B (en) | 2019-04-09 |
Family
ID=54575387
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410191111.5A Active CN105094862B (en) | 2014-05-07 | 2014-05-07 | The method and browser whether detection application program is installed |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105094862B (en) |
Families Citing this family (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018227899A1 (en) | 2017-06-14 | 2018-12-20 | 北京小米移动软件有限公司 | Application interaction method, interaction method and device |
CN108139952B (en) * | 2017-06-14 | 2022-08-05 | 北京小米移动软件有限公司 | Application interaction method, interaction method and device |
CN109218375B (en) * | 2017-07-07 | 2021-11-23 | 北京小米移动软件有限公司 | Application interaction method and device |
CN109218275B (en) * | 2017-07-07 | 2021-09-21 | 北京小米移动软件有限公司 | Application interaction method and device |
CN109218374B (en) * | 2017-07-07 | 2021-11-30 | 北京小米移动软件有限公司 | Application interaction method and device |
CN109086143B (en) * | 2017-06-14 | 2022-02-08 | 北京小米移动软件有限公司 | Application interaction method and device |
CN108363528B (en) * | 2018-02-13 | 2020-04-10 | Oppo广东移动通信有限公司 | Application page starting method and device, storage medium and electronic equipment |
CN110297663B (en) * | 2018-03-21 | 2022-10-04 | 阿里巴巴集团控股有限公司 | Application program awakening method, device, terminal and medium |
CN110647739A (en) * | 2019-07-26 | 2020-01-03 | 平安科技(深圳)有限公司 | Software installation detection method, device, terminal and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101221511A (en) * | 2008-01-25 | 2008-07-16 | 中兴通讯股份有限公司 | Automatic installation and upgrading method of terminal unit application software |
WO2011001658A1 (en) * | 2009-06-30 | 2011-01-06 | Canon Kabushiki Kaisha | Information processing apparatus, control method, and storage medium |
CN102968321A (en) * | 2012-11-22 | 2013-03-13 | 用友软件股份有限公司 | Application program installation device and application program installation method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101978354B (en) * | 2008-03-20 | 2014-12-03 | 国际商业机器公司 | Method and system for detecting the installation and usage of software in an application virtualization environment |
-
2014
- 2014-05-07 CN CN201410191111.5A patent/CN105094862B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101221511A (en) * | 2008-01-25 | 2008-07-16 | 中兴通讯股份有限公司 | Automatic installation and upgrading method of terminal unit application software |
WO2011001658A1 (en) * | 2009-06-30 | 2011-01-06 | Canon Kabushiki Kaisha | Information processing apparatus, control method, and storage medium |
CN102968321A (en) * | 2012-11-22 | 2013-03-13 | 用友软件股份有限公司 | Application program installation device and application program installation method |
Also Published As
Publication number | Publication date |
---|---|
CN105094862A (en) | 2015-11-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105094862B (en) | The method and browser whether detection application program is installed | |
EP3465672B1 (en) | Electronic device and method for diplaying image | |
JP6648306B2 (en) | Abnormal stack information acquisition method, apparatus, and computer-readable storage medium | |
CN109558282B (en) | PCIE link detection method, system, electronic equipment and storage medium | |
EP2780820B1 (en) | Measuring web page rendering time | |
US20150262031A1 (en) | Method And Apparatus For Identifying Picture | |
CN105528439B (en) | Page switching method and device in browser label | |
US9928306B2 (en) | Web page editing method, apparatus, and medium | |
CN105988805B (en) | Application program management method and mobile terminal | |
CN108958092B (en) | Singlechip clock anomaly detection method and device, computer readable storage medium and equipment | |
WO2016023520A1 (en) | Method and device for recognizing application causing temperature rise of terminal, and terminal | |
EP2615551A1 (en) | Abnormality inspection device, central processing unit, and abnormality inspection method | |
CN106020917B (en) | A kind of software installation method and device, user terminal | |
CN105302179B (en) | Temprature control method and temperature control system | |
CN109791485B (en) | Mesh network based over-the-air modem firmware upgrade | |
CN106605396B (en) | Electronic device and method for providing IP network service | |
US20150370450A1 (en) | Display terminal and display method | |
CN109471799A (en) | A kind of dispositions method of demand environment, device, storage medium and terminal | |
CN106708591B (en) | Character detection method and device for operating system | |
CN107967203B (en) | Function judgment method and device based on executable file | |
CN107145375B (en) | Kernel loading method, device, system, user terminal and storage medium | |
US20130304413A1 (en) | Computing device and method for testing electromagnetic compatiblity of printed circuit board | |
CN109144874B (en) | Method and device for monitoring test environment | |
CN105630545A (en) | Browser starting method and apparatus | |
CN106130815B (en) | Board level testing 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 |