CN114764349A - Control method, device, medium and electronic equipment for cross-application running of sub-applications - Google Patents

Control method, device, medium and electronic equipment for cross-application running of sub-applications Download PDF

Info

Publication number
CN114764349A
CN114764349A CN202110000673.7A CN202110000673A CN114764349A CN 114764349 A CN114764349 A CN 114764349A CN 202110000673 A CN202110000673 A CN 202110000673A CN 114764349 A CN114764349 A CN 114764349A
Authority
CN
China
Prior art keywords
application
sub
identification information
target
server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110000673.7A
Other languages
Chinese (zh)
Inventor
黄铁鸣
李�杰
楼宏微
李斌
罗程
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110000673.7A priority Critical patent/CN114764349A/en
Publication of CN114764349A publication Critical patent/CN114764349A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication

Landscapes

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

Abstract

The application provides a control method, a control device, a control medium and electronic equipment for cross-application running of sub-applications, and relates to the technical field of computers. In the process of running the applet across the applications, the client side of the first application responds to the trigger operation of opening the sub-application display interface of the target account and displays the sub-application display interface, and identification information of the sub-application is displayed on the sub-application display interface; and responding to the target sub-application starting operation triggered by the identification information of the target sub-application in the sub-applications of the second application, acquiring the data of the target sub-application from the second application server and displaying the running interface of the target sub-application according to the data of the target sub-application. The method can enable the user to conveniently and quickly run the sub-application of the second application through the client of the first application, thereby improving the efficiency of running the sub-application in a cross-application mode.

Description

Control method, device, medium and electronic equipment for cross-application running of sub-applications
Technical Field
The present application relates to the field of computer technologies, and in particular, to a method, an apparatus, a medium, and an electronic device for controlling a cross-application running sub-application.
Background
With the development of communication technology and the popularization of intelligent terminals, the sub-application has become an important form of mobile internet application as a light application, the sub-application does not need to be downloaded and installed, the sub-application can be operated based on an application program installed on terminal equipment, and a user can handle various services, perform entertainment or social activities and the like through the sub-application. The sub-application has the characteristic of being used without downloading and installing, and does not occupy the storage space of the terminal equipment, so the sub-application is widely accepted by users.
To further increase the use-by-size of sub-applications, it is desirable that sub-applications can be used across applications between different applications, i.e. sub-applications of a second application can be used in a first application. Currently, starting and running a sub-application of a second application in a first application requires a user to go through a cumbersome operation process, which results in low efficiency of running the sub-application across applications.
Disclosure of Invention
In order to solve technical problems in the related art, embodiments of the present application provide a control method, apparatus, medium, and electronic device for cross-application running of a sub-application, which can improve efficiency of cross-application running of the sub-application.
In order to achieve the above purpose, the technical solution of the embodiment of the present application is implemented as follows:
in a first aspect, an embodiment of the present application provides a control method for running a sub-application across applications, which is applied to a client of a first application, and the method includes:
responding to a triggering operation of opening a sub-application display interface of a target account, and displaying the sub-application display interface, wherein identification information of a sub-application is displayed on the sub-application display interface; the sub-application comprises a sub-application of a second application; the identification information of the sub-application of the second application is obtained by the first application server associated with the first application from the second application server associated with the second application and is sent to the client of the first application;
and responding to the operation of starting the target sub-application triggered by the identification information of the target sub-application in the sub-applications of the second application, acquiring the data of the target sub-application from the second application server, and displaying the running interface of the target sub-application according to the data of the target sub-application.
In an optional embodiment, the starting, triggered by the identification information of the target sub-application in the sub-applications for the second application, of the target sub-application operation, acquiring data of the target sub-application from the second application server, and displaying an operation interface of the target sub-application according to the data of the target sub-application includes:
in response to the launch target sub-application operation, sending a sub-application-starting event to the first application server;
if an interception notification sent by the first application server is received, interrupting starting of the target sub-application, and displaying information contained in a fault sub-application list by the target sub-application;
and if the interception notification sent by the first application server is not received, acquiring the data of the target sub-application from the second application server and displaying the running interface of the target sub-application according to the data of the target sub-application.
In a second aspect, an embodiment of the present application provides a control method for running sub-applications across applications, where the method is applied to a first application server, and the method includes:
receiving an information acquisition request which is sent by a target client and used for indicating to acquire identification information of a sub application of a second application; the target client is a client of a first application; the first application server is a server associated with the first application;
acquiring identification information of the sub-application of the second application from the second server according to the information acquisition request; the second application server is a server associated with the second application;
and sending the identification information of the sub-application of the second application to the target client so that the target client displays the identification information of the sub-application of the second application on a sub-application display interface.
In an optional embodiment, the information acquisition request is a sub-application search request; acquiring the identification information of the sub-application of the second application from the second server according to the information acquisition request, wherein the identification information comprises the following steps:
forwarding the sub-application search request to the second application server; the sub-application search request comprises search key information;
receiving search result data returned by the second application server; the search result data is obtained by searching the second application server based on the search key information in the sub-application search request; the search result data includes identification information of at least one sub-application;
the sending, to the target client, the identification information of the sub-application of the second application includes:
and sending the search result data to the target client.
In an alternative embodiment, the search result data includes identification information and offset information of a number of sub-applications defined by paging control information; the paging control information is used for limiting the maximum number of the identification information of the sub-applications contained in the search result data returned by the second application server each time; the offset information is a position identifier of the identifier information of the first sub-application contained in the search result corresponding to the search key information but not contained in the search result data; the search result corresponding to the search key information is a search result obtained by the first application server based on the search key information; the information acquisition request is a search result supplement request; after the sending of the identification information of the sub-application of the second application to the target client, the method further comprises:
sending the received supplementary search result request sent by the target client to a second application server; the supplementary search result request comprises the search key information and the offset information;
returning supplementary search data to the target client so that the target client displays identification information of a sub-application of a second application in the supplementary search data on the sub-application display interface; and the supplementary search data is obtained from the search result corresponding to the search key information based on the offset information and sent to the first application server when the second application server receives the supplementary search result request forwarded by the first application server.
In an optional embodiment, the information obtaining request is a sub-application recommendation list obtaining request; acquiring the identification information of the sub-application of the second application from the second server according to the information acquisition request, wherein the identification information comprises the following steps:
sending a sub-application recommendation list acquisition message to a second application server according to a sub-application recommendation list acquisition request sent by the target client; the sub-application recommendation list acquisition request comprises identification information of the target account; the sub-application recommendation list acquisition message comprises identification information of an associated account corresponding to the target account; the associated account is an account of a second application;
receiving a use sub-application list returned by the second application server within set time; the sub-application list used in the set time is obtained by the second application server according to the identification information of the associated account, and includes the identification information of at least one sub-application sequenced according to the latest starting time.
The sending, to the target client, the identification information of the sub-application of the second application includes:
and sending the use sub-application list within the set time to the target client.
In an alternative embodiment, the first application is a team instant messaging application and the second application is a personal instant messaging application, the method further comprising:
receiving a sub-application adding request sent by the target client; the sub-application adding request comprises identification information of a target sub-application which needs to be added to a shortcut use area of a target account; the target account is an account associated with the target client;
and adding the target sub-application to a storage area corresponding to the shortcut use area of the target account according to the identification information of the target sub-application in the sub-application adding request, and returning a notification of successful sub-application addition to the target client.
In an alternative embodiment, the method comprises:
receiving a promoter application event sent by the target client;
if the target sub-application corresponding to the sub-application starting event is contained in the fault sub-application list, sending an interception notification for interrupting starting of the target sub-application to the target client, and sending information that the target sub-application is contained in the fault sub-application list; the failed sub-application list includes using failed sub-applications in the first application server;
and if the target sub-application corresponding to the sub-application starting event is not contained in the fault sub-application list, recording the information of the sub-application starting event.
In a third aspect, an embodiment of the present application provides a control method for running a sub-application across applications, which is applied to a second application server, and the method includes:
receiving an information acquisition request sent by a first application server and requesting to acquire identification information of a sub-application of a second application; the information acquisition request is an information acquisition request which is received by the first application server and sent by a target client of the first application; the first application server is a server associated with the first application; the second application server is a server associated with the second application;
and acquiring the identification information of the sub-application requested by the information acquisition message from the sub-application of the second application and sending the identification information to the first application server, so that the first application server sends the identification information of the sub-application of the second application to the target client.
In an alternative embodiment, the method comprises:
acquiring identification information of a sub-application of a second application according to the received information acquisition request forwarded by the first application server; the information acquisition request is transmitted to the first application server by a target client, forwarded to the second application server by the first application server and used for indicating to acquire the identification information of the sub-application of the second application;
and sending the identification information of the sub-application of the second application to the second application server, so that the second application server forwards the identification information of the sub-application of the second application to the target client after receiving the identification information of the sub-application of the second application.
In an optional embodiment, the information obtaining message is a sub-application recommendation list obtaining message, and the sub-application recommendation list obtaining message includes identification information of an associated account corresponding to the target account; the target account is a target account associated with the target client; the acquiring the identification information of the sub-application requested by the information acquisition message from the sub-application information of the second application and sending the identification information to the first application server includes:
acquiring a sub-application list used within the set time of the associated account according to the identification information of the associated account in the sub-application recommendation list acquisition message, wherein the sub-application list used within the set time comprises the identification information of at least one sub-application sequenced according to the latest starting time;
and sending the use sub-application list of the associated account within the set time to the first application server.
In a fourth aspect, an embodiment of the present application provides a control apparatus for running sub-applications across applications, which is applied to a client of a first application, and the apparatus includes:
the sub-application display unit is used for responding to the triggering operation of opening a sub-application display interface of the target account and displaying the sub-application display interface, and identification information of the sub-application is displayed on the sub-application display interface; the sub-application comprises a sub-application of a second application; the identification information of the sub-application of the second application is obtained by the first application server associated with the first application from the second application server associated with the second application and is sent to the client of the first application;
and the sub-application starting unit is used for responding to a target sub-application starting operation triggered by the identification information of a target sub-application in the sub-applications of the second application, acquiring the data of the target sub-application from the second application server and displaying the running interface of the target sub-application according to the data of the target sub-application.
In a fifth aspect, an embodiment of the present application provides a control apparatus for running sub-applications across applications, where the control apparatus is applied to a first application server, and the apparatus includes:
the first request receiving unit is used for receiving an information acquisition request which is sent by a target client and used for indicating to acquire the identification information of the sub-application of the second application; the target client is a client of a first application; the first application server is a server associated with the first application;
a first request response unit, configured to obtain, according to the information obtaining request, identification information of a sub-application of a second application from a second server; the second application server is a server associated with the second application;
and the first request feedback unit is used for sending the identification information of the sub-application of the second application to the target client so that the target client displays the identification information of the sub-application of the second application on a sub-application display interface.
In a sixth aspect, an embodiment of the present application provides a control apparatus for running a sub-application across applications, where the apparatus is applied to a second application server, and the apparatus includes:
a second request receiving unit, configured to receive an information acquisition request sent by the first application server and requesting to acquire identification information of a sub-application of the second application; the information acquisition request is an information acquisition request sent by a target client of a first application and received by the first application server; the first application server is a server associated with the first application; the second application server is a server associated with the second application;
and the second request response unit is used for acquiring the identification information of the sub-application requested by the information acquisition message from the sub-application of the second application and sending the identification information to the first application server, so that the first application server sends the identification information of the sub-application of the second application to the target client.
In a seventh aspect, an embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the method for controlling a sub-application to run across applications in the first aspect, the second aspect, or the third aspect is implemented.
In an eighth aspect, embodiments of the present application further provide an electronic device, including a memory and a processor, where the memory stores a computer program executable on the processor, and when the computer program is executed by the processor, the processor is enabled to implement the control method for running sub-applications across applications in the first aspect, the second aspect, or the third aspect.
The embodiment of the application provides a control method, device, medium and electronic equipment for cross-application running of sub-applications, wherein identification information of the sub-application of the second application can be displayed in a sub-application display interface of a client of a first application, so that a user can start the sub-application of the second application through the identification information of the sub-application of the second application displayed in the sub-application display interface of the first application. The user touches identification information of a target sub-application in sub-applications of the second application, the client of the first application receives a target sub-application starting operation triggered by the user, data of the target sub-application are obtained from the second application server, and an operation interface of the target sub-application is displayed. The method can enable the user to conveniently and quickly run the sub-application of the second application through the client of the first application, thereby improving the efficiency of running the sub-application in a cross-application mode.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is an application scenario diagram of a control method for running a sub-application across applications according to an embodiment of the present application;
fig. 2 is an interaction diagram of a control method for running sub-applications across applications according to an embodiment of the present application;
fig. 3 is an interaction diagram of another control method for running sub-applications across applications according to an embodiment of the present application;
FIG. 4 is an interaction diagram of another control method for running sub-applications across applications according to an embodiment of the present application;
FIG. 5 is an interaction diagram of another control method for running sub-applications across applications according to an embodiment of the present application;
FIG. 6 is a schematic diagram of a cross-application running sub-application interface according to an embodiment of the present application;
FIG. 7 is a schematic diagram of another cross-application sub-application interface provided in an embodiment of the present application;
FIG. 8 is a schematic diagram of another cross-application sub-application interface provided in an embodiment of the present application;
FIG. 9 is a schematic diagram of another cross-application sub-application interface executed according to an embodiment of the present application;
FIG. 10 is a schematic diagram of another cross-application sub-application interface executed according to an embodiment of the present application;
FIG. 11 is a schematic diagram of another cross-application sub-application interface provided in an embodiment of the present application;
fig. 12 is a schematic diagram of another add-sub-application hint for running a sub-application interface across applications according to an embodiment of the present application;
FIG. 13 is a schematic diagram of another cross-application sub-application interface provided in an embodiment of the present application;
fig. 14 is a schematic diagram of a delete sub-application prompt of a cross-application run sub-application interface according to an embodiment of the present application;
FIG. 15 is a schematic diagram illustrating an applet fault reporting interface according to an embodiment of the application;
fig. 16 is a schematic diagram of an applet disable prompt interface provided in an embodiment of the application;
fig. 17 is a schematic flowchart of a control method for running sub-applications across applications according to an embodiment of the present application;
fig. 18 is a schematic flowchart of another control method for running sub-applications across applications according to an embodiment of the present application;
fig. 19 is a schematic flowchart of another control method for running sub-applications across applications according to an embodiment of the present application;
fig. 20 is a block diagram illustrating a control apparatus for running sub-applications across applications according to an embodiment of the present disclosure;
fig. 21 is a block diagram of another control apparatus for running sub-applications across applications according to an embodiment of the present disclosure;
fig. 22 is a block diagram illustrating a structure of another control apparatus for running sub-applications across applications according to an embodiment of the present application;
fig. 23 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 24 is a schematic structural diagram of another electronic device according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application clearer, the present application will be described in further detail with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
It should be noted that references in the specification of the present application to the terms "comprises" and "comprising," and variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Some terms in the embodiments of the present application are explained below to facilitate understanding by those skilled in the art.
(1) The application comprises the following steps: an application installed on a terminal device, for example, an APP installed on a mobile terminal such as a mobile phone, belongs to a software resource in the terminal device. The application generally has an operation interface for visualization of interaction with a user at runtime, and some applications may also serve as carriers of the sub-applications, for example, in this embodiment of the application, the instant messaging application may display identification information of the sub-applications in some operation interfaces, the identification information of the sub-applications may serve as an entry of the sub-applications, and a user may enter the corresponding sub-applications by clicking the identification information of the sub-applications. In the embodiment of the application, some applications may also form an association relationship with other applications, for example, the first application is a team instant messaging application, the second application is a personal instant messaging application, and the first application and the second application may form an association relationship. Correspondingly, the associated account of the target account of one application in another application can be determined, so as to obtain the associated account of the target account.
(2) Sub-applications: the application Program is an application Program that can be run based on an application on the terminal device without downloading and installing, and may include a Mini Program (Mini Program) or a light application. For example an applet running based on an instant messaging application. Among them, an applet is an application that can be used without downloading and installation. In order to provide more diversified business services to users, developers can develop corresponding applets for applications (such as instant messaging applications, shopping applications, mail applications, and the like) of the terminal, the applets can be embedded into the applications of the terminal as sub-applications, and the corresponding business services can be provided for the users by running the sub-applications (i.e., the corresponding applets) in the applications. In some embodiments of the present application, an example in which a sub application is an applet that runs based on an instant messaging application is described.
(3) Message frame: the English name is Toast, which is a simple message prompt box and is displayed as a floating view in an application program. Unlike dialogs, message boxes are used only to present information to a user and cannot capture the user's click behavior, and thus cannot be clicked. Moreover, the message box has a limited display time and automatically disappears after the display time set by the user is finished.
(4) Offset amount: the distance between the actual address of a memory location and the segment address of the segment in which it is located is referred to as the intra-segment offset, also known as the effective address. In this embodiment of the application, when the target client pulls the sub-application recommendation list, the first application server corresponding to the target client sorts the information of the sub-application events according to the latest usage time, and then returns an offset and applet list data to the target client, where the returned offset may be understood as a distance between an address of a storage unit corresponding to a first applet that is not included in the applet list data and an address of a storage unit corresponding to an applet that is arranged at the first position according to the latest usage time, and is used when the target client pulls more applets that may exist in addition to the returned applet list data next time.
The word "exemplary" is used hereinafter to mean "serving as an example, embodiment, or illustration. Any embodiment described as "exemplary" is not necessarily to be construed as preferred or advantageous over other embodiments.
The terms "first" and "second" are used herein for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature, and in the description of embodiments of the application, unless stated otherwise, "plurality" means two or more.
In order to better understand the technical solution provided by the embodiment of the present application, some brief descriptions are provided below for application scenarios to which the technical solution provided by the embodiment of the present application is applicable, and it should be noted that the application scenarios described below are only used for illustrating the embodiment of the present application and are not limited. In specific implementation, the technical scheme provided by the embodiment of the application can be flexibly applied according to actual needs.
Fig. 1 illustrates an application scenario of the control method for running sub-applications across applications according to the embodiment of the present application, and referring to fig. 1, the application scenario includes a terminal device 100, a first application server 200, and a second application server 300. The terminal device 100 and the first application server 200 and the second application server 300 may be communicatively connected via the network 400 and transmit data. The network may be a wired network or a wireless network. For example, the terminal device 100 and the first application server 200 and the second application server 300 may transmit data through a cellular data network or a Wifi wireless network; the first application server 200 and the second application server 300 may also transmit data through a cellular data network or a Wifi wireless network.
The terminal device 100 may be a mobile terminal such as a mobile phone, a Personal Digital Assistant (PDA), a tablet computer, and an intelligent wearable device (e.g., an intelligent watch and an intelligent helmet). The first application server 200 and the second application server 300 may be a server or a server cluster or a cloud computing center composed of a plurality of servers, or a virtualization platform, and may also be a personal computer, a large and medium-sized computer or a computer cluster, etc.
In the application scenario provided in the embodiment of the present application, a client of a first application is installed on the terminal device 100, the first application server 200 may be a server that provides background support for the first application, and the number of the terminal devices 100 connected to the first application server 200 may be one or multiple. The second application server 300 may be a server providing background support for the second application, and the client of the second application may be installed on a terminal device similar to the terminal device 100 in fig. 1, because the technical solution of the present application has no direct relationship with the client of the second application, the terminal device installed with the client of the second application is not shown in fig. 1. The number of terminal devices of the client installed with the second application connected to the second application server 300 may also be one or more. Wherein, the first application and the second application can have an associative relationship, namely the first application and the second application can be two applications using the same suite of applet frameworks, for example, the first application can be a team instant messaging application, and the second application can be a personal instant messaging application. The user may log into the target account at a client of the first application. In the embodiment of the present application, the target client refers to a client of the first application that logs in the target account.
For example, the terminal device 100 may be a mobile phone, on which a first application is installed, and the first application server 200 is configured to provide a background service for the first application. In the related art, when the sub-application of the second application is to be run in the first application, the link of the sub-application can only be forwarded to the session of the first application through the second application, and the user can start the sub-application only by clicking the link of the sub-application in the session of the first application, which is quite tedious in operation process. Therefore, the related art method of running sub-applications across applications is inefficient.
Based on this, the embodiment of the application provides a control method, device, medium and electronic device for running sub-applications across applications. In the embodiment of the application, after a user logs in a first application by using a target account, in the process of using the first application, a client of the first application responds to the triggering operation of the target account for opening a sub-application display interface, and displays the sub-application display interface. The sub-application display interface displays identification information of the sub-applications, wherein the sub-applications can include sub-applications of a first application and can also include sub-applications of a second application. And responding to the operation of starting the target sub-application triggered by the identification information of the target sub-application in the sub-applications of the second application, acquiring the data of the target sub-application from the second application server and displaying the running interface of the target sub-application according to the data of the target sub-application. The method can enable the user to conveniently and quickly run the sub-application of the second application through the client of the first application, thereby improving the efficiency of running the sub-application in a cross-application mode.
In some embodiments, during the process of using the first application by the terminal device 100, the client of the first application may further send a sub-application search request to the first application server 200 in response to a sub-application search operation triggered by the target account through the sub-application presentation interface, where the sub-application search request is used for searching for a sub-application in the second application. The first application server 200 forwards the sub-application search request to the second application server 300. The second application server 300 searches in the sub application database according to the search key information in the sub application search request, and returns the obtained search result data to the first application server 200. And the search result data comprises at least one piece of identification information of the sub-application of the second application. The first application server 200 forwards the search result data to the client of the first application, so that the client of the first application displays the identification information of the sub-application of the second application on the sub-application display interface.
The user can select the identification information of the target sub-application to be started from the identification information of the sub-application displayed on the sub-application display interface, and click the identification information of the target sub-application. The client of the first application receives a sub-application starting operation input by a user aiming at the target sub-application, sends a sub-application starting request to the second application server 300, acquires data of the target sub-application from the second application server 300 and displays an operation interface of the target sub-application according to the data of the target sub-application. The above process of running sub-applications across applications and the interaction process of each device in the process will be described in detail below.
In one embodiment, the control method for running the sub-applications across the applications is realized through an interactive process between the terminal equipment and the first application server and the second application server. In this embodiment, a client of a first application is installed on a terminal device, and when the technical solution of the embodiment of the present application is introduced below, the client of the first application is used to represent the terminal device on which the client is installed, and an interaction process between the client of the first application and a first application server and a second application server is introduced. The client of the first application may be a first instant messaging application client, the first application server may be a first instant messaging application server, and the second application server may be a second instant messaging application server. The first instant messaging application may be a team instant messaging application and the second instant messaging application may be a personal instant messaging application. The interaction process may be as shown in fig. 2, comprising the steps of:
step S201, the client of the first application responds to the trigger operation of the target account to open the sub-application display interface, and displays the sub-application display interface.
And the sub-application display interface displays the identification information of the sub-application. The sub-application may include a sub-application of the first application and may also include a sub-application of the second application, and the identification information of the sub-application may include an icon of the sub-application, a name of the sub-application, and the like. The identification information of the sub-application of the second application is obtained by the first application server associated with the first application from the second application server associated with the second application and is sent to the client of the first application.
In some embodiments, the sub-application presentation interface may be understood as a workbench interface of the first application. The target account is a login account for the first application. The user can open the client of the first application on the terminal device and log in the client of the first application by adopting the account information of the target account. Illustratively, the target user may open a client of the first instant messaging application on the mobile phone and input account information of the first instant messaging application of the target user, so as to log in the client of the first application by using the account information of the target account.
As shown in fig. 6, the first application is a team instant messaging application, after the user logs in the client of the first application by using the account information of the target account, the user may click an icon of a workbench displayed below the operation interface, and the client of the first application receives a trigger operation of opening a sub-application display interface by the target account, and displays the workbench interface shown in fig. 6. The workbench interface can display a group application and a personal applet, and the applet can be understood as the sub-application. Here, "application one" to "application five" and the like in the group application, and "applet 1" to "applet 3" and the like in the personal applet can be understood as identification information of sub-applications, and each of these sub-applications can implement a certain function or several functions. The group application may be a sub-application set by an administrator of a team where the user is located (the team may be composed of the user and a co-worker of the user) for an account group corresponding to the team, and may be displayed on a workbench interface of each account belonging to the account group. The personal applet may be a sub-application that the user adds to the workbench autonomously, displayed only on the workbench interface of the target account, and the specific process of adding the sub-application to the workbench by the user will be described below. The personal applet may also be a sub-application that was recently used by the target account, or a sub-application that was recently used by other accounts in the account group to which the target account belongs. In some embodiments, applet 1, applet 2, and applet 3 may each be a sub-application of the second application.
Specifically, in some embodiments, the client of the first application receives a trigger operation of opening the sub-application presentation interface by the target account, and may obtain, from data stored in a storage space corresponding to a workbench of the target account in the terminal device, identification information of a sub-application in an account group workbench of an account group to which the target account belongs and identification information of a sub-application added to the workbench by a user corresponding to the target account, display the identification information of the sub-application in the account group workbench in a group application area in the workbench interface shown in fig. 6, and display the identification information of the sub-application added to the workbench by the user in a personal applet area in the workbench interface shown in fig. 6. Each time a user adds or removes a sub-application to or from a workbench, a client of the first application updates data stored in a storage space corresponding to the workbench of the target account in the terminal device, and a specific updating process of the data will be described in detail below.
In other embodiments, the client of the first application receives a trigger operation of the target account to open the sub-application presentation interface, a workbench data acquisition request can be sent to the first application server, the workbench data acquisition request carries identification information of the target account, the first application server receives the workbench data acquisition request sent by the client of the first application, according to the identification information of the target account in the workbench data acquisition request, finding a storage area corresponding to the workbench of the target account in the first application server or a database corresponding to the first application server, sending data stored in the storage area corresponding to the workbench of the target account to the client of the first application, the method comprises the steps of obtaining the identification information of the sub-application in the account group workbench of the account group to which the target account belongs and the identification information of the sub-application added to the workbench by the user corresponding to the target account. The client of the first application receives the data returned by the first application server, displays the identification information of the sub-applications in the account group workbench in the group application area in the workbench interface shown in fig. 6, and displays the identification information of the sub-applications added by the user to the workbench in the personal applet area in the workbench interface shown in fig. 6.
In other embodiments, the client of the first application receives the trigger operation of opening the sub-application display interface by the target account, and may display the identification information of the sub-applications in the account group workbench in the group application area in the workbench interface shown in fig. 6 and display the identification information of the sub-applications added by the user to the workbench in the personal applet area in the workbench interface shown in fig. 6 according to the data stored in the storage space corresponding to the workbench of the target account in the terminal device, which is favorable for fast display of the operation interface. Meanwhile, the client of the first application may send a workbench data obtaining request to the first application server, obtain data stored in the storage area corresponding to the workbench of the target account in the first application server, and update the content displayed on the workbench interface shown in fig. 6 according to the data stored in the storage area corresponding to the workbench of the target account in the first application server if the data stored in the storage area corresponding to the workbench of the target account in the first application server is inconsistent with the data stored in the storage area corresponding to the workbench of the target account in the terminal device. If the data stored in the storage area corresponding to the workbench of the target account in the first application server is consistent with the data stored in the storage area corresponding to the workbench of the target account in the terminal device, the content displayed on the workbench interface shown in fig. 6 does not need to be updated.
In one embodiment, a user may select a sub-application of interest as a target sub-application in the workbench interface, click identification information of the target sub-application and input a sub-application operation to start the target sub-application. And if the target sub-application is the sub-application of the second application, the client of the first application responds to the operation of starting the target sub-application triggered by the identification information aiming at the target sub-application, acquires the data of the target sub-application from the second application server and displays the running interface of the target sub-application according to the data of the target sub-application. It can be seen that, through the workbench of the first application, the user can conveniently and quickly run the sub-applications of the first application and the second application, and therefore the workbench can also be called a quick use area. The user can add the sub-application frequently used by the user into the workbench of the first application, so that the sub-application is convenient to use for multiple times, and the use scene of the user on the small program can be enlarged by the mode, so that the further popularization and application of the small program are promoted.
In other embodiments, the sub-application presentation interface may also be understood as a sub-application search interface of the first application, for example, a user clicks an "applet" button in the workbench interface shown in fig. 6, and may enter one of the operation interfaces shown in fig. 7, fig. 8 or fig. 9, which may be referred to as a sub-application search interface. And an applet search information input box of a search applet is arranged in the sub-application search interface.
Step S202, the client of the first application receives a sub-application search operation triggered by the target account through the sub-application display interface.
In step S203, the client of the first application sends a sub-application search request to the first application server.
Illustratively, the user fills in the search key information in the applet search information input box shown in fig. 9, clicks the enter key, and triggers the sub-application search operation. Wherein the search key information may be a full name or a partial key of a sub-application of the second application that needs to be run across applications in the first application. For example, the search key information input by the user may be "customer". The client side of the first application receives sub-application search operation triggered by the target account through the sub-application display interface, and sends a sub-application search request to the first application server, wherein the sub-application search request comprises search key information corresponding to the sub-application search operation.
Step S204, the first application server sends a sub-application search request to the second application server.
Illustratively, the first instant messaging application server receives a sub-application search request sent by a client of the first instant messaging application, and forwards the sub-application search request to the second instant messaging application server when determining that the target account searches for the sub-application of the second instant messaging application according to the search key information. The sub-application search request includes search key information, such as "customer". The first instant messaging application is an application associated with the first instant messaging application server, and the sub-application is a sub-application of the second instant messaging application.
And step S205, the second application server searches according to the search key information in the sub-application search request to obtain search result data.
In step S206, the second application server sends the search result data to the first application server.
Step S207, the first application server sends the search result data to the client of the first application.
Step S208, the client of the first application displays the identification information of the sub-application of the second application in the search result data on the sub-application display interface.
In an embodiment, the second application server receives a sub-application search request sent by the first application server, and searches in the sub-application database according to search key information in the sub-application search request to obtain search result data, where the search result data includes at least one piece of sub-application identification information. The second application server sends the search result data to the first application server, and the first application server forwards the search result data to the client of the first application. And the client of the first application receives the search result data returned by the first application server, and displays the identification information of the sub-application of the second application in the search result data on the sub-application display interface.
Illustratively, the second instant messaging application server searches in the sub-application database according to the received search key information in the sub-application search request to obtain search result data, and sends the search result data to the first instant messaging application server. The search result data includes identification information of at least one applet. The applet may be an applet whose name includes search key information, or an applet that is obtained by the second instant messaging application server according to a set other matching principle when there is no applet whose name includes search key information, and the name of the applet may not include search key information, and other locations may include search key information.
And the first instant messaging application server forwards the search result data sent by the second instant messaging application server to the client of the first instant messaging application. And the client of the first instant messaging application receives the search result data returned by the first instant messaging application server, and displays the identification information of the sub-application in the search result data on the sub-application display interface. In some embodiments, the identification information of the sub-application may include an applet icon, name, description, and the like. In other embodiments, the sub-application information displayed by the sub-application display interface may further include "used by N colleagues" descriptive information.
In another embodiment, when the second application server obtains the identification information of the sub-application with more data in the search result according to the search key information in the search request of the sub-application, if the search result is directly used as the search result data and is forwarded to the client of the first application through the first application server once, the client of the first application cannot display all the search result data in one page.
Based on this, the paging control information for limiting the maximum number of identification information of the sub-applications included in the search result data returned by the second application server at a time may be set, and the paging control information may be determined according to the number of identification information of the sub-applications that can be displayed at most per page. For example, the paging control information may be set to 20, which indicates that the second application server may include at most 20 pieces of identification information of the sub-applications in the search result data returned each time. The paging control information may be set by the first application server or may be set by a client of the first application. The sub-application search request forwarded by the first application server to the second application server may carry paging control information.
The search result data forwarded by the second application server to the client of the first application through the first application server may only include the identification information and offset information of the sub-applications of the number limited by the paging control information, and the search result obtained by the second application server according to the search key information may be stored in the second application server for use in subsequent supplement of the search result. The offset information is a position identifier of the identification information of the first sub-application which is contained in the search result corresponding to the search key information but not contained in the search result data. For example, when the paging control information is 20, the searched identification information of the 1 st to 20 th sub-applications may be included in the search result data. Assuming that the position identification of the identification information of the first sub application not contained in the search result data is 21, the offset information is 21.
Illustratively, if the search key information input by the user is "client", the second instant messaging application server searches the sub-application database according to the search key information in the received sub-application search request, and the obtained search result totally comprises 98 pieces of sub-application identification information. If the paging control information in the sub-application search request is 20, the second instant messaging application server sends search result data containing the identification information of the 1 st to 20 th sub-applications to the first instant messaging application server, and the search result data further comprises offset information 21.
And the first instant messaging application server forwards the search result data sent by the second instant messaging application server to the client of the first instant messaging application. As shown in fig. 10, the client of the first instant messaging application receives the search result data returned by the first instant messaging application server, and displays the identification information of the sub-application in the search result data on the sub-application display interface. Displaying a next page identifier on a sub application display interface because the search result data comprises offset information; and if the offset information is not included in the search result data, not displaying the identifier of the next page on the display interface of the sub-application.
Alternatively, the user may select a sub-application of interest as a target sub-application in the sub-application presentation interface shown in fig. 10, and click the identification information of the target sub-application to input a sub-application operation, so as to launch the target sub-application. And the client of the first application responds to the operation of starting the target sub-application triggered by the identification information aiming at the target sub-application, acquires the data of the target sub-application from the second application server and displays the running interface of the target sub-application according to the data of the target sub-application.
In step S209, the client of the first application receives a sub-application supplementary search result operation input by the target account in the sub-application presentation interface.
For example, the user clicks on the "next page" flag shown in FIG. 10, triggering the sub-application supplemental search results operation. The sub-application supplemental search result operation is to have the first application server return more sub-application search results. The user may view all of the sub-application search results through the display of more sub-application search results.
In step S210, the client of the first application sends a sub-application supplementary search result request to the first application server.
Specifically, the client of the first application responds to a sub-application supplementary search result operation triggered by the target account through the sub-application display interface, and sends a supplementary search result request to the first application server, so that the first application server sends the supplementary search result request to the second application server. The supplemental search result request includes search key information and offset information.
In step S211, the first application server sends a request for supplementing search results to the second application server.
In step S212, the second application server obtains the identification information of the sub-application from the search result corresponding to the search key information according to the offset information in the received supplementary search result request, and generates supplementary search data according to the obtained identification information of the sub-application.
The first application server forwards the supplementary search result request sent by the client of the first application to the second application server. The supplemental search result request may include search key information, paging control information, and offset information. Assume that the search key information included in the supplemental search result request is "customer", the paging control information is 20, and the offset information is 21. The second application server finds the search result stored after the last search according to the search key information client in the supplementary search result request, acquires the identification information of the sub-applications with the position identifications 21 to 40 and the identification information of 20 sub-applications in total from the search result, and generates supplementary search data according to the acquired identification information of the sub-applications, wherein the supplementary search data further comprises new offset information 41, and 41 is the position identification of the identification information of the first sub-application which is not included in the supplementary search data.
In step S213, the second application server transmits the supplementary search data to the first application server.
In step S214, the first application server sends the supplemental search data to the client of the first application.
And the first application server forwards the supplementary search data sent by the second application server to the client of the first application.
Step S215, the client of the first application receives the supplementary search data returned by the first application server, and displays the identification information of the sub-application in the supplementary search data.
The client of the first application receives the supplementary search data returned by the first application server, and displays the identification information of the sub-application of the second application in the supplementary search data on the sub-application presentation interface, that is, displays the identification information of the sub-application of the next page on the sub-application presentation interface shown in fig. 10.
Optionally, the user may select a sub-application of interest from the identification information of the sub-applications of the next page displayed on the sub-application presentation interface as a target sub-application, and click the identification information of the target sub-application to input a sub-application operation, so as to start the target sub-application. And the client of the first application responds to the target sub-application starting operation triggered by the identification information aiming at the target sub-application, acquires the data of the target sub-application from the second application server and displays the running interface of the target sub-application according to the data of the target sub-application.
If the user clicks the "next page" identifier again, the interaction process between the first application server and the second application server and the interaction process between the first application server and the client of the first application may be executed with reference to steps S209 to S215, and finally, the identifier information of the new page of sub-application is displayed on the sub-application display interface of the client of the first application, and the detailed process is not repeated here.
The embodiment is provided with the search entry in the first application, and in the control process of running the sub-applications in a cross-application mode, the sub-applications of the second application can be searched in a cross-application mode through the client side of the first application, so that the convenience of running the sub-applications in a cross-application mode is effectively improved, and the further popularization and use of the sub-applications are promoted.
In consideration of the fact that the related art cannot count sub-applications running across applications in one application, a user cannot know the use condition of the sub-applications running across the applications. Based on this, in some embodiments, the client of the first application may also display to the user, in the sub-application presentation interface, identification information of the most recently used sub-application for selection by the user. In this process, an interaction process between the client of the first application, the first application server and the second application server may be as shown in fig. 3, including the following steps:
in step S301, the client of the first application receives a sub-application recommendation list acquisition operation triggered through the sub-application display interface.
In some embodiments, the sub-application presentation interface may be understood as the workbench interface shown in FIG. 6. When a user clicks a 'recently used' key or a 'colleagues using' key in a workbench interface, a client of a first application receives a sub-application recommendation list acquisition operation triggered by a target account.
In other embodiments, the sub-application presentation interface may be understood as the sub-application search interface shown in FIG. 7. When the user clicks the "recently used" area or the "colleagues are in use" area in the sub-application search interface shown in fig. 7, the client of the first application receives the sub-application recommendation list acquisition operation triggered by the target account.
Step S302, the client of the first application sends a sub-application recommendation list acquisition request to the first application server.
The client side of the first application responds to a sub-application recommendation list obtaining operation triggered by the target account through the sub-application display interface, and sends a sub-application recommendation list obtaining request to the first application server, wherein the sub-application recommendation list obtaining request comprises identification information of the target account.
Step S303, the first application server obtains the sub-application list used within the set time corresponding to the target account according to the received sub-application recommendation list obtaining request.
The first application server receives a sub-application recommendation list acquisition request sent by a client of a first application, and acquires a recently used sub-application list corresponding to a target account according to identification information of the target account in the sub-application recommendation list acquisition request. Optionally, the first application server stores a recently-used sub-application list corresponding to each account, and the first application server searches the recently-used sub-application list corresponding to the target account from the recently-used sub-application list corresponding to each account according to the identification information of the target account. And generating a most recently used sub-application list corresponding to each account according to the recorded information of the sub-application events by the first application server. The information of the sub application events is recorded by the first application server when the sub application is started in the account, taking the target account as an example, when the target account starts the sub application each time, the client of the first application sends the sub application events to the first application server, the first application server records the information of the sub application events according to the received sub application events, and the recorded information comprises the identification information of the started sub application, the identification information of the target account and the starting time.
And the first application server generates and stores a recently used sub-application list corresponding to each account at set time intervals according to the recorded information of the sub-application events of the sub-accounts. Or the first application server receives a sub-application recommendation list acquisition request of the target account, and generates a recently-used sub-application list corresponding to the target account according to the recorded information of the sub-application events of the sub-application of the target account, wherein the recently-used sub-application list comprises identification information of at least one sub-application sequenced according to the latest starting time, or the identification information of the sub-applications in the recently-used sub-application list is sequenced according to the latest starting time of the sub-applications, or the identification information of the sub-applications in the recently-used sub-application list is sequenced from the latest starting time of the sub-applications to the generation time of the recently-used sub-application list from small to large. Optionally, the identification information of the sub-applications in the list of the recently-used sub-applications may also be sorted according to the number of uses of the sub-applications and the last start time.
In step S304, the first application server sends a sub-application list within a set time corresponding to the target account to the client of the first application.
Step S305, the client of the first application displays, on the sub-application display interface, the identification information of the sub-application in the sub-application list used within the set time.
In some embodiments, the sub-application recommendation list acquisition request indicates to acquire the sub-application that the target account has started within a set time. For example, when the user clicks a "most recently used" button in the workbench interface shown in fig. 6, the client of the first application sends a sub-application recommendation list acquisition request to the first application server in response to a sub-application recommendation list acquisition operation triggered by the target account, where the sub-application recommendation list acquisition request indicates to acquire a sub-application started by the target account within a set time. And the first application server acquires the identification information of the target account in the request according to the sub-application recommendation list, and acquires a recently used sub-application list corresponding to the target account. The list of the recently used sub-applications includes identification information of the sub-applications that have been started by the target account within a set time, which may be 1 month, 3 months, or half a year. The first application server sends a recently-used sub-application list corresponding to the target account to the client of the first application, and the client of the first application displays identification information of sub-applications in the recently-used sub-application list in a corresponding display area on a sub-application display interface. As shown in fig. 7, the client of the first application displays identification information of sub-applications in the most-recently-used sub-application list in the most-recently-used region.
In other embodiments, the sub-application recommendation list acquisition request indicates a sub-application that has been started within a set time for acquiring each account in the account group associated with the target account. For example, when the user clicks a "co-workers are using" button in the workbench interface shown in fig. 6, the client of the first application responds to the sub-application recommendation list obtaining operation triggered by the target account, and sends a sub-application recommendation list obtaining request to the first application server, where the sub-application recommendation list obtaining request indicates that sub-applications started within a set time by each account in the account group associated with the target account are obtained. And the first application server acquires the identification information of the target account in the request according to the sub-application recommendation list, and determines an account group associated with the target account, wherein the account group is an account group corresponding to a team where the user is located, and the account group comprises accounts of all colleagues of the user. And the first application server takes the most recently used sub-application list corresponding to the account group as the most recently used sub-application list corresponding to the target account. And the recently used sub-application list comprises identification information of sub-applications which are started within a set time by each account in the account group associated with the target account. And sequencing the identification information of the sub-applications in the recently used sub-application list according to the number of the used accounts and the latest starting time in the set time corresponding to each sub-application. The first application server sends a recently-used sub-application list corresponding to the target account to the client of the first application, and the client of the first application displays identification information of sub-applications in the recently-used sub-application list in a corresponding display area on a sub-application display interface. As shown in fig. 8, the client of the first application displays the identification information of the sub-application in the most recently used sub-application list at the use area by the co-workers.
If the user clicks on the areas in which the co-workers are in use in the operation interface shown in fig. 7, the client of the first application may display the interface shown in fig. 9, and display the identification information of the sub-applications in the list of the recently-used sub-applications in the areas in which the co-workers are in use. According to the method and the device, the sub-applications running across the applications are counted, and the recently used sub-applications are displayed in the interface, so that a user can know the use condition of the sub-applications running across the applications.
In some embodiments, if the first application server does not obtain the list of the sub-applications used within the set time corresponding to the target account, or the list of the sub-applications used within the set time corresponding to the target account is empty, the first application server may return a notification that the relevant sub-applications are not found to the client of the first application, at this time, the recently used area of the client of the first application or the used areas of coworkers may be a blank area, and no content is displayed.
In other embodiments, the first application server receives a sub-application recommendation list acquisition request sent by the client of the first application, and the used sub-application list returned to the client of the first application within the set time may include identification information of a sub-application that has been started within the set time in the second application by an associated account corresponding to the target account. Wherein the associated account is an account of the second application. For example, the user triggers a sub-application recommendation list acquisition operation on a sub-application display interface to request to acquire a recently used sub-application list corresponding to the target account. The first application server does not acquire the most recently used sub-application list corresponding to the target account, and can determine the associated account of the target account corresponding to the second application, and the target account and the corresponding associated account can be understood as accounts used by the same user in the first application and the second application respectively. The first application server sends a sub-application recommendation list acquisition request to a second application server, wherein the sub-application recommendation list acquisition request comprises identification information of an associated account corresponding to a target account, the second application server acquires a recently-used sub-application list corresponding to the associated account according to the identification information of the associated account, and the acquisition process of the second application server is similar to that of the first application server for acquiring the recently-used sub-application list corresponding to the target account, and is not repeated here. And the second application server sends the recently-used sub-application list corresponding to the associated account to the first application server, the first application server sends the recently-used sub-application list corresponding to the associated account to the client of the first application as the recently-used sub-application list corresponding to the target account, and the client of the first application displays and receives the identification information of the sub-applications in the recently-used sub-application list in a recently-used area in the sub-application display interface.
The user can select the sub-application of interest from the identification information of the sub-applications displayed in the recently used area as the target sub-application, and click the identification information of the target sub-application to input the sub-application starting operation so as to start the target sub-application. And the client of the first application responds to the operation of starting the target sub-application triggered by the identification information aiming at the target sub-application, acquires the data of the target sub-application from the second application server and displays the running interface of the target sub-application according to the data of the target sub-application. In this embodiment, the user may also input a start sub-application operation by clicking a recently used sub-application displayed on the sub-application presentation interface to quickly start the target sub-application. In conclusion, the user can start the target sub-application on different sub-application display interfaces, so that the sub-application can be used conveniently and quickly in a cross-application mode.
Optionally, the used sub-application list sent by the first application server to the client of the first application may include identification information and offset information of a number of sub-applications defined by the paging control information within a set time. The paging control information is used to limit the maximum number of the identification information of the sub-applications included in the list of the sub-applications used within a set time, and the paging control information may be determined according to the number of the identification information of the sub-applications that can be displayed at most per page. The offset information is the position identification of the identification information of the first sub-application in the target account which is used recently but not included in the use sub-application list within the set time, so as to obtain the identification information of the recently used sub-application displayed in the next page. The specific process is similar to the process of obtaining the search result data of the sub-application, and is not described herein again.
In some embodiments, during the process of the user starting the target sub-application in the sub-application presentation interface, an interaction process between the client of the first application, the first application server and the second application server may be as shown in fig. 4, and includes the following steps:
in step S401, the client of the first application receives a sub-application operation input by the target account for the target sub-application.
Wherein the target sub-application is a sub-application of the second application. As already described above, the sub-application presentation interface displays identification information of sub-applications including sub-applications of the second application. The user may select an interested sub-application as a target sub-application in the sub-application display interface shown in any one of fig. 6 to fig. 10, and the user clicks the identification information of the selected target sub-application, so that the client of the first application receives a sub-application start operation input by the target account for the target sub-application.
Step S402, the client of the first application sends a sub-application event to the first application server.
The starting sub-application event comprises identification information of the starting target sub-application, identification information of the target account and starting time of the sub-application.
In step S403, the client of the first application sends a sub-application request to the second application server.
The second application server is a server of the target sub-application and stores data of the target sub-application. Before, after or simultaneously with sending the sub-application event to the first application server, the client of the first application sends the sub-application request to the second application server to obtain the data of the target sub-application from the second application server.
Step S404, if the first application server determines that the target sub-application corresponding to the received sub-application starting event is not included in the faulty sub-application list, recording information of the sub-application starting event.
And the first application server judges whether the target sub-application is contained in the fault sub-application list or not according to the identification information of the target sub-application contained in the received sub-application starting event. The list of the failed sub-applications includes sub-applications that are confirmed to not run normally in the first application or sub-applications that are prohibited from running in the first application.
In some embodiments, if the first application server determines that the target sub-application is included in the failed sub-application list, the first application server may send an interception notification to a client of the first application (i.e., a client corresponding to the target account) that interrupts launching the target sub-application. And the client of the first application receives the interception notification sent by the first application server and interrupts the starting of the target sub-application. And if the client of the first application has received the data of the target sub-application returned by the second application server, stopping loading the data of the target sub-application, interrupting starting the target sub-application, and displaying prompt information in the interception notification, such as the fact that the target sub-application cannot be started normally, the small program cannot run normally, and the like.
In some embodiments, the failed sub-application list may include two sub-lists, namely a first failed sub-application list including sub-applications that have been confirmed to be unable to operate normally in the first application and a second failed sub-application list including sub-applications that are prohibited from operating in the first application. The first application server sequentially judges: and whether the target sub-application corresponding to the received sub-application starting event is contained in the first failure sub-application list or not and whether the target sub-application corresponding to the received sub-application starting event is contained in the second failure sub-application list or not. The first application server may generate different prompt information according to whether the target sub-application is included in the first failed sub-application list or the second failed sub-application list. For example, if the target sub-application is included in the first failed sub-application list, the generated interception notification may include a prompt that the sub-application cannot operate normally. If the target sub-application is included in the second failed sub-application list, the generated interception notification may include a prompt to prohibit use of the sub-application.
For example, if the target sub-application is included in the second failed sub-application list and belongs to a sub-application that is prohibited from running in the first application, and the target sub-application is not permitted to be started, the applet prohibition prompt interface shown in fig. 16 may be displayed at this time. As shown in fig. 16, the displayed applet disable prompt interface prompts the user to "cannot open an applet" and displays a prompt message "the applet has been set by the administrator to be prohibited from being opened in the present application".
For example, if the target sub-application is included in the first failed sub-application list and belongs to a sub-application determined to be unable to run in the first application, and the target sub-application may not be started normally, an applet unable prompt interface similar to that shown in fig. 16 may be displayed. The applet fail prompt interface may display a "the applet cannot be opened" prompt message that the applet has confirmed that it cannot operate normally in the first application.
And if the first application server determines that the target sub-application is not contained in the fault sub-application list, recording information of the sub-application starting event, wherein the recorded information comprises identification information of the target sub-application, identification information of the target account and starting time. The first application server can sequence the sub-applications recently used by the target account according to the recorded information of the sub-application events, and sequence the identification information of the sub-applications recently used by the target account according to the latest starting time and generate a list to be sent to the client of the first application when the client of the first application requests to obtain the list of the sub-applications used within the set time.
Step S405, the second application server obtains the data of the target sub-application according to the identification information of the target sub-application included in the sub-application starting request.
In step S406, the second application server sends the data of the target sub-application to the client of the first application.
In step S407, the client of the first application runs the target sub-application according to the received data of the target sub-application.
If the client of the first application does not receive the interception notification sent by the first application server, the client of the first application obtains the data of the target sub-application from the second application server and runs the target sub-application according to the data of the target sub-application, and a running interface of the target sub-application "XX client training" shown in fig. 11 is displayed.
In other embodiments, the user may add the sub-application to the workbench during the sub-application running process for later use. The user may also remove the sub-application from the workbench. In this process, the interaction process between the first application server, the second application server and the client of the first application is shown in fig. 5, and may include the following steps:
in step S501, the client of the first application receives an operation of adding a sub-application to the shortcut usage area, which is input by the target account in the running interface of the target sub-application.
The shortcut usage area may be understood as a workbench, and the operation of adding the sub application to the shortcut usage area may be an operation of adding the sub application to the workbench.
Illustratively, the user may open the execution interface of the target sub-application shown in fig. 11 by clicking an icon of the target sub-application on the client of the first instant messaging application of the target account. In the operation interface shown in fig. 11, the user clicks three points in the upper right corner, which are setting keys, and the client of the first application displays a plurality of function keys including an "add to workbench" key on the operation interface of the target sub-application in response to an operation of clicking the setting keys by the user. And clicking an 'add workbench' key by a user, and receiving the operation of adding the sub-application to the quick use area, which is input by the target account in the running interface of the target sub-application, by the client of the first application.
Step S502, the client of the first application sends a sub-application addition request to the first application server.
The sub-application adding request comprises identification information of a target sub-application and identification information of a target account, wherein the identification information of the target sub-application needs to be added to a workbench of the target account.
In step S503, the first application server adds the target sub-application to the storage area corresponding to the shortcut usage area of the target account according to the identification information of the target sub-application and the identification information of the target account in the sub-application addition request.
Step S504, the first application server sends a notification of successful sub-application addition to the client of the first application.
The first application server obtains the identification information of the target sub-application and the identification information of the target account in the sub-application adding request, adds the target sub-application to a storage area corresponding to a workbench of the target account according to the identification information of the target sub-application and the identification information of the target account, and returns a notification of successful sub-application adding to the client of the first application.
In step S505, the client of the first application displays, on the running interface of the target sub-application, information that the target sub-application has been added to the workbench.
And the client of the first application receives the sub-application adding success notification returned by the first application server, and displays the information that the target sub-application is added to the workbench on the running interface of the target sub-application.
Illustratively, as shown in FIG. 12, the client of the first application displays information in the form of a message box that the target sub-application has been added to the workbench.
Step S506, the client of the first application sends a personal workbench data acquisition request to the first application server.
After receiving the sub-application addition success notification sent by the first application server, the client of the first application sends a personal workbench data acquisition request to the first application server, wherein the personal workbench data acquisition request comprises identification information of the target account.
Step S507, the first application server obtains the sub-application list from the storage area corresponding to the workstation of the target account according to the identification information of the target account in the received personal workstation data obtaining request.
The sub-application list includes identification information of all sub-applications added to the workbench by the target account.
In step S508, the first application server sends the sub application list to the client of the first application.
In step S509, the client of the first application associates and stores the received sub-application list and the account group workbench data of the target account.
And the client of the first application stores the received sub-application list and the account group workbench data of the target account in the storage space corresponding to the workbench of the target account on the terminal device so as to update the data stored in the storage space corresponding to the workbench of the target account on the terminal device. The terminal equipment is the terminal equipment of the client side for installing the first application, and the sub-application in the account group workbench of the target account is the sub-application set by an administrator of a team where the user corresponding to the target account is located. As shown in fig. 6, when the client of the first application displays the workbench interface of the target account, the group application and the personal applet are displayed in the workbench interface. The sub-applications in the group application comprise sub-applications in an account group workbench, and the personal applet comprises sub-applications in a sub-application list sent by the first application server according to the personal workbench data acquisition request.
Optionally, for a sub-application that has been added to the workbench, the user may also remove the sub-application in the workbench. Specifically, for the sub-application that has been added to the workbench, if the user clicks the set button in the execution interface shown in fig. 11, the client of the first application displays a plurality of function buttons including the "remove from workbench" button in the execution interface of the target sub-application in response to the operation of the user clicking the set button, as shown in fig. 13. And the user clicks a 'remove from workbench' button, and the client of the first application receives the operation of removing the sub application from the workbench, which is input by the target account in the running interface of the target sub application.
The method comprises the steps that a client side of a first application receives an operation of removing a sub-application from a workbench, wherein the operation is input by a target account in a running interface of the target sub-application, and sends a sub-application removing request to a first application server, wherein the sub-application removing request comprises identification information of a second target sub-application and identification information of the target account.
The first application server receives a sub-application removal request sent by the first application client, deletes the second target sub-application from a storage area corresponding to the workbench of the target account according to the identification information of the second target sub-application and the identification information of the target account in the sub-application removal request, and sends a sub-application removal success notification to the first application client. And the client of the first application receives the sub-application removal success notification returned by the first application server, and displays the information that the target sub-application is removed from the workbench on the running interface of the target sub-application. Illustratively, as shown in FIG. 14, the client of the first application displays information in the form of a message box that the target sub-application has been removed from the workbench.
After receiving the sub-application removal success notification sent by the first application server, the client of the first application may send a personal workstation data acquisition request to the first application server, where the personal workstation data acquisition request includes identification information of the target account. The first application server receives a personal workbench data acquisition request sent by a client of the first application, acquires a current sub-application list from a storage area corresponding to a workbench of a target account according to identification information of the target account in the personal workbench data acquisition request, and sends the current sub-application list to the client of the first application. And the client of the first application stores the current sub-application list and the account group workbench data of the target account in an associated manner.
The above-described embodiments may add or delete a sub-application of a second application to a workbench of a first application by a client of the first application in a control process of running the sub-application across applications. For frequently used sub-applications, a user can add the sub-applications to a personal workbench, and the sub-applications can be quickly found in a workbench interface when used next time, so that the efficiency of running the sub-applications across applications can be further improved.
In another embodiment of the present application, the method for controlling cross-application running of sub-applications may further include an interaction process between the terminal device and the first application server and the second application server shown in fig. 5, where the interaction process is shown in fig. 5 and includes the following steps:
in step S501, the client of the first application receives a trigger operation of opening a sub-application display interface by the target account.
Step S502, the client of the first application sends an information acquisition request indicating to acquire the identification information of the sub-application of the second application to the first application server.
In step S503, the first application server receives the information acquisition request.
In step S504, the first application server sends an information obtaining message request for obtaining the identification information of the sub-application of the second application to the second application server.
In step S505, the second application server receives an information obtaining message request, which is sent by the first application server and requests to obtain the identification information of the sub-application of the second application.
Step S506, the second application server obtains the identifier information of the sub-application requested by the information obtaining message from the sub-application of the second application.
In step S507, the second application server sends the identification information of the sub-application to the first application server.
Step S508, the first application server sends the identification information of the sub-application to the client of the first application.
In step S509, the client of the first application displays a sub-application display interface.
In step S510, the client of the first application receives a target sub-application starting operation triggered by the target account for the identification information of the target sub-application in the sub-applications of the second application.
Step S511, the client of the first application acquires the data of the target sub-application from the second application server and displays the operation interface of the target sub-application according to the data of the target sub-application.
The interaction process in steps S501 to S511 may refer to the interaction process executed in the foregoing embodiment, and is not described herein again.
The embodiments of the present application may further include the following several implementation modes:
in another embodiment, the information acquisition request is a sub-application search request; acquiring the identification information of the sub-application of the second application from the second server according to the information acquisition request, wherein the specific process is as follows:
the first application server transmits the sub-application search request to the second application server; the sub-application search request contains search key information. The first application server receives search result data returned by the second application server; the search result data is obtained by searching the second application server based on the search key information in the sub-application search request; the search result data includes identification information of at least one sub-application.
The first application server sends the identification information of the sub-application of the second application to the target client, and the specific steps are as follows: and sending the search result data to the target client.
In another embodiment, the information acquisition request is a sub-application recommendation list acquisition request; acquiring the identification information of the sub-application of the second application from the second server according to the information acquisition request, wherein the specific process is as follows:
the first application server sends a sub-application recommendation list acquisition message to the second application server according to a sub-application recommendation list acquisition request sent by the target client; the sub-application recommendation list acquisition request comprises identification information of a target account; the sub-application recommendation list acquiring message comprises identification information of an associated account corresponding to the target account; the associated account is an account of the second application. The first application server receives a use sub-application list returned by the second application server within the set time; the sub-application list used in the set time is obtained by the second application server according to the identification information of the associated account, and the sub-application list used in the set time comprises the identification information of at least one sub-application sequenced according to the latest starting time. The first application server sends the identification information of the sub-application of the second application to the target client, and the specific steps are as follows: and sending the use sub-application list within the set time to the target client.
In another embodiment, the information acquisition message is a search request of a sub-application, and the search request of the sub-application comprises search key information; acquiring the identification information of the sub-application requested by the information acquisition message from the sub-application of the second application and sending the identification information to the first application server, wherein the specific process comprises the following steps:
the second application server searches in a sub-application database of the second application according to the search key information in the sub-application search request to obtain search result data; the second application server sends the search result data to the first application server; the search result data includes identification information of at least one sub-application.
In another embodiment, the information acquisition message is a sub-application recommendation list acquisition message, and the sub-application recommendation list acquisition message includes identification information of an associated account corresponding to the target account; the target account is a target account associated with the target client; acquiring the identification information of the sub-application requested by the information acquisition message from the sub-application information of the second application and sending the identification information to the first application server, wherein the specific process comprises the following steps:
the second application server obtains a sub-application list used within the set time of the associated account according to the identification information of the associated account in the sub-application recommendation list obtaining message, wherein the sub-application list used within the set time comprises the identification information of at least one sub-application sequenced according to the latest starting time; and the second application server sends the use sub-application list of the associated account within the set time to the first application server.
Although the embodiments of the present application provide the operational steps of the methods as shown in the above embodiments or figures, more or less operational steps may be included in the above methods based on conventional or non-inventive efforts. In steps where no necessary causal relationship exists logically, the order of execution of the steps is not limited to that provided by the embodiments of the present application. The above methods may be performed in the order of the embodiments or in parallel in the method shown in the drawings when the method is executed in an actual process or apparatus.
In the foregoing embodiments, the method for controlling the sub-application to run across applications executed by the client of the first application, or the method for controlling the sub-application to run across applications executed by the terminal device of the client that installs the first application, as shown in fig. 17, may include the following steps:
step S1701, in response to a trigger operation of opening the sub-application display interface by the target account, displaying the sub-application display interface on which the identification information of the sub-application is displayed.
Wherein the sub-application may comprise a sub-application of the second application. The identification information of the sub-application of the second application is obtained by the first application server associated with the first application from the second application server associated with the second application and sent to the client of the first application.
Step S1702, in response to the operation of starting the target sub-application triggered by the identification information of the target sub-application in the sub-applications for the second application, obtain data of the target sub-application from the second application server and display an operation interface of the target sub-application according to the data of the target sub-application.
In some embodiments, in response to a target sub-application starting operation triggered by identification information of a target sub-application in sub-applications of the second application, data of the target sub-application is acquired from the second application server and an operation interface of the target sub-application is displayed according to the data of the target sub-application, if some unknown faults occur in the process, the target sub-application cannot be started, the operation interface of the target sub-application cannot be normally displayed, and at this time, the applet fault reporting interface shown in fig. 15 is displayed. As shown in fig. 15, when the above special condition occurs, the displayed applet fault reporting interface prompts the user that "the applet cannot normally operate", and a question feedback input box displaying "please describe a scene and a performance of a problem occurrence" is provided for the user to feed back the scene and the performance of the applet operation fault occurrence, and the question feedback input box can limit the input characters within 200 characters. The displayed small program fault reporting interface further comprises a picture uploading frame, the picture uploading frame is used for a user to upload problem screenshots related to small program faults, and the picture uploading frame can limit uploading of 4 problem screenshots at most. The feedback information of the small program fault reporting interface can be sent to the first application server, so that background personnel of the first application server can perform corresponding subsequent maintenance operation, and the small program is added to a fault sub-application list.
Illustratively, the sub-application presentation interface in step S1701 may be a workbench interface shown in fig. 6. In some embodiments, the client of the first application receives a trigger operation of the target account to open the sub-application presentation interface, a workbench data acquisition request may be sent to the first application server, where the workbench data acquisition request carries identification information of the target account, the first application server receives the workbench data acquisition request sent by the client of the first application, according to the identification information of the target account in the workbench data acquisition request, finding a storage area corresponding to the workbench of the target account in the first application server or a database corresponding to the first application server, sending data stored in the storage area corresponding to the workbench of the target account to the client of the first application, the method comprises the steps of obtaining the identification information of the sub-application in the account group workbench of the account group to which the target account belongs and the identification information of the sub-application added to the workbench by the user corresponding to the target account. The client of the first application receives the data returned by the first application server, displays the identification information of the sub-applications in the account group workbench in the group application area in the workbench interface shown in fig. 6, and displays the identification information of the sub-applications added by the user to the workbench in the personal applet area in the workbench interface shown in fig. 6.
In some embodiments, before the starting of the target sub-application operation triggered by the identification information of the target sub-application in the sub-applications for the second application, the method further includes:
responding to a sub-application search operation triggered by a target account through a sub-application display interface, and sending a sub-application search request to a first application server, wherein the sub-application search request comprises search key information corresponding to the sub-application search operation, so that the first application server sends the sub-application search request to a second application server when determining that the target account searches for a sub-application of a second application according to the search key information;
receiving search result data returned by the first application server, and displaying identification information of the sub-application of the second application in the search result data on a sub-application display interface; the search result data is obtained by the second application server by receiving the sub-application search request forwarded by the first application server and searching and sending the sub-application search request to the first application server based on the search key information.
Optionally, the search result data includes identification information and offset information of a number of sub-applications defined by the paging control information; the paging control information is used for limiting the maximum number of the identification information of the sub-applications contained in the search result data returned by the second application server each time; the offset information is the position identification of the identification information of the first sub-application which is contained in the search result corresponding to the search key information but not contained in the search result data; the search result corresponding to the search key information is a search result obtained by the first application server based on the search key information; after displaying the identification information of the sub-application of the second application in the search result data on the sub-application presentation interface, the method further includes:
responding to a sub-application search result supplementing operation triggered by a target account through a sub-application display interface, and sending a search result supplementing request to a first application server so that the first application server sends the search result supplementing request to a second application server; the supplementary search result request comprises search key information and offset information;
receiving supplementary search data returned by the first application server, and displaying identification information of a sub-application of a second application in the supplementary search data on a sub-application display interface; the supplementary search data is obtained from the search result corresponding to the search key information based on the offset information and sent to the first application server when the second application server receives the supplementary search result request forwarded by the first application server.
In some embodiments, before the starting of the target sub-application operation triggered by the identification information of the target sub-application in the sub-applications for the second application, the method further includes:
responding to a sub-application recommendation list obtaining operation triggered by a target account through a sub-application display interface, and sending a sub-application recommendation list obtaining request to a first application server; the sub-application recommendation list acquiring request comprises identification information of the target account;
receiving a use sub-application list corresponding to the target account returned by the first application server according to the identification information of the target account within set time; the used sub-application list in the set time comprises the identification information of at least one sub-application sequenced according to the latest starting time;
and displaying the identification information of the sub-application in the use sub-application list within the set time on the sub-application display interface.
Optionally, the sub-application recommendation list acquisition request indicates to acquire a sub-application started by the target account within a set time; the sub-application list used in the set time comprises identification information of the sub-applications started by the target account in the set time; or the sub-application recommendation list acquisition request indicates to acquire the sub-applications started by each account in the account group associated with the target account within the set time; the use sub-application list in the set time comprises identification information of sub-applications started by each account in the account group associated with the target account in the set time; sequencing the identification information of the sub-applications in the sub-application list within the set time according to the number of the accounts used within the set time corresponding to each sub-application and the latest starting time; or, the sub-application list used within the set time comprises identification information of the sub-application started within the set time in the second application by the associated account corresponding to the target account; the associated account is an account of the second application.
In some embodiments, the first application is a team instant messaging application and the second application is a personal instant messaging application; the above method may further comprise:
responding to the operation of adding the sub-application to the shortcut use area, which is input by the target account in the running interface of the target sub-application, and sending a sub-application adding request to the first application server; the sub-application adding request comprises identification information of a target sub-application;
and receiving a sub-application adding success notification returned by the first application server, and displaying information that the target sub-application is added to the shortcut use area.
Optionally, the method may further include:
in response to an operation of the target account for removing the sub-application from the quick and quick use area, which is input in a running interface of the target sub-application, sending a sub-application removal request to the first application server; the sub-application removal request comprises identification information of the target sub-application;
and receiving a sub-application removal success notice returned by the first application server, and displaying the information that the target sub-application is removed from the quick and quick use area.
In an optional embodiment, in response to a target sub-application starting operation triggered by identification information of a target sub-application in sub-applications of a second application, acquiring data of the target sub-application from a second application server and displaying a running interface of the target sub-application according to the data of the target sub-application, the method includes:
in response to the target sub-application operation being started, sending a sub-application event to the first application server;
if an interception notification sent by the first application server is received, interrupting the starting of the target sub-application, and displaying information contained in a fault sub-application list by the target sub-application;
and if the interception notification sent by the first application server is not received, acquiring the data of the target sub-application from the second application server and displaying the running interface of the target sub-application according to the data of the target sub-application.
In the foregoing embodiments, the control method for running sub-applications across applications executed by the first application server, as shown in fig. 18, may include the following steps:
step S1801, an information obtaining request sent by the target client for instructing to obtain the identification information of the sub-application of the second application is received.
Wherein the target client is a client of the first application; the first application server is a server associated with the first application.
Step S1802, according to the information acquisition request, acquires the identification information of the sub-application of the second application from the second server.
And the second application server is a server associated with the second application.
Step S1803, sending the identification information of the sub-application of the second application to the target client, so that the target client displays the identification information of the sub-application of the second application on the sub-application display interface.
In some embodiments, the information obtaining request may be a workbench data obtaining request, where the workbench data obtaining request carries identification information of a target account, the first application server receives the workbench data obtaining request sent by the client of the first application, finds a storage area corresponding to the workbench of the target account in a database corresponding to the first application server or the first application server according to the identification information of the target account in the workbench data obtaining request, and sends data stored in the storage area corresponding to the workbench of the target account to the client of the first application, where the data includes identification information of sub-applications in an account group workbench of an account group to which the target account belongs and identification information of sub-applications added to the workbench by a user corresponding to the target account.
In other embodiments, the information acquisition request may be a sub-application search request. Acquiring the identification information of the sub-application of the second application from the second server according to the information acquisition request, wherein the identification information comprises:
forwarding the sub-application search request to a second application server; the sub-application search request comprises search key information;
receiving search result data returned by the second application server; the search result data is obtained by searching the second application server based on the search key information in the sub-application search request; the search result data includes identification information of at least one sub-application;
sending the identification information of the sub-application of the second application to the target client, wherein the sending comprises the following steps:
and sending the search result data to the target client.
In an alternative embodiment, the search result data includes identification information and offset information of a number of sub-applications defined by the paging control information; the paging control information is used for limiting the maximum number of the identification information of the sub-applications contained in the search result data returned by the second application server each time; the offset information is the position identification of the identification information of the first sub-application which is contained in the search result corresponding to the search key information but not contained in the search result data; the search result corresponding to the search key information is a search result obtained by the first application server based on the search key information; the information acquisition request is a search result supplement request; after sending the identification information of the sub-application of the second application to the target client, the method further includes:
sending the received supplementary search result request sent by the target client to a second application server; the supplementary search result request comprises search key information and offset information;
returning the supplementary search data to the target client so that the target client displays the identification information of the sub-application of the second application in the supplementary search data on the sub-application display interface; the supplementary search data is obtained from the search result corresponding to the search key information based on the offset information and sent to the first application server when the second application server receives the supplementary search result request forwarded by the first application server.
In other embodiments, the information obtaining request may be a sub-application recommendation list obtaining request; acquiring the identification information of the sub-application of the second application from the second server according to the information acquisition request, wherein the identification information comprises:
sending a sub-application recommendation list acquisition message to a second application server according to a sub-application recommendation list acquisition request sent by a target client; the sub-application recommendation list acquisition request comprises identification information of a target account; the sub-application recommendation list acquiring message comprises identification information of an associated account corresponding to the target account; the associated account is an account of the second application;
receiving a use sub-application list returned by the second application server within set time; the sub-application list used in the set time is obtained by the second application server according to the identification information of the associated account, and the sub-application list used in the set time comprises the identification information of at least one sub-application sequenced according to the latest starting time.
Sending the identification information of the sub-application of the second application to the target client, wherein the identification information comprises:
and sending the use sub-application list within the set time to the target client.
In an alternative embodiment, the first application is a team instant messaging application and the second application is a personal instant messaging application, the method further comprising:
receiving a sub-application adding request sent by a target client; the sub-application adding request comprises identification information of a target sub-application needing to be added to a quick use area of a target account; the target account is an account associated with the target client;
and adding the target sub-application to a storage area corresponding to the shortcut usage area of the target account according to the identification information of the target sub-application in the sub-application adding request, and returning a notification of successful addition of the sub-application to the target client.
In an alternative embodiment, the method includes:
receiving a promoter application event sent by a target client;
if the target sub-application corresponding to the sub-application starting event is contained in the fault sub-application list, sending an interception notification for interrupting starting of the target sub-application to the target client, and sending information contained in the fault sub-application list by the target sub-application; the failed sub-application list comprises the sub-applications used in the first application server with failures;
and if the target sub-application corresponding to the sub-application starting event is not contained in the fault sub-application list, recording the information of the sub-application starting event.
In the foregoing embodiments, the control method for running sub-applications across applications executed by the first application server, as shown in fig. 19, may include the following steps:
step S1901, an information obtaining message request sent by the first application server to request to obtain the identification information of the sub-application of the second application is received.
The information acquisition message request is a message request generated by the first application server according to the received information acquisition request sent by the target client of the first application; the first application server is a server associated with the first application; the second application server is a server associated with the second application.
Step S1902, obtaining the identification information of the sub-application requested by the information obtaining message from the sub-application of the second application and sending the identification information to the first application server, so that the first application server sends the identification information of the sub-application of the second application to the target client.
In an alternative embodiment, the method includes:
acquiring identification information of a sub-application of a second application according to a received information acquisition request forwarded by a first application server; the information acquisition request is transmitted to the first application server by the target client, forwarded to the second application server by the first application server and used for indicating to acquire the identification information of the sub-application of the second application;
and sending the identification information of the sub-application of the second application to the second application server, so that the second application server forwards the identification information of the sub-application of the second application to the target client after receiving the identification information of the sub-application of the second application.
In some embodiments, the information acquisition message may be a sub-application search request, where the sub-application search request includes search key information; acquiring the identification information of the sub-application requested by the information acquisition message from the sub-application of the second application and sending the identification information to the first application server, wherein the method comprises the following steps:
searching in a sub-application database of the second application according to the search key information in the sub-application search request to obtain search result data;
sending the search result data to a first application server; the search result data includes identification information of at least one sub-application.
In an alternative embodiment, the search result data includes identification information and offset information of a number of sub-applications defined by the paging control information; the paging control information is used to limit the maximum number of identification information of the sub-application included in the search result data returned by the second application server each time; the offset information is the position identification of the identification information of the first sub-application which is contained in the search result corresponding to the search key information but not contained in the search result data; the search result corresponding to the search key information is a search result obtained by the first application server based on the search key information; the information acquisition request is a search result supplement request; after sending the search result data to the first application server, the method further includes:
receiving a supplementary search result request sent by a first application server; the supplementary search result request comprises search key information and offset information;
acquiring complementary search data from the search result corresponding to the search key information based on the offset information in the complementary search result request;
the supplemental search data is sent to the first application server.
In an optional embodiment, the information obtaining message may be a sub-application recommendation list obtaining message, where the sub-application recommendation list obtaining message includes identification information of an associated account corresponding to the target account; the target account is a target account associated with the target client; acquiring the identification information of the sub-application requested by the information acquisition message from the sub-application information of the second application and sending the identification information to the first application server, wherein the method comprises the following steps:
acquiring a use sub-application list within set time of the associated account according to the identification information of the associated account in the sub-application recommendation list acquisition message, wherein the use sub-application list within the set time comprises the identification information of at least one sub-application sequenced according to the latest starting time;
and sending the use sub-application list of the associated account within the set time to the first application server.
Based on the same inventive concept, the embodiment of the present application further provides a control device for running sub-applications across applications, and the control device for running sub-applications across applications may be arranged in the terminal device. Since the apparatus is a device corresponding to the control method for running the sub-application across applications, which is applied to the client of the first application in the embodiment of the present application, and the principle of the apparatus for solving the problem is similar to that of the method, reference may be made to the implementation process of the above method embodiment for the implementation of the apparatus, and repeated details are not described again.
Fig. 20 is a schematic structural diagram illustrating a control apparatus for running sub-applications across applications according to an embodiment of the present application. As shown in fig. 20, the control apparatus for running sub-applications across applications, applied to a client of a first application, includes: a sub-application display unit 2001 and a sub-application starting unit 2002; wherein, the first and the second end of the pipe are connected with each other,
the sub-application display unit 2001 is configured to display a sub-application display interface in response to a trigger operation of opening the sub-application display interface by the target account, where identification information of the sub-application is displayed on the sub-application display interface; the sub-applications comprise sub-applications of a second application; the identification information of the sub-application of the second application is obtained by the first application server associated with the first application from the second application server associated with the second application and is sent to the client of the first application;
the sub-application starting unit 2002 is configured to, in response to a target sub-application starting operation triggered by identification information of a target sub-application in the sub-applications for the second application, obtain data of the target sub-application from the second application server and display an operation interface of the target sub-application according to the data of the target sub-application.
In an alternative embodiment, the sub-application display unit 2001 is further configured to:
responding to a sub-application search operation triggered by a target account through a sub-application display interface, and sending a sub-application search request to a first application server, wherein the sub-application search request comprises search key information corresponding to the sub-application search operation, so that the first application server sends the sub-application search request to a second application server when determining that the target account searches for a sub-application of a second application according to the search key information;
receiving search result data returned by the first application server, and displaying identification information of the sub-application of the second application in the search result data on a sub-application display interface; the search result data is obtained by the second application server by receiving the sub-application search request forwarded by the first application server and searching and sending the sub-application search request to the first application server based on the search key information.
In an alternative embodiment, the search result data includes identification information and offset information of a number of sub-applications defined by the paging control information; the paging control information is used to limit the maximum number of identification information of the sub-application included in the search result data returned by the second application server each time; the offset information is the position identification of the identification information of the first sub-application which is contained in the search result corresponding to the search key information but not contained in the search result data; the search result corresponding to the search key information is a search result obtained by the first application server based on the search key information; the sub-application display unit 2001 is also used to:
responding to a sub-application supplementary search result operation triggered by a target account through a sub-application display interface, and sending a supplementary search result request to a first application server so that the first application server sends the supplementary search result request to a second application server; the supplementary search result request comprises search key information and offset information;
receiving supplementary search data returned by the first application server, and displaying identification information of a sub-application of a second application in the supplementary search data on a sub-application display interface; the supplementary search data is obtained from the search result corresponding to the search key information based on the offset information and sent to the first application server when the second application server receives the supplementary search result request forwarded by the first application server.
In an alternative embodiment, the sub-application display unit 2001 is further configured to:
responding to a sub-application recommendation list obtaining operation triggered by a target account through a sub-application display interface, and sending a sub-application recommendation list obtaining request to a first application server; the sub-application recommendation list acquiring request comprises identification information of the target account;
receiving a use sub-application list corresponding to the target account returned by the first application server according to the identification information of the target account within set time; the used sub-application list in the set time comprises the identification information of at least one sub-application sequenced according to the latest starting time;
and displaying the identification information of the sub-application in the use sub-application list within the set time on the sub-application display interface.
In an optional embodiment, the sub-application recommendation list acquisition request indicates to acquire a sub-application started by a target account within a set time; the method comprises the steps that a sub-application list used in set time comprises identification information of sub-applications started by a target account in the set time; or
The sub-application recommendation list acquisition request indicates to acquire sub-applications started by each account in the account group associated with the target account within set time; the method comprises the steps that in a set time, a sub-application list is used, and identification information of sub-applications started by accounts in an account group associated with a target account in the set time is included; sequencing the identification information of the sub-applications in the sub-application list within the set time according to the number of the accounts used within the set time corresponding to each sub-application and the latest starting time; or
The use sub-application list in the set time comprises identification information of the sub-application started in the set time in the second application by the associated account corresponding to the target account; the associated account is an account of the second application.
In an alternative embodiment, the sub-application starting unit 2002 is specifically configured to:
in response to the target sub-application operation being started, sending a sub-application event to the first application server;
if the interception notification sent by the first application server is received, interrupting starting of the target sub-application, and displaying information contained in the fault sub-application list by the target sub-application;
and if the interception notification sent by the first application server is not received, acquiring the data of the target sub-application from the second application server and displaying the running interface of the target sub-application according to the data of the target sub-application.
Based on the same inventive concept, the embodiment of the application further provides another control device for running the sub-application across the applications, and the control device for running the sub-application across the applications is arranged in the first application server. Since the apparatus is a corresponding apparatus to the control method for cross-application running of sub-applications applied to the first application server in the embodiment of the present application, and the principle of the apparatus for solving the problem is similar to that of the method, reference may be made to the implementation process of the embodiment of the above method for the implementation of the apparatus, and repeated details are not described again.
Fig. 21 is a schematic structural diagram of another control apparatus for running a sub-application across applications according to an embodiment of the present application, where the control apparatus for running the sub-application across applications is applied to a first application server, and as shown in fig. 21, the control apparatus includes: a first request receiving unit 2101, a first request response unit 2102, and a first request feedback unit 2103; wherein, the first and the second end of the pipe are connected with each other,
a first request receiving unit 2101, configured to receive an information acquisition request, which is sent by a target client and indicates to acquire identification information of a sub-application of a second application; the target client is a client of the first application; the first application server is a server associated with the first application;
a first request responding unit 2102 for acquiring, from the second server, identification information of a sub-application of the second application in accordance with the information acquisition request; the second application server is a server associated with the second application;
the first request feedback unit 2103 is configured to send the identification information of the sub-application of the second application to the target client, so that the target client displays the identification information of the sub-application of the second application on the sub-application display interface.
In an alternative embodiment, the information acquisition request is a sub-application search request; the first request response unit 2102 is specifically configured to:
forwarding the sub-application search request to a second application server; the sub-application search request comprises search key information;
receiving search result data returned by the second application server; the search result data is obtained by searching the second application server based on the search key information in the sub-application search request; the search result data includes identification information of at least one sub-application;
the first request feedback unit 2103 is specifically configured to:
and sending the search result data to the target client.
In an optional embodiment, the information obtaining request is a sub-application recommendation list obtaining request; the first request response unit 2102 is specifically configured to:
sending a sub-application recommendation list acquisition message to a second application server according to a sub-application recommendation list acquisition request sent by a target client; the sub-application recommendation list acquiring request comprises identification information of the target account; the sub-application recommendation list acquiring message comprises identification information of an associated account corresponding to the target account; the associated account is an account of the second application;
receiving a use sub-application list returned by the second application server within the set time; the sub-application list used in the set time is obtained by the second application server according to the identification information of the associated account, and the sub-application list used in the set time comprises the identification information of at least one sub-application sequenced according to the latest starting time.
The first request feedback unit 2103 is specifically configured to:
and sending the use sub-application list in the set time to the target client.
In an alternative embodiment, the first application is a team instant messaging application, the second application is a personal instant messaging application, and the first request receiving unit 2101 is further configured to:
receiving a sub-application adding request sent by a target client; the sub-application adding request comprises identification information of a target sub-application needing to be added to a quick use area of a target account; the target account is an account associated with the target client.
The first request response unit 2102 is further configured to: and adding the target sub-application to a storage area corresponding to the quick use area of the target account according to the identification information of the target sub-application in the sub-application adding request.
The first request feedback unit 2103 is further configured to return a notification of successful sub-application addition to the target client.
Based on the same inventive concept, the embodiment of the application also provides another control device for running the sub-application across the applications, and the control device for running the sub-application across the applications is arranged in the second application server. Since the apparatus corresponds to the control method for cross-application running of the sub-application applied to the second application server in the embodiment of the present application, and the principle of the apparatus for solving the problem is similar to that of the method, reference may be made to the implementation process of the embodiment of the above method for the implementation of the apparatus, and repeated details are not described again.
Fig. 22 is a schematic structural diagram of another control apparatus for running a sub-application across applications according to an embodiment of the present application, where the control apparatus for running the sub-application across applications is applied to a second application server, and as shown in fig. 22, the control apparatus includes: a second request receiving unit 2201 and a second request responding unit 2202; wherein the content of the first and second substances,
a second request receiving unit 2201, configured to receive an information acquisition request sent by the first application server to request to acquire identification information of a sub-application of the second application; the information acquisition request is received by the first application server and sent by a target client of the first application; the first application server is a server associated with the first application; the second application server is a server associated with the second application;
a second request responding unit 2202, configured to obtain the identification information of the sub application requested by the information obtaining message from the sub application of the second application and send the identification information to the first application server, so that the first application server sends the identification information of the sub application of the second application to the target client.
In an optional embodiment, the information acquisition message is a sub-application search request, and the sub-application search request includes search key information; the second request responding unit 2202 is specifically configured to:
searching in a sub-application database of the second application according to the search key information in the sub-application search request to obtain search result data;
sending the search result data to a first application server; the search result data includes identification information of at least one sub-application.
In an optional embodiment, the information obtaining message is a sub-application recommendation list obtaining message, and the sub-application recommendation list obtaining message includes identification information of an associated account corresponding to the target account; the target account is a target account associated with the target client; the second request response unit 2202 is specifically configured to:
acquiring a use sub-application list within set time of the associated account according to the identification information of the associated account in the sub-application recommendation list acquisition message, wherein the use sub-application list within the set time comprises the identification information of at least one sub-application sequenced according to the latest starting time;
and sending the use sub-application list of the associated account within the set time to the first application server.
Based on the same inventive concept, the embodiment of the application also provides the electronic equipment. In one embodiment, the electronic device may be a client-associated terminal device of a first application, such as terminal device 100 shown in FIG. 1. In this embodiment, the structure of the electronic device may be as shown in fig. 23, including: a communication assembly 210, a memory 220, a display unit 230, a camera 240, a sensor 250, an audio circuit 260, a bluetooth module 270, a processor 280, and the like.
The communication component 210 is used to communicate with a server. In some embodiments, a Wifi (Wireless Fidelity) module may be included, the Wifi module belongs to a short-distance Wireless transmission technology, and the electronic device may help the user to send and receive information through the Wifi module.
Memory 220 may be used to store software programs and data. The processor 280 performs various functions of the terminal device 100 and data processing by executing software programs or data stored in the memory 220. The memory 220 may include high speed random access memory and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. The memory 220 stores an operating system that enables the terminal device 100 to operate. The memory 220 in the present application may store an operating system and various application programs, and may also store codes for executing the control method for running sub-applications across applications in the embodiments of the present application.
The display unit 230 may also be used to display a Graphical User Interface (GUI) of information input by or provided to the user and various menus of the terminal device 100. Specifically, the display unit 230 may include a display screen 232 disposed on the front surface of the terminal device 100. The display screen 232 may be configured in the form of a liquid crystal display, a light emitting diode, or the like. The display unit 230 may be used to display a payment interface and the like in the embodiment of the present application.
The display unit 230 may also be used to receive input numeric or character information, generate signal input related to user settings and function control of the terminal device 100, and specifically, the display unit 230 may include a touch screen 231 provided on the front surface of the terminal device 100, and may collect touch operations of a user thereon or nearby, such as clicking a button, dragging a scroll box, and the like.
The touch screen 231 may be covered on the display screen 232, or the touch screen 231 and the display screen 232 may be integrated to implement the input and output functions of the terminal device 100, and after the integration, the touch screen may be referred to as a touch display screen for short. The display unit 230 in this application can display the application programs and the corresponding operation steps.
The camera 240 may be used to capture still images, and the user may send the images captured by the camera 240 to a background server or other game users via a cloud game client. The number of the camera 240 may be one or more. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing elements convert the optical signals to electrical signals which are then passed to a processor 280 for conversion to digital image signals.
The terminal device may further comprise at least one sensor 250, such as an acceleration sensor 251, a distance sensor 252, a fingerprint sensor 253, a temperature sensor 254. The terminal device may also be configured with other sensors such as a gyroscope, barometer, hygrometer, thermometer, infrared sensor, light sensor, motion sensor, and the like.
The audio circuitry 260, speaker 261, and microphone 262 may provide an audio interface between a user and the terminal device 100. The audio circuit 260 may transmit the electrical signal converted from the received audio data to the speaker 261, and convert the electrical signal into a sound signal by the speaker 261 and output the sound signal. The terminal device 100 may be further provided with a volume button for adjusting the volume of the sound signal. On the other hand, the microphone 262 converts the collected sound signals into electrical signals, which are received by the audio circuit 260 and converted into audio data, which are then output to the communication component 210 for transmission to, for example, another terminal device 100, or to the memory 220 for further processing.
The bluetooth module 270 is used for information interaction with other bluetooth devices having bluetooth modules through a bluetooth protocol. For example, the terminal device may establish a bluetooth connection with a wearable electronic device that is also equipped with a bluetooth module through the bluetooth module 270, so as to perform data interaction.
The processor 280 is a control center of the terminal device, connects various parts of the entire terminal device using various interfaces and lines, and performs various functions of the terminal device and processes data by running or executing software programs stored in the memory 220 and calling data stored in the memory 220. In some embodiments, processor 280 may include one or more processing units; the processor 280 may also integrate an application processor, which primarily handles operating systems, user interfaces, applications, etc., and a baseband processor, which primarily handles wireless communications. It will be appreciated that the baseband processor described above may not be integrated into the processor 280. In the present application, the processor 280 may run an operating system, an application program, a user interface display, and a touch response, and the control method for running sub-applications across applications in the embodiment of the present application. Further, the processor 280 is coupled to the display unit 230.
In another embodiment, the electronic device may be a server, such as the first application server 200 or the first application server 300 shown in fig. 1. In this embodiment, the electronic device may be configured as shown in fig. 24, and may include a memory 1501, a communication module 1503, and one or more processors 1502.
A memory 1501 for storing computer programs executed by the processor 1502. The memory 1501 may mainly include a program storage area and a data storage area, where the program storage area may store an operating system, programs necessary for running game functions, and the like; the storage data area may store various game information and operation instruction sets, etc.
The memory 1501 may be a volatile memory (volatile memory), such as a random-access memory (RAM); the memory 1501 may also be a non-volatile memory (non-volatile memory), such as a read-only memory (rom), a flash memory (flash memory), a hard disk (HDD) or a solid-state drive (SSD); the memory 1501 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 1501 may be a combination of the above memories.
The processor 1502 may include one or more Central Processing Units (CPUs), or be a digital processing unit, etc. The processor 1502 is configured to implement the above control method for running sub-applications across applications when calling the computer program stored in the memory 1501.
The communication module 1503 is used for communicating with other terminal devices or background servers.
The embodiment of the present application does not limit the specific connection medium among the memory 1501, the communication module 1503 and the processor 1502. In fig. 24, the memory 1501 and the processor 1502 are connected by a bus 1504, the bus 1504 is represented by a thick line in fig. 24, and the connection manner between other components is merely illustrative and not limited. The bus 1504 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 24, but that does not indicate only one bus or one type of bus.
The memory 1501 stores a computer storage medium, and the computer storage medium stores computer-executable instructions for implementing the control method for running sub-applications across applications according to the embodiment of the present application. The processor 1502 is configured to execute the control method for running sub-applications across applications as described above.
The embodiment of the application also provides a computer storage medium, wherein computer executable instructions are stored in the computer storage medium and used for realizing the control method for running the sub-application in a cross-application mode in any embodiment of the application.
In some possible embodiments, various aspects of the control method for running a sub-application across applications provided by the present application may also be implemented in the form of a program product, which includes program code for causing a computer device to execute the steps of the control method for running a sub-application across applications according to various exemplary embodiments of the present application described above in this specification when the program product runs on the computer device, for example, the computer device may execute the flow of the control method for running a sub-application across applications of steps S1701 to S1702 shown in fig. 17; alternatively, the flow of the control method of running the sub-application across applications in steps S1801 to S1803 shown in fig. 18 may be executed; alternatively, the flow of the control method of running the sub-application across applications as shown in steps S1901 to S1903 in fig. 19 may be executed.
Those of ordinary skill in the art will understand that: all or part of the steps of implementing the method embodiments may be implemented by hardware related to program instructions, and the program may be stored in a computer-readable storage medium, and when executed, executes the steps including the method embodiments; and the aforementioned storage medium includes: a mobile storage device, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and various media capable of storing program codes.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present application, and shall cover the scope of the present application.

Claims (15)

1. A control method for running sub-applications across applications is applied to a client of a first application, and the method comprises the following steps:
responding to a trigger operation of opening a sub-application display interface by a target account, and displaying the sub-application display interface, wherein identification information of a sub-application is displayed on the sub-application display interface; the sub-application comprises a sub-application of a second application; the identification information of the sub-application of the second application is obtained by the first application server associated with the first application from the second application server associated with the second application and is sent to the client of the first application;
and responding to a target sub-application starting operation triggered by identification information of a target sub-application in the sub-applications of the second application, acquiring data of the target sub-application from the second application server, and displaying an operation interface of the target sub-application according to the data of the target sub-application.
2. The method according to claim 1, wherein before the starting of the target sub-application operation triggered in response to the identification information for the target sub-application in the sub-applications of the second application, the method further comprises:
responding to a sub-application search operation triggered by a target account through the sub-application display interface, and sending a sub-application search request to the first application server, wherein the sub-application search request comprises search key information corresponding to the sub-application search operation, so that the first application server sends the sub-application search request to a second application server when determining that the target account searches for a sub-application of a second application according to the search key information;
receiving search result data returned by the first application server, and displaying identification information of a sub-application of a second application in the search result data on the sub-application display interface; and the search result data is obtained by the second application server by receiving the sub-application search request forwarded by the first application server, searching based on the search key information and sending the search result data to the first application server.
3. The method of claim 2, wherein the search result data includes identification information and offset information of a number of sub-applications defined by paging control information; the paging control information is used for limiting the maximum number of the identification information of the sub-applications contained in the search result data returned by the second application server each time; the offset information is a position identifier of the identifier information of the first sub-application contained in the search result corresponding to the search key information but not contained in the search result data; the search result corresponding to the search key information is a search result obtained by the first application server based on the search key information; after displaying the identification information of the sub-application of the second application in the search result data on the sub-application presentation interface, the method further includes:
responding to a sub-application supplementary search result operation triggered by a target account through the sub-application display interface, and sending a supplementary search result request to a first application server so that the first application server sends the supplementary search result request to a second application server; the supplementary search result request comprises the search key information and the offset information;
receiving supplementary search data returned by the first application server, and displaying identification information of a sub-application of a second application in the supplementary search data on the sub-application display interface; and the supplementary search data is obtained from the search result corresponding to the search key information based on the offset information and sent to the first application server when the second application server receives the supplementary search result request forwarded by the first application server.
4. The method of claim 1, wherein before the starting of the target sub-application operation triggered in response to the identification information for the target sub-application of the sub-applications of the second application, the method further comprises:
responding to a sub-application recommendation list obtaining operation triggered by a target account through the sub-application display interface, and sending a sub-application recommendation list obtaining request to the first application server; the sub-application recommendation list acquisition request comprises identification information of the target account;
receiving a sub-application list which is returned by the first application server according to the identification information of the target account and is used within the set time corresponding to the target account; the used sub-application list in the set time comprises identification information of at least one sub-application sequenced according to the latest starting time;
and displaying the identification information of the sub-application in the use sub-application list in the set time on the sub-application display interface.
5. The method according to claim 4, wherein the sub-application recommendation list acquisition request indicates to acquire the sub-application started by the target account within a set time; the sub-application list used in the set time comprises identification information of the sub-applications started by the target account in the set time; or
The sub-application recommendation list acquisition request indicates that sub-applications started within a set time by each account in the account group associated with the target account are acquired; the sub-application list used in the set time comprises identification information of sub-applications started by each account in the account group associated with the target account in the set time; the identification information of the sub-applications in the sub-application list used in the set time is sorted according to the number of the used accounts in the set time corresponding to each sub-application and the latest starting time; or
The used sub-application list in the set time comprises identification information of sub-applications which are started in the set time in the second application by the associated account corresponding to the target account; the associated account is an account of a second application.
6. The method of claim 1, wherein the first application is a team instant messaging application and the second application is a personal instant messaging application; the method further comprises the following steps:
responding to the operation of adding the sub-application to the shortcut use area, which is input by the target account in the running interface of the target sub-application, and sending a sub-application adding request to the first application server; the sub-application adding request comprises identification information of the target sub-application;
and receiving a sub-application adding success notification returned by the first application server, and displaying information that the target sub-application is added to the shortcut use area.
7. A control method for running sub-applications across applications is applied to a first application server, and comprises the following steps:
receiving an information acquisition request which is sent by a target client and used for indicating to acquire identification information of a sub-application of a second application; the target client is a client of a first application; the first application server is a server associated with the first application;
acquiring identification information of the sub-application of the second application from the second server according to the information acquisition request; the second application server is a server associated with the second application;
and sending the identification information of the sub-application of the second application to the target client so that the target client displays the identification information of the sub-application of the second application on a sub-application display interface.
8. The method of claim 7, wherein the information acquisition request is a sub-application search request; acquiring the identification information of the sub-application of the second application from the second server according to the information acquisition request, wherein the identification information comprises the following steps:
forwarding the sub-application search request to the second application server; the sub-application search request comprises search key information;
receiving search result data returned by the second application server; the search result data is obtained by searching the second application server based on the search key information in the sub-application search request; the search result data includes identification information of at least one sub-application;
the sending, to the target client, the identification information of the sub-application of the second application includes:
and sending the search result data to the target client.
9. A control method for running sub-applications across applications is applied to a second application server, and comprises the following steps:
receiving an information acquisition request which is sent by a first application server and is used for requesting to acquire identification information of a sub-application of a second application; the information acquisition request is an information acquisition request sent by a target client of a first application and received by the first application server; the first application server is a server associated with the first application; the second application server is a server associated with the second application;
and acquiring the identification information of the sub-application requested by the information acquisition message from the sub-application of the second application and sending the identification information to the first application server, so that the first application server sends the identification information of the sub-application of the second application to the target client.
10. The method according to claim 9, wherein the information acquisition message is a sub-application search request, and the sub-application search request includes search key information; acquiring the identification information of the sub-application requested by the information acquisition message from the sub-application of the second application and sending the identification information to the first application server, wherein the method comprises the following steps:
searching in a sub-application database of a second application according to the search key information in the sub-application search request to obtain search result data;
sending the search result data to the first application server; the search result data includes identification information of at least one sub-application.
11. A control apparatus for running sub-applications across applications, applied to a client of a first application, the apparatus comprising:
the sub-application display unit is used for responding to the triggering operation of opening a sub-application display interface of the target account and displaying the sub-application display interface, and identification information of the sub-application is displayed on the sub-application display interface; the sub-application comprises a sub-application of a second application; the identification information of the sub-application of the second application is obtained by the first application server associated with the first application from the second application server associated with the second application and is sent to the client of the first application;
and the sub-application starting unit is used for responding to a target sub-application starting operation triggered by the identification information of a target sub-application in the sub-applications of the second application, acquiring the data of the target sub-application from the second application server and displaying the running interface of the target sub-application according to the data of the target sub-application.
12. A control apparatus for running sub-applications across applications, applied to a first application server, the apparatus comprising:
a first request receiving unit, configured to receive an information acquisition request that is sent by a target client and used for instructing to acquire identification information of a sub-application of a second application; the target client is a client of a first application; the first application server is a server associated with the first application;
a first request response unit, configured to obtain, according to the information obtaining request, identification information of a sub-application of a second application from a second server; the second application server is a server associated with the second application;
and the first request feedback unit is used for sending the identification information of the sub-application of the second application to the target client so that the target client displays the identification information of the sub-application of the second application on a sub-application display interface.
13. A control apparatus for running a sub-application across applications, applied to a second application server, the apparatus comprising:
a second request receiving unit, configured to receive an information acquisition request that is sent by the first application server and requests to acquire identification information of a sub-application of the second application; the information acquisition request is an information acquisition request which is received by the first application server and sent by a target client of the first application; the first application server is a server associated with the first application; the second application server is a server associated with the second application;
and the second request response unit is used for acquiring the identification information of the sub-application requested by the information acquisition message from the sub-application of the second application and sending the identification information to the first application server, so that the first application server sends the identification information of the sub-application of the second application to the target client.
14. A computer-readable storage medium having a computer program stored therein, the computer program characterized by: the computer program, when executed by a processor, implements the method of any one of claims 1 to 6 or the method of any one of claims 7 to 8 or the method of any one of claims 9 to 10.
15. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program operable on the processor, the computer program, when executed by the processor, implementing the method of any of claims 1 to 6 or the method of any of claims 7 to 8 or the method of any of claims 9 to 10.
CN202110000673.7A 2021-01-04 2021-01-04 Control method, device, medium and electronic equipment for cross-application running of sub-applications Pending CN114764349A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110000673.7A CN114764349A (en) 2021-01-04 2021-01-04 Control method, device, medium and electronic equipment for cross-application running of sub-applications

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110000673.7A CN114764349A (en) 2021-01-04 2021-01-04 Control method, device, medium and electronic equipment for cross-application running of sub-applications

Publications (1)

Publication Number Publication Date
CN114764349A true CN114764349A (en) 2022-07-19

Family

ID=82363919

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110000673.7A Pending CN114764349A (en) 2021-01-04 2021-01-04 Control method, device, medium and electronic equipment for cross-application running of sub-applications

Country Status (1)

Country Link
CN (1) CN114764349A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116719649A (en) * 2022-09-01 2023-09-08 荣耀终端有限公司 Session notification prompting method, electronic equipment and readable storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116719649A (en) * 2022-09-01 2023-09-08 荣耀终端有限公司 Session notification prompting method, electronic equipment and readable storage medium

Similar Documents

Publication Publication Date Title
US10877826B2 (en) Message processing method and apparatus, storage medium, and computer device
CN106598655B (en) Application page processing method and device
KR102255137B1 (en) Application program processing method, device and storage medium
WO2018019241A1 (en) Update processing method and device for terminal application, and computer storage medium
CN110990075B (en) Method, device, equipment and storage medium for starting fast application
CN108712478B (en) A kind of method and apparatus for sharing boarding application
KR102385081B1 (en) Method, system, and non-transitory computer readable record medium for sharing information in chat room using application added to platform in messenger
WO2018077041A1 (en) Method and apparatus for running application
KR20210052552A (en) Method, system, and non-transitory computer readable recording medium for message group management
JP6216459B2 (en) Method and apparatus for calling a service in a mobile terminal
US20210271491A1 (en) Application processing method, device, electronic device and storage medium
US20230015289A1 (en) Web Activity Concealment
CN113835569A (en) Terminal device, quick start method for internal function of application and storage medium
CN108762983B (en) Multimedia data recovery method and device
CN114764349A (en) Control method, device, medium and electronic equipment for cross-application running of sub-applications
WO2017010253A1 (en) System, method, and program for distributing output screen image of terminal device
CN110213597B (en) Method and device for entering live broadcast room through browser
KR20200137908A (en) Method for managing chatting rooms in portable terminal and apparatus therefore
CN114077459A (en) Method, device, medium and product for controlling foreign access login
CN113157348A (en) Game starting method and device, computer equipment and storage medium
JP2017021775A (en) System, method and program for distributing output screen of terminal device
CN108959955B (en) File processing method and device
CN111142973A (en) Information processing method, device, electronic equipment and medium
KR20210009301A (en) Methods and systems for dealing with chat rooms based on usage and non-transitory computer-readable recording media
CN115202545B (en) Event triggering method, module, learning machine and storage medium based on interface

Legal Events

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