WO2019141183A1 - 应用程序处理方法、装置、存储介质和计算机设备 - Google Patents

应用程序处理方法、装置、存储介质和计算机设备 Download PDF

Info

Publication number
WO2019141183A1
WO2019141183A1 PCT/CN2019/071951 CN2019071951W WO2019141183A1 WO 2019141183 A1 WO2019141183 A1 WO 2019141183A1 CN 2019071951 W CN2019071951 W CN 2019071951W WO 2019141183 A1 WO2019141183 A1 WO 2019141183A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
sub
page
jump
identifier
Prior art date
Application number
PCT/CN2019/071951
Other languages
English (en)
French (fr)
Inventor
池彦佳
李玮
赖夏伦
翁乐腾
陈浩
马良
李顺
雷丹雄
陈鸿强
王翊夫
陈辉
古思鑫
李凯
陈岳伟
Original Assignee
腾讯科技(深圳)有限公司
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 腾讯科技(深圳)有限公司 filed Critical 腾讯科技(深圳)有限公司
Priority to EP19740854.5A priority Critical patent/EP3734447B1/en
Priority to JP2020539837A priority patent/JP7146927B2/ja
Publication of WO2019141183A1 publication Critical patent/WO2019141183A1/zh
Priority to US16/868,438 priority patent/US11126328B2/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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/0483Interaction with page-structured environments, e.g. book metaphor
    • 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

Definitions

  • the present application relates to the field of computer technologies, and in particular, to an application processing method, apparatus, storage medium, and computer device.
  • An application is a sequence of coded instructions that can be executed by a terminal having information processing capabilities, such as a computer, to obtain a result, or a sequence of symbolized instructions or symbolic statements that can be automatically converted into a sequence of coded instructions.
  • a terminal having information processing capabilities, such as a computer, to obtain a result, or a sequence of symbolized instructions or symbolic statements that can be automatically converted into a sequence of coded instructions.
  • users can install various applications on the terminal, such as a photo application, a social application, or a mail application, so that various functions such as a photographing function, a social function, or an email can be implemented through the applications installed on the terminal. Management functions, etc.
  • an application processing method, apparatus, storage medium, and computer apparatus are provided.
  • An application processing method is performed by a computer device, the method comprising:
  • a page belonging to the second sub-application that is displayed on the displayed page is displayed by the second sub-application corresponding to the selected sub-application identifier.
  • An application processing device comprising:
  • a display module for displaying a page of the first sub-application run by the parent application
  • a detecting module configured to detect a sub-application jump operation corresponding to the page
  • a display module configured to display a candidate sub-application identifier according to the sub-application jump operation
  • a determination module for determining a sub-application identifier selected from the displayed sub-application identifiers by a selection operation
  • a generating module configured to generate, by the second sub-application corresponding to the selected sub-application identifier, a page that belongs to the second sub-application that is displayed on the displayed page.
  • a non-volatile storage medium storing computer readable instructions, when executed by one or more processors, causes one or more processors to perform the following steps:
  • a page belonging to the second sub-application that is displayed on the displayed page is displayed by the second sub-application corresponding to the selected sub-application identifier.
  • a computer apparatus comprising a memory and a processor, wherein the memory stores computer readable instructions, the computer readable instructions being executed by the processor such that the processor performs the following steps:
  • a page belonging to the second sub-application that is displayed on the displayed page is displayed by the second sub-application corresponding to the selected sub-application identifier.
  • FIG 1 is an application environment diagram of an application processing system in an embodiment
  • FIG. 2 is a schematic flow chart of an application processing method in an embodiment
  • FIG. 3 is a schematic diagram showing the relationship between pages of an operating system, a parent application, a sub-application, and a sub-application in one embodiment
  • FIG. 4 is a schematic diagram of an interface of a page displaying a first sub-application in an embodiment
  • FIG. 5 is a schematic diagram of an interface showing candidate sub-application identifiers in an embodiment
  • FIG. 6 is a schematic diagram of an interface of a page displaying a second sub-application in one embodiment
  • FIG. 7 is a schematic diagram of an interface showing candidate sub-application identifiers in another embodiment
  • FIG. 8 is a schematic flowchart of an application processing method in an embodiment
  • FIG. 9 is a block diagram showing the structure of an application processing device in an embodiment
  • FIG. 10 is a block diagram showing the structure of an application processing device in another embodiment.
  • Figure 11 is a diagram showing the internal structure of a computer device in an embodiment.
  • the application processing system includes a terminal 110 and a server 120.
  • the terminal 110 and the server 120 are connected through a network.
  • the operating system runs on the terminal 110, and the parent application is run on the operating system.
  • the terminal 110 implements an application processing method through the parent application to implement the sub-application jump through the parent application.
  • the terminal 110 may specifically create a sub-application logic layer processing unit and a corresponding sub-application view layer processing unit through the parent application.
  • the sub-application view layer processing unit can be used to generate sub-application pages.
  • the server 120 is also used to check the jump relationship between the sub-applications. When the jump relationship is allowed, the terminal performs the jump between the sub-applications.
  • FIG. 2 is a flow chart showing an application processing method in an embodiment. This embodiment is mainly illustrated by the method being applied to the terminal 110 in FIG. 1 described above.
  • the application processing method specifically includes the following steps:
  • an operating system runs on the terminal and the parent application runs on the operating system.
  • the operating system is a computer program that manages and controls the hardware and software resources of the terminal. It is the most basic system software that runs directly on the bare metal of the user terminal.
  • the application needs to run under the support of the operating system.
  • the operating system can be a desktop operating system such as Windows (Windows) operating system or Linux operating system or Mac OS (Apple desktop operating system), or a mobile operating system such as iOS (Apple mobile terminal operating system) or Android (Android) operating system. .
  • the parent application is a native application.
  • Native applications are applications that run directly on the operating system.
  • the parent application can be a social application, a mail application, or a game application.
  • Social applications include instant messaging applications, SNS (Social Network Service) applications, or live applications.
  • the parent application can specifically be a WeChat program (WeChat).
  • a sub-application is an application that can run in the environment provided by the parent application.
  • the sub-application may specifically be a social application, a file management application, a mail application, or a game application.
  • the parent application can be a WeChat program, and the corresponding sub-application can be called a small program.
  • FIG. 3 is a diagram showing the relationship between pages of an operating system, a parent application, a sub-application, and a sub-application in one embodiment.
  • the operating system runs on the terminal
  • the parent application is run on the operating system
  • the parent application provides an environment for the operation of the child application.
  • the terminal can create a sub-application logic layer unit and a corresponding sub-application view layer unit for implementing the sub-application through the parent application.
  • the sub-application logic layer unit can be used to execute page logic code in a package of a sub-application;
  • the sub-application view layer unit can be used to execute page structure code and page style code in a package of the sub-application.
  • the page logic code, page structure code, and page style code in the package can be collectively referred to as page code.
  • the terminal when there is a sub-application to be run in the environment provided by the parent application, the terminal can create a sub-application logic layer unit and corresponding sub-application for implementing the sub-application through the parent application.
  • Program view layer unit and get the page code corresponding to the sub-application.
  • the terminal may execute the page structure code in the page code through the sub-application view layer unit, select the component according to the component identifier specified in the page structure code, and then execute the page style code in the page code to organize the selected component, and the page
  • the data is applied to the component and rendered to form the page of the sub-application and displayed to display the page of the sub-application run by the parent application.
  • the page data is the data required to render the pages of the sub-application.
  • the page data may be the initial data of the page defined in the page logic code of the sub-application, or may be data pulled from the storage location specified by the page logic code of the sub-application, or may be a sub-application logic layer unit pair
  • the data generated by the event passed by the application view layer unit is processed.
  • the page structure code is the code that defines the composition of the page.
  • the page structure code can include an identification of the components included in the page.
  • the page style code is the code that defines the page style.
  • the page logic code is the code that defines the processing logic of the corresponding sub-application page.
  • the component can be a common component shared by the pages of different sub-applications provided by the parent application, or it can be a private component used by the sub-application itself.
  • the component has a visual form and is a component of the page of the sub-application.
  • a component has a unique identifier and can be the name of the component.
  • first sub-application here and the second sub-application referred to in the following are both sub-applications, but different sub-applications.
  • the sub-application jump operation is an operation for triggering a sub-application jump.
  • the sub-application jump operation corresponding to the page is used to trigger an operation to jump from the sub-application to which the currently displayed page belongs to another sub-application.
  • the terminal may detect or listen to a predefined trigger operation corresponding to the currently displayed page by using a sub-application to which the currently displayed page belongs, and notify the parent application when the predefined trigger operation is detected, and the parent application determines the detection. Go to the sub-application jump operation.
  • the terminal can also detect or monitor the predefined trigger operation corresponding to the currently displayed page directly through the parent application, and determine that the sub-application jump operation is detected when the predefined trigger operation is detected.
  • the predefined triggering operation may be an operation on a page control in the page, such as a touch operation on a page control or a cursor click operation.
  • the triggering operation may also be a pressing operation on a predefined physical button, a shaking operation triggered when a page of a sub-application is displayed, or a drag operation on a page of a sub-application, or the like.
  • the sub-application ID is used to uniquely identify a sub-application.
  • the sub-application identifier may be a character string including at least one of a number, a letter, and a symbol.
  • the candidate sub-application ID can be the sub-application ID of the sub-application that the parent application history has run, so that the sub-application that jumped to has been run in the parent application, avoiding the program that needs to download the sub-application. The time it takes for the package to run the sub-application again.
  • the candidate sub-application identifier may also be a sub-application identifier that satisfies the geographical proximity condition between the associated geographical location and the local geographic location.
  • the identifiers of such sub-applications can be sorted according to the distance from the local geographic location, and the user can use the sub-applications required to locate the location, which is convenient and quick.
  • the candidate sub-application identifier may also be a sub-application identifier whose corresponding application type is similar to the application type of the sub-application to which the currently displayed page belongs. In this way, when the user does not find the page content of the intent to find in the page of the current sub-application, the user can quickly jump to the page of the similar sub-application to continue searching for the content of the page that is intended to be searched.
  • the candidate sub-application identifier may also be a sub-application identifier that is filtered according to user behavior data corresponding to the currently logged-in user identifier.
  • the sub-applications filtered according to the user behavior data are greatly sub-applications that are of interest to the user, thereby improving the usage efficiency of the sub-applications.
  • the terminal may obtain a candidate sub-application according to the sub-application jump operation by the parent application, and then display the candidate sub-application identifier.
  • the terminal may also detect a sliding operation corresponding to the sub-application identifier of the display candidate by the parent application, and jump the currently displayed sub-application identifier by the sliding operation.
  • the terminal may detect a selection operation for the displayed sub-application identifier through the parent application, thereby determining the sub-application identifier selected in the selection operation.
  • the terminal may execute the page structure code corresponding to the second sub-application by using the sub-application view layer unit corresponding to the second sub-application, select the component according to the component identifier specified in the page structure code, and then execute and
  • the page style code corresponding to the second sub-application organizes the component, and applies the page data to the component and renders, and generates a page belonging to the second sub-application that is overlaid on the displayed page for display.
  • the terminal may overwrite the page generated by the sub-application view layer unit corresponding to the second sub-application over the displayed page by the parent application.
  • the sub-application can be freely switched by the parent application-level jump provided by the parent application, and the sub-application developer does not need to separately develop the jump function for the sub-application. Reduced sub-application development costs and development workloads, thereby increasing the amount of sub-application access in the parent application.
  • the sub-application view layer unit corresponding to the second sub-application may also automatically overwrite the displayed page for display after the page is generated.
  • the page belonging to the second sub-application generated by the second sub-application and overlaid on the displayed page may be the first sub-application's first page, or may be specific to implement the setting. page.
  • the parent application is run on the operating system, and the child application can be run by the parent application to display the page belonging to the child application.
  • the candidate sub-application ID is automatically displayed according to the sub-application jump operation.
  • the user can select the second sub-application to which the intent is jumped in the candidate sub-application ID, and the second sub-application generates a page belonging to the second sub-application that is displayed on the displayed page. Automatically implements the jump of the sub-application, avoiding the time consuming caused by exiting the currently used application, and then starting the application to which the intent is jumped, thereby improving the application efficiency.
  • S204 includes detecting a sub-application jump operation that acts on a sub-application jump entry in the page.
  • S206 includes: drawing a floating window in a top view layer relative to a view layer of the page according to the sub-application jump operation; and displaying the candidate sub-application identifier in the floating window.
  • the sub-application jump entry is an operation entry for triggering a sub-application jump operation.
  • the sub-application jump entry can be specifically a page control, an icon, a link, or a virtual button.
  • the sub-application jump operation may specifically be a touch operation or a click operation that acts on the sub-application jump entry.
  • the touch operation or the click operation may be a short-time operation or a long-press operation.
  • the view layer is the layer used to draw the page content.
  • the floating window is a window that allows you to customize the display position and display size.
  • the view layer in which the hover window is located is always the top view layer.
  • the floating window can be rectangular or circular or irregular.
  • the terminal may detect or monitor the sub-application jump operation of the sub-application jump entry in the page by using the sub-application to which the currently displayed page belongs, and notify the parent application when detecting the sub-application jump operation.
  • the parent application thus detects the sub-application jump operation.
  • the terminal can also directly detect or listen to the sub-application jump operation of the sub-application jump entry in the page directly through the parent application.
  • the parent application running on the terminal jumps according to the sub-application jump operation, and is in the view layer relative to the currently displayed page.
  • the top-level view layer draws the hover window and displays the candidate sub-application IDs in the hover window.
  • the display position and the display size of the floating window may be uniformly determined by the server corresponding to the parent application, or may be customized by the user.
  • the sub-application program jump entry may belong to a page of the sub-application.
  • the server corresponding to the parent application can uniformly set the sub-application program jump entry configuration file, and the page developer of the sub-application jumps the entry configuration file according to the uniformly set sub-application program when developing the sub-application page. , configure the sub-application program jump entry in the developed page.
  • the sub-application program jump entry may also not belong to the sub-application's page.
  • the terminal can generate a navigation bar including a sub-application program jump entry through the parent application, and display the navigation bar and the sub-application page.
  • FIG. 4 shows an interface diagram of a page displaying a first sub-application in one embodiment.
  • the interface includes a sub-application identification 401 and a sub-application jump entry 402.
  • the terminal can detect a sub-application jump operation (such as a long press operation) acting on the sub-application jump entry 402 through the parent application, and draw a top-level view layer relative to the view layer of the currently displayed page as shown in FIG. 5.
  • the floating window is shown, which in turn displays the candidate sub-application IDs in the floating window.
  • the schematic includes a floating window 510 and candidate sub-application identifiers 511 displayed in the floating window 510.
  • the terminal may detect a selection operation (such as a touch operation) acting on the displayed sub-application identifier through the parent application, determine the sub-application identifier selected from the displayed sub-application identifier by the selection operation, and jump to the figure as shown in the figure.
  • a selection operation such as a touch operation
  • the parent application is WeChat and the child application is a small program.
  • the user uses the Jingdong shopping applet, he does not find the goods he wants.
  • the user can open the Vipshop program through the multitasking interface.
  • the applet developer does not make a jump
  • the user can freely switch other applets through the system-level jump provided by WeChat.
  • the multitasking interface here is a floating window showing the candidate sub-application IDs.
  • the sub-application when the user uses the sub-application, the sub-application can be freely switched by the parent application-level jump provided by the parent application, which is convenient and quick.
  • S204 includes detecting a sub-application jump operation triggered by dragging the page.
  • S206 includes: displaying a candidate sub-application identifier in a page area formed by dragging the page according to the sub-application jump operation.
  • the sub-application jump operation triggered by dragging the page may specifically be a page drag operation.
  • the page drag operation may specifically be an eye control page drag operation or a manual page drag operation.
  • the eye control page drag operation may specifically control the terminal to drag and drop the page by moving the pupil position.
  • the manual page drag operation may specifically control the terminal to drag the page by touching the sliding operation with a finger.
  • a page area where the page content is not formed may be formed between the page area where the movement occurs and the top edge of the display screen or the lower boundary of the navigation bar.
  • the terminal can identify the candidate sub-applications in the page area through the parent application. It can be understood that the content of the page not displayed here does not mean that the page area does not display any content, and the logo characters, pictures or animations indicating that the page is refreshed, such as "Loading" or "loading", may be displayed.
  • FIG. 7 shows an interface diagram showing the candidate sub-application identifications in one embodiment.
  • the interface includes a page area 710 formed by dragging a page and a candidate sub-application identifier 711 displayed in the page area 710.
  • the sub-application when the user uses the sub-application, the sub-application can be freely switched by the parent application-level jump provided by the parent application, which is convenient and quick. Moreover, the displayed sub-application ID does not overwrite the currently displayed sub-application's page, and does not affect the user's normal use of the sub-application running in the foreground.
  • different types of operations can be triggered by dragging pages to form different drag distances. For example, sub-application jump operations or page refresh operations.
  • the terminal may set a page drag distance interval corresponding to each of the different operations in advance. The operation triggered by the dragging page is determined according to the page dragging distance interval of the currently dragging page of the dragged page. This makes it possible to accurately and easily control the triggering of various operations to avoid errors.
  • the application processing method further includes: obtaining a jump path for recording a sub-application jump relationship; when the selected sub-application identifier exists in the jump path, the jump path is located The sub-application ID after the selected sub-application ID is deleted; and when the selected sub-application ID does not exist in the jump path, the selected sub-application ID is added to the end of the jump path.
  • the jump path includes the sub-application identifiers arranged according to the sub-application jump order, and the sub-application jump relationship is recorded.
  • the jump path of the sub-application jump relationship that records "jump from sub-application A to sub-application B and then jump to sub-application C" is: A ⁇ B ⁇ C.
  • the terminal may obtain a jump path for recording the sub-application jump relationship through the parent application, traverse the sub-application identifier in the obtained jump path, and traverse the sub-application identifier to the selected sub-application.
  • the program identification is compared.
  • the parent application determines that the sub-application ID traversed to is the same as the selected sub-application ID
  • the parent application identifier in the jump path after the sub-application ID traversed to is deleted.
  • the selected sub-application ID is directly added to the end of the jump path.
  • the sub-application runs in a singleton manner in the environment provided by the parent application, and does not support multiple running instances. Whenever you jump to a sub-application, the sub-application will clear the previously displayed page saved in the page stack and regenerate the page. In this way, the context of the original sub-application jump will be lost. If multiple identical programs are kept in the jump chain, the jumped state cannot be restored when the return is repeated. Therefore, it is preferable to delete the jump relationship after the sub-application is deleted in the jump path when a jump to the existing sub-application in the jump path occurs in the continuous jump. Moreover, after deleting the jump relationship, the background running state of the sub-application in the jump relationship is ended, so as to reduce the memory usage and power consumption of the terminal.
  • the sub-application jump relationship is recorded, so that each of the accessed sub-applications can be returned layer by layer.
  • the application processing method further includes: obtaining a return instruction corresponding to the currently displayed page; determining, in response to the return instruction, a sub-application identifier corresponding to the currently displayed page; in the jump path, searching and determining The sub-application identifies the sub-application ID that is adjacent and located before the determined sub-application ID; and returns the page displayed by the sub-application corresponding to the found sub-application ID when a jump occurs.
  • the return instruction is an instruction for returning the previously launched sub-application.
  • the terminal can detect or listen to events triggered in the currently displayed page through the parent application. This event is used to trigger the return from the sub-application to which the currently displayed page belongs to the sub-application launched earlier.
  • the event may be a triggering operation for an operation portal such as an icon or a virtual button, or a triggering operation of the currently displayed page.
  • the triggering operation may be a touch operation, a click operation, or a slide operation.
  • the terminal determines, according to the return instruction, the corresponding sub-application identifier of the currently displayed page; and then, in the jump path, searches for the adjacent sub-application identifier, and The sub-application ID located before the determined sub-application ID returns the page displayed by the sub-application corresponding to the found sub-application ID when a jump occurs.
  • the terminal generates a page belonging to the second sub-application through the second sub-application to overwrite the current page display, and the covered page belonging to the first sub-application is saved in the page stack, when returning from the second sub-application When the first sub-application is used, it directly returns the page that belongs to the first sub-application stored in the page stack.
  • the processing method that the sub-application returns after the jump is provided, so that when the intent to return the used sub-application is returned, the return can be directly performed in the parent application, and the current use is required without exiting.
  • the application re-starting the application's time-consuming return to the application, increases the efficiency of the application.
  • it when returning to the previously running sub-application, it directly returns to the page displayed by the sub-application to be returned at the time of the jump, so that the user can continue the operation on the page, thereby improving the convenience of the application.
  • the sub-application includes a third party sub-application and a native plug-in sub-application.
  • the native plug-in sub-application is a sub-application developed by the developer of the parent application to implement the plug-in function of the parent application. For example, a nearby sub-application or a swipe sub-application.
  • the page of the native plug-in sub-application and the page structure of the parent application page are consistent with the page style.
  • the third-party sub-application is a sub-application developed by a third-party service provider registered with the open service platform corresponding to the parent application.
  • the pages of the native plug-in application differ from the pages of the third-party sub-application.
  • the candidate sub-application IDs are sub-application IDs of third-party sub-applications.
  • the third-party sub-application developer does not need to separately develop the jump function for the sub-application, which reduces the sub-application development cost and the development workload, thereby improving the access amount of the third-party sub-application in the parent application.
  • the application processing method further includes: when the sub-application jump operation is the first type jump operation, continuing to perform the step of displaying the candidate sub-application identifier according to the sub-application jump operation; When the sub-application jump operation is the second type jump operation, according to the sub-application jump operation, switching to the page of the parent application; triggering the acquisition of the sub-application to be jumped through the page of the parent application And identifying, by the second sub-application corresponding to the acquired sub-application identifier, a page belonging to the second sub-application that is displayed on the displayed page for display.
  • the first type jump operation and the second type jump operation are two different operations for triggering sub-application jumps.
  • the first type of jump operation triggers a sub-application jump by presenting the candidate sub-application ID.
  • the second type of jump operation triggers a sub-application jump by switching to the page of the parent application.
  • the terminal may establish a correspondence between each sub-application jump operation and a jump type in advance through the parent application.
  • the short-time operation corresponds to the first type of jump operation
  • the long-term operation corresponds to the second type of jump operation.
  • the terminal determines that the first type of jump operation is detected when the click operation is detected by the parent application, and determines the second type of jump operation when the long press operation is detected, thereby triggering the sub-application jump by different manners.
  • the parent application's page is used to trigger a sub-application jump. That is to say, when you want to jump from one sub-application to another, you need to switch to the page of the parent application and then trigger the jump through the page.
  • the page belonging to the parent application for triggering the sub-application jump may be a unified page.
  • a unified page can trigger an open jump to any sub-application.
  • Each sub-application has a corresponding page belonging to the parent application that is used to launch the sub-application.
  • a new sub-application jump is provided by switching to the parent application page that triggers the sub-application jump to implement the sub-application jump.
  • the application processing method further includes: obtaining a page identifier corresponding to the page to which the switch is made, and a jump path for recording the sub-application jump relationship; when the obtained sub-application identifier exists in the jump When the path is changed, the sub-application ID and the page identifier located after the obtained sub-application ID in the jump path are deleted; and when the obtained sub-application ID does not exist in the jump path, the page identifier is And the obtained sub-application ID is in turn to the end of the jump path.
  • the jump path includes a sub-application identifier and/or a parent application page identifier arranged according to a sub-application jump order, and records a sub-application jump relationship and reflects a sub-application jump manner.
  • the jump path of the sub-application jump relationship in which "the jump from the sub-application A to the parent application's page M to the sub-application C" is recorded is: A ⁇ M ⁇ C.
  • the terminal may obtain a jump path for recording a sub-application jump relationship through the parent application, traverse the sub-application identifier in the obtained jump path, and traverse the sub-application identifier and the acquired sub-application.
  • the program identification is compared.
  • the parent application determines that the sub-application ID traversed to is the same as the obtained sub-application ID
  • the parent application identifier and the page identifier located in the jump path after the sub-application ID traversed to are deleted.
  • the parent application determines that each sub-application identifier traversed to is different from the obtained sub-application identifier, the page identifier and the acquired sub-application identifier are sequentially sequenced to the end of the jump path.
  • the jump path obtained by the terminal through the parent application is "A ⁇ M1 ⁇ B". If the current intent is to jump from the sub-application corresponding to B through the page M2 of the parent application to the sub-application corresponding to A, at this time, A exists in "A ⁇ M1 ⁇ B", then "A ⁇ M1 ⁇ B" The sub-application ID and page ID after "A" are deleted, and "A” is obtained. If the current intent is to jump from the sub-application corresponding to B through the page M2 of the parent application to the sub-application corresponding to C, at this time, C does not exist in "A ⁇ M1 ⁇ B", and the page is identified and acquired. The sub-application identification is sequentially passed to the end of "A ⁇ M1 ⁇ B", and "A ⁇ M1 ⁇ B ⁇ M2 ⁇ C" is obtained.
  • the sub-application jump relationship reflecting the sub-application jump mode is recorded, so that each accessed layer can be returned layer by layer.
  • the terminal when the terminal performs a return operation in response to the return instruction by the parent application, the terminal may search for a child adjacent to the determined sub-application identifier and located before the determined sub-application identifier in the jump path. Application ID or page ID.
  • the terminal may search for a child adjacent to the determined sub-application identifier and located before the determined sub-application identifier in the jump path.
  • Application ID or page ID When the sub-application ID is found, the page displayed by the sub-application corresponding to the found sub-application ID when the jump occurs is returned.
  • the page identifier is found, the page corresponding to the found page identifier is returned.
  • the application processing method further includes: sending a jump relationship that is jumped by the first sub-application to the second sub-application to the server; and receiving a verification result corresponding to the jump relationship fed back by the server; And when the verification result indicates that the jump relationship is allowed, executing, by using the second sub-application corresponding to the selected sub-application identifier, generating a page belonging to the second sub-application that is displayed on the displayed page for display step.
  • the terminal obtains the corresponding sub-application identifier of the sub-application to be jumped to by the parent application, and obtains the sub-application identifier corresponding to the currently displayed page.
  • the terminal then sends the two sub-application IDs and the jump relationship between the sub-applications to the server.
  • the server detects whether the jump relationship between the received sub-applications is allowed. If the jump relationship between the received sub-applications is blocked, the default page data is returned. If the jump relationship between the received sub-applications is allowed, the corresponding page data of the sub-application to which the jump is made is returned.
  • the server may continue to detect whether the sub-application to be jumped to is valid when detecting that the jump relationship between the received sub-applications is allowed. If the sub-application to be jumped to is valid, the corresponding page data of the sub-application to which the jump is made is returned, and if the sub-application to be jumped to is invalid, the default page data is returned.
  • the parent application will send a jump relationship from A to B, and the sub-application IDs of A and B are sent to the server. .
  • the server detects whether it is allowed to jump from A to B. If it is not allowed, it returns the default page data; if it is allowed, it continues to detect whether B is valid. If it is valid, it returns the page data corresponding to B. If it is invalid, it returns the default. Page data.
  • the default page data such as page notifications that cannot access the page, etc.
  • the server verifies that the sub-application jump relationship is allowed by the server, and only if it is allowed to jump, the security of the sub-application is ensured.
  • the application processing method specifically includes the following steps:
  • the second sub-application When the verification result indicates that the jump relationship is allowed, the second sub-application generates a page belonging to the second sub-application that is displayed on the displayed page for display.
  • S820 Delete the sub-application identifier in the jump path that is behind the selected sub-application ID.
  • S828 Obtain a page identifier corresponding to the page switched to, and a jump path for recording a sub-application jump relationship.
  • S836 Acquire a return instruction corresponding to the currently displayed page; and in response to the return instruction, determine a sub-application identifier corresponding to the currently displayed page.
  • the first type of triggering operation triggers the first sub-application to call the navigateToMiniProgram JSAPI to jump to the second sub-application.
  • the second type of triggering operation triggers the first sub-application to open the page of the parent application, and then the second sub-application is launched by the parent application's page logic. When the sub-application returns, you can call the navigateBackMiniProgram JSAPI to return the previous sub-application.
  • an application processing device 900 is provided.
  • the application processing apparatus 900 includes a display module 901, a detection module 902, a presentation module 903, a determination module 904, and a generation module 905.
  • the various modules included in the application processing device 900 may be implemented in whole or in part by software, hardware, or a combination thereof.
  • the display module 901 is configured to display a page of the first sub-application run by the parent application.
  • the detecting module 902 is configured to detect a sub-application jump operation corresponding to the page.
  • the display module 903 is configured to display the candidate sub-application identifier according to the sub-application jump operation.
  • the determining module 904 is configured to determine a sub-application identifier selected from the displayed sub-application identifiers by the selecting operation.
  • the generating module 905 is configured to generate, by using the second sub-application corresponding to the selected sub-application identifier, a page that belongs to the second sub-application that is displayed on the displayed page.
  • the detection module 902 is further configured to detect a sub-application jump operation that acts on a sub-application jump entry in the page.
  • the presentation module 903 is further configured to draw a floating window in a top view layer relative to a view layer of the page according to the sub-application jump operation; and display the candidate sub-application identifier in the floating window.
  • the detection module 902 is further configured to detect a sub-application jump operation triggered by dragging a page.
  • the presentation module 903 is further configured to display the candidate sub-application identifiers in the page area formed by the drag and drop pages according to the sub-application jump operation.
  • the application processing apparatus 900 further includes: a recording module 906, configured to acquire a jump path for recording a sub-application jump relationship; when the selected sub-application identifier exists in the jump path, Deleting the sub-application ID after the selected sub-application ID in the jump path; and adding the selected sub-application ID to the jump path when the selected sub-application ID does not exist in the jump path end.
  • a recording module 906 configured to acquire a jump path for recording a sub-application jump relationship; when the selected sub-application identifier exists in the jump path, Deleting the sub-application ID after the selected sub-application ID in the jump path; and adding the selected sub-application ID to the jump path when the selected sub-application ID does not exist in the jump path end.
  • the application processing apparatus 900 further includes: a returning module 907, configured to acquire a return instruction corresponding to the currently displayed page; and in response to the returning instruction, determine a sub-application identifier corresponding to the currently displayed page; In the path, searching for a sub-application identifier adjacent to the determined sub-application identifier and located before the determined sub-application identifier; and returning the sub-application corresponding to the found sub-application identifier when a jump occurs, The page that is displayed.
  • a returning module 907 configured to acquire a return instruction corresponding to the currently displayed page; and in response to the returning instruction, determine a sub-application identifier corresponding to the currently displayed page; In the path, searching for a sub-application identifier adjacent to the determined sub-application identifier and located before the determined sub-application identifier; and returning the sub-application corresponding to the found sub-application identifier when a jump occurs, The page that is displayed.
  • the application processing apparatus 900 further includes a recording module 906, a return module 907, and a verification module 908.
  • the verification module 908 is configured to send a jump relationship that is jumped by the first sub-application to the second sub-application to the server; and receive a verification result corresponding to the jump relationship fed back by the server.
  • the generating module 905 is further configured to: when the verification result indicates that the jump relationship is allowed, generate, by using the second sub-application corresponding to the selected sub-application identifier, the second sub-application that is displayed on the displayed page. The page of the program.
  • the presentation module 903 is further configured to display the candidate sub-application identifier according to the sub-application jump operation when the sub-application jump operation is the first type jump operation; when the sub-application jump operation For the second type of jump operation, according to the sub-application jump operation, switching to the page of the parent application; and triggering the acquisition of the sub-application identifier to be jumped through the page of the parent application.
  • the generating module 905 is further configured to generate, by using the second sub-application corresponding to the acquired sub-application identifier, a page that belongs to the second sub-application that is displayed on the displayed page.
  • the recording module 906 is further configured to obtain a page identifier corresponding to the page to which the switch is made, and a jump path for recording the sub-application jump relationship; when the obtained sub-application identifier exists in the jump path In the middle, the sub-application ID and the page identifier in the jump path after the obtained sub-application ID are deleted; and when the obtained sub-application identifier does not exist in the jump path, the page identifier and the acquisition are obtained.
  • the sub-application ID is in turn to the end of the jump path.
  • Figure 11 is a diagram showing the internal structure of a computer device in one embodiment.
  • the computer device may specifically be the terminal 110 in FIG.
  • the computer device includes a processor, a memory, a network interface, an input device, and a display screen connected by a system bus.
  • the memory comprises a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium of the computer device stores an operating system and can also store computer readable instructions that, when executed by the processor, cause the processor to implement an application processing method.
  • the internal memory can also store computer readable instructions that, when executed by the processor, cause the processor to execute an application processing method.
  • the display screen of the computer device may be a liquid crystal display or an electronic ink display screen.
  • the input device may be a touch layer covered on the display screen, or may be a button, a trackball or a touchpad provided on a computer device casing, or may be An external keyboard, trackpad, or mouse.
  • FIG. 11 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the computer device to which the solution of the present application is applied.
  • the specific computer device may It includes more or fewer components than those shown in the figures, or some components are combined, or have different component arrangements.
  • the application processing apparatus can be implemented in the form of a computer readable instruction that can be run on a computer device as shown in FIG.
  • the storage medium may store various instruction modules constituting the application processing device, such as the display module 901, the detection module 902, the presentation module 903, the determination module 904, the generation module 905, and the like shown in FIG.
  • the computer readable instructions comprising the various instruction modules cause the processor to perform the steps in the application processing method of various embodiments of the present application described in this specification.
  • the computer device shown in FIG. 11 can display the page of the first sub-application run by the parent application by the display module 901 in the application processing device 900 as shown in FIG.
  • the detection module 902 detects a sub-application jump operation corresponding to the page.
  • the presentation module 903 displays the candidate sub-application IDs according to the sub-application jump operation.
  • the determination module 904 determines the sub-application identification selected from the displayed sub-application IDs by the selection operation.
  • the generating module 905 generates a page belonging to the second sub-application that is displayed on the displayed page for display by the second sub-application corresponding to the selected sub-application identifier.
  • a computer readable storage medium having stored thereon computer readable instructions that, when executed by a processor, cause the processor to perform the steps of: displaying a page of the first sub-application running by the parent application; detecting a sub-application jump operation corresponding to the page; displaying the candidate sub-application ID according to the sub-application jump operation; determining the sub-application from the display by the selection operation a sub-application identifier selected in the program identifier; and a second sub-application corresponding to the selected sub-application identifier, generating a page belonging to the second sub-application that is displayed on the displayed page.
  • detecting a sub-application jump operation corresponding to the page includes detecting a sub-application jump operation that acts on a sub-application jump entry in the page. Displaying the candidate sub-application identifier according to the sub-application jump operation, including: drawing a floating window in a top-level view layer relative to the view layer of the page according to the sub-application jump operation; and displaying the candidate sub-application in the floating window Program identification.
  • detecting a sub-application jump operation corresponding to the page includes detecting a sub-application jump operation triggered by dragging the page.
  • Displaying the candidate sub-application identifier according to the sub-application jump operation includes: displaying the candidate sub-application identifier in the page area formed by the drag-and-drop page according to the sub-application jump operation.
  • the processor when the computer readable instructions are executed by the processor, the processor further causes the processor to: obtain a jump path for recording the sub-application jump relationship; when the selected sub-application identifier exists in the jump In the path, delete the sub-application ID in the jump path after the selected sub-application ID; and when the selected sub-application ID does not exist in the jump path, add the selected sub-application ID to The end of the jump path.
  • the processor when the computer readable instructions are executed by the processor, the processor further causes the processor to: obtain a return instruction corresponding to the currently displayed page; and in response to the return instruction, determine a sub-application identifier corresponding to the currently displayed page In the jump path, finding a sub-application ID adjacent to the determined sub-application identifier and located before the determined sub-application ID; and returning the sub-application corresponding to the found sub-application identifier is occurring The page displayed when jumping.
  • the processor when the computer readable instructions are executed by the processor, the processor further causes the processor to: send a jump relationship that is jumped by the first sub-application to the second sub-application to the server; receive feedback from the server Corresponding to the verification result of the jump relationship; and when the verification result indicates that the jump relationship is allowed, executing the second sub-application corresponding to the selected sub-application identifier, generating an overlay on the displayed page for display The steps that belong to the page of the second sub-application.
  • the processor when the computer readable instructions are executed by the processor, the processor further causes the processor to perform the following steps: when the sub-application jump operation is the first type of jump operation, proceeding to perform the jump operation according to the sub-application a step of displaying a candidate sub-application identifier; when the sub-application jump operation is a second type jump operation, switching to the parent application's page according to the sub-application jump operation; through the parent application's page, Triggering to obtain a sub-application identifier to be jumped to; and generating, by the second sub-application corresponding to the acquired sub-application identifier, a page belonging to the second sub-application that is displayed on the displayed page for display.
  • the processor when the computer readable instructions are executed by the processor, the processor further causes the processor to: obtain a page identifier corresponding to the page to which the switch is made, and a jump path for recording the sub-application jump relationship; When the obtained sub-application identifier exists in the jump path, the sub-application identifier and the page identifier located in the jump path after the obtained sub-application identifier are deleted; and when the obtained sub-application identifier does not exist in the When the path is jumped, the page identifier and the obtained sub-application ID are sequentially routed to the end of the jump path.
  • a computer apparatus comprising a memory and a processor, the memory storing computer readable instructions, the computer readable instructions being executed by the processor, causing the processor to perform the step of: displaying the parent application a page of the first sub-application that is run; detecting a sub-application jump operation corresponding to the page; displaying the candidate sub-application ID according to the sub-application jump operation; determining from the sub-application identifier of the display by the selection operation The selected sub-application identifier; and a second sub-application corresponding to the selected sub-application identifier, generates a page belonging to the second sub-application that is displayed on the displayed page.
  • detecting a sub-application jump operation corresponding to the page includes detecting a sub-application jump operation that acts on a sub-application jump entry in the page. Displaying the candidate sub-application identifier according to the sub-application jump operation, including: drawing a floating window in a top-level view layer relative to the view layer of the page according to the sub-application jump operation; and displaying the candidate sub-application in the floating window Program identification.
  • detecting a sub-application jump operation corresponding to the page includes detecting a sub-application jump operation triggered by dragging the page.
  • Displaying the candidate sub-application identifier according to the sub-application jump operation includes: displaying the candidate sub-application identifier in the page area formed by the drag-and-drop page according to the sub-application jump operation.
  • the processor when the computer readable instructions are executed by the processor, the processor further causes the processor to: obtain a jump path for recording the sub-application jump relationship; when the selected sub-application identifier exists in the jump In the path, delete the sub-application ID in the jump path after the selected sub-application ID; and when the selected sub-application ID does not exist in the jump path, add the selected sub-application ID to The end of the jump path.
  • the processor when the computer readable instructions are executed by the processor, the processor further causes the processor to: obtain a return instruction corresponding to the currently displayed page; and in response to the return instruction, determine a sub-application identifier corresponding to the currently displayed page In the jump path, finding a sub-application ID adjacent to the determined sub-application identifier and located before the determined sub-application ID; and returning the sub-application corresponding to the found sub-application identifier is occurring The page displayed when jumping.
  • the processor when the computer readable instructions are executed by the processor, the processor further causes the processor to: send a jump relationship that is jumped by the first sub-application to the second sub-application to the server; receive feedback from the server Corresponding to the verification result of the jump relationship; and when the verification result indicates that the jump relationship is allowed, executing the second sub-application corresponding to the selected sub-application identifier, generating an overlay on the displayed page for display The steps that belong to the page of the second sub-application.
  • the processor when the computer readable instructions are executed by the processor, the processor further causes the processor to perform the following steps: when the sub-application jump operation is the first type of jump operation, proceeding to perform the jump operation according to the sub-application a step of displaying a candidate sub-application identifier; when the sub-application jump operation is a second type jump operation, switching to the parent application's page according to the sub-application jump operation; through the parent application's page, Triggering to obtain a sub-application identifier to be jumped to; and generating, by the second sub-application corresponding to the acquired sub-application identifier, a page belonging to the second sub-application that is displayed on the displayed page for display.
  • the processor when the computer readable instructions are executed by the processor, the processor further causes the processor to: obtain a page identifier corresponding to the page to which the switch is made, and a jump path for recording the sub-application jump relationship; When the obtained sub-application identifier exists in the jump path, the sub-application identifier and the page identifier located in the jump path after the obtained sub-application identifier are deleted; and when the obtained sub-application identifier does not exist in the When the path is jumped, the page identifier and the obtained sub-application ID are sequentially routed to the end of the jump path.
  • Non-volatile memory can include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory can include random access memory (RAM) or external cache memory.
  • RAM is available in a variety of formats, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization chain.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • Synchlink DRAM SLDRAM
  • Memory Bus Radbus
  • RDRAM Direct RAM
  • DRAM Direct Memory Bus Dynamic RAM
  • RDRAM Memory Bus Dynamic RAM

Landscapes

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

Abstract

一种应用程序处理方法,该方法包括:显示由母应用程序所运行的第一子应用程序的页面;检测对应于所述页面的子应用程序跳转操作;根据所述子应用程序跳转操作展示候选的子应用程序标识;确定通过选择操作从展示的子应用程序标识中选中的子应用程序标识;通过与选中的所述子应用程序标识对应的第二子应用程序,生成覆盖于已显示的所述页面上进行显示的属于所述第二子应用程序的页面。

Description

应用程序处理方法、装置、存储介质和计算机设备
本申请要求于2018年01月18日提交中国专利局,申请号为2018100483448,申请名称为“应用程序处理方法、装置、存储介质和计算机设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及计算机技术领域,特别是涉及一种应用程序处理方法、装置、存储介质和计算机设备。
背景技术
应用程序是为了得到某种结果而可以由计算机等具有信息处理能力的终端执行的代码化指令序列,或者可以被自动转换成代码化指令序列的符号化指令序列或者符号化语句序列。目前,用户可以在终端上安装各种应用程序,如拍照应用程序、社交应用程序或者邮件应用程序等,从而通过终端上安装的这些应用可以实现各种功能,如拍照功能、社交功能或者电子邮件管理功能等。
目前,用户在使用某一应用程序的过程中意图获取另一应用程序的数据时,需要根据用户指令退出当前使用的应用程序,再启动意图获取的数据所属的应用程序并使用。因此,目前应用程序的使用都需要经过一系列耗时较长的步骤,非常繁琐,导致应用程序的使用效率比较低。
发明内容
根据本申请提供的各种实施例,提供一种应用程序处理方法、装置、存储介质和计算机设备。
一种应用程序处理方法,由计算机设备执行,所述方法包括:
显示由母应用程序所运行的第一子应用程序的页面;
检测对应于所述页面的子应用程序跳转操作;
根据所述子应用程序跳转操作展示候选的子应用程序标识;
确定通过选择操作从展示的子应用程序标识中选中的子应用程序标识;及
通过与选中的所述子应用程序标识对应的第二子应用程序,生成覆盖于已显示的所述页面上进行显示的属于所述第二子应用程序的页面。
一种应用程序处理装置,包括:
显示模块,用于显示由母应用程序所运行的第一子应用程序的页面;
检测模块,用于检测对应于所述页面的子应用程序跳转操作;
展示模块,用于根据所述子应用程序跳转操作展示候选的子应用程序标识;
确定模块,用于确定通过选择操作从展示的子应用程序标识中选中的子应用程序标识;及
生成模块,用于通过与选中的所述子应用程序标识对应的第二子应用程序,生成覆盖于已显示的所述页面上进行显示的属于所述第二子应用程序的页面。
一种存储有计算机可读指令的非易失性存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:
显示由母应用程序所运行的第一子应用程序的页面;
检测对应于所述页面的子应用程序跳转操作;
根据所述子应用程序跳转操作展示候选的子应用程序标识;
确定通过选择操作从展示的子应用程序标识中选中的子应用程序标识;及
通过与选中的所述子应用程序标识对应的第二子应用程序,生成覆盖于已显示的所述页面上进行显示的属于所述第二子应用程序的页面。
一种计算机设备,包括存储器和处理器,所述存储器中存储有计算机可 读指令,所述计算机可读指令被所述处理器执行时,使得所述处理器执行以下步骤:
显示由母应用程序所运行的第一子应用程序的页面;
检测对应于所述页面的子应用程序跳转操作;
根据所述子应用程序跳转操作展示候选的子应用程序标识;
确定通过选择操作从展示的子应用程序标识中选中的子应用程序标识;及
通过与选中的所述子应用程序标识对应的第二子应用程序,生成覆盖于已显示的所述页面上进行显示的属于所述第二子应用程序的页面。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征、目的和优点将从说明书、附图以及权利要求书变得明显。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为一个实施例中应用程序处理系统的应用环境图;
图2为一个实施例中应用程序处理方法的流程示意图;
图3为一个实施例中操作系统、母应用程序、子应用程序以及子应用程序的页面之间关系的示意图;
图4为一个实施例中显示第一子应用程序的页面的界面示意图;
图5为一个实施例中展示候选的子应用程序标识的界面示意图;
图6为一个实施例中显示第二子应用程序的页面的界面示意图;
图7为另一个实施例中展示候选的子应用程序标识的界面示意图;
图8为一个实施例中应用程序处理方法的流程示意图;
图9为一个实施例中应用程序处理装置的模块结构图;
图10为另一个实施例中应用程序处理装置的模块结构图;及
图11为一个实施例中计算机设备的内部结构图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
图1为一个实施例中应用程序处理系统的应用环境图。参照图1,该应用程序处理系统包括终端110和服务器120。终端110和服务器120通过网络连接。终端110上运行操作系统,操作系统上运行母应用程序,终端110通过该母应用程序实施应用程序处理方法,以通过该母应用程序实现子应用程序跳转。终端110具体可通过母应用程序创建子应用程序逻辑层处理单元和相应的子应用程序视图层处理单元。子应用程序视图层处理单元可用于生成子应用程序页面。其中,服务器120也用于校验子应用程序间跳转的跳转关系,当跳转关系被允许时,终端才进行子应用程序之间的跳转。
图2为一个实施例中应用程序处理方法的流程示意图。本实施例主要以该方法应用于上述图1中的终端110来举例说明。参照图2,该应用程序处理方法具体包括如下步骤:
S202,显示由母应用程序所运行的第一子应用程序的页面。
具体地,终端上运行有操作系统,并在操作系统上运行了母应用程序。操作系统(Operating System,简称OS)是管理和控制终端硬件与软件资源的计算机程序,是直接运行在用户终端裸机上的最基本的系统软件,应用程序需要在操作系统的支持下运行。操作系统可以是视窗(Windows)操作系统或Linux操作系统或者Mac OS(苹果桌面操作系统)等桌面操作系统,也可以是iOS(苹果移动终端操作系统)或者安卓(Android)操作系统等移动操作系统。
母应用程序是原生应用程序。原生应用程序是可直接运行于操作系统的 应用程序。母应用程序可以是社交应用程序、邮件应用程序或者游戏应用程序等。社交应用程序包括即时通信应用、SNS(Social Network Service,社交网站)应用或者直播应用等。母应用程序具体可以是微信程序(WeChat)。
子应用程序则是可在母应用程序提供的环境中运行的应用程序。子应用程序具体可以是社交应用程序、文件管理应用程序、邮件应用程序或者游戏应用程序等。母应用程序具体可以是微信程序(WeChat),相应的子应用程序可以称之为小程序。
图3示出了一个实施例中操作系统、母应用程序、子应用程序以及子应用程序的页面之间关系的示意图。参照图3,终端上运行操作系统,并在操作系统上运行母应用程序,母应用程序为子应用程序的运行提供环境。终端可通过母应用程序创建用于实现子应用程序的子应用程序逻辑层单元和相应的子应用程序视图层单元。子应用程序逻辑层单元可用于执行子应用程序的程序包中的页面逻辑代码;子应用程序视图层单元可用于执行子应用程序的程序包中的页面结构代码和页面样式代码。程序包中的页面逻辑代码、页面结构代码和页面样式代码可以统称为页面代码。
在一个实施例中,当有待在母应用程序所提供的环境中运行的子应用程序时,终端可通过母应用程序创建用于实现该子应用程序的子应用程序逻辑层单元和相应的子应用程序视图层单元,并获取该子应用程序对应的页面代码。终端可再通过子应用程序视图层单元执行页面代码中的页面结构代码,按照该页面结构代码中指定的组件标识选取组件,再执行页面代码中的页面样式代码以组织选取的组件,并将页面数据应用于组件中并渲染,形成该子应用程序的页面并展示,从而显示由母应用程序所运行的子应用程序的页面。
其中,页面数据是渲染子应用程序的页面所需的数据。页面数据可以是子应用程序的页面逻辑代码中定义的页面初始数据,也可以是从子应用程序的页面逻辑代码所指定的存储位置拉取的数据,还可以是子应用程序逻辑层单元对子应用程序视图层单元传递来的事件进行处理后产生的数据。
页面结构代码是定义页面组成的代码。页面结构代码可包括页面所包括 的组件的标识。页面样式代码是定义页面样式的代码。页面逻辑代码是定义相应的子应用程序页面的处理逻辑的代码。
组件可以是母应用程序提供的不同子应用程序的页面所共用的公共组件,也可以是该子应用程序自主提供的该子应用程序单独使用的私有组件。组件具有视觉形态,是子应用程序的页面的组成单元。组件具有唯一的标识,可以是组件的名称。
可以理解,这里的第一子应用程序和后文中涉及的第二子应用程序均是子应用程序,但是不同的子应用程序。
S204,检测对应于页面的子应用程序跳转操作。
其中,子应用程序跳转操作是用于触发子应用程序跳转的操作。对应于页面的子应用程序跳转操作,是用于触发从当前显示页面所属的子应用程序跳转至另外的子应用程序的操作。
具体地,终端可通过当前显示页面所属的子应用程序,检测或监听对应于当前显示页面的预定义的触发操作,在检测到预定义的触发操作时通知母应用程序,母应用程序从而判定检测到子应用程序跳转操作。终端也可直接通过母应用程序检测或监听对应于当前显示页面的预定义的触发操作,在检测到预定义的触发操作时即判定检测到子应用程序跳转操作。
其中,预定义的触发操作可以是对页面中页面控件的操作,比如对页面控件的触控操作或者光标点击操作等。触发操作也可以是对预定义的物理按钮的按压操作,或者在显示子应用程序的页面时触发的晃动操作,或者对于子应用程序的页面的拖拽操作等。
S206,根据子应用程序跳转操作展示候选的子应用程序标识。
其中,子应用程序标识用于唯一标识一个子应用程序。子应用程序标识可以是包括数字、字母和符号中的至少一种字符的字符串。
候选的子应用程序标识可以是母应用程序历史运行过的子应用程序的子应用程序标识,这样跳转至的子应用程序曾在母应用程序中运行过,避免了需要下载子应用程序的程序包,再运行该子应用程序带来的耗时。
候选的子应用程序标识也可以是关联的地理位置与本地地理位置之间满足地理位置相近条件的子应用程序标识。这样子应用程序的标识即可按照距离本地地理位置的远近排序展示,用户可以利用地理位置定位所需的子应用程序,方便快捷。
候选的子应用程序标识还可以是对应的应用类型与当前显示页面所属子应用程序的应用类型相近的子应用程序标识。这样用户在当前子应用程序的页面中未查找到意图查找的页面内容时,可快捷地跳转到相似的子应用程序的页面继续查找意图查找的页面内容。
候选的子应用程序标识还可以是根据当前登录的用户标识所对应的用户行为数据筛选的子应用程序标识。这样根据用户行为数据筛选的子应用程序极大程度上为用户感兴趣的子应用程序,从而提高子应用程序的使用效率。
具体地,终端可通过母应用程序根据子应用程序跳转操作,获取候选的子应用程序,继而展示候选的子应用程序标识。
在一个实施例中,终端还可通过母应用程序检测对应于展示候选的子应用程序标识的滑动操作,通过滑动操作跳转当前显示的子应用程序标识。
S208,确定通过选择操作从展示的子应用程序标识中选中的子应用程序标识。
具体地,终端可通过母应用程序检测对于展示的子应用程序标识的选择操作,从而确定选取操作所选中的子应用程序标识。
S210,通过与选中的子应用程序标识对应的第二子应用程序,生成覆盖于已显示的页面上进行显示的属于第二子应用程序的页面。
具体地,终端可通过与第二子应用程序对应的子应用程序视图层单元,执行与第二子应用程序对应的页面结构代码,按照该页面结构代码中指定的组件标识选取组件,再执行与第二子应用程序对应的页面样式代码以组织选取组件,并将页面数据应用于组件中并渲染,生成覆盖于已显示的页面上进行显示的属于第二子应用程序的页面。
在一个实施例中,终端可通过母应用程序,将与第二子应用程序对应的 子应用程序视图层单元生成的页面,覆盖在已显示的页面上进行显示。这样,用户在使用子应用程序时,即可通过母应用程序提供的基于母应用程序层面的跳转自由切换子应用程序,子应用程序开发者不需要再单独针对子应用程序开发跳转功能,降低了子应用程序开发成本与开发工作量,从而提高了母应用程序中子应用程序接入量。
在一个实施例中,与第二子应用程序对应的子应用程序视图层单元在生成页面后,也可自动覆盖于已显示的页面上进行显示。
在一个实施例中,由第二子应用程序生成的、覆盖于已显示的页面上进行显示的属于第二子应用程序的页面可以是第二子应用程序的首页,也可以是实现设置的特定页面。
上述应用程序处理方法,操作系统上运行有母应用程序,子应用程序则可由母应用程序来运行,显示属于该子应用程序的页面。在检测到对应于当前显示的页面的子应用程序跳转操作后,自动根据该子应用程序跳转操作展示候选的子应用程序标识。这样用户即可在候选的子应用程序标识中自主选择意图跳转至的第二子应用程序,第二子应用程序从而生成覆盖于已显示的页面上进行显示的属于第二子应用程序的页面,自动实现子应用程序的跳转,避免了需要退出当前使用的应用程序,再启动意图跳转至的应用程序而导致的耗时,提高了应用程序的使用效率。
在一个实施例中,S204包括:检测作用于页面中子应用程序跳转入口的子应用程序跳转操作。S206包括:根据子应用程序跳转操作,在相对于页面所在视图层的顶层视图层绘制悬浮窗口;及在悬浮窗口中展示候选的子应用程序标识。
其中,子应用程序跳转入口是用于触发子应用程序跳转操作的操作入口。子应用程序跳转入口具体可以是页面控件、图标、链接或者虚拟按钮等。子应用程序跳转操作具体可以是作用于子应用程序跳转入口的触控操作或者点击操作。该触控操作或者点击操作可以是短时操作也可以是长按操作。
视图层是用于进行页面内容绘制的图层。悬浮窗口是可以定制显示位置 和显示尺寸的窗口。悬浮窗口所在视图层始终为顶层视图层。悬浮窗口可为矩形,也可为圆形或者不规则形状。
具体地,终端可通过当前显示页面所属的子应用程序,检测或监听作用于页面中子应用程序跳转入口的子应用程序跳转操作,在检测到子应用程序跳转操作时通知母应用程序,母应用程序从而检测到子应用程序跳转操作。终端也可直接通过母应用程序直接检测或监听作用于页面中子应用程序跳转入口的子应用程序跳转操作。
进一步地,终端上运行的母应用程序在检测到作用于页面中子应用程序跳转入口的子应用程序跳转操作后,即根据子应用程序跳转操作,在相对于当前显示页面所在视图层的顶层视图层绘制悬浮窗口,再在悬浮窗口中展示候选的子应用程序标识。其中,悬浮窗口的显示位置与显示尺寸可由母应用程序对应的服务器统一制定,也可由用户自定义设置。
在一个实施例中,子应用程序程序跳转入口可以属于子应用程序的页面。母应用程序所对应的服务器可统一设置子应用程序程序跳转入口配置文件,子应用程序的页面开发者在开发子应用程序的页面时,根据该统一设置的子应用程序程序跳转入口配置文件,在开发的页面中配置子应用程序程序跳转入口。
在一个实施例中,子应用程序程序跳转入口也可以不属于子应用程序的页面。终端可通过母应用程序生成包括子应用程序程序跳转入口的导航栏,将导航栏与子应用程序的页面拼接显示。
举例说明,图4示出了一个实施例中显示第一子应用程序的页面的界面示意图。参考图4,该界面包括子应用程序标识401和子应用程序跳转入口402。终端可通过母应用程序,检测作用于子应用程序跳转入口402的子应用程序跳转操作(比如长按操作),在相对于当前显示页面所在视图层的顶层视图层绘制如图5中所示的悬浮窗口,进而在悬浮窗口中展示候选的子应用程序标识。参考图5,该示意图包括悬浮窗口510以及在悬浮窗口510中显示的候选的子应用程序标识511。
终端可通过母应用程序,检测作用于展示的子应用程序标识的选择操作(比如触控操作),确定通过选择操作从展示的子应用程序标识中选中的子应用程序标识,跳转到如图6所示的第二子应用程序的页面。
举例说明,假设母应用程序为微信,子应用程序为小程序。例如,用户在使用京东购物小程序时,没有发现自己想要的货品,此时用户可以通过多任务界面,打开唯品会小程序。这样,在小程序开发者自己没有做跳转的情况下,用户可以通过微信提供的系统级别的跳转自由切换其他小程序。这里的多任务界面即为展示候选子应用程序标识的悬浮窗口。
上述实施例中,用户在使用子应用程序时,即可通过母应用程序提供的基于母应用程序层面的跳转自由切换子应用程序,方便快捷。
在一个实施例中,S204包括:检测通过拖拽页面所触发的子应用程序跳转操作。S206包括:根据子应用程序跳转操作,在拖拽页面形成的页面区域中展示候选的子应用程序标识。
其中,通过拖拽页面所触发的子应用程序跳转操作具体可以是页面拖拽操作。页面拖拽操作具体可以是眼控页面拖拽操作或者手控页面拖拽操作等。眼控页面拖拽操作具体可以是通过瞳孔位置移动来控制终端拖拽页面。手控页面拖拽操作具体可以是通过手指触摸滑动操作来控制终端拖拽页面。
具体地,终端在通过母应用程序拖拽页面时,发生移动的页面区域与显示屏顶端或者导航栏的下边界间会形成未显示页面内容的页面区域。终端可通过母应用程序将候选的子应用程序标识在该页面区域。可以理解,这里的未显示页面内容并不代表该页面区域不显示任何内容,可显示“加载中”或者“loading”等表示页面刷新的标识字符、图片或者动画等。
举例说明,图7示出了一个实施例中展示候选的子应用程序标识的界面示意图。参考图7,该界面包括拖拽页面形成的页面区域710及在该页面区域710中展示的候选的子应用程序标识711。
在本实施例中,用户在使用子应用程序时,即可通过母应用程序提供的基于母应用程序层面的跳转自由切换子应用程序,方便快捷。而且展示的子 应用程序标识不覆盖当前显示的子应用程序的页面,不影响用户正常使用当前前台运行的子应用程序。
在一个实施例中,通过拖拽页面形成不同的拖拽距离可触发不同类型的操作。比如子应用程序跳转操作或者页面刷新操作等。在本实施例中,终端可事先设置不同操作各自对应的页面拖拽距离区间。根据当前拖拽页面的页面拖拽距离所属的页面拖拽距离区间来判定拖拽页面所触发的操作。这样即可准确方便的控制各种操作的触发,避免出错。
在一个实施例中,该应用程序处理方法还包括:获取用于记录子应用程序跳转关系的跳转路径;当选中的子应用程序标识存在于跳转路径中时,将跳转路径中位于选中的子应用程序标识之后的子应用程序标识删除;及当选中的子应用程序标识不存在于跳转路径中时,将选中的子应用程序标识添加至跳转路径的末尾。
其中,跳转路径中包括按照子应用程序跳转顺序排列的子应用程序标识,记录了子应用程序跳转关系。比如:记录了“从子应用程序A跳转到子应用程序B再跳转到子应用程序C”的子应用程序跳转关系的跳转路径为:A→B→C。
具体地,终端可通过母应用程序获取用于记录子应用程序跳转关系的跳转路径,遍历获取的跳转路径中的子应用程序标识,将遍历至的子应用程序标识与选中的子应用程序标识进行比较。母应用程序在判定遍历至的子应用程序标识与选中的子应用程序标识相同时,则将跳转路径中位于遍历至的子应用程序标识之后的子应用程序标识删除。母应用程序在判定遍历至的各子应用程序标识均与选中的子应用程序标识不相同时,则直接将选中的子应用程序标识添加至跳转路径的末尾。
举例说明,假设终端通过母应用程序获取的跳转路径为“A→B→C”。若当前意图从C对应的子应用程序跳转至A对应的子应用程序,此时,A存在于“A→B→C”中,则在“A→B→C”中将A之后的子应用程序标识删除,得到“A”。若当前意图从C对应的子应用程序跳转至D对应的子应用程序,此时, D不存在于“A→B→C”中,则直接将D添加至“A→B→C”的末尾,得到“A→B→C→D”。
可以理解,子应用程序在母应用程序提供的环境中是采用单例的方式运行的,不支持多个运行实例。每当跳转到某一子应用程序时,该子应用程序则会清除保存在页面堆栈中的曾显示的页面,重新生成页面。这样,原来的子应用程序跳转时的上下文环境会丢失,如果在跳转链中保留多个相同的程序,那么重复返回到时也无法还原跳转到的状态。因此,优选的是在连续跳转中出现跳转到跳转路径中已存在的子应用程序时,在跳转路径中删除该子应用程序后的跳转关系。而且,在删除跳转关系后,结束该跳转关系中子应用程序的后台运行状态,以减少终端内存占用与耗电。
在本实施例中,在母应用程序提供的环境中进行子应用程序之间的跳转时,记录了子应用程序跳转关系,从而可以逐层返回各个已访问的子应用程序。
在一个实施例中,该应用程序处理方法还包括:获取对应于当前显示页面的返回指令;响应于返回指令,确定当前显示页面所对应的子应用程序标识;在跳转路径中,查找与确定的子应用程序标识相邻、且位于确定的子应用程序标识之前的子应用程序标识;返回查找到的子应用程序标识所对应的子应用程序在发生跳转时,所显示的页面。
其中,返回指令是用于返回在先启动的子应用程序的指令。终端可通过母应用程序检测或监听在当前显示页面中触发的事件。该事件用于触发从当前显示页面所属的子应用程序,返回至在先启动的子应用程序。该事件可以是针对图标或者虚拟按钮等操作入口的触发操作,或者当前显示页面的触发操作。触发操作可以是触控操作、点击操作或者滑动操作等。
具体地,终端在通过母应用程序获取返回指令后,响应于该返回指令,确定当前显示页面相应的子应用程序标识;再在跳转路径中,查找与确定的子应用程序标识相邻、且位于确定的子应用程序标识之前的子应用程序标识,返回查找到的子应用程序标识所对应的子应用程序在发生跳转时所显示的页 面。
其中,终端通过第二子应用程序生成属于第二子应用程序的页面覆盖当前页面显示后,被覆盖的属于第一子应用程序的页面会保存在页面堆栈中,当从第二子应用程序返回第一子应用程序时,会直接返回存储在页面堆栈中属于第一子应用程序的页面。
在本实施例中,提供了子应用程序在跳转后返回的处理方式,使得在意图返回已使用的子应用程序时,即可直接在母应用程序中进行返回,不需退出需要退出当前使用的应用程序,再启动意图返回至的应用程序而导致的耗时,提高了应用程序的使用效率。而且在返回在先运行的子应用程序时,直接快速返回到待返回的子应用程序在跳转时所显示的页面,使得用户可在该页面继续操作,提高了应用程序的便利性。
在一个实施例中,子应用程序包括第三方子应用程序和原生插件子应用程序。其中,原生插件子应用程序是由母应用程序的开发者所开发,用于实现母应用程序插件功能的子应用程序。比如,附近入口子应用程序或者扫一扫子应用程序等。对用户而言,原生插件子应用程序的页面与母应用程序页面的页面结构与页面样式一致。第三方子应用程序,是在母应用程序对应的开放服务平台注册的第三方服务商所开发的子应用程序。原生插件子应用程序的页面与第三方子应用程序的页面存在区别。
在一个实施例中,候选的子应用程序标识均为第三方子应用程序的子应用程序标识。这样,第三方子应用程序开发者不需要再单独针对子应用程序开发跳转功能,降低了子应用程序开发成本与开发工作量,从而提高了母应用程序中第三方子应用程序接入量。
在一个实施例中,该应用程序处理方法还包括:当子应用程序跳转操作为第一类型跳转操作时,则继续执行根据子应用程序跳转操作展示候选的子应用程序标识的步骤;当子应用程序跳转操作为第二类型跳转操作时,则根据子应用程序跳转操作,切换至母应用程序的页面;通过母应用程序的页面,触发获取待跳转至的子应用程序标识;及通过与获取的子应用程序标识对应 的第二子应用程序,生成覆盖于已显示的页面上进行显示的属于第二子应用程序的页面。
其中,第一类型跳转操作和第二类型跳转操作是两种不同的触发子应用程序跳转的操作。第一类型跳转操作是通过展示候选的子应用程序标识来触发子应用程序跳转。第二类型跳转操作是通过切换至母应用程序的页面来触发子应用程序跳转。
具体地,终端可通过母应用程序事先建立各子应用程序跳转操作与跳转类型的对应关系。比如,短时操作对应至第一类型跳转操作,长时操作对应至第二类型跳转操作。这样终端在通过母应用程序检测到单击操作则判定为第一类型跳转操作,检测到长按操作则判定为第二类型跳转操作,从而通过不同的方式来触发子应用程序跳转。
具体地,母应用程序的页面用于触发子应用程序跳转。也就是说,从意图从一个子应用程序跳转到另一个子应用程序时,需要先切换到母应用程序的页面,再通过该页面触发跳转。
其中,用于触发子应用程序跳转的属于母应用程序的页面可以是统一的页面。通过统一的页面可以触发开启跳转至任意的子应用程序。用于触发子应用程序跳转的属于母应用程序的页面,也可以是与子应用程序一一对应的属于母应用程序的页面。每一个子应用程序存在一个对应的、用于启动该子应用程序的属于母应用程序的页面。
在本实施例中,通过切换至触发子应用程序跳转的母应用程序页面以实现子应用程序跳转,提供了新的子应用程序跳转的途径。
在一个实施例中,该应用程序处理方法还包括:获取切换至的页面所对应的页面标识,及用于记录子应用程序跳转关系的跳转路径;当获取的子应用程序标识存在于跳转路径中时,则将跳转路径中位于获取的子应用程序标识之后的子应用程序标识和页面标识删除;及当获取的子应用程序标识不存在于跳转路径中时,则将页面标识和获取的子应用程序标识依次至跳转路径的末尾。
其中,跳转路径中包括按照子应用程序跳转顺序排列的子应用程序标识和/或母应用程序页面标识,记录了子应用程序的跳转关系并反映子应用程序跳转方式。比如:记录了“从子应用程序A通过切换到母应用程序的页面M跳转到子应用程序C”的子应用程序跳转关系的跳转路径为:A→M→C。
具体地,终端可通过母应用程序获取用于记录子应用程序跳转关系的跳转路径,遍历获取的跳转路径中的子应用程序标识,将遍历至的子应用程序标识与获取的子应用程序标识进行比较。母应用程序在判定遍历至的子应用程序标识与获取的子应用程序标识相同时,则将跳转路径中位于遍历至的子应用程序标识之后的子应用程序标识和页面标识删除。母应用程序在判定遍历至的各子应用程序标识均与获取的子应用程序标识不相同时,则将页面标识和获取的子应用程序标识依次至跳转路径的末尾。
举例说明,假设终端通过母应用程序获取的跳转路径为“A→M1→B”。若当前意图从B对应的子应用程序通过母应用程序的页面M2跳转至A对应的子应用程序,此时,A存在于“A→M1→B”中,则将“A→M1→B”中位于A之后的子应用程序标识和页面标识删除,得到“A”。若当前意图从B对应的子应用程序通过母应用程序的页面M2跳转至C对应的子应用程序,此时,C不存在于“A→M1→B”中,则将页面标识和获取的子应用程序标识依次至“A→M1→B”的末尾,得到“A→M1→B→M2→C”。
在本实施例中,在母应用程序提供的环境中进行子应用程序之间的跳转时,记录了反映子应用程序跳转方式的子应用程序跳转关系,从而可以逐层返回各个已访问的子应用程序或母应用程序页面。
在一个实施例中,终端在通过母应用程序响应于返回指令进行返回操作时,可在跳转路径中,查找与确定的子应用程序标识相邻、且位于确定的子应用程序标识之前的子应用程序标识或页面标识。当查找到的是子应用程序标识时,则返回查找到的子应用程序标识所对应的子应用程序在发生跳转时,所显示的页面。当查找到的是页面标识时,则返回查找到的页面标识所对应的页面。
在一个实施例中,该应用程序处理方法还包括:将由第一子应用程序跳转至第二子应用程序的跳转关系发送至服务器;接收服务器反馈的对应于跳转关系的校验结果;及当校验结果表示跳转关系被允许时,执行通过与选中的子应用程序标识对应的第二子应用程序,生成覆盖于已显示的页面上进行显示的属于第二子应用程序的页面的步骤。
具体地,终端在通过母应用程序,获取待跳转至的子应用程序相应的子应用程序标识,获取当前显示页面所对应的子应用程序标识。终端再将两个子应用程序标识以及子应用程序之间的跳转关系发送至服务器。服务器检测接收到的子应用程序之间的跳转关系是否被允许。若接收到的子应用程序之间的跳转关系被封禁,则返回默认的页面数据。若接收到的子应用程序之间的跳转关系被允许,则返回跳转至的子应用程序相应的页面数据。
其他实施例中,服务器还可在检测接收到的子应用程序之间的跳转关系被允许时,继续检测待跳转至的子应用程序是否有效。若待跳转至的子应用程序有效,则返回跳转至的子应用程序相应的页面数据,若待跳转至的子应用程序无效,则返回默认的页面数据。
举例说明,母应用程序中运行的子应用程序A意图跳转至子应用程序B,则母应用程序将从A跳转至B的跳转关系,以及A与B的子应用程序标识发送至服务器。服务器在检测是否允许从A跳转至B,若不允许,则返回默认的页面数据;若允许,在继续检测B是否有效,若有效,则返回B对应的页面数据,若无效,则返回默认的页面数据。
其中,默认的页面数据比如无法访问页面的页面通知等。
在本实施例中,在进行子应用程序跳转之前,通过服务器校验子应用程序跳转关系是否被允许,只有在被允许的情况下进行跳转,保证了子应用程序使用的安全性。
如图8所示,在一个具体的实施例中,应用程序处理方法具体包括以下步骤:
S802,显示由母应用程序所运行的第一子应用程序的页面。
S804,检测作用于页面中子应用程序跳转入口的子应用程序跳转操作。
S806,判断检测到的子应用程序跳转操作是第一类型触发操作还是第二类型触发操作;若为第一类型触发操作,则跳转至S808;若为第二类型触发操作,则跳转至S824。
S808,根据子应用程序跳转操作,在相对于页面所在视图层的顶层视图层绘制悬浮窗口;在悬浮窗口中展示候选的子应用程序标识。
S810,确定通过选择操作从展示的子应用程序标识中选中的子应用程序标识;选中的所述子应用程序标识对应第二子应用程序。
S812,将由第一子应用程序跳转至第二子应用程序的跳转关系发送至服务器,接收服务器反馈的对应于跳转关系的校验结果。
S814,当校验结果表示跳转关系被允许时,通过第二子应用程序,生成覆盖于已显示的页面上进行显示的属于第二子应用程序的页面。
S816,获取用于记录子应用程序跳转关系的跳转路径。
S818,判断选中的子应用程序标识是否存在于跳转路径中;若是,则跳转至S820;若否,则跳转至S822。
S820,将跳转路径中位于选中的子应用程序标识之后的子应用程序标识删除。
S822,将选中的子应用程序标识添加至跳转路径的末尾。
S824,根据子应用程序跳转操作,切换至母应用程序的页面;通过母应用程序的页面,触发获取待跳转至的子应用程序标识。
S826,通过与获取的子应用程序标识对应的第二子应用程序,生成覆盖于已显示的页面上进行显示的属于第二子应用程序的页面。
S828,获取切换至的页面所对应的页面标识,及用于记录子应用程序跳转关系的跳转路径。
S830,判断获取的子应用程序标识是否存在于跳转路径中;若是,则跳转至S832;若否,则跳转至S834。
S832,将跳转路径中位于获取的子应用程序标识之后的子应用程序标识 和页面标识删除。
S834,将页面标识和获取的子应用程序标识依次至跳转路径的末尾。
S836,获取对应于当前显示页面的返回指令;响应于返回指令,确定当前显示页面所对应的子应用程序标识。
S838,在跳转路径中,查找与确定的子应用程序标识相邻、且位于确定的子应用程序标识之前的标识。当查找到的标识为子应用程序标识时,则跳转到S840;当查找到的标识为页面标识时,则跳转到S842。
S840,返回查找到的子应用程序标识所对应的子应用程序在发生跳转时,所显示的页面。
S842,返回查找到的页面标识所对应的页面。
其中,第一类型触发操作触发第一子应用程序调用navigateToMiniProgram JSAPI跳转到第二子应用程序。第二类型触发操作触发第一子应用程序打开母应用程序的页面,再由母应用程序的页面逻辑启动第二子应用程序。子应用程序返回时,可调用navigateBackMiniProgram JSAPI返回在先的子应用程序。
应该理解的是,虽然上述各实施例的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,上述各实施例中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
如图9所示,在一个实施例中,提供了一种应用程序处理装置900。参照图900,该应用程序处理装置900包括:显示模块901、检测模块902、展示模块903、确定模块904和生成模块905。应用程序处理装置900中包括的各个模块可全部或部分通过软件、硬件或其组合来实现。
显示模块901,用于显示由母应用程序所运行的第一子应用程序的页面。
检测模块902,用于检测对应于页面的子应用程序跳转操作。
展示模块903,用于根据子应用程序跳转操作展示候选的子应用程序标识。
确定模块904,用于确定通过选择操作从展示的子应用程序标识中选中的子应用程序标识。
生成模块905,用于通过与选中的子应用程序标识对应的第二子应用程序,生成覆盖于已显示的页面上进行显示的属于第二子应用程序的页面。
在一个实施例中,检测模块902还用于检测作用于页面中子应用程序跳转入口的子应用程序跳转操作。展示模块903还用于根据子应用程序跳转操作,在相对于页面所在视图层的顶层视图层绘制悬浮窗口;及在悬浮窗口中展示候选的子应用程序标识。
在一个实施例中,检测模块902还用于检测通过拖拽页面所触发的子应用程序跳转操作。展示模块903还用于根据子应用程序跳转操作,在拖拽页面形成的页面区域中展示候选的子应用程序标识。
在一个实施例中,应用程序处理装置900还包括:记录模块906,用于获取用于记录子应用程序跳转关系的跳转路径;当选中的子应用程序标识存在于跳转路径中时,将跳转路径中位于选中的子应用程序标识之后的子应用程序标识删除;及当选中的子应用程序标识不存在于跳转路径中时,将选中的子应用程序标识添加至跳转路径的末尾。
在一个实施例中,应用程序处理装置900还包括:返回模块907,用于获取对应于当前显示页面的返回指令;响应于返回指令,确定当前显示页面所对应的子应用程序标识;在跳转路径中,查找与确定的子应用程序标识相邻、且位于确定的子应用程序标识之前的子应用程序标识;及返回查找到的子应用程序标识所对应的子应用程序在发生跳转时,所显示的页面。
如图10所示,在一个实施例中,应用程序处理装置900还包括:记录模块906、返回模块907和校验模块908。
校验模块908,用于将由第一子应用程序跳转至第二子应用程序的跳转关系发送至服务器;及接收服务器反馈的对应于跳转关系的校验结果。
生成模块905还用于当校验结果表示跳转关系被允许时,通过与选中的子应用程序标识对应的第二子应用程序,生成覆盖于已显示的页面上进行显示的属于第二子应用程序的页面。
在一个实施例中,展示模块903还用于当子应用程序跳转操作为第一类型跳转操作时,根据子应用程序跳转操作展示候选的子应用程序标识;当子应用程序跳转操作为第二类型跳转操作时,则根据子应用程序跳转操作,切换至母应用程序的页面;及通过母应用程序的页面,触发获取待跳转至的子应用程序标识。生成模块905还用于通过与获取的子应用程序标识对应的第二子应用程序,生成覆盖于已显示的页面上进行显示的属于第二子应用程序的页面。
在一个实施例中,记录模块906还用于获取切换至的页面所对应的页面标识,及用于记录子应用程序跳转关系的跳转路径;当获取的子应用程序标识存在于跳转路径中时,则将跳转路径中位于获取的子应用程序标识之后的子应用程序标识和页面标识删除;及当获取的子应用程序标识不存在于跳转路径中时,则将页面标识和获取的子应用程序标识依次至跳转路径的末尾。
图11示出了一个实施例中计算机设备的内部结构图。该计算机设备具体可以是图1中的终端110。如图11所示,该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、输入设备和显示屏。其中,存储器包括非易失性存储介质和内存储器。该计算机设备的非易失性存储介质存储有操作系统,还可存储有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器实现应用程序处理方法。该内存储器中也可储存有计算机可读指令,该计算机可读指令被处理器执行时,可使得处理器执行应用程序处理方法。计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏等,输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,也可以是外接的键盘、触控板或鼠标等。本领域技术人员 可以理解,图11中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在一个实施例中,本申请提供的应用程序处理装置可以实现为一种计算机可读指令的形式,计算机可读指令可在如图11所示的计算机设备上运行,计算机设备的非易失性存储介质可存储组成该应用程序处理装置的各个指令模块,比如,图9所示的显示模块901、检测模块902、展示模块903、确定模块904和生成模块905等。各个指令模块组成的计算机可读指令使得处理器执行本说明书中描述的本申请各个实施例的应用程序处理方法中的步骤。
例如,图11所示的计算机设备可以通过如图9所示的应用程序处理装置900中的显示模块901显示由母应用程序所运行的第一子应用程序的页面。检测模块902检测对应于页面的子应用程序跳转操作。展示模块903根据子应用程序跳转操作展示候选的子应用程序标识。确定模块904确定通过选择操作从展示的子应用程序标识中选中的子应用程序标识。生成模块905通过与选中的子应用程序标识对应的第二子应用程序,生成覆盖于已显示的页面上进行显示的属于第二子应用程序的页面。
在一个实施例中,提供了一种计算机可读存储介质,该计算机可读存储介质上存储有计算机可读指令,该计算机可读指令被处理器执行时,使得处理器执行以下步骤:显示由母应用程序所运行的第一子应用程序的页面;检测对应于页面的子应用程序跳转操作;根据子应用程序跳转操作展示候选的子应用程序标识;确定通过选择操作从展示的子应用程序标识中选中的子应用程序标识;及通过与选中的子应用程序标识对应的第二子应用程序,生成覆盖于已显示的页面上进行显示的属于第二子应用程序的页面。
在一个实施例中,检测对应于页面的子应用程序跳转操作,包括:检测作用于页面中子应用程序跳转入口的子应用程序跳转操作。根据子应用程序 跳转操作展示候选的子应用程序标识,包括:根据子应用程序跳转操作,在相对于页面所在视图层的顶层视图层绘制悬浮窗口;及在悬浮窗口中展示候选的子应用程序标识。
在一个实施例中,检测对应于页面的子应用程序跳转操作,包括:检测通过拖拽页面所触发的子应用程序跳转操作。根据子应用程序跳转操作展示候选的子应用程序标识,包括:根据子应用程序跳转操作,在拖拽页面形成的页面区域中展示候选的子应用程序标识。
在一个实施例中,计算机可读指令被处理器执行时,还使得处理器执行以下步骤:获取用于记录子应用程序跳转关系的跳转路径;当选中的子应用程序标识存在于跳转路径中时,将跳转路径中位于选中的子应用程序标识之后的子应用程序标识删除;及当选中的子应用程序标识不存在于跳转路径中时,将选中的子应用程序标识添加至跳转路径的末尾。
在一个实施例中,计算机可读指令被处理器执行时,还使得处理器执行以下步骤:获取对应于当前显示页面的返回指令;响应于返回指令,确定当前显示页面所对应的子应用程序标识;在跳转路径中,查找与确定的子应用程序标识相邻、且位于确定的子应用程序标识之前的子应用程序标识;及返回查找到的子应用程序标识所对应的子应用程序在发生跳转时,所显示的页面。
在一个实施例中,计算机可读指令被处理器执行时,还使得处理器执行以下步骤:将由第一子应用程序跳转至第二子应用程序的跳转关系发送至服务器;接收服务器反馈的对应于跳转关系的校验结果;及当校验结果表示跳转关系被允许时,执行通过与选中的子应用程序标识对应的第二子应用程序,生成覆盖于已显示的页面上进行显示的属于第二子应用程序的页面的步骤。
在一个实施例中,计算机可读指令被处理器执行时,还使得处理器执行以下步骤:当子应用程序跳转操作为第一类型跳转操作时,则继续执行根据子应用程序跳转操作展示候选的子应用程序标识的步骤;当子应用程序跳转操作为第二类型跳转操作时,则根据子应用程序跳转操作,切换至母应用程 序的页面;通过母应用程序的页面,触发获取待跳转至的子应用程序标识;及通过与获取的子应用程序标识对应的第二子应用程序,生成覆盖于已显示的页面上进行显示的属于第二子应用程序的页面。
在一个实施例中,计算机可读指令被处理器执行时,还使得处理器执行以下步骤:获取切换至的页面所对应的页面标识,及用于记录子应用程序跳转关系的跳转路径;当获取的子应用程序标识存在于跳转路径中时,则将跳转路径中位于获取的子应用程序标识之后的子应用程序标识和页面标识删除;及当获取的子应用程序标识不存在于跳转路径中时,则将页面标识和获取的子应用程序标识依次至跳转路径的末尾。
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,存储器中储存有计算机可读指令,计算机可读指令被处理器执行时,使得处理器执行以下步骤:显示由母应用程序所运行的第一子应用程序的页面;检测对应于页面的子应用程序跳转操作;根据子应用程序跳转操作展示候选的子应用程序标识;确定通过选择操作从展示的子应用程序标识中选中的子应用程序标识;及通过与选中的子应用程序标识对应的第二子应用程序,生成覆盖于已显示的页面上进行显示的属于第二子应用程序的页面。
在一个实施例中,检测对应于页面的子应用程序跳转操作,包括:检测作用于页面中子应用程序跳转入口的子应用程序跳转操作。根据子应用程序跳转操作展示候选的子应用程序标识,包括:根据子应用程序跳转操作,在相对于页面所在视图层的顶层视图层绘制悬浮窗口;及在悬浮窗口中展示候选的子应用程序标识。
在一个实施例中,检测对应于页面的子应用程序跳转操作,包括:检测通过拖拽页面所触发的子应用程序跳转操作。根据子应用程序跳转操作展示候选的子应用程序标识,包括:根据子应用程序跳转操作,在拖拽页面形成的页面区域中展示候选的子应用程序标识。
在一个实施例中,计算机可读指令被处理器执行时,还使得处理器执行以下步骤:获取用于记录子应用程序跳转关系的跳转路径;当选中的子应用 程序标识存在于跳转路径中时,将跳转路径中位于选中的子应用程序标识之后的子应用程序标识删除;及当选中的子应用程序标识不存在于跳转路径中时,将选中的子应用程序标识添加至跳转路径的末尾。
在一个实施例中,计算机可读指令被处理器执行时,还使得处理器执行以下步骤:获取对应于当前显示页面的返回指令;响应于返回指令,确定当前显示页面所对应的子应用程序标识;在跳转路径中,查找与确定的子应用程序标识相邻、且位于确定的子应用程序标识之前的子应用程序标识;及返回查找到的子应用程序标识所对应的子应用程序在发生跳转时,所显示的页面。
在一个实施例中,计算机可读指令被处理器执行时,还使得处理器执行以下步骤:将由第一子应用程序跳转至第二子应用程序的跳转关系发送至服务器;接收服务器反馈的对应于跳转关系的校验结果;及当校验结果表示跳转关系被允许时,执行通过与选中的子应用程序标识对应的第二子应用程序,生成覆盖于已显示的页面上进行显示的属于第二子应用程序的页面的步骤。
在一个实施例中,计算机可读指令被处理器执行时,还使得处理器执行以下步骤:当子应用程序跳转操作为第一类型跳转操作时,则继续执行根据子应用程序跳转操作展示候选的子应用程序标识的步骤;当子应用程序跳转操作为第二类型跳转操作时,则根据子应用程序跳转操作,切换至母应用程序的页面;通过母应用程序的页面,触发获取待跳转至的子应用程序标识;及通过与获取的子应用程序标识对应的第二子应用程序,生成覆盖于已显示的页面上进行显示的属于第二子应用程序的页面。
在一个实施例中,计算机可读指令被处理器执行时,还使得处理器执行以下步骤:获取切换至的页面所对应的页面标识,及用于记录子应用程序跳转关系的跳转路径;当获取的子应用程序标识存在于跳转路径中时,则将跳转路径中位于获取的子应用程序标识之后的子应用程序标识和页面标识删除;及当获取的子应用程序标识不存在于跳转路径中时,则将页面标识和获取的子应用程序标识依次至跳转路径的末尾。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,所述的程序可存储于一非易失性计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (15)

  1. 一种应用程序处理方法,由计算机设备执行,所述方法包括:
    显示由母应用程序所运行的第一子应用程序的页面;
    检测对应于所述页面的子应用程序跳转操作;
    根据所述子应用程序跳转操作展示候选的子应用程序标识;
    确定通过选择操作从展示的子应用程序标识中选中的子应用程序标识;及
    通过与选中的所述子应用程序标识对应的第二子应用程序,生成覆盖于已显示的所述页面上进行显示的属于所述第二子应用程序的页面。
  2. 根据权利要求1所述的方法,其特征在于,所述检测对应于所述页面的子应用程序跳转操作,包括:
    检测作用于所述页面中子应用程序跳转入口的子应用程序跳转操作;
    所述根据所述子应用程序跳转操作展示候选的子应用程序标识,包括:
    根据所述子应用程序跳转操作,在相对于所述页面所在视图层的顶层视图层绘制悬浮窗口;及
    在所述悬浮窗口中展示候选的子应用程序标识。
  3. 根据权利要求1所述的方法,其特征在于,所述检测对应于所述页面的子应用程序跳转操作,包括:
    检测通过拖拽所述页面所触发的子应用程序跳转操作;
    所述根据所述子应用程序跳转操作展示候选的子应用程序标识,包括:
    根据所述子应用程序跳转操作,在拖拽所述页面形成的页面区域中展示候选的子应用程序标识。
  4. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    获取用于记录子应用程序跳转关系的跳转路径;
    当选中的所述子应用程序标识存在于所述跳转路径中时,将所述跳转路径中位于选中的所述子应用程序标识之后的子应用程序标识删除;及
    当选中的所述子应用程序标识不存在于所述跳转路径中时,将选中的所 述子应用程序标识添加至所述跳转路径的末尾。
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:
    获取对应于当前显示页面的返回指令;
    响应于所述返回指令,确定当前显示页面所对应的子应用程序标识;
    在所述跳转路径中,查找与确定的所述子应用程序标识相邻、且位于确定的所述子应用程序标识之前的子应用程序标识;及
    返回查找到的所述子应用程序标识所对应的子应用程序在发生跳转时,所显示的页面。
  6. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    将由第一子应用程序跳转至第二子应用程序的跳转关系发送至服务器;
    接收服务器反馈的对应于所述跳转关系的校验结果;及
    当所述校验结果表示所述跳转关系被允许时,执行所述通过与选中的所述子应用程序标识对应的第二子应用程序,生成覆盖于已显示的所述页面上进行显示的属于所述第二子应用程序的页面的步骤。
  7. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    当所述子应用程序跳转操作为第一类型跳转操作时,则继续执行所述根据所述子应用程序跳转操作展示候选的子应用程序标识的步骤;
    当所述子应用程序跳转操作为第二类型跳转操作时,则
    根据所述子应用程序跳转操作,切换至所述母应用程序的页面;
    通过所述母应用程序的页面,触发获取待跳转至的子应用程序标识;及
    通过与获取的所述子应用程序标识对应的第二子应用程序,生成覆盖于已显示的所述页面上进行显示的属于所述第二子应用程序的页面。
  8. 根据权利要求7所述的方法,其特征在于,所述方法还包括:
    获取切换至的页面所对应的页面标识,及用于记录子应用程序跳转关系的跳转路径;
    当获取的所述子应用程序标识存在于所述跳转路径中时,则将所述跳转路径中位于获取的所述子应用程序标识之后的子应用程序标识和页面标识删 除;及
    当获取的所述子应用程序标识不存在于所述跳转路径中时,则将所述页面标识和获取的所述子应用程序标识依次至所述跳转路径的末尾。
  9. 一种应用程序处理装置,包括:
    显示模块,用于显示由母应用程序所运行的第一子应用程序的页面;
    检测模块,用于检测对应于所述页面的子应用程序跳转操作;
    展示模块,用于根据所述子应用程序跳转操作展示候选的子应用程序标识;
    确定模块,用于确定通过选择操作从展示的子应用程序标识中选中的子应用程序标识;及
    生成模块,用于通过与选中的所述子应用程序标识对应的第二子应用程序,生成覆盖于已显示的所述页面上进行显示的属于所述第二子应用程序的页面。
  10. 根据权利要求9所述的装置,其特征在于,所述检测模块还用于检测作用于所述页面中子应用程序跳转入口的子应用程序跳转操作;所述展示模块还用于根据所述子应用程序跳转操作,在相对于所述页面所在视图层的顶层视图层绘制悬浮窗口;及在所述悬浮窗口中展示候选的子应用程序标识。
  11. 根据权利要求9所述的装置,其特征在于,所述装置还包括:
    记录模块,用于获取用于记录子应用程序跳转关系的跳转路径;当选中的所述子应用程序标识存在于所述跳转路径中时,将所述跳转路径中位于选中的所述子应用程序标识之后的子应用程序标识删除;及当选中的所述子应用程序标识不存在于所述跳转路径中时,将获取的所述子应用程序标识添加至所述跳转路径的末尾。
  12. 根据权利要求11所述的装置,其特征在于,所述装置还包括:
    返回模块,用于获取对应于当前显示页面的返回指令;响应于所述返回指令,确定当前显示页面所对应的子应用程序标识;在所述跳转路径中,查找与确定的所述子应用程序标识相邻、且位于确定的所述子应用程序标识之 前的子应用程序标识;及返回查找到的所述子应用程序标识所对应的子应用程序在发生跳转时,所显示的页面。
  13. 根据权利要求9所述的装置,其特征在于,所述装置还包括:
    校验模块,用于将由第一子应用程序跳转至第二子应用程序的跳转关系发送至服务器;接收服务器反馈的对应于所述跳转关系的校验结果;
    所述生成模块还用于当所述校验结果表示所述跳转关系被允许时,通过与选中的所述子应用程序标识对应的第二子应用程序,生成覆盖于已显示的所述页面上进行显示的属于所述第二子应用程序的页面。
  14. 一种存储有计算机可读指令的非易失性存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行如权利要求1至8中任一项所述的方法的步骤。
  15. 一种计算机设备,包括存储器和处理器,所述存储器中储存有计算机程序,所述计算机程序被所述处理器执行时,使得所述处理器执行如权利要求1至8中任一项所述的方法的步骤。
PCT/CN2019/071951 2018-01-18 2019-01-16 应用程序处理方法、装置、存储介质和计算机设备 WO2019141183A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
EP19740854.5A EP3734447B1 (en) 2018-01-18 2019-01-16 Application program processing method, apparatus, storage medium and computer device
JP2020539837A JP7146927B2 (ja) 2018-01-18 2019-01-16 アプリケーションプログラム処理方法、装置、記憶媒体及びコンピュータデバイス
US16/868,438 US11126328B2 (en) 2018-01-18 2020-05-06 Application processing method and apparatus, storage medium, and computing device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810048344.8 2018-01-18
CN201810048344.8A CN108196930B (zh) 2018-01-18 2018-01-18 应用程序处理方法、装置、存储介质和计算机设备

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/868,438 Continuation US11126328B2 (en) 2018-01-18 2020-05-06 Application processing method and apparatus, storage medium, and computing device

Publications (1)

Publication Number Publication Date
WO2019141183A1 true WO2019141183A1 (zh) 2019-07-25

Family

ID=62589687

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/071951 WO2019141183A1 (zh) 2018-01-18 2019-01-16 应用程序处理方法、装置、存储介质和计算机设备

Country Status (5)

Country Link
US (1) US11126328B2 (zh)
EP (1) EP3734447B1 (zh)
JP (1) JP7146927B2 (zh)
CN (1) CN108196930B (zh)
WO (1) WO2019141183A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112861051A (zh) * 2019-11-28 2021-05-28 北京沃东天骏信息技术有限公司 页面操作的控制方法、装置、电子设备和存储介质

Families Citing this family (32)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108196930B (zh) 2018-01-18 2020-04-03 腾讯科技(深圳)有限公司 应用程序处理方法、装置、存储介质和计算机设备
CN108566440B (zh) * 2018-06-26 2021-06-15 上海尚往网络科技有限公司 一种网络连接方法、设备及存储介质
CN108932147A (zh) * 2018-06-27 2018-12-04 上海掌门科技有限公司 用于切换寄宿应用的方法和设备
CN109165050B (zh) * 2018-07-05 2020-10-13 腾讯科技(深圳)有限公司 程序的运行方法、装置、计算设备以及存储介质
CN109388453B (zh) * 2018-09-07 2020-05-12 Oppo广东移动通信有限公司 应用页面的展示方法、装置、存储介质和电子设备
CN109542530A (zh) * 2018-10-26 2019-03-29 深圳点猫科技有限公司 一种基于小程序架构的分级加载方法及装置
CN109669755A (zh) * 2018-12-25 2019-04-23 北京金山安全软件有限公司 页面切换方法、装置、电子设备,及存储介质
CN109840146B (zh) * 2019-01-16 2023-05-09 腾讯科技(深圳)有限公司 业务处理方法、装置、终端及存储介质
CN109933444A (zh) * 2019-03-07 2019-06-25 上海连尚网络科技有限公司 一种寄宿应用间的即时通讯方法
CN110096874A (zh) * 2019-03-15 2019-08-06 深圳壹账通智能科技有限公司 程序页面安全告警方法、装置、计算机设备及存储介质
CN111694626B (zh) * 2019-03-15 2024-07-12 Oppo广东移动通信有限公司 应用跳转方法、装置、终端及存储介质
CN110321205B (zh) * 2019-04-03 2021-07-30 上海连尚网络科技有限公司 一种在宿主程序中管理寄宿程序的方法与设备
CN110007936B (zh) * 2019-04-16 2022-04-29 上海连尚网络科技有限公司 数据处理方法和装置
CN110069186B (zh) * 2019-04-30 2021-10-15 上海连尚网络科技有限公司 显示应用的操作界面的方法和设备
CN110502295A (zh) * 2019-07-23 2019-11-26 维沃移动通信有限公司 一种界面切换方法及终端设备
CN112394861B (zh) * 2019-08-15 2023-08-29 腾讯科技(深圳)有限公司 页面跳转方法、装置、存储介质及电子装置
CN110689332B (zh) * 2019-09-11 2022-04-22 腾讯科技(深圳)有限公司 资源账户绑定方法、存储介质及电子设备
CN112579213A (zh) * 2019-09-29 2021-03-30 北京国双科技有限公司 关联小程序数据的方法、装置、终端、服务器及存储介质
CN112734453B (zh) * 2019-10-28 2024-02-02 腾讯科技(深圳)有限公司 电子券领取方法、发放方法、装置、设备和存储介质
CN112948032B (zh) * 2019-12-11 2024-04-02 腾讯科技(深圳)有限公司 功能切换方法、装置、计算机可读存储介质和计算机设备
CN111324397A (zh) * 2020-03-26 2020-06-23 百度在线网络技术(北京)有限公司 小程序切换方法、装置、框架、设备和可读介质
CN111625238B (zh) * 2020-05-06 2023-02-03 Oppo(重庆)智能科技有限公司 一种显示窗口控制方法、装置、终端及存储介质
CN111880702A (zh) * 2020-06-19 2020-11-03 维沃移动通信有限公司 界面切换方法、装置及电子设备
CN111767108B (zh) * 2020-06-28 2024-08-02 Oppo广东移动通信有限公司 应用程序标签生成方法、应用界面显示方法以及装置
CN111782328A (zh) * 2020-07-02 2020-10-16 支付宝(杭州)信息技术有限公司 应用处理的方法及装置
CN111782108B (zh) * 2020-07-30 2022-03-04 网易(杭州)网络有限公司 游戏中的界面切换控制方法、装置、介质与设备
CN114327666B (zh) * 2020-09-30 2024-04-09 华为技术有限公司 应用启动方法、装置和电子设备
CN112883303A (zh) * 2021-02-25 2021-06-01 北京有竹居网络技术有限公司 页面跳转方法、装置、电子设备及存储介质
CN113127130B (zh) * 2021-05-08 2024-05-14 广州酷狗计算机科技有限公司 页面跳转方法、装置及存储介质
CN113805962B (zh) * 2021-08-31 2023-10-20 北京百度网讯科技有限公司 应用页面的显示方法、装置以及电子设备
CN118605958A (zh) * 2023-02-28 2024-09-06 华为云计算技术有限公司 访问虚拟世界应用的方法及相关产品
CN116820555B (zh) * 2023-08-29 2023-11-28 腾讯科技(深圳)有限公司 应用程序的分包方法、装置、电子设备及可读存储介质

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080103860A1 (en) * 2006-10-17 2008-05-01 Microsoft Corporation Executing Pages of a Guided Process Application in Parallel
CN106502736A (zh) * 2016-10-18 2017-03-15 腾讯科技(深圳)有限公司 应用程序处理方法和装置
CN107357644A (zh) * 2017-06-30 2017-11-17 腾讯科技(深圳)有限公司 应用程序处理方法、装置、存储介质和计算机设备
CN108196930A (zh) * 2018-01-18 2018-06-22 腾讯科技(深圳)有限公司 应用程序处理方法、装置、存储介质和计算机设备

Family Cites Families (37)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2320650B1 (en) * 2009-10-20 2014-06-04 Lg Electronics Inc. Method of processing application in digital broadcast receiver connected with interactive network and the digital broadcast receiver
JP5316363B2 (ja) * 2009-10-20 2013-10-16 ソニー株式会社 情報処理装置、機能管理方法、コンピュータプログラム及び情報処理システム
US8381104B2 (en) * 2010-05-06 2013-02-19 Litera Technologies, LLC Systems and methods for providing context recognition
US20130091513A1 (en) * 2011-10-10 2013-04-11 Mitchell International, Inc. Seamless external process integration
KR101888457B1 (ko) * 2011-11-16 2018-08-16 삼성전자주식회사 복수 개의 어플리케이션을 실행하는 터치스크린을 가지는 장치 및 그 제어 방법
KR20130054071A (ko) * 2011-11-16 2013-05-24 삼성전자주식회사 다중 어플리케이션을 실행하는 모바일 장치 및 그 방법
KR101356368B1 (ko) 2012-02-24 2014-01-29 주식회사 팬택 어플리케이션 전환 장치 및 방법
US8611931B2 (en) * 2012-04-09 2013-12-17 Lang Lin Method and system for integrated consumer experience and social networking
CN103546358B (zh) * 2012-07-09 2016-05-04 腾讯科技(深圳)有限公司 面向第三方应用的即时通讯方法及系统
JP2014060651A (ja) * 2012-09-19 2014-04-03 Sharp Corp 携帯端末装置、その制御方法、およびその制御プログラム
KR20140040379A (ko) * 2012-09-26 2014-04-03 삼성전자주식회사 휴대단말기의 어플리케이션 처리 장치 및 방법
WO2015015251A1 (en) * 2013-08-01 2015-02-05 Yogesh Chunilal Rathod Presenting plurality types of interfaces and functions for conducting various activities
CN107086955B (zh) * 2014-01-10 2019-07-09 腾讯科技(深圳)有限公司 信息分享控制方法及装置
CN105573639B (zh) * 2014-10-17 2018-11-20 国际商业机器公司 用于触发应用的显示的方法和系统
JP2016110401A (ja) * 2014-12-05 2016-06-20 株式会社デジタル 画像表示制御装置
US20160231870A1 (en) * 2015-02-05 2016-08-11 Brian Summa Systems and methods for composite applications
US20160350081A1 (en) * 2015-05-27 2016-12-01 Runnable Inc. Automatic container definition
US9582268B2 (en) * 2015-05-27 2017-02-28 Runnable Inc. Automatic communications graphing for a source application
CN104881212A (zh) * 2015-06-26 2015-09-02 深圳市富途网络科技有限公司 用于移动电子设备的显示界面的快捷切换方法及其系统
US10191766B2 (en) * 2015-10-13 2019-01-29 Microsoft Technology Licensing, Llc Authoring and running task-based flows within a computing system
US10382518B2 (en) * 2016-03-22 2019-08-13 Google Llc Low latency applications using multiple servers
KR102505478B1 (ko) * 2016-04-12 2023-03-06 삼성전자주식회사 플렉서블 디바이스 및 그 동작 방법
CN107957911B (zh) * 2016-10-18 2019-07-05 腾讯科技(深圳)有限公司 组件调用的方法和装置、组件数据处理的方法和装置
CN106569824B (zh) * 2016-11-07 2019-08-13 腾讯科技(深圳)有限公司 页面数据编译的方法和装置、页面渲染的方法和装置
CN108108205B (zh) * 2016-11-25 2019-07-05 腾讯科技(深圳)有限公司 应用程序页面处理方法和装置
CN106598655B (zh) * 2016-12-05 2020-02-14 腾讯科技(深圳)有限公司 应用程序页面处理方法和装置
CN106873871B (zh) * 2017-01-06 2018-09-11 腾讯科技(深圳)有限公司 页面截图方法和装置
CN106802803B (zh) * 2017-01-06 2020-06-05 腾讯科技(深圳)有限公司 应用数据处理的方法和装置
CN107179923B (zh) * 2017-03-31 2018-12-11 腾讯科技(深圳)有限公司 应用程序处理方法、装置和计算机设备
US10817492B2 (en) * 2017-05-05 2020-10-27 Servicenow, Inc. Application extension
CN107102880B (zh) * 2017-05-11 2018-11-23 腾讯科技(深圳)有限公司 消息处理方法、装置、存储介质和计算机设备
CN107229526B (zh) * 2017-05-17 2019-03-01 腾讯科技(深圳)有限公司 群会话中的消息处理方法、装置、存储介质和计算机设备
WO2019074244A1 (en) * 2017-10-09 2019-04-18 Samsung Electronics Co., Ltd. METHOD AND ELECTRONIC DEVICE FOR AUTOMATICALLY MANAGING THE ACTIVITIES OF AN APPLICATION
CN108228894B (zh) * 2018-02-05 2023-07-04 腾讯科技(深圳)有限公司 查看最近使用文件的方法、装置及终端
CN110444196B (zh) * 2018-05-10 2023-04-07 腾讯科技(北京)有限公司 基于同声传译的数据处理方法、装置、系统和存储介质
US11138551B2 (en) * 2018-05-30 2021-10-05 Walmart Apollo, Llc Bundled application for load management system
CN109165050B (zh) * 2018-07-05 2020-10-13 腾讯科技(深圳)有限公司 程序的运行方法、装置、计算设备以及存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080103860A1 (en) * 2006-10-17 2008-05-01 Microsoft Corporation Executing Pages of a Guided Process Application in Parallel
CN106502736A (zh) * 2016-10-18 2017-03-15 腾讯科技(深圳)有限公司 应用程序处理方法和装置
CN107357644A (zh) * 2017-06-30 2017-11-17 腾讯科技(深圳)有限公司 应用程序处理方法、装置、存储介质和计算机设备
CN108196930A (zh) * 2018-01-18 2018-06-22 腾讯科技(深圳)有限公司 应用程序处理方法、装置、存储介质和计算机设备

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112861051A (zh) * 2019-11-28 2021-05-28 北京沃东天骏信息技术有限公司 页面操作的控制方法、装置、电子设备和存储介质

Also Published As

Publication number Publication date
CN108196930B (zh) 2020-04-03
US20200264743A1 (en) 2020-08-20
EP3734447A4 (en) 2021-09-08
JP7146927B2 (ja) 2022-10-04
EP3734447C0 (en) 2023-09-20
EP3734447B1 (en) 2023-09-20
JP2021511592A (ja) 2021-05-06
EP3734447A1 (en) 2020-11-04
US11126328B2 (en) 2021-09-21
CN108196930A (zh) 2018-06-22

Similar Documents

Publication Publication Date Title
WO2019141183A1 (zh) 应用程序处理方法、装置、存储介质和计算机设备
US11269696B2 (en) Application processing method and apparatus
US11399090B2 (en) Page control for history pages of browsed data
WO2018095306A1 (zh) 应用程序页面处理方法、装置及存储介质
TWI529524B (zh) 應用場景的識別方法、功耗管理方法、裝置及終端設備
US9207972B2 (en) Meta-application management in a multitasking environment
WO2018177251A1 (zh) 应用程序处理方法、计算机设备和存储介质
US10268515B2 (en) Releasing resources from processes in a particular order to provide required resources to start an application
US11010211B2 (en) Content processing across applications
US8949858B2 (en) Augmenting user interface elements with information
US10831331B2 (en) Window control for simultaneously running applications
US10928992B2 (en) HTML editing operations
WO2016110203A1 (zh) 一种文件路径的存储和本地文件的访问方法及装置
CN105279431B (zh) 一种移动设备中操作信息的记录方法、装置和系统
KR102387110B1 (ko) 서비스 갤러리 사용자 인터페이스 제시 기법
US9442620B2 (en) Navigation systems with event notification
CN107544723B (zh) 一种应用程序的交互方法、装置及系统
US9720705B2 (en) System and method of demand oriented user interface framework
CN107111633B (zh) 基于背景的保存位置的推断
US20240143482A1 (en) Systems and methods for providing a timeline view of log information for a client application
US20210026913A1 (en) Web browser control feature
WO2022010540A1 (en) Alert feed and subscription management
US10423680B2 (en) Keyboard command and control in a customer relationship management (CRM) system
US9299058B2 (en) Method and apparatus for automated display of documentation
WO2020125306A1 (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: 19740854

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 2020539837

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2019740854

Country of ref document: EP

Effective date: 20200731