CN107911482B - Target application opening method and device - Google Patents

Target application opening method and device Download PDF

Info

Publication number
CN107911482B
CN107911482B CN201711309199.6A CN201711309199A CN107911482B CN 107911482 B CN107911482 B CN 107911482B CN 201711309199 A CN201711309199 A CN 201711309199A CN 107911482 B CN107911482 B CN 107911482B
Authority
CN
China
Prior art keywords
target application
service platform
version number
background server
platform supported
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
Application number
CN201711309199.6A
Other languages
Chinese (zh)
Other versions
CN107911482A (en
Inventor
祁建斌
秦碧
董瑞婷
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201711309199.6A priority Critical patent/CN107911482B/en
Publication of CN107911482A publication Critical patent/CN107911482A/en
Application granted granted Critical
Publication of CN107911482B publication Critical patent/CN107911482B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/148Migration or transfer of sessions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/34Network arrangements or protocols for supporting network services or applications involving the movement of software or configuration parameters 

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Stored Programmes (AREA)

Abstract

The disclosure relates to a target application opening method and device. The method comprises the following steps: when the opening operation aiming at the target application is detected, the lowest version number of a service platform supported by the target application is obtained; and when the current version number of the service platform running the target application is less than the minimum version number of the service platform supported by the target application, jumping to the h5 webpage of the target application. According to the method and the device, when the current version number of the service platform is smaller than the lowest version number of the service platform supported by the target application, the user can jump to the h5 webpage of the target application, so that the user can use the target application based on the h5 webpage, the defect that opening errors are directly prompted in the related technology is overcome, the user can use the device conveniently, and the user experience is improved.

Description

Target application opening method and device
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for opening a target application.
Background
Generally, when a user wants to use a target application on a smart phone, the user needs to download and install the target application in a target application store, and can use the functions and services of the target application after the target application is successfully installed; the precondition for ensuring the successful installation of the target application is as follows: the current platform version number of the operating system is not lower than the lowest platform version number of the operating system supported by the target application. However, when the current platform version number of the operating system is lower than the lowest platform version number of the operating system supported by the target application, the target application may be installed in a failed manner.
In the related art, a service platform such as a direct service platform which can provide the second-start function of the target application can provide a service which can immediately use the target application without downloading and installing for a user, so that the user can experience the very fast second-start experience. When a user wants to use a new target application or service supported by the direct service platform, the user only needs to search the new target application or service and then can use the new target application or service by directly clicking without downloading and installing.
Disclosure of Invention
In order to overcome the problems in the related art, the embodiments of the present disclosure provide a method and an apparatus for opening a target application. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a target application opening method, including:
when the opening operation aiming at the target application is detected, the lowest version number of a service platform supported by the target application is obtained;
and when the current version number of the service platform running the target application is smaller than the minimum version number of the service platform supported by the target application, jumping to a fifth generation hypertext markup language h5 webpage of the target application.
In one embodiment, obtaining the minimum version number of the service platform supported by the target application includes:
sending a first request message to a background server of the target application; the first request message comprises an identifier of the target application and is used for requesting a background server of the target application to return a lowest version number of a service platform supported by the target application;
receiving a first response message sent by a background server of the target application; wherein the first response message comprises a lowest version number of a service platform supported by the target application.
In one embodiment, the first response message further includes the content of the h5 webpage of the target application.
In one embodiment, the method further comprises:
when the current version number of the service platform running the target application is smaller than the lowest version number of the service platform supported by the target application, sending a second request message to a background server of the target application; wherein the second request message includes an identifier of the target application, and is used for requesting a background server of the target application to return the content of the h5 webpage of the target application;
receiving a second response message sent by a background server of the target application; wherein the second response message comprises content of the h5 webpage of the target application.
In one embodiment, the method further comprises:
and when the current version number of the service platform running the target application is greater than or equal to the minimum version number of the service platform supported by the target application, opening the target application.
According to a second aspect of the embodiments of the present disclosure, there is provided a target application opening apparatus including:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring the lowest version number of a service platform supported by a target application when the opening operation aiming at the target application is detected;
and the jump module is used for jumping to a fifth generation hypertext markup language h5 webpage of the target application when the current version number of the service platform running the target application is smaller than the lowest version number of the service platform supported by the target application.
In one embodiment, the obtaining module includes:
the sending submodule is used for sending a first request message to a background server of the target application; the first request message comprises an identifier of the target application and is used for requesting a background server of the target application to return a lowest version number of a service platform supported by the target application;
the receiving submodule is used for receiving a first response message sent by a background server of the target application; wherein the first response message comprises a lowest version number of a service platform supported by the target application.
In one embodiment, the first response message further includes the content of the h5 webpage of the target application.
In one embodiment, the apparatus further comprises:
the sending module is used for sending a second request message to a background server of the target application when the current version number of the service platform running the target application is smaller than the minimum version number of the service platform supported by the target application; wherein the second request message includes an identifier of the target application, and is used for requesting a background server of the target application to return the content of the h5 webpage of the target application;
the receiving module is used for receiving a second response message sent by the background server of the target application; wherein the second response message comprises content of the h5 webpage of the target application.
In one embodiment, the apparatus further comprises:
and the opening module is used for opening the target application when the current version number of the service platform running the target application is greater than or equal to the minimum version number of the service platform supported by the target application.
According to a third aspect of the embodiments of the present disclosure, there is provided a target application opening apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when the opening operation aiming at the target application is detected, the lowest version number of a service platform supported by the target application is obtained;
and when the current version number of the service platform running the target application is smaller than the minimum version number of the service platform supported by the target application, jumping to a fifth generation hypertext markup language h5 webpage of the target application.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon computer instructions which, when executed by a processor, implement the steps of the method of the first aspect described above.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: according to the technical scheme, the current version number of the service platform running the target application and the lowest version number of the service platform supported by the target application are compared and analyzed, when the current version number of the service platform is smaller than the lowest version number of the service platform supported by the target application, the user jumps to the h5 webpage of the target application, so that the user can use the target application based on the h5 webpage, the defect that opening errors are directly prompted in the related technology is overcome, the user can use the system conveniently, and therefore the user experience can be improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a diagram illustrating a target application scenario for a target application opening method according to an example embodiment.
FIG. 2 is a flowchart illustrating a target application opening method in accordance with an illustrative embodiment.
Fig. 3 is a signaling flow diagram illustrating a target application opening method according to an example embodiment.
Fig. 4 is a signaling flow diagram illustrating a target application opening method according to an example embodiment.
Fig. 5 is a block diagram illustrating a target application opening apparatus according to an example embodiment.
Fig. 6 is a block diagram illustrating a target application opening apparatus according to an example embodiment.
Fig. 7 is a block diagram illustrating a target application opening apparatus according to an example embodiment.
Fig. 8 is a block diagram illustrating a target application opening apparatus according to an example embodiment.
Fig. 9 is a block diagram illustrating a target application opening apparatus according to an example embodiment.
Fig. 10 is a block diagram illustrating a target application opening apparatus according to an example embodiment.
Fig. 11 is a block diagram illustrating a target application opening apparatus according to an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
In the related art, a service platform such as a direct service platform which can provide the second-start function of the target application can provide a service which can immediately use the target application without downloading and installing for a user, so that the user can experience the very fast second-start experience. When a user wants to use a new target application or service supported by the direct service platform, the user only needs to search the new target application or service and then can use the new target application or service by directly clicking without downloading and installing. However, when jumping to a new target application from the entry of the new target application, for some new target applications that cannot know the version number of the direct service platform, opening the new target application may cause an open error to be directly prompted when opening the target application because the platform version number of the direct service is lower than the lowest platform version number (minplatform version) of the target application, which causes inconvenience in use of a user and affects user experience.
In order to solve the above problem, an embodiment of the present disclosure provides a target application opening method, where the method includes: when the opening operation aiming at the target application is detected, the lowest version number of a service platform supported by the target application is obtained; and when the current version number of the service platform running the target application is less than the minimum version number of the service platform supported by the target application, jumping to a fifth generation hypertext markup language (h5, Html5) webpage of the target application.
The target application (app) referred to in the embodiments of the present disclosure is, for example, a Hybrid application (Hybrid app), but the present disclosure is not limited thereto. To better illustrate the embodiments of the present disclosure, the following description is made for a target application: the target application may include: native applications (Native apps), Web applications (Web apps), and Hybrid applications (Hybrid apps). The Native application is a local application which is developed independently for different smartphone operating systems, if the Native application needs to be used, the Native App needs to be downloaded to a terminal and installed, and the most common method for downloading the Native App is to visit an application program Store, such as an apple App Store, an android market, a Google Store (Google Play), and the like. The Web Application is a website of a touch screen version, is completely developed by Web technologies such as Html, a JavaScript (JavaScript) and a Cascading Style Sheets (CSS) and is accessed through a browser of a terminal, and has the defects that the applications based on the browser cannot call an Application Programming Interface (API) of a system to realize some advanced functions and are not suitable for occasions with high performance requirements. The hybrid application is an App between a Native App and a Web App, and although the hybrid application appears to be a Native App, the hybrid application is just a UI WebView, and a Web App is accessed. The essence of the hybrid application is to forge a browser's apk/ipa native program and run a Web app. The Hybrid app has the advantages of both 'Native app good user interaction experience' and 'Web app cross-platform development', Web developers can be transformed into mobile application developers at almost zero cost, the same codes can be distributed on multiple platforms only by compiling aiming at different platforms, and compared with the Web app, the developers can call most of common system APIs through packaged interfaces.
Referring to fig. 1, an alternative target application scenario of the target application opening method in the embodiment of the present disclosure is shown; the target application scenario shown in fig. 1 includes: a terminal 11, a background server 12 of a target application and a network 13; a service platform capable of providing a second-start function of the target application, such as a direct service, is run on the terminal 11, and the service platform provides a service for a user to use the target application immediately without downloading and installing; the terminal 11 communicates with a background server 12 of the target application through a network 13; the terminal is, for example, a smart phone, a tablet computer, a desktop computer, a notebook computer, or a wearable device (such as a bracelet, smart glasses, etc.), etc.; the background server 12 of the target application may be one server or a server cluster formed by a plurality of servers; the network 13 may be, for example, a wired network or a wireless network, such as a wireless communication network like Wireless Fidelity (WiFi), 2G/3G/4G/5G, etc.
It should be noted that the target application scenario shown in fig. 1 is only one possible target application scenario example of the target application opening method in the embodiment of the present disclosure, and other target application scenarios may also include devices not involved in fig. 1. The target application opening method provided by the embodiment of the disclosure can be applied to the above scenario, and through comparative analysis of the current version number of the service platform running the target application and the lowest version number of the service platform supported by the target application, when the current version number of the service platform is smaller than the lowest version number of the service platform supported by the target application, the target application is skipped to the h5 webpage of the target application, so that the user can use the target application based on the h5 webpage, the defect of direct prompt of opening errors in the related technology is overcome, the use by the user is facilitated, and the user experience is improved.
Based on the above analysis, the following specific examples are proposed.
Fig. 2 is a flowchart illustrating a target application opening method according to an exemplary embodiment, where an execution subject of the method may be a terminal; as shown in fig. 2, the method comprises the following steps 201 and 202:
in step 201, when an opening operation for a target application is detected, a minimum version number of a service platform supported by the target application is obtained.
For example, a service platform capable of providing a second-order function of a target application is run on a terminal, for example, a hybrid development platform such as a direct service platform is run on the terminal, and the hybrid development platform provides a service for a user to use the target application immediately without downloading and installing the service; when a user wants to start the target application in seconds, the system configured with the hybrid development platform can directly click the second start identifier corresponding to the target application at an entrance such as a global search entrance or a browser entrance, and the target application can be started in seconds without downloading and installing.
For example, when a user needs to use a target application based on the hybrid development platform, an opening operation for the target application is performed, for example, the target application is clicked at an entrance of a service platform; and when the terminal detects the opening operation aiming at the target application, acquiring the lowest version number of the service platform supported by the target application.
For example, the implementation manner of obtaining the lowest version number of the service platform supported by the target application may include: the terminal sends a first request message to a background server of a target application; the first request message comprises an identifier of the target application and is used for requesting a background server of the target application to return the lowest version number of the service platform supported by the target application; the background server of the target application responds to the first request message and sends a first response message to the terminal; the first response message comprises the lowest version number of the service platform supported by the target application; and the terminal receives a first response message sent by a background server of the target application to obtain the lowest version number of the service platform supported by the target application. Illustratively, the identification of the target application is, for example, a package name (packageName) of the target application.
In step 202, when the current version number of the service platform running the target application is smaller than the minimum version number of the service platform supported by the target application, the h5 webpage of the target application is jumped to.
In an example, after acquiring the minimum version number of the service platform supported by the target application, the terminal determines whether the current version number of the service platform running the target application is smaller than the minimum version number of the service platform supported by the target application: when the current version number of the service platform is smaller than the lowest version number of the service platform supported by the target application, jumping to an h5 webpage of the target application; and when the current version number of the service platform is greater than or equal to the minimum version number of the service platform supported by the target application, opening the target application.
For example, an implementation of obtaining the h5 webpage of the target application may include:
mode 1, in addition to the lowest version number of the service platform supported by the target application, the first response message also includes the content of the h5 webpage of the target application.
In the mode 2, when the terminal determines that the current version number of the service platform running the target application is smaller than the minimum version number of the service platform supported by the target application, the terminal sends a second request message to a background server of the target application; the second request message comprises an identification of the target application and is used for requesting a background server of the target application to return the content of the h5 webpage of the target application; the background server of the target application responds to the second request message and sends a second response message to the terminal; wherein the second response message comprises the content of the h5 webpage of the target application; and the terminal receives a second response message sent by the background server of the target application to obtain the content of the h5 webpage of the target application.
According to the technical scheme provided by the embodiment of the disclosure, through comparative analysis of the current version number of the service platform running the target application and the minimum version number of the service platform supported by the target application, when the current version number of the service platform is smaller than the minimum version number of the service platform supported by the target application, the user jumps to the h5 webpage of the target application, so that the user can use the target application based on the h5 webpage, the defect of directly prompting opening errors in the related technology is overcome, the use by the user is facilitated, and thus, the user experience can be improved.
Fig. 3 is a signaling flow diagram illustrating a method for opening a target application according to an example embodiment. As shown in fig. 3, on the basis of the embodiment shown in fig. 2, the target application opening method according to the present disclosure may include the following steps 301-305:
in step 301, when detecting an opening operation for a target application, a terminal sends a first request message to a background server of the target application; the first request message comprises the identification of the target application and is used for requesting a background server of the target application to return the lowest version number of the service platform supported by the target application.
In step 302, a background server of a target application sends a first response message to a terminal; the first response message comprises the lowest version number of the service platform supported by the target application; the first response message further comprises the content of the h5 webpage of the target application; and the terminal receives a first response message sent by the background server of the target application to obtain the lowest version number of the service platform supported by the target application and the content of the h5 webpage of the target application.
In step 303, the terminal determines whether the current version number of the service platform running the target application is smaller than the minimum version number of the service platform supported by the target application:
when the current version number of the service platform is smaller than the minimum version number of the service platform supported by the target application, go to step 304;
when the current version number of the service platform is greater than or equal to the minimum version number of the service platform supported by the target application, go to step 305.
In step 304, the terminal jumps to the h5 webpage of the target application.
In step 305, the terminal opens the target application.
According to the technical scheme provided by the embodiment of the disclosure, the lowest version number of the service platform supported by the target application is obtained, the current version number of the service platform running the target application is compared with the lowest version number of the service platform supported by the target application, and when the current version number of the service platform is smaller than the lowest version number of the service platform supported by the target application, the user jumps to the h5 webpage of the target application, so that the user can use the target application based on the h5 webpage, the defect of direct prompt of open error in the related technology is overcome, the user can use the system conveniently, and therefore the user experience can be improved.
Fig. 4 is a signaling flow diagram illustrating a method for opening a target application according to an example embodiment. As shown in fig. 4, on the basis of the embodiment shown in fig. 2, the target application opening method according to the present disclosure may include the following steps 401 and 407:
in step 401, when detecting an opening operation for a target application, a terminal sends a first request message to a background server of the target application; the first request message comprises the identification of the target application and is used for requesting a background server of the target application to return the lowest version number of the service platform supported by the target application.
In step 402, a background server of a target application sends a first response message to a terminal; the first response message comprises the lowest version number of the service platform supported by the target application; and the terminal receives a first response message sent by a background server of the target application to obtain the lowest version number of the service platform supported by the target application.
In step 403, the terminal determines whether the current version number of the service platform running the target application is smaller than the minimum version number of the service platform supported by the target application:
when the current version number of the service platform is smaller than the minimum version number of the service platform supported by the target application, go to step 404;
when the current version number of the service platform is greater than or equal to the minimum version number of the service platform supported by the target application, go to step 407.
In step 404, the terminal sends a second request message to a background server of the target application; wherein the second request message includes an identification of the target application, and is used for requesting the background server of the target application to return the content of the h5 webpage of the target application.
In step 405, the background server of the target application sends a second response message to the terminal; wherein the second response message comprises the content of the h5 webpage of the target application; and the terminal receives a second response message sent by the background server of the target application to obtain the content of the h5 webpage of the target application.
In step 406, the terminal jumps to the h5 webpage of the target application.
In step 407, the terminal opens the target application.
According to the technical scheme provided by the embodiment of the disclosure, by comparing the current version number of the service platform running the target application with the lowest version number of the service platform supported by the target application, when the current version number of the service platform is smaller than the lowest version number of the service platform supported by the target application, the content of the h5 webpage of the target application is obtained from the background server of the target application, and the content jumps to the h5 webpage of the target application, so that a user can use the target application based on the h5 webpage, the defect of direct prompt for open error in the related technology is overcome, the use by the user is facilitated, and thus, the user experience can be improved.
The following are embodiments of the disclosed apparatus that may be used to perform embodiments of the disclosed methods.
FIG. 5 is a block diagram illustrating a target application opening apparatus in accordance with an illustrative embodiment; the apparatus may be implemented in various ways, for example, with all of the components of the apparatus being implemented in a terminal, or with components of the apparatus being implemented in a coupled manner on the terminal side; the apparatus may implement the method related to the present disclosure through software, hardware, or a combination of the two, as shown in fig. 5, the target application opening apparatus includes: an obtaining module 501 and a skipping module 502, wherein:
the obtaining module 501 is configured to, when detecting an opening operation for a target application, obtain a minimum version number of a service platform supported by the target application;
the jump module 502 is configured to jump to the h5 webpage of the target application when the current version number of the service platform running the target application is less than the lowest version number of the service platform supported by the target application.
The device provided by the embodiment of the present disclosure can be used for executing the technical scheme of the embodiment shown in fig. 2, and the execution mode and the beneficial effect are similar, which are not described herein again.
In one possible implementation, as shown in fig. 6, the target application opening apparatus shown in fig. 5 may further include a configuration module 501 configured to include: a sending submodule 601 and a receiving submodule 602, wherein:
the sending submodule 601 is configured to send a first request message to a background server of the target application; the first request message comprises an identifier of the target application and is used for requesting a background server of the target application to return the lowest version number of the service platform supported by the target application;
the receiving submodule 602 is configured to receive a first response message sent by a background server of the target application; and the first response message comprises the lowest version number of the service platform supported by the target application.
On the basis of the above embodiment, the first response message further includes the content of the h5 webpage of the target application.
In one possible embodiment, as shown in fig. 7, the target application opening apparatus shown in fig. 5 may further include: a sending module 701 and a receiving module 702, wherein:
the sending module 701 is configured to send a second request message to a background server of the target application when the current version number of the service platform running the target application is smaller than the lowest version number of the service platform supported by the target application; the second request message comprises an identification of the target application and is used for requesting a background server of the target application to return the content of the h5 webpage of the target application;
the receiving module 702 is configured to receive a second response message sent by the background server of the target application; wherein the second response message includes the content of the h5 web page of the target application.
In one possible embodiment, as shown in fig. 8, the target application opening apparatus shown in fig. 5 may further include:
an opening module 801 configured to open the target application when a current version number of a service platform running the target application is greater than or equal to a minimum version number of the service platform supported by the target application.
Fig. 9 is a block diagram illustrating a target application opening apparatus 900 according to an exemplary embodiment, where the target application opening apparatus 900 may be implemented in various manners, such as implementing all components of the apparatus in a terminal or implementing the components of the apparatus in a coupled manner on the terminal side; the target application opening apparatus 900 includes:
a processor 901;
a memory 902 for storing processor-executable instructions;
wherein the processor 901 is configured to:
when the opening operation aiming at the target application is detected, the lowest version number of a service platform supported by the target application is obtained;
and when the current version number of the service platform running the target application is less than the minimum version number of the service platform supported by the target application, jumping to the h5 webpage of the target application.
In one embodiment, the processor 901 may be further configured to:
sending a first request message to a background server of a target application; the first request message comprises an identifier of the target application and is used for requesting a background server of the target application to return the lowest version number of the service platform supported by the target application;
receiving a first response message sent by a background server of a target application; and the first response message comprises the lowest version number of the service platform supported by the target application.
In one embodiment, the first response message further includes the content of the h5 webpage of the target application.
In one embodiment, the processor 901 may be further configured to:
when the current version number of the service platform running the target application is smaller than the lowest version number of the service platform supported by the target application, sending a second request message to a background server of the target application; the second request message comprises an identification of the target application and is used for requesting a background server of the target application to return the content of the h5 webpage of the target application;
receiving a second response message sent by a background server of the target application; wherein the second response message includes the content of the h5 web page of the target application.
In one embodiment, the processor 901 may be further configured to:
and opening the target application when the current version number of the service platform running the target application is greater than or equal to the minimum version number of the service platform supported by the target application.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 10 is a block diagram illustrating a target application opening apparatus according to an example embodiment. For example, the target application opening apparatus 1000 may be a smartphone, a tablet computer, a wearable device, or the like.
Referring to fig. 10, the target application opening apparatus 1000 may include one or more of the following components: processing component 1002, memory 1004, power component 1006, multimedia component 1008, audio component 1010, input/output (I/O) interface 1012, sensor component 1014, and communications component 1016.
The processing component 1002 generally controls the overall operation of the target application opening apparatus 1000, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 1002 may include one or more processors 1020 to execute instructions to perform all or a portion of the steps of the methods described above. Further, processing component 1002 may include one or more modules that facilitate interaction between processing component 1002 and other components. For example, the processing component 1002 may include a multimedia module to facilitate interaction between the multimedia component 1008 and the processing component 1002.
The memory 1004 is configured to store various types of data to support the operation of the device 1000 at a target application opening. Examples of such data include instructions for any application or method operating on the target application opening apparatus 1000, contact data, phonebook data, messages, pictures, videos, and the like. The memory 1004 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 1006 provides power to the various components of the target application opening device 1000. The power components 1006 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the target application opening device 1000.
The multimedia component 1008 includes a screen that provides an output interface between the target application opening apparatus 1000 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 1008 includes a front facing camera and/or a rear facing camera. When the target application opening apparatus 1000 is in an operation mode, such as a photographing mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 1010 is configured to output and/or input audio signals. For example, the audio component 1010 includes a Microphone (MIC) configured to receive an external audio signal when the target application opening apparatus 1000 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 1004 or transmitted via the communication component 1016. In some embodiments, audio component 1010 also includes a speaker for outputting audio signals.
I/O interface 1012 provides an interface between processing component 1002 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 1014 includes one or more sensors for providing various aspects of status assessment for the targeted application opening device 1000. For example, the sensor assembly 1014 may detect an open/closed state of the target application opening device 1000, the relative positioning of components, such as a display and keypad of the target application opening device 1000, the sensor assembly 1014 may also detect a change in position of the target application opening device 1000 or a component of the target application opening device 1000, the presence or absence of user contact with the target application opening device 1000, an orientation or acceleration/deceleration of the target application opening device 1000, and a change in temperature of the target application opening device 1000. The sensor assembly 1014 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 1014 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 1014 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 1016 is configured to facilitate wired or wireless communication between the target application opening apparatus 1000 and other devices. The target application opening apparatus 1000 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 1016 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 1016 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the target application opening apparatus 1000 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium including instructions, such as the memory 1004 including instructions, executable by the processor 1020 of the target application opening apparatus 1000 to perform the above method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 11 is a block diagram illustrating a target application opening apparatus according to an example embodiment. For example, the target application opening apparatus 1100 may be provided as a server. The target application opening device 1100 comprises a processing component 1102, which further comprises one or more processors, and memory resources, represented by memory 1103, for storing instructions, e.g. application programs, executable by the processing component 1102. The application stored in the memory 1103 may include one or more modules that each correspond to a set of instructions. Further, the processing component 1102 is configured to execute instructions to perform the above-described methods.
The target application opening apparatus 1100 may further include a power supply component 1106 configured to perform power management of the target application opening apparatus 1100, a wired or wireless network interface 1105 configured to connect the target application opening apparatus 1100 to a network, and an input/output (I/O) interface 1108. The target application opening device 1100 may operate based on an operating system stored in memory 1103, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
A non-transitory computer readable storage medium, when instructions in the storage medium are executed by a processor of a target application opening device 1000 or 1100, enabling the target application opening device 1000 or 1100 to perform a target application opening method, the method comprising:
when the opening operation aiming at the target application is detected, the lowest version number of a service platform supported by the target application is obtained;
and when the current version number of the service platform running the target application is less than the minimum version number of the service platform supported by the target application, jumping to the h5 webpage of the target application.
In one embodiment, obtaining the minimum version number of the service platform supported by the target application includes:
sending a first request message to a background server of a target application; the first request message comprises an identifier of the target application and is used for requesting a background server of the target application to return the lowest version number of the service platform supported by the target application;
receiving a first response message sent by a background server of a target application; and the first response message comprises the lowest version number of the service platform supported by the target application.
In one embodiment, the first response message further includes the content of the h5 webpage of the target application.
In one embodiment, the method further comprises:
when the current version number of the service platform running the target application is smaller than the lowest version number of the service platform supported by the target application, sending a second request message to a background server of the target application; the second request message comprises an identification of the target application and is used for requesting a background server of the target application to return the content of the h5 webpage of the target application;
receiving a second response message sent by a background server of the target application; wherein the second response message includes the content of the h5 web page of the target application.
In one embodiment, the method further comprises:
and opening the target application when the current version number of the service platform running the target application is greater than or equal to the minimum version number of the service platform supported by the target application.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (8)

1. A target application opening method is characterized by comprising the following steps:
when the opening operation aiming at the target application is detected, the lowest version number of a service platform supported by the target application is obtained;
when the current version number of the service platform running the target application is smaller than the minimum version number of the service platform supported by the target application, jumping to a fifth generation hypertext markup language h5 webpage of the target application;
when the current version number of the service platform running the target application is greater than or equal to the minimum version number of the service platform supported by the target application, opening the target application;
the obtaining of the minimum version number of the service platform supported by the target application includes:
sending a first request message to a background server of the target application; the first request message comprises an identifier of the target application and is used for requesting a background server of the target application to return a lowest version number of a service platform supported by the target application;
receiving a first response message sent by a background server of the target application; wherein the first response message comprises a lowest version number of a service platform supported by the target application.
2. The method of claim 1, wherein the first response message further comprises content of an h5 webpage of the target application.
3. The method of claim 1, further comprising:
when the current version number of the service platform running the target application is smaller than the lowest version number of the service platform supported by the target application, sending a second request message to a background server of the target application; wherein the second request message includes an identifier of the target application, and is used for requesting a background server of the target application to return the content of the h5 webpage of the target application;
receiving a second response message sent by a background server of the target application; wherein the second response message comprises content of the h5 webpage of the target application.
4. A target application opening apparatus, comprising:
the system comprises an acquisition module, a processing module and a display module, wherein the acquisition module is used for acquiring the lowest version number of a service platform supported by a target application when the opening operation aiming at the target application is detected;
the skip module is used for skipping to a fifth generation hypertext markup language h5 webpage of the target application when the current version number of the service platform running the target application is smaller than the lowest version number of the service platform supported by the target application;
the device further comprises:
the opening module is used for opening the target application when the current version number of the service platform running the target application is greater than or equal to the lowest version number of the service platform supported by the target application;
the acquisition module includes:
the sending submodule is used for sending a first request message to a background server of the target application; the first request message comprises an identifier of the target application and is used for requesting a background server of the target application to return a lowest version number of a service platform supported by the target application;
the receiving submodule is used for receiving a first response message sent by a background server of the target application; wherein the first response message comprises a lowest version number of a service platform supported by the target application.
5. The apparatus of claim 4, wherein the first response message further comprises content of an h5 webpage of the target application.
6. The apparatus of claim 4, further comprising:
the sending module is used for sending a second request message to a background server of the target application when the current version number of the service platform running the target application is smaller than the minimum version number of the service platform supported by the target application; wherein the second request message includes an identifier of the target application, and is used for requesting a background server of the target application to return the content of the h5 webpage of the target application;
the receiving module is used for receiving a second response message sent by the background server of the target application; wherein the second response message comprises content of the h5 webpage of the target application.
7. A target application opening apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
when the opening operation aiming at the target application is detected, the lowest version number of a service platform supported by the target application is obtained;
when the current version number of the service platform running the target application is smaller than the minimum version number of the service platform supported by the target application, jumping to a fifth generation hypertext markup language h5 webpage of the target application;
the processor is further configured to: when the current version number of the service platform running the target application is greater than or equal to the minimum version number of the service platform supported by the target application, opening the target application;
the obtaining of the minimum version number of the service platform supported by the target application includes:
sending a first request message to a background server of the target application; the first request message comprises an identifier of the target application and is used for requesting a background server of the target application to return a lowest version number of a service platform supported by the target application;
receiving a first response message sent by a background server of the target application; wherein the first response message comprises a lowest version number of a service platform supported by the target application.
8. A computer-readable storage medium having stored thereon computer instructions, which, when executed by a processor, carry out the steps of the method according to any one of claims 1 to 3.
CN201711309199.6A 2017-12-11 2017-12-11 Target application opening method and device Active CN107911482B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711309199.6A CN107911482B (en) 2017-12-11 2017-12-11 Target application opening method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711309199.6A CN107911482B (en) 2017-12-11 2017-12-11 Target application opening method and device

Publications (2)

Publication Number Publication Date
CN107911482A CN107911482A (en) 2018-04-13
CN107911482B true CN107911482B (en) 2021-07-23

Family

ID=61864998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711309199.6A Active CN107911482B (en) 2017-12-11 2017-12-11 Target application opening method and device

Country Status (1)

Country Link
CN (1) CN107911482B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032722B (en) * 2018-06-27 2021-09-28 广州视源电子科技股份有限公司 Method, device, equipment and medium for updating display effect of UI component
CN109002314A (en) * 2018-09-29 2018-12-14 深圳市元征科技股份有限公司 Oftware updating method, device, electronic equipment and storage medium
CN112597423B (en) * 2021-01-04 2023-11-03 聚好看科技股份有限公司 Webpage content display method, terminal and server
CN113157311A (en) * 2021-04-08 2021-07-23 上海高顿教育培训有限公司 H5-based application program version number control method

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156649A (en) * 2011-03-01 2011-08-17 奇智软件(北京)有限公司 Patch installation method and device thereof
CN105610954A (en) * 2015-12-31 2016-05-25 腾讯科技(深圳)有限公司 Media information processing method and system

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130339091A1 (en) * 2012-06-15 2013-12-19 Anthony W. Humay Intelligent social polling platform
KR20140121101A (en) * 2013-04-05 2014-10-15 케이티하이텔 주식회사 Cloud build system and method using the dispatcher and the dispatcher for distributed builds
CN106502717B (en) * 2016-09-22 2020-04-14 华为技术有限公司 Application program running method and device
CN106559481A (en) * 2016-11-02 2017-04-05 深圳市合互联技术有限责任公司 A kind of method and server that application is provided
CN106897162B (en) * 2017-02-23 2021-06-11 腾讯科技(深圳)有限公司 Communication mode selection method of component in application, communication system and mobile terminal
CN107239318B (en) * 2017-06-13 2018-09-04 腾讯科技(深圳)有限公司 Using conversion method, device and equipment
CN107402755A (en) * 2017-07-03 2017-11-28 天脉聚源(北京)传媒科技有限公司 The modular showing method and device of the small application of wechat
CN107370804B (en) * 2017-07-11 2020-09-01 腾讯科技(深圳)有限公司 Software application processing method and device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102156649A (en) * 2011-03-01 2011-08-17 奇智软件(北京)有限公司 Patch installation method and device thereof
CN105610954A (en) * 2015-12-31 2016-05-25 腾讯科技(深圳)有限公司 Media information processing method and system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
iOS应用安装失败原因排查;SuperDanny;《https://www.jianshu.com/p/9bdd0155622b》;20160226;第1页至第2页 *
小米直达服务探秘:原生渲染和秒开是怎样一种体验;INFOQ;《https://www.colabug.com/2017/0912/1354493/》;20170912;第1页至第7页 *

Also Published As

Publication number Publication date
CN107911482A (en) 2018-04-13

Similar Documents

Publication Publication Date Title
CN109032606B (en) Native application compiling method and device and terminal
CN107229711B (en) Webpage display method and device
CN107911482B (en) Target application opening method and device
EP3096224B1 (en) Method and apparatus for processing application installation package
CN111221559B (en) Application updating method, device, storage medium, terminal and server
CN107423106B (en) Method and apparatus for supporting multi-frame syntax
CN106406956B (en) Application program installation method and device
CN105808305B (en) Static resource loading method and device
EP3010187A1 (en) Method for upgrading and device and apparatus thereof
CN106851695B (en) Method, device and system for testing network speed
CN107423218B (en) Application testing method, device and terminal
CN109117144B (en) Page processing method, device, terminal and storage medium
CN109347916B (en) Game interaction method and device and computer readable storage medium
CN111198706A (en) Method for updating system function, apparatus for updating system function and storage medium
CN108874399B (en) Method and device for installing plug-in and terminal
CN107463372B (en) Data-driven page updating method and device
CN108280342B (en) Application synchronization method and device for application synchronization
CN109558553B (en) Method and device for determining style
CN104572230B (en) Script file loading method and device and script file generating method and device
CN110221813B (en) Application data connection establishment method and device, storage medium and electronic equipment
CN109976872B (en) Data processing method and device, electronic equipment and storage medium
CN107861666B (en) Desktop application installation method and device
CN112087544B (en) Prompting method and device
CN109542660B (en) Fault processing method and device
CN107819871B (en) Application state determination method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant