CN111212183B - Method, device and computer readable medium for running hosted application - Google Patents

Method, device and computer readable medium for running hosted application Download PDF

Info

Publication number
CN111212183B
CN111212183B CN201911275125.4A CN201911275125A CN111212183B CN 111212183 B CN111212183 B CN 111212183B CN 201911275125 A CN201911275125 A CN 201911275125A CN 111212183 B CN111212183 B CN 111212183B
Authority
CN
China
Prior art keywords
application
hosted
hosted application
information
host
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
CN201911275125.4A
Other languages
Chinese (zh)
Other versions
CN111212183A (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.)
Shanghai Lianshang Network Technology Co Ltd
Original Assignee
Shanghai Lianshang Network Technology 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 Shanghai Lianshang Network Technology Co Ltd filed Critical Shanghai Lianshang Network Technology Co Ltd
Priority to CN201911275125.4A priority Critical patent/CN111212183B/en
Publication of CN111212183A publication Critical patent/CN111212183A/en
Application granted granted Critical
Publication of CN111212183B publication Critical patent/CN111212183B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72484User interfaces specially adapted for cordless or mobile telephones wherein functions are triggered by incoming communication events
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72406User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by software upgrading or downloading

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The purpose of the application is to provide a method and a device for running a hosted application, wherein the method comprises the following steps: the first application responds to the detection of the trigger operation on the target information and analyzes the target information to obtain corresponding hosted application configuration information; the first application determines a corresponding hosted application based on the hosted application configuration information and hosted application identification information of the hosted application; the first application providing hosted application identification information to the hosted application; the host application runs the corresponding hosted application based on the hosted application identification information; wherein the host application and the first application are configured on the same user equipment. The method and the device for issuing the information improve the efficiency of issuing the information and save the cost of issuing the information.

Description

Method, device and computer readable medium for running hosted application
Technical Field
The present application relates to the field of communications, and more particularly, to a technique for running hosted applications.
Background
The hosted application is an application which depends on the host application and can be used without downloading an installation package for installation, and the functions of the host application are further expanded. The boarder application realizes the dream of 'reach by touch', the user can open the application after scanning or searching, the concept of 'go after use' is also embodied, and the user does not need to care about the problem of whether too many applications are installed on the user equipment. Hosted applications are available at any time, and do not need to be installed or uninstalled via an installation package. With the development of the times, more and more host applications appear, and the boarder applications depending on the host applications become ubiquitous.
However, the platform supporting each hosted application is typically integrated on the respective app. Since the hosted applications that can be supported by the apps are different in form, the hosted applications that are applicable to different apps are different in data format and the like required for normal operation. Therefore, in different apps, it is very likely that the hosted application start information provided by the information provider to the user will cause the corresponding hosted application to operate abnormally, so that the user cannot obtain the information provided by the information provider correctly and efficiently, which is not favorable for information distribution.
Disclosure of Invention
It is an object of the present application to provide a method and apparatus for running hosted applications.
According to one aspect of the present application, there is provided a method for running a hosted application, wherein the hosted application corresponds to target information in a second application; the method comprises the following steps:
in response to detecting a trigger operation on target information in a first application, parsing the target information to obtain corresponding hosted application configuration information;
determining a corresponding hosted application and hosted application identification information of the hosted application based on the hosted application configuration information; and the number of the first and second groups,
providing the hosted application identification information to the hosted application for the hosted application to run the hosted application;
wherein the host application and the second application are configured on the same user equipment.
Accordingly, the present application provides a user equipment, comprising:
a first module, configured to, in response to detecting a trigger operation on target information in a first application, parse the target information to obtain corresponding hosted application configuration information;
a first module and a second module, which are used for determining the corresponding hosted application and the hosted application identification information of the hosted application based on the hosted application configuration information; and the number of the first and second groups,
a first third module for providing the hosted application identification information to the hosted application for the hosted application to run the hosted application;
wherein the host application and the first application are configured on the same user equipment.
According to another aspect of the present application, there is also provided a method for running a hosted application by a hosting application, the method comprising the steps of:
running the corresponding hosted application based on the hosted application identification information provided by the first application;
the first application analyzes target information of the executed trigger operation to obtain corresponding hosted application configuration information, and determines the hosted application and the hosted application identification information based on the hosted application configuration information; the host application and the first application are configured on the same user equipment.
Correspondingly, the present application also provides a user equipment, which includes:
a second module for running a corresponding hosted application based on hosted application identification information provided by the first application;
the first application analyzes target information of the executed trigger operation to obtain corresponding hosted application configuration information, and determines the hosted application and the hosted application identification information based on the hosted application configuration information; the host application and the first application are configured on the same user equipment.
According to another aspect of the present application, there is also provided a method for running a hosted application, the method comprising the steps of:
the first application responds to the detection of the trigger operation on the target information and analyzes the target information to obtain corresponding hosted application configuration information;
the first application determines a corresponding hosted application based on the hosted application configuration information and hosted application identification information of the hosted application;
the first application providing the hosted application identification information to the hosted application; and the number of the first and second groups,
the host application runs the corresponding hosted application based on the hosted application identification information;
wherein the host application and the first application are configured on the same user equipment.
According to one aspect of the present application, there is provided a user equipment for running a hosted application, wherein the user equipment comprises:
a processor; and
a memory arranged to store computer executable instructions that, when executed, cause the processor to perform the operations of any of the above methods.
According to another aspect of the present application, there is provided a computer-readable medium storing instructions that, when executed by a computer, cause the computer to perform the operations of any of the above methods.
Based on the present application, the same application parses target information (e.g., promotion information provided by each big information provider) in other applications (corresponding to the second application) to obtain corresponding hosted application configuration information, and runs a corresponding hosted application through an adapted app (hosted application) based on the hosted application configuration information (e.g., the adapted app reads executable code of the corresponding hosted application based on the hosted application configuration information and executes the code, thereby running the hosted application), so as to implement a corresponding function (e.g., without limitation, providing a specific service for a user, or further providing details about the aforementioned target information). Compared with the prior art, according to the application, hosted applications suitable for different hosted applications (hosted application platforms) can be identified by the same application, and then the same application passes corresponding startup parameters to the hosted application to run the corresponding hosted application. Therefore, in the same position, the information provider can release target information containing configuration information of hosted applications suitable for a plurality of different platforms without respectively releasing the target information for the different platforms, thereby improving the efficiency of information release and saving the cost of information release.
Drawings
Other features, objects and advantages of the present application will become more apparent upon reading of the following detailed description of non-limiting embodiments thereof, made with reference to the accompanying drawings in which:
FIG. 1 is a flow diagram of a method for running a hosted application according to one embodiment of the present application;
FIG. 2 is a flow diagram of a method for running a hosted application by a first application according to another embodiment of the present application;
FIG. 3 illustrates the principle of a first application running a hosted application through a hosting application in one embodiment of the present application;
FIG. 4 is a flow diagram of a method for running a hosted application by a hosting application according to another embodiment of the present application;
FIG. 5 shows functional modules of a user equipment in an embodiment of the present application;
fig. 6 shows functional modules of a user equipment in another embodiment of the present application;
FIG. 7 illustrates functional modules of an exemplary system that may be used in various embodiments of the present application.
The same or similar reference numbers in the drawings identify the same or similar elements.
Detailed Description
The present application is described in further detail below with reference to the attached figures.
In a typical configuration of the present application, the terminal, the device serving the network, and the trusted party each include one or more processors (e.g., Central Processing Units (CPUs)), input/output interfaces, network interfaces, and memory.
The Memory may include forms of volatile Memory, Random Access Memory (RAM), and/or non-volatile Memory in a computer-readable medium, such as Read Only Memory (ROM) or Flash Memory. Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, Phase-Change Memory (PCM), Programmable Random Access Memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read-Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (Electrically-Erasable Programmable Read-Only Memory (EEPROM), Flash Memory (Flash Memory) or other Memory technology, Compact Disc Read-Only Memory (CD-ROM), Digital Versatile Disc (Digital Versatile Disc, DVD) or other optical storage, magnetic tape or other magnetic or non-magnetic storage devices, may be used to store information that may be accessed by the computing device.
The device referred to in this application includes, but is not limited to, a user device, a network device, or a device formed by integrating a user device and a network device through a network. The user equipment includes, but is not limited to, any mobile electronic product, such as a smart phone, a tablet computer, etc., capable of performing human-computer interaction with a user (e.g., human-computer interaction through a touch panel), and the mobile electronic product may employ any operating system, such as an Android operating system, an iOS operating system, etc. The network Device includes an electronic Device capable of automatically performing numerical calculation and information processing according to a preset or stored instruction, and the hardware includes, but is not limited to, a microprocessor, an Application Specific Integrated Circuit (ASIC), a Programmable Logic Device (PLD), a Field Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), an embedded Device, and the like. The network device includes but is not limited to a computer, a network host, a single network server, a plurality of network server sets or a cloud of a plurality of servers; here, the Cloud is composed of a large number of computers or web servers based on Cloud Computing (Cloud Computing), which is a kind of distributed Computing, one virtual supercomputer consisting of a collection of loosely coupled computers. Including, but not limited to, the internet, a wide area Network, a metropolitan area Network, a local area Network, a VPN Network, a wireless Ad Hoc Network (Ad Hoc Network), etc. Preferably, the device may also be a program running on the user device, the network device, or a device formed by integrating the user device and the network device, the touch terminal, or the network device and the touch terminal through a network.
Of course, those skilled in the art will appreciate that the foregoing is by way of example only, and that other existing or future devices, which may be suitable for use in the present application, are also encompassed within the scope of the present application and are hereby incorporated by reference.
In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
Some embodiments of the present application are implemented based on a ue, and specific embodiments of the present application are described in detail below with the ue as an example.
According to one aspect of the present application, a method for running a hosted application is provided. Referring to fig. 1, the method includes the steps of:
the method comprises the steps that user equipment responds to the detection of trigger operation on target information in a first application, and the target information is analyzed to obtain corresponding hosted application configuration information;
the user equipment determines a corresponding host application and hosted application identification information of the hosted application in the first application based on the hosted application configuration information;
the user device providing the hosted application identification information to the hosted application in the first application; and the number of the first and second groups,
the user equipment runs a corresponding hosted application in the hosted application based on the hosted application identification information;
wherein the host application and the first application are configured on the same user equipment; the first application may be a system application provided by a manufacturer of the user equipment or an operating system developer, or may be an application issued by a third party, which is not limited in the embodiments of the present application.
Some embodiments of the present application are described in detail below from both the first application and the host application perspective, respectively.
First application aspect
According to one aspect of the present application, a method for running a hosted application through a first application is provided. Referring to fig. 2, the method includes step S110, step S120, and step S130. In step S110, in response to detecting that an operation is triggered on target information in a second application (for example, an information provider publishes corresponding target information in the second application), the user equipment parses the target information to obtain corresponding hosted application configuration information; in step S120, the user device determines a corresponding hosted application and hosted application identification information of the hosted application based on the hosted application configuration information; in step S130, the user device provides the hosted application identification information to the hosted application, so that the hosted application runs the hosted application. Wherein the host application and the second application are configured on the same user equipment, for example, both installed on the user equipment.
Specifically, in step S110, in response to detecting that an operation is triggered on target information in the second application, the user equipment parses the target information to obtain corresponding hosted application configuration information. In some embodiments, the second application (which may be, for example, a news browsing application, a social application, a browser application, or the like) presents the aforementioned target information (e.g., promotional information provided by an information provider) in the form of pictures, animations, text, videos, or the like. The user performs a trigger operation on the target information, wherein the trigger operation of the user may be, but is not limited to: single-finger/multi-finger sliding, short-time touching or long pressing and the like in the corresponding area on the touch screen; operations performed with voice instructions; operations performed with physical keys, etc. After detecting the trigger operation, the user equipment performs parsing in the first application based on the target information to obtain corresponding hosted application configuration information. For example, the first application monitors the aforementioned triggering operation; the target information contains a string having a specific format, the hosted application configuration information can be obtained based on the string having the specific format, and the parsed hosted application configuration information optionally contains applicable hosted application name or identification, hosted application version information, hosted application identification, hosted application publisher information, hosted application version information, and/or hosted application version information, etc.
In step S120, the user device determines the corresponding hosted application and the hosted application identification information of the hosted application based on the aforementioned hosted application configuration information. For example, the hosted application configuration information includes an ID or application name of the hosted application, and the system of the first application or the user device can determine whether the corresponding hosted application is installed on the user device or invoke the hosted application to start running based on the ID or application name. Meanwhile, the aforementioned hosted application identification information is used to identify the corresponding hosted application, for example, the hosted application identification information may be any one of the names (but not limited to) of the hosted applications, IDs, and storage addresses of codes. The first application is also installed on the user equipment, that is, the first application is also configured on the user equipment.
In step S130, referring to fig. 3, the user device provides the hosted application identification information to the previously determined hosted application for the hosted application to run the hosted application. The hosted application identification information is passed to the hosted application as a parameter, for example, through an interface provided by the hosted application. Of course, those skilled in the art will appreciate that the provision of hosted application identification information to a host application via an interface is but one embodiment of providing hosted application identification information to a host application, and that other existing or future embodiments for providing hosted application identification information to a host application, as may be suitable for use in the present application, are also within the scope of the present application and are incorporated by reference herein. For example, the first application provides the hosted application identification information to the host application in an inter-process messaging manner.
In order to facilitate management and simplify the related operations to ensure that the first application can accurately identify each host application, the method further comprises a front-end step and a back-end step. Specifically, in some embodiments, before the aforementioned step S110, the aforementioned method further includes a step S140 (not shown). In this step S140, the user equipment adds registration information of the host application in response to an installation operation of the host application. In some embodiments, the registration information of the hosted application is not added immediately after the hosted application is installed on the user device, but is added when the hosted application is first run after the installation is completed, for example, based on a "shared preferences" (shared preferences) to implement the function. Subsequently, in step S120, the user device determines a corresponding hosted application among the registered hosted applications based on the hosted application configuration information, and determines hosted application identification information of the hosted application. Accordingly, the above method further includes step S150 (not shown). In this step S150, the ue removes the registration information of the host application in response to the removal operation of the host application, for example, the first application monitors the uninstall broadcast of other applications, and if it is monitored that the registered host application is uninstalled, removes the corresponding registration information.
In some embodiments, in the above step S120, the user device traverses the registered hosted applications based on the hosted application configuration information to determine corresponding hosted applications, and determines hosted application identification information of the hosted applications, so as to avoid missing registered and applicable hosted applications, and facilitate implementing priority setting between the hosted applications (for example, if a certain hosted application has a higher priority, it is accessed earlier in the traversal). For example, the registration information of the hosted application is uniformly stored in a configuration table by the first application, so that the first application queries and traverses each registered hosted application based on the configuration table and confirms whether the registered hosted application is adapted to the hosted application corresponding to the current trigger operation. In particular, for ease of management, the priority order of the hosted applications is arranged in accordance with the order of installation of the hosted applications on the user device. Specifically, in some embodiments, in step S120, the user device traverses the registered hosted applications based on the registration time based on the hosted application configuration information to determine corresponding hosted applications, and determines hosted application identification information of the hosted applications. Of course, on this basis, the priority order of the host application may also be adjusted/optimized based on other factors (e.g., manual settings of the user) in some cases to meet the personalized configuration requirements of the user.
In order to improve the processing efficiency of the system, in some embodiments, the registration information includes host application identification information of the corresponding host application; the first application can determine the corresponding host application based on the host application mark information and execute the subsequent steps. Specifically, in step S120, the user equipment determines, based on the hosted application configuration information, a corresponding hosted application according to the hosted application identification information of the registered hosted application; and determining hosted application identification information for the hosted application based on the hosted application configuration information.
In each embodiment, the host application provides an application query interface for the first application, so that the first application queries a support condition of the corresponding host application for the hosted application corresponding to the current trigger operation, thereby avoiding an error and a system crash. Accordingly, the registration information includes application query interface information of each host application. In step S130, the user device determines a corresponding application query interface based on the application query interface information, sends a compatibility query request to the host application through the application query interface (where the compatibility query request includes the hosted application identification information), and receives a compatibility query result sent by the host application based on the compatibility query request. In consideration of the lightweight property of hosted applications, in order to achieve continuous improvement of user experience, developers may perform frequent adjustment on hosted applications, so that version updates of hosted applications may be more frequent than those of ordinary applications, and the possibility of incompatibility is higher. In view of more frequent updates of the hosted application, the compatibility query request optionally further includes other relevant information of the hosted application, such as release time, version information, and the like, so as to further improve the accuracy of the result of the compatibility query.
If the compatibility query result is compatible, the hosted application runs the hosted application (for example, the first application invokes the hosted application and passes corresponding parameters to the hosted application so that the hosted application can execute the executable code of the hosted application). If the result of the compatibility query is not compatible (including but not limited to the case that the specified host application is not installed, the version of the specified host application is higher than the version currently installed on the user equipment, and the version information of the hosted application is not consistent with the version supported by the specified host application), the method further includes step S160 (not shown). In step S160, the user device re-determines the corresponding hosted application based on the hosted application configuration information, and provides the re-determined hosted application with hosted application identification information, so that the re-determined hosted application runs the hosted application, thereby implementing personalized configuration of the hosted application started with different hosted application priorities on different user devices. For example, the hosted application configuration information includes identifiers of a plurality of candidate hosted applications (the hosted applications are optionally arranged in a certain priority order), the first application sequentially checks whether the hosted applications are registered according to the registration information of the hosted applications, further queries the compatibility of the hosted application with the current hosted application if the hosted applications are currently registered, and investigates the next candidate hosted application if the hosted applications are not compatible.
Meanwhile, the hosted application configuration information can also determine the priority of candidate host applications for opening the hosted application according to the setting of the information provider, so that a personalized information display configuration function is provided for the information provider, and the optimization of resource configuration is facilitated. Specifically, in some embodiments, in step S120, the user device determines, based on the hosted application configuration information, the corresponding at least one hosted application and hosted application identification information of the hosted application; and in step S130, the user device provides the hosted application identification information to a selected hosted application (e.g., selected according to a priority order) of the at least one hosted application for the selected hosted application to run the hosted application. In some cases, if the currently selected hosted application does not support the corresponding hosted application, the hosted application is reselected, and hosted application identification information is provided to the reselected hosted application for the reselected hosted application to run the hosted application.
In an exemplary embodiment, the target information is the following string:
startAPP://app1-app2/common data
where startAPP is the start header registered in the system, apps 1, 2 are the identifications of the first and second candidate hosted applications, respectively, and common data is hosted application configuration information, which contains the identification of the hosted application and optionally other information (e.g., necessary parameters) for running the hosted application. After detecting a trigger operation (e.g., a user clicks on promotion information) of a user on related target information (e.g., promotion information included in a webpage browsed by the user) in a second application (e.g., a browser application), the application calls a system method, prepares to open the target information, and provides the target information to a system of the user equipment as start data. After the interception keyword (the start header) is detected, the first application intercepts the start data, acquires and analyzes the target information, and further acquires the information of each field. Then the first application first determines a corresponding application query interface based on the registration information of app1, and queries whether app1 supports the hosted application through the interface (e.g., passes the aforementioned hosted application configuration information to app 1); if app1 returns support, the first application launches the hosted application through app 1. If the app1 returns no support, the first application determines a corresponding application query interface based on the registration information of the app2, and queries whether the app2 supports the hosted application through the interface (for example, passing the aforementioned hosted application configuration information to the app 2); if app2 returns support, the first application launches the hosted application through app 2. Specifically, if neither app1 nor app2 returns that the hosted application is not supported, in some embodiments, a query is made to determine whether the hosted application of the default configuration supports the hosted application, and if so, the hosted application is started by the corresponding hosted application, otherwise, the process is ended.
In some embodiments, the prioritization of the multiple hosted applications for running hosted applications is determined by a network device (e.g., a cloud server) so that a user achieves the same or similar configuration on all user devices synchronously, out of the constraints of a particular user device. Meanwhile, if the hosted application configuration information does not specify the hosted application, the network device may also determine the hosted application. Accordingly, in the aforementioned step S110, the user device, in response to detecting the trigger operation on the target information, parses the target information to determine the corresponding network device (e.g., the target information includes an ID, or an address and a port of the corresponding network device; if the hosted application configuration information does not specify the hosted application, the corresponding network device may be a default network device) and the corresponding hosted application configuration information. Subsequently, in step S120, the user device determines hosted application identification information of the hosted application based on the hosted application configuration information, and queries the network device to determine a corresponding hosted application (e.g., based on an ID of the network device, or an address and a port of the network device). In some embodiments, the network device may be in an unavailable state (for example, disconnected) or the query result is empty, in order to avoid the user experience degradation, in step S120, the user device determines the hosted application identification information of the hosted application based on the hosted application configuration information; inquiring the network equipment to determine a corresponding host application, and if the inquiry is successful, determining the corresponding host application based on an inquiry result; otherwise, determining the corresponding hosted application based on the hosted application running log information, for example, determining the hosted application which has recently run the hosted application according to the hosted application running log of each hosted application, and starting the hosted application with the hosted application. In particular, if the query of the network device fails, the user device may also query, based on the registration information of the registered hosted applications stored locally, the compatibility of each hosted application with the hosted application according to a preset priority order.
In some embodiments, the aforementioned hosted application configuration information optionally includes other parameters in addition to the identity of the hosted application, so that the hosted application implements diversified specific functions. Specifically, in step S120, the user device determines a corresponding hosted application based on the hosted application configuration information, and application parameter information of the hosted application, where the application parameter information includes hosted application identification information of the hosted application; subsequently, in step S130, the user device provides the application parameter information to the host application through the first application, so that the host application runs the hosted application. For example, the common data field may include other parameters, besides the identification of the hosted application, for passing to the corresponding hosted application, so that the hosted application can start the hosted application based on the parameters, or pass the parameters to the hosted application after the hosted application starts. For example, in some embodiments, the aforementioned application parameter information includes hosted application identification information of the hosted application, and operation parameter information of the hosted application; in step S130, the user device provides the running parameter information to the host application through the first application for the host application to run the hosted application based on the running parameter information.
Aspect of host application
In accordance with another aspect of the present application, there is also provided a method for running a hosted application through a host application, corresponding to an embodiment of the first application aspect described above. The hosted application provides a running environment of the hosted application and implements running of the hosted application, for example, the hosted application requests a code (e.g., executable code) of the corresponding hosted application from the corresponding network device, and exposes a corresponding page based on the code (e.g., runs the executable code to expose the corresponding page) and implements a certain function.
Specifically, referring to fig. 4, the above method includes step S210. In this step S210, the user device runs the corresponding hosted application through the hosted application based on the hosted application identification information provided by the first application. In the above embodiment, the first application parses the target information of the executed trigger operation to obtain the corresponding hosted application configuration information, and determines the hosted application and the hosted application identification information based on the hosted application configuration information; the host application and the first application are configured on the same user equipment, for example, the host application and the first application are both installed on the user equipment; for the implementation of the first application to analyze the target information, please refer to the related embodiments, which are not described herein again.
For convenience of management and simplification of related operations, so as to ensure that the first application can accurately identify each host application, the method further includes a pre-step and a post-step, and reference is specifically made to related embodiments of the foregoing steps S140 and S150, which are not repeated herein. In each embodiment, the host application provides an application query interface for the first application, so that the first application queries a support condition of the corresponding host application for the hosted application corresponding to the current trigger operation, thereby avoiding an error and a system crash. Accordingly, the registration information includes application query interface information of each host application. The first application determines an application query interface provided by the host application based on the application query interface information, sends a compatibility query request to the host application through the application query interface (where the compatibility query request includes the hosted application identification information), and receives a compatibility query result sent by the host application based on the compatibility query request. Accordingly, in some embodiments, the method further comprises step S220 (not shown). In this step S220, the user device receives a compatibility query request sent by the first application through the application query interface (the compatibility query request includes hosted application identification information of the hosted application), determines a corresponding compatibility query result based on the hosted application identification information (e.g., determines the query result based on a list of compatible hosted applications stored locally at the user device, arranged according to the hosted application identification, or requests the query result from the network device based on the hosted application identification information), and sends the compatibility query result to the first application. The compatibility query result is optionally "compatible" or "incompatible". In view of the lightweight property of hosted applications, developers may make frequent adjustments to hosted applications to achieve an ever-increasing user experience, and thus version updates of hosted applications may be more frequent and incompatible compared to common applications. In view of more frequent updates of the hosted application, the compatibility query request optionally further includes other relevant information of the hosted application, such as release time, version information, and the like, so as to further improve the accuracy of the result of the compatibility query. Optionally, in order to reduce the pause in the application running process and improve the operation efficiency of the user, then in the step S210, in the case that the foregoing compatibility query result is "compatible", the user device runs the corresponding hosted application directly based on the hosted application identification information provided by the first application, without performing additional communication with the hosted application by the first application based on the returned compatibility query result, so that the hosted application runs the hosted application.
In some embodiments, the aforementioned hosted application configuration information optionally includes other parameters in addition to the identity of the hosted application, so that the hosted application implements diversified specific functions. Specifically, in step S210, the user device runs a corresponding hosted application based on application parameter information provided by the first application, where the application parameter information includes hosted application identification information of the hosted application. For example, the common data field may include other parameters, besides the identification of the hosted application, for passing to the corresponding hosted application, so that the hosted application can start the hosted application based on the parameters, or pass the parameters to the hosted application after the hosted application starts. For example, in some embodiments, the aforementioned application parameter information includes hosted application identification information of the hosted application, and operation parameter information of the hosted application; the user device provides the running parameter information to the host application through the first application for the host application to run the hosted application based on the running parameter information.
Some specific embodiments of the method for running a hosted application of the present application are detailed above. It should be understood that the above embodiments are only examples, and are not intended to limit the specific embodiments of the present application in any way.
According to another aspect of the present application, a user equipment is provided. Referring to fig. 5, the user equipment includes a first module 110, a first second module 120, and a first third module 130. The first module 110, the first second module 120, and the first third module 130 are respectively configured to perform the operations in step S110, step S120, and step S130, and please refer to fig. 2 and the corresponding embodiments, which are not described herein again and are included herein by way of reference.
Optionally, the user equipment further comprises a first fourth module 140 (not shown) and a first fifth module 150 (not shown). The first fourth module 140 and the first fifth module 150 are respectively configured to perform the operations in the step S140 and the step S150, and please refer to the corresponding embodiments, which are not described herein again and are included herein by way of reference.
Optionally, the user equipment further includes a sixth module 160. The sixth module 160 is configured to execute the operation in step S160, and please refer to the corresponding embodiments, which are not described herein again and are included herein by way of reference.
According to another aspect of the present application, a user equipment is provided. Referring to fig. 6, the user equipment includes a second module 210. The second module 210 is configured to execute the operation in step S210, and please refer to fig. 4 and the corresponding embodiment specifically, which are not described herein again and are included herein by way of reference.
Optionally, the user equipment further comprises a second module 220 (not shown). The second module 220 is used for executing the operation in the step S220, and please refer to the corresponding embodiments, which are not described herein again and are included herein by way of reference.
The present application also provides a computer readable storage medium having stored thereon computer code which, when executed, performs a method as in any one of the preceding.
The present application also provides a computer program product, which when executed by a computer device, performs the method of any of the preceding claims.
The present application further provides a computer device, comprising:
one or more processors;
a memory for storing one or more computer programs;
the one or more computer programs, when executed by the one or more processors, cause the one or more processors to implement the method of any preceding claim.
FIG. 7 illustrates an exemplary system that can be used to implement the various embodiments described in this application.
As shown in fig. 7, in some embodiments, the system 1000 can operate as any one of the user devices in the described embodiments. In some embodiments, system 1000 may include one or more computer-readable media (e.g., system memory or NVM/storage 1020) having instructions and one or more processors (e.g., processor(s) 1005) coupled with the one or more computer-readable media and configured to execute the instructions to implement modules to perform the actions described herein.
For one embodiment, system control module 1010 may include any suitable interface controllers to provide any suitable interface to at least one of the processor(s) 1005 and/or to any suitable device or component in communication with system control module 1010.
The system control module 1010 may include a memory controller module 1030 to provide an interface to the system memory 1015. Memory controller module 1030 may be a hardware module, a software module, and/or a firmware module.
System memory 1015 may be used to load and store data and/or instructions, for example, for system 1000. For one embodiment, system memory 1015 may include any suitable volatile memory, such as suitable DRAM. In some embodiments, system memory 1015 may include double data rate type four synchronous dynamic random access memory (DDR4 SDRAM).
For one embodiment, system control module 1010 may include one or more input/output (I/O) controllers to provide an interface to NVM/storage 1020 and communication interface(s) 1025.
For example, NVM/storage 1020 may be used to store data and/or instructions. NVM/storage 1020 may include any suitable non-volatile memory (e.g., flash memory) and/or may include any suitable non-volatile storage device(s) (e.g., one or more Hard Disk drive(s) (HDD (s)), one or more Compact Disc (CD) drive(s), and/or one or more Digital Versatile Disc (DVD) drive (s)).
NVM/storage 1020 may include storage resources that are physically part of a device on which system 1000 is installed or may be accessed by the device and not necessarily part of the device. For example, NVM/storage 1020 may be accessed over a network via communication interface(s) 1025.
Communication interface(s) 1025 may provide an interface for system 1000 to communicate over one or more networks and/or with any other suitable device. System 1000 may communicate wirelessly with one or more components of a wireless network according to any of one or more wireless network standards and/or protocols.
For one embodiment, at least one of the processor(s) 1005 may be packaged together with logic for one or more controller(s) of the system control module 1010, e.g., memory controller module 1030. For one embodiment, at least one of the processor(s) 1005 may be packaged together with logic for one or more controller(s) of the system control module 1010 to form a System In Package (SiP). For one embodiment, at least one of the processor(s) 1005 may be integrated on the same die with logic for one or more controller(s) of the system control module 1010. For one embodiment, at least one of the processor(s) 1005 may be integrated on the same die with logic of one or more controllers of the system control module 1010 to form a system on a chip (SoC).
In various embodiments, system 1000 may be, but is not limited to being: a server, a workstation, a desktop computing device, or a mobile computing device (e.g., a laptop computing device, a handheld computing device, a tablet, a netbook, etc.). In various embodiments, system 1000 may have more or fewer components and/or different architectures. For example, in some embodiments, system 1000 includes one or more cameras, a keyboard, a Liquid Crystal Display (LCD) screen (including a touch screen display), a non-volatile memory port, multiple antennas, a graphics chip, an Application Specific Integrated Circuit (ASIC), and speakers.
It should be noted that the present application may be implemented in software and/or a combination of software and hardware, for example, implemented using Application Specific Integrated Circuits (ASICs), general purpose computers or any other similar hardware devices. In one embodiment, the software programs of the present application may be executed by a processor to implement the steps or functions described above. Likewise, the software programs (including associated data structures) of the present application may be stored in a computer readable recording medium, such as RAM memory, magnetic or optical drive or diskette and the like. Additionally, some of the steps or functions of the present application may be implemented in hardware, for example, as circuitry that cooperates with the processor to perform various steps or functions.
In addition, some of the present application may be implemented as a computer program product, such as computer program instructions, which when executed by a computer, may invoke or provide methods and/or techniques in accordance with the present application through the operation of the computer. Those skilled in the art will appreciate that the form in which the computer program instructions reside on a computer-readable medium includes, but is not limited to, source files, executable files, installation package files, and the like, and that the manner in which the computer program instructions are executed by a computer includes, but is not limited to: the computer directly executes the instruction, or the computer compiles the instruction and then executes the corresponding compiled program, or the computer reads and executes the instruction, or the computer reads and installs the instruction and then executes the corresponding installed program. Computer-readable media herein can be any available computer-readable storage media or communication media that can be accessed by a computer.
Communication media includes media by which communication signals, including, for example, computer readable instructions, data structures, program modules, or other data, are transmitted from one system to another. Communication media may include conductive transmission media such as cables and wires (e.g., fiber optics, coaxial, etc.) and wireless (non-conductive transmission) media capable of propagating energy waves such as acoustic, electromagnetic, RF, microwave, and infrared. Computer readable instructions, data structures, program modules, or other data may be embodied in a modulated data signal, for example, in a wireless medium such as a carrier wave or similar mechanism such as is embodied as part of spread spectrum techniques. The term "modulated data signal" means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. The modulation may be analog, digital or hybrid modulation techniques.
By way of example, and not limitation, computer-readable storage media may include volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer-readable instructions, data structures, program modules or other data. For example, computer-readable storage media include, but are not limited to, volatile memory such as random access memory (RAM, DRAM, SRAM); and non-volatile memory such as flash memory, various read-only memories (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic/ferroelectric memories (MRAM, FeRAM); and magnetic and optical storage devices (hard disk, tape, CD, DVD); or other now known media or later developed that can store computer-readable information/data for use by a computer system.
An embodiment according to the present application comprises an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein the computer program instructions, when executed by the processor, trigger the apparatus to perform a method and/or a solution according to the aforementioned embodiments of the present application.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.

Claims (16)

1. A method for running a hosted application, wherein the hosted application corresponds to target information in a first application;
the method comprises the following steps:
in response to detecting a trigger operation on target information, parsing the target information to obtain corresponding hosted application configuration information, wherein the target information comprises a character string having a specific format, and the hosted application configuration information is obtainable based on the character string;
determining a corresponding hosted application and hosted application identification information of the hosted application based on the hosted application configuration information;
providing the hosted application identification information to the hosted application for the hosted application to run the hosted application;
wherein the host application and the first application are configured on the same user equipment;
wherein the determining of the corresponding hosted application based on the hosted application configuration information and the hosted application identification information of the hosted application includes:
determining a corresponding host application in the registered host applications based on the configuration information of the hosted applications, and determining the identification information of the hosted applications;
wherein, prior to said parsing the target information to obtain corresponding hosted application configuration information in response to detecting a triggering operation on the target information, the method further comprises:
adding registration information of a host application in response to installation operation of the host application, wherein the registration information comprises application query interface information of the host application;
wherein the method further comprises:
removing the registration information of the host application in response to the removal operation of the host application;
wherein said providing the hosted application identification information to the hosted application for the hosted application to run the hosted application comprises:
determining a corresponding application query interface based on the application query interface information;
sending a compatibility query request to the hosted application through the application query interface, the compatibility query request including the hosted application identification information;
receiving a compatibility query result sent by the host application based on the compatibility query request;
and if the compatibility query result is compatible, the host application runs the hosted application.
2. The method of claim 1, wherein determining a corresponding hosted application among the registered hosted applications and determining hosted application identification information for the hosted application based on the hosted application configuration information comprises:
traversing the registered host application based on the hosted application configuration information to determine a corresponding host application, and determining hosted application identification information for the hosted application.
3. The method of claim 2, wherein traversing the registered hosted applications based on the hosted application configuration information to determine corresponding hosted applications and to determine hosted application identification information for hosted applications comprises:
traversing the registered host application based on the registration time based on the hosted application configuration information to determine a corresponding host application, and determining hosted application identification information for the hosted application.
4. The method of claim 1, wherein,
the registration information includes: host application identification information of the host application;
the determining, based on the hosted application configuration information, a corresponding hosted application in the registered hosted applications and determining hosted application identification information of the hosted application includes:
determining a corresponding host application according to the host application identification information of the registered host application based on the hosted application configuration information;
determining hosted application identification information for the hosted application based on the hosted application configuration information.
5. The method of claim 1, wherein the method further comprises:
if the compatibility query result is incompatible, re-determining the corresponding host application based on the hosted application configuration information;
providing the hosted application identification information to the re-determined hosted application for the re-determined hosted application to run the hosted application.
6. The method of claim 1, wherein said determining a corresponding hosted application based on said hosted application configuration information, and hosted application identification information for a hosted application, comprises:
determining corresponding at least one hosted application based on the hosted application configuration information, and hosted application identification information of the hosted application;
said providing said hosted application identification information to said hosted application for said hosted application to run said hosted application, comprising:
providing the hosted application identification information to a selected hosted application of the at least one hosted application for the selected hosted application to run the hosted application.
7. The method of claim 1, wherein said parsing the target information to obtain corresponding hosted application configuration information in response to detecting a triggering operation on the target information comprises:
in response to detecting a trigger operation on target information, parsing the target information to determine corresponding network devices and corresponding hosted application configuration information;
the determining, based on the hosted application configuration information, a corresponding hosted application and hosted application identification information of the hosted application includes:
and determining the hosted application identification information of the hosted application based on the hosted application configuration information, and querying and determining the corresponding hosted application to the network equipment.
8. The method of claim 7, wherein said determining hosted application identification information for a hosted application based on said hosted application configuration information and querying said network device to determine a corresponding hosted application comprises:
determining hosted application identification information for a hosted application based on the hosted application configuration information;
inquiring the network equipment to determine a corresponding host application, and if the inquiry is successful, determining the corresponding host application based on an inquiry result; if not, then,
and determining the corresponding host application based on the log information of the running of the hosted application.
9. The method of claim 1, wherein said determining a corresponding hosted application based on said hosted application configuration information, and hosted application identification information for a hosted application, comprises:
determining a corresponding hosted application and application parameter information of the hosted application based on the hosted application configuration information, wherein the application parameter information includes hosted application identification information of the hosted application;
said providing said hosted application identification information to said hosted application for said hosted application to run said hosted application, comprising:
providing the application parameter information to the host application for the host application to run the hosted application.
10. The method of claim 9, wherein,
the application parameter information includes: the hosted application identification information of the hosted application and the operation parameter information of the hosted application;
the providing the application parameter information to the host application for the host application to run the hosted application comprises:
providing the application parameter information to the host application for the host application to run the hosted application based on the run parameter information.
11. A method for running a hosted application through a hosted application, wherein the method comprises:
running the corresponding hosted application based on the hosted application identification information provided by the first application;
the first application analyzes target information of the executed trigger operation to obtain corresponding hosted application configuration information, and determines the hosted application and the hosted application identification information based on the hosted application configuration information, wherein the target information comprises a character string with a specific format, and the hosted application configuration information can be obtained based on the character string; the host application and the first application are configured on the same user equipment;
wherein the determining, by the first application, the hosted application and the hosted application identification information based on the hosted application configuration information comprises:
the first application determines a corresponding host application in the registered host applications based on the hosted application configuration information, and determines hosted application identification information of the hosted application;
wherein before the first application parses the target information on which the trigger operation is performed to obtain the corresponding hosted application configuration information, the method further comprises:
adding registration information of a host application in response to installation operation of the host application, wherein the registration information comprises application query interface information of the host application;
wherein the method further comprises:
removing the registration information of the host application in response to the removal operation of the host application;
wherein, before the running of the corresponding hosted application based on the hosted application identification information provided by the first application, the method further comprises:
receiving a compatibility query request sent by the first application through an application query interface, wherein the compatibility query request comprises hosted application identification information of a hosted application;
determining a corresponding compatibility query result based on the hosted application identification information;
sending the compatibility query result to the first application;
the running of the corresponding hosted application based on the hosted application identification information provided by the first application includes:
and running the corresponding hosted application based on the hosted application identification information provided by the first application, wherein the compatibility query result is compatible.
12. The method of claim 11, wherein said running a corresponding hosted application based on hosted application identification information provided by a first application comprises:
and running the corresponding hosted application based on the application parameter information provided by the first application, wherein the application parameter information comprises hosted application identification information of the hosted application.
13. The method of claim 12, wherein the running of the corresponding hosted application based on application parameter information provided by the first application, wherein the application parameter information includes hosted application identification information for the hosted application, comprises:
and running the corresponding hosted application based on running parameter information in the application parameter information provided by the first application, wherein the application parameter information further comprises hosted application identification information of the hosted application.
14. A method for running a hosted application, wherein the method comprises:
in response to detecting a trigger operation on target information in a first application, a user device analyzes the target information to obtain corresponding hosted application configuration information, wherein the target information comprises a character string with a specific format, and the hosted application configuration information can be obtained based on the character string;
the user equipment determines a corresponding host application and hosted application identification information of the hosted application in the first application based on the hosted application configuration information;
the user device providing the hosted application identification information to the hosted application in the first application;
the user equipment runs a corresponding hosted application in the hosted application based on the hosted application identification information;
wherein the host application and the first application are configured on the same user equipment;
wherein, the determining, by the user equipment, the corresponding hosted application and hosted application identification information of the hosted application in the first application based on the hosted application configuration information includes:
the user equipment determines a corresponding host application in the registered host applications based on the hosted application configuration information in the first application, and determines hosted application identification information of the hosted application;
wherein, before the user equipment in the first application, in response to detecting the trigger operation on the target information, parsing the target information to obtain corresponding hosted application configuration information, the method further comprises:
the user equipment responds to installation operation of a host application, and adds registration information of the host application, wherein the registration information comprises application query interface information of the host application;
wherein the method further comprises:
the user equipment removes the registration information of the host application in response to the removal operation of the host application;
wherein the user device provides the hosted application identification information to the hosted application in the first application for the hosted application to run the hosted application, comprising:
the user equipment determines a corresponding application query interface in the first application based on the application query interface information; sending a compatibility query request to the hosted application through the application query interface, the compatibility query request including the hosted application identification information; receiving a compatibility query result sent by the host application based on the compatibility query request; and if the compatibility query result is compatible, the host application runs the hosted application.
15. A device for running a hosted application, wherein the device comprises:
a processor; and
a memory arranged to store computer-executable instructions that, when executed, cause the processor to perform operations according to the method of any one of claims 1 to 13.
16. A computer-readable medium storing instructions that, when executed by a computer, cause the computer to perform operations according to the method of any one of claims 1 to 13.
CN201911275125.4A 2019-12-12 2019-12-12 Method, device and computer readable medium for running hosted application Active CN111212183B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911275125.4A CN111212183B (en) 2019-12-12 2019-12-12 Method, device and computer readable medium for running hosted application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911275125.4A CN111212183B (en) 2019-12-12 2019-12-12 Method, device and computer readable medium for running hosted application

Publications (2)

Publication Number Publication Date
CN111212183A CN111212183A (en) 2020-05-29
CN111212183B true CN111212183B (en) 2021-04-09

Family

ID=70789233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911275125.4A Active CN111212183B (en) 2019-12-12 2019-12-12 Method, device and computer readable medium for running hosted application

Country Status (1)

Country Link
CN (1) CN111212183B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949272B (en) * 2020-07-30 2023-12-22 百度在线网络技术(北京)有限公司 Compiling optimization method and device for hosted application, electronic equipment and readable storage medium
CN111913698B (en) * 2020-08-13 2023-12-15 弗雷森斯(苏州)科技有限公司 Control method and system for cross-platform universal forum community program
CN113157349A (en) * 2021-05-24 2021-07-23 北京字节跳动网络技术有限公司 Application running method, desktop application generation method, device, server and medium
CN113238785B (en) * 2021-06-18 2023-10-20 腾讯科技(深圳)有限公司 Application program updating method, related device, equipment and storage medium

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10339029B2 (en) * 2016-11-01 2019-07-02 Ca, Inc. Automatically detecting internalization (i18n) issues in source code as part of static source code analysis
CN108628673A (en) * 2018-05-07 2018-10-09 上海掌门科技有限公司 Data processing method, electronic equipment and computer-readable medium
CN108846100A (en) * 2018-06-19 2018-11-20 上海掌门科技有限公司 The method and apparatus of fast search boarding application
CN109614207A (en) * 2018-10-12 2019-04-12 上海掌门科技有限公司 Processing method, equipment and the computer readable storage medium of boarding application
CN109710333A (en) * 2018-12-28 2019-05-03 上海掌门科技有限公司 Processing method, equipment and the computer readable storage medium of boarding application

Also Published As

Publication number Publication date
CN111212183A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
CN111212183B (en) Method, device and computer readable medium for running hosted application
CN108958780B (en) Method and equipment for presenting update information of hosted program
JP6740373B2 (en) Page component dynamic layout
US9584612B2 (en) Systems and methods for pushing applications
EP3441876B1 (en) Patch upgrade-based file processing method and device, terminal, and storage medium
KR102194052B1 (en) Service execution method and device
US20130104038A1 (en) Method for automatic url shortening
CN109359237B (en) Method and equipment for searching hosted program
US11231919B2 (en) Live updates of stateful components
CN110290557B (en) Method and equipment for loading page tags in application
US20170033980A1 (en) Agent manager for distributed transaction monitoring system
CN112104663B (en) Method and equipment for managing login user and user equipment
CN111162990B (en) Method and equipment for presenting message notification
US20130007184A1 (en) Message oriented middleware with integrated rules engine
CN110262810B (en) Method and device for installing application
CN109947504B (en) Method and equipment for executing hosted program in hosted program
CN111325574B (en) Method and device for providing presentation information
CN110765258B (en) Method and equipment for providing electronic books
CN112114804A (en) Application program generation method, device and system
US10776133B2 (en) Preemptive loading of code dependencies for improved performance
CN106033364B (en) Web application program upgrading method and system
CN109756948B (en) Method and device for connecting wireless access point through application in user equipment
CN110333914B (en) Method and device for executing target operation
CN110321205B (en) Method and equipment for managing hosted program in hosted program
CN109245938B (en) Method and equipment for executing resource configuration operation of user

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