WO2019153986A1 - 应用的展示方法、装置、存储介质及电子设备 - Google Patents

应用的展示方法、装置、存储介质及电子设备 Download PDF

Info

Publication number
WO2019153986A1
WO2019153986A1 PCT/CN2019/070259 CN2019070259W WO2019153986A1 WO 2019153986 A1 WO2019153986 A1 WO 2019153986A1 CN 2019070259 W CN2019070259 W CN 2019070259W WO 2019153986 A1 WO2019153986 A1 WO 2019153986A1
Authority
WO
WIPO (PCT)
Prior art keywords
application interface
application
interface
search request
user
Prior art date
Application number
PCT/CN2019/070259
Other languages
English (en)
French (fr)
Inventor
熊晨宏
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2019153986A1 publication Critical patent/WO2019153986A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements 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/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming

Definitions

  • the present application relates to the field of electronic device technologies, and in particular, to an application display method, apparatus, storage medium, and electronic device.
  • the embodiment of the present application provides an application display method, device, storage medium, and electronic device, which can reduce the occupation of the display portal and reduce the traffic consumption.
  • the embodiment of the present application provides a display method of an application, including:
  • the first application interface and the second application interface are obtained according to the search request, and the first application interface and the second application interface are simultaneously displayed;
  • the first application interface is obtained according to the search request, and the first application interface is displayed; wherein the first application interface is an interface corresponding to the direct running application, and the second The application interface is the interface corresponding to the installation application.
  • the embodiment of the present application further provides an application display device, including:
  • a receiving module configured to receive a search request input by a user
  • a first determining module configured to determine, according to a preset rule, whether to acquire a second application interface, when the search request is received;
  • the first display module is configured to acquire the first application interface and the second application interface according to the search request, and display the first application interface and the second application interface simultaneously;
  • a second display module configured to acquire a first application interface according to the search request, and display the first application interface, where the first application interface is a direct running application corresponding to the first application interface
  • the interface of the second application interface is an interface corresponding to the installation application.
  • the embodiment of the present application further provides a storage medium, where the computer program stores a computer program, and when the computer program runs on the computer, causes the computer to execute the display method of the application.
  • the embodiment of the present application further provides an electronic device, including a processor and a memory, where the computer stores a computer program, and the processor is configured to execute by calling the computer program stored in the memory:
  • the first application interface and the second application interface are obtained according to the search request, and the first application interface and the second application interface are simultaneously displayed;
  • the first application interface is obtained according to the search request, and the first application interface is displayed; wherein the first application interface is an interface corresponding to the direct running application, and the second The application interface is the interface corresponding to the installation application.
  • FIG. 1 is a schematic flowchart diagram of a method for displaying an application according to an embodiment of the present application.
  • FIG. 2 is another schematic flowchart of a method for displaying an application according to an embodiment of the present disclosure.
  • FIG. 3 is a schematic diagram of a scenario of a method for displaying an application according to an embodiment of the present disclosure.
  • FIG. 9 is a schematic structural diagram of a display device of an application according to an embodiment of the present disclosure.
  • FIG. 10 is another schematic structural diagram of a display device of an application according to an embodiment of the present application.
  • FIG. 11 is still another schematic structural diagram of a display device of an application according to an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • FIG. 13 is another schematic structural diagram of an electronic device according to an embodiment of the present application.
  • the embodiment of the present application provides a display method of an application, including:
  • the first application interface and the second application interface are obtained according to the search request, and the first application interface and the second application interface are simultaneously displayed;
  • the first application interface is obtained according to the search request, and the first application interface is displayed; wherein the first application interface is an interface corresponding to the direct running application, and the second The application interface is the interface corresponding to the installation application.
  • the method further includes:
  • the second application interface is closed, and the shutdown record is generated and saved.
  • determining, according to a preset rule, whether the second application interface needs to be acquired includes:
  • determining, according to the preset rule, whether the second application interface needs to be acquired includes:
  • the number of the first triggers exceeds the preset threshold, the total number of times the user triggers the first application interface and triggers the second application interface is obtained, and the second trigger number is obtained.
  • the display method of the application further includes:
  • the second application interface is obtained according to the search request, and the first application interface and the second application interface are simultaneously displayed.
  • a prompt message is generated, where the prompt message is used to prompt the user to select to acquire the second application interface;
  • the second application interface is obtained according to the search request, and the first application interface and the second application interface are simultaneously displayed.
  • determining, according to the preset rule, whether the second application interface needs to be acquired includes:
  • the first triggering number does not exceed the preset threshold, it is determined that the second application interface needs to be acquired.
  • An embodiment of the present application provides a display method of an application, where the display method of the application can be applied to an electronic device.
  • the electronic device may be a device such as a smart phone or a tablet computer.
  • the method for displaying the application may include the following processes:
  • the search request may be an application name input by the user received by the electronic device through the search portal.
  • the search portal may be displayed by sliding down on the desktop of the electronic device, and then input at the search portal.
  • the name of the chat app may be displayed by sliding down on the desktop of the electronic device, and then input at the search portal.
  • the process 103 is performed. If the second application interface is not required to be obtained, the process 104 is performed. .
  • the first application interface and the second application interface are obtained according to the search request, and the first application interface and the second application interface are simultaneously displayed.
  • the first application interface is an interface corresponding to the first application, and the first application is an application that can be used without downloading and installing, that is, the first application interface is an interface corresponding to the directly running application, and the directly running application does not need to be downloaded.
  • the second application interface is an interface corresponding to the second application, and the second application is an application that needs to download the installation package before installation and is installed, and can be used after the installation is successful, that is, the second application.
  • the interface is the interface corresponding to the installation application.
  • the installation application is an application that needs to download the installation package before use and install it before the installation is successful.
  • the electronic device can directly acquire the first application interface according to the search request when receiving the search request input by the user. And the second application interface, and the first application interface and the second application interface are simultaneously displayed on the current screen. Then, the electronic device can detect whether the closing operation of the second application interface is received. If the electronic device receives the closing operation of the second application interface, the second application interface is closed, and the closing record is generated and saved, if the electronic device does not Upon receiving the shutdown operation on the second application interface, the second application interface is not closed.
  • the electronic device detects whether there is a shutdown record when receiving the search request input by the user, and if there is a shutdown record, the electronic device determines that the second application interface does not need to be acquired, then the electronic device The first application interface may be obtained according to the search request, and the first application interface is displayed. Considering that the user may want to use the second application at this time, the electronic device may generate a control for receiving the second application interface, that is, if the user is the same, while displaying the first application interface. When you want to use the second application, click on the control to get the second application interface.
  • a prompt message may be generated to prompt the user to select whether to acquire the second application interface. If the user clicks Yes, the electronic device acquires the second application interface and displays, that is, the electronic device displays the first application interface and the second application interface at the same time; if the user clicks No, the electronic device does not acquire the second application interface, that is, the electronic The device only shows the first application interface.
  • the control receives the click operation that is, when the electronic device receives the trigger operation on the control
  • the second application interface is directly obtained and displayed, that is, the electronic device will use the first application interface.
  • the second application interface is displayed at the same time; if the electronic device determines that the second application interface needs to be obtained, the electronic device may acquire the first application interface and the second application interface according to the search request, and the first application is The interface and the second application interface are simultaneously displayed on the current screen. Afterwards, the electronic device may further detect whether a shutdown operation on the second application interface is received. If the electronic device receives the shutdown operation on the second application interface, the second application interface is closed, and the shutdown record is generated and saved, if the electronic device If the shutdown operation on the second application interface is not received, the second application interface is not closed.
  • Case 1 When the user clicks on the operation of closing the second application interface when searching for the application, the electronic device can directly obtain only the first application interface and display. Considering that the user wants to use the second application at this time, the electronic device can generate a control for receiving the second application interface, that is, if the user is at this time, while displaying the first application interface. To use the second app, click on the control. Considering that the user may delay the control, when the control receives the click operation, that is, when the electronic device receives the trigger operation on the control, a prompt message may be generated to prompt the user to select to open the second application interface. If the user clicks Yes, the electronic device acquires the second application interface and displays, and if the user selects No, the electronic device does not acquire the second application interface. Considering the simplicity of the user operation, when the control receives the click operation, that is, when the electronic device receives the trigger operation on the control, the second application interface is directly acquired and displayed.
  • Case 2 The user does not click to close the second application interface when searching for the application multiple times.
  • the electronic device can obtain the number of times the user triggers the first application interface, obtain the first trigger number, and then electronically The device determines whether the first triggering number exceeds a preset threshold. If the electronic device determines that the first triggering number exceeds the preset threshold, the electronic device acquires the total number of times the user triggers the first application interface and triggers the second application interface, and obtains the second triggering number. The electronic device can compare the first trigger number with the second trigger number to obtain a comparison result. Then, the electronic device may determine, according to the comparison result, whether the second application interface needs to be acquired.
  • the electronic device determines that the second application interface needs to be acquired, and the electronic device acquires the first application interface according to the search request. And the second application interface, and the first application interface and the second application interface are simultaneously displayed. At this time, the electronic device can also detect whether the shutdown operation of the second application interface is received. If the shutdown operation of the second application interface is received, the electronic device closes the second application interface, and generates a shutdown record and saves; if the comparison result If the electronic device determines that the second application interface does not need to be acquired, the electronic device acquires only the first application interface and displays according to the search request. Considering that the user wants to use the second application at this time, the electronic device can generate a control for receiving the second application interface, that is, if the user is at this time, while displaying the first application interface. To use the second app, click on the control.
  • the electronic device may directly acquire the second application interface and display when the control receives the click operation, that is, when the electronic device receives the trigger operation on the control.
  • the first application interface and the second application interface are displayed simultaneously.
  • the electronic device may generate a prompt message prompting the user whether to choose to open the second application interface, if the user Click Yes, the electronic device obtains the second application interface and displays that the first application interface and the second application interface are displayed simultaneously; if the user clicks No, the electronic device does not acquire the second application interface, that is, only the first application interface is displayed.
  • the display method of the application provided in this embodiment may directly acquire the first application interface and display it when the user searches for multiple times, and each time the first application is started, or may directly acquire when the closed record is detected.
  • the first application interface shows that the consumption of the traffic is reduced because the second application interface is not required to be obtained, and the usage of the display portal is reduced because the second application interface does not need to be displayed.
  • FIG. 2 is another schematic flowchart of a method for displaying an application according to an embodiment of the present application.
  • the method can include:
  • the electronic device receives a search request entered by the user.
  • the search request may be information about the application input by the user at the search portal of the electronic device. For example, if the user wants to use a chat application, the name of the chat application may be input at the search portal of the electronic device, and the electronic device receives the information at this time.
  • the search request entered by the user can be the name of the chat application.
  • the electronic device determines, according to a preset rule, whether the second application interface needs to be acquired.
  • the electronic device may detect whether there is a closed record when receiving the search request input by the user, and if there is a closed record, the electronic device determines that the second application interface does not need to be acquired, and if there is no closed record, the electronic device It is determined that the second application interface needs to be obtained.
  • the electronic device may obtain the number of times the user triggers the first application interface, obtain the first number of triggers, and then the electronic device determines whether the first trigger number exceeds a preset threshold.
  • the electronic device acquires the total number of times the user triggers the first application interface and triggers the second application interface, and obtains the second number of triggers, and the electronic device compares the first trigger number with the second trigger number.
  • the comparison result is obtained, and then the electronic device determines, according to the comparison result, whether the second application interface needs to be acquired.
  • the comparison result is less than the preset value
  • the electronic device determines that the second application interface needs to be acquired.
  • the comparison result is greater than or equal to the preset value, the electronic device determines that the second application interface is not required to be acquired.
  • the preset threshold and the preset value may be preset by the user, or may be set by the electronic device. For example, if the preset threshold and the preset value are preset by the user, and the preset threshold is 8 times, the preset value is 90%, and the number of times the user triggers the first application interface is 9 times, triggering the first application interface.
  • the total number of times with the second application interface is 10. It can be known that the number of times the user triggers the first application interface exceeds a preset threshold, so that they can be compared, and the number of times the user triggers the first application interface is 90% of the total number of times. Therefore, it can be determined that the second application interface is not required to be acquired.
  • the number of times the user triggers the first application interface is nine, and the total number of times that the first application interface and the second application interface are triggered is 20 times.
  • the number of times exceeds the preset threshold. Therefore, the number of times that the user triggers the first application interface is 45% of the total number of times, which is lower than the preset value. Therefore, it can be determined that the second application interface needs to be acquired.
  • the determining, by the electronic device, whether the process of acquiring the second application interface is required according to the preset rule may include:
  • the first triggering number does not exceed the preset threshold, it is determined that the second application interface needs to be acquired.
  • the preset threshold is 8 times
  • the number of times the user triggers the first application interface is 5 times, that is, the number of first triggers is 5 times.
  • the first trigger number does not exceed the preset threshold, considering that the user may not often The frequency of using the first application or possibly using the second application is relatively high, so it is still necessary to acquire the first application interface and the second application interface at this time.
  • the electronic device sends a search request and whether to receive a second application interface instruction to the server.
  • the server receives a search request sent by the electronic device and receives a second application interface instruction.
  • the server In 205, the server generates a corresponding application interface according to the search request and whether to receive the second application interface instruction.
  • the server sends the corresponding application interface to the electronic device.
  • the electronic device receives the corresponding application interface and displays a corresponding application interface.
  • the server may generate a first application interface according to the search request and the instruction, and send the first application interface to the electronic device, where the electronic device receives the first application interface. After that, the first application interface is displayed.
  • the server may generate the first application interface and the second application interface according to the search request and the instruction, and send the first application interface and the second application interface to the electronic device, the electronic device After receiving the first application interface and the second application interface, the first application interface and the second application interface are simultaneously displayed.
  • the display method of the application provided in this embodiment may directly acquire the first application interface and display it when the user searches for multiple times, and each time the first application is started, or may directly acquire when the closed record is detected.
  • the first application interface shows that the consumption of the traffic is reduced because the second application interface is not required to be obtained, and the usage of the display portal is reduced because the second application interface does not need to be displayed.
  • FIG. 3 to FIG. 8 are schematic diagrams of scenarios of an application display method according to an embodiment of the present application.
  • the search function module can be called down on the main interface of the electronic device, and then the application A is input in the search field, which is assumed to be the first time the user uses the search function.
  • the module search application because the user does not understand the user's preference at this time, the electronic device can directly display the first application A interface and the second application A interface corresponding to the application A for the user to select, wherein the first application A interface is The interface corresponding to the first application A, the first application A is an application A that can be used without downloading and installing; the second application A interface is an interface corresponding to the second application A, and the second application A needs to be downloaded and installed before being used.
  • the display mode can be as shown in FIG. 3, in which the first application A interface is displayed in the first column, the second application A interface is displayed in the second column, and a second display interface is displayed in the second column.
  • the user can check that the interface is no longer displayed, and the operation of no longer displaying the interface is selected, that is, the closing operation of the second application interface is performed, that is, when the user selects the
  • the electronic device receives the shutdown operation of the second application interface.
  • the electronic device can detect that the second application interface is closed. Interface without displaying the second application interface.
  • the electronic device when the user selects the interface no longer displayed in a certain search, the electronic device will display only the second application interface corresponding to the application searched by the user in the search after the user. It is worth noting that when the user selects the interface no longer displayed, then in the search after the user, the electronic device will only display the first application interface, regardless of whether the user searches for the same application multiple times or searches for different applications multiple times.
  • the first application interface may be displayed in a column, but considering that the user may need to use the second application, the electronic device may generate a control and display it in a column where the first application interface is located, The control is configured to receive an acquisition operation on the second application interface.
  • the user is not selected to display the interface, but each time the user searches for the application, the launched application is the first application.
  • the electronic device can obtain the user trigger.
  • the number of times of the application interface when the electronic device detects that the number of times the user triggers the first application interface exceeds a preset threshold, the electronic device may acquire the total number of times the user triggers the first application interface and triggers the second application interface, which will trigger the first
  • the number of times of an application interface is compared with the total number of times, and it is determined according to the comparison result whether the second application interface needs to be acquired. If the comparison result is less than the preset value, the electronic device determines that the second application interface needs to be acquired. If the comparison result is greater than or equal to the preset value, the electronic device determines that the second application interface does not need to be acquired.
  • the preset threshold and the preset value may be set by the user, or may be set by the electronic device according to actual conditions, and the preset threshold is assumed to be 10 times, and the preset value is 90%. That is, when the user has not checked the interface that is no longer displayed, when the electronic device detects that the number of times the user triggers the first application interface is 10 times, the electronic device may acquire the total of the first application interface and the second application interface triggered by the user. The number of times is assumed to be 11 times. The electronic device determines that the number of times the user triggers the first application interface is about 91% of the total number of times. If the preset value is exceeded, the electronic device determines that the electronic device does not need to acquire the first time.
  • the second application interface at this time, the electronic device can directly obtain the first application interface and display it when receiving the search request of the user, as shown in FIG. 5 .
  • the electronic device may also generate a control, which is displayed in a column displaying the first application interface, and the control is configured to receive the acquisition operation of the second application interface; when the electronic device detects the user pair
  • the triggering operation of the first application is less than 10 times, since the number of triggers is relatively small, considering that the user may not use the first application frequently, the interface may not be checked to shield the second application interface, so the electronic device may The first application interface and the second application interface are simultaneously displayed for the user to select.
  • the electronic device when the electronic device receives the user's click operation on the control, the user may generate a prompt message for prompting the user to obtain the second application A interface. If the user selects yes, the electronic device acquires the second application A interface and displays, and if the user selects no, the second application A interface is not acquired. Considering the simplicity of the user operation, the electronic device can directly obtain the second application A interface and display it when receiving the click operation on the control.
  • the user invokes the search function module to prepare the search application, and assumes that the user searches for the application using the search function module for the first time, then the electronic device can be called out by the user.
  • searching for the function module the first application interface or the second application interface which is popular in the recent period of time is displayed in the display column; if the user searches for the application using the search function module for the Nth time, the electronic device can be in the user.
  • the first application interface or the second application interface frequently used by the user in the latest time period is displayed in the display bar.
  • the application when the user searches for an application in an application store that is provided by the electronic device, the application may also be displayed according to the display method of the application mentioned in this embodiment.
  • the electronic device when the user searches for the application for the first time, the electronic device simultaneously acquires the first application interface and the second application interface, and displays the second application interface when the electronic device receives the closing operation of the second application interface.
  • the shutdown record is generated and saved.
  • the electronic device When the user searches for the application again, the electronic device only obtains the first application interface and displays it, so that the second application interface that is not needed to be used is not required to be obtained from the server, thereby reducing the consumption of the traffic.
  • the electronic device can obtain the user trigger. If the number of times of the application interface is determined, the number of times that the user triggers the first application interface exceeds a preset threshold. If the preset threshold is exceeded, the electronic device may obtain the total number of times the user triggers the first application interface and the second application interface, and the trigger will be triggered. The number of times of the first application interface is compared with the total number of times, and the comparison result is obtained. The electronic device determines whether it is necessary to acquire the second application interface according to the comparison result.
  • the electronic device may determine that the second application interface needs to be acquired when the comparison result is less than the preset value, and the electronic device acquires the first application interface and the second application interface and displays the electronic device, where the comparison result is greater than or equal to the preset value. If it is determined that the second application interface is not required to be acquired, the electronic device only acquires the first application interface and displays the same.
  • the display method of the application provided in this embodiment may directly acquire the first application interface and display it when the user searches for multiple times, and each time the first application is started, or may directly acquire when the closed record is detected.
  • the first application interface shows that the consumption of the traffic is reduced because the second application interface is not required to be obtained, and the usage of the display portal is reduced because the second application interface does not need to be displayed.
  • the embodiment of the present application further provides an application display device, including:
  • a receiving module configured to receive a search request input by a user
  • a first determining module configured to determine, according to a preset rule, whether to acquire a second application interface, when the search request is received;
  • the first display module is configured to acquire the first application interface and the second application interface according to the search request, and display the first application interface and the second application interface simultaneously;
  • a second display module configured to acquire a first application interface according to the search request, and display the first application interface, where the first application interface is a direct running application corresponding to the first application interface
  • the interface of the second application interface is an interface corresponding to the installation application.
  • the apparatus further includes:
  • a first detecting module configured to detect whether a shutdown operation on the second application interface is received
  • the apparatus further includes:
  • a second detecting module configured to detect whether there is a closed record
  • the first determining module is configured to determine whether it is necessary to acquire the second application interface according to whether the closed record exists; when there is a closed record, it is determined that the second application interface is not required to be acquired; when there is no closed record, determining In order to obtain a second application interface.
  • the apparatus further includes:
  • the first obtaining module is configured to obtain the number of times the user triggers the first application interface, and obtain the first triggering number;
  • a second determining module configured to determine whether the first triggering number exceeds a preset threshold
  • the second acquiring module is configured to obtain a total number of times that the user triggers the first application interface and triggers the second application interface, and obtains the second triggering number, if the first triggering number exceeds the preset threshold.
  • a comparison module configured to compare the first trigger number with the second trigger number to obtain a comparison result
  • the first determining module is configured to determine, according to the comparison result, whether the second application interface needs to be acquired; if the comparison result is less than the preset value, determine that the second application interface needs to be acquired; if the comparison result is greater than or equal to the preset value, Then it is determined that it is not necessary to acquire the second application interface.
  • the apparatus further includes:
  • a generating module configured to: when acquiring the first application interface according to the search request, and displaying the first application interface, generate a control, where the control is configured to receive an acquisition operation on the second application interface;
  • a third display module configured to acquire a second application interface according to the search request, and display the first application interface and the second application interface at the same time when receiving the triggering operation on the control.
  • the embodiment of the present application further provides an application display device, where the display device of the application can be integrated into an electronic device, and the electronic device can be a terminal device such as a smart phone or a tablet computer.
  • the display device 300 of the application may include: a receiving module 301, a first determining module 302, a first displaying module 303, and a second displaying module 304.
  • the receiving module 301 is configured to receive a search request input by a user.
  • the first determining module 302 is configured to determine, according to a preset rule, whether to acquire the second application interface, when the search request is received.
  • the first display module 303 is configured to acquire the first application interface and the second application interface according to the search request, and display the first application interface and the second application interface simultaneously ;
  • the second display module 304 is configured to acquire the first application interface according to the search request, and display the first application interface, where the first application interface is a direct running application.
  • the second application interface is an interface corresponding to the installation application.
  • the first determining module 302 may be configured to: obtain a number of times the user triggers the first application interface, obtain a first triggering number, and determine whether the first triggering number exceeds a preset threshold; If the first triggering number does not exceed the preset threshold, it is determined that the second application interface needs to be acquired.
  • FIG. 10 is another schematic structural diagram of an application display device according to an embodiment of the present disclosure.
  • the display device 300 of the application may further include:
  • the second detecting module 309 is configured to detect whether there is a closed record.
  • the first determining module 302 can be used to:
  • the first detecting module 305 is configured to detect whether a closing operation on the second application interface is received.
  • the closing module 306 is configured to: if the closing operation of the second application interface is received, close the second application interface, and generate a shutdown record and save.
  • the generating module 307 is configured to: when acquiring the first application interface according to the search request, and displaying the first application interface, generate a control, where the control is configured to receive an acquisition operation on the second application interface.
  • the third display module 308 is configured to: when receiving the triggering operation on the control, acquire the second application interface according to the search request, and display the first application interface and the second application interface at the same time.
  • the third display module 308 can be configured to: when receiving a triggering operation on the control, generate a prompt message, where the prompt message is used to prompt the user to select to acquire the second application interface. If the user selects to obtain the second application interface, the second application interface is obtained according to the search request, and the first application interface and the second application interface are simultaneously displayed.
  • FIG. 11 is another schematic structural diagram of an application display device according to an embodiment of the present disclosure.
  • the display device 300 of the application may further include:
  • the first obtaining module 310 is configured to obtain the number of times the user triggers the first application interface, and obtain the first triggering number.
  • the second determining module 311 is configured to determine whether the first triggering number exceeds a preset threshold.
  • the second obtaining module 312 is configured to obtain a total number of times that the user triggers the first application interface and triggers the second application interface, and obtains the second number of triggers, if the first triggering number exceeds the preset threshold.
  • the comparison module 313 is configured to compare the first trigger number with the second trigger number to obtain a comparison result.
  • the first determining module 302 can be used to:
  • the comparison result it is determined whether the second application interface needs to be acquired; if the comparison result is less than the preset value, it is determined that the second application interface needs to be acquired; if the comparison result is greater than or equal to the preset value, it is determined that the second application is not required to be acquired. interface.
  • the first detecting module 305 is configured to detect whether a closing operation on the second application interface is received.
  • the closing module 306 is configured to: if the closing operation of the second application interface is received, close the second application interface, and generate a shutdown record and save.
  • the generating module 307 is configured to: when acquiring the first application interface according to the search request, and displaying the first application interface, generate a control, where the control is configured to receive an acquisition operation on the second application interface.
  • the third display module 308 is configured to: when receiving the triggering operation on the control, acquire the second application interface according to the search request, and display the first application interface and the second application interface at the same time.
  • the display device of the application provided in this embodiment may directly acquire the first application interface and display it when the user searches for multiple times, and each time the first application is started, or may directly acquire when the closed record is detected.
  • the first application interface shows that the consumption of the traffic is reduced because the second application interface is not required to be obtained, and the usage of the display portal is reduced because the second application interface does not need to be displayed.
  • each of the above modules may be implemented as a separate entity, or may be implemented in any combination as one or several entities.
  • the embodiment of the present application further provides an electronic device, including a memory, a processor, wherein the memory stores a computer program, and the processor is configured to perform the implementation of the embodiment by calling the computer program stored in the memory.
  • the process in the application's presentation method may be a mobile terminal such as a tablet or a smart phone.
  • FIG. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
  • the electronic device 400 can include components such as a display unit 401, a memory 402, a processor 403, and the like. It will be understood by those skilled in the art that the electronic device structure illustrated in FIG. 12 does not constitute a limitation on the electronic device, and may include more or less components than those illustrated, or a combination of certain components, or different component arrangements.
  • the display unit 401 may include, for example, a display screen or the like.
  • Memory 402 can be used to store applications and data.
  • the application stored in the memory 402 contains executable code.
  • Applications can form various functional modules.
  • the processor 403 executes various functional applications and data processing by running an application stored in the memory 402.
  • the processor 403 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, executes the electronic device by running or executing an application stored in the memory 402, and calling data stored in the memory 402. The various functions and processing of data to provide overall monitoring of the electronic device.
  • the processor 403 in the electronic device loads the executable code corresponding to the process of one or more applications into the memory 402 according to the following instructions, and is executed by the processor 403 to be stored in the memory.
  • the application in 402 thus implementing the process:
  • the electronic device 500 may include components such as a display unit 501, a memory 502, a processor 503, an input unit 504, an output unit 505, and the like.
  • the display unit 501 can include, for example, a display screen or the like.
  • Memory 502 can be used to store applications and data.
  • the application stored in the memory 502 contains executable code.
  • Applications can form various functional modules.
  • the processor 503 executes various functional applications and data processing by running an application stored in the memory 502.
  • the processor 503 is a control center of the electronic device, and connects various parts of the entire electronic device using various interfaces and lines, executes the electronic device by running or executing an application stored in the memory 502, and calling data stored in the memory 502. The various functions and processing of data to provide overall monitoring of the electronic device.
  • the input unit 504 can be configured to receive input digits, character information or user characteristic information (such as fingerprints), and to generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function controls.
  • the output unit 505 can be used to display information input by the user or information provided to the user as well as various graphical user interfaces of the electronic device, which can be composed of graphics, text, icons, video, and any combination thereof.
  • the output unit may include a display panel.
  • the processor 503 in the electronic device loads the executable code corresponding to the process of one or more applications into the memory 502 according to the following instructions, and is stored in the memory by the processor 503.
  • the application in 502 thus implementing the process:
  • the processor 503 after the processor 503 performs the process of acquiring the first application interface and the second application interface according to the search request, and displaying the first application interface and the second application interface simultaneously, And performing: detecting whether a shutdown operation on the second application interface is received; if receiving a shutdown operation on the second application interface, closing the second application interface, and generating a shutdown record and saving.
  • the processor 503 when the processor 503 performs the process of determining whether the second application interface needs to be acquired according to the preset rule when receiving the search request input by the user, the processor 503 may perform: detecting whether there is a shutdown record; If the closed record is present, it is determined that the second application interface is not required to be obtained. If the closed record is not present, it is determined that the second application interface is not required to be obtained.
  • the processor 503 may perform: obtaining the number of times the user triggers the first application interface. And obtaining a first number of times of the triggering; determining whether the first number of triggers exceeds a preset threshold; if the first number of triggers exceeds a preset threshold, acquiring a total number of times the user triggers the first application interface and triggering the second application interface, The number of the second triggers is compared with the number of the second triggers to obtain a comparison result. According to the comparison result, it is determined whether the second application interface needs to be acquired. If the comparison result is smaller than the preset value, it is determined that the second application needs to be acquired. If the comparison result is greater than or equal to the preset value, it is determined that the second application interface does not need to be acquired.
  • the processor 503 is further configured to: when acquiring the first application interface according to the search request, and presenting the first application interface, generate a control, where the control is configured to receive a second application interface The obtaining operation, when receiving the triggering operation on the control, acquiring the second application interface according to the search request, and displaying the first application interface and the second application interface simultaneously.
  • the processor 503 performs, when receiving the triggering operation on the control, acquiring the second application interface according to the search request, and the first application interface and the second application interface.
  • the user may: when receiving the triggering operation on the control, generate a prompt message, where the prompt message is used to prompt the user to select to obtain the second application interface; if the user selects to obtain the second application interface And acquiring a second application interface according to the search request, and displaying the first application interface and the second application interface at the same time.
  • the processor 503 when the processor 503 performs the process of determining whether the second application interface needs to be acquired according to the preset rule, the processor 503 may perform: obtaining the number of times the user triggers the first application interface. And determining, by the first triggering number, whether the first triggering number exceeds a preset threshold; if the first triggering number does not exceed a preset threshold, determining that the second application interface needs to be acquired.
  • the display device of the application provided by the embodiment of the present application is the same as the display method of the application in the above embodiment, and any one of the embodiments provided in the embodiment of the display method of the application may be run on the display device of the application.
  • the specific implementation process of the method is described in the embodiment of the display method of the application, and details are not described herein again.
  • the embodiment of the present application further provides a storage medium, where the computer program stores a computer program, and when the computer program runs on a computer, the computer executes the display method of the application described in any of the foregoing embodiments.
  • the storage medium may include, but is not limited to, a read only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Stored Programmes (AREA)

Abstract

本申请提供一种应用的展示方法、装置、存储介质及电子设备,该方法包括:接收用户输入的搜索请求;在接收到搜索请求时,根据预设规则判断是否需要获取第二应用接口;若需要,则根据搜索请求获取第一应用接口及第二应用接口,并将第一应用接口和第二应用接口同时展示;若不需要,则根据搜索请求获取并展示第一应用接口。

Description

应用的展示方法、装置、存储介质及电子设备
本申请要求于2018年02月11日提交中国专利局、申请号为201810142767.6、申请名称为“应用的展示方法、装置、存储介质及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及电子设备技术领域,特别涉及一种应用的展示方法、装置、存储介质及电子设备。
背景技术
近年来,随着互联网的发展和移动通信网络的发展,同时也伴随着电子设备的处理能力和存储能力迅猛发展,海量的应用得到了迅速传播和使用;常用的应用在方便用户工作和生活的同时,不乏新开发的应用也进入到用户的日常生活,提高了用户的生活质量、使用电子设备的频率以及使用的娱乐感。
然而,随着安装的应用越来越多,以及应用的功能逐渐完善,所占用的存储空间也逐渐增大,但电子设备的存储空间是有限的,因此很可能会影响操作系统的正常运行。为了减少占用的存储空间,提出了一种不需要下载安装即可使用的应用,也即直接运行应用。传统的应用在使用前需要先下载安装软件包,并进行安装,在安装成功后才能使用,也即安装应用。
发明内容
本申请实施例提供一种应用的展示方法、装置、存储介质及电子设备,可以减少展示入口的占用,降低流量消耗。
本申请实施例提供一种应用的展示方法,包括:
接收用户输入的搜索请求;
在接收到所述搜索请求时,根据预设规则判断是否需要获取第二应用接口;
若需要获取第二应用接口,则根据所述搜索请求获取第一应用接口及所述第二应用接口,并将所述第一应用接口和第二应用接口同时展示;
若不需要获取第二应用接口,则根据所述搜索请求获取第一应用接口,并展示所述第一应用接口;其中,所述第一应用接口为直接运行应用对应的接口,所述第二应用接口为安装应用对应的接口。
本申请实施例还提供一种应用的展示装置,包括:
接收模块,用于接收用户输入的搜索请求;
第一判断模块,用于在接收到所述搜索请求时,根据预设规则判断是否需要获取第二应用接口;
第一展示模块,用于若需要获取第二应用接口,则根据所述搜索请求获取第一应用接口及所述第二应用接口,并将所述第一应用接口和第二应用接口同时展示;
第二展示模块,用于若不需要获取第二应用接口,则根据所述搜索请求获取第一应用接口,并展示所述第一应用接口;其中,所述第一应用接口为直接运行应用对应的接口,所述第二应用接口为安装应用对应的接口。
本申请实施例还提供一种存储介质,所述存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行上述应用的展示方法。
本申请实施例还提供一种电子设备,包括处理器和存储器,所述存储器中存储有计算机程序,所述处理器通过调用所述存储器中存储的所述计算机程序,用于执行:
接收用户输入的搜索请求;
在接收到所述搜索请求时,根据预设规则判断是否需要获取第二应用接口;
若需要获取第二应用接口,则根据所述搜索请求获取第一应用接口及所述第二应用接口,并将所述第一应用接口和第二应用接口同时展示;
若不需要获取第二应用接口,则根据所述搜索请求获取第一应用接口,并展示所述第一应用接口;其中,所述第一应用接口为直接运行应用对应的接口,所述第二应用接口为安装应用对应的接口。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍。显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本申请实施例提供的应用的展示方法的流程示意图。
图2为本申请实施例提供的应用的展示方法的另一流程示意图。
图3至图8为本申请实施例提供的应用的展示方法的场景示意图。
图9为本申请实施例提供的应用的展示装置的结构示意图。
图10为本申请实施例提供的应用的展示装置的另一结构示意图。
图11为本申请实施例提供的应用的展示装置的又一结构示意图。
图12为本申请实施例提供的电子设备的结构示意图。
图13为本申请实施例提供的电子设备的另一结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有付出创造性劳动前提下所获得的所有其他实施例,都属于本申请的保护范围。
本申请的说明书和权利要求书以及上述附图中的术语“第一”、“第二”、“第三”等(如果存在)是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应当理解,这样描述的对象在适当情况下可以互换。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含。例如,包含了一系列流程的过程、方法或包含了一系列模块或单元的装置、电子设备、系统不必限于清楚地列出的那些流程或模块或单元,还可以包括没有清楚地列出的流程或模块或单元,也可以包括对于这些过程、方法、装置、电子设备或系统固有的其它流程或模块或单元。
本申请实施例提供一种应用的展示方法,包括:
接收用户输入的搜索请求;
在接收到所述搜索请求时,根据预设规则判断是否需要获取第二应用接口;
若需要获取第二应用接口,则根据所述搜索请求获取第一应用接口及所述第二应用接口,并将所述第一应用接口和第二应用接口同时展示;
若不需要获取第二应用接口,则根据所述搜索请求获取第一应用接口,并展示所述第一应用接口;其中,所述第一应用接口为直接运行应用对应的接口,所述第二应用接口为安装应用对应的接口。
在一些实施例中,在所述根据所述搜索请求获取第一应用接口及所述第二应用接口,并将所述第一应用接口和第二应用接口同时展示之后,还包括:
检测是否接收到对所述第二应用接口的关闭操作;
若接收到对所述第二应用接口的关闭操作,则关闭所述第二应用接口,同时生成关闭记录并保存。
在一些实施例中,所述在接收到用户输入的搜索请求时,根据预设规则判断是否需要 获取第二应用接口,包括:
检测是否存在关闭记录;
根据所述关闭记录是否存在,判断是否需要获取第二应用接口;
当存在关闭记录,则判定为不需要获取第二应用接口;
当不存在关闭记录,则判定为需要获取第二应用接口。
在一些实施例中,所述在接收到用户输入的搜索请求时,根据预设规则判断是否需要获取第二应用接口,包括:
获取用户触发第一应用接口的次数,得到第一触发次数;
判断第一触发次数是否超过预设阈值;
若所述第一触发次数超过预设阈值,则获取用户触发第一应用接口和触发第二应用接口的总次数,得到第二触发次数;
将第一触发次数与第二触发次数相比较,得到比较结果;
根据比较结果,判断是否需要获取第二应用接口;
若比较结果小于预设值,则判定为需要获取第二应用接口;
若比较结果大于或等于预设值,则判定为不需要获取第二应用接口。
在一些实施例中,所述应用的展示方法还包括:
在根据所述搜索请求获取第一应用接口,并展示所述第一应用接口时,生成一控件,所述控件用于接收对第二应用接口的获取操作;
当接收到对所述控件的触发操作时,根据所述搜索请求获取第二应用接口,并将所述第一应用接口和所述第二应用接口同时展示。
在一些实施例中,所述当接收到对所述控件的触发操作时,根据所述搜索请求获取第二应用接口,并将所述第一应用接口和所述第二应用接口同时展示,包括:
当接收到对所述控件的触发操作时,生成一提示消息,所述提示消息用于提示用户是否选择获取第二应用接口;
若用户选择获取第二应用接口,则根据所述搜索请求获取第二应用接口,并将所述第一应用接口和所述第二应用接口同时展示。
在一些实施例中,所述在接收到用户输入的搜索请求时,根据预设规则判断是否需要获取第二应用接口,包括:
获取用户触发第一应用接口的次数,得到第一触发次数;
判断所述第一触发次数是否超过预设阈值;
若所述第一触发次数不超过预设阈值,则判定为需要获取第二应用接口。
本申请实施例提供一种应用的展示方法,所述应用的展示方法可以应用于电子设备中。所述电子设备可以是智能手机、平板电脑等设备。如图1所示,所述应用的展示方法,可以包括以下流程:
101,接收用户输入的搜索请求。
其中,该搜索请求可以为电子设备通过搜索入口接收到的用户输入的应用名称,例如,用户想搜索某聊天应用,则可以通过在电子设备桌面往下滑以显示搜索入口,然后在该搜索入口输入该聊天应用的名称。
102,在接收到所述搜索请求时,根据预设规则判断是否需要获取第二应用接口,若需要获取第二应用接口,则执行流程103,若不需要获取第二应用接口,则执行流程104。
103,根据所述搜索请求获取第一应用接口及所述第二应用接口,并将所述第一应用接口和第二应用接口同时展示。
104,根据所述搜索请求获取第一应用接口,并展示所述第一应用接口。
其中,第一应用接口为第一应用对应的接口,该第一应用为不需要下载安装即可使用 的应用,即第一应用接口为直接运行应用对应的接口,该直接运行应用为不需要下载安装即可使用的应用;第二应用接口为第二应用对应的接口,该第二应用为在使用前需要先下载安装包,并进行安装,在安装成功后才能使用的应用,即第二应用接口为安装应用对应的接口,该安装应用为在使用前需要先下载安装包,并进行安装,在安装成功后才能使用的应用。
可以理解的是,当用户第一次打开搜索入口搜索应用时,由于此时不了解用户使用应用的偏好,电子设备可以在接收到用户输入的搜索请求时直接根据该搜索请求获取第一应用接口和第二应用接口,并将第一应用接口和第二应用接口同时展示在当前屏幕。然后,电子设备可以检测是否接收到对第二应用接口的关闭操作,如果电子设备接收到对第二应用接口的关闭操作,则关闭第二应用接口,同时生成关闭记录并保存,如果电子设备没有接收到对第二应用接口的关闭操作,则不关闭第二应用接口。
当用户再次打开搜索入口搜索应用时,则电子设备在接收到用户输入的搜索请求时,检测是否存在关闭记录,若存在关闭记录,则电子设备判定为不需要获取第二应用接口,那么电子设备可以根据该搜索请求获取第一应用接口,并展示该第一应用接口。考虑到用户此时可能想使用第二应用,所以此时,电子设备可以在展示第一应用接口的同时,生成一控件,该控件用于接收对第二应用接口的获取操作,即用户若是此时想使用第二应用,则点击该控件来获取第二应用接口。考虑到用户可能误点该控件的情况,所以在该控件接收到该点击操作时,即当电子设备接收到对该控件的触发操作时,可以生成一提示消息,提示用户选择是否获取第二应用接口,若用户点击是,则电子设备获取第二应用接口并展示,即电子设备将第一应用接口和第二应用接口同时展示;若用户点击否,则电子设备不获取第二应用接口,即电子设备仅仅展示第一应用接口。考虑到用户操作的简便性,也可以在该控件接收到点击操作时,即当电子设备接收到对该控件的触发操作时,直接获取第二应用接口并展示,即电子设备将第一应用接口和第二应用接口同时展示;若不存在关闭记录,则电子设备判定为需要获取第二应用接口,那么电子设备可以根据该搜索请求获取第一应用接口及第二应用接口,并将第一应用接口和第二应用接口同时展示在当前屏幕。之后,电子设备还可以检测是否接收到对第二应用接口的关闭操作,如果电子设备接收到对第二应用接口的关闭操作,则关闭第二应用接口,同时生成关闭记录并保存,如果电子设备没有接收到对第二应用接口的关闭操作,则不关闭第二应用接口。
当电子设备多次接收到用户输入搜索请求时,此时考虑到可以存在两种情况。
情况一:用户在其中某次搜索应用时,点击了关闭第二应用接口的操作,那么电子设备可以直接只获取第一应用接口并展示。考虑到用户此时想使用第二应用,所以此时,电子设备可以在展示第一应用接口的同时,生成一控件,该控件用于接收对第二应用接口的获取操作,即用户若是此时想使用第二应用,则点击该控件。考虑到用户可能误点该控件的情况,所以在该控件接收到该点击操作时,即当电子设备接收到对该控件的触发操作时,可以生成一提示消息,提示用户是否选择打开第二应用接口,若用户点击是,则电子设备获取第二应用接口并展示,若用户选择否,则电子设备不获取第二应用接口。考虑到用户操作的简便性,也可以在该控件接收到点击操作时,即当电子设备接收到对该控件的触发操作时,直接获取第二应用接口并展示。
情况二:用户在多次搜索应用时,都没有点击关闭第二应用接口的操作,那么在这种情况下,电子设备可以获取用户触发第一应用接口的次数,得到第一触发次数,然后电子设备判断第一触发次数是否超过预设阈值,若电子设备判定第一触发次数超过预设阈值,则电子设备获取用户触发第一应用接口和触发第二应用接口的总次数,得到第二触发次数,电子设备可以将第一触发次数与第二触发次数相比较,得到比较结果。然后,电子设备可以根据比较结果,判断是否需要获取第二应用接口,若比较结果小于预设值,则电子设备 判定为需要获取第二应用接口,那么电子设备就根据搜索请求获取第一应用接口和第二应用接口,并将第一应用接口和第二应用接口同时展示。此时电子设备也可以检测是否接收到对第二应用接口的关闭操作,若接收到对第二应用接口的关闭操作,则电子设备关闭第二应用接口,并生成关闭记录并保存;若比较结果大于或等于预设值,则电子设备判定为不需要获取第二应用接口,那么电子设备根据搜索请求只获取第一应用接口并展示。考虑到用户此时想使用第二应用,所以此时,电子设备可以在展示第一应用接口的同时,生成一控件,该控件用于接收对第二应用接口的获取操作,即用户若是此时想使用第二应用,则点击该控件。
在一些实施方式中,考虑到用户操作的简便性,可以在该控件接收到点击操作时,即当电子设备接收到对该控件的触发操作时,电子设备可以直接获取第二应用接口并展示,即将第一应用接口和第二应用接口同时展示。
在一些实施方式中,考虑到用户可能误点该控件的情况,所以当电子设备接收到对该控件的触发操作时,电子设备可以生成一提示消息,提示用户是否选择打开第二应用接口,若用户点击是,则电子设备获取第二应用接口并展示,即将第一应用接口和第二应用接口同时展示;若用户点击否,则电子设备不获取第二应用接口,即仅仅展示第一应用接口。
本实施例提供的应用的展示方法,可以在用户多次搜索,而每一次均启动第一应用的情况下,直接获取第一应用接口并展示,或者可以在检测到存在关闭记录时,直接获取第一应用接口并展示,由于不需要获取第二应用接口,降低了流量的消耗,且由于不需要展示第二应用接口,减少了展示入口的占用。
请参阅图2,图2为本申请实施例提供的应用的展示方法的另一流程示意图。所述方法可以包括:
在201中,电子设备接收用户输入的搜索请求。
其中,该搜索请求可以为用户在电子设备的搜索入口输入的关于应用的信息,例如,用户想使用某聊天应用,则可以在电子设备的搜索入口输入该聊天应用的名称,电子设备此时接收到用户输入的搜索请求则可以是该聊天应用的名称。
在202中,电子设备根据预设规则判断是否需要获取第二应用接口。
在一些实施方式中,电子设备可以在接收到用户输入的搜索请求时检测是否存在关闭记录,若存在关闭记录,则电子设备判定不需要获取第二应用接口,若不存在关闭记录,则电子设备判定需要获取第二应用接口。
在一些实施方式中,电子设备可以在接收到用户输入的搜索请求时,获取用户触发第一应用接口的次数,得到第一触发次数,然后电子设备判断第一触发次数是否超过预设阈值,若第一触发次数超过预设阈值,则电子设备获取用户触发第一应用接口和触发第二应用接口的总次数,得到第二触发次数,电子设备将第一触发次数与第二触发次数相比较,得到比较结果,然后电子设备根据比较结果,判断是否需要获取第二应用接口。其中,在比较结果小于预设值时,则电子设备判定需要获取第二应用接口,在比较结果大于或等于预设值时,则电子设备判定不需要获取第二应用接口。
其中,预设阈值和预设值都可以由用户预先设置,也可以由电子设备自行设置。例如,假设该预设阈值和预设值由用户预先设置,且该预设阈值为8次,预设值为90%,假设用户触发第一应用接口的次数为9次,触发第一应用接口和第二应用接口的总次数为10,可以知道用户触发第一应用接口的次数超过了预设阈值,因此可以将它们相比较,得到用户触发第一应用接口的次数占总次数的90%,因此可以判定不需要获取第二应用接口;假设用户触发第一应用接口的次数为9次,触发第一应用接口和第二应用接口的总次数为20次,可以知道用户触发第一应用接口的次数超过了预设阈值,因此可以将它们相比较,得到用户触发第一应用接口的次数占总次数的45%,低于预设值,因此可以判定需要获取第二应 用接口。
在一些实施方式中,电子设备根据预设规则判断是否需要获取第二应用接口的流程,可以包括:
获取用户触发第一应用接口的次数,得到第一触发次数;
判断所述第一触发次数是否超过预设阈值;
若所述第一触发次数不超过预设阈值,则判定为需要获取第二应用接口。
例如,假设预设阈值为8次,用户触发第一应用接口的次数为5次,即第一触发次数为5次,此时,第一触发次数不超过预设阈值,考虑到用户可能不经常使用第一应用或者可能使用第二应用的频率比较高,因此此时还是需要获取第一应用接口和第二应用接口。
在203中,电子设备将搜索请求及是否接收第二应用接口指令发送至服务器。
在204中,服务器接收电子设备发送的搜索请求及是否接收第二应用接口指令。
在205中,服务器根据搜索请求及是否接收第二应用接口指令生成对应的应用接口。
在206中,服务器将对应的应用接口发送至电子设备。
在207中,电子设备接收对应的应用接口,并展示对应的应用接口。
其中,若服务器接收到不接收第二应用接口指令,则服务器可以根据搜索请求及该指令生成第一应用接口,并将该第一应用接口发送至电子设备,电子设备接收到该第一应用接口之后,则展示该第一应用接口。
若服务器接收到接收第二应用接口指令,则服务器可以根据搜索请求及该指令生成第一应用接口和第二应用接口,并将该第一应用接口和第二应用接口发送至电子设备,电子设备在接收到该第一应用接口和第二应用接口之后,则同时展示该第一应用接口和第二应用接口。
本实施例提供的应用的展示方法,可以在用户多次搜索,而每一次均启动第一应用的情况下,直接获取第一应用接口并展示,或者可以在检测到存在关闭记录时,直接获取第一应用接口并展示,由于不需要获取第二应用接口,降低了流量的消耗,且由于不需要展示第二应用接口,减少了展示入口的占用。
请参阅图3至图8,图3至图8为本申请实施例提供的应用的展示方法的场景示意图。
比如,如图3所示,用户想要使用应用A,可以在电子设备的主界面往下滑唤出搜索功能模块,然后在搜索栏内输入该应用A,假设这是用户第一次使用搜索功能模块搜索应用,由于此时不了解用户的喜好,所以电子设备可以直接将该应用A对应的第一应用A接口和第二应用A接口同时展示,以供用户选择,其中第一应用A接口为第一应用A对应的接口,第一应用A为不需要下载安装即可使用的应用A;第二应用A接口为第二应用A对应的接口,第二应用A为在使用前需要先下载安装包,并进行安装,在安装成功后才能使用的应用A。展示方式可以如图3所示,在第一栏内展示第一应用A接口,在第二栏内展示第二应用A接口,同时,在第二栏内还可以展示一不再显示接口。如图4所示,用户可以勾选该不再显示接口,其中,勾选了该不再显示接口的操作也就是执行对第二应用接口的关闭操作,也就是说,当用户勾选该不再显示接口后,电子设备则接收到对第二应用接口的关闭操作,当用户再次搜索应用时,由于电子设备可以检测到接收到对第二应用接口的关闭操作,所以只会展示第一应用接口,而不展示第二应用接口。
如图5所示,当用户在某次搜索时,勾选了不再显示接口,那么在用户之后的搜索中,电子设备都将只展示用户所搜索应用对应的第二应用接口。值得说明的是,当用户勾选了不再显示接口,那么在用户之后的搜索中,无论用户多次搜索相同应用还是多次搜索不同应用,电子设备都将只展示第一应用接口,展示方式可以如图5所示,用一栏展示第一应用接口,但考虑到用户可能需要使用第二应用的情况,因此电子设备可以生成一控件,并展示在第一应用接口所在的栏内,该控件用于接收对第二应用接口的获取操作。
在一些实施方式中,考虑到用户一直没有勾选不再显示接口,但用户每次搜索应用时,所启动的应用都是第一应用,为减少展示栏的占用,电子设备可以获取用户触发第一应用接口的次数,在电子设备检测到用户对第一应用接口的触发次数超过预设阈值时,电子设备可以再获取用户触发第一应用接口和触发第二应用接口的总次数,将触发第一应用接口的次数与总次数相比较,根据比较结果判断是否需要获取第二应用接口。其中,若比较结果小于预设值,则电子设备判定为需要获取第二应用接口,若比较结果大于或等于预设值,则电子设备判定为不需要获取第二应用接口。
其中,该预设阈值和预设值可以由用户设置,也可以由电子设备根据实际情况自行设置,假设该预设阈值为10次,预设值为90%。即在用户一直没有勾选不再显示接口的情况下,当电子设备检测到用户触发第一应用接口的次数为10次时,电子设备可以获取用户触发第一应用接口和第二应用接口的总次数,假设电子设备获取到该总次数为11次,经过比较可以知道,用户触发第一应用接口的次数大约占总次数的91%,超过预设值,则电子设备判定为不需要获取第二应用接口,此时,电子设备可以在接收到用户的搜索请求时,直接获取第一应用接口并展示,如图5所示。同样的,出于为用户考虑,电子设备还可以生成一控件,展示在展示第一应用接口所在的栏内,该控件用于接收对第二应用接口的获取操作;当电子设备检测到用户对第一应用的触发操作低于10次时,由于触发次数比较少,考虑到用户可能不经常使用第一应用,所以可能没有勾选不再显示接口,以屏蔽第二应用接口,因此电子设备可以将第一应用接口和第二应用接口同时展示,供用户选择。
如图6所示,考虑到用户可能误点击控件的情况,因此当电子设备接收到用户对该控件的点击操作时,可以生成一提示消息,该消息用于提示用户是否获取第二应用A接口,若用户选择是,则电子设备获取第二应用A接口并展示,若用户选择否,则不获取第二应用A接口。考虑到用户操作的简便性,电子设备可以在接收到对该控件的点击操作时,直接获取第二应用A接口并展示。
如图7和图8所示,在某些实施方式中,用户唤出搜索功能模块准备搜索应用,假设此时是用户第一次使用该搜索功能模块搜索应用,那么电子设备可以在用户唤出搜索功能模块的同时,在展示栏内展示最近一段时间内比较流行的第一应用接口或者第二应用接口;假设此时是用户第N次使用该搜索功能模块搜索应用,那么电子设备可以在用户唤出搜索功能模块的同时,在展示栏内展示最近一段时间用户经常使用的第一应用接口或者第二应用接口。
在一些实施方式中,用户在电子设备自带的应用商店中搜索应用时,也可以按照本实施例所提到的应用的展示方法来展示应用。
例如,当用户第一次搜索应用时,电子设备同时获取第一应用接口和第二应用接口并展示,当电子设备接收到对第二应用接口的关闭操作时,关闭该第二应用接口,同时生成关闭记录并保存,当用户再次搜索应用时,则电子设备只获取第一应用接口并展示,这样可以不需要从服务器获取不需要使用的第二应用接口,因此降低了流量的消耗。
假设用户多次搜索,启动的都是第一应用,但每次都没有勾选不再显示接口,以关闭第二应用接口,因此可能造成不必要的流量浪费,因此电子设备可以获取用户触发第一应用接口的次数,再判断用户触发第一应用接口的次数是否超过预设阈值,若超过预设阈值,则电子设备可以获取用户触发第一应用接口和第二应用接口的总次数,将触发第一应用接口的次数与总次数相比较,得到比较结果,电子设备根据比较结果,判断是否需要获取第二应用接口。电子设备可以在比较结果小于预设值时,判定为需要获取第二应用接口,则电子设备获取第一应用接口和第二应用接口并展示;电子设备可以在比较结果大于或等于预设值时,判定为不需要获取第二应用接口,则电子设备只获取第一应用接口并展示。
本实施例提供的应用的展示方法,可以在用户多次搜索,而每一次均启动第一应用的 情况下,直接获取第一应用接口并展示,或者可以在检测到存在关闭记录时,直接获取第一应用接口并展示,由于不需要获取第二应用接口,降低了流量的消耗,且由于不需要展示第二应用接口,减少了展示入口的占用。
本申请实施例还提供一种应用的展示装置,包括:
接收模块,用于接收用户输入的搜索请求;
第一判断模块,用于在接收到所述搜索请求时,根据预设规则判断是否需要获取第二应用接口;
第一展示模块,用于若需要获取第二应用接口,则根据所述搜索请求获取第一应用接口及所述第二应用接口,并将所述第一应用接口和第二应用接口同时展示;
第二展示模块,用于若不需要获取第二应用接口,则根据所述搜索请求获取第一应用接口,并展示所述第一应用接口;其中,所述第一应用接口为直接运行应用对应的接口,所述第二应用接口为安装应用对应的接口。
在一些实施例中,所述装置还包括:
第一检测模块,用于检测是否接收到对所述第二应用接口的关闭操作;
关闭模块,用于若接收到对所述第二应用接口的关闭操作,则关闭所述第二应用接口,同时生成关闭记录并保存。
在一些实施例中,所述装置还包括:
第二检测模块,用于检测是否存在关闭记录;
所述第一判断模块,用于根据所述关闭记录是否存在,判断是否需要获取第二应用接口;当存在关闭记录,则判定为不需要获取第二应用接口;当不存在关闭记录,则判定为需要获取第二应用接口。
在一些实施例中,所述装置还包括:
第一获取模块,用于获取用户触发第一应用接口的次数,得到第一触发次数;
第二判断模块,用于判断第一触发次数是否超过预设阈值;
第二获取模块,用于若所述第一触发次数超过预设阈值,则获取用户触发第一应用接口和触发第二应用接口的总次数,得到第二触发次数;
比较模块,用于将第一触发次数与第二触发次数相比较,得到比较结果;
所述第一判断模块,用于根据比较结果,判断是否需要获取第二应用接口;若比较结果小于预设值,则判定为需要获取第二应用接口;若比较结果大于或等于预设值,则判定为不需要获取第二应用接口。
在一些实施例中,所述装置还包括:
生成模块,用于在根据所述搜索请求获取第一应用接口,并展示所述第一应用接口时,生成一控件,所述控件用于接收对第二应用接口的获取操作;
第三展示模块,用于当接收到对所述控件的触发操作时,根据所述搜索请求获取第二应用接口,并将所述第一应用接口和所述第二应用接口同时展示。
本申请实施例还提供一种应用的展示装置,所述应用的展示装置可以集成在电子设备中,所述电子设备可以是智能手机、平板电脑等终端设备。
如图9所示,应用的展示装置300可以包括:接收模块301、第一判断模块302、第一展示模块303及第二展示模块304。
接收模块301,用于接收用户输入的搜索请求。
第一判断模块302,用于在接收到所述搜索请求时,根据预设规则判断是否需要获取第二应用接口。
第一展示模块303,用于若需要获取第二应用接口,则根据所述搜索请求获取第一应用接口及所述第二应用接口,并将所述第一应用接口和第二应用接口同时展示;
第二展示模块304,用于若不需要获取第二应用接口,则根据所述搜索请求获取第一应用接口,并展示所述第一应用接口;其中,所述第一应用接口为直接运行应用对应的接口,所述第二应用接口为安装应用对应的接口。
在一些实施方式中,所述第一判断模块302,可以用于:获取用户触发第一应用接口的次数,得到第一触发次数;判断所述第一触发次数是否超过预设阈值;若所述第一触发次数不超过预设阈值,则判定为需要获取第二应用接口。
请一并参阅图10,图10为本申请实施例提供的应用的展示装置的另一结构示意图。
在一些实施方式中,所述应用的展示装置300还可以包括:
第二检测模块309,用于检测是否存在关闭记录。
所述第一判断模块302,可以用于:
根据所述关闭记录是否存在,判断是否需要获取第二应用接口;当存在关闭记录,则判定为不需要获取第二应用接口;当不存在关闭记录,则判定为需要获取第二应用接口。
第一检测模块305,用于检测是否接收到对所述第二应用接口的关闭操作。
关闭模块306,用于若接收到对所述第二应用接口的关闭操作,则关闭所述第二应用接口,同时生成关闭记录并保存。
生成模块307,用于在根据所述搜索请求获取第一应用接口,并展示所述第一应用接口时,生成一控件,所述控件用于接收对第二应用接口的获取操作。
第三展示模块308,用于当接收到对所述控件的触发操作时,根据所述搜索请求获取第二应用接口,并将所述第一应用接口和所述第二应用接口同时展示。
在一些实施方式中,所述第三展示模块308,可以用于:当接收到对所述控件的触发操作时,生成一提示消息,所述提示消息用于提示用户是否选择获取第二应用接口;若用户选择获取第二应用接口,则根据所述搜索请求获取第二应用接口,并将所述第一应用接口和所述第二应用接口同时展示。
请一并参阅图11,图11为本申请实施例提供的应用的展示装置的又一结构示意图。
在一些实施方式中,所述应用的展示装置300还可以包括:
第一获取模块310,用于获取用户触发第一应用接口的次数,得到第一触发次数。
第二判断模块311,用于判断第一触发次数是否超过预设阈值。
第二获取模块312,用于若所述第一触发次数超过预设阈值,则获取用户触发第一应用接口和触发第二应用接口的总次数,得到第二触发次数。
比较模块313,用于将第一触发次数与第二触发次数相比较,得到比较结果。
所述第一判断模块302,可以用于:
根据比较结果,判断是否需要获取第二应用接口;若比较结果小于预设值,则判定为需要获取第二应用接口;若比较结果大于或等于预设值,则判定为不需要获取第二应用接口。
第一检测模块305,用于检测是否接收到对所述第二应用接口的关闭操作。
关闭模块306,用于若接收到对所述第二应用接口的关闭操作,则关闭所述第二应用接口,同时生成关闭记录并保存。
生成模块307,用于在根据所述搜索请求获取第一应用接口,并展示所述第一应用接口时,生成一控件,所述控件用于接收对第二应用接口的获取操作。
第三展示模块308,用于当接收到对该控件的触发操作时,根据所述搜索请求获取第二应用接口,并将所述第一应用接口和所述第二应用接口同时展示。
本实施例提供的应用的展示装置,可以在用户多次搜索,而每一次均启动第一应用的情况下,直接获取第一应用接口并展示,或者可以在检测到存在关闭记录时,直接获取第一应用接口并展示,由于不需要获取第二应用接口,降低了流量的消耗,且由于不需要展 示第二应用接口,减少了展示入口的占用。
具体实施时,以上各个模块可以作为独立的实体来实现,也可以进行任意组合,作为同一或若干个实体来实现。
本申请实施例还提供一种电子设备,包括存储器,处理器,所述存储器中存储有计算机程序,所述处理器通过调用所述存储器中存储的所述计算机程序,用于执行本实施例提供的应用的展示方法中的流程。例如,上述电子设备可以是诸如平板电脑或者智能手机等移动终端。请参阅图12,图12为本申请实施例提供的电子设备的结构示意图。
该电子设备400可以包括显示单元401、存储器402、处理器403等部件。本领域技术人员可以理解,图12中示出的电子设备结构并不构成对电子设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
显示单元401可以包括如显示屏幕等。
存储器402可用于存储应用程序和数据。存储器402存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器403通过运行存储在存储器402的应用程序,从而执行各种功能应用以及数据处理。
处理器403是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器402内的应用程序,以及调用存储在存储器402内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。
在本实施例中,电子设备中的处理器403会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器402中,并由处理器403来运行存储在存储器402中的应用程序,从而实现流程:
接收用户输入的搜索请求;在接收到所述搜索请求时,根据预设规则判断是否需要获取第二应用接口;若需要获取第二应用接口,则根据所述搜索请求获取第一应用接口及所述第二应用接口,并将所述第一应用接口和第二应用接口同时展示;若不需要获取第二应用接口,则根据所述搜索请求获取第一应用接口,并展示所述第一应用接口;其中,所述第一应用接口为直接运行应用对应的接口,所述第二应用接口为安装应用对应的接口。
请参阅图13,电子设备500可以包括显示单元501、存储器502、处理器503、输入单元504、输出单元505等部件。
显示单元501可以包括如显示屏幕等。
存储器502可用于存储应用程序和数据。存储器502存储的应用程序中包含有可执行代码。应用程序可以组成各种功能模块。处理器503通过运行存储在存储器502的应用程序,从而执行各种功能应用以及数据处理。
处理器503是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器502内的应用程序,以及调用存储在存储器502内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。
输入单元504可用于接收输入的数字、字符信息或用户特征信息(比如指纹),以及产生与用户设置以及功能控制有关的键盘、鼠标、操作杆、光学或者轨迹球信号输入。
输出单元505可用于显示由用户输入的信息或提供给用户的信息以及电子设备的各种图形用户接口,这些图形用户接口可以由图形、文本、图标、视频和其任意组合来构成。输出单元可包括显示面板。
在本实施例中,电子设备中的处理器503会按照如下的指令,将一个或一个以上的应用程序的进程对应的可执行代码加载到存储器502中,并由处理器503来运行存储在存储器502中的应用程序,从而实现流程:
接收用户输入的搜索请求;在接收到所述搜索请求时,根据预设规则判断是否需要获取第二应用接口;若需要获取第二应用接口,则根据所述搜索请求获取第一应用接口及所 述第二应用接口,并将所述第一应用接口和第二应用接口同时展示;若不需要获取第二应用接口,则根据所述搜索请求获取第一应用接口,并展示所述第一应用接口;其中,所述第一应用接口为直接运行应用对应的接口,所述第二应用接口为安装应用对应的接口。
在一些实施方式中,处理器503执行所述根据所述搜索请求获取第一应用接口及所述第二应用接口,并将所述第一应用接口和第二应用接口同时展示的流程之后,还可以执行:检测是否接收到对所述第二应用接口的关闭操作;若接收到对所述第二应用接口的关闭操作,则关闭所述第二应用接口,同时生成关闭记录并保存。
在一些实施方式中,处理器503执行所述在接收到用户输入的搜索请求时,根据预设规则判断是否需要获取第二应用接口的流程时,可以执行:检测是否存在关闭记录;根据所述关闭记录是否存在,判断是否需要获取第二应用接口;当存在关闭记录,则判定为不需要获取第二应用接口;当不存在关闭记录,则判定为不需要获取第二应用接口。
在一些实施方式中,处理器503执行所述在接收到用户输入的搜索请求时,根据预设规则判断是否需要获取第二应用接口的流程时,可以执行:获取用户触发第一应用接口的次数,得到第一触发次数;判断第一触发次数是否超过预设阈值;若所述第一触发次数超过预设阈值,则获取用户触发第一应用接口和触发第二应用接口的总次数,得到第二触发次数;将第一触发次数与第二触发次数相比较,得到比较结果;根据比较结果,判断是否需要获取第二应用接口;若比较结果小于预设值,则判定为需要获取第二应用接口;若比较结果大于或等于预设值,则判定为不需要获取第二应用接口。
在一些实施方式中,处理器503还可以执行:在根据所述搜索请求获取第一应用接口,并展示所述第一应用接口时,生成一控件,所述控件用于接收对第二应用接口的获取操作;当接收到对该控件的触发操作时,根据搜索请求获取第二应用接口,并将所述第一应用接口和所述第二应用接口同时展示。
在一些实施方式中,处理器503执行所述当接收到对所述控件的触发操作时,根据所述搜索请求获取第二应用接口,并将所述第一应用接口和所述第二应用接口同时展示的流程时,可以执行:当接收到对所述控件的触发操作时,生成一提示消息,所述提示消息用于提示用户是否选择获取第二应用接口;若用户选择获取第二应用接口,则根据所述搜索请求获取第二应用接口,并将所述第一应用接口和所述第二应用接口同时展示。
在一些实施方式中,处理器503执行所述在接收到用户输入的搜索请求时,根据预设规则判断是否需要获取第二应用接口的流程时,可以执行:获取用户触发第一应用接口的次数,得到第一触发次数;判断所述第一触发次数是否超过预设阈值;若所述第一触发次数不超过预设阈值,则判定为需要获取第二应用接口。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见上文针对应用的展示方法的详细描述,此处不再赘述。
本申请实施例提供的所述应用的展示装置与上文实施例中的应用的展示方法属于同一构思,在所述应用的展示装置上可以运行所述应用的展示方法实施例中提供的任一方法,其具体实现过程详见所述应用的展示方法实施例,此处不再赘述。
本申请实施例还提供一种存储介质,所述存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,所述计算机执行上述任一实施例所述的应用的展示方法。
需要说明的是,本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分流程是可以通过计算机程序来指令相关的硬件来完成,所述计算机程序可以存储于计算机可读存储介质中,所述存储介质可以包括但不限于:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或光盘等。
以上对本申请实施例所提供的应用的展示方法、装置、存储介质及电子设备进行了详细介绍。本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说 明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。

Claims (20)

  1. 一种应用的展示方法,其中,包括:
    接收用户输入的搜索请求;
    在接收到所述搜索请求时,根据预设规则判断是否需要获取第二应用接口;
    若需要获取第二应用接口,则根据所述搜索请求获取第一应用接口及所述第二应用接口,并将所述第一应用接口和第二应用接口同时展示;
    若不需要获取第二应用接口,则根据所述搜索请求获取第一应用接口,并展示所述第一应用接口;其中,所述第一应用接口为直接运行应用对应的接口,所述第二应用接口为安装应用对应的接口。
  2. 根据权利要求1所述的应用的展示方法,其中,在所述根据所述搜索请求获取第一应用接口及所述第二应用接口,并将所述第一应用接口和第二应用接口同时展示之后,还包括:
    检测是否接收到对所述第二应用接口的关闭操作;
    若接收到对所述第二应用接口的关闭操作,则关闭所述第二应用接口,同时生成关闭记录并保存。
  3. 根据权利要求2所述的应用的展示方法,其中,所述在接收到用户输入的搜索请求时,根据预设规则判断是否需要获取第二应用接口,包括:
    检测是否存在关闭记录;
    根据所述关闭记录是否存在,判断是否需要获取第二应用接口;
    当存在关闭记录,则判定为不需要获取第二应用接口;
    当不存在关闭记录,则判定为需要获取第二应用接口。
  4. 根据权利要求1所述的应用的展示方法,其中,所述在接收到用户输入的搜索请求时,根据预设规则判断是否需要获取第二应用接口,包括:
    获取用户触发第一应用接口的次数,得到第一触发次数;
    判断第一触发次数是否超过预设阈值;
    若所述第一触发次数超过预设阈值,则获取用户触发第一应用接口和触发第二应用接口的总次数,得到第二触发次数;
    将第一触发次数与第二触发次数相比较,得到比较结果;
    根据比较结果,判断是否需要获取第二应用接口;
    若比较结果小于预设值,则判定为需要获取第二应用接口;
    若比较结果大于或等于预设值,则判定为不需要获取第二应用接口。
  5. 根据权利要求4所述的应用的展示方法,其中,所述方法还包括:
    在根据所述搜索请求获取第一应用接口,并展示所述第一应用接口时,生成一控件,所述控件用于接收对第二应用接口的获取操作;
    当接收到对所述控件的触发操作时,根据所述搜索请求获取第二应用接口,并将所述第一应用接口和所述第二应用接口同时展示。
  6. 根据权利要求5所述的应用的展示方法,其中,所述当接收到对所述控件的触发操作时,根据所述搜索请求获取第二应用接口,并将所述第一应用接口和所述第二应用接口同时展示,包括:
    当接收到对所述控件的触发操作时,生成一提示消息,所述提示消息用于提示用户是否选择获取第二应用接口;
    若用户选择获取第二应用接口,则根据所述搜索请求获取第二应用接口,并将所述第一应用接口和所述第二应用接口同时展示。
  7. 根据权利要求1所述的应用的展示方法,其中,所述在接收到用户输入的搜索请求 时,根据预设规则判断是否需要获取第二应用接口,包括:
    获取用户触发第一应用接口的次数,得到第一触发次数;
    判断所述第一触发次数是否超过预设阈值;
    若所述第一触发次数不超过预设阈值,则判定为需要获取第二应用接口。
  8. 一种应用的展示装置,其中,包括:
    接收模块,用于接收用户输入的搜索请求;
    第一判断模块,用于在接收到所述搜索请求时,根据预设规则判断是否需要获取第二应用接口;
    第一展示模块,用于若需要获取第二应用接口,则根据所述搜索请求获取第一应用接口及所述第二应用接口,并将所述第一应用接口和第二应用接口同时展示;
    第二展示模块,用于若不需要获取第二应用接口,则根据所述搜索请求获取第一应用接口,并展示所述第一应用接口;其中,所述第一应用接口为直接运行应用对应的接口,所述第二应用接口为安装应用对应的接口。
  9. 根据权利要求8所述的应用的展示装置,其中,所述装置还包括:
    第一检测模块,用于检测是否接收到对所述第二应用接口的关闭操作;
    关闭模块,用于若接收到对所述第二应用接口的关闭操作,则关闭所述第二应用接口,同时生成关闭记录并保存。
  10. 根据权利要求9所述的应用的展示装置,其中,所述装置还包括:
    第二检测模块,用于检测是否存在关闭记录;
    所述第一判断模块,用于根据所述关闭记录是否存在,判断是否需要获取第二应用接口;当存在关闭记录,则判定为不需要获取第二应用接口;当不存在关闭记录,则判定为需要获取第二应用接口。
  11. 根据权利要求8所述的应用的展示装置,其中,所述装置还包括:
    第一获取模块,用于获取用户触发第一应用接口的次数,得到第一触发次数;
    第二判断模块,用于判断第一触发次数是否超过预设阈值;
    第二获取模块,用于若所述第一触发次数超过预设阈值,则获取用户触发第一应用接口和触发第二应用接口的总次数,得到第二触发次数;
    比较模块,用于将第一触发次数与第二触发次数相比较,得到比较结果;
    所述第一判断模块,用于根据比较结果,判断是否需要获取第二应用接口;若比较结果小于预设值,则判定为需要获取第二应用接口;若比较结果大于或等于预设值,则判定为不需要获取第二应用接口。
  12. 根据权利要求11所述的应用的展示装置,其中,所述装置还包括:
    生成模块,用于在根据所述搜索请求获取第一应用接口,并展示所述第一应用接口时,生成一控件,所述控件用于接收对第二应用接口的获取操作;
    第三展示模块,用于当接收到对所述控件的触发操作时,根据所述搜索请求获取第二应用接口,并将所述第一应用接口和所述第二应用接口同时展示。
  13. 一种存储介质,其中,所述存储介质中存储有计算机程序,当所述计算机程序在计算机上运行时,使得所述计算机执行权利要求1至7任一项所述的应用的展示方法。
  14. 一种电子设备,其中,所述电子设备包括处理器和存储器,所述存储器中存储有计算机程序,所述处理器通过调用所述存储器中存储的所述计算机程序,用于执行:
    接收用户输入的搜索请求;
    在接收到所述搜索请求时,根据预设规则判断是否需要获取第二应用接口;
    若需要获取第二应用接口,则根据所述搜索请求获取第一应用接口及所述第二应用接口,并将所述第一应用接口和第二应用接口同时展示;
    若不需要获取第二应用接口,则根据所述搜索请求获取第一应用接口,并展示所述第一应用接口;其中,所述第一应用接口为直接运行应用对应的接口,所述第二应用接口为安装应用对应的接口。
  15. 根据权利要求14所述的电子设备,其中,所述处理器用于执行:
    检测是否接收到对所述第二应用接口的关闭操作;
    若接收到对所述第二应用接口的关闭操作,则关闭所述第二应用接口,同时生成关闭记录并保存。
  16. 根据权利要求15所述的电子设备,其中,所述处理器用于执行:
    检测是否存在关闭记录;
    根据所述关闭记录是否存在,判断是否需要获取第二应用接口;
    当存在关闭记录,则判定为不需要获取第二应用接口;
    当不存在关闭记录,则判定为需要获取第二应用接口。
  17. 根据权利要求14所述的电子设备,其中,所述处理器用于执行:
    获取用户触发第一应用接口的次数,得到第一触发次数;
    判断第一触发次数是否超过预设阈值;
    若所述第一触发次数超过预设阈值,则获取用户触发第一应用接口和触发第二应用接口的总次数,得到第二触发次数;
    将第一触发次数与第二触发次数相比较,得到比较结果;
    根据比较结果,判断是否需要获取第二应用接口;
    若比较结果小于预设值,则判定为需要获取第二应用接口;
    若比较结果大于或等于预设值,则判定为不需要获取第二应用接口。
  18. 根据权利要求17所述的电子设备,其中,所述处理器用于执行:
    在根据所述搜索请求获取第一应用接口,并展示所述第一应用接口时,生成一控件,所述控件用于接收对第二应用接口的获取操作;
    当接收到对所述控件的触发操作时,根据所述搜索请求获取第二应用接口,并将所述第一应用接口和所述第二应用接口同时展示。
  19. 根据权利要求18所述的电子设备,其中,所述处理器用于执行:
    当接收到对所述控件的触发操作时,生成一提示消息,所述提示消息用于提示用户是否选择获取第二应用接口;
    若用户选择获取第二应用接口,则根据所述搜索请求获取第二应用接口,并将所述第一应用接口和所述第二应用接口同时展示。
  20. 根据权利要求14所述的电子设备,其中,所述处理器用于执行:
    获取用户触发第一应用接口的次数,得到第一触发次数;
    判断所述第一触发次数是否超过预设阈值;
    若所述第一触发次数不超过预设阈值,则判定为需要获取第二应用接口。
PCT/CN2019/070259 2018-02-11 2019-01-03 应用的展示方法、装置、存储介质及电子设备 WO2019153986A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810142767.6A CN108345487A (zh) 2018-02-11 2018-02-11 应用的展示方法、装置、存储介质及电子设备
CN201810142767.6 2018-02-11

Publications (1)

Publication Number Publication Date
WO2019153986A1 true WO2019153986A1 (zh) 2019-08-15

Family

ID=62959467

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/070259 WO2019153986A1 (zh) 2018-02-11 2019-01-03 应用的展示方法、装置、存储介质及电子设备

Country Status (2)

Country Link
CN (1) CN108345487A (zh)
WO (1) WO2019153986A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108345487A (zh) * 2018-02-11 2018-07-31 广东欧珀移动通信有限公司 应用的展示方法、装置、存储介质及电子设备

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106815291A (zh) * 2016-12-07 2017-06-09 北京搜狗科技发展有限公司 搜索结果项展现方法、装置和用于搜索结果项展现的装置
CN107193846A (zh) * 2016-03-15 2017-09-22 百度在线网络技术(北京)有限公司 一种提供搜索推荐的方法和装置
CN107203425A (zh) * 2017-04-25 2017-09-26 广州神马移动信息科技有限公司 轻应用的切换方法、设备及电子设备
CN107329743A (zh) * 2017-06-14 2017-11-07 北京小米移动软件有限公司 应用页面的展示方法、装置及存储介质
CN108345487A (zh) * 2018-02-11 2018-07-31 广东欧珀移动通信有限公司 应用的展示方法、装置、存储介质及电子设备

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102930017B (zh) * 2012-10-31 2016-08-03 百度在线网络技术(北京)有限公司 一种用于在移动终端上提供搜索结果的方法和设备
CN107679113B (zh) * 2017-09-15 2021-04-20 阿里巴巴(中国)有限公司 轻应用的获取方法、设备及电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107193846A (zh) * 2016-03-15 2017-09-22 百度在线网络技术(北京)有限公司 一种提供搜索推荐的方法和装置
CN106815291A (zh) * 2016-12-07 2017-06-09 北京搜狗科技发展有限公司 搜索结果项展现方法、装置和用于搜索结果项展现的装置
CN107203425A (zh) * 2017-04-25 2017-09-26 广州神马移动信息科技有限公司 轻应用的切换方法、设备及电子设备
CN107329743A (zh) * 2017-06-14 2017-11-07 北京小米移动软件有限公司 应用页面的展示方法、装置及存储介质
CN108345487A (zh) * 2018-02-11 2018-07-31 广东欧珀移动通信有限公司 应用的展示方法、装置、存储介质及电子设备

Also Published As

Publication number Publication date
CN108345487A (zh) 2018-07-31

Similar Documents

Publication Publication Date Title
US10203739B2 (en) Electronic device for controlling power and method therefor
JP6169590B2 (ja) 適応的な入力言語切り換え
US10122839B1 (en) Techniques for enhancing content on a mobile device
US20170235435A1 (en) Electronic device and method of application data display therefor
WO2020221162A1 (zh) 应用程序推荐、装置、电子设备及介质
US10551996B2 (en) Method and apparatus for starting an application in a screen-locked state
US10416864B2 (en) Method and apparatus for optimizing operating environment of a user terminal through multiple user interfaces
US20140280262A1 (en) Electronic device with a funiction of applying applications of different operating systems and method thereof
CN107402625B (zh) 触摸屏扫描方法、装置、终端及计算机可读存储介质
CN107370874B (zh) 应用的启动方法、移动终端及存储介质
US20170161098A1 (en) Method, device, and terminal for switching operating systems
WO2022001553A1 (zh) 字体调节方法、装置、存储介质及电子设备
CN109656444B (zh) 列表定位方法、装置、设备及存储介质
CN115309470B (zh) 微件的加载方法、装置、设备以及存储介质
CN110795172B (zh) 前台进程控制方法、装置、电子设备以及存储介质
US20200120204A1 (en) Method and Apparatus for Customizing Status Bar of Terminal, and Electronic Device
CN111414617A (zh) 一种恶意软件检测方法、装置、设备、介质
CN108966315B (zh) 无线网络获取方法、装置及电子设备
WO2019153986A1 (zh) 应用的展示方法、装置、存储介质及电子设备
CN111695004B (zh) 应用程序信息处理方法、装置、计算机设备和存储介质
CN111766987B (zh) 应用程序管理方法、装置及电子设备
WO2016115753A1 (zh) 运行多系统的方法、装置及终端
CN106708705B (zh) 终端后台进程监控方法和系统
US20140282057A1 (en) System for applying applications of different operating systems in one electronic device and method thereof
CN109840113B (zh) 一种应用数据处理方法及其设备、存储介质、终端

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: 19751571

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: 19751571

Country of ref document: EP

Kind code of ref document: A1