WO2019157860A1 - Method and device for launching application interface, storage medium, and electronic apparatus - Google Patents
Method and device for launching application interface, storage medium, and electronic apparatus Download PDFInfo
- Publication number
- WO2019157860A1 WO2019157860A1 PCT/CN2018/122519 CN2018122519W WO2019157860A1 WO 2019157860 A1 WO2019157860 A1 WO 2019157860A1 CN 2018122519 W CN2018122519 W CN 2018122519W WO 2019157860 A1 WO2019157860 A1 WO 2019157860A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- application
- application identifier
- target
- target application
- identifier
- Prior art date
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04817—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
- G06F3/04842—Selection of displayed objects or displayed text elements
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
Definitions
- the present application relates to the field of electronic device technologies, and in particular, to a method, an apparatus, a storage medium, and an electronic device for starting an application page.
- the specified entry of the application can be set on the browser, and when the trigger operation of the specified entry is detected by the user, the browser can implement the display of the application page.
- the method realizes the quick opening of the application page, the user must first find the instruction entry every time the specified application page is opened, and the operation is cumbersome, resulting in low efficiency of the application page opening.
- the embodiment of the present application provides a method, an apparatus, a storage medium, and an electronic device for starting an application page, which can improve the efficiency of opening an application page.
- an embodiment of the application page is provided in an electronic device, including:
- an application identifier set Determining, by the target application icon, an application identifier set, where the application identifier set includes: a first application identifier of the installed application, and a second application identifier of the application not installed;
- the target application identifier is the second application identifier
- the first configuration file corresponding to the second application identifier is obtained from the server, and the target application page is started according to the first configuration file.
- the embodiment of the present application provides an apparatus for starting an application page, including:
- An obtaining module configured to obtain operation information for a target application icon touch operation
- a determining module configured to determine an application identifier set corresponding to the target application icon, where the application identifier set includes: a first application identifier of the installed application, and a second application identifier of the installed application;
- a selection module configured to select a target application identifier from the application identifier set according to the operation information
- the first startup module is configured to: acquire the first configuration file corresponding to the second application identifier from the server, and start the target application page according to the first configuration file, if the target application identifier is the second application identifier.
- a storage medium provided by an embodiment of the present application has a computer program stored thereon, and when the computer program runs on a computer, causes the computer to perform the following steps:
- an application identifier set Determining, by the target application icon, an application identifier set, where the application identifier set includes: a first application identifier of the installed application, and a second application identifier of the application not installed;
- the target application identifier is the second application identifier
- the first configuration file corresponding to the second application identifier is obtained from the server, and the target application page is started according to the first configuration file.
- an electronic device provided by an embodiment of the present application includes a processor and a memory, where the memory has a computer program, and the processor is configured to perform the following steps by calling the computer program:
- an application identifier set Determining, by the target application icon, an application identifier set, where the application identifier set includes: a first application identifier of the installed application, and a second application identifier of the application not installed;
- the target application identifier is the second application identifier
- the first configuration file corresponding to the second application identifier is obtained from the server, and the target application page is started according to the first configuration file.
- FIG. 1 is a schematic diagram of an implementation environment of a method for starting an application page according to an embodiment of the present application.
- FIG. 2 is a schematic flowchart of a method for starting an application page according to an embodiment of the present application.
- FIG. 3 is another schematic flowchart of a method for starting an application page according to an embodiment of the present application.
- FIG. 4 is a schematic diagram of an application scenario of an application page startup method according to an embodiment of the present disclosure.
- FIG. 5 is a schematic diagram of a first structure of an apparatus for starting an application page according to an embodiment of the present application.
- FIG. 6 is a schematic diagram of a second structure of an apparatus for starting an application page according to an embodiment of the present application.
- FIG. 7 is a third schematic structural diagram of an apparatus for starting an application page according to an embodiment of the present application.
- FIG. 8 is a fourth structural diagram of an apparatus for starting an application page according to an embodiment of the present application.
- FIG. 9 is a schematic diagram of a fifth structure of an apparatus for starting an application page according to an embodiment of the present application.
- FIG. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
- FIG. 11 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
- module as used herein may be taken to mean a software object that is executed on the computing system.
- the different components, modules, engines, and services described herein can be considered as implementation objects on the computing system.
- the apparatus and method described herein may be implemented in software, and may of course be implemented in hardware, all of which are within the scope of the present application.
- references to "an embodiment” herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present application.
- the appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
- the embodiment of the present application provides a method for starting an application page, where the execution body of the application page may be an activation device of an application page provided by the embodiment of the present application, or an electronic device integrated with the activation device of the application page, where The activation device of the application page can be implemented by hardware or software.
- the electronic device may be a device such as a smart phone, a tablet computer, a palmtop computer, a notebook computer, or a desktop computer.
- FIG. 1 is a schematic diagram of an implementation environment of an application page startup method according to an embodiment of the present disclosure.
- the implementation environment includes a smart phone 10 , a communication network 20 , and a server 30 .
- the operating system of the smartphone 10 can be an Android system, a Symbian system, an Apple system, or the like.
- the smartphone 10 and the server 30 are connected by a communication network 20.
- the communication network 20 includes a wireless network and a wired network.
- the wireless network includes a combination of one or more of a wireless wide area network, a wireless local area network, a wireless metropolitan area network, and a wireless personal network.
- the server 30 stores an application configuration file, which includes data and running logic required for running the application, and global configuration information, which indicates which pages the application is composed of, configures the background color of the application page, and configures Navigation bar styles, configuration default titles, and more.
- the application is a webpage application.
- a web application is an application that operates on the Internet or an intranet using a web browser. It is an application written in a web language (such as HTML, JavaScript, Java, etc.) and needs to be executed through a browser. For example, you can access it through an open platform.
- the so-called "small program" belongs to web applications.
- the existing "small program" installation package and the cache data generated at runtime are stored in the server of the open platform, which does not need to be installed and run in the user equipment, thereby saving the memory of the user equipment as much as possible.
- the user equipment can communicate with the manufacturer server of the web application through the application interface in the open platform to implement access to the web application.
- the server of the open platform acts as a proxy server, and each webpage The application corresponds to an application interface.
- the smartphone 10 can acquire the configuration file of the application from the server 30, generate a native page of the application according to the configuration file, and display it.
- the application is run without the application being installed, and the data required for the application operation can be immediately acquired from the server 30.
- the server 30 can also perform an update operation on the application's configuration file to provide the smartphone 10 with the updated configuration file.
- the server 30 may also store an installation file of the application, and the smart phone 10 may also obtain an installation file of the application from the server 30, and completely run the application by installing the installation file. It is easily conceivable that the server 30 can also update the installation files of the application to provide the updated installation files for the smartphone 10.
- FIG. 2 is a schematic flowchart of a method for starting an application page according to an embodiment of the present application.
- the specific process of the application page startup method provided by the embodiment of the present application may be as follows:
- the touch operation may include a pressing operation, a click operation, a sliding operation, a touch operation, and the like.
- the specific method of touch operation can be set based on the actual situation of the product.
- the touch detection system can be set in the electronic device to monitor the touch operation on the target application icon.
- the information generation instruction is triggered, and the electronic device acquires the operation information corresponding to the target application icon according to the information acquisition instruction.
- the operation information may include a series of information such as the number of clicks, the pressing force information, the contact surface information, the contact frequency information, and the touch duration. That is, in some embodiments, the step of “acquiring operation information for the target application icon touch operation” may include the following processes:
- operation information corresponding to the touch target operation on the target application icon includes one of a click count, a press strength information, a contact surface information, a contact frequency information, and a touch duration Kind or more.
- the installed application indicates that the application client local to the operating system that has downloaded and installed the electronic device; the application that does not install the application indicates that the web application to be operated on the Internet or the intranet using a web browser, the installation package, and
- the cached data generated at runtime is stored in the server of the open platform, which does not need to be installed and run in the user device.
- the target application icon is associated with the first application identification, and the target application icon is also associated with the second application identification.
- the first application identifier may be an installation package name
- the second application identifier may also be an installation package name or a program name.
- the first application identifier and the second application identifier may be stored in a local storage area of the electronic device or in a storage area of the corresponding server.
- the application identifier set may be bound to the target application icon in advance to facilitate acquisition of the subsequent application set. That is, before acquiring the operation information for the target application icon touch operation, the method may further include:
- the step “determining the application identifier set corresponding to the target application icon” may include the following processes:
- the above installed and uninstalled applications may be different representations of the same application, the functions of which are substantially the same, and the respective display interfaces are substantially the same.
- the target application identifier is determined from the application identifier set according to the operation information obtained by the touch operation.
- an association between the application identifier and the operation information may be established in advance to subsequently acquire a corresponding target application identifier according to the operation information.
- the step “selecting the target application identifier from the application identifier set according to the operation information” may include:
- the application identifier associated with the target sample number is obtained from the application identifier set as the target application identifier.
- the number of clicks when the number of clicks is multiple, the number of clicks needs to be consecutive clicks. That is, the time interval between the previous and next clicks needs to be less than the preset time interval, and the number of clicks is obtained based on this.
- the target application identifier may also be determined from the application identifier set according to the determination result by determining whether the operation information satisfies the condition of the corresponding application identifier. For example, taking the operation information including the number of clicks as an example, the application identifier that satisfies the condition can be determined by determining whether the number of clicks is a click or a double click. If the icon is clicked, the first application identifier is determined as the target application identifier, and the double-click icon is used to determine the second application identifier as the target application identifier.
- the target application identifier is the second application identifier, obtain the first configuration file corresponding to the second application identifier from the server, and start the target application page according to the first configuration file.
- the configuration server stores a configuration file corresponding to each application, where the configuration file includes data and running logic required for running the application, and global configuration information, where the global configuration information indicates which pages the application is composed of. , configure the background color of the application page, configure the navigation bar style, configure the default title, and so on.
- the electronic device When the touch operation of the target application icon is detected by the user, if it is determined that the second application identifier is triggered, the electronic device loads and runs the script file in the operating system.
- the script file may be a JavaScript scripting language file
- JavaScript is a web-based scripting language that has been widely used for web application development, and is commonly used to add various dynamic functions to web pages for users. Provide a smoother and more beautiful browsing experience.
- JavaScript scripts implement their own functionality by embedding them in HTML.
- the configuration file is parsed by a JavaScript script language file that is loaded and run to launch the target application interface.
- the embodiment of the present application integrates the shortcut entry of the web application into the application icon of the installed application, and triggers the application icon to trigger the application page of the web application in a specific manner when the web application is not installed, thereby improving the application page of the web application.
- the startup method of the application page may include:
- the installed application indicates that the application client local to the operating system that has downloaded and installed the electronic device; the application that does not install the application indicates that the web application to be operated on the Internet or the intranet using a web browser, the installation package, and the runtime generate
- the cached data is stored in the server of the open platform, which does not need to be installed and run on the user device.
- the first application identifier may be an installation package name
- the second application identifier may also be an installation package name or a program name.
- the target application icon is associated with the first application identifier, and further the target application icon is further associated with the second application identifier, and the first application identifier, the second application identifier, the application icon, and the first mapping are The ⁇ relationship and the second mapping relationship are stored in a local storage area of the electronic device or in a storage area of the server.
- the first application identifier and the second application identifier may be stored in a local storage area of the electronic device or in a storage area of the corresponding server.
- the touch operation may include a pressing operation, a click operation, a sliding operation, a touch operation, and the like.
- the specific method of touch operation can be set based on the actual situation of the product. For example, referring to FIG. 4, FIG. 4 shows that the user clicks on an application icon on the application desktop to perform a touch operation on the application icon.
- the touch detection system can be set in the electronic device to monitor the touch operation on the target application icon.
- the information generation instruction is triggered, and the electronic device acquires the operation information corresponding to the target application icon according to the information acquisition instruction.
- the operation information may include a series of information such as pressing force information, contact surface information, contact frequency information, and touch duration. .
- the corresponding application identifier set may be determined according to the first mapping relationship and the second mapping relationship that are stored. That is, in some embodiments, the step of “determining an application identifier set corresponding to the target application icon” includes:
- the target application identifier is determined from the application identifier set according to the operation information obtained by the touch operation.
- an association between the application identifier and the operation information may be established in advance to subsequently acquire a corresponding target application identifier according to the operation information.
- the step “selecting the target application identifier from the application identifier set according to the operation information” may include:
- the application identifier associated with the target sample number is obtained from the application identifier set as the target application identifier.
- the number of clicks when the number of clicks is multiple, the number of clicks needs to be consecutive clicks. That is, the time interval between the previous and next clicks needs to be less than the preset time interval, and the number of clicks is obtained based on this.
- the target application identifier is the second application identifier, obtain the first configuration file corresponding to the second application identifier from the server, and start the target application page according to the first configuration file.
- the first configuration file includes global configuration information that describes an application page corresponding to the second application identifier. Then, the step of “acquiring the first configuration file corresponding to the second application identifier from the server, and starting the target according to the first configuration file.
- Application page which can include:
- the target application page is generated by parsing the global configuration information through the script file, and the target application page is displayed.
- the configuration server stores a configuration file corresponding to each application, where the configuration file includes data and running logic required for running the application, and global configuration information, where the global configuration information indicates which pages the application is composed of. , configure the background color of the application page, configure the navigation bar style, configure the default title, and so on.
- the electronic device sends the application identifier to the configuration server, and after receiving the application identifier, the configuration server matches the configuration file corresponding to the application identifier, and returns the obtained configuration file to the electronic device.
- the configuration server may also store an installation file of the application, where the installation file is used to install the corresponding application.
- configuration file and the installation file are uploaded to the configuration server by a third-party vendor or developer, and the third-party vendor and the developer can also update and delete the configuration file and the installation file in the configuration server.
- the electronic device may preset a cache space of the configuration file in the storage space.
- the configuration file is cached in the cache space. Subsequent electronic devices can call this configuration file to run at any time.
- the cache space will clear the contents of the buffer space when the electronic device is powered off.
- the electronic device When the touch operation of the target application icon is detected by the user, if it is determined that the second application identifier is triggered, the electronic device loads and runs the script file in the operating system.
- the script file may be a JavaScript scripting language file
- JavaScript is a web-based scripting language that has been widely used for web application development, and is commonly used to add various dynamic functions to web pages for users. Provide a smoother and more beautiful browsing experience.
- JavaScript scripts implement their own functionality by embedding them in HTML.
- the target application identifier is the first application identifier, obtain a second configuration file corresponding to the first application identifier, and start the target application page according to the second configuration file.
- the second file is stored in a storage area local to the electronic device.
- the related interface component may be invoked by acquiring the locally stored second configuration file to start the target application page.
- the embodiment of the present application integrates the shortcut entry of the web application into the application icon of the installed application, and triggers the application icon to trigger the application page of the web application in a specific manner when the web application is not installed, thereby improving the application page of the web application.
- the native page of the application can be switched on without the application being installed, the user can perform an initial experience on the application, and if the application is installed or not based on the initial experience, the diversity of the user selection can be improved.
- FIG. 5 is a schematic structural diagram of an apparatus for starting an application page according to an embodiment of the present application.
- the activation device of the application page is applied to the electronic device, and the activation device of the application page includes an obtaining module 401, a determining module 402, a selecting module 403, and a first starting module 404, as follows:
- An obtaining module 401 configured to acquire operation information for a target application icon touch operation
- the determining module 402 is configured to determine an application identifier set corresponding to the target application icon, where the application identifier set includes: a first application identifier of the installed application, and a second application identifier of the application not installed;
- the selecting module 403 is configured to select a target application identifier from the application identifier set according to the operation information
- the first startup module 404 is configured to: obtain the first configuration file corresponding to the second application identifier from the server, and start the target application page according to the first configuration file, if the target application identifier is the second application identifier.
- the apparatus may further include:
- the establishing module 405 is configured to establish a first mapping relationship between the first application identifier and the target application icon, and establish the second application identifier and the target application, before acquiring operation information for the target application icon touch operation a second mapping relationship between icons;
- the determining module 402 is specifically configured to:
- the operation information includes a click count; referring to FIG. 7, the selection module 403 may include:
- a matching sub-module 4031 configured to select, from a plurality of sample times, a number of target samples that match the number of clicks;
- the obtaining sub-module 4032 is configured to obtain, from the application identifier set, an application identifier associated with the target sample number as the target application identifier.
- the apparatus may further include:
- the second startup module 406 is configured to: if the target application identifier is the first application identifier, obtain the second configuration file corresponding to the first application identifier locally, and start the target application page according to the second configuration file.
- the first configuration file includes global configuration information that describes an application page corresponding to the second application identifier.
- the first startup module 404 can include:
- the sending sub-module 4041 is configured to: if the target application identifier is the second application identifier, send an information acquisition request to the server, where the information acquisition request carries the second application identifier;
- the receiving submodule 4042 is configured to receive global configuration information returned by the server according to the file obtaining request;
- the display submodule 4044 is configured to parse the global configuration information by using the script file to generate a target application page, and display the target application page.
- the obtaining module 401 can be specifically configured to:
- operation information corresponding to the touch target operation on the target application icon includes one of a click count, a press strength information, a contact surface information, a contact frequency information, and a touch duration Kind or more.
- the steps performed by the units in the activation device of the application page may refer to the method steps described in the foregoing method embodiments.
- the activation device of the application page can be integrated in an electronic device, such as a mobile phone, a tablet computer, or the like.
- the foregoing various units may be implemented as an independent entity, and may be implemented in any combination, and may be implemented as the same entity or a plurality of entities.
- the foregoing units refer to the foregoing embodiments, and details are not described herein again.
- the activation device of the application page integrateds the shortcut entry of the web application into the application icon of the installed application, and triggers the application icon to start quickly by using the specific method when the web application is not installed.
- the application page of the web application improves the startup efficiency of the application page.
- the electronic device 500 includes a processor 501 and a memory 502.
- the processor 501 is electrically connected to the memory 502.
- the processor 500 is a control center of the electronic device 500, which connects various parts of the entire electronic device using various interfaces and lines, and executes by running or loading a computer program stored in the memory 502 and calling data stored in the memory 502.
- the various functions of the electronic device 500 and processing of the data enable overall monitoring of the electronic device 500.
- the memory 502 can be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by running computer programs and modules stored in the memory 502.
- the memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, a computer program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of electronic devices, etc.
- memory 502 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 502 can also include a memory controller to provide processor 501 access to memory 502.
- the processor 501 in the electronic device 500 loads the instructions corresponding to the process of one or more computer programs into the memory 502 according to the following steps, and is stored in the memory 502 by the processor 501.
- the computer program in which to implement various functions, as follows:
- an application identifier set Determining, by the target application icon, an application identifier set, where the application identifier set includes: a first application identifier of the installed application, and a second application identifier of the application not installed;
- the target application identifier is the second application identifier
- the first configuration file corresponding to the second application identifier is obtained from the server, and the target application page is started according to the first configuration file.
- the processor 501 may be further configured to perform the following steps:
- the processor 501 when determining the set of application identifiers corresponding to the target application icon, is further configured to perform the following steps:
- the operation information includes a number of clicks
- the processor 501 is further configured to perform the following steps:
- the application identifier associated with the target sample number is obtained from the application identifier set as the target application identifier.
- the processor 501 is further configured to perform the following steps:
- the second configuration file corresponding to the first application identifier is obtained locally, and the target application page is started according to the second configuration file.
- the first configuration file includes global configuration information that describes an application page corresponding to the second application identifier. If the target application identifier is the second application identifier, the processor 501 may be specifically configured to perform the following steps:
- the target configuration page is generated by parsing the global configuration information through the script file, and the target application page is displayed.
- the processor 501 when acquiring operation information for the target application icon touch operation, the processor 501 may perform the following steps:
- operation information corresponding to the touch target operation on the target application icon includes one of a click count, a press strength information, a contact surface information, a contact frequency information, and a touch duration Kind or more.
- the electronic device in the embodiment of the present application automatically triggers the application icon to quickly launch the web application by integrating the shortcut icon of the web application into the application icon of the installed application, and in the case that the web application is not installed.
- the application page improves the startup efficiency of the application page.
- the electronic device 500 may further include: a display 503, a radio frequency circuit 504, an audio circuit 505, and a power source 506.
- the display 503, the radio frequency circuit 504, the audio circuit 505, and the power source 506 are electrically connected to the processor 501, respectively.
- the display 503 can be used to display information entered by a user or information provided to a user, as well as various graphical user interfaces, which can be composed of graphics, text, icons, video, and any combination thereof.
- the display 503 can include a display panel.
- the display panel can be configured in the form of a liquid crystal display (LCD) or an organic light-emitting diode (OLED).
- LCD liquid crystal display
- OLED organic light-emitting diode
- the radio frequency circuit 504 can be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other electronic devices through wireless communication, and to transmit and receive signals with network devices or other electronic devices.
- the audio circuit 505 can be used to provide an audio interface between the user and the electronic device through a speaker, a microphone.
- the power source 506 can be used to power various components of the electronic device 500.
- the power source 506 can be logically coupled to the processor 501 through a power management system to enable functions such as managing charging, discharging, and power management through the power management system.
- the electronic device 500 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
- the embodiment of the present application further provides a storage medium storing a computer program, when the computer program is run on a computer, causing the computer to execute the startup method of the application page in any of the above embodiments, for example, obtaining An operation identifier of the target application icon touch operation; determining an application identifier set corresponding to the target application icon, where the application identifier set includes: a first application identifier of the installed application, and a second application identifier of the application not installed; and the application is used according to the operation information
- the target application identifier is selected in the identifier set. If the target application identifier is the second application identifier, the first configuration file corresponding to the second application identifier is obtained from the server, and the target application page is started according to the first configuration file.
- the storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM).
- ROM read only memory
- RAM random access memory
- a general tester in the field can understand all or part of the process of implementing the application page of the embodiment of the present application, which can be controlled by a computer program.
- the computer program can be stored in a computer readable storage medium, such as in a memory of the electronic device, and executed by at least one processor in the electronic device, and can include, for example, The flow of an embodiment of the application page launch method.
- the storage medium may be a magnetic disk, an optical disk, a read only memory, a random access memory, or the like.
- each functional module may be integrated into one processing chip, or each module may exist physically separately, or two or more modules may be integrated into one module.
- the above integrated modules can be implemented in the form of hardware or in the form of software functional modules.
- the integrated module if implemented in the form of a software functional module and sold or used as a standalone product, may also be stored in a computer readable storage medium, such as a read only memory, a magnetic disk or an optical disk, etc. .
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Human Computer Interaction (AREA)
- Stored Programmes (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
A method and device for launching an application page, a storage medium, and an electronic apparatus. The method comprises: obtaining operation information for a touch operation of a target application icon (201); determining an application identifier set corresponding to the target application icon, wherein the application identifier set comprises a first application identifier for an installed application and a second application identifier for a non-installed application (202); selecting a target application identifier therefrom according to the operation information (203); and if the target application identifier is the application identifier for a non-installed application, obtaining a corresponding configuration file from a server, and launching a target application page according to the configuration file (204).
Description
本申请要求于2018年2月13日提交中国专利局、申请号为201810150616.5、发明名称为“应用页面的启动方法、装置、存储介质及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese Patent Application filed on February 13, 2018, the Chinese Patent Office, Application No. 201101150616.5, the invention titled "Application page startup method, device, storage medium and electronic device", the entire contents of which are The citations are incorporated herein by reference.
本申请涉及电子设备技术领域,具体涉及一种应用页面的启动方法、装置、存储介质及电子设备。The present application relates to the field of electronic device technologies, and in particular, to a method, an apparatus, a storage medium, and an electronic device for starting an application page.
目前,随着终端技术的高速发展,智能手机越来越深入人们的生活之中,在智能手机上可以安装各种各样的应用,如拍照应用、游戏应用、地图应用等等,以供用户使用。At present, with the rapid development of terminal technology, smart phones are getting more and more people's lives. Various applications such as camera applications, game applications, map applications, etc. can be installed on smartphones for users. use.
然而随着应用的功能越来越强大,每个应用对应占用的存储空间也越来越大,影响智能手机系统的正常运行。相关技术中,可通过在浏览器上设置应用的指定入口,当检测到用户对指定入口的触发操作时,浏览器可以实现应用页面的展示。该方式虽然实现了应用页面的快速打开,但用户每次打开指定应用页面时都必须要先找到指令入口,操作比较繁琐,导致应用页面开启的效率低。However, as the functions of the application become more and more powerful, the storage space occupied by each application is also larger and larger, which affects the normal operation of the smartphone system. In the related art, the specified entry of the application can be set on the browser, and when the trigger operation of the specified entry is detected by the user, the browser can implement the display of the application page. Although the method realizes the quick opening of the application page, the user must first find the instruction entry every time the specified application page is opened, and the operation is cumbersome, resulting in low efficiency of the application page opening.
发明内容Summary of the invention
本申请实施例提供了一种应用页面的启动方法、装置、存储介质及电子设备,能够提升应用页面开启的效率。The embodiment of the present application provides a method, an apparatus, a storage medium, and an electronic device for starting an application page, which can improve the efficiency of opening an application page.
第一方面,本申请实施例了提供了的一种应用页面的启动方法,应用于电子设备中,包括:In a first aspect, an embodiment of the application page is provided in an electronic device, including:
获取针对目标应用图标触控操作的操作信息;Obtaining operation information for the target application icon touch operation;
确定所述目标应用图标对应的应用标识集合,所述应用标识集合包括:已安装应用的第一应用标识、及未安装应用的第二应用标识;Determining, by the target application icon, an application identifier set, where the application identifier set includes: a first application identifier of the installed application, and a second application identifier of the application not installed;
根据所述操作信息从所述应用标识集合中选取目标应用标识;Selecting a target application identifier from the application identifier set according to the operation information;
若所述目标应用标识为第二应用标识,则从服务器获取所述第二应用标识对应的第一配置文件,并根据所述第一配置文件启动目标应用页面。If the target application identifier is the second application identifier, the first configuration file corresponding to the second application identifier is obtained from the server, and the target application page is started according to the first configuration file.
第二方面,本申请实施例了提供了的一种应用页面的启动装置,包括:In a second aspect, the embodiment of the present application provides an apparatus for starting an application page, including:
获取模块,用于获取针对目标应用图标触控操作的操作信息;An obtaining module, configured to obtain operation information for a target application icon touch operation;
确定模块,用于确定所述目标应用图标对应的应用标识集合,所述应用标识集合包括:已安装应用的第一应用标识、及未安装应用的第二应用标识;a determining module, configured to determine an application identifier set corresponding to the target application icon, where the application identifier set includes: a first application identifier of the installed application, and a second application identifier of the installed application;
选取模块,用于根据所述操作信息从所述应用标识集合中选取目标应用标识;a selection module, configured to select a target application identifier from the application identifier set according to the operation information;
第一启动模块,用于若所述目标应用标识为第二应用标识,则从服务器获取所述第二应用标识对应的第一配置文件,并根据所述第一配置文件启动目标应用页面。The first startup module is configured to: acquire the first configuration file corresponding to the second application identifier from the server, and start the target application page according to the first configuration file, if the target application identifier is the second application identifier.
第三方面,本申请实施例提供的存储介质,其上存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行以下步骤:In a third aspect, a storage medium provided by an embodiment of the present application has a computer program stored thereon, and when the computer program runs on a computer, causes the computer to perform the following steps:
获取针对目标应用图标触控操作的操作信息;Obtaining operation information for the target application icon touch operation;
确定所述目标应用图标对应的应用标识集合,所述应用标识集合包括:已安装应用的第一应用标识、及未安装应用的第二应用标识;Determining, by the target application icon, an application identifier set, where the application identifier set includes: a first application identifier of the installed application, and a second application identifier of the application not installed;
根据所述操作信息从所述应用标识集合中选取目标应用标识;Selecting a target application identifier from the application identifier set according to the operation information;
若所述目标应用标识为第二应用标识,则从服务器获取所述第二应用标识对应的第一配置文件,并根据所述第一配置文件启动目标应用页面。If the target application identifier is the second application identifier, the first configuration file corresponding to the second application identifier is obtained from the server, and the target application page is started according to the first configuration file.
第四方面,本申请实施例提供的电子设备,包括处理器和存储器,所述存储器有计算 机程序,所述处理器通过调用所述计算机程序,用于执行以下步骤:In a fourth aspect, an electronic device provided by an embodiment of the present application includes a processor and a memory, where the memory has a computer program, and the processor is configured to perform the following steps by calling the computer program:
获取针对目标应用图标触控操作的操作信息;Obtaining operation information for the target application icon touch operation;
确定所述目标应用图标对应的应用标识集合,所述应用标识集合包括:已安装应用的第一应用标识、及未安装应用的第二应用标识;Determining, by the target application icon, an application identifier set, where the application identifier set includes: a first application identifier of the installed application, and a second application identifier of the application not installed;
根据所述操作信息从所述应用标识集合中选取目标应用标识;Selecting a target application identifier from the application identifier set according to the operation information;
若所述目标应用标识为第二应用标识,则从服务器获取所述第二应用标识对应的第一配置文件,并根据所述第一配置文件启动目标应用页面。If the target application identifier is the second application identifier, the first configuration file corresponding to the second application identifier is obtained from the server, and the target application page is started according to the first configuration file.
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present application. Other drawings can also be obtained from those skilled in the art based on these drawings without paying any creative effort.
图1是本申请实施例提供的应用页面的启动方法的实施环境的示意图。FIG. 1 is a schematic diagram of an implementation environment of a method for starting an application page according to an embodiment of the present application.
图2是本申请实施例提供的应用页面的启动方法的一流程示意图。FIG. 2 is a schematic flowchart of a method for starting an application page according to an embodiment of the present application.
图3是本申请实施例提供的应用页面的启动方法的另一流程示意图。FIG. 3 is another schematic flowchart of a method for starting an application page according to an embodiment of the present application.
图4为本申请实施例提供的应用页面的启动方法的应用场景示意图。FIG. 4 is a schematic diagram of an application scenario of an application page startup method according to an embodiment of the present disclosure.
图5是本申请实施例提供的应用页面的启动装置的第一种结构示意图。FIG. 5 is a schematic diagram of a first structure of an apparatus for starting an application page according to an embodiment of the present application.
图6是本申请实施例提供的应用页面的启动装置的第二种结构示意图。FIG. 6 is a schematic diagram of a second structure of an apparatus for starting an application page according to an embodiment of the present application.
图7是本申请实施例提供的应用页面的启动装置的第三种结构示意图。FIG. 7 is a third schematic structural diagram of an apparatus for starting an application page according to an embodiment of the present application.
图8是本申请实施例提供的应用页面的启动装置的第四种结构示意图。FIG. 8 is a fourth structural diagram of an apparatus for starting an application page according to an embodiment of the present application.
图9是本申请实施例提供的应用页面的启动装置的第五种结构示意图。FIG. 9 is a schematic diagram of a fifth structure of an apparatus for starting an application page according to an embodiment of the present application.
图10是本申请实施例提供的电子设备的一结构示意图。FIG. 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
图11是本申请实施例提供的电子设备的另一结构示意图。FIG. 11 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
请参照图式,其中相同的组件符号代表相同的组件,本申请的原理是以实施在一适当的运算环境中来举例说明。以下的说明是基于所例示的本申请具体实施例,其不应被视为限制本申请未在此详述的其它具体实施例。Referring to the drawings, wherein like reference numerals represent the same components, the principles of the present application are illustrated by the implementation in a suitable computing environment. The following description is based on the specific embodiments of the present invention as illustrated, and should not be construed as limiting the specific embodiments that are not described herein.
在以下的说明中,本申请的具体实施例将参考由一部或多部计算机所执行的步骤及符号来说明,除非另有述明。因此,这些步骤及操作将有数次提到由计算机执行,本文所指的计算机执行包括了由代表了以一结构化型式中的数据的电子信号的计算机处理单元的操作。此操作转换该数据或将其维持在该计算机的内存系统中的位置处,其可重新配置或另外以本领域测试人员所熟知的方式来改变该计算机的运作。该数据所维持的数据结构为该内存的实体位置,其具有由该数据格式所定义的特定特性。但是,本申请原理以上述文字来说明,其并不代表为一种限制,本领域测试人员将可了解到以下所述的多种步骤及操作亦可实施在硬件当中。In the following description, specific embodiments of the present application will be described with reference to the steps and symbols executed by one or more computers, unless otherwise stated. Thus, these steps and operations will be referred to several times by a computer, and the computer execution referred to herein includes the operation of a computer processing unit that represents an electronic signal in data in a structured version. This operation converts the data or maintains it at a location in the computer's memory system, which can be reconfigured or otherwise altered in a manner well known to those skilled in the art. The data structure maintained by the data is the physical location of the memory, which has specific characteristics defined by the data format. However, the principles of the present application are described in the above text, which is not intended to be a limitation, and those skilled in the art will appreciate that the various steps and operations described below can also be implemented in hardware.
本文所使用的术语“模块”可看做为在该运算系统上执行的软件对象。本文所述的不同组件、模块、引擎及服务可看做为在该运算系统上的实施对象。而本文所述的装置及方法可以以软件的方式进行实施,当然也可在硬件上进行实施,均在本申请保护范围之内。The term "module" as used herein may be taken to mean a software object that is executed on the computing system. The different components, modules, engines, and services described herein can be considered as implementation objects on the computing system. The apparatus and method described herein may be implemented in software, and may of course be implemented in hardware, all of which are within the scope of the present application.
本申请中的术语“第一”、“第二”和“第三”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或模块的过程、方法、系统、产品或设备没有限定于已列出的步骤或模块,而是某些实施例还包括没有列出的步骤或模块,或某些实施例还包括对于这些过程、方法、产品或设备固有的其它步骤或模块。The terms "first," "second," and "third," etc. in this application are used to distinguish different objects, and are not intended to describe a particular order. Furthermore, the terms "comprises" and "comprising" and "comprising" are intended to cover a non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or modules is not limited to the listed steps or modules, but some embodiments also include steps or modules not listed, or some embodiments Other steps or modules inherent to these processes, methods, products or devices are also included.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在 本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。References to "an embodiment" herein mean that a particular feature, structure, or characteristic described in connection with the embodiments can be included in at least one embodiment of the present application. The appearances of the phrases in various places in the specification are not necessarily referring to the same embodiments, and are not exclusive or alternative embodiments that are mutually exclusive. Those skilled in the art will understand and implicitly understand that the embodiments described herein can be combined with other embodiments.
本申请实施例提供一种应用页面的启动方法,该应用页面的启动方法的执行主体可以是本申请实施例提供的应用页面的启动装置,或者集成了该应用页面的启动装置的电子设备,其中该应用页面的启动装置可以采用硬件或者软件的方式实现。其中,电子设备可以是智能手机、平板电脑、掌上电脑、笔记本电脑、或者台式电脑等设备。The embodiment of the present application provides a method for starting an application page, where the execution body of the application page may be an activation device of an application page provided by the embodiment of the present application, or an electronic device integrated with the activation device of the application page, where The activation device of the application page can be implemented by hardware or software. The electronic device may be a device such as a smart phone, a tablet computer, a palmtop computer, a notebook computer, or a desktop computer.
请参阅图1,图1是本申请实施例提供的应用页面的启动方法的实施环境的示意图,如图1所示,该实施环境包括智能手机10、通信网络20以及服务器30。Referring to FIG. 1 , FIG. 1 is a schematic diagram of an implementation environment of an application page startup method according to an embodiment of the present disclosure. As shown in FIG. 1 , the implementation environment includes a smart phone 10 , a communication network 20 , and a server 30 .
该智能手机10的操作系统可以为安卓系统、塞班系统、苹果系统等。该智能手机10和服务器30之间通过通信网络20连接。The operating system of the smartphone 10 can be an Android system, a Symbian system, an Apple system, or the like. The smartphone 10 and the server 30 are connected by a communication network 20.
该通信网络20,包括无线网络及有线网络。其中无线网络包括无线广域网、无线局域网、无线城域网、以及无线个人网中的一种或多种的组合。The communication network 20 includes a wireless network and a wired network. The wireless network includes a combination of one or more of a wireless wide area network, a wireless local area network, a wireless metropolitan area network, and a wireless personal network.
服务器30中存储有应用的配置文件,该配置文件包含运行应用所需的数据和运行逻辑以及全局配置信息,该全局配置信息指示该应用是由哪些页面组成,配置应用页面的窗口背景色,配置导航条样式,配置默认标题等等。在本申请实施例中,该应用为网页应用。网页应用是一种使用网页浏览器在互联网或企业内部网上操作的应用软件,是一种以网页语言(例如HTML、JavaScript、Java等编程语言)撰写的应用程式,需要透过浏览器来执行,比如可以统一通过某个开放平台进行访问,现在俗称的“小程序”就属于网页应用。需要解释的是,现有“小程序”的安装包、以及运行时产生的缓存数据均存储在该开放平台的服务器中,其不需要在用户设备中安装运行,从而尽可能节省用户设备的内存资源,而用户设备可以通过该开放平台中的应用接口与该网页应用的厂家服务器进行数据通信,实现对该网页应用的访问,此时,该开放平台的服务器充当代理服务器的角色,每一网页应用对应一个应用接口。The server 30 stores an application configuration file, which includes data and running logic required for running the application, and global configuration information, which indicates which pages the application is composed of, configures the background color of the application page, and configures Navigation bar styles, configuration default titles, and more. In the embodiment of the present application, the application is a webpage application. A web application is an application that operates on the Internet or an intranet using a web browser. It is an application written in a web language (such as HTML, JavaScript, Java, etc.) and needs to be executed through a browser. For example, you can access it through an open platform. Nowadays, the so-called "small program" belongs to web applications. It should be noted that the existing "small program" installation package and the cache data generated at runtime are stored in the server of the open platform, which does not need to be installed and run in the user equipment, thereby saving the memory of the user equipment as much as possible. The user equipment can communicate with the manufacturer server of the web application through the application interface in the open platform to implement access to the web application. At this time, the server of the open platform acts as a proxy server, and each webpage The application corresponds to an application interface.
智能手机10可以从服务器30获取应用的配置文件,根据配置文件生成应用的原生页面并展示。从而在未安装应用的前提下实现应用的运行,应用运行所需的数据可即时从服务器30获取。The smartphone 10 can acquire the configuration file of the application from the server 30, generate a native page of the application according to the configuration file, and display it. Thus, the application is run without the application being installed, and the data required for the application operation can be immediately acquired from the server 30.
服务器30还可以对应用的配置文件进行更新操作,以便为智能手机10提供更新后的配置文件。The server 30 can also perform an update operation on the application's configuration file to provide the smartphone 10 with the updated configuration file.
在一实施方式中,该服务器30还可以存储应用的安装文件,智能手机10还可以从该服务器30上获取应用的安装文件,并通过安装该安装文件来完整的运行该应用。容易想到的是,该服务器30也可以对应用的安装文件进行更新,以便为智能手机10提供更新后的安装文件。In an embodiment, the server 30 may also store an installation file of the application, and the smart phone 10 may also obtain an installation file of the application from the server 30, and completely run the application by installing the installation file. It is easily conceivable that the server 30 can also update the installation files of the application to provide the updated installation files for the smartphone 10.
请参阅图2,图2为本申请实施例提供的应用页面的启动方法的流程示意图。本申请实施例提供的应用页面的启动方法的具体流程可以如下:Referring to FIG. 2, FIG. 2 is a schematic flowchart of a method for starting an application page according to an embodiment of the present application. The specific process of the application page startup method provided by the embodiment of the present application may be as follows:
201、获取针对目标应用图标触控操作的操作信息。201. Acquire operation information for the target application icon touch operation.
其中,该触控操作可以包括按压操作、点击操作、滑动操作、触摸操作等等。触控操作的具体方式可以基于产品的实际情况进行设定。The touch operation may include a pressing operation, a click operation, a sliding operation, a touch operation, and the like. The specific method of touch operation can be set based on the actual situation of the product.
具体的,可以在电子设备中设置触控检测系统,从而监控对目标应用图标的触控操作。当检测到用户针对目标应用图标的触控操作时,触发生成信息获取指令,电子设备根据该信息获取指令获取该触控操作对应在目标应用图标上的操作信息。其中,该操作信息可以包括点击次数、按压力度信息、接触面信息、接触频率信息、触控时长等一系列信息。也即,在一些实施例中,步骤“获取针对目标应用图标触控操作的操作信息”可以包括以下流程:Specifically, the touch detection system can be set in the electronic device to monitor the touch operation on the target application icon. When the touch operation of the target application icon is detected, the information generation instruction is triggered, and the electronic device acquires the operation information corresponding to the target application icon according to the information acquisition instruction. The operation information may include a series of information such as the number of clicks, the pressing force information, the contact surface information, the contact frequency information, and the touch duration. That is, in some embodiments, the step of “acquiring operation information for the target application icon touch operation” may include the following processes:
当检测到针对目标应用图标的触控操作时,生成信息获取指令;Generating an information acquisition instruction when a touch operation for the target application icon is detected;
根据所述信息获取指令获取所述触控操作对应在目标应用图标上的操作信息,其中,所述操作信息包括点击次数、按压力度信息、接触面信息、接触频率信息、触控时长中的一种或多种。Acquiring, according to the information obtaining instruction, operation information corresponding to the touch target operation on the target application icon, where the operation information includes one of a click count, a press strength information, a contact surface information, a contact frequency information, and a touch duration Kind or more.
202、确定目标应用图标对应的应用标识集合,应用标识集合包括:已安装应用的第一应用标识、及未安装应用的第二应用标识。202. Determine an application identifier set corresponding to the target application icon, where the application identifier set includes: a first application identifier of the installed application, and a second application identifier of the installed application.
需要说明的是,已安装应用表示已经下载并安装电子设备的操作系统本地的应用程序客户端;未安装应用表示需使用网页浏览器在互联网或企业内部网上操作的网页应用,其安装包、以及运行时产生的缓存数据均存储在开放平台的服务器中,其不需要在用户设备中安装运行。It should be noted that the installed application indicates that the application client local to the operating system that has downloaded and installed the electronic device; the application that does not install the application indicates that the web application to be operated on the Internet or the intranet using a web browser, the installation package, and The cached data generated at runtime is stored in the server of the open platform, which does not need to be installed and run in the user device.
在一些实施例中,该目标应用图标与第一应用标识进行了关联,另外该目标应用图标还与第二应用标识进行了关联。其中,第一应用标识可以为安装包名,第二应用标识也可以为安装包名或程序名称。In some embodiments, the target application icon is associated with the first application identification, and the target application icon is also associated with the second application identification. The first application identifier may be an installation package name, and the second application identifier may also be an installation package name or a program name.
具体实施过程中,第一应用标识、第二应用标识可以集合的形式存储在电子设备本地存储区域内、或相应服务器的存储区域内。本申请实施例中,可以预先将该应用标识集合与目标应用图标进行绑定,以便于后续应用集合的获取。也即,在获取针对目标应用图标触控操作的操作信息之前,该方法还可以包括:In a specific implementation process, the first application identifier and the second application identifier may be stored in a local storage area of the electronic device or in a storage area of the corresponding server. In this embodiment, the application identifier set may be bound to the target application icon in advance to facilitate acquisition of the subsequent application set. That is, before acquiring the operation information for the target application icon touch operation, the method may further include:
建立第一应用标识与目标应用图标之间的第一映射关系,以及建立第二应用标识与目标应用图标之间的第二映射关系;Establishing a first mapping relationship between the first application identifier and the target application icon, and establishing a second mapping relationship between the second application identifier and the target application icon;
步骤“确定目标应用图标对应的应用标识集合”可以包括以下流程:The step “determining the application identifier set corresponding to the target application icon” may include the following processes:
根据第一映射关系、及第二映射关系,获取与目标应用图标对应的第一应用标识以及第二应用标识,以得到应用标识集合。Obtaining, by the first mapping relationship and the second mapping relationship, the first application identifier and the second application identifier corresponding to the target application icon, to obtain the application identifier set.
在一些实施例中,上述已安装应用和未安装应用可以为同一款应用的不同表现形式,两者功能大体相同,各个显示界面大体相同。In some embodiments, the above installed and uninstalled applications may be different representations of the same application, the functions of which are substantially the same, and the respective display interfaces are substantially the same.
203、根据操作信息从应用标识集合中选取目标应用标识。203. Select a target application identifier from the application identifier set according to the operation information.
具体的,根据获取到触控操作的操作信息,从应用标识集合中确定目标应用标识。Specifically, the target application identifier is determined from the application identifier set according to the operation information obtained by the touch operation.
在一些实施例中,可以预先建立应用标识与操作信息之间的关联,以便后续根据操作信息获取对应的目标应用标识。比如,以操作信息包括点击次数为例,步骤“根据操作信息从应用标识集合中选取目标应用标识的步骤”可以包括:In some embodiments, an association between the application identifier and the operation information may be established in advance to subsequently acquire a corresponding target application identifier according to the operation information. For example, taking the operation information including the number of clicks as an example, the step “selecting the target application identifier from the application identifier set according to the operation information” may include:
从多个样本次数中选取与点击次数匹配的目标样本次数;Select the number of target samples that match the number of clicks from multiple sample times;
从应用标识集合中获取与目标样本次数关联的应用标识,以作为目标应用标识。The application identifier associated with the target sample number is obtained from the application identifier set as the target application identifier.
需要说明的是,当点击次数为多次时,该点击次数需要是连续点击次数。也即,前一次与下一次点击之间的时间间隔需小于预设时间间隔,并以此为基准来获取点击次数。It should be noted that when the number of clicks is multiple, the number of clicks needs to be consecutive clicks. That is, the time interval between the previous and next clicks needs to be less than the preset time interval, and the number of clicks is obtained based on this.
在一些实施例中,还可以通过判定操作信息是否满足对应应用标识的条件,并根据判定结果从应用标识集合中确定目标应用标识。比如,仍以操作信息包括点击次数为例,可以通过判断点击次数是否为单击或双击来确定满足条件的应用标识。如单击图标对应确定第一应用标识为目标应用标识,双击图标对应确定第二应用标识为目标应用标识。In some embodiments, the target application identifier may also be determined from the application identifier set according to the determination result by determining whether the operation information satisfies the condition of the corresponding application identifier. For example, taking the operation information including the number of clicks as an example, the application identifier that satisfies the condition can be determined by determining whether the number of clicks is a click or a double click. If the icon is clicked, the first application identifier is determined as the target application identifier, and the double-click icon is used to determine the second application identifier as the target application identifier.
204、若目标应用标识为第二应用标识,则从服务器获取第二应用标识对应的第一配置文件,并根据第一配置文件启动目标应用页面。204. If the target application identifier is the second application identifier, obtain the first configuration file corresponding to the second application identifier from the server, and start the target application page according to the first configuration file.
需要说明的是,该配置服务器中存储了每一应用对应的配置文件,该配置文件中包含运行应用所需的数据和运行逻辑以及全局配置信息,该全局配置信息指示该应用是由哪些页面组成,配置应用页面的窗口背景色,配置导航条样式,配置默认标题等等。It should be noted that the configuration server stores a configuration file corresponding to each application, where the configuration file includes data and running logic required for running the application, and global configuration information, where the global configuration information indicates which pages the application is composed of. , configure the background color of the application page, configure the navigation bar style, configure the default title, and so on.
当检测到用户对目标应用图标的触控操作时,若确定对应触发第二应用标识,则电子设备将加载并运行操作系统中的脚本文件。When the touch operation of the target application icon is detected by the user, if it is determined that the second application identifier is triggered, the electronic device loads and runs the script file in the operating system.
在一实施方式中,该脚本文件可以为JavaScript脚本语言文件,JavaScript是一种属于网络的脚本语言,已经被广泛用于Web应用开发,常用来为网页添加各式各样的动态功能,为用户提供更流畅美观的浏览效果。通常JavaScript脚本是通过嵌入在HTML中来实现自身的功能的。In an embodiment, the script file may be a JavaScript scripting language file, and JavaScript is a web-based scripting language that has been widely used for web application development, and is commonly used to add various dynamic functions to web pages for users. Provide a smoother and more beautiful browsing experience. Usually JavaScript scripts implement their own functionality by embedding them in HTML.
基于此,通过加载并运行的JavaScript脚本语言文件解析配置文件,以启动目标应用界面。Based on this, the configuration file is parsed by a JavaScript script language file that is loaded and run to launch the target application interface.
由上可知,本申请实施例通过将网页应用的快捷入口集成到已安装应用的应用图标上,在网页应用未安装的情况下,通过特定方式触发应用图标以快速启动网页应用的应用页面,提升了应用页面的启动效率。As can be seen from the above, the embodiment of the present application integrates the shortcut entry of the web application into the application icon of the installed application, and triggers the application icon to trigger the application page of the web application in a specific manner when the web application is not installed, thereby improving the application page of the web application. The startup efficiency of the application page.
下面将在上述实施例描述的方法基础上,对本申请的分类方法做进一步介绍。参考图3,该应用页面的启动方法可以包括:The classification method of the present application will be further described below based on the method described in the above embodiments. Referring to FIG. 3, the startup method of the application page may include:
301、获取已安装应用的第一应用标识和应用图标,以及未安装应用的第二应用标识。301. Obtain a first application identifier and an application icon of the installed application, and obtain a second application identifier of the installed application.
其中,已安装应用表示已经下载并安装电子设备的操作系统本地的应用程序客户端;未安装应用表示需使用网页浏览器在互联网或企业内部网上操作的网页应用,其安装包、以及运行时产生的缓存数据均存储在开放平台的服务器中,其不需要在用户设备中安装运行。The installed application indicates that the application client local to the operating system that has downloaded and installed the electronic device; the application that does not install the application indicates that the web application to be operated on the Internet or the intranet using a web browser, the installation package, and the runtime generate The cached data is stored in the server of the open platform, which does not need to be installed and run on the user device.
在一些实施例中,第一应用标识可以为安装包名,第二应用标识也可以为安装包名或程序名称。In some embodiments, the first application identifier may be an installation package name, and the second application identifier may also be an installation package name or a program name.
302、建立第一应用标识与该应用图标之间的第一映射关系,以及建立第二应用标识与该应用图标之间的第二映射关系。302. Establish a first mapping relationship between the first application identifier and the application icon, and establish a second mapping relationship between the second application identifier and the application icon.
具体地,将该目标应用图标与第一应用标识进行关联,另外还该目标应用图标还与第二应用标识进行关联,并将第一应用标识、第二应用标识、应用图标、以及第一映射诶关系、第二映射关系,存储在电子设备本地存储区域内或服务器的存储区域内。Specifically, the target application icon is associated with the first application identifier, and further the target application icon is further associated with the second application identifier, and the first application identifier, the second application identifier, the application icon, and the first mapping are The 诶 relationship and the second mapping relationship are stored in a local storage area of the electronic device or in a storage area of the server.
具体实施过程中,第一应用标识、第二应用标识可以集合的形式存储在电子设备本地存储区域内、或相应服务器的存储区域内。In a specific implementation process, the first application identifier and the second application identifier may be stored in a local storage area of the electronic device or in a storage area of the corresponding server.
303、获取针对该应用图标触控操作的操作信息。303. Obtain operation information for the touch operation of the application icon.
其中,该触控操作可以包括按压操作、点击操作、滑动操作、触摸操作等等。触控操作的具体方式可以基于产品的实际情况进行设定。比如,参考图4,图4所示为用户点击应用桌面上的应用图标,从而对应用图标进行触控操作。The touch operation may include a pressing operation, a click operation, a sliding operation, a touch operation, and the like. The specific method of touch operation can be set based on the actual situation of the product. For example, referring to FIG. 4, FIG. 4 shows that the user clicks on an application icon on the application desktop to perform a touch operation on the application icon.
具体的,可以在电子设备中设置触控检测系统,从而监控对目标应用图标的触控操作。当检测到用户针对目标应用图标的触控操作时,触发生成信息获取指令,电子设备根据该信息获取指令获取该触控操作对应在目标应用图标上的操作信息。其中,该操作信息可以包括按压力度信息、接触面信息、接触频率信息、触控时长等一系列信息。。Specifically, the touch detection system can be set in the electronic device to monitor the touch operation on the target application icon. When the touch operation of the target application icon is detected, the information generation instruction is triggered, and the electronic device acquires the operation information corresponding to the target application icon according to the information acquisition instruction. The operation information may include a series of information such as pressing force information, contact surface information, contact frequency information, and touch duration. .
304、确定目标应用图标对应的应用标识集合。304. Determine an application identifier set corresponding to the target application icon.
具体的,可以根据上述存储的第一映射关系、第二映射关系确定对应的应用标识集合。也即,在一些实施例中,“确定目标应用图标对应的应用标识集合”的步骤,包括:Specifically, the corresponding application identifier set may be determined according to the first mapping relationship and the second mapping relationship that are stored. That is, in some embodiments, the step of “determining an application identifier set corresponding to the target application icon” includes:
根据第一映射关系、及第二映射关系,获取与目标应用图标对应的第一应用标识以及第二应用标识,以得到应用标识集合。Obtaining, by the first mapping relationship and the second mapping relationship, the first application identifier and the second application identifier corresponding to the target application icon, to obtain the application identifier set.
305、根据操作信息从应用标识集合中选取目标应用标识。305. Select a target application identifier from the application identifier set according to the operation information.
具体的,根据获取到触控操作的操作信息,从应用标识集合中确定目标应用标识。Specifically, the target application identifier is determined from the application identifier set according to the operation information obtained by the touch operation.
在一些实施例中,可以预先建立应用标识与操作信息之间的关联,以便后续根据操作信息获取对应的目标应用标识。比如,以操作信息包括点击次数为例,步骤“根据操作信息从应用标识集合中选取目标应用标识的步骤”可以包括:In some embodiments, an association between the application identifier and the operation information may be established in advance to subsequently acquire a corresponding target application identifier according to the operation information. For example, taking the operation information including the number of clicks as an example, the step “selecting the target application identifier from the application identifier set according to the operation information” may include:
从多个样本次数中选取与点击次数匹配的目标样本次数;Select the number of target samples that match the number of clicks from multiple sample times;
从应用标识集合中获取与目标样本次数关联的应用标识,以作为目标应用标识。The application identifier associated with the target sample number is obtained from the application identifier set as the target application identifier.
需要说明的是,当点击次数为多次时,该点击次数需要是连续点击次数。也即,前一次与下一次点击之间的时间间隔需小于预设时间间隔,并以此为基准来获取点击次数。It should be noted that when the number of clicks is multiple, the number of clicks needs to be consecutive clicks. That is, the time interval between the previous and next clicks needs to be less than the preset time interval, and the number of clicks is obtained based on this.
306、若目标应用标识为第二应用标识,则从服务器获取第二应用标识对应的第一配置文件,并根据第一配置文件启动目标应用页面。306. If the target application identifier is the second application identifier, obtain the first configuration file corresponding to the second application identifier from the server, and start the target application page according to the first configuration file.
在一些实施例中,第一配置文件包括描述第二应用标识所对应应用页面的全局配置信息;则步骤“从服务器获取第二应用标识对应的第一配置文件,并根据第一配置文件启动目标应用页面”,可以包括:In some embodiments, the first configuration file includes global configuration information that describes an application page corresponding to the second application identifier. Then, the step of “acquiring the first configuration file corresponding to the second application identifier from the server, and starting the target according to the first configuration file. Application page", which can include:
向服务器发送信息获取请求,该信息获取请求携带第二应用标识;Sending a message acquisition request to the server, where the information acquisition request carries the second application identifier;
接收服务器根据文件获取请求返回的全局配置信息;Receiving global configuration information returned by the server according to the file acquisition request;
加载并运行操作系统中的脚本文件;Load and run the script file in the operating system;
通过脚本文件解析全局配置信息生成目标应用页面,并显示目标应用页面。The target application page is generated by parsing the global configuration information through the script file, and the target application page is displayed.
需要说明的是,该配置服务器中存储了每一应用对应的配置文件,该配置文件中包含运行应用所需的数据和运行逻辑以及全局配置信息,该全局配置信息指示该应用是由哪些页面组成,配置应用页面的窗口背景色,配置导航条样式,配置默认标题等等。It should be noted that the configuration server stores a configuration file corresponding to each application, where the configuration file includes data and running logic required for running the application, and global configuration information, where the global configuration information indicates which pages the application is composed of. , configure the background color of the application page, configure the navigation bar style, configure the default title, and so on.
其中,电子设备将应用标识发送至配置服务器,该配置服务器接收到该应用标识后,匹配该应用标识对应的配置文件,将得到的配置文件返回至电子设备中。The electronic device sends the application identifier to the configuration server, and after receiving the application identifier, the configuration server matches the configuration file corresponding to the application identifier, and returns the obtained configuration file to the electronic device.
在一实施方式这,该配置服务器中还可以保存有应用的安装文件,该安装文件用于安装对应的应用。In an embodiment, the configuration server may also store an installation file of the application, where the installation file is used to install the corresponding application.
进一步的,该配置文件和安装文件为通过第三方供应商或者开发人员上传至配置服务器中,该第三方供应商以及开发人员还可以对配置服务器中的配置文件和安装文件进行更新以及删除操作。Further, the configuration file and the installation file are uploaded to the configuration server by a third-party vendor or developer, and the third-party vendor and the developer can also update and delete the configuration file and the installation file in the configuration server.
电子设备可以在存储空间中预设该配置文件的缓存空间,当电子设备接收到配置服务器返回的配置文件时,将该配置文件缓存在缓存空间中。后续电子设备可以随时调用该配置文件运行。该缓存空间在电子设备断电时会将缓冲空间中的内容清空。The electronic device may preset a cache space of the configuration file in the storage space. When the electronic device receives the configuration file returned by the configuration server, the configuration file is cached in the cache space. Subsequent electronic devices can call this configuration file to run at any time. The cache space will clear the contents of the buffer space when the electronic device is powered off.
当检测到用户对目标应用图标的触控操作时,若确定对应触发第二应用标识,则电子设备将加载并运行操作系统中的脚本文件。When the touch operation of the target application icon is detected by the user, if it is determined that the second application identifier is triggered, the electronic device loads and runs the script file in the operating system.
在一实施方式中,该脚本文件可以为JavaScript脚本语言文件,JavaScript是一种属于网络的脚本语言,已经被广泛用于Web应用开发,常用来为网页添加各式各样的动态功能,为用户提供更流畅美观的浏览效果。通常JavaScript脚本是通过嵌入在HTML中来实现自身的功能的。In an embodiment, the script file may be a JavaScript scripting language file, and JavaScript is a web-based scripting language that has been widely used for web application development, and is commonly used to add various dynamic functions to web pages for users. Provide a smoother and more beautiful browsing experience. Usually JavaScript scripts implement their own functionality by embedding them in HTML.
307、若目标应用标识为第一应用标识,则从本地获取第一应用标识对应的第二配置文件,并根据第二配置文件启动目标应用页面。307. If the target application identifier is the first application identifier, obtain a second configuration file corresponding to the first application identifier, and start the target application page according to the second configuration file.
其中,由于应用已安装,那么第二文件存储在电子设备本地的存储区域内。Wherein, since the application is installed, the second file is stored in a storage area local to the electronic device.
具体的,当该触控操作指示启动已安装应用的应用界面时,可通过获取本地存储的第二配置文件调用相关界面组件,以启动目标应用页面。Specifically, when the touch operation indicates that the application interface of the installed application is started, the related interface component may be invoked by acquiring the locally stored second configuration file to start the target application page.
由上可知,本申请实施例通过将网页应用的快捷入口集成到已安装应用的应用图标上,在网页应用未安装的情况下,通过特定方式触发应用图标以快速启动网页应用的应用页面,提升了应用页面的启动效率。As can be seen from the above, the embodiment of the present application integrates the shortcut entry of the web application into the application icon of the installed application, and triggers the application icon to trigger the application page of the web application in a specific manner when the web application is not installed, thereby improving the application page of the web application. The startup efficiency of the application page.
进一步地,由于可以在未安装应用的情况下,切换开启应用的原生页面,使得用户可以对应用进行初步体验,在基于初步体验的情况下选择是否安装该应用,可以提升用户选择的多样性。Further, since the native page of the application can be switched on without the application being installed, the user can perform an initial experience on the application, and if the application is installed or not based on the initial experience, the diversity of the user selection can be improved.
在一实施例中还提供了一种应用页面的启动装置。请参阅图5,图5为本申请实施例提供的应用页面的启动装置的结构示意图。其中该应用页面的启动装置应用于电子设备,该 应用页面的启动装置包括获取模块401、确定模块402、选取模块403、以及生第一启动模块404,如下:In an embodiment, an activation device for an application page is also provided. Referring to FIG. 5, FIG. 5 is a schematic structural diagram of an apparatus for starting an application page according to an embodiment of the present application. The activation device of the application page is applied to the electronic device, and the activation device of the application page includes an obtaining module 401, a determining module 402, a selecting module 403, and a first starting module 404, as follows:
获取模块401,用于获取针对目标应用图标触控操作的操作信息;An obtaining module 401, configured to acquire operation information for a target application icon touch operation;
确定模块402,用于确定该目标应用图标对应的应用标识集合,该应用标识集合包括:已安装应用的第一应用标识、及未安装应用的第二应用标识;The determining module 402 is configured to determine an application identifier set corresponding to the target application icon, where the application identifier set includes: a first application identifier of the installed application, and a second application identifier of the application not installed;
选取模块403,用于根据该操作信息从该应用标识集合中选取目标应用标识;The selecting module 403 is configured to select a target application identifier from the application identifier set according to the operation information;
第一启动模块404,用于若该目标应用标识为第二应用标识,则从服务器获取该第二应用标识对应的第一配置文件,并根据该第一配置文件启动目标应用页面。The first startup module 404 is configured to: obtain the first configuration file corresponding to the second application identifier from the server, and start the target application page according to the first configuration file, if the target application identifier is the second application identifier.
在一些实施例中,参考图6,该装置还可以包括:In some embodiments, referring to FIG. 6, the apparatus may further include:
建立模块405,用于在获取针对目标应用图标触控操作的操作信息之前,建立该第一应用标识与该目标应用图标之间的第一映射关系、以及建立该第二应用标识与该目标应用图标之间的第二映射关系;The establishing module 405 is configured to establish a first mapping relationship between the first application identifier and the target application icon, and establish the second application identifier and the target application, before acquiring operation information for the target application icon touch operation a second mapping relationship between icons;
该确定模块402具体用于:The determining module 402 is specifically configured to:
根据该第一映射关系、及该第二映射关系,获取与该目标应用图标对应的第一应用标识以及第二应用标识,以得到该应用标识集合。Obtaining, by the first mapping relationship and the second mapping relationship, the first application identifier and the second application identifier corresponding to the target application icon, to obtain the application identifier set.
在一些实施例中,该操作信息包括点击次数;参考图7,该选取模块403可以包括:In some embodiments, the operation information includes a click count; referring to FIG. 7, the selection module 403 may include:
匹配子模块4031,用于从多个样本次数中选取与该点击次数匹配的目标样本次数;a matching sub-module 4031, configured to select, from a plurality of sample times, a number of target samples that match the number of clicks;
获取子模块4032,用于从该应用标识集合中获取与该目标样本次数关联的应用标识,以作为目标应用标识。The obtaining sub-module 4032 is configured to obtain, from the application identifier set, an application identifier associated with the target sample number as the target application identifier.
在一些实施例中,参考图8,该装置还可以包括:In some embodiments, referring to FIG. 8, the apparatus may further include:
第二启动模块406,用于若该目标应用标识为第一应用标识,则从本地获取该第一应用标识对应的第二配置文件,并根据该第二配置文件启动目标应用页面。The second startup module 406 is configured to: if the target application identifier is the first application identifier, obtain the second configuration file corresponding to the first application identifier locally, and start the target application page according to the second configuration file.
在一些实施例中,该第一配置文件包括描述该第二应用标识所对应应用页面的全局配置信息;参考图9,该第一启动模块404可以包括:In some embodiments, the first configuration file includes global configuration information that describes an application page corresponding to the second application identifier. Referring to FIG. 9, the first startup module 404 can include:
发送子模块4041,用于若该目标应用标识为第二应用标识,则向服务器发送信息获取请求,该信息获取请求携带该第二应用标识;The sending sub-module 4041 is configured to: if the target application identifier is the second application identifier, send an information acquisition request to the server, where the information acquisition request carries the second application identifier;
接收子模块4042,用于接收服务器根据该文件获取请求返回的全局配置信息;The receiving submodule 4042 is configured to receive global configuration information returned by the server according to the file obtaining request;
运行子模块4043,用于加载并运行操作系统中的脚本文件;Running a submodule 4043 for loading and running a script file in an operating system;
显示子模块4044,用于通过该脚本文件解析该全局配置信息生成目标应用页面,并显示该目标应用页面。The display submodule 4044 is configured to parse the global configuration information by using the script file to generate a target application page, and display the target application page.
在一些实施例中,获取模块401具体可以用于:In some embodiments, the obtaining module 401 can be specifically configured to:
当检测到针对目标应用图标的触控操作时,生成信息获取指令;Generating an information acquisition instruction when a touch operation for the target application icon is detected;
根据所述信息获取指令获取所述触控操作对应在目标应用图标上的操作信息,其中,所述操作信息包括点击次数、按压力度信息、接触面信息、接触频率信息、触控时长中的一种或多种。Acquiring, according to the information obtaining instruction, operation information corresponding to the touch target operation on the target application icon, where the operation information includes one of a click count, a press strength information, a contact surface information, a contact frequency information, and a touch duration Kind or more.
其中,应用页面的启动装置中各单元执行的步骤可以参考上述方法实施例描述的方法步骤。该应用页面的启动装置可以集成在电子设备中,如手机、平板电脑等。The steps performed by the units in the activation device of the application page may refer to the method steps described in the foregoing method embodiments. The activation device of the application page can be integrated in an electronic device, such as a mobile phone, a tablet computer, or the like.
具体实施时,以上各个单元可以作为独立的实体实现,也可以进行任意组合,作为同一或若干个实体来实现,以上各个单位的具体实施可参见前面的实施例,在此不再赘述。In the specific implementation, the foregoing various units may be implemented as an independent entity, and may be implemented in any combination, and may be implemented as the same entity or a plurality of entities. For the specific implementation of the foregoing units, refer to the foregoing embodiments, and details are not described herein again.
由上可知,本实施例提供的应用页面的启动装置,通过将网页应用的快捷入口集成到已安装应用的应用图标上,在网页应用未安装的情况下,通过特定方式触发应用图标以快速启动网页应用的应用页面,提升了应用页面的启动效率。It can be seen that the activation device of the application page provided in this embodiment integrates the shortcut entry of the web application into the application icon of the installed application, and triggers the application icon to start quickly by using the specific method when the web application is not installed. The application page of the web application improves the startup efficiency of the application page.
本申请实施例还提供一种电子设备。请参阅图10,电子设备500包括处理器501以及存储器502。其中,处理器501与存储器502电性连接。An embodiment of the present application further provides an electronic device. Referring to FIG. 10, the electronic device 500 includes a processor 501 and a memory 502. The processor 501 is electrically connected to the memory 502.
该处理器500是电子设备500的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或加载存储在存储器502内的计算机程序,以及调用存储在存储器502内的数据,执行电子设备500的各种功能并处理数据,从而对电子设备500进行整体监控。The processor 500 is a control center of the electronic device 500, which connects various parts of the entire electronic device using various interfaces and lines, and executes by running or loading a computer program stored in the memory 502 and calling data stored in the memory 502. The various functions of the electronic device 500 and processing of the data enable overall monitoring of the electronic device 500.
该存储器502可用于存储软件程序以及模块,处理器501通过运行存储在存储器502的计算机程序以及模块,从而执行各种功能应用以及数据处理。存储器502可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的计算机程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电子设备的使用所创建的数据等。此外,存储器502可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。相应地,存储器502还可以包括存储器控制器,以提供处理器501对存储器502的访问。The memory 502 can be used to store software programs and modules, and the processor 501 executes various functional applications and data processing by running computer programs and modules stored in the memory 502. The memory 502 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, a computer program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may be stored according to Data created by the use of electronic devices, etc. Moreover, memory 502 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, memory 502 can also include a memory controller to provide processor 501 access to memory 502.
在本申请实施例中,电子设备500中的处理器501会按照如下的步骤,将一个或一个以上的计算机程序的进程对应的指令加载到存储器502中,并由处理器501运行存储在存储器502中的计算机程序,从而实现各种功能,如下:In the embodiment of the present application, the processor 501 in the electronic device 500 loads the instructions corresponding to the process of one or more computer programs into the memory 502 according to the following steps, and is stored in the memory 502 by the processor 501. The computer program in which to implement various functions, as follows:
获取针对目标应用图标触控操作的操作信息;Obtaining operation information for the target application icon touch operation;
确定该目标应用图标对应的应用标识集合,该应用标识集合包括:已安装应用的第一应用标识、及未安装应用的第二应用标识;Determining, by the target application icon, an application identifier set, where the application identifier set includes: a first application identifier of the installed application, and a second application identifier of the application not installed;
根据该操作信息从该应用标识集合中选取目标应用标识;Selecting a target application identifier from the application identifier set according to the operation information;
若该目标应用标识为第二应用标识,则从服务器获取该第二应用标识对应的第一配置文件,并根据该第一配置文件启动目标应用页面。If the target application identifier is the second application identifier, the first configuration file corresponding to the second application identifier is obtained from the server, and the target application page is started according to the first configuration file.
在一些实施例中,在获取针对目标应用图标触控操作的操作信息之前,处理器501还可以用于执行以下步骤:In some embodiments, before acquiring operation information for the target application icon touch operation, the processor 501 may be further configured to perform the following steps:
建立该第一应用标识与该目标应用图标之间的第一映射关系,以及建立该第二应用标识与该目标应用图标之间的第二映射关系;Establishing a first mapping relationship between the first application identifier and the target application icon, and establishing a second mapping relationship between the second application identifier and the target application icon;
在一些实施例中,在确定该目标应用图标对应的应用标识集合时,处理器501进一步可以用于执行以下步骤:In some embodiments, when determining the set of application identifiers corresponding to the target application icon, the processor 501 is further configured to perform the following steps:
根据该第一映射关系、及该第二映射关系,获取与该目标应用图标对应的第一应用标识以及第二应用标识,以得到该应用标识集合。Obtaining, by the first mapping relationship and the second mapping relationship, the first application identifier and the second application identifier corresponding to the target application icon, to obtain the application identifier set.
在一些实施例中,该操作信息包括点击次数,处理器501进一步可以用于执行以下步骤:In some embodiments, the operation information includes a number of clicks, and the processor 501 is further configured to perform the following steps:
从多个样本次数中选取与该点击次数匹配的目标样本次数;Select the number of target samples that match the number of clicks from multiple sample times;
从该应用标识集合中获取与该目标样本次数关联的应用标识,以作为目标应用标识。The application identifier associated with the target sample number is obtained from the application identifier set as the target application identifier.
在一些实施例中,若该目标应用标识为第一应用标识,则处理器501还可以用于执行以下步骤:In some embodiments, if the target application identifier is the first application identifier, the processor 501 is further configured to perform the following steps:
从本地获取该第一应用标识对应的第二配置文件,并根据该第二配置文件启动目标应用页面。The second configuration file corresponding to the first application identifier is obtained locally, and the target application page is started according to the second configuration file.
在一些实施例中,该第一配置文件包括描述该第二应用标识所对应应用页面的全局配置信息;若该目标应用标识为第二应用标识,则处理器501具体可以用于执行以下步骤:In some embodiments, the first configuration file includes global configuration information that describes an application page corresponding to the second application identifier. If the target application identifier is the second application identifier, the processor 501 may be specifically configured to perform the following steps:
向服务器发送信息获取请求,该信息获取请求携带该第二应用标识;Sending a message acquisition request to the server, where the information acquisition request carries the second application identifier;
接收服务器根据该文件获取请求返回的全局配置信息;Receiving, by the receiving server, the global configuration information returned by the request according to the file;
加载并运行操作系统中的脚本文件;Load and run the script file in the operating system;
通过该脚本文件解析该全局配置信息生成目标应用页面,并显示该目标应用页面。The target configuration page is generated by parsing the global configuration information through the script file, and the target application page is displayed.
在一些实施例中,在获取针对目标应用图标触控操作的操作信息时,处理器501可以执行以下步骤:In some embodiments, when acquiring operation information for the target application icon touch operation, the processor 501 may perform the following steps:
当检测到针对目标应用图标的触控操作时,生成信息获取指令;Generating an information acquisition instruction when a touch operation for the target application icon is detected;
根据所述信息获取指令获取所述触控操作对应在目标应用图标上的操作信息,其中,所述操作信息包括点击次数、按压力度信息、接触面信息、接触频率信息、触控时长中的一种或多种。Acquiring, according to the information obtaining instruction, operation information corresponding to the touch target operation on the target application icon, where the operation information includes one of a click count, a press strength information, a contact surface information, a contact frequency information, and a touch duration Kind or more.
由上述可知,本申请实施例的电子设备,通过将网页应用的快捷入口集成到已安装应用的应用图标上,在网页应用未安装的情况下,通过特定方式触发应用图标以快速启动网页应用的应用页面,提升了应用页面的启动效率。It can be seen from the above that the electronic device in the embodiment of the present application automatically triggers the application icon to quickly launch the web application by integrating the shortcut icon of the web application into the application icon of the installed application, and in the case that the web application is not installed. The application page improves the startup efficiency of the application page.
请一并参阅图11,在某些实施方式中,电子设备500还可以包括:显示器503、射频电路504、音频电路505以及电源506。其中,其中,显示器503、射频电路504、音频电路505以及电源506分别与处理器501电性连接。Referring to FIG. 11 together, in some embodiments, the electronic device 500 may further include: a display 503, a radio frequency circuit 504, an audio circuit 505, and a power source 506. The display 503, the radio frequency circuit 504, the audio circuit 505, and the power source 506 are electrically connected to the processor 501, respectively.
该显示器503可以用于显示由用户输入的信息或提供给用户的信息以及各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。显示器503可以包括显示面板,在某些实施方式中,可以采用液晶显示器(Liquid Crystal Display,LCD)、或者有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板。The display 503 can be used to display information entered by a user or information provided to a user, as well as various graphical user interfaces, which can be composed of graphics, text, icons, video, and any combination thereof. The display 503 can include a display panel. In some embodiments, the display panel can be configured in the form of a liquid crystal display (LCD) or an organic light-emitting diode (OLED).
该射频电路504可以用于收发射频信号,以通过无线通信与网络设备或其他电子设备建立无线通讯,与网络设备或其他电子设备之间收发信号。The radio frequency circuit 504 can be used to transmit and receive radio frequency signals to establish wireless communication with network devices or other electronic devices through wireless communication, and to transmit and receive signals with network devices or other electronic devices.
该音频电路505可以用于通过扬声器、传声器提供用户与电子设备之间的音频接口。The audio circuit 505 can be used to provide an audio interface between the user and the electronic device through a speaker, a microphone.
该电源506可以用于给电子设备500的各个部件供电。在一些实施例中,电源506可以通过电源管理系统与处理器501逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The power source 506 can be used to power various components of the electronic device 500. In some embodiments, the power source 506 can be logically coupled to the processor 501 through a power management system to enable functions such as managing charging, discharging, and power management through the power management system.
尽管图11中未示出,电子设备500还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown in FIG. 11, the electronic device 500 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
本申请实施例还提供一种存储介质,该存储介质存储有计算机程序,当该计算机程序在计算机上运行时,使得该计算机执行上述任一实施例中的应用页面的启动方法,比如:获取针对目标应用图标触控操作的操作信息;确定目标应用图标对应的应用标识集合,应用标识集合包括:已安装应用的第一应用标识、及未安装应用的第二应用标识;根据操作信息从该应用标识集合中选取目标应用标识;若目标应用标识为第二应用标识,则从服务器获取第二应用标识对应的第一配置文件,并根据第一配置文件启动目标应用页面。The embodiment of the present application further provides a storage medium storing a computer program, when the computer program is run on a computer, causing the computer to execute the startup method of the application page in any of the above embodiments, for example, obtaining An operation identifier of the target application icon touch operation; determining an application identifier set corresponding to the target application icon, where the application identifier set includes: a first application identifier of the installed application, and a second application identifier of the application not installed; and the application is used according to the operation information The target application identifier is selected in the identifier set. If the target application identifier is the second application identifier, the first configuration file corresponding to the second application identifier is obtained from the server, and the target application page is started according to the first configuration file.
在本申请实施例中,存储介质可以是磁碟、光盘、只读存储器(Read Only Memory,ROM,)、或者随机存取记忆体(Random Access Memory,RAM)等。In the embodiment of the present application, the storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM).
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
需要说明的是,对本申请实施例的应用页面的启动方法而言,本领域普通测试人员可以理解实现本申请实施例的应用页面的启动方法的全部或部分流程,是可以通过计算机程序来控制相关的硬件来完成,所述计算机程序可存储于一计算机可读取存储介质中,如存储在电子设备的存储器中,并被该电子设备内的至少一个处理器执行,在执行过程中可包括如应用页面的启动方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储器、随机存取记忆体等。It should be noted that, in the method for starting the application page of the embodiment of the present application, a general tester in the field can understand all or part of the process of implementing the application page of the embodiment of the present application, which can be controlled by a computer program. The computer program can be stored in a computer readable storage medium, such as in a memory of the electronic device, and executed by at least one processor in the electronic device, and can include, for example, The flow of an embodiment of the application page launch method. The storage medium may be a magnetic disk, an optical disk, a read only memory, a random access memory, or the like.
对本申请实施例的应用页面的启动装置而言,其各功能模块可以集成在一个处理芯片中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。所述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中,所述存储介质譬如为只读存储器,磁盘或光盘等。For the activation device of the application page of the embodiment of the present application, each functional module may be integrated into one processing chip, or each module may exist physically separately, or two or more modules may be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. The integrated module, if implemented in the form of a software functional module and sold or used as a standalone product, may also be stored in a computer readable storage medium, such as a read only memory, a magnetic disk or an optical disk, etc. .
以上对本申请实施例所提供的一种应用页面的启动方法、装置、存储介质及电子设备进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实 施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The method, device, storage medium, and electronic device for starting an application page provided by the embodiments of the present application are described in detail. The principles and implementation manners of the application are described in the following examples. The description is only for helping to understand the method of the present application and its core idea; at the same time, for those skilled in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope, in summary, The contents of this specification are not to be construed as limiting the application.
Claims (20)
- 一种应用页面的启动方法,应用于电子设备,其中,包括:An application page startup method is applied to an electronic device, including:获取针对目标应用图标触控操作的操作信息;Obtaining operation information for the target application icon touch operation;确定所述目标应用图标对应的应用标识集合,所述应用标识集合包括:已安装应用的第一应用标识、及未安装应用的第二应用标识;Determining, by the target application icon, an application identifier set, where the application identifier set includes: a first application identifier of the installed application, and a second application identifier of the application not installed;根据所述操作信息从所述应用标识集合中选取目标应用标识;Selecting a target application identifier from the application identifier set according to the operation information;若所述目标应用标识为第二应用标识,则从服务器获取所述第二应用标识对应的第一配置文件,并根据所述第一配置文件启动目标应用页面。If the target application identifier is the second application identifier, the first configuration file corresponding to the second application identifier is obtained from the server, and the target application page is started according to the first configuration file.
- 根据权利要求1所述的应用页面的启动方法,其中,在获取针对目标应用图标触控操作的操作信息之前,所述方法还包括:The method for starting an application page according to claim 1, wherein before the obtaining operation information for the target application icon touch operation, the method further comprises:建立所述第一应用标识与所述目标应用图标之间的第一映射关系,以及建立所述第二应用标识与所述目标应用图标之间的第二映射关系;Establishing a first mapping relationship between the first application identifier and the target application icon, and establishing a second mapping relationship between the second application identifier and the target application icon;
- 根据权利要求2所述的应用页面的启动方法,其中,确定所述目标应用图标对应的应用标识集合的步骤,包括:The method for starting an application page according to claim 2, wherein the step of determining an application identifier set corresponding to the target application icon comprises:根据所述第一映射关系、及所述第二映射关系,获取与所述目标应用图标对应的第一应用标识以及第二应用标识,以得到所述应用标识集合。Acquiring the first application identifier and the second application identifier corresponding to the target application icon to obtain the application identifier set according to the first mapping relationship and the second mapping relationship.
- 根据权利要求1所述的应用页面的启动方法,其中,所述操作信息包括点击次数;根据所述操作信息从所述应用标识集合中选取目标应用标识的步骤,包括:The method for starting an application page according to claim 1, wherein the operation information includes a click count; and the step of selecting a target application identifier from the set of application identifiers according to the operation information, comprising:从多个样本次数中选取与所述点击次数匹配的目标样本次数;Selecting the number of target samples matching the number of clicks from a plurality of sample times;从所述应用标识集合中获取与所述目标样本次数关联的应用标识,以作为目标应用标识。An application identifier associated with the target sample number is obtained from the application identifier set as a target application identifier.
- 根据权利要求1所述的应用页面的启动方法,其中,所述方法还包括:The method for starting an application page according to claim 1, wherein the method further comprises:若所述目标应用标识为第一应用标识,则从本地获取所述第一应用标识对应的第二配置文件,并根据所述第二配置文件启动目标应用页面。If the target application identifier is the first application identifier, the second configuration file corresponding to the first application identifier is obtained locally, and the target application page is started according to the second configuration file.
- 根据权利要求1所述的应用页面的启动方法,其中,所述第一配置文件包括描述所述第二应用标识所对应应用页面的全局配置信息;The method for starting an application page according to claim 1, wherein the first configuration file includes global configuration information describing an application page corresponding to the second application identifier;若所述目标应用标识为第二应用标识,则从服务器获取所述第二应用标识对应的第一配置文件,并根据所述第一配置文件启动目标应用页面的步骤,包括:If the target application identifier is the second application identifier, the step of acquiring the first configuration file corresponding to the second application identifier from the server, and starting the target application page according to the first configuration file, includes:若所述目标应用标识为第二应用标识,则向服务器发送信息获取请求,所述信息获取请求携带所述第二应用标识;If the target application identifier is the second application identifier, send an information acquisition request to the server, where the information acquisition request carries the second application identifier;接收服务器根据所述文件获取请求返回的全局配置信息;Receiving global configuration information returned by the server according to the file acquisition request;加载并运行操作系统中的脚本文件;Load and run the script file in the operating system;通过所述脚本文件解析所述全局配置信息生成目标应用页面,并显示所述目标应用页面。Generating the target application page by parsing the global configuration information by the script file, and displaying the target application page.
- 根据权利要求1所述的应用页面的启动方法,其中,获取针对目标应用图标触控操作的操作信息的步骤,包括:The method for starting an application page according to claim 1, wherein the step of acquiring operation information for the target application icon touch operation comprises:当检测到针对目标应用图标的触控操作时,生成信息获取指令;Generating an information acquisition instruction when a touch operation for the target application icon is detected;根据所述信息获取指令获取所述触控操作对应在目标应用图标上的操作信息,其中,所述操作信息包括点击次数、按压力度信息、接触面信息、接触频率信息、触控时长中的一种或多种。Acquiring, according to the information obtaining instruction, operation information corresponding to the touch target operation on the target application icon, where the operation information includes one of a click count, a press strength information, a contact surface information, a contact frequency information, and a touch duration Kind or more.
- 一种应用页面的启动装置,应用于电子设备,其中,包括:An application device for an application page is applied to an electronic device, including:获取模块,用于获取针对目标应用图标触控操作的操作信息;An obtaining module, configured to obtain operation information for a target application icon touch operation;确定模块,用于确定所述目标应用图标对应的应用标识集合,所述应用标识集合包括:已安装应用的第一应用标识、及未安装应用的第二应用标识;a determining module, configured to determine an application identifier set corresponding to the target application icon, where the application identifier set includes: a first application identifier of the installed application, and a second application identifier of the installed application;选取模块,用于根据所述操作信息从所述应用标识集合中选取目标应用标识;a selection module, configured to select a target application identifier from the application identifier set according to the operation information;第一启动模块,用于若所述目标应用标识为第二应用标识,则从服务器获取所述第二应用标识对应的第一配置文件,并根据所述第一配置文件启动目标应用页面。The first startup module is configured to: acquire the first configuration file corresponding to the second application identifier from the server, and start the target application page according to the first configuration file, if the target application identifier is the second application identifier.
- 根据权利要求8所述的应用页面的启动装置,其中,所述装置还包括:The device for initiating an application page according to claim 8, wherein the device further comprises:建立模块,用于在获取针对目标应用图标触控操作的操作信息之前,建立所述第一应用标识与所述目标应用图标之间的第一映射关系、以及建立所述第二应用标识与所述目标应用图标之间的第二映射关系;Establishing a module, configured to establish a first mapping relationship between the first application identifier and the target application icon, and establish the second application identifier and location, before acquiring operation information for the target application icon touch operation a second mapping relationship between the target application icons;所述确定模块用于:The determining module is used to:根据所述第一映射关系、及所述第二映射关系,获取与所述目标应用图标对应的第一应用标识以及第二应用标识,以得到所述应用标识集合。Acquiring the first application identifier and the second application identifier corresponding to the target application icon to obtain the application identifier set according to the first mapping relationship and the second mapping relationship.
- 根据权利要求8所述的应用页面的启动装置,其中,所述操作信息包括点击次数;所述选取模块包括:The activation device of the application page according to claim 8, wherein the operation information comprises a click count; the selection module comprises:匹配子模块,用于从多个样本次数中选取与所述点击次数匹配的目标样本次数;a matching submodule, configured to select, from a plurality of sample times, a number of target samples that match the number of clicks;获取子模块,用于从所述应用标识集合中获取与所述目标样本次数关联的应用标识,以作为目标应用标识。The obtaining sub-module is configured to obtain, from the application identifier set, an application identifier associated with the target sample number as the target application identifier.
- 根据权利要求8所述的应用页面的启动装置,其中,所述装置还包括:The device for initiating an application page according to claim 8, wherein the device further comprises:第二启动模块,用于若所述目标应用标识为第一应用标识,则从本地获取所述第一应用标识对应的第二配置文件,并根据所述第二配置文件启动目标应用页面。The second startup module is configured to: obtain the second configuration file corresponding to the first application identifier locally, and start the target application page according to the second configuration file, if the target application identifier is the first application identifier.
- 根据权利要求8所述的应用页面的启动装置,其中,所述第一配置文件包括描述所述第二应用标识所对应应用页面的全局配置信息;所述第一启动模块包括:The device for initiating an application page according to claim 8, wherein the first configuration file includes global configuration information describing an application page corresponding to the second application identifier; the first startup module includes:发送子模块,用于若所述目标应用标识为第二应用标识,则向服务器发送信息获取请求,所述信息获取请求携带所述第二应用标识;a sending sub-module, configured to: if the target application identifier is the second application identifier, send an information acquisition request to the server, where the information acquisition request carries the second application identifier;接收子模块,用于接收服务器根据所述文件获取请求返回的全局配置信息;a receiving submodule, configured to receive global configuration information returned by the server according to the file obtaining request;运行子模块,用于加载并运行操作系统中的脚本文件;Run a submodule to load and run script files in the operating system;显示子模块,用于通过所述脚本文件解析所述全局配置信息生成目标应用页面,并显示所述目标应用页面。And a display submodule, configured to parse the global configuration information by using the script file to generate a target application page, and display the target application page.
- 一种存储介质,其上存储有计算机程序,其中,当所述计算机程序在计算机上运行时,使得所述计算机执行以下步骤:A storage medium having stored thereon a computer program, wherein when the computer program is run on a computer, the computer is caused to perform the following steps:获取针对目标应用图标触控操作的操作信息;Obtaining operation information for the target application icon touch operation;确定所述目标应用图标对应的应用标识集合,所述应用标识集合包括:已安装应用的第一应用标识、及未安装应用的第二应用标识;Determining, by the target application icon, an application identifier set, where the application identifier set includes: a first application identifier of the installed application, and a second application identifier of the application not installed;根据所述操作信息从所述应用标识集合中选取目标应用标识;Selecting a target application identifier from the application identifier set according to the operation information;若所述目标应用标识为第二应用标识,则从服务器获取所述第二应用标识对应的第一配置文件,并根据所述第一配置文件启动目标应用页面。If the target application identifier is the second application identifier, the first configuration file corresponding to the second application identifier is obtained from the server, and the target application page is started according to the first configuration file.
- 一种电子设备,包括处理器和存储器,所述存储器有计算机程序,其中,所述处理器通过调用所述计算机程序,用于执行以下步骤:An electronic device comprising a processor and a memory, the memory having a computer program, wherein the processor is configured to perform the following steps by calling the computer program:获取针对目标应用图标触控操作的操作信息;Obtaining operation information for the target application icon touch operation;确定所述目标应用图标对应的应用标识集合,所述应用标识集合包括:已安装应用的第一应用标识、及未安装应用的第二应用标识;Determining, by the target application icon, an application identifier set, where the application identifier set includes: a first application identifier of the installed application, and a second application identifier of the application not installed;根据所述操作信息从所述应用标识集合中选取目标应用标识;Selecting a target application identifier from the application identifier set according to the operation information;若所述目标应用标识为第二应用标识,则从服务器获取所述第二应用标识对应的第一配置文件,并根据所述第一配置文件启动目标应用页面。If the target application identifier is the second application identifier, the first configuration file corresponding to the second application identifier is obtained from the server, and the target application page is started according to the first configuration file.
- 根据权利要求14所述的电子设备,其中,在获取针对目标应用图标触控操作的操作信息之前,所述处理器还用于执行以下步骤:The electronic device according to claim 14, wherein the processor is further configured to perform the following steps before acquiring operation information for the target application icon touch operation:建立所述第一应用标识与所述目标应用图标之间的第一映射关系,以及建立所述第二应用标识与所述目标应用图标之间的第二映射关系;Establishing a first mapping relationship between the first application identifier and the target application icon, and establishing a second mapping relationship between the second application identifier and the target application icon;
- 根据权利要求15所述的电子设备,其中,在确定所述目标应用图标对应的应用标识集合时,所述处理器还用于执行以下步骤:The electronic device according to claim 15, wherein the processor is further configured to perform the following steps when determining the application identification set corresponding to the target application icon:根据所述第一映射关系、及所述第二映射关系,获取与所述目标应用图标对应的第一应用标识以及第二应用标识,以得到所述应用标识集合。Acquiring the first application identifier and the second application identifier corresponding to the target application icon to obtain the application identifier set according to the first mapping relationship and the second mapping relationship.
- 根据权利要求14所述的电子设备,其中,所述操作信息包括点击次数;在根据所述操作信息从所述应用标识集合中选取目标应用标识时,所述处理器还用于执行以下步骤:The electronic device of claim 14, wherein the operation information comprises a number of clicks; and when the target application identifier is selected from the set of application identifiers according to the operation information, the processor is further configured to perform the following steps:从多个样本次数中选取与所述点击次数匹配的目标样本次数;Selecting the number of target samples matching the number of clicks from a plurality of sample times;从所述应用标识集合中获取与所述目标样本次数关联的应用标识,以作为目标应用标识。An application identifier associated with the target sample number is obtained from the application identifier set as a target application identifier.
- 根据权利要求14所述的电子设备,其中,若所述目标应用标识为第一应用标识,所述处理器还用于执行以下步骤:The electronic device of claim 14, wherein the processor is further configured to perform the following steps if the target application identifier is a first application identifier:从本地获取所述第一应用标识对应的第二配置文件,并根据所述第二配置文件启动目标应用页面。Acquiring a second configuration file corresponding to the first application identifier, and starting a target application page according to the second configuration file.
- 根据权利要求14所述的电子设备,其中,所述第一配置文件包括描述所述第二应用标识所对应应用页面的全局配置信息;The electronic device according to claim 14, wherein the first configuration file includes global configuration information describing an application page corresponding to the second application identifier;若所述目标应用标识为第二应用标识,则在从服务器获取所述第二应用标识对应的第一配置文件,并根据所述第一配置文件启动目标应用页面时,所述处理器还用于执行以下步骤:If the target application identifier is the second application identifier, when the first configuration file corresponding to the second application identifier is obtained from the server, and the target application page is started according to the first configuration file, the processor further uses Perform the following steps:向服务器发送信息获取请求,所述信息获取请求携带所述第二应用标识;Sending an information acquisition request to the server, where the information acquisition request carries the second application identifier;接收服务器根据所述文件获取请求返回的全局配置信息;Receiving global configuration information returned by the server according to the file acquisition request;加载并运行操作系统中的脚本文件;Load and run the script file in the operating system;通过所述脚本文件解析所述全局配置信息生成目标应用页面,并显示所述目标应用页面。Generating the target application page by parsing the global configuration information by the script file, and displaying the target application page.
- 根据权利要求14所述的电子设备,其中,获取针对目标应用图标触控操作的操作信息时,所述处理器还用于执行以下步骤:The electronic device according to claim 14, wherein the processor is further configured to perform the following steps when acquiring operation information for the target application icon touch operation:当检测到针对目标应用图标的触控操作时,生成信息获取指令;Generating an information acquisition instruction when a touch operation for the target application icon is detected;根据所述信息获取指令获取所述触控操作对应在目标应用图标上的操作信息,其中,所述操作信息包括点击次数、按压力度信息、接触面信息、接触频率信息、触控时长中的一种或多种。Acquiring, according to the information obtaining instruction, operation information corresponding to the touch target operation on the target application icon, where the operation information includes one of a click count, a press strength information, a contact surface information, a contact frequency information, and a touch duration Kind or more.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810150616.5 | 2018-02-13 | ||
CN201810150616.5A CN108363528B (en) | 2018-02-13 | 2018-02-13 | Application page starting method and device, storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2019157860A1 true WO2019157860A1 (en) | 2019-08-22 |
Family
ID=63002409
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2018/122519 WO2019157860A1 (en) | 2018-02-13 | 2018-12-21 | Method and device for launching application interface, storage medium, and electronic apparatus |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108363528B (en) |
WO (1) | WO2019157860A1 (en) |
Families Citing this family (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108363528B (en) * | 2018-02-13 | 2020-04-10 | Oppo广东移动通信有限公司 | Application page starting method and device, storage medium and electronic equipment |
EP3748493B1 (en) * | 2018-03-28 | 2023-04-05 | Huawei Technologies Co., Ltd. | Method and device for downloading installation-free application |
CN109491670A (en) * | 2018-09-30 | 2019-03-19 | 维沃移动通信有限公司 | A kind of page display method and terminal device |
CN109862096A (en) * | 2019-01-31 | 2019-06-07 | 网宿科技股份有限公司 | A kind of application configuration method, configuration management system and terminal |
CN110187889A (en) * | 2019-05-23 | 2019-08-30 | 腾讯科技(深圳)有限公司 | A kind of application starting method, apparatus and storage medium |
CN110378063B (en) * | 2019-07-26 | 2023-07-14 | 腾讯科技(深圳)有限公司 | Equipment deployment method and device based on intelligent building space and electronic equipment |
CN111026454A (en) * | 2019-11-25 | 2020-04-17 | 维沃移动通信有限公司 | Function starting method and terminal equipment |
CN111124205A (en) * | 2019-12-20 | 2020-05-08 | 维沃移动通信有限公司 | Application icon classification method and device, electronic equipment and medium |
CN111324431B (en) * | 2020-01-20 | 2023-08-11 | 北京梧桐车联科技有限责任公司 | Application switching method and device and computer storage medium |
CN113449228A (en) * | 2020-03-24 | 2021-09-28 | 北京沃东天骏信息技术有限公司 | Page rendering method and device |
CN112732349A (en) * | 2020-12-31 | 2021-04-30 | 深圳市珍爱捷云信息技术有限公司 | Method and device for loading SO library, electronic equipment and computer readable storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104536899A (en) * | 2015-01-20 | 2015-04-22 | 成都益联科创科技有限公司 | Software deploying and maintaining method based on intelligent cluster |
CN106325951A (en) * | 2016-08-30 | 2017-01-11 | 广西电网有限责任公司 | Automatic deployment method for application system supporting multiple databases and multiple middleware types |
CN106357777A (en) * | 2016-09-27 | 2017-01-25 | 武汉米企通网络科技有限公司 | Method for automatically and synchronously updating program and data based on Web server |
CN107329743A (en) * | 2017-06-14 | 2017-11-07 | 北京小米移动软件有限公司 | Methods of exhibiting, device and the storage medium of five application page |
CN108363528A (en) * | 2018-02-13 | 2018-08-03 | 广东欧珀移动通信有限公司 | Startup method, apparatus, storage medium and the electronic equipment of five application page |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140344801A1 (en) * | 2012-06-01 | 2014-11-20 | Google Inc. | Integrating a web application into an operating system |
CN105094862B (en) * | 2014-05-07 | 2019-04-09 | 阿里巴巴集团控股有限公司 | The method and browser whether detection application program is installed |
CN106528252B (en) * | 2016-12-09 | 2018-04-24 | 北京小米移动软件有限公司 | Object starts method and device |
CN106708580A (en) * | 2016-12-27 | 2017-05-24 | 北京奇虎科技有限公司 | Free-installation application program operating method, system and intelligent terminal |
CN107329777A (en) * | 2017-06-01 | 2017-11-07 | 深圳市金立通信设备有限公司 | Using startup method and terminal device |
-
2018
- 2018-02-13 CN CN201810150616.5A patent/CN108363528B/en active Active
- 2018-12-21 WO PCT/CN2018/122519 patent/WO2019157860A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104536899A (en) * | 2015-01-20 | 2015-04-22 | 成都益联科创科技有限公司 | Software deploying and maintaining method based on intelligent cluster |
CN106325951A (en) * | 2016-08-30 | 2017-01-11 | 广西电网有限责任公司 | Automatic deployment method for application system supporting multiple databases and multiple middleware types |
CN106357777A (en) * | 2016-09-27 | 2017-01-25 | 武汉米企通网络科技有限公司 | Method for automatically and synchronously updating program and data based on Web server |
CN107329743A (en) * | 2017-06-14 | 2017-11-07 | 北京小米移动软件有限公司 | Methods of exhibiting, device and the storage medium of five application page |
CN108363528A (en) * | 2018-02-13 | 2018-08-03 | 广东欧珀移动通信有限公司 | Startup method, apparatus, storage medium and the electronic equipment of five application page |
Also Published As
Publication number | Publication date |
---|---|
CN108363528A (en) | 2018-08-03 |
CN108363528B (en) | 2020-04-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2019157860A1 (en) | Method and device for launching application interface, storage medium, and electronic apparatus | |
US20210191996A1 (en) | Method for displaying application page, non-transitory storage medium and electronic device | |
WO2019149207A1 (en) | Display method, device, storage medium and electronic equipment for application page | |
US10846460B2 (en) | Method and apparatus for launching application page, and electronic device | |
WO2019157894A1 (en) | Application page display method and apparatus, storage medium and electronic device | |
JP6853397B2 (en) | Content integration in non-browser applications | |
CN108287917B (en) | File opening method and device, storage medium and electronic equipment | |
WO2019157880A1 (en) | Method and device for generating link for application page, storage medium, and electronic apparatus | |
WO2019149026A1 (en) | Method and device for generating link for application page, storage medium, and electronic apparatus | |
US12032820B2 (en) | Fast data copying method and electronic device | |
CN108549568B (en) | Application entry processing method and device, storage medium and electronic equipment | |
CN108287918B (en) | Music playing method and device based on application page, storage medium and electronic equipment | |
WO2020206691A1 (en) | Application processing method and apparatus, storage medium, and electronic device | |
CN108319708B (en) | Video playing method and device, storage medium and electronic equipment | |
WO2020052337A1 (en) | Information processing method and apparatus, storage medium, and electronic device | |
CN108345478B (en) | Application processing method and device, storage medium and electronic equipment | |
CN110020293B (en) | Multimedia data display method, device and storage medium | |
CN111538922B (en) | Link jump method, application client, device and storage medium | |
CN108769234B (en) | Application downloading method and device, storage medium and electronic equipment | |
CN110489679B (en) | Browser kernel processing method and device and storage medium | |
CN112559069B (en) | Running control method and device of sub-application, storage medium and electronic equipment | |
CN108563476B (en) | Application program running method and device, storage medium and electronic equipment | |
CN111124627B (en) | Method and device for determining call initiator of application program, terminal and storage medium | |
CN116156259A (en) | Display device and homepage replacement method | |
CN114048177A (en) | Sharing method and device, electronic device, storage medium and program product |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 18906502 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 18906502 Country of ref document: EP Kind code of ref document: A1 |